你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Prefixes - Delete
删除给定订阅、资源组和对等互连服务下具有指定名称的现有前缀。
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes/{prefixName}?api-version=2021-01-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
peering
|
path | True |
string |
对等互连服务的名称。 |
prefix
|
path | True |
string |
前缀的名称。 |
resource
|
path | True |
string |
资源组的名称。 |
subscription
|
path | True |
string |
Azure 订阅 ID。 |
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
204 No Content |
无内容 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Delete a prefix associated with the peering service
Sample Request
Sample Response
定义
名称 | 说明 |
---|---|
Error |
描述操作失败原因的错误详细信息。 |
Error |
指示操作失败原因的错误响应。 |
ErrorDetail
描述操作失败原因的错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
错误消息。 |
ErrorResponse
指示操作失败原因的错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
描述操作失败原因的错误详细信息。 |