VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::compute::Policies Interface Reference

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.

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif 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.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmIdentifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine .
policyIdentifier 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 .
Returns:
Information about the compliance of the specified virtual machine with the specified 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif 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.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmIdentifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine .
policyIdentifier 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 .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the compliance of the specified virtual machine with the specified 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 
)

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.

Exceptions:
vmware.vapi.std.errors.NotFoundif 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.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmIdentifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine .
policyIdentifier 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 .
Returns:
Information about the compliance of the specified virtual machine with the specified 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif 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.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmIdentifier of the virtual machine to query the status for. The parameter must be an identifier for the resource type: VirtualMachine .
policyIdentifier 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 .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the compliance of the specified virtual machine with the specified compute policy.

Implemented in vmware::vcenter::vm::compute::PoliciesStub.


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