Interface RedisClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<RedisResourceInner>,InnerSupportsListing<RedisResourceInner>
public interface RedisClient extends InnerSupportsGet<RedisResourceInner>, InnerSupportsListing<RedisResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RedisClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String name)Deletes a Redis cache.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String name)Deletes a Redis cache.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.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.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.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.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.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.voidcheckNameAvailability(CheckNameAvailabilityParameters parameters)Checks that the redis cache name is valid and is not already in use.Mono<Void>checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters)Checks that the redis cache name is valid and is not already in use.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.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.RedisResourceInnercreate(String resourceGroupName, String name, RedisCreateParameters parameters)Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.RedisResourceInnercreate(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context)Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.Mono<RedisResourceInner>createAsync(String resourceGroupName, String name, RedisCreateParameters parameters)Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.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.voiddelete(String resourceGroupName, String name)Deletes a Redis cache.voiddelete(String resourceGroupName, String name, com.azure.core.util.Context context)Deletes a Redis cache.Mono<Void>deleteAsync(String resourceGroupName, String name)Deletes a Redis cache.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String name)Deletes a Redis cache.voidexportData(String resourceGroupName, String name, ExportRdbParameters parameters)Export data from the redis cache to blobs in a container.voidexportData(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context)Export data from the redis cache to blobs in a container.Mono<Void>exportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)Export data from the redis cache to blobs in a container.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.RedisForceRebootResponseInnerforceReboot(String resourceGroupName, String name, RedisRebootParameters parameters)Reboot specified Redis node(s).Mono<RedisForceRebootResponseInner>forceRebootAsync(String resourceGroupName, String name, RedisRebootParameters parameters)Reboot specified Redis node(s).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).Mono<com.azure.core.http.rest.Response<RedisForceRebootResponseInner>>forceRebootWithResponseAsync(String resourceGroupName, String name, RedisRebootParameters parameters)Reboot specified Redis node(s).RedisResourceInnergetByResourceGroup(String resourceGroupName, String name)Gets a Redis cache (resource description).Mono<RedisResourceInner>getByResourceGroupAsync(String resourceGroupName, String name)Gets a Redis cache (resource description).com.azure.core.http.rest.Response<RedisResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)Gets a Redis cache (resource description).Mono<com.azure.core.http.rest.Response<RedisResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String name)Gets a Redis cache (resource description).voidimportData(String resourceGroupName, String name, ImportRdbParameters parameters)Import data into Redis cache.voidimportData(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context)Import data into Redis cache.Mono<Void>importDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)Import data into Redis cache.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>importDataWithResponseAsync(String resourceGroupName, String name, ImportRdbParameters parameters)Import data into Redis cache.com.azure.core.http.rest.PagedIterable<RedisResourceInner>list()Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedIterable<RedisResourceInner>list(com.azure.core.util.Context context)Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedFlux<RedisResourceInner>listAsync()Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedIterable<RedisResourceInner>listByResourceGroup(String resourceGroupName)Lists all Redis caches in a resource group.com.azure.core.http.rest.PagedIterable<RedisResourceInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Lists all Redis caches in a resource group.com.azure.core.http.rest.PagedFlux<RedisResourceInner>listByResourceGroupAsync(String resourceGroupName)Lists all Redis caches in a resource group.RedisAccessKeysInnerlistKeys(String resourceGroupName, String name)Retrieve a Redis cache's access keys.Mono<RedisAccessKeysInner>listKeysAsync(String resourceGroupName, String name)Retrieve a Redis cache's access keys.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.Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>>listKeysWithResponseAsync(String resourceGroupName, String name)Retrieve a Redis cache's access keys.com.azure.core.http.rest.PagedIterable<UpgradeNotificationInner>listUpgradeNotifications(String resourceGroupName, String name, double history)Gets any upgrade notifications for a Redis cache.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.com.azure.core.http.rest.PagedFlux<UpgradeNotificationInner>listUpgradeNotificationsAsync(String resourceGroupName, String name, double history)Gets any upgrade notifications for a Redis cache.RedisAccessKeysInnerregenerateKey(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)Regenerate Redis cache's access keys.Mono<RedisAccessKeysInner>regenerateKeyAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)Regenerate Redis cache's access keys.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.Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>>regenerateKeyWithResponseAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)Regenerate Redis cache's access keys.RedisResourceInnerupdate(String resourceGroupName, String name, RedisUpdateParameters parameters)Update an existing Redis cache.Mono<RedisResourceInner>updateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)Update an existing Redis cache.com.azure.core.http.rest.Response<RedisResourceInner>updateWithResponse(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context)Update an existing Redis cache.Mono<com.azure.core.http.rest.Response<RedisResourceInner>>updateWithResponseAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)Update an existing Redis cache.
-
-
-
Method Detail
-
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
Responseon successful completion ofMono. - 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
Monothat 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.
-
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.
-
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.
-
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.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.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.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.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
Responseon successful completion ofMono. - 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.name- The name of the Redis cache.parameters- Parameters supplied to the Create Redis operation.- Returns:
- the
PollerFluxfor 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.name- The name of the Redis cache.parameters- Parameters supplied to the Create Redis operation.- Returns:
- the
SyncPollerfor 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.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
SyncPollerfor 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.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.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.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<RedisResourceInner>> updateWithResponseAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.- Parameters:
resourceGroupName- The name of the resource group.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
Responseon successful completion ofMono. - 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.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.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.
-
updateWithResponse
com.azure.core.http.rest.Response<RedisResourceInner> updateWithResponse(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.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 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.
-
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.name- The name of the Redis cache.- Returns:
- the
Responseon successful completion ofMono. - 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.name- The name of the Redis cache.- Returns:
- the
PollerFluxfor 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.name- The name of the Redis cache.- Returns:
- the
SyncPollerfor 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.name- The name of the Redis cache.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.name- The name of the Redis cache.- Returns:
- A
Monothat 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.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.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.name- The name of the Redis cache.- Returns:
- a Redis cache (resource description) along with
Responseon successful completion ofMono. - 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:
getByResourceGroupAsyncin interfaceInnerSupportsGet<RedisResourceInner>- Parameters:
resourceGroupName- The name of the resource group.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.
-
getByResourceGroup
RedisResourceInner getByResourceGroup(String resourceGroupName, String name)
Gets a Redis cache (resource description).- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<RedisResourceInner>- Parameters:
resourceGroupName- The name of the resource group.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.
-
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.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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<RedisResourceInner> listByResourceGroupAsync(String resourceGroupName)
Lists all Redis caches in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<RedisResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- 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:
listByResourceGroupin interfaceInnerSupportsListing<RedisResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- 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.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:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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.name- The name of the Redis cache.- Returns:
- redis cache access keys along with
Responseon successful completion ofMono. - 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.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.
-
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.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.
-
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.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.
-
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.name- The name of the Redis cache.parameters- Specifies which key to regenerate.- Returns:
- redis cache access keys along with
Responseon successful completion ofMono. - 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.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.
-
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.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.
-
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.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.
-
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.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
Responseon successful completion ofMono. - 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.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.
-
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.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.
-
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.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.
-
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.name- The name of the Redis cache.parameters- Parameters for Redis import operation.- Returns:
- the
Responseon successful completion ofMono. - 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.name- The name of the Redis cache.parameters- Parameters for Redis import operation.- Returns:
- the
PollerFluxfor 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.name- The name of the Redis cache.parameters- Parameters for Redis import operation.- Returns:
- the
SyncPollerfor 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.name- The name of the Redis cache.parameters- Parameters for Redis import operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.name- The name of the Redis cache.parameters- Parameters for Redis import operation.- Returns:
- A
Monothat 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.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.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.name- The name of the Redis cache.parameters- Parameters for Redis export operation.- Returns:
- the
Responseon successful completion ofMono. - 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.name- The name of the Redis cache.parameters- Parameters for Redis export operation.- Returns:
- the
PollerFluxfor 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.name- The name of the Redis cache.parameters- Parameters for Redis export operation.- Returns:
- the
SyncPollerfor 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.name- The name of the Redis cache.parameters- Parameters for Redis export operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.name- The name of the Redis cache.parameters- Parameters for Redis export operation.- Returns:
- A
Monothat 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.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.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.
-
-