DnlResourceNameAvailabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. DnlResourceNameAvailabilityInner
- com.
Implements
public final class DnlResourceNameAvailabilityInner
implements JsonSerializable<DnlResourceNameAvailabilityInner>
Information regarding availability of a resource name for DNL apps with regionalized default hostnames.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dnl |
fromJson(JsonReader jsonReader)
Reads an instance of Dnl |
| String |
hostName()
Get the host |
| String |
message()
Get the message property: 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. |
| Boolean |
nameAvailable()
Get the name |
|
In |
reason()
Get the reason property: |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DnlResourceNameAvailabilityInner fromJson(JsonReader jsonReader)
Reads an instance of DnlResourceNameAvailabilityInner from the JsonReader.
Parameters:
Returns:
Throws:
hostName
public String hostName()
Get the hostName property: The hostName property.
Returns:
message
public String message()
Get the message property: 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.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
Returns:
reason
public InAvailabilityReasonType reason()
Get the reason property: 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.
Returns:
toJson
validate
public void validate()
Validates the instance.