public interface Threshold extends com.vmware.vapi.bindings.Service, ThresholdTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
CapacityThresholdList |
get()
Returns warning threshold(s) set for NSX Objects.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Returns warning threshold(s) set for NSX Objects.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns warning threshold(s) set for NSX Objects.
|
CapacityThresholdList |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns warning threshold(s) set for NSX Objects.
|
CapacityThresholdList |
update(CapacityThresholdList capacityThresholdList)
Updates the warning threshold(s) for NSX Objects specified, and returns new
threshold(s).
|
void |
update(CapacityThresholdList capacityThresholdList,
com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Updates the warning threshold(s) for NSX Objects specified, and returns new
threshold(s).
|
void |
update(CapacityThresholdList capacityThresholdList,
com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the warning threshold(s) for NSX Objects specified, and returns new
threshold(s).
|
CapacityThresholdList |
update(CapacityThresholdList capacityThresholdList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the warning threshold(s) for NSX Objects specified, and returns new
threshold(s).
|
CapacityThresholdList get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundCapacityThresholdList get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.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 Foundvoid get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CapacityThresholdList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.CapacityThresholdList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.CapacityThresholdList update(CapacityThresholdList capacityThresholdList)
Synchronous method overload. Result of the invocation will be reported as a method return value.
capacityThresholdList
- (required)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 FoundCapacityThresholdList update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
capacityThresholdList
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CapacityThresholdList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
capacityThresholdList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.CapacityThresholdList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
capacityThresholdList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.