Domain Class

Information about a domain.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.web.v2020_06_01.models._models_py3.Resource
Domain

Constructor

Domain(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, contact_admin: _models.Contact | None = None, contact_billing: _models.Contact | None = None, contact_registrant: _models.Contact | None = None, contact_tech: _models.Contact | None = None, privacy: bool | None = None, auto_renew: bool = True, consent: _models.DomainPurchaseConsent | None = None, dns_type: str | _models.DnsType | None = None, dns_zone_id: str | None = None, target_dns_type: str | _models.DnsType | None = None, auth_code: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

location
str

Resource Location. Required.

tags

Resource tags.

contact_admin

Administrative contact.

contact_billing

Billing contact.

contact_registrant

Registrant contact.

contact_tech

Technical contact.

privacy

<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.

auto_renew

<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.

Default value: True
consent

Legal agreement consent.

dns_type

Current DNS type. Known values are: "AzureDns" and "DefaultDomainRegistrarDns".

dns_zone_id
str

Azure DNS Zone to use.

target_dns_type

Target DNS type (would be used for migration). Known values are: "AzureDns" and "DefaultDomainRegistrarDns".

auth_code
str

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

location
str

Resource Location. Required.

type
str

Resource type.

tags

Resource tags.

contact_admin

Administrative contact.

contact_billing

Billing contact.

contact_registrant

Registrant contact.

contact_tech

Technical contact.

registration_status

Domain registration status. Known values are: "Active", "Awaiting", "Cancelled", "Confiscated", "Disabled", "Excluded", "Expired", "Failed", "Held", "Locked", "Parked", "Pending", "Reserved", "Reverted", "Suspended", "Transferred", "Unknown", "Unlocked", "Unparked", "Updated", and "JsonConverterFailed".

provisioning_state

Domain provisioning state. Known values are: "Succeeded", "Failed", "Canceled", "InProgress", and "Deleting".

name_servers

Name servers.

privacy

<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.

created_time

Domain creation timestamp.

expiration_time

Domain expiration timestamp.

last_renewed_time

Timestamp when the domain was renewed last time.

auto_renew

<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.

ready_for_dns_record_management

<code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and

it is hosted on name servers Azure has programmatic access to.

managed_host_names

All hostnames derived from the domain and assigned to Azure resources.

consent

Legal agreement consent.

domain_not_renewable_reasons

Reasons why domain is not renewable.

dns_type

Current DNS type. Known values are: "AzureDns" and "DefaultDomainRegistrarDns".

dns_zone_id
str

Azure DNS Zone to use.

target_dns_type

Target DNS type (would be used for migration). Known values are: "AzureDns" and "DefaultDomainRegistrarDns".

auth_code
str