共用方式為


Autoscale Settings - Delete

刪除和自動調整設定

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}?api-version=2022-10-01

URI 參數

名稱 位於 必要 類型 Description
autoscaleSettingName
path True

string

自動調整設定名稱。

resourceGroupName
path True

string

資源群組的名稱。 名稱不區分大小寫。

subscriptionId
path True

string

目標訂用帳戶的標識碼。

api-version
query True

string

用於此作業的 API 版本。

回應

名稱 類型 Description
200 OK

成功要求刪除自動調整設定

204 No Content

無內容:成功要求刪除自動調整設定,但回應刻意為空白

Other Status Codes

AutoscaleErrorResponse

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

類型: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Delete an autoscale setting

Sample request

DELETE https://management.azure.com/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourcegroups/TestingMetricsScaleSet/providers/Microsoft.Insights/autoscalesettings/MySetting?api-version=2022-10-01

Sample response

定義

名稱 Description
AutoscaleErrorResponse

描述錯誤回應的格式。

createdByType

建立資源的身分識別類型。

Error

error 物件。

systemData

與建立和上次修改資源相關的元數據。

AutoscaleErrorResponse

描述錯誤回應的格式。

名稱 類型 Description
error

Error

error 物件。

systemData

systemData

與回應相關的系統元數據。

createdByType

建立資源的身分識別類型。

名稱 類型 Description
Application

string

Key

string

ManagedIdentity

string

User

string

Error

error 物件。

名稱 類型 Description
code

string

其中一組伺服器定義的錯誤碼。

details

string

人類可讀取的錯誤詳細數據表示法。

message

string

人類可讀取的錯誤表示法。

target

string

特定錯誤的目標。

systemData

與建立和上次修改資源相關的元數據。

名稱 類型 Description
createdAt

string

資源建立的時間戳 (UTC) 。

createdBy

string

建立資源的身分識別。

createdByType

createdByType

建立資源的身分識別類型。

lastModifiedAt

string

上次修改的資源時間戳 (UTC)

lastModifiedBy

string

上次修改資源的身分識別。

lastModifiedByType

createdByType

上次修改資源的身分識別類型。