VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::storage::policies::VMStub Class Reference

Remote stub implementation of the VM API service. More...

Inherits vmware::vcenter::storage::policies::VM.

List of all members.

Public Member Functions

 VMStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 VMStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
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.

Detailed Description

Remote stub implementation of the VM API service.


Constructor & Destructor Documentation

vmware::vcenter::storage::policies::VMStub::VMStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::storage::policies::VMStub::VMStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> vmware::vcenter::storage::policies::VMStub::List ( string  policy) [inline]

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif there is no policy associated with policy in the system.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1000 virtual machines are associated with the specified policy.
vmware.vapi.std.errors.Unauthenticatedif the user cannot be authenticated.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service necessary to complete the request.
vmware.vapi.std.errors.Errorif the backend server encounters some an error while processing the request.
vmware.vapi.std.errors.Unauthorizedif the user does not have the required priveleges.
Parameters:
policystorage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
Returns:
Information about the virtual machines and/or their virtual disks that are associated with the given storage policy. The key in the result map will be an identifier for the resource type: VirtualMachine .

Implements vmware::vcenter::storage::policies::VM.

global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> vmware::vcenter::storage::policies::VMStub::List ( string  policy,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif there is no policy associated with policy in the system.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1000 virtual machines are associated with the specified policy.
vmware.vapi.std.errors.Unauthenticatedif the user cannot be authenticated.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service necessary to complete the request.
vmware.vapi.std.errors.Errorif the backend server encounters some an error while processing the request.
vmware.vapi.std.errors.Unauthorizedif the user does not have the required priveleges.
Parameters:
policystorage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the virtual machines and/or their virtual disks that are associated with the given storage policy. The key in the result map will be an identifier for the resource type: VirtualMachine .

Implements vmware::vcenter::storage::policies::VM.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> > vmware::vcenter::storage::policies::VMStub::ListAsync ( string  policy) [inline]

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif there is no policy associated with policy in the system.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1000 virtual machines are associated with the specified policy.
vmware.vapi.std.errors.Unauthenticatedif the user cannot be authenticated.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service necessary to complete the request.
vmware.vapi.std.errors.Errorif the backend server encounters some an error while processing the request.
vmware.vapi.std.errors.Unauthorizedif the user does not have the required priveleges.
Parameters:
policystorage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
Returns:
Information about the virtual machines and/or their virtual disks that are associated with the given storage policy. The key in the result map will be an identifier for the resource type: VirtualMachine .

Implements vmware::vcenter::storage::policies::VM.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.storage.policies.VMTypes.Info> > vmware::vcenter::storage::policies::VMStub::ListAsync ( string  policy,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif there is no policy associated with policy in the system.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1000 virtual machines are associated with the specified policy.
vmware.vapi.std.errors.Unauthenticatedif the user cannot be authenticated.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service necessary to complete the request.
vmware.vapi.std.errors.Errorif the backend server encounters some an error while processing the request.
vmware.vapi.std.errors.Unauthorizedif the user does not have the required priveleges.
Parameters:
policystorage policy identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the virtual machines and/or their virtual disks that are associated with the given storage policy. The key in the result map will be an identifier for the resource type: VirtualMachine .

Implements vmware::vcenter::storage::policies::VM.


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