DnlResourceNameAvailability Class

Information regarding availability of a resource name for DNL apps with regionalized default hostnames.

Constructor

DnlResourceNameAvailability(*args: Any, **kwargs: Any)

Variables

Name Description
host_name
str
name_available

true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

reason

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. Known values are: "Invalid" and "AlreadyExists".

message
str

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.

Attributes

host_name

host_name: str | None

message

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.

message: str | None

name_available

true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

name_available: bool | None

reason

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. Known values are: "Invalid" and "AlreadyExists".

reason: str | _models.InAvailabilityReasonType | None