Interface PatchSchedulesClient
-
public interface PatchSchedulesClientAn instance of this class provides access to all the operations defined in PatchSchedulesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedisPatchScheduleInnercreateOrUpdate(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)Create or replace the patching schedule for Redis cache.Mono<RedisPatchScheduleInner>createOrUpdateAsync(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)Create or replace the patching schedule for Redis cache.com.azure.core.http.rest.Response<RedisPatchScheduleInner>createOrUpdateWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters, com.azure.core.util.Context context)Create or replace the patching schedule for Redis cache.Mono<com.azure.core.http.rest.Response<RedisPatchScheduleInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)Create or replace the patching schedule for Redis cache.voiddelete(String resourceGroupName, String name, DefaultName defaultParameter)Deletes the patching schedule of a redis cache.Mono<Void>deleteAsync(String resourceGroupName, String name, DefaultName defaultParameter)Deletes the patching schedule of a redis cache.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, com.azure.core.util.Context context)Deletes the patching schedule of a redis cache.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter)Deletes the patching schedule of a redis cache.RedisPatchScheduleInnerget(String resourceGroupName, String name, DefaultName defaultParameter)Gets the patching schedule of a redis cache.Mono<RedisPatchScheduleInner>getAsync(String resourceGroupName, String name, DefaultName defaultParameter)Gets the patching schedule of a redis cache.com.azure.core.http.rest.Response<RedisPatchScheduleInner>getWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, com.azure.core.util.Context context)Gets the patching schedule of a redis cache.Mono<com.azure.core.http.rest.Response<RedisPatchScheduleInner>>getWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter)Gets the patching schedule of a redis cache.com.azure.core.http.rest.PagedIterable<RedisPatchScheduleInner>listByRedisResource(String resourceGroupName, String cacheName)Gets all patch schedules in the specified redis cache (there is only one).com.azure.core.http.rest.PagedIterable<RedisPatchScheduleInner>listByRedisResource(String resourceGroupName, String cacheName, com.azure.core.util.Context context)Gets all patch schedules in the specified redis cache (there is only one).com.azure.core.http.rest.PagedFlux<RedisPatchScheduleInner>listByRedisResourceAsync(String resourceGroupName, String cacheName)Gets all patch schedules in the specified redis cache (there is only one).
-
-
-
Method Detail
-
listByRedisResourceAsync
com.azure.core.http.rest.PagedFlux<RedisPatchScheduleInner> listByRedisResourceAsync(String resourceGroupName, String cacheName)
Gets all patch schedules in the specified redis cache (there is only one).- Parameters:
resourceGroupName- The name of the resource group.cacheName- The name of the Redis cache.- Returns:
- all patch schedules in the specified redis cache (there is only one) 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.
-
listByRedisResource
com.azure.core.http.rest.PagedIterable<RedisPatchScheduleInner> listByRedisResource(String resourceGroupName, String cacheName)
Gets all patch schedules in the specified redis cache (there is only one).- Parameters:
resourceGroupName- The name of the resource group.cacheName- The name of the Redis cache.- Returns:
- all patch schedules in the specified redis cache (there is only one) 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.
-
listByRedisResource
com.azure.core.http.rest.PagedIterable<RedisPatchScheduleInner> listByRedisResource(String resourceGroupName, String cacheName, com.azure.core.util.Context context)
Gets all patch schedules in the specified redis cache (there is only one).- Parameters:
resourceGroupName- The name of the resource group.cacheName- The name of the Redis cache.context- The context to associate with this operation.- Returns:
- all patch schedules in the specified redis cache (there is only one) 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisPatchScheduleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)
Create or replace the patching schedule for Redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the Redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.parameters- Parameters to set the patching schedule for Redis cache.- Returns:
- response to put/get patch schedules 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.
-
createOrUpdateAsync
Mono<RedisPatchScheduleInner> createOrUpdateAsync(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)
Create or replace the patching schedule for Redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the Redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.parameters- Parameters to set the patching schedule for Redis cache.- Returns:
- response to put/get patch schedules 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.
-
createOrUpdate
RedisPatchScheduleInner createOrUpdate(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters)
Create or replace the patching schedule for Redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the Redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.parameters- Parameters to set the patching schedule for Redis cache.- Returns:
- response to put/get patch schedules 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<RedisPatchScheduleInner> createOrUpdateWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, RedisPatchScheduleInner parameters, com.azure.core.util.Context context)
Create or replace the patching schedule for Redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the Redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.parameters- Parameters to set the patching schedule for Redis cache.context- The context to associate with this operation.- Returns:
- response to put/get patch schedules 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter)
Deletes the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String name, DefaultName defaultParameter)
Deletes the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- 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, DefaultName defaultParameter)
Deletes the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, com.azure.core.util.Context context)
Deletes the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisPatchScheduleInner>> getWithResponseAsync(String resourceGroupName, String name, DefaultName defaultParameter)
Gets the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- Returns:
- the patching schedule of a 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.
-
getAsync
Mono<RedisPatchScheduleInner> getAsync(String resourceGroupName, String name, DefaultName defaultParameter)
Gets the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- Returns:
- the patching schedule of a 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.
-
get
RedisPatchScheduleInner get(String resourceGroupName, String name, DefaultName defaultParameter)
Gets the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.- Returns:
- the patching schedule of a 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.
-
getWithResponse
com.azure.core.http.rest.Response<RedisPatchScheduleInner> getWithResponse(String resourceGroupName, String name, DefaultName defaultParameter, com.azure.core.util.Context context)
Gets the patching schedule of a redis cache.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the redis cache.defaultParameter- Default string modeled as parameter for auto generation to work correctly.context- The context to associate with this operation.- Returns:
- the patching schedule of a 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.
-
-