Description | : Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. |
Reference | : Link ¶ |
⚼ Request
POST:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/checkEndpointNameAvailability
{
checkEndpointNameAvailabilityInput:
{
,
name:
string
,
type:
enum
,
autoGeneratedDomainNameLabelScope:
enum
,
}
subscriptionId:
string
,
resourceGroupName:
string
,
api-version:
string
,
}
⚐ Response (200)
{
nameAvailable:
boolean
,
availableHostname:
string
,
reason:
string
,
message:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}