|
VMware vSphere Automation SDK for .NET 6.5.0
|
Remote stub implementation of the Memory API service. More...
Inherits vmware::vcenter::vm::hardware::Memory.
Public Member Functions | |
| MemoryStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
| vmware.vcenter.vm.hardware.MemoryTypes.Info | Get (string vm) |
| Returns the memory-related settings of a virtual machine. | |
| vmware.vcenter.vm.hardware.MemoryTypes.Info | Get (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the memory-related settings of a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.MemoryTypes.Info > | GetAsync (string vm) |
| Returns the memory-related settings of a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.MemoryTypes.Info > | GetAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the memory-related settings of a virtual machine. | |
| void | Update (string vm, vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec spec) |
| Updates the memory-related settings of a virtual machine. | |
| void | Update (string vm, vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Updates the memory-related settings of a virtual machine. | |
| global::System.Threading.Tasks.Task | UpdateAsync (string vm, vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec spec) |
| Updates the memory-related settings of a virtual machine. | |
| global::System.Threading.Tasks.Task | UpdateAsync (string vm, vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Updates the memory-related settings of a virtual machine. | |
Remote stub implementation of the Memory API service.
| vmware::vcenter::vm::hardware::MemoryStub::MemoryStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
| vmware.vapi.bindings.IStubConfiguration | config | ||
| ) | [inline] |
| vmware.vcenter.vm.hardware.MemoryTypes.Info vmware::vcenter::vm::hardware::MemoryStub::Get | ( | string | vm | ) | [inline] |
Returns the memory-related 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 . |
Implements vmware::vcenter::vm::hardware::Memory.
| vmware.vcenter.vm.hardware.MemoryTypes.Info vmware::vcenter::vm::hardware::MemoryStub::Get | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Returns the memory-related 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 |
Implements vmware::vcenter::vm::hardware::Memory.
| global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.MemoryTypes.Info> vmware::vcenter::vm::hardware::MemoryStub::GetAsync | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Returns the memory-related 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 |
Implements vmware::vcenter::vm::hardware::Memory.
| global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.MemoryTypes.Info> vmware::vcenter::vm::hardware::MemoryStub::GetAsync | ( | string | vm | ) | [inline] |
Returns the memory-related 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 . |
Implements vmware::vcenter::vm::hardware::Memory.
| void vmware::vcenter::vm::hardware::MemoryStub::Update | ( | string | vm, |
| vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec | spec | ||
| ) | [inline] |
Updates the memory-related 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.InvalidArgument | if one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB . |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if hotAddEnabled is specified and the virtual machine is not powered off. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off. |
| 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 memory-related settings of the virtual machine. |
Implements vmware::vcenter::vm::hardware::Memory.
| void vmware::vcenter::vm::hardware::MemoryStub::Update | ( | string | vm, |
| vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Updates the memory-related 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.InvalidArgument | if one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB . |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if hotAddEnabled is specified and the virtual machine is not powered off. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off. |
| 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 memory-related settings of the virtual machine. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::hardware::Memory.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::MemoryStub::UpdateAsync | ( | string | vm, |
| vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Updates the memory-related 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.InvalidArgument | if one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB . |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if hotAddEnabled is specified and the virtual machine is not powered off. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off. |
| 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 memory-related settings of the virtual machine. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::hardware::Memory.
| global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::MemoryStub::UpdateAsync | ( | string | vm, |
| vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec | spec | ||
| ) | [inline] |
Updates the memory-related 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.InvalidArgument | if one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB . |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if hotAddEnabled is specified and the virtual machine is not powered off. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off. |
| 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 memory-related settings of the virtual machine. |
Implements vmware::vcenter::vm::hardware::Memory.