public class ShutdownStub extends com.vmware.vapi.internal.bindings.Stub implements Shutdown
Shutdown
API service.
WARNING: Internal API, subject to change in future versions.
ShutdownTypes.ShutdownConfig, ShutdownTypes.ShutdownGetConfig
Constructor and Description |
---|
ShutdownStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel pending shutdown action.
|
void |
cancel(AsyncCallback<Void> asyncCallback)
Cancel pending shutdown action.
|
void |
cancel(AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
void |
cancel(InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
ShutdownTypes.ShutdownGetConfig |
get()
Get details about the pending shutdown action.
|
void |
get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback)
Get details about the pending shutdown action.
|
void |
get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback,
InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
ShutdownTypes.ShutdownGetConfig |
get(InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
InvocationConfig invocationConfig)
Power off the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
InvocationConfig invocationConfig)
Reboot the appliance.
|
public ShutdownStub(ApiProvider apiProvider, StubConfigurationBase config)
public void cancel()
Shutdown
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(InvocationConfig invocationConfig)
Shutdown
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 cancel(AsyncCallback<Void> asyncCallback)
Shutdown
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void cancel(AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Shutdown
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:
Error
- Generic error
public void poweroff(ShutdownTypes.ShutdownConfig config)
Shutdown
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void poweroff(ShutdownTypes.ShutdownConfig config, InvocationConfig invocationConfig)
Shutdown
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 poweroff(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback)
Shutdown
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void poweroff(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Shutdown
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:
Error
- Generic error
public void reboot(ShutdownTypes.ShutdownConfig config)
Shutdown
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void reboot(ShutdownTypes.ShutdownConfig config, InvocationConfig invocationConfig)
Shutdown
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 reboot(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback)
Shutdown
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void reboot(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Shutdown
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:
Error
- Generic error
public ShutdownTypes.ShutdownGetConfig get()
Shutdown
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ShutdownTypes.ShutdownGetConfig get(InvocationConfig invocationConfig)
Shutdown
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(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback)
Shutdown
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Configuration of pending shutdown action.
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback, InvocationConfig invocationConfig)
Shutdown
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:
Configuration of pending shutdown action.
Operation Errors:
Error
- Generic error
Copyright © 2016. All Rights Reserved.