Partager via


MaintenanceConfigurationsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créer ou mettre à jour un enregistrement de configuration

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)

Paramètres

operations
IMaintenanceConfigurationsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources

resourceName
String

Nom de la configuration de maintenance

configuration
MaintenanceConfiguration

Configuration

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à