|
VMware vSphere Automation SDK for .NET 6.5.0
|
The VM interface provides methods for managing the lifecycle of a virtual machine.
More...
Inherited by vmware::vcenter::VMStub.
Public Member Functions | |
| string | Create (vmware.vcenter.VMTypes.CreateSpec spec) |
| Creates a virtual machine. | |
| string | Create (vmware.vcenter.VMTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Creates a virtual machine. | |
| global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vcenter.VMTypes.CreateSpec spec) |
| Creates a virtual machine. | |
| global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vcenter.VMTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Creates a virtual machine. | |
| vmware.vcenter.VMTypes.Info | Get (string vm) |
| Returns information about a virtual machine. | |
| vmware.vcenter.VMTypes.Info | Get (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns information about a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.VMTypes.Info > | GetAsync (string vm) |
| Returns information about a virtual machine. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.VMTypes.Info > | GetAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns information about a virtual machine. | |
| void | Delete (string vm) |
| Deletes a virtual machine. | |
| void | Delete (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Deletes a virtual machine. | |
| global::System.Threading.Tasks.Task | DeleteAsync (string vm) |
| Deletes a virtual machine. | |
| global::System.Threading.Tasks.Task | DeleteAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Deletes a virtual machine. | |
| global::System.Collections.Generic.List < vmware.vcenter.VMTypes.Summary > | List (vmware.vcenter.VMTypes.FilterSpec filter) |
| Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec . | |
| global::System.Collections.Generic.List < vmware.vcenter.VMTypes.Summary > | List (vmware.vcenter.VMTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec . | |
| global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.VMTypes.Summary > > | ListAsync (vmware.vcenter.VMTypes.FilterSpec filter) |
| Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec . | |
| global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.VMTypes.Summary > > | ListAsync (vmware.vcenter.VMTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec . | |
The VM interface provides methods for managing the lifecycle of a virtual machine.
| string vmware::vcenter::VM::Create | ( | vmware.vcenter.VMTypes.CreateSpec | spec | ) |
Creates a virtual machine.
| vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the specified name already exists. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.InvalidArgument | if any of the specified parameters are invalid. |
| vmware.vapi.std.errors.NotFound | if any of the resources specified in spec could not be found |
| vmware.vapi.std.errors.ResourceInaccessible | if a specified resource (eg. host) is not accessible. |
| vmware.vapi.std.errors.ResourceInUse | if any of the specified storage addresses (eg. IDE, SATA, SCSI) result in a storage address conflict. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine could not be allocated. |
| 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. |
| vmware.vapi.std.errors.Unsupported | if guestOS is not supported for the requested virtual hardware version and spec includes null fields that default to guest-specific values. |
| spec | Virtual machine specification. |
VirtualMachine . Implemented in vmware::vcenter::VMStub.
| string vmware::vcenter::VM::Create | ( | vmware.vcenter.VMTypes.CreateSpec | spec, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Creates a virtual machine.
| vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the specified name already exists. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.InvalidArgument | if any of the specified parameters are invalid. |
| vmware.vapi.std.errors.NotFound | if any of the resources specified in spec could not be found |
| vmware.vapi.std.errors.ResourceInaccessible | if a specified resource (eg. host) is not accessible. |
| vmware.vapi.std.errors.ResourceInUse | if any of the specified storage addresses (eg. IDE, SATA, SCSI) result in a storage address conflict. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine could not be allocated. |
| 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. |
| vmware.vapi.std.errors.Unsupported | if guestOS is not supported for the requested virtual hardware version and spec includes null fields that default to guest-specific values. |
| spec | Virtual machine specification. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
VirtualMachine . Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::VM::CreateAsync | ( | vmware.vcenter.VMTypes.CreateSpec | spec, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Creates a virtual machine.
| vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the specified name already exists. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.InvalidArgument | if any of the specified parameters are invalid. |
| vmware.vapi.std.errors.NotFound | if any of the resources specified in spec could not be found |
| vmware.vapi.std.errors.ResourceInaccessible | if a specified resource (eg. host) is not accessible. |
| vmware.vapi.std.errors.ResourceInUse | if any of the specified storage addresses (eg. IDE, SATA, SCSI) result in a storage address conflict. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine could not be allocated. |
| 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. |
| vmware.vapi.std.errors.Unsupported | if guestOS is not supported for the requested virtual hardware version and spec includes null fields that default to guest-specific values. |
| spec | Virtual machine specification. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
VirtualMachine . Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::VM::CreateAsync | ( | vmware.vcenter.VMTypes.CreateSpec | spec | ) |
Creates a virtual machine.
| vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the specified name already exists. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.InvalidArgument | if any of the specified parameters are invalid. |
| vmware.vapi.std.errors.NotFound | if any of the resources specified in spec could not be found |
| vmware.vapi.std.errors.ResourceInaccessible | if a specified resource (eg. host) is not accessible. |
| vmware.vapi.std.errors.ResourceInUse | if any of the specified storage addresses (eg. IDE, SATA, SCSI) result in a storage address conflict. |
| vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
| vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine could not be allocated. |
| 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. |
| vmware.vapi.std.errors.Unsupported | if guestOS is not supported for the requested virtual hardware version and spec includes null fields that default to guest-specific values. |
| spec | Virtual machine specification. |
VirtualMachine . Implemented in vmware::vcenter::VMStub.
| void vmware::vcenter::VM::Delete | ( | string | vm | ) |
Deletes 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.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 . |
Implemented in vmware::vcenter::VMStub.
| void vmware::vcenter::VM::Delete | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Deletes 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.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 . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task vmware::vcenter::VM::DeleteAsync | ( | string | vm | ) |
Deletes 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.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 . |
Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task vmware::vcenter::VM::DeleteAsync | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Deletes 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.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 . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::VMStub.
| vmware.vcenter.VMTypes.Info vmware::vcenter::VM::Get | ( | string | vm | ) |
Returns information about 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::VMStub.
| vmware.vcenter.VMTypes.Info vmware::vcenter::VM::Get | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns information about 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::VMStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.VMTypes.Info> vmware::vcenter::VM::GetAsync | ( | string | vm, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns information about 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::VMStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.VMTypes.Info> vmware::vcenter::VM::GetAsync | ( | string | vm | ) |
Returns information about 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::VMStub.
| global::System.Collections.Generic.List<vmware.vcenter.VMTypes.Summary> vmware::vcenter::VM::List | ( | vmware.vcenter.VMTypes.FilterSpec | filter | ) |
Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec .
| vmware.vapi.std.errors.InvalidArgument | if the VM.FilterSpec.powerStates field contains a value that is not supported by the server. |
| vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines match the VM.FilterSpec . |
| 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. |
| filter | Specification of matching virtual machines for which information should be returned. If null, the behavior is equivalent to a VM.FilterSpec with all fields null which means all virtual machines match the filter. |
Implemented in vmware::vcenter::VMStub.
| global::System.Collections.Generic.List<vmware.vcenter.VMTypes.Summary> vmware::vcenter::VM::List | ( | vmware.vcenter.VMTypes.FilterSpec | filter, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec .
| vmware.vapi.std.errors.InvalidArgument | if the VM.FilterSpec.powerStates field contains a value that is not supported by the server. |
| vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines match the VM.FilterSpec . |
| 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. |
| filter | Specification of matching virtual machines for which information should be returned. If null, the behavior is equivalent to a VM.FilterSpec with all fields null which means all virtual machines match the filter. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.VMTypes.Summary> > vmware::vcenter::VM::ListAsync | ( | vmware.vcenter.VMTypes.FilterSpec | filter, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec .
| vmware.vapi.std.errors.InvalidArgument | if the VM.FilterSpec.powerStates field contains a value that is not supported by the server. |
| vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines match the VM.FilterSpec . |
| 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. |
| filter | Specification of matching virtual machines for which information should be returned. If null, the behavior is equivalent to a VM.FilterSpec with all fields null which means all virtual machines match the filter. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::VMStub.
| global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.VMTypes.Summary> > vmware::vcenter::VM::ListAsync | ( | vmware.vcenter.VMTypes.FilterSpec | filter | ) |
Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec .
| vmware.vapi.std.errors.InvalidArgument | if the VM.FilterSpec.powerStates field contains a value that is not supported by the server. |
| vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines match the VM.FilterSpec . |
| 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. |
| filter | Specification of matching virtual machines for which information should be returned. If null, the behavior is equivalent to a VM.FilterSpec with all fields null which means all virtual machines match the filter. |
Implemented in vmware::vcenter::VMStub.