你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Endpoints - Delete

删除流量管理器终结点。

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}?api-version=2022-04-01

URI 参数

名称 必需 类型 说明
endpointName
path True

string

要删除的流量管理器终结点的名称。

endpointType
path True

EndpointType

要删除的流量管理器终结点的类型。

profileName
path True

string

流量管理器配置文件的名称。

resourceGroupName
path True

string

资源组的名称。 此名称不区分大小写。

subscriptionId
path True

string

获取唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。

api-version
query True

string

客户端 API 版本。

响应

名称 类型 说明
200 OK

DeleteOperationResult

已成功删除流量管理器终结点。

204 No Content

流量管理器终结点不存在。 它可能已在上一个请求中删除。

Other Status Codes

CloudError

默认响应。 它将根据错误定义进行反序列化。

安全性

azure_auth

Azure Active Directory OAuth2 流

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

示例

Endpoint-DELETE-External

示例请求

DELETE https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficmanagerprofiles/azsmnet6386/ExternalEndpoints/azsmnet7187?api-version=2022-04-01

示例响应

{}

定义

名称 说明
CloudError

Azure 资源管理器返回的错误

CloudErrorBody

Azure 资源管理器返回的错误内容

DeleteOperationResult

请求或操作的结果。

EndpointType

要删除的流量管理器终结点的类型。

CloudError

Azure 资源管理器返回的错误

名称 类型 说明
error

CloudErrorBody

错误的内容。

CloudErrorBody

Azure 资源管理器返回的错误内容

名称 类型 说明
code

string

错误代码

details

CloudErrorBody[]

错误详细信息

message

string

错误消息

target

string

错误目标

DeleteOperationResult

请求或操作的结果。

名称 类型 说明
boolean

boolean

操作或请求的结果。

EndpointType

要删除的流量管理器终结点的类型。

说明
AzureEndpoints
ExternalEndpoints
NestedEndpoints