public class StatusStub extends com.vmware.vapi.internal.bindings.Stub implements Status
Status
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
StatusStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatusStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
TargetResourceStatus |
disablefirewall(java.lang.String contextType,
java.lang.String id)
Disable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to true. |
void |
disablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Disable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to true. |
void |
disablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Disable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to true. |
TargetResourceStatus |
disablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Disable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to true. |
TargetResourceStatus |
enablefirewall(java.lang.String contextType,
java.lang.String id)
Enable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to false. |
void |
enablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Enable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to false. |
void |
enablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to false. |
TargetResourceStatus |
enablefirewall(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable firewall on target resource in dfw context
Use the following Policy APIs - PUT|PATCH /policy/api/v1/infra/tier-0s/ PUT|PATCH /policy/api/v1/infra/tier-1s/ The disable_firewall property must be set to false. |
FirewallStatus |
get(java.lang.String contextType)
Get firewall global status for dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/settings/firewall/security GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
void |
get(java.lang.String contextType,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback)
Get firewall global status for dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/settings/firewall/security GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
void |
get(java.lang.String contextType,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get firewall global status for dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/settings/firewall/security GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
FirewallStatus |
get(java.lang.String contextType,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get firewall global status for dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/settings/firewall/security GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
TargetResourceStatus |
get0(java.lang.String contextType,
java.lang.String id)
Get firewall status for target resource in dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s/ GET /policy/api/v1/infra/tier-1s/ Refer disable_firewall property in the result. |
void |
get0(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Get firewall status for target resource in dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s/ GET /policy/api/v1/infra/tier-1s/ Refer disable_firewall property in the result. |
void |
get0(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get firewall status for target resource in dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s/ GET /policy/api/v1/infra/tier-1s/ Refer disable_firewall property in the result. |
TargetResourceStatus |
get0(java.lang.String contextType,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get firewall status for target resource in dfw context
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s/ GET /policy/api/v1/infra/tier-1s/ Refer disable_firewall property in the result. |
FirewallStatusListResult |
list()
List all firewall status for supported contexts
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatusListResult> asyncCallback)
List all firewall status for supported contexts
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatusListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all firewall status for supported contexts
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
FirewallStatusListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all firewall status for supported contexts
Use the following Policy APIs - GET /policy/api/v1/infra/tier-0s GET /policy/api/v1/infra/tier-1s Refer disable_firewall property in the result. |
FirewallStatus |
update(java.lang.String contextType,
FirewallStatus firewallStatus)
Update global firewall status for dfw context
Use the following Policy API - PUT /policy/api/v1/infra/settings/firewall/security |
void |
update(java.lang.String contextType,
FirewallStatus firewallStatus,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback)
Update global firewall status for dfw context
Use the following Policy API - PUT /policy/api/v1/infra/settings/firewall/security |
void |
update(java.lang.String contextType,
FirewallStatus firewallStatus,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update global firewall status for dfw context
Use the following Policy API - PUT /policy/api/v1/infra/settings/firewall/security |
FirewallStatus |
update(java.lang.String contextType,
FirewallStatus firewallStatus,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update global firewall status for dfw context
Use the following Policy API - PUT /policy/api/v1/infra/settings/firewall/security |
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TargetResourceStatus disablefirewall(java.lang.String contextType, java.lang.String id)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
disablefirewall
in interface Status
contextType
- (required)id
- (required)public TargetResourceStatus disablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
disablefirewall
in interface Status
contextType
- (required)id
- (required)invocationConfig
- Configuration for the method invocation.public void disablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
disablefirewall
in interface Status
contextType
- (required)id
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void disablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
disablefirewall
in interface Status
contextType
- (required)id
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TargetResourceStatus enablefirewall(java.lang.String contextType, java.lang.String id)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
enablefirewall
in interface Status
contextType
- (required)id
- (required)public TargetResourceStatus enablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
enablefirewall
in interface Status
contextType
- (required)id
- (required)invocationConfig
- Configuration for the method invocation.public void enablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
enablefirewall
in interface Status
contextType
- (required)id
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void enablefirewall(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
enablefirewall
in interface Status
contextType
- (required)id
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public FirewallStatus get(java.lang.String contextType)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallStatus get(java.lang.String contextType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String contextType, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String contextType, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.FirewallStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public TargetResourceStatus get0(java.lang.String contextType, java.lang.String id)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TargetResourceStatus get0(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get0(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get0(java.lang.String contextType, java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<TargetResourceStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.TargetResourceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public FirewallStatusListResult list()
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallStatusListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatusListResult> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallStatusListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void list(com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatusListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.FirewallStatusListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public FirewallStatus update(java.lang.String contextType, FirewallStatus firewallStatus)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallStatus update(java.lang.String contextType, FirewallStatus firewallStatus, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String contextType, FirewallStatus firewallStatus, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String contextType, FirewallStatus firewallStatus, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.FirewallStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found