Domains - List Recommendations
根據關鍵詞取得域名建議的描述。
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations?api-version=2023-12-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
您的 Azure 訂用帳戶識別碼。 這是 GUID 格式的字串 (例如 000000000-0000-0000-0000-000000000000) 。 |
api-version
|
query | True |
string |
API 版本 |
要求本文
名稱 | 類型 | Description |
---|---|---|
keywords |
string |
用於產生定義域建議的關鍵詞。 |
maxDomainRecommendations |
integer |
建議數目上限。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
確定 |
|
Other Status Codes |
App Service 錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
範例
List domain recommendations
範例要求
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/listDomainRecommendations?api-version=2023-12-01
{
"keywords": "example1",
"maxDomainRecommendations": 10
}
範例回覆
{
"value": [
{
"name": "domainnamesuggestion1"
},
{
"name": "domainnamesuggestion2"
},
{
"name": "domainnamesuggestion3"
}
]
}
定義
名稱 | Description |
---|---|
Default |
App Service 錯誤回應。 |
Details | |
Domain |
網域建議搜尋參數。 |
Error |
錯誤模型。 |
Name |
識別物件。 |
Name |
功能變數名稱標識碼的集合。 |
DefaultErrorResponse
App Service 錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤模型。 |
Details
名稱 | 類型 | Description |
---|---|---|
code |
string |
標準化字串,以程序設計方式識別錯誤。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
DomainRecommendationSearchParameters
網域建議搜尋參數。
名稱 | 類型 | Description |
---|---|---|
keywords |
string |
用於產生定義域建議的關鍵詞。 |
maxDomainRecommendations |
integer |
建議數目上限。 |
Error
錯誤模型。
名稱 | 類型 | Description |
---|---|---|
code |
string |
標準化字串,以程序設計方式識別錯誤。 |
details |
Details[] |
詳細的錯誤。 |
innererror |
string |
偵錯錯誤的詳細資訊。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
NameIdentifier
識別物件。
名稱 | 類型 | Description |
---|---|---|
name |
string |
物件的名稱。 |
NameIdentifierCollection
功能變數名稱標識碼的集合。
名稱 | 類型 | Description |
---|---|---|
nextLink |
string |
連結至下一頁的資源。 |
value |
資源集合。 |