Runtime Environments - Delete
删除运行时环境。
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}?api-version=2024-10-23URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 | 
|---|---|---|---|---|
| automation | path | True | string | 自动化帐户的名称。 | 
| resource | path | True | stringminLength: 1 maxLength: 90 pattern: ^[-\w\._]+$ | Azure 资源组的名称。 | 
| runtime | path | True | stringpattern: ^[a-zA-Z][a-zA-Z-_0-9]*$ | 运行时环境的名称。 | 
| subscription | path | True | string | 获取唯一标识Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。 | 
| api-version | query | True | string | 客户端 API 版本。 | 
响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| 200 OK | 好的 | |
| 204 No Content | 无内容 | |
| Other Status Codes | 描述操作失败原因的自动化错误响应。 | 
安全性
azure_auth
Azure Active Directory OAuth2 流
					类型: 
					oauth2
					流向: 
					implicit
					授权 URL: 
					https://login.microsoftonline.com/common/oauth2/authorize
			
作用域
| 名称 | 说明 | 
|---|---|
| user_impersonation | 模拟用户帐户 | 
示例
Delete Runtime Environment
示例请求
DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName?api-version=2024-10-23
示例响应
定义
ErrorResponse 
			
			操作失败的错误响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| code | string | 错误代码 | 
| message | string | 指示操作失败的原因的错误消息。 |