Fabric Capacities - Check Name Availability
Implements local CheckNameAvailability operations
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Fabric/locations/{location}/checkNameAvailability?api-version=2023-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The name of the Azure region. |
subscription
|
path | True |
string uuid |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Type | Description |
---|---|---|
name |
string |
The name of the resource for which availability needs to be checked. |
type |
string |
The resource type. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
Other Status Codes |
An unexpected 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
Check name availability of a capacity
Sample request
POST https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/providers/Microsoft.Fabric/locations/westcentralus/checkNameAvailability?api-version=2023-11-01
{
"name": "azsdktest",
"type": "Microsoft.Fabric/capacities"
}
Sample response
{
"nameAvailable": true
}
Definitions
Name | Description |
---|---|
Check |
The reason why the given name is not available. |
Check |
The check availability request body. |
Check |
The check availability result. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
CheckNameAvailabilityReason
The reason why the given name is not available.
Name | Type | Description |
---|---|---|
AlreadyExists |
string |
|
Invalid |
string |
CheckNameAvailabilityRequest
The check availability request body.
Name | Type | Description |
---|---|---|
name |
string |
The name of the resource for which availability needs to be checked. |
type |
string |
The resource type. |
CheckNameAvailabilityResponse
The check availability result.
Name | Type | Description |
---|---|---|
message |
string |
Detailed reason why the given name is available. |
nameAvailable |
boolean |
Indicates if the resource name is available. |
reason |
The reason why the given name is not available. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |