MaintenanceConfigurationResource.Update 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 Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource> Update (Azure.ResourceManager.Maintenance.MaintenanceConfigurationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Maintenance.MaintenanceConfigurationData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
override this.Update : Azure.ResourceManager.Maintenance.MaintenanceConfigurationData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceConfigurationResource>
Public Overridable Function Update (data As MaintenanceConfigurationData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationResource)

Parameters

data
MaintenanceConfigurationData

The configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to