Autoscale Settings - Delete
Deletes and autoscale setting
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}?api-version=2022-10-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
autoscale
|
path | True |
string |
The autoscale setting name. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Successful request to delete an autoscale setting |
|
| 204 No Content |
No content: Successful request to delete an autoscale setting, but the response is intentionally empty |
|
| Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
Delete an autoscale setting
Sample request
Sample response
Definitions
| Name | Description |
|---|---|
|
Autoscale |
Describes the format of Error response. |
|
created |
The type of identity that created the resource. |
| Error |
The error object. |
|
system |
Metadata pertaining to creation and last modification of the resource. |
AutoscaleErrorResponse
Describes the format of Error response.
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
|
| systemData |
The system metadata related to the response. |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
Error
The error object.
| Name | Type | Description |
|---|---|---|
| code |
string |
One of a server-defined set of error codes. |
| details |
string |
A human-readable representation of the error's details. |
| message |
string |
A human-readable representation of the error. |
| target |
string |
The target of the particular error. |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |