Class OciCacheConfigSetClient
Service client instance for OciCacheConfigSet.
Implements
Inherited Members
Namespace: Oci.RedisService
Assembly: OCI.DotNetSDK.Redis.dll
Syntax
public class OciCacheConfigSetClient : RegionalClientBase, IDisposable
Constructors
OciCacheConfigSetClient(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 OciCacheConfigSetClient(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 OciCacheConfigSetPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
OciCacheConfigSetPaginators |
Waiters
Declaration
public OciCacheConfigSetWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
OciCacheConfigSetWaiters |
Methods
ChangeOciCacheConfigSetCompartment(ChangeOciCacheConfigSetCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves an OCI Cache Config Set into a different compartment within the same tenancy.
Declaration
public Task<ChangeOciCacheConfigSetCompartmentResponse> ChangeOciCacheConfigSetCompartment(ChangeOciCacheConfigSetCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeOciCacheConfigSetCompartmentRequest | 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<ChangeOciCacheConfigSetCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeOciCacheConfigSetCompartment API.
CreateOciCacheConfigSet(CreateOciCacheConfigSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Create a new OCI Cache Config Set for the given OCI cache engine version.
Declaration
public Task<CreateOciCacheConfigSetResponse> CreateOciCacheConfigSet(CreateOciCacheConfigSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateOciCacheConfigSetRequest | 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<CreateOciCacheConfigSetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateOciCacheConfigSet API.
DeleteOciCacheConfigSet(DeleteOciCacheConfigSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the specified OCI Cache Config Set.
Declaration
public Task<DeleteOciCacheConfigSetResponse> DeleteOciCacheConfigSet(DeleteOciCacheConfigSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteOciCacheConfigSetRequest | 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<DeleteOciCacheConfigSetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteOciCacheConfigSet API.
GetOciCacheConfigSet(GetOciCacheConfigSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Retrieves the specified OCI Cache Config Set.
Declaration
public Task<GetOciCacheConfigSetResponse> GetOciCacheConfigSet(GetOciCacheConfigSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetOciCacheConfigSetRequest | 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<GetOciCacheConfigSetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetOciCacheConfigSet API.
ListAssociatedOciCacheClusters(ListAssociatedOciCacheClustersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of associated OCI Cache clusters for an OCI Cache Config Set.
Declaration
public Task<ListAssociatedOciCacheClustersResponse> ListAssociatedOciCacheClusters(ListAssociatedOciCacheClustersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListAssociatedOciCacheClustersRequest | 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<ListAssociatedOciCacheClustersResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListAssociatedOciCacheClusters API.
ListOciCacheConfigSets(ListOciCacheConfigSetsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists the OCI Cache Config Sets in the specified compartment.
Declaration
public Task<ListOciCacheConfigSetsResponse> ListOciCacheConfigSets(ListOciCacheConfigSetsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListOciCacheConfigSetsRequest | 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<ListOciCacheConfigSetsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListOciCacheConfigSets API.
UpdateOciCacheConfigSet(UpdateOciCacheConfigSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the specified OCI Cache Config Set.
Declaration
public Task<UpdateOciCacheConfigSetResponse> UpdateOciCacheConfigSet(UpdateOciCacheConfigSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateOciCacheConfigSetRequest | 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<UpdateOciCacheConfigSetResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateOciCacheConfigSet API.