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

The Policies interface provides methods for managing the storage policies. More...

Inherited by vmware::vcenter::storage::PoliciesStub.

List of all members.

Public Member Functions

global::System.Collections.Generic.List
< vmware.vcenter.storage.PoliciesTypes.Summary
List (vmware.vcenter.storage.PoliciesTypes.FilterSpec filter)
 Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.
global::System.Collections.Generic.List
< vmware.vcenter.storage.PoliciesTypes.Summary
List (vmware.vcenter.storage.PoliciesTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.storage.PoliciesTypes.Summary > > 
ListAsync (vmware.vcenter.storage.PoliciesTypes.FilterSpec filter)
 Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.storage.PoliciesTypes.Summary > > 
ListAsync (vmware.vcenter.storage.PoliciesTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.
vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo CheckCompatibility (string policy, global::System.Collections.Generic.HashSet< string > datastores)
 Returns datastore compatibility summary about a specific storage policy.
vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo CheckCompatibility (string policy, global::System.Collections.Generic.HashSet< string > datastores, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns datastore compatibility summary about a specific storage policy.
global::System.Threading.Tasks.Task
< vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo
CheckCompatibilityAsync (string policy, global::System.Collections.Generic.HashSet< string > datastores)
 Returns datastore compatibility summary about a specific storage policy.
global::System.Threading.Tasks.Task
< vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo
CheckCompatibilityAsync (string policy, global::System.Collections.Generic.HashSet< string > datastores, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns datastore compatibility summary about a specific storage policy.

Detailed Description

The Policies interface provides methods for managing the storage policies.

This interface was added in vSphere API 6.7.


Member Function Documentation

vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo vmware::vcenter::storage::Policies::CheckCompatibility ( string  policy,
global::System.Collections.Generic.HashSet< string >  datastores 
)

Returns datastore compatibility summary about a specific storage policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the storage policy specified does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif input more than 1024 datastores.
Parameters:
policyThe storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
datastoresDatastores used to check compatibility against a storage policy. The number of datastores is limited to 1024. The parameter must contain identifiers for the resource type: Datastore .
Returns:
datastore compatibility summary about a specific storage policy.

Implemented in vmware::vcenter::storage::PoliciesStub.

vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo vmware::vcenter::storage::Policies::CheckCompatibility ( string  policy,
global::System.Collections.Generic.HashSet< string >  datastores,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns datastore compatibility summary about a specific storage policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the storage policy specified does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif input more than 1024 datastores.
Parameters:
policyThe storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
datastoresDatastores used to check compatibility against a storage policy. The number of datastores is limited to 1024. The parameter must contain identifiers for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
datastore compatibility summary about a specific storage policy.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Threading.Tasks.Task<vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo> vmware::vcenter::storage::Policies::CheckCompatibilityAsync ( string  policy,
global::System.Collections.Generic.HashSet< string >  datastores,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns datastore compatibility summary about a specific storage policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the storage policy specified does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif input more than 1024 datastores.
Parameters:
policyThe storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
datastoresDatastores used to check compatibility against a storage policy. The number of datastores is limited to 1024. The parameter must contain identifiers for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
datastore compatibility summary about a specific storage policy.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Threading.Tasks.Task<vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo> vmware::vcenter::storage::Policies::CheckCompatibilityAsync ( string  policy,
global::System.Collections.Generic.HashSet< string >  datastores 
)

Returns datastore compatibility summary about a specific storage policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the storage policy specified does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif input more than 1024 datastores.
Parameters:
policyThe storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy .
datastoresDatastores used to check compatibility against a storage policy. The number of datastores is limited to 1024. The parameter must contain identifiers for the resource type: Datastore .
Returns:
datastore compatibility summary about a specific storage policy.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> vmware::vcenter::storage::Policies::List ( vmware.vcenter.storage.PoliciesTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.

These storage policies can be used for provisioning virtual machines or disks. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Policies.FilterSpec contains a value that is not supported by the server.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1024 storage policies exist.
Parameters:
filterSpecification of matching storage policies for which information should be returned. If null, the behavior is equivalent to a Policies.FilterSpec with all fields null which means all storage policies match the filter
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used Information about the storage policies.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> vmware::vcenter::storage::Policies::List ( vmware.vcenter.storage.PoliciesTypes.FilterSpec  filter)

Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.

These storage policies can be used for provisioning virtual machines or disks. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Policies.FilterSpec contains a value that is not supported by the server.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1024 storage policies exist.
Parameters:
filterSpecification of matching storage policies for which information should be returned. If null, the behavior is equivalent to a Policies.FilterSpec with all fields null which means all storage policies match the filter
Returns:
Commonly used Information about the storage policies.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> > vmware::vcenter::storage::Policies::ListAsync ( vmware.vcenter.storage.PoliciesTypes.FilterSpec  filter)

Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.

These storage policies can be used for provisioning virtual machines or disks. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Policies.FilterSpec contains a value that is not supported by the server.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1024 storage policies exist.
Parameters:
filterSpecification of matching storage policies for which information should be returned. If null, the behavior is equivalent to a Policies.FilterSpec with all fields null which means all storage policies match the filter
Returns:
Commonly used Information about the storage policies.

Implemented in vmware::vcenter::storage::PoliciesStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> > vmware::vcenter::storage::Policies::ListAsync ( vmware.vcenter.storage.PoliciesTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter.

These storage policies can be used for provisioning virtual machines or disks. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Policies.FilterSpec contains a value that is not supported by the server.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 1024 storage policies exist.
Parameters:
filterSpecification of matching storage policies for which information should be returned. If null, the behavior is equivalent to a Policies.FilterSpec with all fields null which means all storage policies match the filter
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used Information about the storage policies.

Implemented in vmware::vcenter::storage::PoliciesStub.


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