AutoscaleSettingsOperations.Update Method

Definition

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

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

Response<AutoscaleSettingResource>

Applies to