VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Policies API service. More...
Inherits vmware::vcenter::compute::Policies.
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) | |
string | Create (vmware.vapi.bindings.IStructure spec) |
Creates a new compute policy in VMware Cloud on AWS. | |
string | Create (vmware.vapi.bindings.IStructure spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a new compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vapi.bindings.IStructure spec) |
Creates a new compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vapi.bindings.IStructure spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a new compute policy in VMware Cloud on AWS. | |
global::System.Collections.Generic.List < vmware.vcenter.compute.PoliciesTypes.Summary > | List () |
Returns information about the compute policies available in this vCenter server in VMware Cloud on AWS. | |
global::System.Collections.Generic.List < vmware.vcenter.compute.PoliciesTypes.Summary > | List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the compute policies available in this vCenter server in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.compute.PoliciesTypes.Summary > > | ListAsync () |
Returns information about the compute policies available in this vCenter server in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.compute.PoliciesTypes.Summary > > | ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about the compute policies available in this vCenter server in VMware Cloud on AWS. | |
vmware.vapi.bindings.IStructure | Get (string policy) |
Returns information about a specific compute policy in VMware Cloud on AWS. | |
vmware.vapi.bindings.IStructure | Get (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a specific compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < vmware.vapi.bindings.IStructure > | GetAsync (string policy) |
Returns information about a specific compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task < vmware.vapi.bindings.IStructure > | GetAsync (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a specific compute policy in VMware Cloud on AWS. | |
void | Delete (string policy) |
Deletes a specific compute policy in VMware Cloud on AWS. | |
void | Delete (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deletes a specific compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task | DeleteAsync (string policy) |
Deletes a specific compute policy in VMware Cloud on AWS. | |
global::System.Threading.Tasks.Task | DeleteAsync (string policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deletes a specific compute policy in VMware Cloud on AWS. |
Remote stub implementation of the Policies API service.
vmware::vcenter::compute::PoliciesStub::PoliciesStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::compute::PoliciesStub::PoliciesStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
string vmware::vcenter::compute::PoliciesStub::Create | ( | vmware.vapi.bindings.IStructure | spec | ) | [inline] |
Creates a new 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.AlreadyExists | if a policy with the same name is already present on this vCenter server. |
vmware.vapi.std.errors.InvalidArgument | if a parameter passed in the spec is invalid. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 100 policies are created. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification for the new policy to be created. The new policy will be an instance of the capability that has the creation type (see policies.Capabilities.Info.createSpecType ) equal to the type of the specified value (see spec ). The parameter must contain all the attributes defined in policies.CreateSpec . |
com.vmware.vcenter.compute.Policy
. Implements vmware::vcenter::compute::Policies.
string vmware::vcenter::compute::PoliciesStub::Create | ( | vmware.vapi.bindings.IStructure | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Creates a new 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.AlreadyExists | if a policy with the same name is already present on this vCenter server. |
vmware.vapi.std.errors.InvalidArgument | if a parameter passed in the spec is invalid. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 100 policies are created. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification for the new policy to be created. The new policy will be an instance of the capability that has the creation type (see policies.Capabilities.Info.createSpecType ) equal to the type of the specified value (see spec ). The parameter must contain all the attributes defined in policies.CreateSpec . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.compute.Policy
. Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<string> vmware::vcenter::compute::PoliciesStub::CreateAsync | ( | vmware.vapi.bindings.IStructure | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Creates a new 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.AlreadyExists | if a policy with the same name is already present on this vCenter server. |
vmware.vapi.std.errors.InvalidArgument | if a parameter passed in the spec is invalid. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 100 policies are created. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification for the new policy to be created. The new policy will be an instance of the capability that has the creation type (see policies.Capabilities.Info.createSpecType ) equal to the type of the specified value (see spec ). The parameter must contain all the attributes defined in policies.CreateSpec . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.compute.Policy
. Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<string> vmware::vcenter::compute::PoliciesStub::CreateAsync | ( | vmware.vapi.bindings.IStructure | spec | ) | [inline] |
Creates a new 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.AlreadyExists | if a policy with the same name is already present on this vCenter server. |
vmware.vapi.std.errors.InvalidArgument | if a parameter passed in the spec is invalid. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 100 policies are created. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | Specification for the new policy to be created. The new policy will be an instance of the capability that has the creation type (see policies.Capabilities.Info.createSpecType ) equal to the type of the specified value (see spec ). The parameter must contain all the attributes defined in policies.CreateSpec . |
com.vmware.vcenter.compute.Policy
. Implements vmware::vcenter::compute::Policies.
void vmware::vcenter::compute::PoliciesStub::Delete | ( | string | policy | ) | [inline] |
Deletes a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy to be deleted. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
Implements vmware::vcenter::compute::Policies.
void vmware::vcenter::compute::PoliciesStub::Delete | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Deletes a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy to be deleted. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task vmware::vcenter::compute::PoliciesStub::DeleteAsync | ( | string | policy | ) | [inline] |
Deletes a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy to be deleted. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task vmware::vcenter::compute::PoliciesStub::DeleteAsync | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Deletes a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy to be deleted. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::compute::Policies.
vmware.vapi.bindings.IStructure vmware::vcenter::compute::PoliciesStub::Get | ( | string | policy | ) | [inline] |
Returns information about a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
Implements vmware::vcenter::compute::Policies.
vmware.vapi.bindings.IStructure vmware::vcenter::compute::PoliciesStub::Get | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns information about a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<vmware.vapi.bindings.IStructure> vmware::vcenter::compute::PoliciesStub::GetAsync | ( | string | policy | ) | [inline] |
Returns information about a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<vmware.vapi.bindings.IStructure> vmware::vcenter::compute::PoliciesStub::GetAsync | ( | string | policy, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns information about a specific 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 policy with this identifier does not exist. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
policy | Identifier of the policy for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::compute::Policies.
global::System.Collections.Generic.List<vmware.vcenter.compute.PoliciesTypes.Summary> vmware::vcenter::compute::PoliciesStub::List | ( | ) | [inline] |
Returns information about the compute policies available in this vCenter server 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.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::compute::Policies.
global::System.Collections.Generic.List<vmware.vcenter.compute.PoliciesTypes.Summary> vmware::vcenter::compute::PoliciesStub::List | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns information about the compute policies available in this vCenter server 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.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.compute.PoliciesTypes.Summary> > vmware::vcenter::compute::PoliciesStub::ListAsync | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns information about the compute policies available in this vCenter server 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.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::compute::Policies.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.compute.PoliciesTypes.Summary> > vmware::vcenter::compute::PoliciesStub::ListAsync | ( | ) | [inline] |
Returns information about the compute policies available in this vCenter server 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.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::compute::Policies.