Class ThresholdStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.capacity.ThresholdStub
-
- All Implemented Interfaces:
Threshold
,ThresholdTypes
,com.vmware.vapi.bindings.Service
public class ThresholdStub extends com.vmware.vapi.internal.bindings.Stub implements Threshold
Remote stub implementation of theThreshold
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.capacity.ThresholdTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete 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).
-
-
-
Constructor Detail
-
ThresholdStub
public ThresholdStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ThresholdStub
public ThresholdStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public CapacityThresholdList get()
Description copied from interface:Threshold
Returns warning threshold(s) set for NSX Objects.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public CapacityThresholdList get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Description copied from interface:Threshold
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
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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
-
patch
public void patch(CapacityThreshold capacityThreshold)
Description copied from interface:Threshold
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.
-
patch
public void patch(CapacityThreshold capacityThreshold, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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.
-
patch
public void patch(CapacityThreshold capacityThreshold, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Threshold
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
-
patch
public void patch(CapacityThreshold capacityThreshold, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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
-
update
public CapacityThresholdList update(CapacityThresholdList capacityThresholdList)
Description copied from interface:Threshold
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.
-
update
public CapacityThresholdList update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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.
-
update
public void update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback)
Description copied from interface:Threshold
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
-
update
public void update(CapacityThresholdList capacityThresholdList, com.vmware.vapi.bindings.client.AsyncCallback<CapacityThresholdList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Threshold
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
-
-