HostName Class
Details of a hostname derived from a domain.
- Inheritance
-
azure.mgmt.web._serialization.ModelHostName
Constructor
HostName(*, name: str | None = None, site_names: List[str] | None = None, azure_resource_name: str | None = None, azure_resource_type: str | _models.AzureResourceType | None = None, custom_host_name_dns_record_type: str | _models.CustomHostNameDnsRecordType | None = None, host_name_type: str | _models.HostNameType | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Name of the hostname. |
site_names
|
List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. |
azure_resource_name
|
Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. |
azure_resource_type
|
Type of the Azure resource the hostname is assigned to. Known values are: "Website" and "TrafficManager". |
custom_host_name_dns_record_type
|
Type of the DNS record. Known values are: "CName" and "A". |
host_name_type
|
str or
HostNameType
Type of the hostname. Known values are: "Verified" and "Managed". |
Variables
Name | Description |
---|---|
name
|
Name of the hostname. |
site_names
|
List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. |
azure_resource_name
|
Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. |
azure_resource_type
|
Type of the Azure resource the hostname is assigned to. Known values are: "Website" and "TrafficManager". |
custom_host_name_dns_record_type
|
Type of the DNS record. Known values are: "CName" and "A". |
host_name_type
|
str or
HostNameType
Type of the hostname. Known values are: "Verified" and "Managed". |
Azure SDK for Python