VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::hardware::Memory Interface Reference

The Memory interface provides methods for configuring the memory settings of a virtual machine. More...

Inherited by vmware::vcenter::vm::hardware::MemoryStub.

List of all members.

Public Member Functions

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.

Detailed Description

The Memory interface provides methods for configuring the memory settings of a virtual machine.


Member Function Documentation

vmware.vcenter.vm.hardware.MemoryTypes.Info vmware::vcenter::vm::hardware::Memory::Get ( string  vm)

Returns the memory-related settings of a virtual machine.

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.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
Memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

vmware.vcenter.vm.hardware.MemoryTypes.Info vmware::vcenter::vm::hardware::Memory::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.

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.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.MemoryTypes.Info> vmware::vcenter::vm::hardware::Memory::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.

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.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.MemoryTypes.Info> vmware::vcenter::vm::hardware::Memory::GetAsync ( string  vm)

Returns the memory-related settings of a virtual machine.

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.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
Memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

void vmware::vcenter::vm::hardware::Memory::Update ( string  vm,
vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec  spec 
)

Updates the memory-related settings of a virtual machine.

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.
vmware.vapi.std.errors.InvalidArgumentif one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB .
vmware.vapi.std.errors.NotAllowedInCurrentStateif hotAddEnabled is specified and the virtual machine is not powered off.
vmware.vapi.std.errors.NotAllowedInCurrentStateif sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for updating the memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

void vmware::vcenter::vm::hardware::Memory::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.

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.
vmware.vapi.std.errors.InvalidArgumentif one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB .
vmware.vapi.std.errors.NotAllowedInCurrentStateif hotAddEnabled is specified and the virtual machine is not powered off.
vmware.vapi.std.errors.NotAllowedInCurrentStateif sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for updating the memory-related settings of the virtual machine.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Memory::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.

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.
vmware.vapi.std.errors.InvalidArgumentif one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB .
vmware.vapi.std.errors.NotAllowedInCurrentStateif hotAddEnabled is specified and the virtual machine is not powered off.
vmware.vapi.std.errors.NotAllowedInCurrentStateif sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for updating the memory-related settings of the virtual machine.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::vm::hardware::MemoryStub.

global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Memory::UpdateAsync ( string  vm,
vmware.vcenter.vm.hardware.MemoryTypes.UpdateSpec  spec 
)

Updates the memory-related settings of a virtual machine.

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.
vmware.vapi.std.errors.InvalidArgumentif one of the provided settings is not permitted; for example, specifying a negative value for sizeMiB .
vmware.vapi.std.errors.NotAllowedInCurrentStateif hotAddEnabled is specified and the virtual machine is not powered off.
vmware.vapi.std.errors.NotAllowedInCurrentStateif sizeMiB is specified, hotAddEnabled is false, and the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for updating the memory-related settings of the virtual machine.

Implemented in vmware::vcenter::vm::hardware::MemoryStub.


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