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.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 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]) – A 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 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

A 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 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 AAAARecord 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]) – A 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 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.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.LinkEndpoint(resource_name, opts=None, location=None, name=None, private_service_connection=None, resource_group_name=None, subnet_id=None, __props__=None, __name__=None, __opts__=None)

Create a LinkEndpoint resource with the given unique name, props, and options.

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

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

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

  • private_service_connection (pulumi.Input[dict]) – A private_service_connection block as defined below.

  • resource_group_name (pulumi.Input[str]) – Specifies the Name of the Resource Group within which the Private Link Endpoint should exist. Changing this forces a new resource to be created.

  • subnet_id (pulumi.Input[str]) – The ID of the Subnet from which Private IP Addresses will be allocated for this Private Link Endpoint. Changing this forces a new resource to be created.

The private_service_connection object supports the following:

  • isManualConnection (pulumi.Input[bool]) - Does the Private Link Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) - Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

  • privateConnectionResourceId (pulumi.Input[str]) - The ID of the Private Link Enabled Remote Resource which this Private Link Endpoint should be connected to. Changing this forces a new resource to be created.

  • requestMessage (pulumi.Input[str]) - A message passed to the owner of the remote resource when the private link endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of 140 characters in length. Only valid if is_manual_connection is set to true.

  • subresourceNames (pulumi.Input[list]) - A list of subresource names which the Private Link Endpoint is able to connect to. Changing this forces a new resource to be created.

location = None

The supported Azure location where the resource exists. Changing this forces a new resource to be created.

name = None

Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

private_service_connection = None

A private_service_connection block as defined below.

  • isManualConnection (bool) - Does the Private Link Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.

  • name (str) - Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

  • privateConnectionResourceId (str) - The ID of the Private Link Enabled Remote Resource which this Private Link Endpoint should be connected to. Changing this forces a new resource to be created.

  • requestMessage (str) - A message passed to the owner of the remote resource when the private link endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of 140 characters in length. Only valid if is_manual_connection is set to true.

  • subresourceNames (list) - A list of subresource names which the Private Link Endpoint is able to connect to. Changing this forces a new resource to be created.

resource_group_name = None

Specifies the Name of the Resource Group within which the Private Link Endpoint should exist. Changing this forces a new resource to be created.

subnet_id = None

The ID of the Subnet from which Private IP Addresses will be allocated for this Private Link Endpoint. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, location=None, name=None, private_service_connection=None, resource_group_name=None, subnet_id=None)

Get an existing LinkEndpoint 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.

  • location (pulumi.Input[str]) – The supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

  • private_service_connection (pulumi.Input[dict]) – A private_service_connection block as defined below.

  • resource_group_name (pulumi.Input[str]) – Specifies the Name of the Resource Group within which the Private Link Endpoint should exist. Changing this forces a new resource to be created.

  • subnet_id (pulumi.Input[str]) – The ID of the Subnet from which Private IP Addresses will be allocated for this Private Link Endpoint. Changing this forces a new resource to be created.

The private_service_connection object supports the following:

  • isManualConnection (pulumi.Input[bool]) - Does the Private Link Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) - Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.

  • privateConnectionResourceId (pulumi.Input[str]) - The ID of the Private Link Enabled Remote Resource which this Private Link Endpoint should be connected to. Changing this forces a new resource to be created.

  • requestMessage (pulumi.Input[str]) - A message passed to the owner of the remote resource when the private link endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of 140 characters in length. Only valid if is_manual_connection is set to true.

  • subresourceNames (pulumi.Input[list]) - A list of subresource names which the Private Link Endpoint is able to connect to. 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.LinkService(resource_name, opts=None, auto_approval_subscription_ids=None, enable_proxy_protocol=None, load_balancer_frontend_ip_configuration_ids=None, location=None, name=None, nat_ip_configurations=None, resource_group_name=None, tags=None, visibility_subscription_ids=None, __props__=None, __name__=None, __opts__=None)

Manages a Private Link Service.

NOTE Private Link is currently in Public Preview.

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

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

  • auto_approval_subscription_ids (pulumi.Input[list]) – A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.

  • enable_proxy_protocol (pulumi.Input[bool]) – Should the Private Link Service support the Proxy Protocol? Defaults to false.

  • load_balancer_frontend_ip_configuration_ids (pulumi.Input[list]) – A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

  • nat_ip_configurations (pulumi.Input[list]) – One or more (up to 8) nat_ip_configuration block as defined below.

  • resource_group_name (pulumi.Input[str]) – The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

  • visibility_subscription_ids (pulumi.Input[list]) – A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.

The nat_ip_configurations object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

  • primary (pulumi.Input[bool])

  • private_ip_address (pulumi.Input[str])

  • privateIpAddressVersion (pulumi.Input[str])

  • subnet_id (pulumi.Input[str])

alias = None

A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.

auto_approval_subscription_ids = None

A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.

enable_proxy_protocol = None

Should the Private Link Service support the Proxy Protocol? Defaults to false.

load_balancer_frontend_ip_configuration_ids = None

A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.

location = None

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name = None

Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

nat_ip_configurations = None

One or more (up to 8) nat_ip_configuration block as defined below.

  • name (str) - Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

  • primary (bool)

  • private_ip_address (str)

  • privateIpAddressVersion (str)

  • subnet_id (str)

resource_group_name = None

The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.

tags = None

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

visibility_subscription_ids = None

A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.

static get(resource_name, id, opts=None, alias=None, auto_approval_subscription_ids=None, enable_proxy_protocol=None, load_balancer_frontend_ip_configuration_ids=None, location=None, name=None, nat_ip_configurations=None, network_interface_ids=None, resource_group_name=None, tags=None, visibility_subscription_ids=None)

Get an existing LinkService 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.

  • alias (pulumi.Input[str]) – A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.

  • auto_approval_subscription_ids (pulumi.Input[list]) – A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.

  • enable_proxy_protocol (pulumi.Input[bool]) – Should the Private Link Service support the Proxy Protocol? Defaults to false.

  • load_balancer_frontend_ip_configuration_ids (pulumi.Input[list]) – A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

  • nat_ip_configurations (pulumi.Input[list]) – One or more (up to 8) nat_ip_configuration block as defined below.

  • resource_group_name (pulumi.Input[str]) – The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

  • visibility_subscription_ids (pulumi.Input[list]) – A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.

The nat_ip_configurations object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

  • primary (pulumi.Input[bool])

  • private_ip_address (pulumi.Input[str])

  • privateIpAddressVersion (pulumi.Input[str])

  • subnet_id (pulumi.Input[str])

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.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 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 MX Record. Changing this forces a new resource to be created. Default to ‘@’ for root zone entry.

  • records (pulumi.Input[list]) – One or more record blocks as defined 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.

  • zone_name (pulumi.Input[str]) – Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.

The records object supports the following:

  • exchange (pulumi.Input[str])

  • preference (pulumi.Input[float])

name = None

The name of the DNS MX Record. Changing this forces a new resource to be created. Default to ‘@’ for root zone entry.

records = None

One or more record blocks as defined below.

  • exchange (str)

  • preference (float)

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 MxRecord 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 MX Record. Changing this forces a new resource to be created. Default to ‘@’ for root zone entry.

  • records (pulumi.Input[list]) – One or more record blocks as defined 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.

  • zone_name (pulumi.Input[str]) – Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.

The records object supports the following:

  • exchange (pulumi.Input[str])

  • preference (pulumi.Input[float])

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.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 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 PTR Record. Changing this forces a new resource to be created.

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

  • 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 PTR Record. Changing this forces a new resource to be created.

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.

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 PTRRecord 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 PTR Record. Changing this forces a new resource to be created.

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

  • 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.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 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 SRV Record. Changing this forces a new resource to be created.

  • records (pulumi.Input[list]) – One or more record blocks as defined 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.

  • zone_name (pulumi.Input[str]) – Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.

The records object supports the following:

  • port (pulumi.Input[float])

  • priority (pulumi.Input[float])

  • target (pulumi.Input[str])

  • weight (pulumi.Input[float])

name = None

The name of the DNS SRV Record. Changing this forces a new resource to be created.

records = None

One or more record blocks as defined below.

  • port (float)

  • priority (float)

  • target (str)

  • weight (float)

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 SRVRecord 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 SRV Record. Changing this forces a new resource to be created.

  • records (pulumi.Input[list]) – One or more record blocks as defined 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.

  • zone_name (pulumi.Input[str]) – Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.

The records object supports the following:

  • port (pulumi.Input[float])

  • priority (pulumi.Input[float])

  • target (pulumi.Input[str])

  • weight (pulumi.Input[float])

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

Enables you to manage Private DNS zone Virtual Network Links. These Links enable DNS resolution and registration inside Azure Virtual Networks using 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 Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.

  • private_dns_zone_name (pulumi.Input[str]) – The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.

  • registration_enabled (pulumi.Input[bool]) – Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.

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

  • virtual_network_id (pulumi.Input[str]) – The Resource ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.

name = None

The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.

private_dns_zone_name = None

The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.

registration_enabled = None

Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.

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.

virtual_network_id = None

The Resource ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, name=None, private_dns_zone_name=None, registration_enabled=None, resource_group_name=None, tags=None, virtual_network_id=None)

Get an existing ZoneVirtualNetworkLink 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 Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.

  • private_dns_zone_name (pulumi.Input[str]) – The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.

  • registration_enabled (pulumi.Input[bool]) – Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.

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

  • virtual_network_id (pulumi.Input[str]) – The Resource ID of the Virtual Network that should be linked to the DNS Zone. 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