v9

latestSwagger 2.0raw.githubusercontent.com2020-11-20132735.5 KB
RecoveryServices

API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability

Path parameters

subscriptionIdstring required

The subscription Id.

resourceGroupNamestring required

The name of the resource group where the recovery services vault is present.

locationstring required

Location of the resource

Query parameters

api-versionstring required

Client Api Version.

Request body

typestring

Describes the Resource type: Microsoft.RecoveryServices/Vaults

namestring

Resource name for which availability needs to be checked

Response

OK

nameAvailableboolean
reasonstring
messagestring