AutoscaleSettingsOperations.CreateOrUpdate Method

Definition

Creates or updates an autoscale setting.

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

parameters
AutoscaleSettingResource

Parameters supplied to the operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<AutoscaleSettingResource>

Applies to