VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Policies
interface provides methods to query the status of policies on virtual machines in VMware Cloud on AWS.
More...
Inherited by vmware::vcenter::vm::compute::PoliciesStub.
Public Member Functions | |
vmware.vcenter.vm.compute.PoliciesTypes.Info | Get (string vm, string policy) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS. | |
vmware.vcenter.vm.compute.PoliciesTypes.Info | Get (string vm, string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.compute.PoliciesTypes.Info > | GetAsync (string vm, string policy) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.compute.PoliciesTypes.Info > | GetAsync (string vm, string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS. |
The Policies
interface provides methods to query the status of policies on virtual machines in VMware Cloud on AWS.
Usage beyond VMware Cloud on AWS is not supported. Warning: This interface is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
vmware.vcenter.vm.compute.PoliciesTypes.Info vmware::vcenter::vm::compute::Policies::Get | ( | string | vm, |
string | policy | ||
) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS.
Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
vmware.vapi.std.errors.NotFound | if a virtual machine with the given identifier does not exist, or if a policy with the given identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Identifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine . |
policy | Identifier of the policy to query the status for. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Resources.COMPUTE_POLICY . |
Implemented in vmware::vcenter::vm::compute::PoliciesStub.
vmware.vcenter.vm.compute.PoliciesTypes.Info vmware::vcenter::vm::compute::Policies::Get | ( | string | vm, |
string | policy, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS.
Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
vmware.vapi.std.errors.NotFound | if a virtual machine with the given identifier does not exist, or if a policy with the given identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Identifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine . |
policy | Identifier of the policy to query the status for. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Resources.COMPUTE_POLICY . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::compute::PoliciesStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.compute.PoliciesTypes.Info> vmware::vcenter::vm::compute::Policies::GetAsync | ( | string | vm, |
string | policy | ||
) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS.
Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
vmware.vapi.std.errors.NotFound | if a virtual machine with the given identifier does not exist, or if a policy with the given identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Identifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine . |
policy | Identifier of the policy to query the status for. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Resources.COMPUTE_POLICY . |
Implemented in vmware::vcenter::vm::compute::PoliciesStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.compute.PoliciesTypes.Info> vmware::vcenter::vm::compute::Policies::GetAsync | ( | string | vm, |
string | policy, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about the compliance of a virtual machine with a compute policy in VMware Cloud on AWS.
Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
vmware.vapi.std.errors.NotFound | if a virtual machine with the given identifier does not exist, or if a policy with the given identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Identifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine . |
policy | Identifier of the policy to query the status for. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Resources.COMPUTE_POLICY . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::compute::PoliciesStub.