共用方式為


Endpoints - Delete

刪除流量管理員端點。

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

URI 參數

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

string

要刪除的流量管理員端點名稱。

endpointType
path True

EndpointType

要刪除的流量管理員端點類型。

profileName
path True

string

流量管理員配置檔的名稱。

resourceGroupName
path True

string

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

subscriptionId
path True

string

取得用來唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。

api-version
query True

string

用戶端 API 版本。

回應

名稱 類型 Description
200 OK

DeleteOperationResult

流量管理員端點已成功刪除。

204 No Content

流量管理員端點不存在。 先前的要求可能已經刪除。

Other Status Codes

CloudError

默認回應。 它會根據錯誤定義還原串行化。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

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

Scopes

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

範例

Endpoint-DELETE-External

Sample Request

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

Sample Response

{}

定義

名稱 Description
CloudError

Azure Resource Manager 傳回的錯誤

CloudErrorBody

Azure Resource Manager 傳回的錯誤內容

DeleteOperationResult

要求或作業的結果。

EndpointType

要刪除的流量管理員端點類型。

CloudError

Azure Resource Manager 傳回的錯誤

名稱 類型 Description
error

CloudErrorBody

錯誤的內容。

CloudErrorBody

Azure Resource Manager 傳回的錯誤內容

名稱 類型 Description
code

string

錯誤碼

details

CloudErrorBody[]

錯誤詳細資料

message

string

錯誤訊息

target

string

錯誤目標

DeleteOperationResult

要求或作業的結果。

名稱 類型 Description
boolean

boolean

作業或要求的結果。

EndpointType

要刪除的流量管理員端點類型。

名稱 類型 Description
AzureEndpoints

string

ExternalEndpoints

string

NestedEndpoints

string