Module privatedns

@pulumi/azure > 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 Zone

extends CustomResource

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "acceptanceTestResourceGroup1",
});
const testZone = new azure.privatedns.Zone("test", {
    name: "mydomain.com",
    resourceGroupName: testResourceGroup.name,
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/private_dns_zone.html.markdown.

constructor

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

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

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

method get

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

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): boolean

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

property id

id: Output<ID>;

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

property maxNumberOfRecordSets

public maxNumberOfRecordSets: pulumi.Output<number>;

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

public maxNumberOfVirtualNetworkLinks: pulumi.Output<number>;

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

property maxNumberOfVirtualNetworkLinksWithRegistration

public maxNumberOfVirtualNetworkLinksWithRegistration: pulumi.Output<number>;

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

property name

public name: pulumi.Output<string>;

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

property numberOfRecordSets

public numberOfRecordSets: pulumi.Output<number>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property tags

public tags: pulumi.Output<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

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

interface ZoneArgs

The set of arguments for constructing a Zone resource.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

interface ZoneState

Input properties used for looking up and filtering Zone resources.

property maxNumberOfRecordSets

maxNumberOfRecordSets?: pulumi.Input<number>;

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

maxNumberOfVirtualNetworkLinks?: pulumi.Input<number>;

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

property maxNumberOfVirtualNetworkLinksWithRegistration

maxNumberOfVirtualNetworkLinksWithRegistration?: pulumi.Input<number>;

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

property name

name?: pulumi.Input<string>;

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

property numberOfRecordSets

numberOfRecordSets?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.