public interface DeploymentType extends Service, DeploymentTypeTypes
DeploymentType
interface provides methods to get/set the type of the
appliance. This interface was added in vSphere API 6.7.DeploymentTypeTypes.Info, DeploymentTypeTypes.ReconfigureSpec
_VAPI_SERVICE_ID
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.
|
DeploymentTypeTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.DeploymentTypeTypes.Info get(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.Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.void get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The type of the vCenter appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<DeploymentTypeTypes.Info> asyncCallback, 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:
The type of the vCenter appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in CONFIGURED state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- ReconfigureSpec to set the appliance type.Unsupported
- if the appliance is in CONFIGURED state and if not changing the type from
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.void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, 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.
spec
- ReconfigureSpec to set the appliance type.invocationConfig
- Configuration for the method invocation.Unsupported
- if the appliance is in CONFIGURED state and if not changing the type from
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.void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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 from
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.
spec
- ReconfigureSpec to set the appliance type.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void reconfigure(DeploymentTypeTypes.ReconfigureSpec spec, AsyncCallback<java.lang.Void> asyncCallback, 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.
Operation Errors:
Unsupported
- if the appliance is in CONFIGURED state and if not changing the type from
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.
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.