|
VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Policy API service. More...
Inherits vmware::vcenter::vm::storage::Policy.
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. | |
Remote stub implementation of the Policy API service.
| 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] |
| 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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 does not have the required privileges. |
| vm | Virtual machine identifier The parameter must be an identifier for the resource type: VirtualMachine . |
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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 does not 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 |
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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 does not 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 |
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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 does not have the required privileges. |
| vm | Virtual machine identifier The parameter must be an identifier for the resource type: VirtualMachine . |
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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required priveleges. |
| vmware.vapi.std.errors.InvalidArgument | if the storage policy specified is invalid. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine or disk is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine or disk's configuration state cannot be accessed. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Storage Policy Specification for updating the virtual machine and virtual disks. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required priveleges. |
| vmware.vapi.std.errors.InvalidArgument | if the storage policy specified is invalid. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine or disk is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine or disk's configuration state cannot be accessed. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Storage 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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required priveleges. |
| vmware.vapi.std.errors.InvalidArgument | if the storage policy specified is invalid. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine or disk is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine or disk's configuration state cannot be accessed. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Storage 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.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required priveleges. |
| vmware.vapi.std.errors.InvalidArgument | if the storage policy specified is invalid. |
| vmware.vapi.std.errors.ResourceBusy | if the virtual machine or disk is busy performing another operation. |
| vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine or disk's configuration state cannot be accessed. |
| vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
| spec | Storage Policy Specification for updating the virtual machine and virtual disks. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::storage::Policy.