RecoveryServicesClient.checkNameAvailabilityWithResponse(String resourceGroupName, String location, CheckNameAvailabilityParameters input, Context context) Method

Definition

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.

public abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String resourceGroupName, String location, CheckNameAvailabilityParameters input, Context context)

Parameters

resourceGroupName
java.lang.String

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

location
java.lang.String

Location of the resource.

input
CheckNameAvailabilityParameters

Contains information about Resource type and Resource name.

context
Context

The context to associate with this operation.

Returns

response for check name availability API.

Applies to