privatedns

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.privatedns.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 Private 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 Private 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 Private 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.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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 Private 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.privatedns.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 Private 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 Private 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 Private 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.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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 Private 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.privatedns.Zone(resource_name, opts=None, name=None, resource_group_name=None, tags=None, __props__=None, __name__=None, __opts__=None)

Enables you to manage Private DNS zones within Azure DNS. These zones are hosted on Azure’s name servers.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the Private DNS Zone. Must be a valid domain name.

  • 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.

max_number_of_record_sets = None

The maximum number of record sets that can be created in this Private DNS zone.

The maximum number of virtual networks that can be linked to this Private DNS zone.

The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.

name = None

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

number_of_record_sets = None

The current number of record sets in this Private DNS zone.

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.

static get(resource_name, id, opts=None, max_number_of_record_sets=None, max_number_of_virtual_network_links=None, max_number_of_virtual_network_links_with_registration=None, name=None, number_of_record_sets=None, resource_group_name=None, tags=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • max_number_of_record_sets (pulumi.Input[float]) – The maximum number of record sets that can be created in this Private DNS zone.

  • max_number_of_virtual_network_links (pulumi.Input[float]) – The maximum number of virtual networks that can be linked to this Private DNS zone.

  • max_number_of_virtual_network_links_with_registration (pulumi.Input[float]) – The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.

  • name (pulumi.Input[str]) – The name of the Private DNS Zone. Must be a valid domain name.

  • number_of_record_sets (pulumi.Input[float]) – The current number of record sets in this Private DNS zone.

  • 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.

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