VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::ShutdownStub Class Reference

Remote stub implementation of the Shutdown API service. More...

Inherits vmware::appliance::Shutdown.

List of all members.

Public Member Functions

 ShutdownStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 ShutdownStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Cancel ()
 Cancel pending shutdown action.
void Cancel (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Cancel pending shutdown action.
global::System.Threading.Tasks.Task CancelAsync ()
 Cancel pending shutdown action.
global::System.Threading.Tasks.Task CancelAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Cancel pending shutdown action.
void Poweroff (long delay, string reason)
 Power off the appliance.
void Poweroff (long delay, string reason, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Power off the appliance.
global::System.Threading.Tasks.Task PoweroffAsync (long delay, string reason)
 Power off the appliance.
global::System.Threading.Tasks.Task PoweroffAsync (long delay, string reason, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Power off the appliance.
void Reboot (long delay, string reason)
 Reboot the appliance.
void Reboot (long delay, string reason, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Reboot the appliance.
global::System.Threading.Tasks.Task RebootAsync (long delay, string reason)
 Reboot the appliance.
global::System.Threading.Tasks.Task RebootAsync (long delay, string reason, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Reboot the appliance.
vmware.appliance.ShutdownTypes.ShutdownConfig Get ()
 Get details about the pending shutdown action.
vmware.appliance.ShutdownTypes.ShutdownConfig Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get details about the pending shutdown action.
global::System.Threading.Tasks.Task
< vmware.appliance.ShutdownTypes.ShutdownConfig
GetAsync ()
 Get details about the pending shutdown action.
global::System.Threading.Tasks.Task
< vmware.appliance.ShutdownTypes.ShutdownConfig
GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get details about the pending shutdown action.

Detailed Description

Remote stub implementation of the Shutdown API service.


Constructor & Destructor Documentation

vmware::appliance::ShutdownStub::ShutdownStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::appliance::ShutdownStub::ShutdownStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

void vmware::appliance::ShutdownStub::Cancel ( ) [inline]

Cancel pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error

Implements vmware::appliance::Shutdown.

void vmware::appliance::ShutdownStub::Cancel ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Cancel pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::CancelAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Cancel pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::CancelAsync ( ) [inline]

Cancel pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error

Implements vmware::appliance::Shutdown.

vmware.appliance.ShutdownTypes.ShutdownConfig vmware::appliance::ShutdownStub::Get ( ) [inline]

Get details about the pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
Configuration of pending shutdown action.

Implements vmware::appliance::Shutdown.

vmware.appliance.ShutdownTypes.ShutdownConfig vmware::appliance::ShutdownStub::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get details about the pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
Configuration of pending shutdown action.

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task<vmware.appliance.ShutdownTypes.ShutdownConfig> vmware::appliance::ShutdownStub::GetAsync ( ) [inline]

Get details about the pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
Configuration of pending shutdown action.

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task<vmware.appliance.ShutdownTypes.ShutdownConfig> vmware::appliance::ShutdownStub::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get details about the pending shutdown action.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
Configuration of pending shutdown action.

Implements vmware::appliance::Shutdown.

void vmware::appliance::ShutdownStub::Poweroff ( long  delay,
string  reason 
) [inline]

Power off the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
reasonReason for peforming poweroff.

Implements vmware::appliance::Shutdown.

void vmware::appliance::ShutdownStub::Poweroff ( long  delay,
string  reason,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Power off the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
reasonReason for peforming poweroff.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::PoweroffAsync ( long  delay,
string  reason,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Power off the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
reasonReason for peforming poweroff.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::PoweroffAsync ( long  delay,
string  reason 
) [inline]

Power off the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
reasonReason for peforming poweroff.

Implements vmware::appliance::Shutdown.

void vmware::appliance::ShutdownStub::Reboot ( long  delay,
string  reason,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Reboot the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which reboot should start. If 0 is specified, reboot will start immediately.
reasonReason for peforming reboot.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::Shutdown.

void vmware::appliance::ShutdownStub::Reboot ( long  delay,
string  reason 
) [inline]

Reboot the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which reboot should start. If 0 is specified, reboot will start immediately.
reasonReason for peforming reboot.

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::RebootAsync ( long  delay,
string  reason,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Reboot the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which reboot should start. If 0 is specified, reboot will start immediately.
reasonReason for peforming reboot.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::Shutdown.

global::System.Threading.Tasks.Task vmware::appliance::ShutdownStub::RebootAsync ( long  delay,
string  reason 
) [inline]

Reboot the appliance.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
delayMinutes after which reboot should start. If 0 is specified, reboot will start immediately.
reasonReason for peforming reboot.

Implements vmware::appliance::Shutdown.


The documentation for this class was generated from the following file: