Partager via


MaintenanceConfigurationsOperationsExtensions.UpdateMethodAsync Méthode

Définition

Enregistrement de configuration des correctifs

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration> UpdateMethodAsync (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 UpdateMethodAsync : 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 UpdateMethodAsync (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

La configuration

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à