Partilhar via


PatchSchedulesOperationsExtensions.CreateOrUpdateAsync Método

Definição

Crie ou substitua o agendamento de aplicação de patch para o cache Redis.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule> CreateOrUpdateAsync (this Microsoft.Azure.Management.Redis.IPatchSchedulesOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Redis.IPatchSchedulesOperations * string * string * Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPatchSchedulesOperations, resourceGroupName As String, name As String, parameters As RedisPatchSchedule, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RedisPatchSchedule)

Parâmetros

operations
IPatchSchedulesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

name
String

O nome do cache Redis.

parameters
RedisPatchSchedule

Parâmetros para definir o agendamento de aplicação de patch para o cache Redis.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a