ApiManagementServiceNameAvailabilityResultInner Class

Definition

Response of the CheckNameAvailability operation.

public final class ApiManagementServiceNameAvailabilityResultInner
Inheritance
java.lang.Object
ApiManagementServiceNameAvailabilityResultInner

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

ApiManagementServiceNameAvailabilityResultInner()

Methods

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 is already in use, and direct them to select a different name.

nameAvailable()

Get the nameAvailable property: True if the name is available and can be used to create a new API Management service; otherwise false.

reason()

Get the reason property: Invalid indicates the name provided does not match the resource provider\u2019s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.

validate()

Validates the instance.

withReason(NameAvailabilityReason reason)

Set the reason property: Invalid indicates the name provided does not match the resource provider\u2019s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.

Applies to