VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Policies API service. More...
Inherits vmware::vcenter::storage::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) | |
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. |
Remote stub implementation of the Policies API service.
vmware::vcenter::storage::PoliciesStub::PoliciesStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::storage::PoliciesStub::PoliciesStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo vmware::vcenter::storage::PoliciesStub::CheckCompatibility | ( | string | policy, |
global::System.Collections.Generic.HashSet< string > | datastores | ||
) | [inline] |
Returns datastore compatibility summary about a specific storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the storage policy specified does not exist. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if input more than 1024 datastores. |
policy | The storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
datastores | Datastores 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 . |
Implements vmware::vcenter::storage::Policies.
vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo vmware::vcenter::storage::PoliciesStub::CheckCompatibility | ( | string | policy, |
global::System.Collections.Generic.HashSet< string > | datastores, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns datastore compatibility summary about a specific storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the storage policy specified does not exist. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if input more than 1024 datastores. |
policy | The storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
datastores | Datastores 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 . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::storage::Policies.
global::System.Threading.Tasks.Task<vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo> vmware::vcenter::storage::PoliciesStub::CheckCompatibilityAsync | ( | string | policy, |
global::System.Collections.Generic.HashSet< string > | datastores, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns datastore compatibility summary about a specific storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the storage policy specified does not exist. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if input more than 1024 datastores. |
policy | The storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
datastores | Datastores 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 . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::storage::Policies.
global::System.Threading.Tasks.Task<vmware.vcenter.storage.PoliciesTypes.CompatibilityInfo> vmware::vcenter::storage::PoliciesStub::CheckCompatibilityAsync | ( | string | policy, |
global::System.Collections.Generic.HashSet< string > | datastores | ||
) | [inline] |
Returns datastore compatibility summary about a specific storage policy.
This method was added in vSphere API 6.7.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the storage policy specified does not exist. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if input more than 1024 datastores. |
policy | The storage policy identifier The parameter must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy . |
datastores | Datastores 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 . |
Implements vmware::vcenter::storage::Policies.
global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> vmware::vcenter::storage::PoliciesStub::List | ( | vmware.vcenter.storage.PoliciesTypes.FilterSpec | filter, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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.
vmware.vapi.std.errors.InvalidArgument | if the Policies.FilterSpec contains a value that is not supported by the server. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1024 storage policies exist. |
filter | Specification 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 |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::storage::Policies.
global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> vmware::vcenter::storage::PoliciesStub::List | ( | vmware.vcenter.storage.PoliciesTypes.FilterSpec | filter | ) | [inline] |
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.
vmware.vapi.std.errors.InvalidArgument | if the Policies.FilterSpec contains a value that is not supported by the server. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1024 storage policies exist. |
filter | Specification 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 |
Implements vmware::vcenter::storage::Policies.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> > vmware::vcenter::storage::PoliciesStub::ListAsync | ( | vmware.vcenter.storage.PoliciesTypes.FilterSpec | filter | ) | [inline] |
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.
vmware.vapi.std.errors.InvalidArgument | if the Policies.FilterSpec contains a value that is not supported by the server. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1024 storage policies exist. |
filter | Specification 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 |
Implements vmware::vcenter::storage::Policies.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.storage.PoliciesTypes.Summary> > vmware::vcenter::storage::PoliciesStub::ListAsync | ( | vmware.vcenter.storage.PoliciesTypes.FilterSpec | filter, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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.
vmware.vapi.std.errors.InvalidArgument | if the Policies.FilterSpec contains a value that is not supported by the server. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.UnableToAllocateResource | if more than 1024 storage policies exist. |
filter | Specification 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 |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::storage::Policies.