共用方式為


Api Management Service - Get Domain Ownership Identifier

取得 API 管理服務的自定義網域擁有權識別碼。

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier?api-version=2024-05-01

URI 參數

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

string (uuid)

目標訂用帳戶的標識碼。 此值必須是 UUID。

api-version
query True

string

minLength: 1

要用於這項作業的 API 版本。

回應

名稱 類型 Description
200 OK

ApiManagementServiceGetDomainOwnershipIdentifierResult

取得網域擁有權標識碼的結果。

Other Status Codes

ErrorResponse

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

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

範例

ApiManagementServiceGetDomainOwnershipIdentifier

範例要求

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier?api-version=2024-05-01

範例回覆

{
  "domainOwnershipIdentifier": "KLE1vdMblVeHECAi4nCe3oNaXXXXvNlLrXt2ev84KM="
}

定義

名稱 Description
ApiManagementServiceGetDomainOwnershipIdentifierResult

GetDomainOwnershipIdentifier 作業的回應。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

錯誤回應

ApiManagementServiceGetDomainOwnershipIdentifierResult

GetDomainOwnershipIdentifier 作業的回應。

名稱 類型 Description
domainOwnershipIdentifier

string

網域擁有權標識碼值。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

ErrorDetail

錯誤詳細數據。

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

ErrorDetail[]

錯誤詳細數據。

message

string

錯誤訊息。

target

string

錯誤目標。

ErrorResponse

錯誤回應

名稱 類型 Description
error

ErrorDetail

error 物件。