MaintenanceConfigurationResource.UpdateAsync Method

Definition

Patch configuration record

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
  • Operation Id: MaintenanceConfigurations_Update
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceConfigurationResource
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))

Parameters

data
MaintenanceConfigurationData

The configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to