Interface Metrics
-
- All Superinterfaces:
MetricsTypes,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
MetricsStub
public interface Metrics extends com.vmware.vapi.bindings.Service, MetricsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.agents.MetricsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricsAgentget()Fetch current Metric agent configvoidget(com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)Fetch current Metric agent configvoidget(com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Fetch current Metric agent configMetricsAgentget(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Fetch current Metric agent configMetricsAgentupdate(MetricsAgent metricsAgent)Create Metrics agent intent resourcevoidupdate(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)Create Metrics agent intent resourcevoidupdate(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create Metrics agent intent resourceMetricsAgentupdate(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create Metrics agent intent resource
-
-
-
Method Detail
-
get
MetricsAgent get()
Fetch current Metric agent configSynchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.MetricsAgent
- 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
MetricsAgent get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetch current Metric agent configSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.MetricsAgent
- 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<MetricsAgent> asyncCallback)
Fetch current Metric agent configAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.MetricsAgentOperation 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<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetch current Metric agent configAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.MetricsAgentOperation 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.
-
update
MetricsAgent update(MetricsAgent metricsAgent)
Create Metrics agent intent resourceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
metricsAgent- (required)- Returns:
- com.vmware.nsx_policy.model.MetricsAgent
- 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
MetricsAgent update(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create Metrics agent intent resourceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
metricsAgent- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.MetricsAgent
- 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(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback)
Create Metrics agent intent resourceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.MetricsAgentOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
metricsAgent- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(MetricsAgent metricsAgent, com.vmware.vapi.bindings.client.AsyncCallback<MetricsAgent> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create Metrics agent intent resourceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.MetricsAgentOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
metricsAgent- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-