VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::storage::PolicyStub Class Reference

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

Inherits vmware::vcenter::vm::storage::Policy.

List of all members.

Public Member Functions

 PolicyStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 PolicyStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Update (string vm, vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec spec)
 Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.
void Update (string vm, vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.
global::System.Threading.Tasks.Task UpdateAsync (string vm, vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec spec)
 Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.
global::System.Threading.Tasks.Task UpdateAsync (string vm, vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.
vmware.vcenter.vm.storage.PolicyTypes.Info Get (string vm)
 Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.
vmware.vcenter.vm.storage.PolicyTypes.Info Get (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.storage.PolicyTypes.Info
GetAsync (string vm)
 Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.storage.PolicyTypes.Info
GetAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.

Detailed Description

Remote stub implementation of the Policy API service.


Constructor & Destructor Documentation

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

Member Function Documentation

vmware.vcenter.vm.storage.PolicyTypes.Info vmware::vcenter::vm::storage::PolicyStub::Get ( string  vm) [inline]

Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 does not have the required privileges.
Parameters:
vmVirtual machine identifier The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
Overview of Storage Policy associated with a virtual machine's home directory and/or its associated virtual hard disks.

Implements vmware::vcenter::vm::storage::Policy.

vmware.vcenter.vm.storage.PolicyTypes.Info vmware::vcenter::vm::storage::PolicyStub::Get ( string  vm,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 does not 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:
Overview of Storage Policy associated with a virtual machine's home directory and/or its associated virtual hard disks.

Implements vmware::vcenter::vm::storage::Policy.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.storage.PolicyTypes.Info> vmware::vcenter::vm::storage::PolicyStub::GetAsync ( string  vm,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 does not 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:
Overview of Storage Policy associated with a virtual machine's home directory and/or its associated virtual hard disks.

Implements vmware::vcenter::vm::storage::Policy.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.storage.PolicyTypes.Info> vmware::vcenter::vm::storage::PolicyStub::GetAsync ( string  vm) [inline]

Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 does not have the required privileges.
Parameters:
vmVirtual machine identifier The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
Overview of Storage Policy associated with a virtual machine's home directory and/or its associated virtual hard disks.

Implements vmware::vcenter::vm::storage::Policy.

void vmware::vcenter::vm::storage::PolicyStub::Update ( string  vm,
vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 is not authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required priveleges.
vmware.vapi.std.errors.InvalidArgumentif the storage policy specified is invalid.
vmware.vapi.std.errors.ResourceBusyif the virtual machine or disk is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine or disk's configuration state cannot be accessed.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specStorage Policy Specification for updating the virtual machine and virtual disks.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::storage::Policy.

void vmware::vcenter::vm::storage::PolicyStub::Update ( string  vm,
vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec  spec 
) [inline]

Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 is not authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required priveleges.
vmware.vapi.std.errors.InvalidArgumentif the storage policy specified is invalid.
vmware.vapi.std.errors.ResourceBusyif the virtual machine or disk is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine or disk's configuration state cannot be accessed.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specStorage Policy Specification for updating the virtual machine and virtual disks.

Implements vmware::vcenter::vm::storage::Policy.

global::System.Threading.Tasks.Task vmware::vcenter::vm::storage::PolicyStub::UpdateAsync ( string  vm,
vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec  spec 
) [inline]

Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 is not authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required priveleges.
vmware.vapi.std.errors.InvalidArgumentif the storage policy specified is invalid.
vmware.vapi.std.errors.ResourceBusyif the virtual machine or disk is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine or disk's configuration state cannot be accessed.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specStorage Policy Specification for updating the virtual machine and virtual disks.

Implements vmware::vcenter::vm::storage::Policy.

global::System.Threading.Tasks.Task vmware::vcenter::vm::storage::PolicyStub::UpdateAsync ( string  vm,
vmware.vcenter.vm.storage.PolicyTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
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 is not authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required priveleges.
vmware.vapi.std.errors.InvalidArgumentif the storage policy specified is invalid.
vmware.vapi.std.errors.ResourceBusyif the virtual machine or disk is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine or disk's configuration state cannot be accessed.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specStorage Policy Specification for updating the virtual machine and virtual disks.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vm::storage::Policy.


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