azure-native-v2.domainregistration.Domain
Explore with Pulumi AI
Information about a domain. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-10-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);
@overload
def Domain(resource_name: str,
args: DomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
opts: Optional[ResourceOptions] = None,
contact_tech: Optional[ContactArgs] = None,
resource_group_name: Optional[str] = None,
consent: Optional[DomainPurchaseConsentArgs] = None,
contact_admin: Optional[ContactArgs] = None,
contact_billing: Optional[ContactArgs] = None,
contact_registrant: Optional[ContactArgs] = None,
dns_zone_id: Optional[str] = None,
dns_type: Optional[DnsType] = None,
auth_code: Optional[str] = None,
domain_name: Optional[str] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
privacy: Optional[bool] = None,
auto_renew: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
target_dns_type: Optional[DnsType] = None)
func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)
public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: azure-native:domainregistration:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DomainArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. DomainArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DomainArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DomainArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. DomainArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeDomainResource = new AzureNative.Domainregistration.Domain("azure-nativeDomainResource", new()
{
ContactTech =
{
{ "email", "string" },
{ "nameFirst", "string" },
{ "nameLast", "string" },
{ "phone", "string" },
{ "addressMailing",
{
{ "address1", "string" },
{ "city", "string" },
{ "country", "string" },
{ "postalCode", "string" },
{ "state", "string" },
{ "address2", "string" },
} },
{ "fax", "string" },
{ "jobTitle", "string" },
{ "nameMiddle", "string" },
{ "organization", "string" },
},
ResourceGroupName = "string",
Consent =
{
{ "agreedAt", "string" },
{ "agreedBy", "string" },
{ "agreementKeys", new[]
{
"string",
} },
},
ContactAdmin =
{
{ "email", "string" },
{ "nameFirst", "string" },
{ "nameLast", "string" },
{ "phone", "string" },
{ "addressMailing",
{
{ "address1", "string" },
{ "city", "string" },
{ "country", "string" },
{ "postalCode", "string" },
{ "state", "string" },
{ "address2", "string" },
} },
{ "fax", "string" },
{ "jobTitle", "string" },
{ "nameMiddle", "string" },
{ "organization", "string" },
},
ContactBilling =
{
{ "email", "string" },
{ "nameFirst", "string" },
{ "nameLast", "string" },
{ "phone", "string" },
{ "addressMailing",
{
{ "address1", "string" },
{ "city", "string" },
{ "country", "string" },
{ "postalCode", "string" },
{ "state", "string" },
{ "address2", "string" },
} },
{ "fax", "string" },
{ "jobTitle", "string" },
{ "nameMiddle", "string" },
{ "organization", "string" },
},
ContactRegistrant =
{
{ "email", "string" },
{ "nameFirst", "string" },
{ "nameLast", "string" },
{ "phone", "string" },
{ "addressMailing",
{
{ "address1", "string" },
{ "city", "string" },
{ "country", "string" },
{ "postalCode", "string" },
{ "state", "string" },
{ "address2", "string" },
} },
{ "fax", "string" },
{ "jobTitle", "string" },
{ "nameMiddle", "string" },
{ "organization", "string" },
},
DnsZoneId = "string",
DnsType = "AzureDns",
AuthCode = "string",
DomainName = "string",
Kind = "string",
Location = "string",
Privacy = false,
AutoRenew = false,
Tags =
{
{ "string", "string" },
},
TargetDnsType = "AzureDns",
});
example, err := domainregistration.NewDomain(ctx, "azure-nativeDomainResource", &domainregistration.DomainArgs{
ContactTech: map[string]interface{}{
"email": "string",
"nameFirst": "string",
"nameLast": "string",
"phone": "string",
"addressMailing": map[string]interface{}{
"address1": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"state": "string",
"address2": "string",
},
"fax": "string",
"jobTitle": "string",
"nameMiddle": "string",
"organization": "string",
},
ResourceGroupName: "string",
Consent: map[string]interface{}{
"agreedAt": "string",
"agreedBy": "string",
"agreementKeys": []string{
"string",
},
},
ContactAdmin: map[string]interface{}{
"email": "string",
"nameFirst": "string",
"nameLast": "string",
"phone": "string",
"addressMailing": map[string]interface{}{
"address1": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"state": "string",
"address2": "string",
},
"fax": "string",
"jobTitle": "string",
"nameMiddle": "string",
"organization": "string",
},
ContactBilling: map[string]interface{}{
"email": "string",
"nameFirst": "string",
"nameLast": "string",
"phone": "string",
"addressMailing": map[string]interface{}{
"address1": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"state": "string",
"address2": "string",
},
"fax": "string",
"jobTitle": "string",
"nameMiddle": "string",
"organization": "string",
},
ContactRegistrant: map[string]interface{}{
"email": "string",
"nameFirst": "string",
"nameLast": "string",
"phone": "string",
"addressMailing": map[string]interface{}{
"address1": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"state": "string",
"address2": "string",
},
"fax": "string",
"jobTitle": "string",
"nameMiddle": "string",
"organization": "string",
},
DnsZoneId: "string",
DnsType: "AzureDns",
AuthCode: "string",
DomainName: "string",
Kind: "string",
Location: "string",
Privacy: false,
AutoRenew: false,
Tags: map[string]interface{}{
"string": "string",
},
TargetDnsType: "AzureDns",
})
var azure_nativeDomainResource = new Domain("azure-nativeDomainResource", DomainArgs.builder()
.contactTech(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.consent(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.contactAdmin(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.contactBilling(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.contactRegistrant(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.dnsZoneId("string")
.dnsType("AzureDns")
.authCode("string")
.domainName("string")
.kind("string")
.location("string")
.privacy(false)
.autoRenew(false)
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.targetDnsType("AzureDns")
.build());
azure_native_domain_resource = azure_native.domainregistration.Domain("azure-nativeDomainResource",
contact_tech={
email: string,
nameFirst: string,
nameLast: string,
phone: string,
addressMailing: {
address1: string,
city: string,
country: string,
postalCode: string,
state: string,
address2: string,
},
fax: string,
jobTitle: string,
nameMiddle: string,
organization: string,
},
resource_group_name=string,
consent={
agreedAt: string,
agreedBy: string,
agreementKeys: [string],
},
contact_admin={
email: string,
nameFirst: string,
nameLast: string,
phone: string,
addressMailing: {
address1: string,
city: string,
country: string,
postalCode: string,
state: string,
address2: string,
},
fax: string,
jobTitle: string,
nameMiddle: string,
organization: string,
},
contact_billing={
email: string,
nameFirst: string,
nameLast: string,
phone: string,
addressMailing: {
address1: string,
city: string,
country: string,
postalCode: string,
state: string,
address2: string,
},
fax: string,
jobTitle: string,
nameMiddle: string,
organization: string,
},
contact_registrant={
email: string,
nameFirst: string,
nameLast: string,
phone: string,
addressMailing: {
address1: string,
city: string,
country: string,
postalCode: string,
state: string,
address2: string,
},
fax: string,
jobTitle: string,
nameMiddle: string,
organization: string,
},
dns_zone_id=string,
dns_type=AzureDns,
auth_code=string,
domain_name=string,
kind=string,
location=string,
privacy=False,
auto_renew=False,
tags={
string: string,
},
target_dns_type=AzureDns)
const azure_nativeDomainResource = new azure_native.domainregistration.Domain("azure-nativeDomainResource", {
contactTech: {
email: "string",
nameFirst: "string",
nameLast: "string",
phone: "string",
addressMailing: {
address1: "string",
city: "string",
country: "string",
postalCode: "string",
state: "string",
address2: "string",
},
fax: "string",
jobTitle: "string",
nameMiddle: "string",
organization: "string",
},
resourceGroupName: "string",
consent: {
agreedAt: "string",
agreedBy: "string",
agreementKeys: ["string"],
},
contactAdmin: {
email: "string",
nameFirst: "string",
nameLast: "string",
phone: "string",
addressMailing: {
address1: "string",
city: "string",
country: "string",
postalCode: "string",
state: "string",
address2: "string",
},
fax: "string",
jobTitle: "string",
nameMiddle: "string",
organization: "string",
},
contactBilling: {
email: "string",
nameFirst: "string",
nameLast: "string",
phone: "string",
addressMailing: {
address1: "string",
city: "string",
country: "string",
postalCode: "string",
state: "string",
address2: "string",
},
fax: "string",
jobTitle: "string",
nameMiddle: "string",
organization: "string",
},
contactRegistrant: {
email: "string",
nameFirst: "string",
nameLast: "string",
phone: "string",
addressMailing: {
address1: "string",
city: "string",
country: "string",
postalCode: "string",
state: "string",
address2: "string",
},
fax: "string",
jobTitle: "string",
nameMiddle: "string",
organization: "string",
},
dnsZoneId: "string",
dnsType: "AzureDns",
authCode: "string",
domainName: "string",
kind: "string",
location: "string",
privacy: false,
autoRenew: false,
tags: {
string: "string",
},
targetDnsType: "AzureDns",
});
type: azure-native:domainregistration:Domain
properties:
authCode: string
autoRenew: false
consent:
agreedAt: string
agreedBy: string
agreementKeys:
- string
contactAdmin:
addressMailing:
address1: string
address2: string
city: string
country: string
postalCode: string
state: string
email: string
fax: string
jobTitle: string
nameFirst: string
nameLast: string
nameMiddle: string
organization: string
phone: string
contactBilling:
addressMailing:
address1: string
address2: string
city: string
country: string
postalCode: string
state: string
email: string
fax: string
jobTitle: string
nameFirst: string
nameLast: string
nameMiddle: string
organization: string
phone: string
contactRegistrant:
addressMailing:
address1: string
address2: string
city: string
country: string
postalCode: string
state: string
email: string
fax: string
jobTitle: string
nameFirst: string
nameLast: string
nameMiddle: string
organization: string
phone: string
contactTech:
addressMailing:
address1: string
address2: string
city: string
country: string
postalCode: string
state: string
email: string
fax: string
jobTitle: string
nameFirst: string
nameLast: string
nameMiddle: string
organization: string
phone: string
dnsType: AzureDns
dnsZoneId: string
domainName: string
kind: string
location: string
privacy: false
resourceGroupName: string
tags:
string: string
targetDnsType: AzureDns
Domain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Domain resource accepts the following input properties:
- Consent
This property is required. Changes to this property will trigger replacement.
Azure Native. Domain Registration. Inputs. Domain Purchase Consent - Legal agreement consent.
- Contact
Admin This property is required. Changes to this property will trigger replacement.
Azure Native. Domain Registration. Inputs. Contact - Administrative contact.
- Contact
Billing This property is required. Changes to this property will trigger replacement.
Azure Native. Domain Registration. Inputs. Contact - Billing contact.
- Contact
Registrant This property is required. Changes to this property will trigger replacement.
Azure Native. Domain Registration. Inputs. Contact - Registrant contact.
- Contact
Tech This property is required. Changes to this property will trigger replacement.
Azure Native. Domain Registration. Inputs. Contact - Technical contact.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Auth
Code Changes to this property will trigger replacement.
- Auto
Renew bool - true if the domain should be automatically renewed; otherwise, false.
- Dns
Type Pulumi.Azure Native. Domain Registration. Dns Type - Current DNS type
- Dns
Zone stringId - Azure DNS Zone to use
- Domain
Name Changes to this property will trigger replacement.
- Name of the domain.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- Privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- Dictionary<string, string>
- Resource tags.
- Target
Dns Pulumi.Type Azure Native. Domain Registration. Dns Type - Target DNS type (would be used for migration)
- Consent
This property is required. Changes to this property will trigger replacement.
Purchase Consent Args - Legal agreement consent.
- Contact
Admin This property is required. Changes to this property will trigger replacement.
Args - Administrative contact.
- Contact
Billing This property is required. Changes to this property will trigger replacement.
Args - Billing contact.
- Contact
Registrant This property is required. Changes to this property will trigger replacement.
Args - Registrant contact.
- Contact
Tech This property is required. Changes to this property will trigger replacement.
Args - Technical contact.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Auth
Code Changes to this property will trigger replacement.
- Auto
Renew bool - true if the domain should be automatically renewed; otherwise, false.
- Dns
Type DnsType - Current DNS type
- Dns
Zone stringId - Azure DNS Zone to use
- Domain
Name Changes to this property will trigger replacement.
- Name of the domain.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- Privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- map[string]string
- Resource tags.
- Target
Dns DnsType Type - Target DNS type (would be used for migration)
- consent
This property is required. Changes to this property will trigger replacement.
Purchase Consent - Legal agreement consent.
- contact
Admin This property is required. Changes to this property will trigger replacement.
- Administrative contact.
- contact
Billing This property is required. Changes to this property will trigger replacement.
- Billing contact.
- contact
Registrant This property is required. Changes to this property will trigger replacement.
- Registrant contact.
- contact
Tech This property is required. Changes to this property will trigger replacement.
- Technical contact.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- auth
Code Changes to this property will trigger replacement.
- auto
Renew Boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type DnsType - Current DNS type
- dns
Zone StringId - Azure DNS Zone to use
- domain
Name Changes to this property will trigger replacement.
- Name of the domain.
- kind String
- Kind of resource.
- location String
- Resource Location.
- privacy Boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- Map<String,String>
- Resource tags.
- target
Dns DnsType Type - Target DNS type (would be used for migration)
- consent
This property is required. Changes to this property will trigger replacement.
Purchase Consent - Legal agreement consent.
- contact
Admin This property is required. Changes to this property will trigger replacement.
- Administrative contact.
- contact
Billing This property is required. Changes to this property will trigger replacement.
- Billing contact.
- contact
Registrant This property is required. Changes to this property will trigger replacement.
- Registrant contact.
- contact
Tech This property is required. Changes to this property will trigger replacement.
- Technical contact.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- auth
Code Changes to this property will trigger replacement.
- auto
Renew boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type DnsType - Current DNS type
- dns
Zone stringId - Azure DNS Zone to use
- domain
Name Changes to this property will trigger replacement.
- Name of the domain.
- kind string
- Kind of resource.
- location string
- Resource Location.
- privacy boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- {[key: string]: string}
- Resource tags.
- target
Dns DnsType Type - Target DNS type (would be used for migration)
- consent
This property is required. Changes to this property will trigger replacement.
Purchase Consent Args - Legal agreement consent.
- contact_
admin This property is required. Changes to this property will trigger replacement.
Args - Administrative contact.
- contact_
billing This property is required. Changes to this property will trigger replacement.
Args - Billing contact.
- contact_
registrant This property is required. Changes to this property will trigger replacement.
Args - Registrant contact.
- contact_
tech This property is required. Changes to this property will trigger replacement.
Args - Technical contact.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- auth_
code Changes to this property will trigger replacement.
- auto_
renew bool - true if the domain should be automatically renewed; otherwise, false.
- dns_
type DnsType - Current DNS type
- dns_
zone_ strid - Azure DNS Zone to use
- domain_
name Changes to this property will trigger replacement.
- Name of the domain.
- kind str
- Kind of resource.
- location str
- Resource Location.
- privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- Mapping[str, str]
- Resource tags.
- target_
dns_ Dnstype Type - Target DNS type (would be used for migration)
- consent
This property is required. Changes to this property will trigger replacement.
- Legal agreement consent.
- contact
Admin This property is required. Changes to this property will trigger replacement.
- Administrative contact.
- contact
Billing This property is required. Changes to this property will trigger replacement.
- Billing contact.
- contact
Registrant This property is required. Changes to this property will trigger replacement.
- Registrant contact.
- contact
Tech This property is required. Changes to this property will trigger replacement.
- Technical contact.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- auth
Code Changes to this property will trigger replacement.
- auto
Renew Boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type "AzureDns" | "Default Domain Registrar Dns" - Current DNS type
- dns
Zone StringId - Azure DNS Zone to use
- domain
Name Changes to this property will trigger replacement.
- Name of the domain.
- kind String
- Kind of resource.
- location String
- Resource Location.
- privacy Boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- Map<String>
- Resource tags.
- target
Dns "AzureType Dns" | "Default Domain Registrar Dns" - Target DNS type (would be used for migration)
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
- Created
Time string - Domain creation timestamp.
- Domain
Not List<string>Renewable Reasons - Reasons why domain is not renewable.
- Expiration
Time string - Domain expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Renewed stringTime - Timestamp when the domain was renewed last time.
- Managed
Host List<Pulumi.Names Azure Native. Domain Registration. Outputs. Host Name Response> - All hostnames derived from the domain and assigned to Azure resources.
- Name string
- Resource Name.
- Name
Servers List<string> - Name servers.
- Provisioning
State string - Domain provisioning state.
- Ready
For boolDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- Registration
Status string - Domain registration status.
- Type string
- Resource type.
- Created
Time string - Domain creation timestamp.
- Domain
Not []stringRenewable Reasons - Reasons why domain is not renewable.
- Expiration
Time string - Domain expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Renewed stringTime - Timestamp when the domain was renewed last time.
- Managed
Host []HostNames Name Response - All hostnames derived from the domain and assigned to Azure resources.
- Name string
- Resource Name.
- Name
Servers []string - Name servers.
- Provisioning
State string - Domain provisioning state.
- Ready
For boolDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- Registration
Status string - Domain registration status.
- Type string
- Resource type.
- created
Time String - Domain creation timestamp.
- domain
Not List<String>Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time String - Domain expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Renewed StringTime - Timestamp when the domain was renewed last time.
- managed
Host List<HostNames Name Response> - All hostnames derived from the domain and assigned to Azure resources.
- name String
- Resource Name.
- name
Servers List<String> - Name servers.
- provisioning
State String - Domain provisioning state.
- ready
For BooleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status String - Domain registration status.
- type String
- Resource type.
- created
Time string - Domain creation timestamp.
- domain
Not string[]Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time string - Domain expiration timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Renewed stringTime - Timestamp when the domain was renewed last time.
- managed
Host HostNames Name Response[] - All hostnames derived from the domain and assigned to Azure resources.
- name string
- Resource Name.
- name
Servers string[] - Name servers.
- provisioning
State string - Domain provisioning state.
- ready
For booleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status string - Domain registration status.
- type string
- Resource type.
- created_
time str - Domain creation timestamp.
- domain_
not_ Sequence[str]renewable_ reasons - Reasons why domain is not renewable.
- expiration_
time str - Domain expiration timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
renewed_ strtime - Timestamp when the domain was renewed last time.
- managed_
host_ Sequence[Hostnames Name Response] - All hostnames derived from the domain and assigned to Azure resources.
- name str
- Resource Name.
- name_
servers Sequence[str] - Name servers.
- provisioning_
state str - Domain provisioning state.
- ready_
for_ booldns_ record_ management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration_
status str - Domain registration status.
- type str
- Resource type.
- created
Time String - Domain creation timestamp.
- domain
Not List<String>Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time String - Domain expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Renewed StringTime - Timestamp when the domain was renewed last time.
- managed
Host List<Property Map>Names - All hostnames derived from the domain and assigned to Azure resources.
- name String
- Resource Name.
- name
Servers List<String> - Name servers.
- provisioning
State String - Domain provisioning state.
- ready
For BooleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status String - Domain registration status.
- type String
- Resource type.
Supporting Types
Address, AddressArgs
- Address1
This property is required. string - First line of an Address.
- City
This property is required. string - The city for the address.
- Country
This property is required. string - The country for the address.
- Postal
Code This property is required. string - The postal code for the address.
- State
This property is required. string - The state or province for the address.
- Address2 string
- The second line of the Address. Optional.
- Address1
This property is required. string - First line of an Address.
- City
This property is required. string - The city for the address.
- Country
This property is required. string - The country for the address.
- Postal
Code This property is required. string - The postal code for the address.
- State
This property is required. string - The state or province for the address.
- Address2 string
- The second line of the Address. Optional.
- address1
This property is required. String - First line of an Address.
- city
This property is required. String - The city for the address.
- country
This property is required. String - The country for the address.
- postal
Code This property is required. String - The postal code for the address.
- state
This property is required. String - The state or province for the address.
- address2 String
- The second line of the Address. Optional.
- address1
This property is required. string - First line of an Address.
- city
This property is required. string - The city for the address.
- country
This property is required. string - The country for the address.
- postal
Code This property is required. string - The postal code for the address.
- state
This property is required. string - The state or province for the address.
- address2 string
- The second line of the Address. Optional.
- address1
This property is required. str - First line of an Address.
- city
This property is required. str - The city for the address.
- country
This property is required. str - The country for the address.
- postal_
code This property is required. str - The postal code for the address.
- state
This property is required. str - The state or province for the address.
- address2 str
- The second line of the Address. Optional.
- address1
This property is required. String - First line of an Address.
- city
This property is required. String - The city for the address.
- country
This property is required. String - The country for the address.
- postal
Code This property is required. String - The postal code for the address.
- state
This property is required. String - The state or province for the address.
- address2 String
- The second line of the Address. Optional.
Contact, ContactArgs
- Email
This property is required. string - Email address.
- Name
First This property is required. string - First name.
- Name
Last This property is required. string - Last name.
- Phone
This property is required. string - Phone number.
- Address
Mailing Pulumi.Azure Native. Domain Registration. Inputs. Address - Mailing address.
- Fax string
- Fax number.
- Job
Title string - Job title.
- Name
Middle string - Middle name.
- Organization string
- Organization contact belongs to.
- Email
This property is required. string - Email address.
- Name
First This property is required. string - First name.
- Name
Last This property is required. string - Last name.
- Phone
This property is required. string - Phone number.
- Address
Mailing Address - Mailing address.
- Fax string
- Fax number.
- Job
Title string - Job title.
- Name
Middle string - Middle name.
- Organization string
- Organization contact belongs to.
- email
This property is required. String - Email address.
- name
First This property is required. String - First name.
- name
Last This property is required. String - Last name.
- phone
This property is required. String - Phone number.
- address
Mailing Address - Mailing address.
- fax String
- Fax number.
- job
Title String - Job title.
- name
Middle String - Middle name.
- organization String
- Organization contact belongs to.
- email
This property is required. string - Email address.
- name
First This property is required. string - First name.
- name
Last This property is required. string - Last name.
- phone
This property is required. string - Phone number.
- address
Mailing Address - Mailing address.
- fax string
- Fax number.
- job
Title string - Job title.
- name
Middle string - Middle name.
- organization string
- Organization contact belongs to.
- email
This property is required. str - Email address.
- name_
first This property is required. str - First name.
- name_
last This property is required. str - Last name.
- phone
This property is required. str - Phone number.
- address_
mailing Address - Mailing address.
- fax str
- Fax number.
- job_
title str - Job title.
- name_
middle str - Middle name.
- organization str
- Organization contact belongs to.
- email
This property is required. String - Email address.
- name
First This property is required. String - First name.
- name
Last This property is required. String - Last name.
- phone
This property is required. String - Phone number.
- address
Mailing Property Map - Mailing address.
- fax String
- Fax number.
- job
Title String - Job title.
- name
Middle String - Middle name.
- organization String
- Organization contact belongs to.
DnsType, DnsTypeArgs
- Azure
Dns - AzureDns
- Default
Domain Registrar Dns - DefaultDomainRegistrarDns
- Dns
Type Azure Dns - AzureDns
- Dns
Type Default Domain Registrar Dns - DefaultDomainRegistrarDns
- Azure
Dns - AzureDns
- Default
Domain Registrar Dns - DefaultDomainRegistrarDns
- Azure
Dns - AzureDns
- Default
Domain Registrar Dns - DefaultDomainRegistrarDns
- AZURE_DNS
- AzureDns
- DEFAULT_DOMAIN_REGISTRAR_DNS
- DefaultDomainRegistrarDns
- "Azure
Dns" - AzureDns
- "Default
Domain Registrar Dns" - DefaultDomainRegistrarDns
DomainPurchaseConsent, DomainPurchaseConsentArgs
- Agreed
At string - Timestamp when the agreements were accepted.
- Agreed
By string - Client IP address.
- Agreement
Keys List<string> - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
- Agreed
At string - Timestamp when the agreements were accepted.
- Agreed
By string - Client IP address.
- Agreement
Keys []string - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
- agreed
At String - Timestamp when the agreements were accepted.
- agreed
By String - Client IP address.
- agreement
Keys List<String> - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
- agreed
At string - Timestamp when the agreements were accepted.
- agreed
By string - Client IP address.
- agreement
Keys string[] - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
- agreed_
at str - Timestamp when the agreements were accepted.
- agreed_
by str - Client IP address.
- agreement_
keys Sequence[str] - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
- agreed
At String - Timestamp when the agreements were accepted.
- agreed
By String - Client IP address.
- agreement
Keys List<String> - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
HostNameResponse, HostNameResponseArgs
- Azure
Resource stringName - 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 stringType - Type of the Azure resource the hostname is assigned to.
- Custom
Host stringName Dns Record Type - Type of the DNS record.
- Host
Name stringType - Type of the hostname.
- Name string
- Name of the hostname.
- Site
Names List<string> - 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 stringName - 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 stringType - Type of the Azure resource the hostname is assigned to.
- Custom
Host stringName Dns Record Type - Type of the DNS record.
- Host
Name stringType - Type of the hostname.
- Name string
- Name of the hostname.
- Site
Names []string - 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 StringName - 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 StringType - Type of the Azure resource the hostname is assigned to.
- custom
Host StringName Dns Record Type - Type of the DNS record.
- host
Name StringType - Type of the hostname.
- name String
- Name of the hostname.
- site
Names List<String> - 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 stringName - 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 stringType - Type of the Azure resource the hostname is assigned to.
- custom
Host stringName Dns Record Type - Type of the DNS record.
- host
Name stringType - Type of the hostname.
- name string
- Name of the hostname.
- site
Names string[] - 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_ strname - 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_ strtype - Type of the Azure resource the hostname is assigned to.
- custom_
host_ strname_ dns_ record_ type - Type of the DNS record.
- host_
name_ strtype - Type of the hostname.
- name str
- Name of the hostname.
- site_
names Sequence[str] - 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 StringName - 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 StringType - Type of the Azure resource the hostname is assigned to.
- custom
Host StringName Dns Record Type - Type of the DNS record.
- host
Name StringType - Type of the hostname.
- name String
- Name of the hostname.
- site
Names List<String> - 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:domainregistration:Domain example.com /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0