public class ThresholdStub extends com.vmware.vapi.internal.bindings.Stub implements Threshold
Threshold
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ThresholdStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ThresholdStub(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 |
---|---|
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).
|
public ThresholdStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ThresholdStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public CapacityThresholdList get()
Threshold
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CapacityThresholdList get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Threshold
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<CapacityThresholdList> asyncCallback)
Threshold
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
public void get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Threshold
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
public CapacityThresholdList update(CapacityThresholdList capacityThresholdList)
Threshold
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CapacityThresholdList update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Threshold
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(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Threshold
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
public void update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Threshold
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