VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Tools API service. More...
Inherits vmware::vcenter::vm::Tools.
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. |
Remote stub implementation of the Tools API service.
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] |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The new values. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The new values. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if the Tools.UpdateSpec.upgradePolicy field contains a value that is not supported by the server. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The 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.
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the VMware Tools are not running. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
vmware.vapi.std.errors.AlreadyInDesiredState | is an upgrade is already in progress. |
vmware.vapi.std.errors.Error | if the upgrade process fails inside the guest operating system. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
commandLineOptions | Command line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the VMware Tools are not running. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
vmware.vapi.std.errors.AlreadyInDesiredState | is an upgrade is already in progress. |
vmware.vapi.std.errors.Error | if the upgrade process fails inside the guest operating system. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
commandLineOptions | Command 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.
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the VMware Tools are not running. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
vmware.vapi.std.errors.AlreadyInDesiredState | is an upgrade is already in progress. |
vmware.vapi.std.errors.Error | if the upgrade process fails inside the guest operating system. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
commandLineOptions | Command 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.
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the VMware Tools are not running. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
vmware.vapi.std.errors.AlreadyInDesiredState | is an upgrade is already in progress. |
vmware.vapi.std.errors.Error | if the upgrade process fails inside the guest operating system. |
vm | Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine . |
commandLineOptions | Command line options passed to the installer to modify the installation procedure for Tools. Set if any additional options are desired. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::Tools.