public class ShutdownStub extends com.vmware.vapi.internal.bindings.Stub implements Shutdown
Shutdown
API service.
WARNING: Internal class, subject to change in future versions.
ShutdownTypes.ShutdownConfigapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ShutdownStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ShutdownStub(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 |
|---|---|
void |
cancel()
Cancel pending shutdown action.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Cancel pending shutdown action.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
void |
cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
ShutdownTypes.ShutdownConfig |
get()
Get details about the pending shutdown action.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ShutdownTypes.ShutdownConfig> asyncCallback)
Get details about the pending shutdown action.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ShutdownTypes.ShutdownConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
ShutdownTypes.ShutdownConfig |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
void |
poweroff(long delay,
java.lang.String reason)
Power off the appliance.
|
void |
poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Power off the appliance.
|
void |
poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Power off the appliance.
|
void |
poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Power off the appliance.
|
void |
reboot(long delay,
java.lang.String reason)
Reboot the appliance.
|
void |
reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Reboot the appliance.
|
void |
reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reboot the appliance.
|
void |
reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reboot the appliance.
|
public ShutdownStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ShutdownStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void cancel()
ShutdownSynchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownSynchronous 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 cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error
public void poweroff(long delay,
java.lang.String reason)
ShutdownSynchronous method overload. Result of the invocation will be reported as a method return value.
public void poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownSynchronous 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 poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void poweroff(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error
poweroff in interface Shutdowndelay - Minutes after which poweroff should start. If 0 is specified, poweroff will
start immediately.reason - Reason for peforming poweroff.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void reboot(long delay,
java.lang.String reason)
ShutdownSynchronous method overload. Result of the invocation will be reported as a method return value.
public void reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownSynchronous 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 reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void reboot(long delay,
java.lang.String reason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error
reboot in interface Shutdowndelay - Minutes after which reboot should start. If 0 is specified, reboot will start
immediately.reason - Reason for peforming reboot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ShutdownTypes.ShutdownConfig get()
ShutdownSynchronous method overload. Result of the invocation will be reported as a method return value.
public ShutdownTypes.ShutdownConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownSynchronous 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<ShutdownTypes.ShutdownConfig> asyncCallback)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Configuration of pending shutdown action.
Operation Errors:
Error - Generic error
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ShutdownTypes.ShutdownConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ShutdownAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Configuration of pending shutdown action.
Operation Errors:
Error - Generic error