Fork me on GitHub

Module dns

@pulumi/azure > dns

Index

dns/aRecord.ts dns/aaaaRecord.ts dns/cNameRecord.ts dns/caaRecord.ts dns/getZone.ts dns/mxRecord.ts dns/nsRecord.ts dns/ptrRecord.ts dns/srvRecord.ts dns/txtRecord.ts dns/zone.ts

class ARecord

Enables you to manage DNS A Records within Azure DNS.

constructor

new ARecord(name: string, args: ARecordArgs, opts?: pulumi.CustomResourceOptions)

Create a ARecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ARecordState): ARecord

Get an existing ARecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS A Record.

property records

public records: pulumi.Output<string[]>;

List of IPv4 Addresses.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class AaaaRecord

Enables you to manage DNS AAAA Records within Azure DNS.

constructor

new AaaaRecord(name: string, args: AaaaRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a AaaaRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AaaaRecordState): AaaaRecord

Get an existing AaaaRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS AAAA Record.

property records

public records: pulumi.Output<string[]>;

List of IPv6 Addresses.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class CNameRecord

Enables you to manage DNS CNAME Records within Azure DNS.

constructor

new CNameRecord(name: string, args: CNameRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a CNameRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CNameRecordState): CNameRecord

Get an existing CNameRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS CNAME Record.

property record

public record: pulumi.Output<string>;

The target of the CNAME.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class CaaRecord

Enables you to manage DNS CAA Records within Azure DNS.

constructor

new CaaRecord(name: string, args: CaaRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a CaaRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CaaRecordState): CaaRecord

Get an existing CaaRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS CAA Record.

property records

public records: pulumi.Output<{ ... }[]>;

A list of values that make up the CAA record. Each record block supports fields documented below.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class MxRecord

Enables you to manage DNS MX Records within Azure DNS.

constructor

new MxRecord(name: string, args: MxRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a MxRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MxRecordState): MxRecord

Get an existing MxRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS MX Record.

property records

public records: pulumi.Output<{ ... }[]>;

A list of values that make up the MX record. Each record block supports fields documented below.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class NsRecord

Enables you to manage DNS NS Records within Azure DNS.

constructor

new NsRecord(name: string, args: NsRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a NsRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NsRecordState): NsRecord

Get an existing NsRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS NS Record.

property record

public record: pulumi.Output<{ ... }[]>;

A list of values that make up the NS record. Each record block supports fields documented below. This field has been deprecated and will be removed in a future release.

property records

public records: pulumi.Output<string[]>;

A list of values that make up the NS record. WARNING: Either records or record is required.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class PtrRecord

Enables you to manage DNS PTR Records within Azure DNS.

constructor

new PtrRecord(name: string, args: PtrRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a PtrRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PtrRecordState): PtrRecord

Get an existing PtrRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS PTR Record.

property records

public records: pulumi.Output<string[]>;

List of Fully Qualified Domain Names.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class SrvRecord

Enables you to manage DNS SRV Records within Azure DNS.

constructor

new SrvRecord(name: string, args: SrvRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a SrvRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SrvRecordState): SrvRecord

Get an existing SrvRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS SRV Record.

property records

public records: pulumi.Output<{ ... }[]>;

A list of values that make up the SRV record. Each record block supports fields documented below.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class TxtRecord

Enables you to manage DNS TXT Records within Azure DNS.

constructor

new TxtRecord(name: string, args: TxtRecordArgs, opts?: pulumi.CustomResourceOptions)

Create a TxtRecord resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TxtRecordState): TxtRecord

Get an existing TxtRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the DNS TXT Record.

property records

public records: pulumi.Output<{ ... }[]>;

A list of values that make up the txt record. Each record block supports fields documented below.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

public ttl: pulumi.Output<number>;

The Time To Live (TTL) of the DNS record.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneName

public zoneName: pulumi.Output<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

class Zone

Enables you to manage DNS zones within Azure DNS. These zones are hosted on Azure’s name servers to which you can delegate the zone from the parent domain.

constructor

new Zone(name: string, args: ZoneArgs, opts?: pulumi.CustomResourceOptions)

Create a Zone resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZoneState): Zone

Get an existing Zone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property maxNumberOfRecordSets

public maxNumberOfRecordSets: pulumi.Output<string>;

(Optional) Maximum number of Records in the zone. Defaults to 1000.

property name

public name: pulumi.Output<string>;

The name of the DNS Zone. Must be a valid domain name.

property nameServers

public nameServers: pulumi.Output<string[]>;

(Optional) A list of values that make up the NS record for the zone.

property numberOfRecordSets

public numberOfRecordSets: pulumi.Output<string>;

(Optional) The number of records already in the zone.

property registrationVirtualNetworkIds

public registrationVirtualNetworkIds: pulumi.Output<string[] | undefined>;

A list of Virtual Network ID’s that register hostnames in this DNS zone. This field can only be set when zone_type is set to Private.

property resolutionVirtualNetworkIds

public resolutionVirtualNetworkIds: pulumi.Output<string[] | undefined>;

A list of Virtual Network ID’s that resolve records in this DNS zone. This field can only be set when zone_type is set to Private.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zoneType

public zoneType: pulumi.Output<string | undefined>;

Specifies the type of this DNS zone. Possible values are Public or Private (Defaults to Public).

function getZone

getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>

Use this data source to obtain information about a DNS Zone.

interface ARecordArgs

The set of arguments for constructing a ARecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS A Record.

property records

records: pulumi.Input<pulumi.Input<string>[]>;

List of IPv4 Addresses.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface ARecordState

Input properties used for looking up and filtering ARecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS A Record.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

List of IPv4 Addresses.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface AaaaRecordArgs

The set of arguments for constructing a AaaaRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS AAAA Record.

property records

records: pulumi.Input<pulumi.Input<string>[]>;

List of IPv6 Addresses.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface AaaaRecordState

Input properties used for looking up and filtering AaaaRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS AAAA Record.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

List of IPv6 Addresses.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface CNameRecordArgs

The set of arguments for constructing a CNameRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS CNAME Record.

property record

record: pulumi.Input<string>;

The target of the CNAME.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface CNameRecordState

Input properties used for looking up and filtering CNameRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS CNAME Record.

property record

record?: pulumi.Input<string>;

The target of the CNAME.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface CaaRecordArgs

The set of arguments for constructing a CaaRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS CAA Record.

property records

records: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the CAA record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface CaaRecordState

Input properties used for looking up and filtering CaaRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS CAA Record.

property records

records?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the CAA record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface GetZoneArgs

A collection of arguments for invoking getZone.

property name

name: string;

The name of the DNS Zone.

property resourceGroupName

resourceGroupName?: string;

The Name of the Resource Group where the DNS Zone exists. If the Name of the Resource Group is not provided, the first DNS Zone from the list of DNS Zones in your subscription that matches name will be returned.

interface GetZoneResult

A collection of values returned by getZone.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property maxNumberOfRecordSets

maxNumberOfRecordSets: string;

Maximum number of Records in the zone.

property nameServers

nameServers: string[];

A list of values that make up the NS record for the zone.

property numberOfRecordSets

numberOfRecordSets: string;

The number of records already in the zone.

property registrationVirtualNetworkIds

registrationVirtualNetworkIds: string[];

A list of Virtual Network ID’s that register hostnames in this DNS zone.

property resolutionVirtualNetworkIds

resolutionVirtualNetworkIds: string[];

A list of Virtual Network ID’s that resolve records in this DNS zone.

property resourceGroupName

resourceGroupName: string;

property tags

tags: { ... };

A mapping of tags to assign to the EventHub Namespace.

property zoneType

zoneType: string;

The type of this DNS zone, such as Public or Private.

interface MxRecordArgs

The set of arguments for constructing a MxRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS MX Record.

property records

records: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the MX record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface MxRecordState

Input properties used for looking up and filtering MxRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS MX Record.

property records

records?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the MX record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface NsRecordArgs

The set of arguments for constructing a NsRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS NS Record.

property record

record?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the NS record. Each record block supports fields documented below. This field has been deprecated and will be removed in a future release.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

A list of values that make up the NS record. WARNING: Either records or record is required.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface NsRecordState

Input properties used for looking up and filtering NsRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS NS Record.

property record

record?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the NS record. Each record block supports fields documented below. This field has been deprecated and will be removed in a future release.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

A list of values that make up the NS record. WARNING: Either records or record is required.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface PtrRecordArgs

The set of arguments for constructing a PtrRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS PTR Record.

property records

records: pulumi.Input<pulumi.Input<string>[]>;

List of Fully Qualified Domain Names.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface PtrRecordState

Input properties used for looking up and filtering PtrRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS PTR Record.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

List of Fully Qualified Domain Names.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface SrvRecordArgs

The set of arguments for constructing a SrvRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS SRV Record.

property records

records: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the SRV record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface SrvRecordState

Input properties used for looking up and filtering SrvRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS SRV Record.

property records

records?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the SRV record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface TxtRecordArgs

The set of arguments for constructing a TxtRecord resource.

property name

name?: pulumi.Input<string>;

The name of the DNS TXT Record.

property records

records: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the txt record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface TxtRecordState

Input properties used for looking up and filtering TxtRecord resources.

property name

name?: pulumi.Input<string>;

The name of the DNS TXT Record.

property records

records?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A list of values that make up the txt record. Each record block supports fields documented below.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property ttl

ttl?: pulumi.Input<number>;

The Time To Live (TTL) of the DNS record.

property zoneName

zoneName?: pulumi.Input<string>;

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

interface ZoneArgs

The set of arguments for constructing a Zone resource.

property name

name?: pulumi.Input<string>;

The name of the DNS Zone. Must be a valid domain name.

property registrationVirtualNetworkIds

registrationVirtualNetworkIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of Virtual Network ID’s that register hostnames in this DNS zone. This field can only be set when zone_type is set to Private.

property resolutionVirtualNetworkIds

resolutionVirtualNetworkIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of Virtual Network ID’s that resolve records in this DNS zone. This field can only be set when zone_type is set to Private.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property zoneType

zoneType?: pulumi.Input<string>;

Specifies the type of this DNS zone. Possible values are Public or Private (Defaults to Public).

interface ZoneState

Input properties used for looking up and filtering Zone resources.

property maxNumberOfRecordSets

maxNumberOfRecordSets?: pulumi.Input<string>;

(Optional) Maximum number of Records in the zone. Defaults to 1000.

property name

name?: pulumi.Input<string>;

The name of the DNS Zone. Must be a valid domain name.

property nameServers

nameServers?: pulumi.Input<pulumi.Input<string>[]>;

(Optional) A list of values that make up the NS record for the zone.

property numberOfRecordSets

numberOfRecordSets?: pulumi.Input<string>;

(Optional) The number of records already in the zone.

property registrationVirtualNetworkIds

registrationVirtualNetworkIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of Virtual Network ID’s that register hostnames in this DNS zone. This field can only be set when zone_type is set to Private.

property resolutionVirtualNetworkIds

resolutionVirtualNetworkIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of Virtual Network ID’s that resolve records in this DNS zone. This field can only be set when zone_type is set to Private.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property zoneType

zoneType?: pulumi.Input<string>;

Specifies the type of this DNS zone. Possible values are Public or Private (Defaults to Public).