1. Packages
  2. Azure Native v2
  3. API Docs
  4. domainregistration
  5. Domain
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.domainregistration.Domain

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

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.

Example Usage

Create App Service Domain

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var domain = new AzureNative.DomainRegistration.Domain("domain", new()
    {
        AuthCode = "exampleAuthCode",
        AutoRenew = true,
        Consent = new AzureNative.DomainRegistration.Inputs.DomainPurchaseConsentArgs
        {
            AgreedAt = "2021-09-10T19:30:53Z",
            AgreedBy = "192.0.2.1",
            AgreementKeys = new[]
            {
                "agreementKey1",
            },
        },
        ContactAdmin = new AzureNative.DomainRegistration.Inputs.ContactArgs
        {
            AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
            {
                Address1 = "3400 State St",
                City = "Chicago",
                Country = "United States",
                PostalCode = "67098",
                State = "IL",
            },
            Email = "admin@email.com",
            Fax = "1-245-534-2242",
            JobTitle = "Admin",
            NameFirst = "John",
            NameLast = "Doe",
            NameMiddle = "",
            Organization = "Microsoft Inc.",
            Phone = "1-245-534-2242",
        },
        ContactBilling = new AzureNative.DomainRegistration.Inputs.ContactArgs
        {
            AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
            {
                Address1 = "3400 State St",
                City = "Chicago",
                Country = "United States",
                PostalCode = "67098",
                State = "IL",
            },
            Email = "billing@email.com",
            Fax = "1-245-534-2242",
            JobTitle = "Billing",
            NameFirst = "John",
            NameLast = "Doe",
            NameMiddle = "",
            Organization = "Microsoft Inc.",
            Phone = "1-245-534-2242",
        },
        ContactRegistrant = new AzureNative.DomainRegistration.Inputs.ContactArgs
        {
            AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
            {
                Address1 = "3400 State St",
                City = "Chicago",
                Country = "United States",
                PostalCode = "67098",
                State = "IL",
            },
            Email = "registrant@email.com",
            Fax = "1-245-534-2242",
            JobTitle = "Registrant",
            NameFirst = "John",
            NameLast = "Doe",
            NameMiddle = "",
            Organization = "Microsoft Inc.",
            Phone = "1-245-534-2242",
        },
        ContactTech = new AzureNative.DomainRegistration.Inputs.ContactArgs
        {
            AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
            {
                Address1 = "3400 State St",
                City = "Chicago",
                Country = "United States",
                PostalCode = "67098",
                State = "IL",
            },
            Email = "tech@email.com",
            Fax = "1-245-534-2242",
            JobTitle = "Tech",
            NameFirst = "John",
            NameLast = "Doe",
            NameMiddle = "",
            Organization = "Microsoft Inc.",
            Phone = "1-245-534-2242",
        },
        DnsType = AzureNative.DomainRegistration.DnsType.DefaultDomainRegistrarDns,
        DomainName = "example.com",
        Location = "global",
        Privacy = false,
        ResourceGroupName = "testrg123",
        Tags = null,
    });

});
Copy
package main

import (
	domainregistration "github.com/pulumi/pulumi-azure-native-sdk/domainregistration/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := domainregistration.NewDomain(ctx, "domain", &domainregistration.DomainArgs{
			AuthCode:  pulumi.String("exampleAuthCode"),
			AutoRenew: pulumi.Bool(true),
			Consent: &domainregistration.DomainPurchaseConsentArgs{
				AgreedAt: pulumi.String("2021-09-10T19:30:53Z"),
				AgreedBy: pulumi.String("192.0.2.1"),
				AgreementKeys: pulumi.StringArray{
					pulumi.String("agreementKey1"),
				},
			},
			ContactAdmin: &domainregistration.ContactArgs{
				AddressMailing: &domainregistration.AddressArgs{
					Address1:   pulumi.String("3400 State St"),
					City:       pulumi.String("Chicago"),
					Country:    pulumi.String("United States"),
					PostalCode: pulumi.String("67098"),
					State:      pulumi.String("IL"),
				},
				Email:        pulumi.String("admin@email.com"),
				Fax:          pulumi.String("1-245-534-2242"),
				JobTitle:     pulumi.String("Admin"),
				NameFirst:    pulumi.String("John"),
				NameLast:     pulumi.String("Doe"),
				NameMiddle:   pulumi.String(""),
				Organization: pulumi.String("Microsoft Inc."),
				Phone:        pulumi.String("1-245-534-2242"),
			},
			ContactBilling: &domainregistration.ContactArgs{
				AddressMailing: &domainregistration.AddressArgs{
					Address1:   pulumi.String("3400 State St"),
					City:       pulumi.String("Chicago"),
					Country:    pulumi.String("United States"),
					PostalCode: pulumi.String("67098"),
					State:      pulumi.String("IL"),
				},
				Email:        pulumi.String("billing@email.com"),
				Fax:          pulumi.String("1-245-534-2242"),
				JobTitle:     pulumi.String("Billing"),
				NameFirst:    pulumi.String("John"),
				NameLast:     pulumi.String("Doe"),
				NameMiddle:   pulumi.String(""),
				Organization: pulumi.String("Microsoft Inc."),
				Phone:        pulumi.String("1-245-534-2242"),
			},
			ContactRegistrant: &domainregistration.ContactArgs{
				AddressMailing: &domainregistration.AddressArgs{
					Address1:   pulumi.String("3400 State St"),
					City:       pulumi.String("Chicago"),
					Country:    pulumi.String("United States"),
					PostalCode: pulumi.String("67098"),
					State:      pulumi.String("IL"),
				},
				Email:        pulumi.String("registrant@email.com"),
				Fax:          pulumi.String("1-245-534-2242"),
				JobTitle:     pulumi.String("Registrant"),
				NameFirst:    pulumi.String("John"),
				NameLast:     pulumi.String("Doe"),
				NameMiddle:   pulumi.String(""),
				Organization: pulumi.String("Microsoft Inc."),
				Phone:        pulumi.String("1-245-534-2242"),
			},
			ContactTech: &domainregistration.ContactArgs{
				AddressMailing: &domainregistration.AddressArgs{
					Address1:   pulumi.String("3400 State St"),
					City:       pulumi.String("Chicago"),
					Country:    pulumi.String("United States"),
					PostalCode: pulumi.String("67098"),
					State:      pulumi.String("IL"),
				},
				Email:        pulumi.String("tech@email.com"),
				Fax:          pulumi.String("1-245-534-2242"),
				JobTitle:     pulumi.String("Tech"),
				NameFirst:    pulumi.String("John"),
				NameLast:     pulumi.String("Doe"),
				NameMiddle:   pulumi.String(""),
				Organization: pulumi.String("Microsoft Inc."),
				Phone:        pulumi.String("1-245-534-2242"),
			},
			DnsType:           domainregistration.DnsTypeDefaultDomainRegistrarDns,
			DomainName:        pulumi.String("example.com"),
			Location:          pulumi.String("global"),
			Privacy:           pulumi.Bool(false),
			ResourceGroupName: pulumi.String("testrg123"),
			Tags:              pulumi.StringMap{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.domainregistration.Domain;
import com.pulumi.azurenative.domainregistration.DomainArgs;
import com.pulumi.azurenative.domainregistration.inputs.DomainPurchaseConsentArgs;
import com.pulumi.azurenative.domainregistration.inputs.ContactArgs;
import com.pulumi.azurenative.domainregistration.inputs.AddressArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var domain = new Domain("domain", DomainArgs.builder()
            .authCode("exampleAuthCode")
            .autoRenew(true)
            .consent(DomainPurchaseConsentArgs.builder()
                .agreedAt("2021-09-10T19:30:53Z")
                .agreedBy("192.0.2.1")
                .agreementKeys("agreementKey1")
                .build())
            .contactAdmin(ContactArgs.builder()
                .addressMailing(AddressArgs.builder()
                    .address1("3400 State St")
                    .city("Chicago")
                    .country("United States")
                    .postalCode("67098")
                    .state("IL")
                    .build())
                .email("admin@email.com")
                .fax("1-245-534-2242")
                .jobTitle("Admin")
                .nameFirst("John")
                .nameLast("Doe")
                .nameMiddle("")
                .organization("Microsoft Inc.")
                .phone("1-245-534-2242")
                .build())
            .contactBilling(ContactArgs.builder()
                .addressMailing(AddressArgs.builder()
                    .address1("3400 State St")
                    .city("Chicago")
                    .country("United States")
                    .postalCode("67098")
                    .state("IL")
                    .build())
                .email("billing@email.com")
                .fax("1-245-534-2242")
                .jobTitle("Billing")
                .nameFirst("John")
                .nameLast("Doe")
                .nameMiddle("")
                .organization("Microsoft Inc.")
                .phone("1-245-534-2242")
                .build())
            .contactRegistrant(ContactArgs.builder()
                .addressMailing(AddressArgs.builder()
                    .address1("3400 State St")
                    .city("Chicago")
                    .country("United States")
                    .postalCode("67098")
                    .state("IL")
                    .build())
                .email("registrant@email.com")
                .fax("1-245-534-2242")
                .jobTitle("Registrant")
                .nameFirst("John")
                .nameLast("Doe")
                .nameMiddle("")
                .organization("Microsoft Inc.")
                .phone("1-245-534-2242")
                .build())
            .contactTech(ContactArgs.builder()
                .addressMailing(AddressArgs.builder()
                    .address1("3400 State St")
                    .city("Chicago")
                    .country("United States")
                    .postalCode("67098")
                    .state("IL")
                    .build())
                .email("tech@email.com")
                .fax("1-245-534-2242")
                .jobTitle("Tech")
                .nameFirst("John")
                .nameLast("Doe")
                .nameMiddle("")
                .organization("Microsoft Inc.")
                .phone("1-245-534-2242")
                .build())
            .dnsType("DefaultDomainRegistrarDns")
            .domainName("example.com")
            .location("global")
            .privacy(false)
            .resourceGroupName("testrg123")
            .tags()
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const domain = new azure_native.domainregistration.Domain("domain", {
    authCode: "exampleAuthCode",
    autoRenew: true,
    consent: {
        agreedAt: "2021-09-10T19:30:53Z",
        agreedBy: "192.0.2.1",
        agreementKeys: ["agreementKey1"],
    },
    contactAdmin: {
        addressMailing: {
            address1: "3400 State St",
            city: "Chicago",
            country: "United States",
            postalCode: "67098",
            state: "IL",
        },
        email: "admin@email.com",
        fax: "1-245-534-2242",
        jobTitle: "Admin",
        nameFirst: "John",
        nameLast: "Doe",
        nameMiddle: "",
        organization: "Microsoft Inc.",
        phone: "1-245-534-2242",
    },
    contactBilling: {
        addressMailing: {
            address1: "3400 State St",
            city: "Chicago",
            country: "United States",
            postalCode: "67098",
            state: "IL",
        },
        email: "billing@email.com",
        fax: "1-245-534-2242",
        jobTitle: "Billing",
        nameFirst: "John",
        nameLast: "Doe",
        nameMiddle: "",
        organization: "Microsoft Inc.",
        phone: "1-245-534-2242",
    },
    contactRegistrant: {
        addressMailing: {
            address1: "3400 State St",
            city: "Chicago",
            country: "United States",
            postalCode: "67098",
            state: "IL",
        },
        email: "registrant@email.com",
        fax: "1-245-534-2242",
        jobTitle: "Registrant",
        nameFirst: "John",
        nameLast: "Doe",
        nameMiddle: "",
        organization: "Microsoft Inc.",
        phone: "1-245-534-2242",
    },
    contactTech: {
        addressMailing: {
            address1: "3400 State St",
            city: "Chicago",
            country: "United States",
            postalCode: "67098",
            state: "IL",
        },
        email: "tech@email.com",
        fax: "1-245-534-2242",
        jobTitle: "Tech",
        nameFirst: "John",
        nameLast: "Doe",
        nameMiddle: "",
        organization: "Microsoft Inc.",
        phone: "1-245-534-2242",
    },
    dnsType: azure_native.domainregistration.DnsType.DefaultDomainRegistrarDns,
    domainName: "example.com",
    location: "global",
    privacy: false,
    resourceGroupName: "testrg123",
    tags: {},
});
Copy
import pulumi
import pulumi_azure_native as azure_native

domain = azure_native.domainregistration.Domain("domain",
    auth_code="exampleAuthCode",
    auto_renew=True,
    consent={
        "agreed_at": "2021-09-10T19:30:53Z",
        "agreed_by": "192.0.2.1",
        "agreement_keys": ["agreementKey1"],
    },
    contact_admin={
        "address_mailing": {
            "address1": "3400 State St",
            "city": "Chicago",
            "country": "United States",
            "postal_code": "67098",
            "state": "IL",
        },
        "email": "admin@email.com",
        "fax": "1-245-534-2242",
        "job_title": "Admin",
        "name_first": "John",
        "name_last": "Doe",
        "name_middle": "",
        "organization": "Microsoft Inc.",
        "phone": "1-245-534-2242",
    },
    contact_billing={
        "address_mailing": {
            "address1": "3400 State St",
            "city": "Chicago",
            "country": "United States",
            "postal_code": "67098",
            "state": "IL",
        },
        "email": "billing@email.com",
        "fax": "1-245-534-2242",
        "job_title": "Billing",
        "name_first": "John",
        "name_last": "Doe",
        "name_middle": "",
        "organization": "Microsoft Inc.",
        "phone": "1-245-534-2242",
    },
    contact_registrant={
        "address_mailing": {
            "address1": "3400 State St",
            "city": "Chicago",
            "country": "United States",
            "postal_code": "67098",
            "state": "IL",
        },
        "email": "registrant@email.com",
        "fax": "1-245-534-2242",
        "job_title": "Registrant",
        "name_first": "John",
        "name_last": "Doe",
        "name_middle": "",
        "organization": "Microsoft Inc.",
        "phone": "1-245-534-2242",
    },
    contact_tech={
        "address_mailing": {
            "address1": "3400 State St",
            "city": "Chicago",
            "country": "United States",
            "postal_code": "67098",
            "state": "IL",
        },
        "email": "tech@email.com",
        "fax": "1-245-534-2242",
        "job_title": "Tech",
        "name_first": "John",
        "name_last": "Doe",
        "name_middle": "",
        "organization": "Microsoft Inc.",
        "phone": "1-245-534-2242",
    },
    dns_type=azure_native.domainregistration.DnsType.DEFAULT_DOMAIN_REGISTRAR_DNS,
    domain_name="example.com",
    location="global",
    privacy=False,
    resource_group_name="testrg123",
    tags={})
Copy
resources:
  domain:
    type: azure-native:domainregistration:Domain
    properties:
      authCode: exampleAuthCode
      autoRenew: true
      consent:
        agreedAt: 2021-09-10T19:30:53Z
        agreedBy: 192.0.2.1
        agreementKeys:
          - agreementKey1
      contactAdmin:
        addressMailing:
          address1: 3400 State St
          city: Chicago
          country: United States
          postalCode: '67098'
          state: IL
        email: admin@email.com
        fax: 1-245-534-2242
        jobTitle: Admin
        nameFirst: John
        nameLast: Doe
        nameMiddle: ""
        organization: Microsoft Inc.
        phone: 1-245-534-2242
      contactBilling:
        addressMailing:
          address1: 3400 State St
          city: Chicago
          country: United States
          postalCode: '67098'
          state: IL
        email: billing@email.com
        fax: 1-245-534-2242
        jobTitle: Billing
        nameFirst: John
        nameLast: Doe
        nameMiddle: ""
        organization: Microsoft Inc.
        phone: 1-245-534-2242
      contactRegistrant:
        addressMailing:
          address1: 3400 State St
          city: Chicago
          country: United States
          postalCode: '67098'
          state: IL
        email: registrant@email.com
        fax: 1-245-534-2242
        jobTitle: Registrant
        nameFirst: John
        nameLast: Doe
        nameMiddle: ""
        organization: Microsoft Inc.
        phone: 1-245-534-2242
      contactTech:
        addressMailing:
          address1: 3400 State St
          city: Chicago
          country: United States
          postalCode: '67098'
          state: IL
        email: tech@email.com
        fax: 1-245-534-2242
        jobTitle: Tech
        nameFirst: John
        nameLast: Doe
        nameMiddle: ""
        organization: Microsoft Inc.
        phone: 1-245-534-2242
      dnsType: DefaultDomainRegistrarDns
      domainName: example.com
      location: global
      privacy: false
      resourceGroupName: testrg123
      tags: {}
Copy

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",
});
Copy
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",
})
Copy
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());
Copy
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)
Copy
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",
});
Copy
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
Copy

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.
Pulumi.AzureNative.DomainRegistration.Inputs.DomainPurchaseConsent
Legal agreement consent.
ContactAdmin
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.DomainRegistration.Inputs.Contact
Administrative contact.
ContactBilling
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.DomainRegistration.Inputs.Contact
Billing contact.
ContactRegistrant
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.DomainRegistration.Inputs.Contact
Registrant contact.
ContactTech
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.DomainRegistration.Inputs.Contact
Technical contact.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
AuthCode Changes to this property will trigger replacement. string
AutoRenew bool
true if the domain should be automatically renewed; otherwise, false.
DnsType Pulumi.AzureNative.DomainRegistration.DnsType
Current DNS type
DnsZoneId string
Azure DNS Zone to use
DomainName Changes to this property will trigger replacement. string
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.
Tags Dictionary<string, string>
Resource tags.
TargetDnsType Pulumi.AzureNative.DomainRegistration.DnsType
Target DNS type (would be used for migration)
Consent
This property is required.
Changes to this property will trigger replacement.
DomainPurchaseConsentArgs
Legal agreement consent.
ContactAdmin
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Administrative contact.
ContactBilling
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Billing contact.
ContactRegistrant
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Registrant contact.
ContactTech
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Technical contact.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
AuthCode Changes to this property will trigger replacement. string
AutoRenew bool
true if the domain should be automatically renewed; otherwise, false.
DnsType DnsType
Current DNS type
DnsZoneId string
Azure DNS Zone to use
DomainName Changes to this property will trigger replacement. string
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.
Tags map[string]string
Resource tags.
TargetDnsType DnsType
Target DNS type (would be used for migration)
consent
This property is required.
Changes to this property will trigger replacement.
DomainPurchaseConsent
Legal agreement consent.
contactAdmin
This property is required.
Changes to this property will trigger replacement.
Contact
Administrative contact.
contactBilling
This property is required.
Changes to this property will trigger replacement.
Contact
Billing contact.
contactRegistrant
This property is required.
Changes to this property will trigger replacement.
Contact
Registrant contact.
contactTech
This property is required.
Changes to this property will trigger replacement.
Contact
Technical contact.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
authCode Changes to this property will trigger replacement. String
autoRenew Boolean
true if the domain should be automatically renewed; otherwise, false.
dnsType DnsType
Current DNS type
dnsZoneId String
Azure DNS Zone to use
domainName Changes to this property will trigger replacement. String
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.
tags Map<String,String>
Resource tags.
targetDnsType DnsType
Target DNS type (would be used for migration)
consent
This property is required.
Changes to this property will trigger replacement.
DomainPurchaseConsent
Legal agreement consent.
contactAdmin
This property is required.
Changes to this property will trigger replacement.
Contact
Administrative contact.
contactBilling
This property is required.
Changes to this property will trigger replacement.
Contact
Billing contact.
contactRegistrant
This property is required.
Changes to this property will trigger replacement.
Contact
Registrant contact.
contactTech
This property is required.
Changes to this property will trigger replacement.
Contact
Technical contact.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
authCode Changes to this property will trigger replacement. string
autoRenew boolean
true if the domain should be automatically renewed; otherwise, false.
dnsType DnsType
Current DNS type
dnsZoneId string
Azure DNS Zone to use
domainName Changes to this property will trigger replacement. string
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.
tags {[key: string]: string}
Resource tags.
targetDnsType DnsType
Target DNS type (would be used for migration)
consent
This property is required.
Changes to this property will trigger replacement.
DomainPurchaseConsentArgs
Legal agreement consent.
contact_admin
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Administrative contact.
contact_billing
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Billing contact.
contact_registrant
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Registrant contact.
contact_tech
This property is required.
Changes to this property will trigger replacement.
ContactArgs
Technical contact.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
auth_code Changes to this property will trigger replacement. str
auto_renew bool
true if the domain should be automatically renewed; otherwise, false.
dns_type DnsType
Current DNS type
dns_zone_id str
Azure DNS Zone to use
domain_name Changes to this property will trigger replacement. str
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.
tags Mapping[str, str]
Resource tags.
target_dns_type DnsType
Target DNS type (would be used for migration)
consent
This property is required.
Changes to this property will trigger replacement.
Property Map
Legal agreement consent.
contactAdmin
This property is required.
Changes to this property will trigger replacement.
Property Map
Administrative contact.
contactBilling
This property is required.
Changes to this property will trigger replacement.
Property Map
Billing contact.
contactRegistrant
This property is required.
Changes to this property will trigger replacement.
Property Map
Registrant contact.
contactTech
This property is required.
Changes to this property will trigger replacement.
Property Map
Technical contact.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
authCode Changes to this property will trigger replacement. String
autoRenew Boolean
true if the domain should be automatically renewed; otherwise, false.
dnsType "AzureDns" | "DefaultDomainRegistrarDns"
Current DNS type
dnsZoneId String
Azure DNS Zone to use
domainName Changes to this property will trigger replacement. String
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.
tags Map<String>
Resource tags.
targetDnsType "AzureDns" | "DefaultDomainRegistrarDns"
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:

CreatedTime string
Domain creation timestamp.
DomainNotRenewableReasons List<string>
Reasons why domain is not renewable.
ExpirationTime string
Domain expiration timestamp.
Id string
The provider-assigned unique ID for this managed resource.
LastRenewedTime string
Timestamp when the domain was renewed last time.
ManagedHostNames List<Pulumi.AzureNative.DomainRegistration.Outputs.HostNameResponse>
All hostnames derived from the domain and assigned to Azure resources.
Name string
Resource Name.
NameServers List<string>
Name servers.
ProvisioningState string
Domain provisioning state.
ReadyForDnsRecordManagement bool
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.
RegistrationStatus string
Domain registration status.
Type string
Resource type.
CreatedTime string
Domain creation timestamp.
DomainNotRenewableReasons []string
Reasons why domain is not renewable.
ExpirationTime string
Domain expiration timestamp.
Id string
The provider-assigned unique ID for this managed resource.
LastRenewedTime string
Timestamp when the domain was renewed last time.
ManagedHostNames []HostNameResponse
All hostnames derived from the domain and assigned to Azure resources.
Name string
Resource Name.
NameServers []string
Name servers.
ProvisioningState string
Domain provisioning state.
ReadyForDnsRecordManagement bool
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.
RegistrationStatus string
Domain registration status.
Type string
Resource type.
createdTime String
Domain creation timestamp.
domainNotRenewableReasons List<String>
Reasons why domain is not renewable.
expirationTime String
Domain expiration timestamp.
id String
The provider-assigned unique ID for this managed resource.
lastRenewedTime String
Timestamp when the domain was renewed last time.
managedHostNames List<HostNameResponse>
All hostnames derived from the domain and assigned to Azure resources.
name String
Resource Name.
nameServers List<String>
Name servers.
provisioningState String
Domain provisioning state.
readyForDnsRecordManagement Boolean
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.
registrationStatus String
Domain registration status.
type String
Resource type.
createdTime string
Domain creation timestamp.
domainNotRenewableReasons string[]
Reasons why domain is not renewable.
expirationTime string
Domain expiration timestamp.
id string
The provider-assigned unique ID for this managed resource.
lastRenewedTime string
Timestamp when the domain was renewed last time.
managedHostNames HostNameResponse[]
All hostnames derived from the domain and assigned to Azure resources.
name string
Resource Name.
nameServers string[]
Name servers.
provisioningState string
Domain provisioning state.
readyForDnsRecordManagement boolean
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.
registrationStatus string
Domain registration status.
type string
Resource type.
created_time str
Domain creation timestamp.
domain_not_renewable_reasons Sequence[str]
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_time str
Timestamp when the domain was renewed last time.
managed_host_names Sequence[HostNameResponse]
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_dns_record_management bool
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.
createdTime String
Domain creation timestamp.
domainNotRenewableReasons List<String>
Reasons why domain is not renewable.
expirationTime String
Domain expiration timestamp.
id String
The provider-assigned unique ID for this managed resource.
lastRenewedTime String
Timestamp when the domain was renewed last time.
managedHostNames List<Property Map>
All hostnames derived from the domain and assigned to Azure resources.
name String
Resource Name.
nameServers List<String>
Name servers.
provisioningState String
Domain provisioning state.
readyForDnsRecordManagement Boolean
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.
registrationStatus 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.
PostalCode 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.
PostalCode 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.
postalCode 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.
postalCode 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.
postalCode 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.
NameFirst This property is required. string
First name.
NameLast This property is required. string
Last name.
Phone This property is required. string
Phone number.
AddressMailing Pulumi.AzureNative.DomainRegistration.Inputs.Address
Mailing address.
Fax string
Fax number.
JobTitle string
Job title.
NameMiddle string
Middle name.
Organization string
Organization contact belongs to.
Email This property is required. string
Email address.
NameFirst This property is required. string
First name.
NameLast This property is required. string
Last name.
Phone This property is required. string
Phone number.
AddressMailing Address
Mailing address.
Fax string
Fax number.
JobTitle string
Job title.
NameMiddle string
Middle name.
Organization string
Organization contact belongs to.
email This property is required. String
Email address.
nameFirst This property is required. String
First name.
nameLast This property is required. String
Last name.
phone This property is required. String
Phone number.
addressMailing Address
Mailing address.
fax String
Fax number.
jobTitle String
Job title.
nameMiddle String
Middle name.
organization String
Organization contact belongs to.
email This property is required. string
Email address.
nameFirst This property is required. string
First name.
nameLast This property is required. string
Last name.
phone This property is required. string
Phone number.
addressMailing Address
Mailing address.
fax string
Fax number.
jobTitle string
Job title.
nameMiddle 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.
nameFirst This property is required. String
First name.
nameLast This property is required. String
Last name.
phone This property is required. String
Phone number.
addressMailing Property Map
Mailing address.
fax String
Fax number.
jobTitle String
Job title.
nameMiddle String
Middle name.
organization String
Organization contact belongs to.

DnsType
, DnsTypeArgs

AzureDns
AzureDns
DefaultDomainRegistrarDns
DefaultDomainRegistrarDns
DnsTypeAzureDns
AzureDns
DnsTypeDefaultDomainRegistrarDns
DefaultDomainRegistrarDns
AzureDns
AzureDns
DefaultDomainRegistrarDns
DefaultDomainRegistrarDns
AzureDns
AzureDns
DefaultDomainRegistrarDns
DefaultDomainRegistrarDns
AZURE_DNS
AzureDns
DEFAULT_DOMAIN_REGISTRAR_DNS
DefaultDomainRegistrarDns
"AzureDns"
AzureDns
"DefaultDomainRegistrarDns"
DefaultDomainRegistrarDns

DomainPurchaseConsent
, DomainPurchaseConsentArgs

AgreedAt string
Timestamp when the agreements were accepted.
AgreedBy string
Client IP address.
AgreementKeys List<string>
List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
AgreedAt string
Timestamp when the agreements were accepted.
AgreedBy string
Client IP address.
AgreementKeys []string
List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
agreedAt String
Timestamp when the agreements were accepted.
agreedBy String
Client IP address.
agreementKeys List<String>
List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.
agreedAt string
Timestamp when the agreements were accepted.
agreedBy string
Client IP address.
agreementKeys 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.
agreedAt String
Timestamp when the agreements were accepted.
agreedBy String
Client IP address.
agreementKeys List<String>
List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.

HostNameResponse
, HostNameResponseArgs

AzureResourceName string
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.
AzureResourceType string
Type of the Azure resource the hostname is assigned to.
CustomHostNameDnsRecordType string
Type of the DNS record.
HostNameType string
Type of the hostname.
Name string
Name of the hostname.
SiteNames 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.
AzureResourceName string
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.
AzureResourceType string
Type of the Azure resource the hostname is assigned to.
CustomHostNameDnsRecordType string
Type of the DNS record.
HostNameType string
Type of the hostname.
Name string
Name of the hostname.
SiteNames []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.
azureResourceName String
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.
azureResourceType String
Type of the Azure resource the hostname is assigned to.
customHostNameDnsRecordType String
Type of the DNS record.
hostNameType String
Type of the hostname.
name String
Name of the hostname.
siteNames 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.
azureResourceName string
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.
azureResourceType string
Type of the Azure resource the hostname is assigned to.
customHostNameDnsRecordType string
Type of the DNS record.
hostNameType string
Type of the hostname.
name string
Name of the hostname.
siteNames 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_name str
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
Type of the Azure resource the hostname is assigned to.
custom_host_name_dns_record_type str
Type of the DNS record.
host_name_type str
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.
azureResourceName String
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.
azureResourceType String
Type of the Azure resource the hostname is assigned to.
customHostNameDnsRecordType String
Type of the DNS record.
hostNameType String
Type of the hostname.
name String
Name of the hostname.
siteNames 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} 
Copy

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
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi