AutoscaleSettings interface

Interface representing a AutoscaleSettings.

Methods

createOrUpdate(string, string, AutoscaleSettingResource, AutoscaleSettingsCreateOrUpdateOptionalParams)

Creates or updates an autoscale setting.

delete(string, string, AutoscaleSettingsDeleteOptionalParams)

Deletes and autoscale setting

get(string, string, AutoscaleSettingsGetOptionalParams)

Gets an autoscale setting

listByResourceGroup(string, AutoscaleSettingsListByResourceGroupOptionalParams)

Lists the autoscale settings for a resource group

listBySubscription(AutoscaleSettingsListBySubscriptionOptionalParams)

Lists the autoscale settings for a subscription

update(string, string, AutoscaleSettingResourcePatch, AutoscaleSettingsUpdateOptionalParams)

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

Method Details

createOrUpdate(string, string, AutoscaleSettingResource, AutoscaleSettingsCreateOrUpdateOptionalParams)

Creates or updates an autoscale setting.

function createOrUpdate(resourceGroupName: string, autoscaleSettingName: string, parameters: AutoscaleSettingResource, options?: AutoscaleSettingsCreateOrUpdateOptionalParams): Promise<AutoscaleSettingResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

autoscaleSettingName

string

The autoscale setting name.

parameters
AutoscaleSettingResource

Parameters supplied to the operation.

options
AutoscaleSettingsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, AutoscaleSettingsDeleteOptionalParams)

Deletes and autoscale setting

function delete(resourceGroupName: string, autoscaleSettingName: string, options?: AutoscaleSettingsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

autoscaleSettingName

string

The autoscale setting name.

options
AutoscaleSettingsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, AutoscaleSettingsGetOptionalParams)

Gets an autoscale setting

function get(resourceGroupName: string, autoscaleSettingName: string, options?: AutoscaleSettingsGetOptionalParams): Promise<AutoscaleSettingResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

autoscaleSettingName

string

The autoscale setting name.

options
AutoscaleSettingsGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, AutoscaleSettingsListByResourceGroupOptionalParams)

Lists the autoscale settings for a resource group

function listByResourceGroup(resourceGroupName: string, options?: AutoscaleSettingsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutoscaleSettingResource, AutoscaleSettingResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
AutoscaleSettingsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(AutoscaleSettingsListBySubscriptionOptionalParams)

Lists the autoscale settings for a subscription

function listBySubscription(options?: AutoscaleSettingsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutoscaleSettingResource, AutoscaleSettingResource[], PageSettings>

Parameters

options
AutoscaleSettingsListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, AutoscaleSettingResourcePatch, AutoscaleSettingsUpdateOptionalParams)

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

function update(resourceGroupName: string, autoscaleSettingName: string, autoscaleSettingResource: AutoscaleSettingResourcePatch, options?: AutoscaleSettingsUpdateOptionalParams): Promise<AutoscaleSettingResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

autoscaleSettingName

string

The autoscale setting name.

autoscaleSettingResource
AutoscaleSettingResourcePatch

Parameters supplied to the operation.

options
AutoscaleSettingsUpdateOptionalParams

The options parameters.

Returns