public class ConfigStub extends com.vmware.vapi.internal.bindings.Stub implements Config
Config
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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.
|
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TelemetryConfig get()
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TelemetryConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Config
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
public void get(com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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
public TelemetryConfig update(TelemetryConfig telemetryConfig)
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TelemetryConfig update(TelemetryConfig telemetryConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(TelemetryConfig telemetryConfig, com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback)
Config
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
public void update(TelemetryConfig telemetryConfig, com.vmware.vapi.bindings.client.AsyncCallback<TelemetryConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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