VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::compute::PoliciesStub Class Reference

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

Inherits vmware::vcenter::vm::compute::Policies.

List of all members.

Public Member Functions

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

Remote stub implementation of the Policies API service.


Constructor & Destructor Documentation

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

Member Function Documentation

vmware.vcenter.vm.compute.PoliciesTypes.Info vmware::vcenter::vm::compute::PoliciesStub::Get ( string  vm,
string  policy 
) [inline]

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.

Implements vmware::vcenter::vm::compute::Policies.

vmware.vcenter.vm.compute.PoliciesTypes.Info vmware::vcenter::vm::compute::PoliciesStub::Get ( string  vm,
string  policy,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Implements vmware::vcenter::vm::compute::Policies.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.compute.PoliciesTypes.Info> vmware::vcenter::vm::compute::PoliciesStub::GetAsync ( string  vm,
string  policy 
) [inline]

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.

Implements vmware::vcenter::vm::compute::Policies.

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

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.

Implements vmware::vcenter::vm::compute::Policies.


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