Class SecurityStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.orgs.projects.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 theSecurityAPI 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.orgs.projects.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 DfwFirewallConfigurationget(java.lang.String orgId, java.lang.String projectId)Get the current dfw firewall configurations.voidget(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)Get the current dfw firewall configurations.voidget(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get the current dfw firewall configurations.DfwFirewallConfigurationget(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get the current dfw firewall configurations.voidpatch(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)Update dfw firewall related configurations.voidpatch(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Update dfw firewall related configurations.voidpatch(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update dfw firewall related configurations.voidpatch(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update dfw firewall related configurations.DfwFirewallConfigurationupdate(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)Update dfw firewall related configurations.voidupdate(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)Update dfw firewall related configurations.voidupdate(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update dfw firewall related configurations.DfwFirewallConfigurationupdate(java.lang.String orgId, java.lang.String projectId, 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(java.lang.String orgId, java.lang.String projectId)
Description copied from interface:SecurityGet the current dfw firewall configurations.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public DfwFirewallConfiguration get(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SecurityGet the current dfw firewall configurations.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
get
public void get(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)Description copied from interface:SecurityGet 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(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SecurityGet the current dfw firewall configurations.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)Description copied from interface:SecurityUpdate 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(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SecurityUpdate 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
invocationConfigto specify configuration for this particular invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:SecurityUpdate 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(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SecurityUpdate 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. UseinvocationConfigto 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
- Specified by:
patchin interfaceSecurity- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)dfwFirewallConfiguration- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
public DfwFirewallConfiguration update(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)
Description copied from interface:SecurityUpdate 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(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SecurityUpdate 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
invocationConfigto specify configuration for this particular invocation.
-
update
public void update(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)Description copied from interface:SecurityUpdate 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(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SecurityUpdate 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. UseinvocationConfigto 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
- Specified by:
updatein interfaceSecurity- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)dfwFirewallConfiguration- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-