Interface Threshold
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,ThresholdTypes
- All Known Implementing Classes:
ThresholdStub
public interface Threshold extends com.vmware.vapi.bindings.Service, ThresholdTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.capacity.ThresholdTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.void
patch(CapacityThreshold capacityThreshold)
Updates the warning threshold(s) for NSX Objects specified, does not modify thresholds for any other objects.void
patch(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(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(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(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).
-
-
-
Method Detail
-
get
CapacityThresholdList get()
Returns warning threshold(s) set for NSX Objects.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.CapacityThresholdList
- Throws:
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 Found
-
get
CapacityThresholdList get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns warning threshold(s) set for NSX Objects.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CapacityThresholdList
- Throws:
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 Found
-
get
void get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Returns warning threshold(s) set for NSX Objects.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CapacityThresholdListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CapacityThresholdListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
void patch(CapacityThreshold capacityThreshold)
Updates the warning threshold(s) for NSX Objects specified, does not modify thresholds for any other objects. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
capacityThreshold
- (required)- Throws:
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 Found
-
patch
void patch(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. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
capacityThreshold
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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 Found
-
patch
void patch(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. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.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
- Parameters:
capacityThreshold
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(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. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
capacityThreshold
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
CapacityThresholdList update(CapacityThresholdList capacityThresholdList)
Updates the warning threshold(s) for NSX Objects specified, and returns new threshold(s). Threshold list in the request must contain value for GLOBAL_DEFAULT threshold_type which represents global thresholds. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
capacityThresholdList
- (required)- Returns:
- com.vmware.nsx_policy.model.CapacityThresholdList
- Throws:
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 Found
-
update
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). Threshold list in the request must contain value for GLOBAL_DEFAULT threshold_type which represents global thresholds. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
capacityThresholdList
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CapacityThresholdList
- Throws:
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 Found
-
update
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). Threshold list in the request must contain value for GLOBAL_DEFAULT threshold_type which represents global thresholds. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CapacityThresholdListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
capacityThresholdList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
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). Threshold list in the request must contain value for GLOBAL_DEFAULT threshold_type which represents global thresholds. Threshold type NUMBER_OF_GATEWAY_POLICY is deprecated instead use NUMBER_OF_GATEWAY_FIREWALL_RULES.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CapacityThresholdListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
capacityThresholdList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-