Compartilhar via


MaintenanceConfigurationsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar o registro de configuração

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration> CreateOrUpdateAsync (this Microsoft.Azure.Management.Maintenance.IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration configuration, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Maintenance.IMaintenanceConfigurationsOperations * string * string * Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IMaintenanceConfigurationsOperations, resourceGroupName As String, resourceName As String, configuration As MaintenanceConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MaintenanceConfiguration)

Parâmetros

operations
IMaintenanceConfigurationsOperations

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

resourceGroupName
String

Nome do Grupo de Recursos

resourceName
String

Nome da configuração de manutenção

configuration
MaintenanceConfiguration

A configuração

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a