Compartilhar via


PatchSchedulesOperationsExtensions.CreateOrUpdateAsync Método

Definição

Crie ou substitua o agendamento de aplicação de patch para o cache Redis (requer SKU Premium).

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

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.

scheduleEntries
IList<ScheduleEntryInner>

Lista de agendas de patch para um cache Redis.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a