Class DatastoreClusterClient
Service client instance for DatastoreCluster.
Implements
Inherited Members
Namespace: Oci.OcvpService
Assembly: OCI.DotNetSDK.Ocvp.dll
Syntax
public class DatastoreClusterClient : RegionalClientBase, IDisposable
Constructors
DatastoreClusterClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public DatastoreClusterClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type | Name | Description |
---|---|---|
IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public DatastoreClusterPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
DatastoreClusterPaginators |
Waiters
Declaration
public DatastoreClusterWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
DatastoreClusterWaiters |
Methods
AddDatastoreToDatastoreCluster(AddDatastoreToDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Add the specified Datastore to the provided Datastore Cluster.
Declaration
public Task<AddDatastoreToDatastoreClusterResponse> AddDatastoreToDatastoreCluster(AddDatastoreToDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
AddDatastoreToDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<AddDatastoreToDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use AddDatastoreToDatastoreCluster API.
AttachDatastoreClusterToCluster(AttachDatastoreClusterToClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Attach the specified Datastore Cluster to the provided Vmware Cluster. <br/> Use the {@link WorkRequest} operations to track the attachment of the Datastore.
Declaration
public Task<AttachDatastoreClusterToClusterResponse> AttachDatastoreClusterToCluster(AttachDatastoreClusterToClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
AttachDatastoreClusterToClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<AttachDatastoreClusterToClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use AttachDatastoreClusterToCluster API.
AttachDatastoreClusterToEsxiHost(AttachDatastoreClusterToEsxiHostRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Attach the specified Datastore Cluster to the provided ESXi Hosts. <br/> Use the {@link WorkRequest} operations to track the attachment of the Datastore.
Declaration
public Task<AttachDatastoreClusterToEsxiHostResponse> AttachDatastoreClusterToEsxiHost(AttachDatastoreClusterToEsxiHostRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
AttachDatastoreClusterToEsxiHostRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<AttachDatastoreClusterToEsxiHostResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use AttachDatastoreClusterToEsxiHost API.
ChangeDatastoreClusterCompartment(ChangeDatastoreClusterCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves an Datastore Cluster into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
Declaration
public Task<ChangeDatastoreClusterCompartmentResponse> ChangeDatastoreClusterCompartment(ChangeDatastoreClusterCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeDatastoreClusterCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeDatastoreClusterCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeDatastoreClusterCompartment API.
CreateDatastoreCluster(CreateDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a Oracle Cloud VMware Solution Datastore Cluster.
Declaration
public Task<CreateDatastoreClusterResponse> CreateDatastoreCluster(CreateDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateDatastoreCluster API.
DeleteDatastoreCluster(DeleteDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the specified Datastore Cluster.
Declaration
public Task<DeleteDatastoreClusterResponse> DeleteDatastoreCluster(DeleteDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteDatastoreCluster API.
DetachDatastoreClusterFromCluster(DetachDatastoreClusterFromClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Detach the specified Datastore Cluster from the provided Vmware Cluster. <br/> Use the {@link WorkRequest} operations to track the detachment of the Datastore.
Declaration
public Task<DetachDatastoreClusterFromClusterResponse> DetachDatastoreClusterFromCluster(DetachDatastoreClusterFromClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DetachDatastoreClusterFromClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DetachDatastoreClusterFromClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DetachDatastoreClusterFromCluster API.
DetachDatastoreClusterFromEsxiHost(DetachDatastoreClusterFromEsxiHostRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Detach the specified Datastore Cluster from the provided ESXi Hosts. <br/> Use the {@link WorkRequest} operations to track the detachment of the Datastore.
Declaration
public Task<DetachDatastoreClusterFromEsxiHostResponse> DetachDatastoreClusterFromEsxiHost(DetachDatastoreClusterFromEsxiHostRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DetachDatastoreClusterFromEsxiHostRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DetachDatastoreClusterFromEsxiHostResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DetachDatastoreClusterFromEsxiHost API.
GetDatastoreCluster(GetDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get the specified Datastore Cluster information.
Declaration
public Task<GetDatastoreClusterResponse> GetDatastoreCluster(GetDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetDatastoreCluster API.
ListDatastoreClusters(ListDatastoreClustersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
List the Datastore Clusters in the specified compartment. The list can be filtered by compartment, Datastore Cluster, Display name and Lifecycle state
Declaration
public Task<ListDatastoreClustersResponse> ListDatastoreClusters(ListDatastoreClustersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListDatastoreClustersRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListDatastoreClustersResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListDatastoreClusters API.
RemoveDatastoreFromDatastoreCluster(RemoveDatastoreFromDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Remove the specified Datastore from the provided Datastore Cluster.
Declaration
public Task<RemoveDatastoreFromDatastoreClusterResponse> RemoveDatastoreFromDatastoreCluster(RemoveDatastoreFromDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RemoveDatastoreFromDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<RemoveDatastoreFromDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RemoveDatastoreFromDatastoreCluster API.
UpdateDatastoreCluster(UpdateDatastoreClusterRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the specified Datastore Cluster.
<br/>
Important: Updating a Datastore Cluster affects only certain attributes in the Datastore Cluster
object and does not affect the VMware environment currently running.
Declaration
public Task<UpdateDatastoreClusterResponse> UpdateDatastoreCluster(UpdateDatastoreClusterRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateDatastoreClusterRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateDatastoreClusterResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateDatastoreCluster API.