| 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 ¶ |
⚶ Changes
{
"#id": "CheckEndpointNameAvailability",
"$parameters": [
{
"#name": "subscriptionId",
"Description": {
"new": "The ID of the target subscription. The value must be an UUID.",
"old": "Azure Subscription ID."
}
},
{
"#name": "api-version",
"Description": {
"new": "The API version to use for this operation.",
"old": "Version of the API to be used with the client request. Current version is 2025-04-15."
}
}
]
}
⚼ 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
,
}