public class PolicyStub extends com.vmware.vapi.internal.bindings.Stub implements Policy
Policy
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PolicyStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
PolicyStub(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 |
---|---|
NodePolicyServiceProperties |
get()
Read service properties
Please use below endpoints. GET https:// |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback)
Read service properties
Please use below endpoints. GET https:// |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read service properties
Please use below endpoints. GET https:// |
NodePolicyServiceProperties |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read service properties
Please use below endpoints. GET https:// |
void |
resetmanagerlogginglevels()
Reset the logging levels to default values
Please use below endpoints. POST https:// |
void |
resetmanagerlogginglevels(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Reset the logging levels to default values
Please use below endpoints. POST https:// |
void |
resetmanagerlogginglevels(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset the logging levels to default values
Please use below endpoints. POST https:// |
void |
resetmanagerlogginglevels(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset the logging levels to default values
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
restart()
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
restart(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
restart(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
restart(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
start()
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
start(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
start(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
start(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
stop()
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
stop(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Restart, start or stop the service
Please use below endpoints. POST https:// |
void |
stop(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodeServiceStatusProperties |
stop(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart, start or stop the service
Please use below endpoints. POST https:// |
NodePolicyServiceProperties |
update(NodePolicyServiceProperties nodePolicyServiceProperties)
Update service properties
Please use below endpoints. PUT https:// |
void |
update(NodePolicyServiceProperties nodePolicyServiceProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback)
Update service properties
Please use below endpoints. PUT https:// |
void |
update(NodePolicyServiceProperties nodePolicyServiceProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update service properties
Please use below endpoints. PUT https:// |
NodePolicyServiceProperties |
update(NodePolicyServiceProperties nodePolicyServiceProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update service properties
Please use below endpoints. PUT https:// |
public PolicyStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public PolicyStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NodePolicyServiceProperties get()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodePolicyServiceProperties get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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(com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodePolicyServiceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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.NodePolicyServiceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void resetmanagerlogginglevels()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
resetmanagerlogginglevels
in interface Policy
public void resetmanagerlogginglevels(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
resetmanagerlogginglevels
in interface Policy
invocationConfig
- Configuration for the method invocation.public void resetmanagerlogginglevels(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Policy
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
resetmanagerlogginglevels
in interface Policy
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void resetmanagerlogginglevels(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
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
resetmanagerlogginglevels
in interface Policy
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NodeServiceStatusProperties restart()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodeServiceStatusProperties restart(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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 restart(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void restart(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public NodeServiceStatusProperties start()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodeServiceStatusProperties start(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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 start(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void start(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public NodeServiceStatusProperties stop()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodeServiceStatusProperties stop(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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 stop(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void stop(com.vmware.vapi.bindings.client.AsyncCallback<NodeServiceStatusProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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.NodeServiceStatusProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public NodePolicyServiceProperties update(NodePolicyServiceProperties nodePolicyServiceProperties)
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodePolicyServiceProperties update(NodePolicyServiceProperties nodePolicyServiceProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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(NodePolicyServiceProperties nodePolicyServiceProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodePolicyServiceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(NodePolicyServiceProperties nodePolicyServiceProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodePolicyServiceProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Policy
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.NodePolicyServiceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found