com.vmware.nsx_policy.infra.settings package¶
Subpackages¶
- com.vmware.nsx_policy.infra.settings.firewall package
Submodules¶
com.vmware.nsx_policy.infra.settings.firewall_client module¶
-
class
com.vmware.nsx_policy.infra.settings.firewall_client.
Security
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Get the current dfw firewall configurations.
Return type: com.vmware.nsx_policy.model_client.DfwFirewallConfiguration
Returns: com.vmware.nsx_policy.model.DfwFirewallConfiguration Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
patch
(dfw_firewall_configuration)¶ Update dfw firewall related configurations.
Parameters: dfw_firewall_configuration ( com.vmware.nsx_policy.model_client.DfwFirewallConfiguration
) – (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
update
(dfw_firewall_configuration)¶ Update dfw firewall related configurations.
Parameters: dfw_firewall_configuration ( com.vmware.nsx_policy.model_client.DfwFirewallConfiguration
) – (required)Return type: com.vmware.nsx_policy.model_client.DfwFirewallConfiguration
Returns: com.vmware.nsx_policy.model.DfwFirewallConfiguration Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_policy.infra.settings.firewall_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance