Compartir a través de


MaintenanceConfigurationsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crear o actualizar registro de configuración

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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos

resourceName
String

Nombre de configuración de mantenimiento

configuration
MaintenanceConfiguration

Configuración

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a