azure-native.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.
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,
    });
});
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
	})
}
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());
    }
}
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: {},
});
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={})
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: {}
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 string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.DomainRegistration.Inputs.ContactArgs
    {
        Email = "string",
        NameFirst = "string",
        NameLast = "string",
        Phone = "string",
        AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
        {
            Address1 = "string",
            City = "string",
            Country = "string",
            PostalCode = "string",
            State = "string",
            Address2 = "string",
        },
        Fax = "string",
        JobTitle = "string",
        NameMiddle = "string",
        Organization = "string",
    },
    ResourceGroupName = "string",
    Consent = new AzureNative.DomainRegistration.Inputs.DomainPurchaseConsentArgs
    {
        AgreedAt = "string",
        AgreedBy = "string",
        AgreementKeys = new[]
        {
            "string",
        },
    },
    ContactAdmin = new AzureNative.DomainRegistration.Inputs.ContactArgs
    {
        Email = "string",
        NameFirst = "string",
        NameLast = "string",
        Phone = "string",
        AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
        {
            Address1 = "string",
            City = "string",
            Country = "string",
            PostalCode = "string",
            State = "string",
            Address2 = "string",
        },
        Fax = "string",
        JobTitle = "string",
        NameMiddle = "string",
        Organization = "string",
    },
    ContactBilling = new AzureNative.DomainRegistration.Inputs.ContactArgs
    {
        Email = "string",
        NameFirst = "string",
        NameLast = "string",
        Phone = "string",
        AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
        {
            Address1 = "string",
            City = "string",
            Country = "string",
            PostalCode = "string",
            State = "string",
            Address2 = "string",
        },
        Fax = "string",
        JobTitle = "string",
        NameMiddle = "string",
        Organization = "string",
    },
    ContactRegistrant = new AzureNative.DomainRegistration.Inputs.ContactArgs
    {
        Email = "string",
        NameFirst = "string",
        NameLast = "string",
        Phone = "string",
        AddressMailing = new AzureNative.DomainRegistration.Inputs.AddressArgs
        {
            Address1 = "string",
            City = "string",
            Country = "string",
            PostalCode = "string",
            State = "string",
            Address2 = "string",
        },
        Fax = "string",
        JobTitle = "string",
        NameMiddle = "string",
        Organization = "string",
    },
    DnsZoneId = "string",
    DnsType = AzureNative.DomainRegistration.DnsType.AzureDns,
    AuthCode = "string",
    DomainName = "string",
    Kind = "string",
    Location = "string",
    Privacy = false,
    AutoRenew = false,
    Tags = 
    {
        { "string", "string" },
    },
    TargetDnsType = AzureNative.DomainRegistration.DnsType.AzureDns,
});
example, err := domainregistration.NewDomain(ctx, "azure-nativeDomainResource", &domainregistration.DomainArgs{
	ContactTech: &domainregistration.ContactArgs{
		Email:     pulumi.String("string"),
		NameFirst: pulumi.String("string"),
		NameLast:  pulumi.String("string"),
		Phone:     pulumi.String("string"),
		AddressMailing: &domainregistration.AddressArgs{
			Address1:   pulumi.String("string"),
			City:       pulumi.String("string"),
			Country:    pulumi.String("string"),
			PostalCode: pulumi.String("string"),
			State:      pulumi.String("string"),
			Address2:   pulumi.String("string"),
		},
		Fax:          pulumi.String("string"),
		JobTitle:     pulumi.String("string"),
		NameMiddle:   pulumi.String("string"),
		Organization: pulumi.String("string"),
	},
	ResourceGroupName: pulumi.String("string"),
	Consent: &domainregistration.DomainPurchaseConsentArgs{
		AgreedAt: pulumi.String("string"),
		AgreedBy: pulumi.String("string"),
		AgreementKeys: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	ContactAdmin: &domainregistration.ContactArgs{
		Email:     pulumi.String("string"),
		NameFirst: pulumi.String("string"),
		NameLast:  pulumi.String("string"),
		Phone:     pulumi.String("string"),
		AddressMailing: &domainregistration.AddressArgs{
			Address1:   pulumi.String("string"),
			City:       pulumi.String("string"),
			Country:    pulumi.String("string"),
			PostalCode: pulumi.String("string"),
			State:      pulumi.String("string"),
			Address2:   pulumi.String("string"),
		},
		Fax:          pulumi.String("string"),
		JobTitle:     pulumi.String("string"),
		NameMiddle:   pulumi.String("string"),
		Organization: pulumi.String("string"),
	},
	ContactBilling: &domainregistration.ContactArgs{
		Email:     pulumi.String("string"),
		NameFirst: pulumi.String("string"),
		NameLast:  pulumi.String("string"),
		Phone:     pulumi.String("string"),
		AddressMailing: &domainregistration.AddressArgs{
			Address1:   pulumi.String("string"),
			City:       pulumi.String("string"),
			Country:    pulumi.String("string"),
			PostalCode: pulumi.String("string"),
			State:      pulumi.String("string"),
			Address2:   pulumi.String("string"),
		},
		Fax:          pulumi.String("string"),
		JobTitle:     pulumi.String("string"),
		NameMiddle:   pulumi.String("string"),
		Organization: pulumi.String("string"),
	},
	ContactRegistrant: &domainregistration.ContactArgs{
		Email:     pulumi.String("string"),
		NameFirst: pulumi.String("string"),
		NameLast:  pulumi.String("string"),
		Phone:     pulumi.String("string"),
		AddressMailing: &domainregistration.AddressArgs{
			Address1:   pulumi.String("string"),
			City:       pulumi.String("string"),
			Country:    pulumi.String("string"),
			PostalCode: pulumi.String("string"),
			State:      pulumi.String("string"),
			Address2:   pulumi.String("string"),
		},
		Fax:          pulumi.String("string"),
		JobTitle:     pulumi.String("string"),
		NameMiddle:   pulumi.String("string"),
		Organization: pulumi.String("string"),
	},
	DnsZoneId:  pulumi.String("string"),
	DnsType:    domainregistration.DnsTypeAzureDns,
	AuthCode:   pulumi.String("string"),
	DomainName: pulumi.String("string"),
	Kind:       pulumi.String("string"),
	Location:   pulumi.String("string"),
	Privacy:    pulumi.Bool(false),
	AutoRenew:  pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TargetDnsType: domainregistration.DnsTypeAzureDns,
})
var azure_nativeDomainResource = new Domain("azure-nativeDomainResource", DomainArgs.builder()
    .contactTech(ContactArgs.builder()
        .email("string")
        .nameFirst("string")
        .nameLast("string")
        .phone("string")
        .addressMailing(AddressArgs.builder()
            .address1("string")
            .city("string")
            .country("string")
            .postalCode("string")
            .state("string")
            .address2("string")
            .build())
        .fax("string")
        .jobTitle("string")
        .nameMiddle("string")
        .organization("string")
        .build())
    .resourceGroupName("string")
    .consent(DomainPurchaseConsentArgs.builder()
        .agreedAt("string")
        .agreedBy("string")
        .agreementKeys("string")
        .build())
    .contactAdmin(ContactArgs.builder()
        .email("string")
        .nameFirst("string")
        .nameLast("string")
        .phone("string")
        .addressMailing(AddressArgs.builder()
            .address1("string")
            .city("string")
            .country("string")
            .postalCode("string")
            .state("string")
            .address2("string")
            .build())
        .fax("string")
        .jobTitle("string")
        .nameMiddle("string")
        .organization("string")
        .build())
    .contactBilling(ContactArgs.builder()
        .email("string")
        .nameFirst("string")
        .nameLast("string")
        .phone("string")
        .addressMailing(AddressArgs.builder()
            .address1("string")
            .city("string")
            .country("string")
            .postalCode("string")
            .state("string")
            .address2("string")
            .build())
        .fax("string")
        .jobTitle("string")
        .nameMiddle("string")
        .organization("string")
        .build())
    .contactRegistrant(ContactArgs.builder()
        .email("string")
        .nameFirst("string")
        .nameLast("string")
        .phone("string")
        .addressMailing(AddressArgs.builder()
            .address1("string")
            .city("string")
            .country("string")
            .postalCode("string")
            .state("string")
            .address2("string")
            .build())
        .fax("string")
        .jobTitle("string")
        .nameMiddle("string")
        .organization("string")
        .build())
    .dnsZoneId("string")
    .dnsType("AzureDns")
    .authCode("string")
    .domainName("string")
    .kind("string")
    .location("string")
    .privacy(false)
    .autoRenew(false)
    .tags(Map.of("string", "string"))
    .targetDnsType("AzureDns")
    .build());
azure_native_domain_resource = azure_native.domainregistration.Domain("azure-nativeDomainResource",
    contact_tech={
        "email": "string",
        "name_first": "string",
        "name_last": "string",
        "phone": "string",
        "address_mailing": {
            "address1": "string",
            "city": "string",
            "country": "string",
            "postal_code": "string",
            "state": "string",
            "address2": "string",
        },
        "fax": "string",
        "job_title": "string",
        "name_middle": "string",
        "organization": "string",
    },
    resource_group_name="string",
    consent={
        "agreed_at": "string",
        "agreed_by": "string",
        "agreement_keys": ["string"],
    },
    contact_admin={
        "email": "string",
        "name_first": "string",
        "name_last": "string",
        "phone": "string",
        "address_mailing": {
            "address1": "string",
            "city": "string",
            "country": "string",
            "postal_code": "string",
            "state": "string",
            "address2": "string",
        },
        "fax": "string",
        "job_title": "string",
        "name_middle": "string",
        "organization": "string",
    },
    contact_billing={
        "email": "string",
        "name_first": "string",
        "name_last": "string",
        "phone": "string",
        "address_mailing": {
            "address1": "string",
            "city": "string",
            "country": "string",
            "postal_code": "string",
            "state": "string",
            "address2": "string",
        },
        "fax": "string",
        "job_title": "string",
        "name_middle": "string",
        "organization": "string",
    },
    contact_registrant={
        "email": "string",
        "name_first": "string",
        "name_last": "string",
        "phone": "string",
        "address_mailing": {
            "address1": "string",
            "city": "string",
            "country": "string",
            "postal_code": "string",
            "state": "string",
            "address2": "string",
        },
        "fax": "string",
        "job_title": "string",
        "name_middle": "string",
        "organization": "string",
    },
    dns_zone_id="string",
    dns_type=azure_native.domainregistration.DnsType.AZURE_DNS,
    auth_code="string",
    domain_name="string",
    kind="string",
    location="string",
    privacy=False,
    auto_renew=False,
    tags={
        "string": "string",
    },
    target_dns_type=azure_native.domainregistration.DnsType.AZURE_DNS)
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: azure_native.domainregistration.DnsType.AzureDns,
    authCode: "string",
    domainName: "string",
    kind: "string",
    location: "string",
    privacy: false,
    autoRenew: false,
    tags: {
        string: "string",
    },
    targetDnsType: azure_native.domainregistration.DnsType.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
Pulumi.Azure Native. Domain Registration. Inputs. Domain Purchase Consent 
- Legal agreement consent.
- ContactAdmin Pulumi.Azure Native. Domain Registration. Inputs. Contact 
- Administrative contact.
- ContactBilling Pulumi.Azure Native. Domain Registration. Inputs. Contact 
- Billing contact.
- ContactRegistrant Pulumi.Azure Native. Domain Registration. Inputs. Contact 
- Registrant contact.
- ContactTech Pulumi.Azure Native. Domain Registration. Inputs. Contact 
- Technical contact.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- AuthCode string
- AutoRenew bool
- true if the domain should be automatically renewed; otherwise, false.
- DnsType Pulumi.Azure Native. Domain Registration. Dns Type 
- Current DNS type
- DnsZone stringId 
- Azure DNS Zone to use
- DomainName 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.
- Dictionary<string, string>
- Resource tags.
- TargetDns Pulumi.Type Azure Native. Domain Registration. Dns Type 
- Target DNS type (would be used for migration)
- Consent
DomainPurchase Consent Args 
- Legal agreement consent.
- ContactAdmin ContactArgs 
- Administrative contact.
- ContactBilling ContactArgs 
- Billing contact.
- ContactRegistrant ContactArgs 
- Registrant contact.
- ContactTech ContactArgs 
- Technical contact.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- AuthCode string
- AutoRenew bool
- true if the domain should be automatically renewed; otherwise, false.
- DnsType DnsType 
- Current DNS type
- DnsZone stringId 
- Azure DNS Zone to use
- DomainName 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.
- map[string]string
- Resource tags.
- TargetDns DnsType Type 
- Target DNS type (would be used for migration)
- consent
DomainPurchase Consent 
- Legal agreement consent.
- contactAdmin Contact
- Administrative contact.
- contactBilling Contact
- Billing contact.
- contactRegistrant Contact
- Registrant contact.
- contactTech Contact
- Technical contact.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
- authCode String
- autoRenew Boolean
- true if the domain should be automatically renewed; otherwise, false.
- dnsType DnsType 
- Current DNS type
- dnsZone StringId 
- Azure DNS Zone to use
- domainName 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.
- Map<String,String>
- Resource tags.
- targetDns DnsType Type 
- Target DNS type (would be used for migration)
- consent
DomainPurchase Consent 
- Legal agreement consent.
- contactAdmin Contact
- Administrative contact.
- contactBilling Contact
- Billing contact.
- contactRegistrant Contact
- Registrant contact.
- contactTech Contact
- Technical contact.
- resourceGroup stringName 
- Name of the resource group to which the resource belongs.
- authCode string
- autoRenew boolean
- true if the domain should be automatically renewed; otherwise, false.
- dnsType DnsType 
- Current DNS type
- dnsZone stringId 
- Azure DNS Zone to use
- domainName 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.
- {[key: string]: string}
- Resource tags.
- targetDns DnsType Type 
- Target DNS type (would be used for migration)
- consent
DomainPurchase Consent Args 
- Legal agreement consent.
- contact_admin ContactArgs 
- Administrative contact.
- contact_billing ContactArgs 
- Billing contact.
- contact_registrant ContactArgs 
- Registrant contact.
- contact_tech ContactArgs 
- Technical contact.
- resource_group_ strname 
- Name of the resource group to which the resource belongs.
- auth_code str
- 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 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.
- Mapping[str, str]
- Resource tags.
- target_dns_ Dnstype Type 
- Target DNS type (would be used for migration)
- consent Property Map
- Legal agreement consent.
- contactAdmin Property Map
- Administrative contact.
- contactBilling Property Map
- Billing contact.
- contactRegistrant Property Map
- Registrant contact.
- contactTech Property Map
- Technical contact.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
- authCode String
- autoRenew Boolean
- true if the domain should be automatically renewed; otherwise, false.
- dnsType "AzureDns" | "Default Domain Registrar Dns" 
- Current DNS type
- dnsZone StringId 
- Azure DNS Zone to use
- domainName 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.
- Map<String>
- Resource tags.
- targetDns "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:
- CreatedTime string
- Domain creation timestamp.
- DomainNot List<string>Renewable Reasons 
- Reasons why domain is not renewable.
- ExpirationTime string
- Domain expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastRenewed stringTime 
- Timestamp when the domain was renewed last time.
- ManagedHost 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.
- NameServers List<string>
- Name servers.
- ProvisioningState string
- Domain provisioning state.
- ReadyFor 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.
- RegistrationStatus string
- Domain registration status.
- Type string
- Resource type.
- CreatedTime string
- Domain creation timestamp.
- DomainNot []stringRenewable Reasons 
- Reasons why domain is not renewable.
- ExpirationTime string
- Domain expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastRenewed stringTime 
- Timestamp when the domain was renewed last time.
- ManagedHost []HostNames Name Response 
- All hostnames derived from the domain and assigned to Azure resources.
- Name string
- Resource Name.
- NameServers []string
- Name servers.
- ProvisioningState string
- Domain provisioning state.
- ReadyFor 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.
- RegistrationStatus string
- Domain registration status.
- Type string
- Resource type.
- createdTime String
- Domain creation timestamp.
- domainNot List<String>Renewable Reasons 
- Reasons why domain is not renewable.
- expirationTime String
- Domain expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- lastRenewed StringTime 
- Timestamp when the domain was renewed last time.
- managedHost List<HostNames Name Response> 
- 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.
- readyFor 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.
- registrationStatus String
- Domain registration status.
- type String
- Resource type.
- createdTime string
- Domain creation timestamp.
- domainNot string[]Renewable Reasons 
- Reasons why domain is not renewable.
- expirationTime string
- Domain expiration timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- lastRenewed stringTime 
- Timestamp when the domain was renewed last time.
- managedHost HostNames Name Response[] 
- All hostnames derived from the domain and assigned to Azure resources.
- name string
- Resource Name.
- nameServers string[]
- Name servers.
- provisioningState string
- Domain provisioning state.
- readyFor 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.
- registrationStatus 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.
- createdTime String
- Domain creation timestamp.
- domainNot List<String>Renewable Reasons 
- Reasons why domain is not renewable.
- expirationTime String
- Domain expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- lastRenewed StringTime 
- Timestamp when the domain was renewed last time.
- managedHost List<Property Map>Names 
- 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.
- readyFor 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.
- registrationStatus String
- Domain registration status.
- type String
- Resource type.
Supporting Types
Address, AddressArgs  
Contact, ContactArgs  
- Email string
- Email address.
- NameFirst string
- First name.
- NameLast string
- Last name.
- Phone string
- Phone number.
- AddressMailing Pulumi.Azure Native. Domain Registration. Inputs. Address 
- Mailing address.
- Fax string
- Fax number.
- JobTitle string
- Job title.
- NameMiddle string
- Middle name.
- Organization string
- Organization contact belongs to.
- Email string
- Email address.
- NameFirst string
- First name.
- NameLast string
- Last name.
- Phone 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 String
- Email address.
- nameFirst String
- First name.
- nameLast String
- Last name.
- phone 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 string
- Email address.
- nameFirst string
- First name.
- nameLast string
- Last name.
- phone 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 str
- Email address.
- name_first str
- First name.
- name_last str
- Last name.
- phone 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 String
- Email address.
- nameFirst String
- First name.
- nameLast String
- Last name.
- phone 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
- DefaultDomain Registrar Dns 
- DefaultDomainRegistrarDns
- DnsType Azure Dns 
- AzureDns
- DnsType Default Domain Registrar Dns 
- DefaultDomainRegistrarDns
- AzureDns 
- AzureDns
- DefaultDomain Registrar Dns 
- DefaultDomainRegistrarDns
- AzureDns 
- AzureDns
- DefaultDomain Registrar Dns 
- DefaultDomainRegistrarDns
- AZURE_DNS
- AzureDns
- DEFAULT_DOMAIN_REGISTRAR_DNS
- DefaultDomainRegistrarDns
- "AzureDns" 
- AzureDns
- "DefaultDomain Registrar Dns" 
- 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      
- AzureResource 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.
- AzureResource stringType 
- Type of the Azure resource the hostname is assigned to.
- CustomHost stringName Dns Record Type 
- Type of the DNS record.
- HostName stringType 
- 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.
- AzureResource 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.
- AzureResource stringType 
- Type of the Azure resource the hostname is assigned to.
- CustomHost stringName Dns Record Type 
- Type of the DNS record.
- HostName stringType 
- 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.
- azureResource 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.
- azureResource StringType 
- Type of the Azure resource the hostname is assigned to.
- customHost StringName Dns Record Type 
- Type of the DNS record.
- hostName StringType 
- 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.
- azureResource 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.
- azureResource stringType 
- Type of the Azure resource the hostname is assigned to.
- customHost stringName Dns Record Type 
- Type of the DNS record.
- hostName stringType 
- 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_ 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.
- azureResource 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.
- azureResource StringType 
- Type of the Azure resource the hostname is assigned to.
- customHost StringName Dns Record Type 
- Type of the DNS record.
- hostName StringType 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0