Module dns

dns

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.
class pulumi_azure.dns.ARecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS A Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS A Record.
  • records (pulumi.Input[list]) – List of IPv4 Addresses.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS A Record.

records = None

List of IPv4 Addresses.

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing ARecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS A Record. :param pulumi.Input[list] records: List of IPv4 Addresses. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.AaaaRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS AAAA Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS AAAA Record.
  • records (pulumi.Input[list]) – List of IPv6 Addresses.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS AAAA Record.

records = None

List of IPv6 Addresses.

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing AaaaRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS AAAA Record. :param pulumi.Input[list] records: List of IPv6 Addresses. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.AwaitableGetZoneResult(max_number_of_record_sets=None, name=None, name_servers=None, number_of_record_sets=None, registration_virtual_network_ids=None, resolution_virtual_network_ids=None, resource_group_name=None, tags=None, zone_type=None, id=None)
class pulumi_azure.dns.CNameRecord(resource_name, opts=None, name=None, record=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS CNAME Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS CNAME Record.
  • record (pulumi.Input[str]) – The target of the CNAME.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS CNAME Record.

record = None

The target of the CNAME.

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

zone_name = None

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

static get(resource_name, id, opts=None, name=None, record=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing CNameRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS CNAME Record. :param pulumi.Input[str] record: The target of the CNAME. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.CaaRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS CAA Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS CAA Record.
  • records (pulumi.Input[list]) – A list of values that make up the CAA record. Each record block supports fields documented below.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS CAA Record.

records = None

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

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing CaaRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS CAA Record. :param pulumi.Input[list] records: A list of values that make up the CAA record. Each record block supports fields documented below. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.GetZoneResult(max_number_of_record_sets=None, name=None, name_servers=None, number_of_record_sets=None, registration_virtual_network_ids=None, resolution_virtual_network_ids=None, resource_group_name=None, tags=None, zone_type=None, id=None)

A collection of values returned by getZone.

max_number_of_record_sets = None

Maximum number of Records in the zone.

name_servers = None

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

number_of_record_sets = None

The number of records already in the zone.

registration_virtual_network_ids = None

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

resolution_virtual_network_ids = None

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

tags = None

A mapping of tags to assign to the EventHub Namespace.

zone_type = None

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

id = None

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

class pulumi_azure.dns.MxRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS MX Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS MX Record.
  • records (pulumi.Input[list]) – A list of values that make up the MX record. Each record block supports fields documented below.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS MX Record.

records = None

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

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing MxRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS MX Record. :param pulumi.Input[list] records: A list of values that make up the MX record. Each record block supports fields documented below. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.NsRecord(resource_name, opts=None, name=None, record=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS NS Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS NS Record.
  • record (pulumi.Input[list]) – 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.
  • records (pulumi.Input[list]) – A list of values that make up the NS record. WARNING: Either records or record is required.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS NS Record.

record = None

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.

records = None

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

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, record=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing NsRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS NS Record. :param pulumi.Input[list] record: 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. :param pulumi.Input[list] records: A list of values that make up the NS record. WARNING: Either records or record is required. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.PtrRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS PTR Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS PTR Record.
  • records (pulumi.Input[list]) – List of Fully Qualified Domain Names.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS PTR Record.

records = None

List of Fully Qualified Domain Names.

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing PtrRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS PTR Record. :param pulumi.Input[list] records: List of Fully Qualified Domain Names. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.SrvRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS SRV Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS SRV Record.
  • records (pulumi.Input[list]) – A list of values that make up the SRV record. Each record block supports fields documented below.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS SRV Record.

records = None

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

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing SrvRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS SRV Record. :param pulumi.Input[list] records: A list of values that make up the SRV record. Each record block supports fields documented below. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.TxtRecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage DNS TXT Records within Azure DNS.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS TXT Record.
  • records (pulumi.Input[list]) – A list of values that make up the txt record. Each record block supports fields documented below.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • ttl (pulumi.Input[float]) – The Time To Live (TTL) of the DNS record in seconds.
  • zone_name (pulumi.Input[str]) – Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.
name = None

The name of the DNS TXT Record.

records = None

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

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

ttl = None

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

zone_name = None

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

static get(resource_name, id, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=None)

Get an existing TxtRecord resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: The name of the DNS TXT Record. :param pulumi.Input[list] records: A list of values that make up the txt record. Each record block supports fields documented below. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[float] ttl: The Time To Live (TTL) of the DNS record in seconds. :param pulumi.Input[str] zone_name: Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.dns.Zone(resource_name, opts=None, name=None, registration_virtual_network_ids=None, resolution_virtual_network_ids=None, resource_group_name=None, tags=None, zone_type=None, __props__=None, __name__=None, __opts__=None)

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.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the DNS Zone. Must be a valid domain name.
  • registration_virtual_network_ids (pulumi.Input[list]) – 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.
  • resolution_virtual_network_ids (pulumi.Input[list]) – 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.
  • resource_group_name (pulumi.Input[str]) – Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • zone_type (pulumi.Input[str]) – Specifies the type of this DNS zone. Possible values are Public or Private (Defaults to Public).
max_number_of_record_sets = None

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

name = None

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

name_servers = None

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

number_of_record_sets = None

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

registration_virtual_network_ids = None

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.

resolution_virtual_network_ids = None

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.

resource_group_name = None

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

tags = None

A mapping of tags to assign to the resource.

zone_type = None

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

static get(resource_name, id, opts=None, max_number_of_record_sets=None, name=None, name_servers=None, number_of_record_sets=None, registration_virtual_network_ids=None, resolution_virtual_network_ids=None, resource_group_name=None, tags=None, zone_type=None)

Get an existing Zone resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[float] max_number_of_record_sets: (Optional) Maximum number of Records in the zone. Defaults to 1000. :param pulumi.Input[str] name: The name of the DNS Zone. Must be a valid domain name. :param pulumi.Input[list] name_servers: (Optional) A list of values that make up the NS record for the zone. :param pulumi.Input[float] number_of_record_sets: (Optional) The number of records already in the zone. :param pulumi.Input[list] registration_virtual_network_ids: 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. :param pulumi.Input[list] resolution_virtual_network_ids: 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. :param pulumi.Input[str] resource_group_name: Specifies the resource group where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] zone_type: Specifies the type of this DNS zone. Possible values are Public or Private (Defaults to Public).

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_azure.dns.get_zone(name=None, resource_group_name=None, opts=None)

Use this data source to access information about an existing DNS Zone.