public class DeploymentTypeStub extends com.vmware.vapi.internal.bindings.Stub implements DeploymentType
DeploymentType
API service.
WARNING: Internal class, subject to change in future versions.
DeploymentTypeTypes.Info, DeploymentTypeTypes.ReconfigureSpec
Constructor and Description |
---|
DeploymentTypeStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DeploymentTypeStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
DeploymentTypeTypes.Info |
get()
Get the type of the vCenter appliance.
|
void |
get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback)
Get the type of the vCenter appliance.
|
void |
get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the type of the vCenter appliance.
|
DeploymentTypeTypes.Info |
get(InvocationConfig invocationConfig)
Get the type of the vCenter appliance.
|
void |
reconfigure(DeploymentTypeTypes.ReconfigureSpec spec)
Reconfigure the type of the vCenter appliance.
|
void |
reconfigure(DeploymentTypeTypes.ReconfigureSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Reconfigure the type of the vCenter appliance.
|
void |
reconfigure(DeploymentTypeTypes.ReconfigureSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Reconfigure the type of the vCenter appliance.
|
void |
reconfigure(DeploymentTypeTypes.ReconfigureSpec spec,
InvocationConfig invocationConfig)
Reconfigure the type of the vCenter appliance.
|
public DeploymentTypeStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DeploymentTypeStub(ApiProvider apiProvider, StubConfigurationBase config)
public DeploymentTypeTypes.Info get()
DeploymentType
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface DeploymentType
public DeploymentTypeTypes.Info get(InvocationConfig invocationConfig)
DeploymentType
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
in interface DeploymentType
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback)
DeploymentType
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The type of the vCenter appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.
get
in interface DeploymentType
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback, InvocationConfig invocationConfig)
DeploymentType
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The type of the vCenter appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.
get
in interface DeploymentType
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec)
DeploymentType
Synchronous method overload. Result of the invocation will be reported as a method return value.
reconfigure
in interface DeploymentType
spec
- ReconfigureSpec to set the appliance type.public void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, InvocationConfig invocationConfig)
DeploymentType
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
reconfigure
in interface DeploymentType
spec
- ReconfigureSpec to set the appliance type.invocationConfig
- Configuration for the method invocation.public void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
DeploymentType
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unsupported
- if the appliance is in CONFIGURED state and if not changing the type form
VCSA_EMBEDDED to VCSA_EXTERNAL.
InvalidArgument
- if passed arguments are invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthenticated
- if external PSC credentials are not valid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED or CONFIGURED state.
reconfigure
in interface DeploymentType
spec
- ReconfigureSpec to set the appliance type.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DeploymentType
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:
Unsupported
- if the appliance is in CONFIGURED state and if not changing the type form
VCSA_EMBEDDED to VCSA_EXTERNAL.
InvalidArgument
- if passed arguments are invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthenticated
- if external PSC credentials are not valid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED or CONFIGURED state.
reconfigure
in interface DeploymentType
spec
- ReconfigureSpec to set the appliance type.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.