public interface Config extends com.vmware.vapi.bindings.Service, ConfigTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
TelemetryConfig |
get()
Returns the telemetry configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Returns the telemetry configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the telemetry configuration.
|
TelemetryConfig |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the telemetry configuration.
|
TelemetryConfig |
update(TelemetryConfig telemetryConfig)
Updates or creates the telemetry configuration, and returns the new
configuration.
|
void |
update(TelemetryConfig telemetryConfig,
com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Updates or creates the telemetry configuration, and returns the new
configuration.
|
void |
update(TelemetryConfig telemetryConfig,
com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the telemetry configuration, and returns the new
configuration.
|
TelemetryConfig |
update(TelemetryConfig telemetryConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the telemetry configuration, and returns the new
configuration.
|
TelemetryConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundTelemetryConfig get(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.
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(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TelemetryConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> 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.model.TelemetryConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TelemetryConfig update(TelemetryConfig telemetryConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
telemetryConfig
- (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 FoundTelemetryConfig update(TelemetryConfig telemetryConfig, 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.
telemetryConfig
- (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(TelemetryConfig telemetryConfig, com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TelemetryConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
telemetryConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(TelemetryConfig telemetryConfig, com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> 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.model.TelemetryConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
telemetryConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.