Interface Security
-
- All Superinterfaces:
SecurityTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
SecurityStub
public interface Security extends com.vmware.vapi.bindings.Service, SecurityTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.settings.firewall.SecurityTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DfwFirewallConfiguration
get()
Get the current dfw firewall configurations.void
get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Get the current dfw firewall configurations.void
get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current dfw firewall configurations.DfwFirewallConfiguration
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current dfw firewall configurations.void
patch(DfwFirewallConfiguration dfwFirewallConfiguration)
Update dfw firewall related configurations.void
patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update dfw firewall related configurations.void
patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations.void
patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations.DfwFirewallConfiguration
update(DfwFirewallConfiguration dfwFirewallConfiguration)
Update dfw firewall related configurations.void
update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Update dfw firewall related configurations.void
update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations.DfwFirewallConfiguration
update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations.
-
-
-
Method Detail
-
get
DfwFirewallConfiguration get()
Get the current dfw firewall configurations.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.DfwFirewallConfiguration
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
DfwFirewallConfiguration get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current dfw firewall configurations.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.DfwFirewallConfiguration
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
void get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Get the current dfw firewall configurations.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.DfwFirewallConfigurationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current dfw firewall configurations.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.DfwFirewallConfigurationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
void patch(DfwFirewallConfiguration dfwFirewallConfiguration)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
dfwFirewallConfiguration
- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
dfwFirewallConfiguration
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
dfwFirewallConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
dfwFirewallConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
DfwFirewallConfiguration update(DfwFirewallConfiguration dfwFirewallConfiguration)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
dfwFirewallConfiguration
- (required)- Returns:
- com.vmware.nsx_policy.model.DfwFirewallConfiguration
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
DfwFirewallConfiguration update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
dfwFirewallConfiguration
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.DfwFirewallConfiguration
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
void update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.DfwFirewallConfigurationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
dfwFirewallConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.DfwFirewallConfigurationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
dfwFirewallConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-