VMware vSphere Automation SDK for .NET 7.0.0.1
|
The VM
interface provides methods managing the storage policy association for a virtual machine and its virtual disks.
More...
Inherited by vmware::vcenter::storage::policies::VMStub.
Public Member Functions | |
global::System.Collections.Generic.Dictionary < string, vmware.vcenter.storage.policies.VMTypes.Info > | List (string policy) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy. | |
global::System.Collections.Generic.Dictionary < string, vmware.vcenter.storage.policies.VMTypes.Info > | List (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.Dictionary < string, vmware.vcenter.storage.policies.VMTypes.Info > > | ListAsync (string policy) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.Dictionary < string, vmware.vcenter.storage.policies.VMTypes.Info > > | ListAsync (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy. |
The VM
interface provides methods managing the storage policy association for a virtual machine and its virtual disks.
This interface was added in vSphere API 6.7.
global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> vmware::vcenter::storage::policies::VM::List | ( | string | policy | ) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.NotFound | if there is no policy associated with policy in the system. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines are associated with the specified policy. |
vmware.vapi.std.errors.Unauthenticated | if the user cannot be authenticated. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service necessary to complete the request. |
vmware.vapi.std.errors.Error | if the backend server encounters some an error while processing the request. |
vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
policy | storage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
VirtualMachine
. Implemented in vmware::vcenter::storage::policies::VMStub.
global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> vmware::vcenter::storage::policies::VM::List | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.NotFound | if there is no policy associated with policy in the system. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines are associated with the specified policy. |
vmware.vapi.std.errors.Unauthenticated | if the user cannot be authenticated. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service necessary to complete the request. |
vmware.vapi.std.errors.Error | if the backend server encounters some an error while processing the request. |
vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
policy | storage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
VirtualMachine
. Implemented in vmware::vcenter::storage::policies::VMStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> > vmware::vcenter::storage::policies::VM::ListAsync | ( | string | policy | ) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.NotFound | if there is no policy associated with policy in the system. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines are associated with the specified policy. |
vmware.vapi.std.errors.Unauthenticated | if the user cannot be authenticated. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service necessary to complete the request. |
vmware.vapi.std.errors.Error | if the backend server encounters some an error while processing the request. |
vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
policy | storage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
VirtualMachine
. Implemented in vmware::vcenter::storage::policies::VMStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> > vmware::vcenter::storage::policies::VM::ListAsync | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about the virtual machines and/or their virtual disks that are associated with the given storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.NotFound | if there is no policy associated with policy in the system. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1000 virtual machines are associated with the specified policy. |
vmware.vapi.std.errors.Unauthenticated | if the user cannot be authenticated. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service necessary to complete the request. |
vmware.vapi.std.errors.Error | if the backend server encounters some an error while processing the request. |
vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
policy | storage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
VirtualMachine
. Implemented in vmware::vcenter::storage::policies::VMStub.