Class CheckNameAvailabilityRequest
java.lang.Object
com.microsoft.azure.management.sql.CheckNameAvailabilityRequest
A request to check whether the specified name for a resource is available.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityRequest class. -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name whose availability is to be checked.type()
Get the type of resource that is used as the scope of the availability check.Set the name whose availability is to be checked.Set the type of resource that is used as the scope of the availability check.
-
Constructor Details
-
CheckNameAvailabilityRequest
public CheckNameAvailabilityRequest()Creates an instance of CheckNameAvailabilityRequest class.
-
-
Method Details
-
name
Get the name whose availability is to be checked.- Returns:
- the name value
-
withName
Set the name whose availability is to be checked.- Parameters:
name
- the name value to set- Returns:
- the CheckNameAvailabilityRequest object itself.
-
type
Get the type of resource that is used as the scope of the availability check.- Returns:
- the type value
-
withType
Set the type of resource that is used as the scope of the availability check.- Parameters:
type
- the type value to set- Returns:
- the CheckNameAvailabilityRequest object itself.
-