Interface IPatchSchedulesOperations
PatchSchedulesOperations operations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Redis.dll
Syntax
public interface IPatchSchedulesOperations
Methods
CreateOrUpdateWithHttpMessagesAsync(String, String, RedisPatchSchedule, Dictionary<String,List<String>>, CancellationToken)
Create or replace the patching schedule for Redis cache (requires Premium SKU).
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
name
The name of the Redis cache. |
|
RedisPatchSchedule
parameters
Parameters to set the patching schedule for Redis cache. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<RedisPatchSchedule>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
DeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
Deletes the patching schedule of a redis cache (requires Premium SKU).
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string resourceGroupName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
name
The name of the redis cache. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
Gets the patching schedule of a redis cache (requires Premium SKU).
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule>> GetWithHttpMessagesAsync (string resourceGroupName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
name
The name of the redis cache. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<RedisPatchSchedule>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |