| Description | : Checks if the specified management group name is valid and unique |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "CheckNameAvailability",
"$parameters": [
{
"#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. The current version is 2018-01-01-preview."
}
},
{
"#name": "checkNameAvailabilityRequest",
"Description": {
"new": "The request body",
"old": "Management group name availability check parameters."
}
}
],
"$responses": {
"200": {
"$properties": [
{
"#name": "reason",
"Enum": {
"new": [
[
"Invalid",
"Invalid"
],
[
"AlreadyExists",
"AlreadyExists"
]
],
"old": [
[
"Invalid",
""
],
[
"AlreadyExists",
""
]
]
}
}
]
},
"default": {
"Description": {
"new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
"old": "The error object."
},
"$properties": [
{
"#name": "error",
"Description": {
"new": "The error object.",
"old": "The details of the error."
},
"$properties": [
{
"#name": "code",
"Description": {
"new": "The error code.",
"old": "One of a server-defined set of error codes."
}
},
{
"#name": "message",
"Description": {
"new": "The error message.",
"old": "A human-readable representation of the error."
}
},
{
"@added_47e2531a3c2d4858a51ee6b8ebdb378f": {
"#name": "target",
"Description": "The error target.",
"Required": false,
"Type": "string"
}
},
{
"#name": "details",
"Description": {
"new": "The error details.",
"old": "A human-readable representation of the error's details."
},
"Type": {
"new": "array",
"old": "string"
}
},
{
"@added_8e3a0b9623f445a49e70a88782b022db": {
"#name": "additionalInfo",
"Description": "The error additional info.",
"Required": false,
"Type": "array",
"$items": {
"Description": "The resource management error additional info.",
"Type": "object",
"$properties": [
{
"#name": "type",
"Description": "The additional info type.",
"Required": false,
"Type": "string"
},
{
"#name": "info",
"Description": "The additional info.",
"Required": false,
"Type": "object"
}
]
}
}
}
]
}
]
}
}
}
⚼ Request
POST:
/providers/Microsoft.Management/checkNameAvailability
{
api-version:
string
,
checkNameAvailabilityRequest:
}
{
,
name:
string
,
type:
enum
,
}
⚐ Response (200)
{
nameAvailable:
boolean
,
reason:
enum
,
message:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}