VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::ToolsStub Class Reference

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

Inherits vmware::vcenter::vm::Tools.

List of all members.

Public Member Functions

 ToolsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 ToolsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.vcenter.vm.ToolsTypes.Info Get (string vm)
 Get the properties of VMware Tools.
vmware.vcenter.vm.ToolsTypes.Info Get (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the properties of VMware Tools.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.ToolsTypes.Info
GetAsync (string vm)
 Get the properties of VMware Tools.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.ToolsTypes.Info
GetAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the properties of VMware Tools.
void Update (string vm, vmware.vcenter.vm.ToolsTypes.UpdateSpec spec)
 Update the properties of VMware Tools.
void Update (string vm, vmware.vcenter.vm.ToolsTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Update the properties of VMware Tools.
global::System.Threading.Tasks.Task UpdateAsync (string vm, vmware.vcenter.vm.ToolsTypes.UpdateSpec spec)
 Update the properties of VMware Tools.
global::System.Threading.Tasks.Task UpdateAsync (string vm, vmware.vcenter.vm.ToolsTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Update the properties of VMware Tools.
void Upgrade (string vm, string commandLineOptions)
 Begins the Tools upgrade process.
void Upgrade (string vm, string commandLineOptions, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Begins the Tools upgrade process.
global::System.Threading.Tasks.Task UpgradeAsync (string vm, string commandLineOptions)
 Begins the Tools upgrade process.
global::System.Threading.Tasks.Task UpgradeAsync (string vm, string commandLineOptions, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Begins the Tools upgrade process.

Detailed Description

Remote stub implementation of the Tools API service.


Constructor & Destructor Documentation

vmware::vcenter::vm::ToolsStub::ToolsStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::vm::ToolsStub::ToolsStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.vcenter.vm.ToolsTypes.Info vmware::vcenter::vm::ToolsStub::Get ( string  vm) [inline]

Get the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
VMware Tools properties.

Implements vmware::vcenter::vm::Tools.

vmware.vcenter.vm.ToolsTypes.Info vmware::vcenter::vm::ToolsStub::Get ( string  vm,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
VMware Tools properties.

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.ToolsTypes.Info> vmware::vcenter::vm::ToolsStub::GetAsync ( string  vm,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
VMware Tools properties.

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.ToolsTypes.Info> vmware::vcenter::vm::ToolsStub::GetAsync ( string  vm) [inline]

Get the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
VMware Tools properties.

Implements vmware::vcenter::vm::Tools.

void vmware::vcenter::vm::ToolsStub::Update ( string  vm,
vmware.vcenter.vm.ToolsTypes.UpdateSpec  spec 
) [inline]

Update the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
specThe new values.

Implements vmware::vcenter::vm::Tools.

void vmware::vcenter::vm::ToolsStub::Update ( string  vm,
vmware.vcenter.vm.ToolsTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Update the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
specThe new values.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task vmware::vcenter::vm::ToolsStub::UpdateAsync ( string  vm,
vmware.vcenter.vm.ToolsTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Update the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
specThe new values.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task vmware::vcenter::vm::ToolsStub::UpdateAsync ( string  vm,
vmware.vcenter.vm.ToolsTypes.UpdateSpec  spec 
) [inline]

Update the properties of VMware Tools.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
specThe new values.

Implements vmware::vcenter::vm::Tools.

void vmware::vcenter::vm::ToolsStub::Upgrade ( string  vm,
string  commandLineOptions,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Begins the Tools upgrade process.

To monitor the status of the Tools upgrade, clients should check the Tools status by calling Tools.Get and examining versionStatus and runState . This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ServiceUnavailableif the VMware Tools are not running.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.AlreadyInDesiredStateis an upgrade is already in progress.
vmware.vapi.std.errors.Errorif the upgrade process fails inside the guest operating system.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
commandLineOptionsCommand line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::Tools.

void vmware::vcenter::vm::ToolsStub::Upgrade ( string  vm,
string  commandLineOptions 
) [inline]

Begins the Tools upgrade process.

To monitor the status of the Tools upgrade, clients should check the Tools status by calling Tools.Get and examining versionStatus and runState . This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ServiceUnavailableif the VMware Tools are not running.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.AlreadyInDesiredStateis an upgrade is already in progress.
vmware.vapi.std.errors.Errorif the upgrade process fails inside the guest operating system.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
commandLineOptionsCommand line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired.

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task vmware::vcenter::vm::ToolsStub::UpgradeAsync ( string  vm,
string  commandLineOptions 
) [inline]

Begins the Tools upgrade process.

To monitor the status of the Tools upgrade, clients should check the Tools status by calling Tools.Get and examining versionStatus and runState . This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ServiceUnavailableif the VMware Tools are not running.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.AlreadyInDesiredStateis an upgrade is already in progress.
vmware.vapi.std.errors.Errorif the upgrade process fails inside the guest operating system.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
commandLineOptionsCommand line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired.

Implements vmware::vcenter::vm::Tools.

global::System.Threading.Tasks.Task vmware::vcenter::vm::ToolsStub::UpgradeAsync ( string  vm,
string  commandLineOptions,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Begins the Tools upgrade process.

To monitor the status of the Tools upgrade, clients should check the Tools status by calling Tools.Get and examining versionStatus and runState . This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ServiceUnavailableif the VMware Tools are not running.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.AlreadyInDesiredStateis an upgrade is already in progress.
vmware.vapi.std.errors.Errorif the upgrade process fails inside the guest operating system.
Parameters:
vmIdentifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine .
commandLineOptionsCommand line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::Tools.


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