Partager via


MaintenanceConfigurationResource.UpdateAsync Méthode

Définition

Enregistrement de configuration des correctifs

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
  • IdMaintenanceConfigurations_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>> UpdateAsync (Azure.ResourceManager.Maintenance.MaintenanceConfigurationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Maintenance.MaintenanceConfigurationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>>
override this.UpdateAsync : Azure.ResourceManager.Maintenance.MaintenanceConfigurationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>>
Public Overridable Function UpdateAsync (data As MaintenanceConfigurationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceConfigurationResource))

Paramètres

data
MaintenanceConfigurationData

Configuration.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à