|
VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the DefaultPolicy API service. More...
Inherits vmware::vcenter::datastore::DefaultPolicy.
Public Member Functions | |
| DefaultPolicyStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config) | |
| DefaultPolicyStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
| string | Get (string datastore) |
| Returns the identifier of the current default storage policy associated with the specified datastore. | |
| string | Get (string datastore, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the identifier of the current default storage policy associated with the specified datastore. | |
| global::System.Threading.Tasks.Task < string > | GetAsync (string datastore) |
| Returns the identifier of the current default storage policy associated with the specified datastore. | |
| global::System.Threading.Tasks.Task < string > | GetAsync (string datastore, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns the identifier of the current default storage policy associated with the specified datastore. | |
Remote stub implementation of the DefaultPolicy API service.
| vmware::vcenter::datastore::DefaultPolicyStub::DefaultPolicyStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
| vmware.vapi.bindings.TypeConverter | typeConverter, | ||
| vmware.vapi.bindings.IStubConfiguration | config | ||
| ) | [inline] |
| vmware::vcenter::datastore::DefaultPolicyStub::DefaultPolicyStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
| vmware.vapi.bindings.IStubConfiguration | config | ||
| ) | [inline] |
| string vmware::vcenter::datastore::DefaultPolicyStub::Get | ( | string | datastore | ) | [inline] |
Returns the identifier of the current default storage policy associated with the specified datastore.
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 specified datastore 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
| datastore | Identifier of the datastore for which the default policy is requested. The parameter must be an identifier for the resource type: Datastore . |
com.vmware.vcenter.StoragePolicy . this field is null if there is no default storage policy associated with the datastore. Implements vmware::vcenter::datastore::DefaultPolicy.
| string vmware::vcenter::datastore::DefaultPolicyStub::Get | ( | string | datastore, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Returns the identifier of the current default storage policy associated with the specified datastore.
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 specified datastore 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
| datastore | Identifier of the datastore for which the default policy is requested. The parameter must be an identifier for the resource type: Datastore . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.StoragePolicy . this field is null if there is no default storage policy associated with the datastore. Implements vmware::vcenter::datastore::DefaultPolicy.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::datastore::DefaultPolicyStub::GetAsync | ( | string | datastore | ) | [inline] |
Returns the identifier of the current default storage policy associated with the specified datastore.
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 specified datastore 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
| datastore | Identifier of the datastore for which the default policy is requested. The parameter must be an identifier for the resource type: Datastore . |
com.vmware.vcenter.StoragePolicy . this field is null if there is no default storage policy associated with the datastore. Implements vmware::vcenter::datastore::DefaultPolicy.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::datastore::DefaultPolicyStub::GetAsync | ( | string | datastore, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) | [inline] |
Returns the identifier of the current default storage policy associated with the specified datastore.
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 specified datastore 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 is not authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have the required priveleges. |
| datastore | Identifier of the datastore for which the default policy is requested. The parameter must be an identifier for the resource type: Datastore . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.StoragePolicy . this field is null if there is no default storage policy associated with the datastore. Implements vmware::vcenter::datastore::DefaultPolicy.