1. Packages
  2. Azure Native
  3. API Docs
  4. dns
  5. Zone
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.dns.Zone

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Describes a DNS zone.

    Uses Azure REST API version 2023-07-01-preview.

    Other available API versions: 2015-05-04-preview, 2016-04-01, 2017-09-01, 2017-10-01, 2018-03-01-preview, 2018-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dns [ApiVersion]. See the version guide for details.

    Example Usage

    Create zone

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var zone = new AzureNative.Dns.Zone("zone", new()
        {
            Location = "Global",
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "value1" },
            },
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewZone(ctx, "zone", &dns.ZoneArgs{
    			Location:          pulumi.String("Global"),
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.Zone;
    import com.pulumi.azurenative.dns.ZoneArgs;
    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 zone = new Zone("zone", ZoneArgs.builder()
                .location("Global")
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "value1"))
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const zone = new azure_native.dns.Zone("zone", {
        location: "Global",
        resourceGroupName: "rg1",
        tags: {
            key1: "value1",
        },
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    zone = azure_native.dns.Zone("zone",
        location="Global",
        resource_group_name="rg1",
        tags={
            "key1": "value1",
        },
        zone_name="zone1")
    
    resources:
      zone:
        type: azure-native:dns:Zone
        properties:
          location: Global
          resourceGroupName: rg1
          tags:
            key1: value1
          zoneName: zone1
    

    Create Zone Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
    @overload
    def Zone(resource_name: str,
             args: ZoneArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Zone(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             resource_group_name: Optional[str] = None,
             location: Optional[str] = None,
             registration_virtual_networks: Optional[Sequence[SubResourceArgs]] = None,
             resolution_virtual_networks: Optional[Sequence[SubResourceArgs]] = None,
             tags: Optional[Mapping[str, str]] = None,
             zone_name: Optional[str] = None,
             zone_type: Optional[ZoneType] = None)
    func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
    public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
    public Zone(String name, ZoneArgs args)
    public Zone(String name, ZoneArgs args, CustomResourceOptions options)
    
    type: azure-native:dns:Zone
    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 ZoneArgs
    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 ZoneArgs
    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 ZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneArgs
    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 zoneResource = new AzureNative.Dns.Zone("zoneResource", new()
    {
        ResourceGroupName = "string",
        Location = "string",
        RegistrationVirtualNetworks = new[]
        {
            new AzureNative.Dns.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        ResolutionVirtualNetworks = new[]
        {
            new AzureNative.Dns.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        ZoneName = "string",
        ZoneType = AzureNative.Dns.ZoneType.Public,
    });
    
    example, err := dns.NewZone(ctx, "zoneResource", &dns.ZoneArgs{
    	ResourceGroupName: pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	RegistrationVirtualNetworks: dns.SubResourceArray{
    		&dns.SubResourceArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	ResolutionVirtualNetworks: dns.SubResourceArray{
    		&dns.SubResourceArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ZoneName: pulumi.String("string"),
    	ZoneType: dns.ZoneTypePublic,
    })
    
    var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
        .resourceGroupName("string")
        .location("string")
        .registrationVirtualNetworks(SubResourceArgs.builder()
            .id("string")
            .build())
        .resolutionVirtualNetworks(SubResourceArgs.builder()
            .id("string")
            .build())
        .tags(Map.of("string", "string"))
        .zoneName("string")
        .zoneType("Public")
        .build());
    
    zone_resource = azure_native.dns.Zone("zoneResource",
        resource_group_name="string",
        location="string",
        registration_virtual_networks=[{
            "id": "string",
        }],
        resolution_virtual_networks=[{
            "id": "string",
        }],
        tags={
            "string": "string",
        },
        zone_name="string",
        zone_type=azure_native.dns.ZoneType.PUBLIC)
    
    const zoneResource = new azure_native.dns.Zone("zoneResource", {
        resourceGroupName: "string",
        location: "string",
        registrationVirtualNetworks: [{
            id: "string",
        }],
        resolutionVirtualNetworks: [{
            id: "string",
        }],
        tags: {
            string: "string",
        },
        zoneName: "string",
        zoneType: azure_native.dns.ZoneType.Public,
    });
    
    type: azure-native:dns:Zone
    properties:
        location: string
        registrationVirtualNetworks:
            - id: string
        resolutionVirtualNetworks:
            - id: string
        resourceGroupName: string
        tags:
            string: string
        zoneName: string
        zoneType: Public
    

    Zone 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 Zone resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Location string
    Resource location.
    RegistrationVirtualNetworks List<Pulumi.AzureNative.Dns.Inputs.SubResource>
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    ResolutionVirtualNetworks List<Pulumi.AzureNative.Dns.Inputs.SubResource>
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    Tags Dictionary<string, string>
    Resource tags.
    ZoneName string
    The name of the DNS zone (without a terminating dot).
    ZoneType Pulumi.AzureNative.Dns.ZoneType
    The type of this DNS zone (Public or Private).
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Location string
    Resource location.
    RegistrationVirtualNetworks []SubResourceArgs
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    ResolutionVirtualNetworks []SubResourceArgs
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    Tags map[string]string
    Resource tags.
    ZoneName string
    The name of the DNS zone (without a terminating dot).
    ZoneType ZoneType
    The type of this DNS zone (Public or Private).
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    location String
    Resource location.
    registrationVirtualNetworks List<SubResource>
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    resolutionVirtualNetworks List<SubResource>
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    tags Map<String,String>
    Resource tags.
    zoneName String
    The name of the DNS zone (without a terminating dot).
    zoneType ZoneType
    The type of this DNS zone (Public or Private).
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    location string
    Resource location.
    registrationVirtualNetworks SubResource[]
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    resolutionVirtualNetworks SubResource[]
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    tags {[key: string]: string}
    Resource tags.
    zoneName string
    The name of the DNS zone (without a terminating dot).
    zoneType ZoneType
    The type of this DNS zone (Public or Private).
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    location str
    Resource location.
    registration_virtual_networks Sequence[SubResourceArgs]
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    resolution_virtual_networks Sequence[SubResourceArgs]
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    tags Mapping[str, str]
    Resource tags.
    zone_name str
    The name of the DNS zone (without a terminating dot).
    zone_type ZoneType
    The type of this DNS zone (Public or Private).
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    location String
    Resource location.
    registrationVirtualNetworks List<Property Map>
    A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    resolutionVirtualNetworks List<Property Map>
    A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
    tags Map<String>
    Resource tags.
    zoneName String
    The name of the DNS zone (without a terminating dot).
    zoneType "Public" | "Private"
    The type of this DNS zone (Public or Private).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    MaxNumberOfRecordSets double
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    MaxNumberOfRecordsPerRecordSet double
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    Name string
    Resource name.
    NameServers List<string>
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    NumberOfRecordSets double
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    SigningKeys List<Pulumi.AzureNative.Dns.Outputs.SigningKeyResponse>
    The list of signing keys.
    SystemData Pulumi.AzureNative.Dns.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    Etag string
    The etag of the zone.
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    MaxNumberOfRecordSets float64
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    MaxNumberOfRecordsPerRecordSet float64
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    Name string
    Resource name.
    NameServers []string
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    NumberOfRecordSets float64
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    SigningKeys []SigningKeyResponse
    The list of signing keys.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    Etag string
    The etag of the zone.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    maxNumberOfRecordSets Double
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    maxNumberOfRecordsPerRecordSet Double
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    name String
    Resource name.
    nameServers List<String>
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    numberOfRecordSets Double
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    signingKeys List<SigningKeyResponse>
    The list of signing keys.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    Resource type.
    etag String
    The etag of the zone.
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    maxNumberOfRecordSets number
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    maxNumberOfRecordsPerRecordSet number
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    name string
    Resource name.
    nameServers string[]
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    numberOfRecordSets number
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    signingKeys SigningKeyResponse[]
    The list of signing keys.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    Resource type.
    etag string
    The etag of the zone.
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    max_number_of_record_sets float
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    max_number_of_records_per_record_set float
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    name str
    Resource name.
    name_servers Sequence[str]
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    number_of_record_sets float
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    signing_keys Sequence[SigningKeyResponse]
    The list of signing keys.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    Resource type.
    etag str
    The etag of the zone.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    maxNumberOfRecordSets Number
    The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    maxNumberOfRecordsPerRecordSet Number
    The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    name String
    Resource name.
    nameServers List<String>
    The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    numberOfRecordSets Number
    The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
    signingKeys List<Property Map>
    The list of signing keys.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    Resource type.
    etag String
    The etag of the zone.

    Supporting Types

    DelegationSignerInfoResponse, DelegationSignerInfoResponseArgs

    DigestAlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    DigestValue string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    Record string
    The record represents a delegation signer (DS) record.
    DigestAlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    DigestValue string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    Record string
    The record represents a delegation signer (DS) record.
    digestAlgorithmType Integer
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    digestValue String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    record String
    The record represents a delegation signer (DS) record.
    digestAlgorithmType number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    digestValue string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    record string
    The record represents a delegation signer (DS) record.
    digest_algorithm_type int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    digest_value str
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    record str
    The record represents a delegation signer (DS) record.
    digestAlgorithmType Number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    digestValue String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    record String
    The record represents a delegation signer (DS) record.

    SigningKeyResponse, SigningKeyResponseArgs

    DelegationSignerInfo List<Pulumi.AzureNative.Dns.Inputs.DelegationSignerInfoResponse>
    The delegation signer information.
    Flags int
    The flags specifies how the key is used.
    KeyTag int
    The key tag value of the DNSKEY Resource Record.
    Protocol int
    The protocol value. The value is always 3.
    PublicKey string
    The public key, represented as a Base64 encoding.
    SecurityAlgorithmType int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    DelegationSignerInfo []DelegationSignerInfoResponse
    The delegation signer information.
    Flags int
    The flags specifies how the key is used.
    KeyTag int
    The key tag value of the DNSKEY Resource Record.
    Protocol int
    The protocol value. The value is always 3.
    PublicKey string
    The public key, represented as a Base64 encoding.
    SecurityAlgorithmType int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    delegationSignerInfo List<DelegationSignerInfoResponse>
    The delegation signer information.
    flags Integer
    The flags specifies how the key is used.
    keyTag Integer
    The key tag value of the DNSKEY Resource Record.
    protocol Integer
    The protocol value. The value is always 3.
    publicKey String
    The public key, represented as a Base64 encoding.
    securityAlgorithmType Integer
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    delegationSignerInfo DelegationSignerInfoResponse[]
    The delegation signer information.
    flags number
    The flags specifies how the key is used.
    keyTag number
    The key tag value of the DNSKEY Resource Record.
    protocol number
    The protocol value. The value is always 3.
    publicKey string
    The public key, represented as a Base64 encoding.
    securityAlgorithmType number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    delegation_signer_info Sequence[DelegationSignerInfoResponse]
    The delegation signer information.
    flags int
    The flags specifies how the key is used.
    key_tag int
    The key tag value of the DNSKEY Resource Record.
    protocol int
    The protocol value. The value is always 3.
    public_key str
    The public key, represented as a Base64 encoding.
    security_algorithm_type int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    delegationSignerInfo List<Property Map>
    The delegation signer information.
    flags Number
    The flags specifies how the key is used.
    keyTag Number
    The key tag value of the DNSKEY Resource Record.
    protocol Number
    The protocol value. The value is always 3.
    publicKey String
    The public key, represented as a Base64 encoding.
    securityAlgorithmType Number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml

    SubResource, SubResourceArgs

    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id str
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    SubResourceResponse, SubResourceResponseArgs

    Id string
    Resource Id.
    Id string
    Resource Id.
    id String
    Resource Id.
    id string
    Resource Id.
    id str
    Resource Id.
    id String
    Resource Id.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    ZoneType, ZoneTypeArgs

    Public
    Public
    Private
    Private
    ZoneTypePublic
    Public
    ZoneTypePrivate
    Private
    Public
    Public
    Private
    Private
    Public
    Public
    Private
    Private
    PUBLIC
    Public
    PRIVATE
    Private
    "Public"
    Public
    "Private"
    Private

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:dns:Zone zone1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi