HostName Class

Details of a hostname derived from a domain.

Inheritance
HostName

Constructor

HostName(*, name: Optional[str] = None, site_names: Optional[List[str]] = None, azure_resource_name: Optional[str] = None, azure_resource_type: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.AzureResourceType]] = None, custom_host_name_dns_record_type: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.CustomHostNameDnsRecordType]] = None, host_name_type: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.HostNameType]] = None, **kwargs)

Parameters

name
str
Required

Name of the hostname.

site_names
list[str]
Required

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
str
Required

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
str or AzureResourceType
Required

Type of the Azure resource the hostname is assigned to. Possible values include: "Website", "TrafficManager".

custom_host_name_dns_record_type
str or CustomHostNameDnsRecordType
Required

Type of the DNS record. Possible values include: "CName", "A".

host_name_type
str or HostNameType
Required

Type of the hostname. Possible values include: "Verified", "Managed".