Interface RedisClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<RedisResourceInner>, InnerSupportsListing<RedisResourceInner>

An instance of this class provides access to all the operations defined in RedisClient.
  • Method Details

    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityParameters parameters)
      Checks that the redis cache name is valid and is not already in use.
      Parameters:
      parameters - Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailabilityAsync

      Mono<Void> checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters)
      Checks that the redis cache name is valid and is not already in use.
      Parameters:
      parameters - Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<Void> checkNameAvailabilityWithResponse(CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context)
      Checks that the redis cache name is valid and is not already in use.
      Parameters:
      parameters - Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailability

      void checkNameAvailability(CheckNameAvailabilityParameters parameters)
      Checks that the redis cache name is valid and is not already in use.
      Parameters:
      parameters - Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listUpgradeNotificationsAsync

      com.azure.core.http.rest.PagedFlux<UpgradeNotificationInner> listUpgradeNotificationsAsync(String resourceGroupName, String name, double history)
      Gets any upgrade notifications for a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      history - how many minutes in past to look for upgrade notifications.
      Returns:
      any upgrade notifications for a Redis cache as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listUpgradeNotifications

      com.azure.core.http.rest.PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history)
      Gets any upgrade notifications for a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      history - how many minutes in past to look for upgrade notifications.
      Returns:
      any upgrade notifications for a Redis cache as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listUpgradeNotifications

      com.azure.core.http.rest.PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history, com.azure.core.util.Context context)
      Gets any upgrade notifications for a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      history - how many minutes in past to look for upgrade notifications.
      context - The context to associate with this operation.
      Returns:
      any upgrade notifications for a Redis cache as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      Returns:
      a single Redis item in List or Get Operation along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreateAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      Returns:
      the PollerFlux for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      Returns:
      the SyncPoller for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createAsync

      Mono<RedisResourceInner> createAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      Returns:
      a single Redis item in List or Get Operation on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      RedisResourceInner create(String resourceGroupName, String name, RedisCreateParameters parameters)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      Returns:
      a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      RedisResourceInner create(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context)
      Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Create Redis operation.
      context - The context to associate with this operation.
      Returns:
      a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      Returns:
      a single Redis item in List or Get Operation along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      Returns:
      the PollerFlux for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      Returns:
      the SyncPoller for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<RedisResourceInner> updateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      Returns:
      a single Redis item in List or Get Operation on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      Returns:
      a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context)
      Update an existing Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters supplied to the Update Redis operation.
      context - The context to associate with this operation.
      Returns:
      a single Redis item in List or Get Operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String name)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String name)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String name, com.azure.core.util.Context context)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String name)
      Deletes a Redis cache.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String name)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String name, com.azure.core.util.Context context)
      Deletes a Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RedisResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name)
      Gets a Redis cache (resource description).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      a Redis cache (resource description) along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<RedisResourceInner> getByResourceGroupAsync(String resourceGroupName, String name)
      Gets a Redis cache (resource description).
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<RedisResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      a Redis cache (resource description) on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<RedisResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets a Redis cache (resource description).
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      context - The context to associate with this operation.
      Returns:
      a Redis cache (resource description) along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      RedisResourceInner getByResourceGroup(String resourceGroupName, String name)
      Gets a Redis cache (resource description).
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<RedisResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      a Redis cache (resource description).
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<RedisResourceInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all Redis caches in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<RedisResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the response of list Redis operation as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName)
      Lists all Redis caches in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<RedisResourceInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the response of list Redis operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all Redis caches in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the response of list Redis operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<RedisResourceInner> listAsync()
      Gets all Redis caches in the specified subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<RedisResourceInner>
      Returns:
      all Redis caches in the specified subscription as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<RedisResourceInner> list()
      Gets all Redis caches in the specified subscription.
      Specified by:
      list in interface InnerSupportsListing<RedisResourceInner>
      Returns:
      all Redis caches in the specified subscription as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<RedisResourceInner> list(com.azure.core.util.Context context)
      Gets all Redis caches in the specified subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all Redis caches in the specified subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listKeysWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String name)
      Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      redis cache access keys along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listKeysAsync

      Mono<RedisAccessKeysInner> listKeysAsync(String resourceGroupName, String name)
      Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      redis cache access keys on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listKeysWithResponse

      com.azure.core.http.rest.Response<RedisAccessKeysInner> listKeysWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)
      Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      context - The context to associate with this operation.
      Returns:
      redis cache access keys along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listKeys

      RedisAccessKeysInner listKeys(String resourceGroupName, String name)
      Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      Returns:
      redis cache access keys.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • regenerateKeyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>> regenerateKeyWithResponseAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
      Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which key to regenerate.
      Returns:
      redis cache access keys along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • regenerateKeyAsync

      Mono<RedisAccessKeysInner> regenerateKeyAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
      Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which key to regenerate.
      Returns:
      redis cache access keys on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • regenerateKeyWithResponse

      com.azure.core.http.rest.Response<RedisAccessKeysInner> regenerateKeyWithResponse(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters, com.azure.core.util.Context context)
      Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which key to regenerate.
      context - The context to associate with this operation.
      Returns:
      redis cache access keys along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • regenerateKey

      RedisAccessKeysInner regenerateKey(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
      Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which key to regenerate.
      Returns:
      redis cache access keys.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • forceRebootWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RedisForceRebootResponseInner>> forceRebootWithResponseAsync(String resourceGroupName, String name, RedisRebootParameters parameters)
      Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which Redis node(s) to reboot.
      Returns:
      response to force reboot for Redis cache along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • forceRebootAsync

      Mono<RedisForceRebootResponseInner> forceRebootAsync(String resourceGroupName, String name, RedisRebootParameters parameters)
      Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which Redis node(s) to reboot.
      Returns:
      response to force reboot for Redis cache on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • forceRebootWithResponse

      com.azure.core.http.rest.Response<RedisForceRebootResponseInner> forceRebootWithResponse(String resourceGroupName, String name, RedisRebootParameters parameters, com.azure.core.util.Context context)
      Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which Redis node(s) to reboot.
      context - The context to associate with this operation.
      Returns:
      response to force reboot for Redis cache along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • forceReboot

      RedisForceRebootResponseInner forceReboot(String resourceGroupName, String name, RedisRebootParameters parameters)
      Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Specifies which Redis node(s) to reboot.
      Returns:
      response to force reboot for Redis cache.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • importDataWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> importDataWithResponseAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginImportDataAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginImportDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginImportData

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginImportData

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • importDataAsync

      Mono<Void> importDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • importData

      void importData(String resourceGroupName, String name, ImportRdbParameters parameters)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • importData

      void importData(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context)
      Import data into Redis cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis import operation.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • exportDataWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> exportDataWithResponseAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginExportDataAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginExportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginExportData

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginExportData

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • exportDataAsync

      Mono<Void> exportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • exportData

      void exportData(String resourceGroupName, String name, ExportRdbParameters parameters)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • exportData

      void exportData(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context)
      Export data from the redis cache to blobs in a container.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      name - The name of the Redis cache.
      parameters - Parameters for Redis export operation.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • flushCacheWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> flushCacheWithResponseAsync(String resourceGroupName, String cacheName)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      Returns:
      the current status of an async operation along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginFlushCacheAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCacheAsync(String resourceGroupName, String cacheName)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      Returns:
      the PollerFlux for polling of the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginFlushCache

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      Returns:
      the SyncPoller for polling of the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginFlushCache

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName, com.azure.core.util.Context context)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • flushCacheAsync

      Mono<OperationStatusResult> flushCacheAsync(String resourceGroupName, String cacheName)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      Returns:
      the current status of an async operation on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • flushCache

      OperationStatusResult flushCache(String resourceGroupName, String cacheName)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      Returns:
      the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • flushCache

      OperationStatusResult flushCache(String resourceGroupName, String cacheName, com.azure.core.util.Context context)
      Deletes all of the keys in a cache.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      cacheName - The name of the Redis cache.
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.