public class EnablementsStub extends com.vmware.vapi.internal.bindings.Stub implements Enablements
Enablements
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, ENABLE_DISABLE_ADDON_ACTION_DISABLE, ENABLE_DISABLE_ADDON_ACTION_ENABLE
Constructor and Description |
---|
EnablementsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
EnablementsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
enableDisableAddon(java.lang.String org,
java.lang.String sddc,
java.lang.String enablement,
java.lang.String action)
Enable/disable the add-on or set the the default enablement status for future
add-ons in the SDDC.
|
void |
enableDisableAddon(java.lang.String org,
java.lang.String sddc,
java.lang.String enablement,
java.lang.String action,
AsyncCallback<java.lang.Void> asyncCallback)
Enable/disable the add-on or set the the default enablement status for future
add-ons in the SDDC.
|
void |
enableDisableAddon(java.lang.String org,
java.lang.String sddc,
java.lang.String enablement,
java.lang.String action,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Enable/disable the add-on or set the the default enablement status for future
add-ons in the SDDC.
|
void |
enableDisableAddon(java.lang.String org,
java.lang.String sddc,
java.lang.String enablement,
java.lang.String action,
InvocationConfig invocationConfig)
Enable/disable the add-on or set the the default enablement status for future
add-ons in the SDDC.
|
java.util.List<EnablementInfo> |
list(java.lang.String org,
java.lang.String sddc)
Return a list of enablement status for current add-ons and the default settings
for future add-ons in the SDDC.
|
void |
list(java.lang.String org,
java.lang.String sddc,
AsyncCallback<java.util.List<EnablementInfo>> asyncCallback)
Return a list of enablement status for current add-ons and the default settings
for future add-ons in the SDDC.
|
void |
list(java.lang.String org,
java.lang.String sddc,
AsyncCallback<java.util.List<EnablementInfo>> asyncCallback,
InvocationConfig invocationConfig)
Return a list of enablement status for current add-ons and the default settings
for future add-ons in the SDDC.
|
java.util.List<EnablementInfo> |
list(java.lang.String org,
java.lang.String sddc,
InvocationConfig invocationConfig)
Return a list of enablement status for current add-ons and the default settings
for future add-ons in the SDDC.
|
public EnablementsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public EnablementsStub(ApiProvider apiProvider, StubConfigurationBase config)
public void enableDisableAddon(java.lang.String org, java.lang.String sddc, java.lang.String enablement, java.lang.String action)
Enablements
Synchronous method overload. Result of the invocation will be reported as a method return value.
enableDisableAddon
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)enablement
- Add-on name, for example \"hcx, \"draas\", \"skynet\". If it is \"default\", the
operation is for default settings of future add-ons. (required)action
- Enable or disable the add-on or change default settings for future add-ons in
the SDDC. (required)public void enableDisableAddon(java.lang.String org, java.lang.String sddc, java.lang.String enablement, java.lang.String action, InvocationConfig invocationConfig)
Enablements
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
enableDisableAddon
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)enablement
- Add-on name, for example \"hcx, \"draas\", \"skynet\". If it is \"default\", the
operation is for default settings of future add-ons. (required)action
- Enable or disable the add-on or change default settings for future add-ons in
the SDDC. (required)invocationConfig
- Configuration for the method invocation.public void enableDisableAddon(java.lang.String org, java.lang.String sddc, java.lang.String enablement, java.lang.String action, AsyncCallback<java.lang.Void> asyncCallback)
Enablements
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request / Validation error.
Unauthorized
- Forbidden
NotFound
- Add-on not found
enableDisableAddon
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)enablement
- Add-on name, for example \"hcx, \"draas\", \"skynet\". If it is \"default\", the
operation is for default settings of future add-ons. (required)action
- Enable or disable the add-on or change default settings for future add-ons in
the SDDC. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void enableDisableAddon(java.lang.String org, java.lang.String sddc, java.lang.String enablement, java.lang.String action, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Enablements
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request / Validation error.
Unauthorized
- Forbidden
NotFound
- Add-on not found
enableDisableAddon
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)enablement
- Add-on name, for example \"hcx, \"draas\", \"skynet\". If it is \"default\", the
operation is for default settings of future add-ons. (required)action
- Enable or disable the add-on or change default settings for future add-ons in
the SDDC. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<EnablementInfo> list(java.lang.String org, java.lang.String sddc)
Enablements
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)public java.util.List<EnablementInfo> list(java.lang.String org, java.lang.String sddc, InvocationConfig invocationConfig)
Enablements
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String org, java.lang.String sddc, AsyncCallback<java.util.List<EnablementInfo>> asyncCallback)
Enablements
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request / Validation error.
Unauthorized
- Forbidden
list
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String org, java.lang.String sddc, AsyncCallback<java.util.List<EnablementInfo>> asyncCallback, InvocationConfig invocationConfig)
Enablements
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request / Validation error.
Unauthorized
- Forbidden
list
in interface Enablements
org
- Organization identifier (required)sddc
- Sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.