你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Domain 类

有关域的信息。

变量仅由服务器填充,在发送请求时将被忽略。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.web.v2019_08_01.models._models_py3.Resource
Domain

构造函数

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)

仅限关键字的参数

名称 说明
kind
str

资源类型。

location
str

资源位置。 必需。

tags

资源标记。

contact_admin

管理联系人。

contact_billing

计费联系人。

contact_registrant

注册联系人。

contact_tech

技术联系人。

privacy

<code>true</code> 如果为此域启用了域隐私,则为 ;否则为 <code>false</code>

auto_renew

<code>true</code> 如果域应自动续订,则为 ;否则为 <code>false</code>

默认值: True
consent

法律协议同意。

dns_type
strDnsType

当前 DNS 类型。 已知值为:“AzureDns”和“DefaultDomainRegistrarDns”。

dns_zone_id
str

要使用的 Azure DNS 区域。

target_dns_type
strDnsType

目标 DNS 类型 (将用于迁移) 。 已知值为:“AzureDns”和“DefaultDomainRegistrarDns”。

auth_code
str

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

kind
str

资源类型。

location
str

资源位置。 必需。

type
str

资源类型。

tags

资源标记。

contact_admin

管理联系人。

contact_billing

计费联系人。

contact_registrant

注册联系人。

contact_tech

技术联系人。

registration_status

域注册状态。 已知值为:“Active”, “Awaiting”、“Cancelled”、“Suspended”、“Disabled”、“Excluded”、“Expired”、“Failed”、“Locked”、“Parked”、“Pending”、“Reserved”、“Reverted”、“Suspended”、“Suspended”、“Reverted”、“Suspended”、“Suspended”、“Suspended”、“Suspended”、“Suspended”、“Transferred”、“Unknown”、“Unlocked”、“Unparked”、“Updated”和“JsonConverterFailed”。

provisioning_state

域预配状态。 已知值为:“Succeeded”、“Failed”、“Canceled”、“InProgress”和“删除”。

name_servers

名称服务器。

privacy

<code>true</code> 如果为此域启用了域隐私,则为 ;否则为 <code>false</code>

created_time

域创建时间戳。

expiration_time

域过期时间戳。

last_renewed_time

上次续订域的时间戳。

auto_renew

<code>true</code> 如果域应自动续订,则为 ;否则为 <code>false</code>

ready_for_dns_record_management

<code>true</code>如果 Azure 可以将此域分配给App 服务应用,则为 ;否则为 <code>false</code>。 如果域注册状态为活动状态,则此值为<code>true</code>

它托管在 Azure 以编程方式访问的名称服务器上。

managed_host_names

从域派生并分配给 Azure 资源的所有主机名。

consent

法律协议同意。

domain_not_renewable_reasons

域不可续订的原因。

dns_type
strDnsType

当前 DNS 类型。 已知值为:“AzureDns”和“DefaultDomainRegistrarDns”。

dns_zone_id
str

要使用的 Azure DNS 区域。

target_dns_type
strDnsType

目标 DNS 类型 (将用于迁移) 。 已知值为:“AzureDns”和“DefaultDomainRegistrarDns”。

auth_code
str