public interface Threshold extends com.vmware.vapi.bindings.Service, ThresholdTypes
_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
CapacityThresholdList |
get(java.lang.String orgId,
java.lang.String projectId)
Returns warning threshold(s) set for NSX Objects.
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Returns warning threshold(s) set for NSX Objects.
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId,
java.lang.String projectId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns warning threshold(s) set for NSX Objects.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold)
Updates the warning threshold(s) for NSX Objects specified, does not modify
thresholds for any other objects.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Updates the warning threshold(s) for NSX Objects specified, does not modify
thresholds for any other objects.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the warning threshold(s) for NSX Objects specified, does not modify
thresholds for any other objects.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the warning threshold(s) for NSX Objects specified, does not modify
thresholds for any other objects.
|
CapacityThresholdList |
update(java.lang.String orgId,
java.lang.String projectId,
CapacityThresholdList capacityThresholdList)
Updates the warning threshold(s) for NSX Objects specified, and returns new
threshold(s).
|
void |
update(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId, java.lang.String projectId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
orgId - The organization ID (required)projectId - The project ID (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 get(java.lang.String orgId, java.lang.String projectId, 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.
orgId - The organization ID (required)projectId - The project ID (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 get(java.lang.String orgId,
java.lang.String projectId,
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_policy.model.CapacityThresholdList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
orgId - The organization ID (required)projectId - The project ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String orgId,
java.lang.String projectId,
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_policy.model.CapacityThresholdList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
orgId - The organization ID (required)projectId - The project ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold)
Synchronous method overload. Result of the invocation will be reported as a method return value.
orgId - The organization ID (required)projectId - The project ID (required)capacityThreshold - (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 Foundvoid patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
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.
orgId - The organization ID (required)projectId - The project ID (required)capacityThreshold - (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 patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
orgId - The organization ID (required)projectId - The project ID (required)capacityThreshold - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void patch(java.lang.String orgId,
java.lang.String projectId,
CapacityThreshold capacityThreshold,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
orgId - The organization ID (required)projectId - The project ID (required)capacityThreshold - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.CapacityThresholdList update(java.lang.String orgId, java.lang.String projectId, CapacityThresholdList capacityThresholdList)
Synchronous method overload. Result of the invocation will be reported as a method return value.
orgId - The organization ID (required)projectId - The project ID (required)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(java.lang.String orgId, java.lang.String projectId, 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.
orgId - The organization ID (required)projectId - The project ID (required)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(java.lang.String orgId,
java.lang.String projectId,
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_policy.model.CapacityThresholdList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
orgId - The organization ID (required)projectId - The project ID (required)capacityThresholdList - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String orgId,
java.lang.String projectId,
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_policy.model.CapacityThresholdList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
orgId - The organization ID (required)projectId - The project ID (required)capacityThresholdList - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.