Machine Groups - Delete
删除指定的计算机组。
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups/{machineGroupName}?api-version=2015-11-01-preview
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
machine
|
path | True |
string minLength: 36maxLength: 36 |
计算机组资源名称。 |
|
resource
|
path | True |
string minLength: 1maxLength: 64 pattern: [a-zA-Z0-9_-]+ |
指定 subscriptionId 中的资源组名称。 |
|
subscription
|
path | True |
string |
Azure 订阅标识符。 |
|
workspace
|
path | True |
string minLength: 3maxLength: 63 pattern: [a-zA-Z0-9_][a-zA-Z0-9_-]+[a-zA-Z0-9_] |
包含相关资源的 OMS 工作区。 |
|
api-version
|
query | True |
string |
API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 204 No Content |
作已成功完成。 |
|
| Other Status Codes |
处理请求时出错。 请参阅 error.code 参数来标识特定错误。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
SMMachineGroupsDeleteDelete
示例请求
DELETE https://management.azure.com/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machineGroups/ccfbf4bf-dc08-4371-9e9b-00a8d875d45a?api-version=2015-11-01-preview
示例响应
定义
| 名称 | 说明 |
|---|---|
| Error |
错误详细信息。 |
|
Error |
API 的错误响应。 |
Error
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
标识特定错误的错误代码。 |
| message |
string |
调用方区域设置中的错误消息。 |
ErrorResponse
API 的错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误信息。 |