次の方法で共有


Domains - List Recommendations

Description for Get domain name recommendations based on keywords.

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations?api-version=2024-04-01

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

api-version
query True

string

API Version

Request Body

Name Type Description
keywords

string

Keywords to be used for generating domain recommendations.

maxDomainRecommendations

integer

Maximum number of recommendations.

Responses

Name Type Description
200 OK

NameIdentifierCollection

OK

Other Status Codes

DefaultErrorResponse

App Service error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow

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

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List domain recommendations

Sample request

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/listDomainRecommendations?api-version=2024-04-01

{
  "keywords": "example1",
  "maxDomainRecommendations": 10
}

Sample response

{
  "value": [
    {
      "name": "domainnamesuggestion1"
    },
    {
      "name": "domainnamesuggestion2"
    },
    {
      "name": "domainnamesuggestion3"
    }
  ]
}

Definitions

Name Description
DefaultErrorResponse

App Service error response.

Details
DomainRecommendationSearchParameters

Domain recommendation search parameters.

Error

Error model.

NameIdentifier

Identifies an object.

NameIdentifierCollection

Collection of domain name identifiers.

DefaultErrorResponse

App Service error response.

Name Type Description
error

Error

Error model.

Details

Name Type Description
code

string

Standardized string to programmatically identify the error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

DomainRecommendationSearchParameters

Domain recommendation search parameters.

Name Type Description
keywords

string

Keywords to be used for generating domain recommendations.

maxDomainRecommendations

integer

Maximum number of recommendations.

Error

Error model.

Name Type Description
code

string

Standardized string to programmatically identify the error.

details

Details[]

Detailed errors.

innererror

string

More information to debug error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

NameIdentifier

Identifies an object.

Name Type Description
name

string

Name of the object.

NameIdentifierCollection

Collection of domain name identifiers.

Name Type Description
nextLink

string

Link to next page of resources.

value

NameIdentifier[]

Collection of resources.