Class NameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.signalr.models.NameAvailabilityParameters
Data POST-ed to the nameAvailability action.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NameAvailabilityParameters class. -
Method Summary
-
Constructor Details
-
NameAvailabilityParameters
public NameAvailabilityParameters()Creates an instance of NameAvailabilityParameters class.
-
-
Method Details
-
type
Get the type property: The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub".- Returns:
- the type value.
-
withType
Set the type property: The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub".- Parameters:
type
- the type value to set.- Returns:
- the NameAvailabilityParameters object itself.
-
name
Get the name property: The resource name to validate. e.g."my-resource-name".- Returns:
- the name value.
-
withName
Set the name property: The resource name to validate. e.g."my-resource-name".- Parameters:
name
- the name value to set.- Returns:
- the NameAvailabilityParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-