|
VMware vSphere Automation SDK for .NET 6.5.0
|
The Hardware interface provides methods for configuring the virtual hardware of a virtual machine.
More...
Inherited by vmware::vcenter::vm::HardwareStub.
Public Member Functions | |
| vmware.vcenter.vm.HardwareTypes.Info | Get (string vm) |
| Returns the virtual hardware settings of a virtual machine. | |
| vmware.vcenter.vm.HardwareTypes.Info | Get (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the virtual hardware settings of a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.vm.HardwareTypes.Info > | GetAsync (string vm) |
| Returns the virtual hardware settings of a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.vm.HardwareTypes.Info > | GetAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the virtual hardware settings of a virtual machine. | |
| void | Update (string vm, vmware.vcenter.vm.HardwareTypes.UpdateSpec spec) |
| Updates the virtual hardware settings of a virtual machine. | |
| void | Update (string vm, vmware.vcenter.vm.HardwareTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Updates the virtual hardware settings of a virtual machine. | |
| global::System.Threading.Tasks.Task | UpdateAsync (string vm, vmware.vcenter.vm.HardwareTypes.UpdateSpec spec) |
| Updates the virtual hardware settings of a virtual machine. | |
| global::System.Threading.Tasks.Task | UpdateAsync (string vm, vmware.vcenter.vm.HardwareTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Updates the virtual hardware settings of a virtual machine. | |
| void | Upgrade (string vm, vmware.vcenter.vm.HardwareTypes.Version version) |
| Upgrades the virtual machine to a newer virtual hardware version. | |
| void | Upgrade (string vm, vmware.vcenter.vm.HardwareTypes.Version version, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Upgrades the virtual machine to a newer virtual hardware version. | |
| global::System.Threading.Tasks.Task | UpgradeAsync (string vm, vmware.vcenter.vm.HardwareTypes.Version version) |
| Upgrades the virtual machine to a newer virtual hardware version. | |
| global::System.Threading.Tasks.Task | UpgradeAsync (string vm, vmware.vcenter.vm.HardwareTypes.Version version, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Upgrades the virtual machine to a newer virtual hardware version. | |
The Hardware interface provides methods for configuring the virtual hardware of a virtual machine.
| vmware.vcenter.vm.HardwareTypes.Info vmware::vcenter::vm::Hardware::Get | ( | string | vm | ) |
Returns the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
Implemented in vmware::vcenter::vm::HardwareStub.
| vmware.vcenter.vm.HardwareTypes.Info vmware::vcenter::vm::Hardware::Get | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.vm.HardwareTypes.Info> vmware::vcenter::vm::Hardware::GetAsync | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.vm.HardwareTypes.Info> vmware::vcenter::vm::Hardware::GetAsync | ( | string | vm | ) |
Returns the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
Implemented in vmware::vcenter::vm::HardwareStub.
| void vmware::vcenter::vm::Hardware::Update | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.UpdateSpec | spec | ||
| ) |
Updates the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if the requested virtual hardware version is not newer than the current version. |
| vmware.vapi.std.errors.Unsupported | if the requested virtual hardware version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Specification for updating the virtual hardware settings of the virtual machine. |
Implemented in vmware::vcenter::vm::HardwareStub.
| void vmware::vcenter::vm::Hardware::Update | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.UpdateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Updates the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if the requested virtual hardware version is not newer than the current version. |
| vmware.vapi.std.errors.Unsupported | if the requested virtual hardware version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Specification for updating the virtual hardware settings of the virtual machine. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::Hardware::UpdateAsync | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.UpdateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Updates the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if the requested virtual hardware version is not newer than the current version. |
| vmware.vapi.std.errors.Unsupported | if the requested virtual hardware version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Specification for updating the virtual hardware settings of the virtual machine. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::Hardware::UpdateAsync | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.UpdateSpec | spec | ||
| ) |
Updates the virtual hardware settings of a virtual machine.
| 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. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if the requested virtual hardware version is not newer than the current version. |
| vmware.vapi.std.errors.Unsupported | if the requested virtual hardware version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Specification for updating the virtual hardware settings of the virtual machine. |
Implemented in vmware::vcenter::vm::HardwareStub.
| void vmware::vcenter::vm::Hardware::Upgrade | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.Version | version, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Upgrades the virtual machine to a newer virtual hardware version.
| 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. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if version is older than the current virtual hardware version. |
| vmware.vapi.std.errors.Unsupported | if version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| version | New virtual machine version. If null, defaults to the most recent virtual hardware version supported by the server. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.
| void vmware::vcenter::vm::Hardware::Upgrade | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.Version | version | ||
| ) |
Upgrades the virtual machine to a newer virtual hardware version.
| 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. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if version is older than the current virtual hardware version. |
| vmware.vapi.std.errors.Unsupported | if version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| version | New virtual machine version. If null, defaults to the most recent virtual hardware version supported by the server. |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::Hardware::UpgradeAsync | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.Version | version | ||
| ) |
Upgrades the virtual machine to a newer virtual hardware version.
| 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. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if version is older than the current virtual hardware version. |
| vmware.vapi.std.errors.Unsupported | if version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| version | New virtual machine version. If null, defaults to the most recent virtual hardware version supported by the server. |
Implemented in vmware::vcenter::vm::HardwareStub.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::Hardware::UpgradeAsync | ( | string | vm, |
| vmware.vcenter.vm.HardwareTypes.Version | version, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Upgrades the virtual machine to a newer virtual hardware version.
| 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. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
| vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual machine is already configured for the desired hardware version. |
| vmware.vapi.std.errors.InvalidArgument | if version is older than the current virtual hardware version. |
| vmware.vapi.std.errors.Unsupported | if version is not supported by the server. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| version | New virtual machine version. If null, defaults to the most recent virtual hardware version supported by the server. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::HardwareStub.