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.v2021_01_01.models._models_py3.ResourceDomain
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
|
Kind of resource. |
location
|
Resource Location. Required. |
tags
|
Resource tags. |
contact_admin
|
Administrative contact. |
contact_billing
|
Billing contact. |
contact_registrant
|
Registrant contact. |
contact_tech
|
Technical contact. |
privacy
|
|
auto_renew
|
Default value: True
|
consent
|
Legal agreement consent. |
dns_type
|
Current DNS type. Known values are: "AzureDns" and "DefaultDomainRegistrarDns". |
dns_zone_id
|
Azure DNS Zone to use. |
target_dns_type
|
Target DNS type (would be used for migration). Known values are: "AzureDns" and "DefaultDomainRegistrarDns". |
auth_code
|
|
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
location
|
Resource Location. Required. |
type
|
Resource type. |
tags
|
Resource tags. |
contact_admin
|
Administrative contact. |
contact_billing
|
Billing contact. |
contact_registrant
|
Registrant contact. |
contact_tech
|
Technical contact. |
registration_status
|
str or
DomainStatus
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
|
|
created_time
|
Domain creation timestamp. |
expiration_time
|
Domain expiration timestamp. |
last_renewed_time
|
Timestamp when the domain was renewed last time. |
auto_renew
|
|
ready_for_dns_record_management
|
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
|
Azure DNS Zone to use. |
target_dns_type
|
Target DNS type (would be used for migration). Known values are: "AzureDns" and "DefaultDomainRegistrarDns". |
auth_code
|
|
Azure SDK for Python