NetApp Resource - Check Name Availability
Check resource name availability
Check if a resource name is available.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability?api-version=2025-09-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
location
|
path | True |
string minLength: 1 |
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 minLength: 1 |
The API version to use for this operation. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| name | True |
string |
Resource name to verify. |
| resourceGroup | True |
string |
Resource group name. |
| type | True |
Resource type used for verification. |
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
CheckNameAvailability
Sample request
POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/checkNameAvailability?api-version=2025-09-01
{
"name": "accName",
"type": "Microsoft.NetApp/netAppAccounts",
"resourceGroup": "myRG"
}
Sample response
{
"isAvailable": true
}
Definitions
| Name | Description |
|---|---|
|
Check |
Information regarding availability of a resource. |
|
Check |
Resource type used for verification. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
In |
|
|
Resource |
Resource name availability request content. |
CheckAvailabilityResponse
Information regarding availability of a resource.
| Name | Type | Description |
|---|---|---|
| isAvailable |
boolean |
|
| message |
string |
If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. |
| reason |
|
CheckNameResourceTypes
Resource type used for verification.
| Value | Description |
|---|---|
| Microsoft.NetApp/netAppAccounts | |
| Microsoft.NetApp/netAppAccounts/capacityPools | |
| Microsoft.NetApp/netAppAccounts/capacityPools/volumes | |
| Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots | |
| Microsoft.NetApp/netAppAccounts/backupVaults/backups |
ANF Backup under a volume , deprecated, use |
| Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups |
ANF Backup under a Backup Vault |
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. |
InAvailabilityReasonType
Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.
| Value | Description |
|---|---|
| Invalid | |
| AlreadyExists |
ResourceNameAvailabilityRequest
Resource name availability request content.
| Name | Type | Description |
|---|---|---|
| name |
string |
Resource name to verify. |
| resourceGroup |
string |
Resource group name. |
| type |
Resource type used for verification. |