AutoscaleSettingsOperations.UpdateAsync Method

Definition

Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.AutoscaleSettingResource>> UpdateAsync (string resourceGroupName, string autoscaleSettingName, Azure.ResourceManager.Insights.Models.AutoscaleSettingResourcePatch autoscaleSettingResource, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : string * string * Azure.ResourceManager.Insights.Models.AutoscaleSettingResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.AutoscaleSettingResource>>
override this.UpdateAsync : string * string * Azure.ResourceManager.Insights.Models.AutoscaleSettingResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.AutoscaleSettingResource>>
Public Overridable Function UpdateAsync (resourceGroupName As String, autoscaleSettingName As String, autoscaleSettingResource As AutoscaleSettingResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutoscaleSettingResource))

Parameters

resourceGroupName
System.String

The name of the resource group.

autoscaleSettingName
System.String

The autoscale setting name.

autoscaleSettingResource
AutoscaleSettingResourcePatch

Parameters supplied to the operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<AutoscaleSettingResource>>

Applies to