AutoscaleSettings interface
Interface representing a AutoscaleSettings.
Methods
create |
Creates or updates an autoscale setting. |
delete(string, string, Autoscale |
Deletes and autoscale setting |
get(string, string, Autoscale |
Gets an autoscale setting |
list |
Lists the autoscale settings for a resource group |
list |
Lists the autoscale settings for a subscription |
update(string, string, Autoscale |
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.
The options parameters.
Returns
Promise<AutoscaleSettingResource>
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.
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.
The options parameters.
Returns
Promise<AutoscaleSettingResource>
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.
The options parameters.
Returns
listBySubscription(AutoscaleSettingsListBySubscriptionOptionalParams)
Lists the autoscale settings for a subscription
function listBySubscription(options?: AutoscaleSettingsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutoscaleSettingResource, AutoscaleSettingResource[], PageSettings>
Parameters
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.
The options parameters.
Returns
Promise<AutoscaleSettingResource>