v4

latestSwagger 2.0raw.githubusercontent.com2019-11-283597141.5 KB
Endpoints

Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain

Path parameters

resourceGroupNamestring required

Name of the Resource group within the Azure subscription.

profileNamestring required

Name of the CDN profile which is unique within the resource group.

endpointNamestring required

Name of the endpoint under the profile which is unique globally.

subscriptionIdstring required

Azure Subscription ID.

Query parameters

api-versionstring required

Version of the API to be used with the client request. Current version is 2017-04-02.

Request body

hostNamestring required

The host name of the custom domain. Must be a domain name.

Response

OK. The request has succeeded.

customDomainValidatedboolean

Indicates whether the custom domain is valid or not.

reasonstring

The reason why the custom domain is not valid.

messagestring

Error message describing why the custom domain is not valid.