Class SecurityStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.settings.firewall.SecurityStub
-
- All Implemented Interfaces:
Security
,SecurityTypes
,com.vmware.vapi.bindings.Service
public class SecurityStub extends com.vmware.vapi.internal.bindings.Stub implements Security
Remote stub implementation of theSecurity
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.settings.firewall.SecurityTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description SecurityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
SecurityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
SecurityStub
public SecurityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
SecurityStub
public SecurityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public DfwFirewallConfiguration get()
Description copied from interface:Security
Get the current dfw firewall configurations.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public DfwFirewallConfiguration get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Description copied from interface:Security
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
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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
-
patch
public void patch(DfwFirewallConfiguration dfwFirewallConfiguration)
Description copied from interface:Security
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.
-
patch
public void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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.
-
patch
public void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Security
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
-
patch
public void patch(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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
-
update
public DfwFirewallConfiguration update(DfwFirewallConfiguration dfwFirewallConfiguration)
Description copied from interface:Security
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.
-
update
public DfwFirewallConfiguration update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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.
-
update
public void update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
Description copied from interface:Security
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
-
update
public void update(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Security
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
-
-