dns

class pulumi_azure.dns.ARecord(resource_name, opts=None, name=None, records=None, resource_group_name=None, tags=None, ttl=None, zone_name=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.

:param pulumi.Input[int] ttl :param pulumi.Input[str] zone_name: 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.

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, __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.

:param pulumi.Input[int] ttl :param pulumi.Input[str] zone_name: 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.

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.CNameRecord(resource_name, opts=None, name=None, record=None, resource_group_name=None, tags=None, ttl=None, zone_name=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.

:param pulumi.Input[int] ttl :param pulumi.Input[str] zone_name: 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.

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, __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[int]) – 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.

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_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, __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[int]) – 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.

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, __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[int]) – 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.

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, __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[int]) – 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.

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, __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[int]) – 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.

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, __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[int]) – 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.

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, __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).

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)

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