privatedns

package
v6.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AAAARecord

type AAAARecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS AAAA Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of IPv6 Addresses.
	Records pulumi.StringArrayOutput `pulumi:"records"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS AAAA Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		test, err := privatedns.NewZone(ctx, "test", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewAAAARecord(ctx, "test", &privatedns.AAAARecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          test.Name,
			ResourceGroupName: example.Name,
			Ttl:               pulumi.Int(300),
			Records: pulumi.StringArray{
				pulumi.String("fd5d:70bc:930e:d008:0000:0000:0000:7334"),
				pulumi.String("fd5d:70bc:930e:d008::7335"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS AAAA Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/aAAARecord:AAAARecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/AAAA/myrecord1 ```

func GetAAAARecord

func GetAAAARecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AAAARecordState, opts ...pulumi.ResourceOption) (*AAAARecord, error)

GetAAAARecord gets an existing AAAARecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAAAARecord

func NewAAAARecord(ctx *pulumi.Context,
	name string, args *AAAARecordArgs, opts ...pulumi.ResourceOption) (*AAAARecord, error)

NewAAAARecord registers a new resource with the given unique name, arguments, and options.

func (*AAAARecord) ElementType

func (*AAAARecord) ElementType() reflect.Type

func (*AAAARecord) ToAAAARecordOutput

func (i *AAAARecord) ToAAAARecordOutput() AAAARecordOutput

func (*AAAARecord) ToAAAARecordOutputWithContext

func (i *AAAARecord) ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput

type AAAARecordArgs

type AAAARecordArgs struct {
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of IPv6 Addresses.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a AAAARecord resource.

func (AAAARecordArgs) ElementType

func (AAAARecordArgs) ElementType() reflect.Type

type AAAARecordArray

type AAAARecordArray []AAAARecordInput

func (AAAARecordArray) ElementType

func (AAAARecordArray) ElementType() reflect.Type

func (AAAARecordArray) ToAAAARecordArrayOutput

func (i AAAARecordArray) ToAAAARecordArrayOutput() AAAARecordArrayOutput

func (AAAARecordArray) ToAAAARecordArrayOutputWithContext

func (i AAAARecordArray) ToAAAARecordArrayOutputWithContext(ctx context.Context) AAAARecordArrayOutput

type AAAARecordArrayInput

type AAAARecordArrayInput interface {
	pulumi.Input

	ToAAAARecordArrayOutput() AAAARecordArrayOutput
	ToAAAARecordArrayOutputWithContext(context.Context) AAAARecordArrayOutput
}

AAAARecordArrayInput is an input type that accepts AAAARecordArray and AAAARecordArrayOutput values. You can construct a concrete instance of `AAAARecordArrayInput` via:

AAAARecordArray{ AAAARecordArgs{...} }

type AAAARecordArrayOutput

type AAAARecordArrayOutput struct{ *pulumi.OutputState }

func (AAAARecordArrayOutput) ElementType

func (AAAARecordArrayOutput) ElementType() reflect.Type

func (AAAARecordArrayOutput) Index

func (AAAARecordArrayOutput) ToAAAARecordArrayOutput

func (o AAAARecordArrayOutput) ToAAAARecordArrayOutput() AAAARecordArrayOutput

func (AAAARecordArrayOutput) ToAAAARecordArrayOutputWithContext

func (o AAAARecordArrayOutput) ToAAAARecordArrayOutputWithContext(ctx context.Context) AAAARecordArrayOutput

type AAAARecordInput

type AAAARecordInput interface {
	pulumi.Input

	ToAAAARecordOutput() AAAARecordOutput
	ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput
}

type AAAARecordMap

type AAAARecordMap map[string]AAAARecordInput

func (AAAARecordMap) ElementType

func (AAAARecordMap) ElementType() reflect.Type

func (AAAARecordMap) ToAAAARecordMapOutput

func (i AAAARecordMap) ToAAAARecordMapOutput() AAAARecordMapOutput

func (AAAARecordMap) ToAAAARecordMapOutputWithContext

func (i AAAARecordMap) ToAAAARecordMapOutputWithContext(ctx context.Context) AAAARecordMapOutput

type AAAARecordMapInput

type AAAARecordMapInput interface {
	pulumi.Input

	ToAAAARecordMapOutput() AAAARecordMapOutput
	ToAAAARecordMapOutputWithContext(context.Context) AAAARecordMapOutput
}

AAAARecordMapInput is an input type that accepts AAAARecordMap and AAAARecordMapOutput values. You can construct a concrete instance of `AAAARecordMapInput` via:

AAAARecordMap{ "key": AAAARecordArgs{...} }

type AAAARecordMapOutput

type AAAARecordMapOutput struct{ *pulumi.OutputState }

func (AAAARecordMapOutput) ElementType

func (AAAARecordMapOutput) ElementType() reflect.Type

func (AAAARecordMapOutput) MapIndex

func (AAAARecordMapOutput) ToAAAARecordMapOutput

func (o AAAARecordMapOutput) ToAAAARecordMapOutput() AAAARecordMapOutput

func (AAAARecordMapOutput) ToAAAARecordMapOutputWithContext

func (o AAAARecordMapOutput) ToAAAARecordMapOutputWithContext(ctx context.Context) AAAARecordMapOutput

type AAAARecordOutput

type AAAARecordOutput struct{ *pulumi.OutputState }

func (AAAARecordOutput) ElementType

func (AAAARecordOutput) ElementType() reflect.Type

func (AAAARecordOutput) Fqdn

The FQDN of the DNS AAAA Record.

func (AAAARecordOutput) Name

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

func (AAAARecordOutput) Records

A list of IPv6 Addresses.

func (AAAARecordOutput) ResourceGroupName

func (o AAAARecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (AAAARecordOutput) Tags

A mapping of tags to assign to the resource.

func (AAAARecordOutput) ToAAAARecordOutput

func (o AAAARecordOutput) ToAAAARecordOutput() AAAARecordOutput

func (AAAARecordOutput) ToAAAARecordOutputWithContext

func (o AAAARecordOutput) ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput

func (AAAARecordOutput) Ttl

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

func (AAAARecordOutput) ZoneName

func (o AAAARecordOutput) ZoneName() pulumi.StringOutput

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

type AAAARecordState

type AAAARecordState struct {
	// The FQDN of the DNS AAAA Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of IPv6 Addresses.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (AAAARecordState) ElementType

func (AAAARecordState) ElementType() reflect.Type

type ARecord

type ARecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS A Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of IPv4 Addresses.
	Records pulumi.StringArrayOutput `pulumi:"records"`
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS A Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewARecord(ctx, "example", &privatedns.ARecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          exampleZone.Name,
			ResourceGroupName: example.Name,
			Ttl:               pulumi.Int(300),
			Records: pulumi.StringArray{
				pulumi.String("10.0.180.17"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS A Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/aRecord:ARecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/A/myrecord1 ```

func GetARecord

func GetARecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ARecordState, opts ...pulumi.ResourceOption) (*ARecord, error)

GetARecord gets an existing ARecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewARecord

func NewARecord(ctx *pulumi.Context,
	name string, args *ARecordArgs, opts ...pulumi.ResourceOption) (*ARecord, error)

NewARecord registers a new resource with the given unique name, arguments, and options.

func (*ARecord) ElementType

func (*ARecord) ElementType() reflect.Type

func (*ARecord) ToARecordOutput

func (i *ARecord) ToARecordOutput() ARecordOutput

func (*ARecord) ToARecordOutputWithContext

func (i *ARecord) ToARecordOutputWithContext(ctx context.Context) ARecordOutput

type ARecordArgs

type ARecordArgs struct {
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// List of IPv4 Addresses.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a ARecord resource.

func (ARecordArgs) ElementType

func (ARecordArgs) ElementType() reflect.Type

type ARecordArray

type ARecordArray []ARecordInput

func (ARecordArray) ElementType

func (ARecordArray) ElementType() reflect.Type

func (ARecordArray) ToARecordArrayOutput

func (i ARecordArray) ToARecordArrayOutput() ARecordArrayOutput

func (ARecordArray) ToARecordArrayOutputWithContext

func (i ARecordArray) ToARecordArrayOutputWithContext(ctx context.Context) ARecordArrayOutput

type ARecordArrayInput

type ARecordArrayInput interface {
	pulumi.Input

	ToARecordArrayOutput() ARecordArrayOutput
	ToARecordArrayOutputWithContext(context.Context) ARecordArrayOutput
}

ARecordArrayInput is an input type that accepts ARecordArray and ARecordArrayOutput values. You can construct a concrete instance of `ARecordArrayInput` via:

ARecordArray{ ARecordArgs{...} }

type ARecordArrayOutput

type ARecordArrayOutput struct{ *pulumi.OutputState }

func (ARecordArrayOutput) ElementType

func (ARecordArrayOutput) ElementType() reflect.Type

func (ARecordArrayOutput) Index

func (ARecordArrayOutput) ToARecordArrayOutput

func (o ARecordArrayOutput) ToARecordArrayOutput() ARecordArrayOutput

func (ARecordArrayOutput) ToARecordArrayOutputWithContext

func (o ARecordArrayOutput) ToARecordArrayOutputWithContext(ctx context.Context) ARecordArrayOutput

type ARecordInput

type ARecordInput interface {
	pulumi.Input

	ToARecordOutput() ARecordOutput
	ToARecordOutputWithContext(ctx context.Context) ARecordOutput
}

type ARecordMap

type ARecordMap map[string]ARecordInput

func (ARecordMap) ElementType

func (ARecordMap) ElementType() reflect.Type

func (ARecordMap) ToARecordMapOutput

func (i ARecordMap) ToARecordMapOutput() ARecordMapOutput

func (ARecordMap) ToARecordMapOutputWithContext

func (i ARecordMap) ToARecordMapOutputWithContext(ctx context.Context) ARecordMapOutput

type ARecordMapInput

type ARecordMapInput interface {
	pulumi.Input

	ToARecordMapOutput() ARecordMapOutput
	ToARecordMapOutputWithContext(context.Context) ARecordMapOutput
}

ARecordMapInput is an input type that accepts ARecordMap and ARecordMapOutput values. You can construct a concrete instance of `ARecordMapInput` via:

ARecordMap{ "key": ARecordArgs{...} }

type ARecordMapOutput

type ARecordMapOutput struct{ *pulumi.OutputState }

func (ARecordMapOutput) ElementType

func (ARecordMapOutput) ElementType() reflect.Type

func (ARecordMapOutput) MapIndex

func (ARecordMapOutput) ToARecordMapOutput

func (o ARecordMapOutput) ToARecordMapOutput() ARecordMapOutput

func (ARecordMapOutput) ToARecordMapOutputWithContext

func (o ARecordMapOutput) ToARecordMapOutputWithContext(ctx context.Context) ARecordMapOutput

type ARecordOutput

type ARecordOutput struct{ *pulumi.OutputState }

func (ARecordOutput) ElementType

func (ARecordOutput) ElementType() reflect.Type

func (ARecordOutput) Fqdn

The FQDN of the DNS A Record.

func (ARecordOutput) Name

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

func (ARecordOutput) Records

List of IPv4 Addresses.

func (ARecordOutput) ResourceGroupName

func (o ARecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (ARecordOutput) Tags

A mapping of tags to assign to the resource.

func (ARecordOutput) ToARecordOutput

func (o ARecordOutput) ToARecordOutput() ARecordOutput

func (ARecordOutput) ToARecordOutputWithContext

func (o ARecordOutput) ToARecordOutputWithContext(ctx context.Context) ARecordOutput

func (ARecordOutput) Ttl

func (o ARecordOutput) Ttl() pulumi.IntOutput

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

func (ARecordOutput) ZoneName

func (o ARecordOutput) ZoneName() pulumi.StringOutput

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

type ARecordState

type ARecordState struct {
	// The FQDN of the DNS A Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS A Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// List of IPv4 Addresses.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (ARecordState) ElementType

func (ARecordState) ElementType() reflect.Type

type CnameRecord

type CnameRecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS CNAME Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS CNAME Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The target of the CNAME.
	Record pulumi.StringOutput `pulumi:"record"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS CNAME Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewCnameRecord(ctx, "example", &privatedns.CnameRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          exampleZone.Name,
			ResourceGroupName: example.Name,
			Ttl:               pulumi.Int(300),
			Record:            pulumi.String("contoso.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS CName Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/cnameRecord:CnameRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/CNAME/myrecord1 ```

func GetCnameRecord

func GetCnameRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CnameRecordState, opts ...pulumi.ResourceOption) (*CnameRecord, error)

GetCnameRecord gets an existing CnameRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCnameRecord

func NewCnameRecord(ctx *pulumi.Context,
	name string, args *CnameRecordArgs, opts ...pulumi.ResourceOption) (*CnameRecord, error)

NewCnameRecord registers a new resource with the given unique name, arguments, and options.

func (*CnameRecord) ElementType

func (*CnameRecord) ElementType() reflect.Type

func (*CnameRecord) ToCnameRecordOutput

func (i *CnameRecord) ToCnameRecordOutput() CnameRecordOutput

func (*CnameRecord) ToCnameRecordOutputWithContext

func (i *CnameRecord) ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput

type CnameRecordArgs

type CnameRecordArgs struct {
	// The name of the DNS CNAME Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The target of the CNAME.
	Record pulumi.StringInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a CnameRecord resource.

func (CnameRecordArgs) ElementType

func (CnameRecordArgs) ElementType() reflect.Type

type CnameRecordArray

type CnameRecordArray []CnameRecordInput

func (CnameRecordArray) ElementType

func (CnameRecordArray) ElementType() reflect.Type

func (CnameRecordArray) ToCnameRecordArrayOutput

func (i CnameRecordArray) ToCnameRecordArrayOutput() CnameRecordArrayOutput

func (CnameRecordArray) ToCnameRecordArrayOutputWithContext

func (i CnameRecordArray) ToCnameRecordArrayOutputWithContext(ctx context.Context) CnameRecordArrayOutput

type CnameRecordArrayInput

type CnameRecordArrayInput interface {
	pulumi.Input

	ToCnameRecordArrayOutput() CnameRecordArrayOutput
	ToCnameRecordArrayOutputWithContext(context.Context) CnameRecordArrayOutput
}

CnameRecordArrayInput is an input type that accepts CnameRecordArray and CnameRecordArrayOutput values. You can construct a concrete instance of `CnameRecordArrayInput` via:

CnameRecordArray{ CnameRecordArgs{...} }

type CnameRecordArrayOutput

type CnameRecordArrayOutput struct{ *pulumi.OutputState }

func (CnameRecordArrayOutput) ElementType

func (CnameRecordArrayOutput) ElementType() reflect.Type

func (CnameRecordArrayOutput) Index

func (CnameRecordArrayOutput) ToCnameRecordArrayOutput

func (o CnameRecordArrayOutput) ToCnameRecordArrayOutput() CnameRecordArrayOutput

func (CnameRecordArrayOutput) ToCnameRecordArrayOutputWithContext

func (o CnameRecordArrayOutput) ToCnameRecordArrayOutputWithContext(ctx context.Context) CnameRecordArrayOutput

type CnameRecordInput

type CnameRecordInput interface {
	pulumi.Input

	ToCnameRecordOutput() CnameRecordOutput
	ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput
}

type CnameRecordMap

type CnameRecordMap map[string]CnameRecordInput

func (CnameRecordMap) ElementType

func (CnameRecordMap) ElementType() reflect.Type

func (CnameRecordMap) ToCnameRecordMapOutput

func (i CnameRecordMap) ToCnameRecordMapOutput() CnameRecordMapOutput

func (CnameRecordMap) ToCnameRecordMapOutputWithContext

func (i CnameRecordMap) ToCnameRecordMapOutputWithContext(ctx context.Context) CnameRecordMapOutput

type CnameRecordMapInput

type CnameRecordMapInput interface {
	pulumi.Input

	ToCnameRecordMapOutput() CnameRecordMapOutput
	ToCnameRecordMapOutputWithContext(context.Context) CnameRecordMapOutput
}

CnameRecordMapInput is an input type that accepts CnameRecordMap and CnameRecordMapOutput values. You can construct a concrete instance of `CnameRecordMapInput` via:

CnameRecordMap{ "key": CnameRecordArgs{...} }

type CnameRecordMapOutput

type CnameRecordMapOutput struct{ *pulumi.OutputState }

func (CnameRecordMapOutput) ElementType

func (CnameRecordMapOutput) ElementType() reflect.Type

func (CnameRecordMapOutput) MapIndex

func (CnameRecordMapOutput) ToCnameRecordMapOutput

func (o CnameRecordMapOutput) ToCnameRecordMapOutput() CnameRecordMapOutput

func (CnameRecordMapOutput) ToCnameRecordMapOutputWithContext

func (o CnameRecordMapOutput) ToCnameRecordMapOutputWithContext(ctx context.Context) CnameRecordMapOutput

type CnameRecordOutput

type CnameRecordOutput struct{ *pulumi.OutputState }

func (CnameRecordOutput) ElementType

func (CnameRecordOutput) ElementType() reflect.Type

func (CnameRecordOutput) Fqdn

The FQDN of the DNS CNAME Record.

func (CnameRecordOutput) Name

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

func (CnameRecordOutput) Record

The target of the CNAME.

func (CnameRecordOutput) ResourceGroupName

func (o CnameRecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (CnameRecordOutput) Tags

A mapping of tags to assign to the resource.

func (CnameRecordOutput) ToCnameRecordOutput

func (o CnameRecordOutput) ToCnameRecordOutput() CnameRecordOutput

func (CnameRecordOutput) ToCnameRecordOutputWithContext

func (o CnameRecordOutput) ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput

func (CnameRecordOutput) Ttl

The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.

func (CnameRecordOutput) ZoneName

func (o CnameRecordOutput) ZoneName() pulumi.StringOutput

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

type CnameRecordState

type CnameRecordState struct {
	// The FQDN of the DNS CNAME Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS CNAME Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The target of the CNAME.
	Record pulumi.StringPtrInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (CnameRecordState) ElementType

func (CnameRecordState) ElementType() reflect.Type

type GetDnsZoneArgs

type GetDnsZoneArgs struct {
	// The name of the Private DNS Zone.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the Private DNS Zone exists.
	// If the Name of the Resource Group is not provided, the first Private DNS Zone from the list of Private
	// DNS Zones in your subscription that matches `name` will be returned.
	ResourceGroupName *string `pulumi:"resourceGroupName"`
	// A mapping of tags for the zone.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getDnsZone.

type GetDnsZoneOutputArgs

type GetDnsZoneOutputArgs struct {
	// The name of the Private DNS Zone.
	Name pulumi.StringInput `pulumi:"name"`
	// The Name of the Resource Group where the Private DNS Zone exists.
	// If the Name of the Resource Group is not provided, the first Private DNS Zone from the list of Private
	// DNS Zones in your subscription that matches `name` will be returned.
	ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"`
	// A mapping of tags for the zone.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getDnsZone.

func (GetDnsZoneOutputArgs) ElementType

func (GetDnsZoneOutputArgs) ElementType() reflect.Type

type GetDnsZoneResult

type GetDnsZoneResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Maximum number of recordsets that can be created in this Private Zone.
	MaxNumberOfRecordSets int `pulumi:"maxNumberOfRecordSets"`
	// Maximum number of Virtual Networks that can be linked to this Private Zone.
	MaxNumberOfVirtualNetworkLinks int `pulumi:"maxNumberOfVirtualNetworkLinks"`
	// Maximum number of Virtual Networks that can be linked to this Private Zone with registration enabled.
	MaxNumberOfVirtualNetworkLinksWithRegistration int    `pulumi:"maxNumberOfVirtualNetworkLinksWithRegistration"`
	Name                                           string `pulumi:"name"`
	// The number of recordsets currently in the zone.
	NumberOfRecordSets int    `pulumi:"numberOfRecordSets"`
	ResourceGroupName  string `pulumi:"resourceGroupName"`
	// A mapping of tags for the zone.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getDnsZone.

func GetDnsZone

func GetDnsZone(ctx *pulumi.Context, args *GetDnsZoneArgs, opts ...pulumi.InvokeOption) (*GetDnsZoneResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := privatedns.GetDnsZone(ctx, &privatedns.GetDnsZoneArgs{
			Name:              "contoso.internal",
			ResourceGroupName: pulumi.StringRef("contoso-dns"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("privateDnsZoneId", example.Id)
		return nil
	})
}

```

type GetDnsZoneResultOutput

type GetDnsZoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDnsZone.

func (GetDnsZoneResultOutput) ElementType

func (GetDnsZoneResultOutput) ElementType() reflect.Type

func (GetDnsZoneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDnsZoneResultOutput) MaxNumberOfRecordSets

func (o GetDnsZoneResultOutput) MaxNumberOfRecordSets() pulumi.IntOutput

Maximum number of recordsets that can be created in this Private Zone.

func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput

Maximum number of Virtual Networks that can be linked to this Private Zone.

func (GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinksWithRegistration

func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput

Maximum number of Virtual Networks that can be linked to this Private Zone with registration enabled.

func (GetDnsZoneResultOutput) Name

func (GetDnsZoneResultOutput) NumberOfRecordSets

func (o GetDnsZoneResultOutput) NumberOfRecordSets() pulumi.IntOutput

The number of recordsets currently in the zone.

func (GetDnsZoneResultOutput) ResourceGroupName

func (o GetDnsZoneResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetDnsZoneResultOutput) Tags

A mapping of tags for the zone.

func (GetDnsZoneResultOutput) ToGetDnsZoneResultOutput

func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutput() GetDnsZoneResultOutput

func (GetDnsZoneResultOutput) ToGetDnsZoneResultOutputWithContext

func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutputWithContext(ctx context.Context) GetDnsZoneResultOutput

type GetMxRecordRecord

type GetMxRecordRecord struct {
	// The mail server responsible for the domain covered by the MX record.
	Exchange string `pulumi:"exchange"`
	// String representing the "preference” value of the MX records. Records with lower preference value take priority.
	Preference int `pulumi:"preference"`
}

type GetMxRecordRecordArgs

type GetMxRecordRecordArgs struct {
	// The mail server responsible for the domain covered by the MX record.
	Exchange pulumi.StringInput `pulumi:"exchange"`
	// String representing the "preference” value of the MX records. Records with lower preference value take priority.
	Preference pulumi.IntInput `pulumi:"preference"`
}

func (GetMxRecordRecordArgs) ElementType

func (GetMxRecordRecordArgs) ElementType() reflect.Type

func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutput

func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput

func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext

func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput

type GetMxRecordRecordArray

type GetMxRecordRecordArray []GetMxRecordRecordInput

func (GetMxRecordRecordArray) ElementType

func (GetMxRecordRecordArray) ElementType() reflect.Type

func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput

func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput

func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext

func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput

type GetMxRecordRecordArrayInput

type GetMxRecordRecordArrayInput interface {
	pulumi.Input

	ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
	ToGetMxRecordRecordArrayOutputWithContext(context.Context) GetMxRecordRecordArrayOutput
}

GetMxRecordRecordArrayInput is an input type that accepts GetMxRecordRecordArray and GetMxRecordRecordArrayOutput values. You can construct a concrete instance of `GetMxRecordRecordArrayInput` via:

GetMxRecordRecordArray{ GetMxRecordRecordArgs{...} }

type GetMxRecordRecordArrayOutput

type GetMxRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetMxRecordRecordArrayOutput) ElementType

func (GetMxRecordRecordArrayOutput) Index

func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput

func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput

func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext

func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput

type GetMxRecordRecordInput

type GetMxRecordRecordInput interface {
	pulumi.Input

	ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
	ToGetMxRecordRecordOutputWithContext(context.Context) GetMxRecordRecordOutput
}

GetMxRecordRecordInput is an input type that accepts GetMxRecordRecordArgs and GetMxRecordRecordOutput values. You can construct a concrete instance of `GetMxRecordRecordInput` via:

GetMxRecordRecordArgs{...}

type GetMxRecordRecordOutput

type GetMxRecordRecordOutput struct{ *pulumi.OutputState }

func (GetMxRecordRecordOutput) ElementType

func (GetMxRecordRecordOutput) ElementType() reflect.Type

func (GetMxRecordRecordOutput) Exchange

The mail server responsible for the domain covered by the MX record.

func (GetMxRecordRecordOutput) Preference

func (o GetMxRecordRecordOutput) Preference() pulumi.IntOutput

String representing the "preference” value of the MX records. Records with lower preference value take priority.

func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutput

func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput

func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext

func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput

type GetPtrRecordArgs

type GetPtrRecordArgs struct {
	// The name of the Private DNS PTR Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getPtrRecord.

type GetPtrRecordOutputArgs

type GetPtrRecordOutputArgs struct {
	// The name of the Private DNS PTR Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getPtrRecord.

func (GetPtrRecordOutputArgs) ElementType

func (GetPtrRecordOutputArgs) ElementType() reflect.Type

type GetPtrRecordResult

type GetPtrRecordResult struct {
	// The FQDN of the Private DNS PTR Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// List of Fully Qualified Domain Names.
	Records           []string `pulumi:"records"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getPtrRecord.

func GetPtrRecord

func GetPtrRecord(ctx *pulumi.Context, args *GetPtrRecordArgs, opts ...pulumi.InvokeOption) (*GetPtrRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewPTRRecord(ctx, "example", &privatedns.PTRRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsPtrRecordId", exampleAzurermPrivateDnsPtrRecord.Id)
		return nil
	})
}

```

type GetPtrRecordResultOutput

type GetPtrRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPtrRecord.

func (GetPtrRecordResultOutput) ElementType

func (GetPtrRecordResultOutput) ElementType() reflect.Type

func (GetPtrRecordResultOutput) Fqdn

The FQDN of the Private DNS PTR Record.

func (GetPtrRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPtrRecordResultOutput) Name

func (GetPtrRecordResultOutput) Records

List of Fully Qualified Domain Names.

func (GetPtrRecordResultOutput) ResourceGroupName

func (o GetPtrRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetPtrRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutput

func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutput() GetPtrRecordResultOutput

func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext

func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext(ctx context.Context) GetPtrRecordResultOutput

func (GetPtrRecordResultOutput) Ttl

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

func (GetPtrRecordResultOutput) ZoneName

type GetResolverForwardingRuleTargetDnsServer

type GetResolverForwardingRuleTargetDnsServer struct {
	// The DNS server IP address.
	IpAddress string `pulumi:"ipAddress"`
	// The DNS server port.
	Port int `pulumi:"port"`
}

type GetResolverForwardingRuleTargetDnsServerArgs

type GetResolverForwardingRuleTargetDnsServerArgs struct {
	// The DNS server IP address.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The DNS server port.
	Port pulumi.IntInput `pulumi:"port"`
}

func (GetResolverForwardingRuleTargetDnsServerArgs) ElementType

func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput

func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput

func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext

func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput

type GetResolverForwardingRuleTargetDnsServerArray

type GetResolverForwardingRuleTargetDnsServerArray []GetResolverForwardingRuleTargetDnsServerInput

func (GetResolverForwardingRuleTargetDnsServerArray) ElementType

func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput

func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput

func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext

func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput

type GetResolverForwardingRuleTargetDnsServerArrayInput

type GetResolverForwardingRuleTargetDnsServerArrayInput interface {
	pulumi.Input

	ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
	ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
}

GetResolverForwardingRuleTargetDnsServerArrayInput is an input type that accepts GetResolverForwardingRuleTargetDnsServerArray and GetResolverForwardingRuleTargetDnsServerArrayOutput values. You can construct a concrete instance of `GetResolverForwardingRuleTargetDnsServerArrayInput` via:

GetResolverForwardingRuleTargetDnsServerArray{ GetResolverForwardingRuleTargetDnsServerArgs{...} }

type GetResolverForwardingRuleTargetDnsServerArrayOutput

type GetResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) Index

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput

func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext

func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput

type GetResolverForwardingRuleTargetDnsServerInput

type GetResolverForwardingRuleTargetDnsServerInput interface {
	pulumi.Input

	ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
	ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(context.Context) GetResolverForwardingRuleTargetDnsServerOutput
}

GetResolverForwardingRuleTargetDnsServerInput is an input type that accepts GetResolverForwardingRuleTargetDnsServerArgs and GetResolverForwardingRuleTargetDnsServerOutput values. You can construct a concrete instance of `GetResolverForwardingRuleTargetDnsServerInput` via:

GetResolverForwardingRuleTargetDnsServerArgs{...}

type GetResolverForwardingRuleTargetDnsServerOutput

type GetResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }

func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType

func (GetResolverForwardingRuleTargetDnsServerOutput) IpAddress

The DNS server IP address.

func (GetResolverForwardingRuleTargetDnsServerOutput) Port

The DNS server port.

func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput

func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput

func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext

func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput

type GetResolverInboundEndpointIpConfiguration

type GetResolverInboundEndpointIpConfiguration struct {
	// The private IP address of the IP configuration.
	PrivateIpAddress string `pulumi:"privateIpAddress"`
	// The private IP address allocation method.
	PrivateIpAllocationMethod string `pulumi:"privateIpAllocationMethod"`
	// The subnet ID of the IP configuration.
	SubnetId string `pulumi:"subnetId"`
}

type GetResolverInboundEndpointIpConfigurationArgs

type GetResolverInboundEndpointIpConfigurationArgs struct {
	// The private IP address of the IP configuration.
	PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"`
	// The private IP address allocation method.
	PrivateIpAllocationMethod pulumi.StringInput `pulumi:"privateIpAllocationMethod"`
	// The subnet ID of the IP configuration.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetResolverInboundEndpointIpConfigurationArgs) ElementType

func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput

func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput

func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext

func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput

type GetResolverInboundEndpointIpConfigurationArray

type GetResolverInboundEndpointIpConfigurationArray []GetResolverInboundEndpointIpConfigurationInput

func (GetResolverInboundEndpointIpConfigurationArray) ElementType

func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput

func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput

func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext

func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput

type GetResolverInboundEndpointIpConfigurationArrayInput

type GetResolverInboundEndpointIpConfigurationArrayInput interface {
	pulumi.Input

	ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
	ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
}

GetResolverInboundEndpointIpConfigurationArrayInput is an input type that accepts GetResolverInboundEndpointIpConfigurationArray and GetResolverInboundEndpointIpConfigurationArrayOutput values. You can construct a concrete instance of `GetResolverInboundEndpointIpConfigurationArrayInput` via:

GetResolverInboundEndpointIpConfigurationArray{ GetResolverInboundEndpointIpConfigurationArgs{...} }

type GetResolverInboundEndpointIpConfigurationArrayOutput

type GetResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType

func (GetResolverInboundEndpointIpConfigurationArrayOutput) Index

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext

func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput

type GetResolverInboundEndpointIpConfigurationInput

type GetResolverInboundEndpointIpConfigurationInput interface {
	pulumi.Input

	ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
	ToGetResolverInboundEndpointIpConfigurationOutputWithContext(context.Context) GetResolverInboundEndpointIpConfigurationOutput
}

GetResolverInboundEndpointIpConfigurationInput is an input type that accepts GetResolverInboundEndpointIpConfigurationArgs and GetResolverInboundEndpointIpConfigurationOutput values. You can construct a concrete instance of `GetResolverInboundEndpointIpConfigurationInput` via:

GetResolverInboundEndpointIpConfigurationArgs{...}

type GetResolverInboundEndpointIpConfigurationOutput

type GetResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }

func (GetResolverInboundEndpointIpConfigurationOutput) ElementType

func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress

The private IP address of the IP configuration.

func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod

The private IP address allocation method.

func (GetResolverInboundEndpointIpConfigurationOutput) SubnetId

The subnet ID of the IP configuration.

func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput

func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput

func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext

func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput

type GetSoaRecordArgs

type GetSoaRecordArgs struct {
	// The name of the Private DNS SOA Record.
	Name *string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getSoaRecord.

type GetSoaRecordOutputArgs

type GetSoaRecordOutputArgs struct {
	// The name of the Private DNS SOA Record.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getSoaRecord.

func (GetSoaRecordOutputArgs) ElementType

func (GetSoaRecordOutputArgs) ElementType() reflect.Type

type GetSoaRecordResult

type GetSoaRecordResult struct {
	// The email contact for the SOA record.
	Email string `pulumi:"email"`
	// The expire time for the SOA record.
	ExpireTime int `pulumi:"expireTime"`
	// The FQDN of the Private DNS SOA Record.
	Fqdn string `pulumi:"fqdn"`
	// The domain name of the authoritative name server for the SOA record.
	HostName string `pulumi:"hostName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration.
	MinimumTtl int `pulumi:"minimumTtl"`
	// The name of the Private DNS SOA Record.
	Name *string `pulumi:"name"`
	// The refresh time for the SOA record.
	RefreshTime       int    `pulumi:"refreshTime"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The retry time for the SOA record.
	RetryTime int `pulumi:"retryTime"`
	// The serial number for the SOA record.
	SerialNumber int `pulumi:"serialNumber"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getSoaRecord.

func GetSoaRecord

func GetSoaRecord(ctx *pulumi.Context, args *GetSoaRecordArgs, opts ...pulumi.InvokeOption) (*GetSoaRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azurerm/sdk/go/azurerm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azurerm.NewPrivateDnsSoaRecord(ctx, "example", &azurerm.PrivateDnsSoaRecordArgs{
			ZoneName:          "test-zone",
			ResourceGroupName: "test-rg",
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsSoaRecordId", exampleAzurermPrivateDnsSoaRecord.Id)
		return nil
	})
}

```

type GetSoaRecordResultOutput

type GetSoaRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSoaRecord.

func (GetSoaRecordResultOutput) ElementType

func (GetSoaRecordResultOutput) ElementType() reflect.Type

func (GetSoaRecordResultOutput) Email

The email contact for the SOA record.

func (GetSoaRecordResultOutput) ExpireTime

func (o GetSoaRecordResultOutput) ExpireTime() pulumi.IntOutput

The expire time for the SOA record.

func (GetSoaRecordResultOutput) Fqdn

The FQDN of the Private DNS SOA Record.

func (GetSoaRecordResultOutput) HostName

The domain name of the authoritative name server for the SOA record.

func (GetSoaRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSoaRecordResultOutput) MinimumTtl

func (o GetSoaRecordResultOutput) MinimumTtl() pulumi.IntOutput

The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration.

func (GetSoaRecordResultOutput) Name

The name of the Private DNS SOA Record.

func (GetSoaRecordResultOutput) RefreshTime

func (o GetSoaRecordResultOutput) RefreshTime() pulumi.IntOutput

The refresh time for the SOA record.

func (GetSoaRecordResultOutput) ResourceGroupName

func (o GetSoaRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetSoaRecordResultOutput) RetryTime

The retry time for the SOA record.

func (GetSoaRecordResultOutput) SerialNumber

func (o GetSoaRecordResultOutput) SerialNumber() pulumi.IntOutput

The serial number for the SOA record.

func (GetSoaRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutput

func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutput() GetSoaRecordResultOutput

func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext

func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext(ctx context.Context) GetSoaRecordResultOutput

func (GetSoaRecordResultOutput) Ttl

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

func (GetSoaRecordResultOutput) ZoneName

type GetSrvRecordArgs

type GetSrvRecordArgs struct {
	// The name of the Private DNS SRV Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getSrvRecord.

type GetSrvRecordOutputArgs

type GetSrvRecordOutputArgs struct {
	// The name of the Private DNS SRV Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getSrvRecord.

func (GetSrvRecordOutputArgs) ElementType

func (GetSrvRecordOutputArgs) ElementType() reflect.Type

type GetSrvRecordRecord

type GetSrvRecordRecord struct {
	// Port the service is listening on.
	Port int `pulumi:"port"`
	// Priority of the SRV record.
	Priority int `pulumi:"priority"`
	// FQDN of the service.
	Target string `pulumi:"target"`
	// Weight of the SRV record.
	Weight int `pulumi:"weight"`
}

type GetSrvRecordRecordArgs

type GetSrvRecordRecordArgs struct {
	// Port the service is listening on.
	Port pulumi.IntInput `pulumi:"port"`
	// Priority of the SRV record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// FQDN of the service.
	Target pulumi.StringInput `pulumi:"target"`
	// Weight of the SRV record.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetSrvRecordRecordArgs) ElementType

func (GetSrvRecordRecordArgs) ElementType() reflect.Type

func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput

func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput

func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext

func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput

type GetSrvRecordRecordArray

type GetSrvRecordRecordArray []GetSrvRecordRecordInput

func (GetSrvRecordRecordArray) ElementType

func (GetSrvRecordRecordArray) ElementType() reflect.Type

func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput

func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput

func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext

func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput

type GetSrvRecordRecordArrayInput

type GetSrvRecordRecordArrayInput interface {
	pulumi.Input

	ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
	ToGetSrvRecordRecordArrayOutputWithContext(context.Context) GetSrvRecordRecordArrayOutput
}

GetSrvRecordRecordArrayInput is an input type that accepts GetSrvRecordRecordArray and GetSrvRecordRecordArrayOutput values. You can construct a concrete instance of `GetSrvRecordRecordArrayInput` via:

GetSrvRecordRecordArray{ GetSrvRecordRecordArgs{...} }

type GetSrvRecordRecordArrayOutput

type GetSrvRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetSrvRecordRecordArrayOutput) ElementType

func (GetSrvRecordRecordArrayOutput) Index

func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput

func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput

func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext

func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput

type GetSrvRecordRecordInput

type GetSrvRecordRecordInput interface {
	pulumi.Input

	ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
	ToGetSrvRecordRecordOutputWithContext(context.Context) GetSrvRecordRecordOutput
}

GetSrvRecordRecordInput is an input type that accepts GetSrvRecordRecordArgs and GetSrvRecordRecordOutput values. You can construct a concrete instance of `GetSrvRecordRecordInput` via:

GetSrvRecordRecordArgs{...}

type GetSrvRecordRecordOutput

type GetSrvRecordRecordOutput struct{ *pulumi.OutputState }

func (GetSrvRecordRecordOutput) ElementType

func (GetSrvRecordRecordOutput) ElementType() reflect.Type

func (GetSrvRecordRecordOutput) Port

Port the service is listening on.

func (GetSrvRecordRecordOutput) Priority

Priority of the SRV record.

func (GetSrvRecordRecordOutput) Target

FQDN of the service.

func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput

func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput

func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext

func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput

func (GetSrvRecordRecordOutput) Weight

Weight of the SRV record.

type GetSrvRecordResult

type GetSrvRecordResult struct {
	// The FQDN of the Private DNS SRV Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// A list of values that make up the SRV record. Each `record` block supports fields documented below.
	Records           []GetSrvRecordRecord `pulumi:"records"`
	ResourceGroupName string               `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getSrvRecord.

func GetSrvRecord

func GetSrvRecord(ctx *pulumi.Context, args *GetSrvRecordArgs, opts ...pulumi.InvokeOption) (*GetSrvRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewSRVRecord(ctx, "example", &privatedns.SRVRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsSrvRecordId", exampleAzurermPrivateDnsSrvRecord.Id)
		return nil
	})
}

```

type GetSrvRecordResultOutput

type GetSrvRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSrvRecord.

func (GetSrvRecordResultOutput) ElementType

func (GetSrvRecordResultOutput) ElementType() reflect.Type

func (GetSrvRecordResultOutput) Fqdn

The FQDN of the Private DNS SRV Record.

func (GetSrvRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSrvRecordResultOutput) Name

func (GetSrvRecordResultOutput) Records

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

func (GetSrvRecordResultOutput) ResourceGroupName

func (o GetSrvRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetSrvRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutput

func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutput() GetSrvRecordResultOutput

func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext

func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext(ctx context.Context) GetSrvRecordResultOutput

func (GetSrvRecordResultOutput) Ttl

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

func (GetSrvRecordResultOutput) ZoneName

type GetTxtRecordRecord

type GetTxtRecordRecord struct {
	// The value of the record. Max length: 1024 characters
	Value string `pulumi:"value"`
}

type GetTxtRecordRecordArgs

type GetTxtRecordRecordArgs struct {
	// The value of the record. Max length: 1024 characters
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetTxtRecordRecordArgs) ElementType

func (GetTxtRecordRecordArgs) ElementType() reflect.Type

func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput

func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput

func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext

func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput

type GetTxtRecordRecordArray

type GetTxtRecordRecordArray []GetTxtRecordRecordInput

func (GetTxtRecordRecordArray) ElementType

func (GetTxtRecordRecordArray) ElementType() reflect.Type

func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput

func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput

func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext

func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput

type GetTxtRecordRecordArrayInput

type GetTxtRecordRecordArrayInput interface {
	pulumi.Input

	ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
	ToGetTxtRecordRecordArrayOutputWithContext(context.Context) GetTxtRecordRecordArrayOutput
}

GetTxtRecordRecordArrayInput is an input type that accepts GetTxtRecordRecordArray and GetTxtRecordRecordArrayOutput values. You can construct a concrete instance of `GetTxtRecordRecordArrayInput` via:

GetTxtRecordRecordArray{ GetTxtRecordRecordArgs{...} }

type GetTxtRecordRecordArrayOutput

type GetTxtRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetTxtRecordRecordArrayOutput) ElementType

func (GetTxtRecordRecordArrayOutput) Index

func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput

func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput

func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext

func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput

type GetTxtRecordRecordInput

type GetTxtRecordRecordInput interface {
	pulumi.Input

	ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
	ToGetTxtRecordRecordOutputWithContext(context.Context) GetTxtRecordRecordOutput
}

GetTxtRecordRecordInput is an input type that accepts GetTxtRecordRecordArgs and GetTxtRecordRecordOutput values. You can construct a concrete instance of `GetTxtRecordRecordInput` via:

GetTxtRecordRecordArgs{...}

type GetTxtRecordRecordOutput

type GetTxtRecordRecordOutput struct{ *pulumi.OutputState }

func (GetTxtRecordRecordOutput) ElementType

func (GetTxtRecordRecordOutput) ElementType() reflect.Type

func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput

func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput

func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext

func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput

func (GetTxtRecordRecordOutput) Value

The value of the record. Max length: 1024 characters

type LinkService

type LinkService struct {
	pulumi.CustomResourceState

	// A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service.
	AutoApprovalSubscriptionIds pulumi.StringArrayOutput `pulumi:"autoApprovalSubscriptionIds"`
	// Should the Private Link Service support the Proxy Protocol?
	EnableProxyProtocol pulumi.BoolPtrOutput `pulumi:"enableProxyProtocol"`
	// List of FQDNs allowed for the Private Link Service.
	Fqdns pulumi.StringArrayOutput `pulumi:"fqdns"`
	// A list of Frontend IP Configuration IDs 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. Changing this forces a new resource to be created.
	LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayOutput `pulumi:"loadBalancerFrontendIpConfigurationIds"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more (up to 8) `natIpConfiguration` block as defined below.
	NatIpConfigurations LinkServiceNatIpConfigurationArrayOutput `pulumi:"natIpConfigurations"`
	// The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A list of Subscription UUID/GUID's that will be able to see this Private Link Service.
	//
	// > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service.
	VisibilitySubscriptionIds pulumi.StringArrayOutput `pulumi:"visibilitySubscriptionIds"`
}

Manages a Private Link Service.

> **NOTE** Private Link is now in [GA](https://docs.microsoft.com/en-gb/azure/private-link/).

## Import

Private Link Services can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/linkService:LinkService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/privateLinkServices/service1 ```

func GetLinkService

func GetLinkService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkServiceState, opts ...pulumi.ResourceOption) (*LinkService, error)

GetLinkService gets an existing LinkService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLinkService

func NewLinkService(ctx *pulumi.Context,
	name string, args *LinkServiceArgs, opts ...pulumi.ResourceOption) (*LinkService, error)

NewLinkService registers a new resource with the given unique name, arguments, and options.

func (*LinkService) ElementType

func (*LinkService) ElementType() reflect.Type

func (*LinkService) ToLinkServiceOutput

func (i *LinkService) ToLinkServiceOutput() LinkServiceOutput

func (*LinkService) ToLinkServiceOutputWithContext

func (i *LinkService) ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput

type LinkServiceArgs

type LinkServiceArgs struct {
	// A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service.
	AutoApprovalSubscriptionIds pulumi.StringArrayInput
	// Should the Private Link Service support the Proxy Protocol?
	EnableProxyProtocol pulumi.BoolPtrInput
	// List of FQDNs allowed for the Private Link Service.
	Fqdns pulumi.StringArrayInput
	// A list of Frontend IP Configuration IDs 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. Changing this forces a new resource to be created.
	LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more (up to 8) `natIpConfiguration` block as defined below.
	NatIpConfigurations LinkServiceNatIpConfigurationArrayInput
	// The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A list of Subscription UUID/GUID's that will be able to see this Private Link Service.
	//
	// > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service.
	VisibilitySubscriptionIds pulumi.StringArrayInput
}

The set of arguments for constructing a LinkService resource.

func (LinkServiceArgs) ElementType

func (LinkServiceArgs) ElementType() reflect.Type

type LinkServiceArray

type LinkServiceArray []LinkServiceInput

func (LinkServiceArray) ElementType

func (LinkServiceArray) ElementType() reflect.Type

func (LinkServiceArray) ToLinkServiceArrayOutput

func (i LinkServiceArray) ToLinkServiceArrayOutput() LinkServiceArrayOutput

func (LinkServiceArray) ToLinkServiceArrayOutputWithContext

func (i LinkServiceArray) ToLinkServiceArrayOutputWithContext(ctx context.Context) LinkServiceArrayOutput

type LinkServiceArrayInput

type LinkServiceArrayInput interface {
	pulumi.Input

	ToLinkServiceArrayOutput() LinkServiceArrayOutput
	ToLinkServiceArrayOutputWithContext(context.Context) LinkServiceArrayOutput
}

LinkServiceArrayInput is an input type that accepts LinkServiceArray and LinkServiceArrayOutput values. You can construct a concrete instance of `LinkServiceArrayInput` via:

LinkServiceArray{ LinkServiceArgs{...} }

type LinkServiceArrayOutput

type LinkServiceArrayOutput struct{ *pulumi.OutputState }

func (LinkServiceArrayOutput) ElementType

func (LinkServiceArrayOutput) ElementType() reflect.Type

func (LinkServiceArrayOutput) Index

func (LinkServiceArrayOutput) ToLinkServiceArrayOutput

func (o LinkServiceArrayOutput) ToLinkServiceArrayOutput() LinkServiceArrayOutput

func (LinkServiceArrayOutput) ToLinkServiceArrayOutputWithContext

func (o LinkServiceArrayOutput) ToLinkServiceArrayOutputWithContext(ctx context.Context) LinkServiceArrayOutput

type LinkServiceInput

type LinkServiceInput interface {
	pulumi.Input

	ToLinkServiceOutput() LinkServiceOutput
	ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput
}

type LinkServiceMap

type LinkServiceMap map[string]LinkServiceInput

func (LinkServiceMap) ElementType

func (LinkServiceMap) ElementType() reflect.Type

func (LinkServiceMap) ToLinkServiceMapOutput

func (i LinkServiceMap) ToLinkServiceMapOutput() LinkServiceMapOutput

func (LinkServiceMap) ToLinkServiceMapOutputWithContext

func (i LinkServiceMap) ToLinkServiceMapOutputWithContext(ctx context.Context) LinkServiceMapOutput

type LinkServiceMapInput

type LinkServiceMapInput interface {
	pulumi.Input

	ToLinkServiceMapOutput() LinkServiceMapOutput
	ToLinkServiceMapOutputWithContext(context.Context) LinkServiceMapOutput
}

LinkServiceMapInput is an input type that accepts LinkServiceMap and LinkServiceMapOutput values. You can construct a concrete instance of `LinkServiceMapInput` via:

LinkServiceMap{ "key": LinkServiceArgs{...} }

type LinkServiceMapOutput

type LinkServiceMapOutput struct{ *pulumi.OutputState }

func (LinkServiceMapOutput) ElementType

func (LinkServiceMapOutput) ElementType() reflect.Type

func (LinkServiceMapOutput) MapIndex

func (LinkServiceMapOutput) ToLinkServiceMapOutput

func (o LinkServiceMapOutput) ToLinkServiceMapOutput() LinkServiceMapOutput

func (LinkServiceMapOutput) ToLinkServiceMapOutputWithContext

func (o LinkServiceMapOutput) ToLinkServiceMapOutputWithContext(ctx context.Context) LinkServiceMapOutput

type LinkServiceNatIpConfiguration

type LinkServiceNatIpConfiguration struct {
	// Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	// Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
	Primary bool `pulumi:"primary"`
	// Specifies a Private Static IP Address for this IP Configuration.
	PrivateIpAddress *string `pulumi:"privateIpAddress"`
	// The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`.
	PrivateIpAddressVersion *string `pulumi:"privateIpAddressVersion"`
	// Specifies the ID of the Subnet which should be used for the Private Link Service.
	//
	// > **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`.
	SubnetId string `pulumi:"subnetId"`
}

type LinkServiceNatIpConfigurationArgs

type LinkServiceNatIpConfigurationArgs struct {
	// Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
	Primary pulumi.BoolInput `pulumi:"primary"`
	// Specifies a Private Static IP Address for this IP Configuration.
	PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"`
	// The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`.
	PrivateIpAddressVersion pulumi.StringPtrInput `pulumi:"privateIpAddressVersion"`
	// Specifies the ID of the Subnet which should be used for the Private Link Service.
	//
	// > **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (LinkServiceNatIpConfigurationArgs) ElementType

func (LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutput

func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput

func (LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutputWithContext

func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput

type LinkServiceNatIpConfigurationArray

type LinkServiceNatIpConfigurationArray []LinkServiceNatIpConfigurationInput

func (LinkServiceNatIpConfigurationArray) ElementType

func (LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutput

func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput

func (LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutputWithContext

func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput

type LinkServiceNatIpConfigurationArrayInput

type LinkServiceNatIpConfigurationArrayInput interface {
	pulumi.Input

	ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput
	ToLinkServiceNatIpConfigurationArrayOutputWithContext(context.Context) LinkServiceNatIpConfigurationArrayOutput
}

LinkServiceNatIpConfigurationArrayInput is an input type that accepts LinkServiceNatIpConfigurationArray and LinkServiceNatIpConfigurationArrayOutput values. You can construct a concrete instance of `LinkServiceNatIpConfigurationArrayInput` via:

LinkServiceNatIpConfigurationArray{ LinkServiceNatIpConfigurationArgs{...} }

type LinkServiceNatIpConfigurationArrayOutput

type LinkServiceNatIpConfigurationArrayOutput struct{ *pulumi.OutputState }

func (LinkServiceNatIpConfigurationArrayOutput) ElementType

func (LinkServiceNatIpConfigurationArrayOutput) Index

func (LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutput

func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput

func (LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutputWithContext

func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput

type LinkServiceNatIpConfigurationInput

type LinkServiceNatIpConfigurationInput interface {
	pulumi.Input

	ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput
	ToLinkServiceNatIpConfigurationOutputWithContext(context.Context) LinkServiceNatIpConfigurationOutput
}

LinkServiceNatIpConfigurationInput is an input type that accepts LinkServiceNatIpConfigurationArgs and LinkServiceNatIpConfigurationOutput values. You can construct a concrete instance of `LinkServiceNatIpConfigurationInput` via:

LinkServiceNatIpConfigurationArgs{...}

type LinkServiceNatIpConfigurationOutput

type LinkServiceNatIpConfigurationOutput struct{ *pulumi.OutputState }

func (LinkServiceNatIpConfigurationOutput) ElementType

func (LinkServiceNatIpConfigurationOutput) Name

Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.

func (LinkServiceNatIpConfigurationOutput) Primary

Is this is the Primary IP Configuration? Changing this forces a new resource to be created.

func (LinkServiceNatIpConfigurationOutput) PrivateIpAddress

Specifies a Private Static IP Address for this IP Configuration.

func (LinkServiceNatIpConfigurationOutput) PrivateIpAddressVersion

func (o LinkServiceNatIpConfigurationOutput) PrivateIpAddressVersion() pulumi.StringPtrOutput

The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`.

func (LinkServiceNatIpConfigurationOutput) SubnetId

Specifies the ID of the Subnet which should be used for the Private Link Service.

> **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`.

func (LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutput

func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput

func (LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutputWithContext

func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput

type LinkServiceOutput

type LinkServiceOutput struct{ *pulumi.OutputState }

func (LinkServiceOutput) Alias

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

func (LinkServiceOutput) AutoApprovalSubscriptionIds

func (o LinkServiceOutput) AutoApprovalSubscriptionIds() pulumi.StringArrayOutput

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

func (LinkServiceOutput) ElementType

func (LinkServiceOutput) ElementType() reflect.Type

func (LinkServiceOutput) EnableProxyProtocol

func (o LinkServiceOutput) EnableProxyProtocol() pulumi.BoolPtrOutput

Should the Private Link Service support the Proxy Protocol?

func (LinkServiceOutput) Fqdns

List of FQDNs allowed for the Private Link Service.

func (LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds

func (o LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds() pulumi.StringArrayOutput

A list of Frontend IP Configuration IDs 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. Changing this forces a new resource to be created.

func (LinkServiceOutput) Location

func (o LinkServiceOutput) Location() pulumi.StringOutput

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

func (LinkServiceOutput) Name

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

func (LinkServiceOutput) NatIpConfigurations

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

func (LinkServiceOutput) ResourceGroupName

func (o LinkServiceOutput) ResourceGroupName() pulumi.StringOutput

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

func (LinkServiceOutput) Tags

A mapping of tags to assign to the resource.

func (LinkServiceOutput) ToLinkServiceOutput

func (o LinkServiceOutput) ToLinkServiceOutput() LinkServiceOutput

func (LinkServiceOutput) ToLinkServiceOutputWithContext

func (o LinkServiceOutput) ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput

func (LinkServiceOutput) VisibilitySubscriptionIds

func (o LinkServiceOutput) VisibilitySubscriptionIds() pulumi.StringArrayOutput

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

> **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service.

type LinkServiceState

type LinkServiceState struct {
	// A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
	Alias pulumi.StringPtrInput
	// A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service.
	AutoApprovalSubscriptionIds pulumi.StringArrayInput
	// Should the Private Link Service support the Proxy Protocol?
	EnableProxyProtocol pulumi.BoolPtrInput
	// List of FQDNs allowed for the Private Link Service.
	Fqdns pulumi.StringArrayInput
	// A list of Frontend IP Configuration IDs 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. Changing this forces a new resource to be created.
	LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more (up to 8) `natIpConfiguration` block as defined below.
	NatIpConfigurations LinkServiceNatIpConfigurationArrayInput
	// The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A list of Subscription UUID/GUID's that will be able to see this Private Link Service.
	//
	// > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service.
	VisibilitySubscriptionIds pulumi.StringArrayInput
}

func (LinkServiceState) ElementType

func (LinkServiceState) ElementType() reflect.Type

type LookupAAAARecordArgs

type LookupAAAARecordArgs struct {
	// The name of the Private DNS AAAA Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getAAAARecord.

type LookupAAAARecordOutputArgs

type LookupAAAARecordOutputArgs struct {
	// The name of the Private DNS AAAA Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getAAAARecord.

func (LookupAAAARecordOutputArgs) ElementType

func (LookupAAAARecordOutputArgs) ElementType() reflect.Type

type LookupAAAARecordResult

type LookupAAAARecordResult struct {
	// The FQDN of the Private DNS AAAA Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// List of IPv6 Addresses.
	Records           []string `pulumi:"records"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getAAAARecord.

func LookupAAAARecord

func LookupAAAARecord(ctx *pulumi.Context, args *LookupAAAARecordArgs, opts ...pulumi.InvokeOption) (*LookupAAAARecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewAAAARecord(ctx, "example", &privatedns.AAAARecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsAaaaRecordId", exampleAzurermPrivateDnsAaaaRecord.Id)
		return nil
	})
}

```

type LookupAAAARecordResultOutput

type LookupAAAARecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAAAARecord.

func (LookupAAAARecordResultOutput) ElementType

func (LookupAAAARecordResultOutput) Fqdn

The FQDN of the Private DNS AAAA Record.

func (LookupAAAARecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAAAARecordResultOutput) Name

func (LookupAAAARecordResultOutput) Records

List of IPv6 Addresses.

func (LookupAAAARecordResultOutput) ResourceGroupName

func (o LookupAAAARecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAAAARecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput

func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput() LookupAAAARecordResultOutput

func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext

func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext(ctx context.Context) LookupAAAARecordResultOutput

func (LookupAAAARecordResultOutput) Ttl

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

func (LookupAAAARecordResultOutput) ZoneName

type LookupARecordArgs

type LookupARecordArgs struct {
	// The name of the Private DNS A Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getARecord.

type LookupARecordOutputArgs

type LookupARecordOutputArgs struct {
	// The name of the Private DNS A Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getARecord.

func (LookupARecordOutputArgs) ElementType

func (LookupARecordOutputArgs) ElementType() reflect.Type

type LookupARecordResult

type LookupARecordResult struct {
	// The FQDN of the Private DNS A Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// List of IPv4 Addresses.
	Records           []string `pulumi:"records"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the Private DNS A Record.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getARecord.

func LookupARecord

func LookupARecord(ctx *pulumi.Context, args *LookupARecordArgs, opts ...pulumi.InvokeOption) (*LookupARecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := privatedns.LookupARecord(ctx, &privatedns.LookupARecordArgs{
			Name:              "test",
			ZoneName:          "test-zone",
			ResourceGroupName: "test-rg",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("privateDnsARecordId", example.Id)
		return nil
	})
}

```

type LookupARecordResultOutput

type LookupARecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getARecord.

func (LookupARecordResultOutput) ElementType

func (LookupARecordResultOutput) ElementType() reflect.Type

func (LookupARecordResultOutput) Fqdn

The FQDN of the Private DNS A Record.

func (LookupARecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupARecordResultOutput) Name

func (LookupARecordResultOutput) Records

List of IPv4 Addresses.

func (LookupARecordResultOutput) ResourceGroupName

func (o LookupARecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupARecordResultOutput) Tags

A mapping of tags assigned to the Private DNS A Record.

func (LookupARecordResultOutput) ToLookupARecordResultOutput

func (o LookupARecordResultOutput) ToLookupARecordResultOutput() LookupARecordResultOutput

func (LookupARecordResultOutput) ToLookupARecordResultOutputWithContext

func (o LookupARecordResultOutput) ToLookupARecordResultOutputWithContext(ctx context.Context) LookupARecordResultOutput

func (LookupARecordResultOutput) Ttl

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

func (LookupARecordResultOutput) ZoneName

type LookupCnameRecordArgs

type LookupCnameRecordArgs struct {
	// The name of the Private DNS CNAME Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getCnameRecord.

type LookupCnameRecordOutputArgs

type LookupCnameRecordOutputArgs struct {
	// The name of the Private DNS CNAME Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getCnameRecord.

func (LookupCnameRecordOutputArgs) ElementType

type LookupCnameRecordResult

type LookupCnameRecordResult struct {
	// The FQDN of the Private DNS CName Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The target of the CNAME.
	Record            string `pulumi:"record"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags             map[string]string `pulumi:"tags"`
	TargetResourceId string            `pulumi:"targetResourceId"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getCnameRecord.

func LookupCnameRecord

func LookupCnameRecord(ctx *pulumi.Context, args *LookupCnameRecordArgs, opts ...pulumi.InvokeOption) (*LookupCnameRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewCnameRecord(ctx, "example", &privatedns.CnameRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsCnameRecordId", exampleAzurermPrivateDnsCnameRecord.Id)
		return nil
	})
}

```

type LookupCnameRecordResultOutput

type LookupCnameRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCnameRecord.

func (LookupCnameRecordResultOutput) ElementType

func (LookupCnameRecordResultOutput) Fqdn

The FQDN of the Private DNS CName Record.

func (LookupCnameRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCnameRecordResultOutput) Name

func (LookupCnameRecordResultOutput) Record

The target of the CNAME.

func (LookupCnameRecordResultOutput) ResourceGroupName

func (o LookupCnameRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupCnameRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupCnameRecordResultOutput) TargetResourceId

func (o LookupCnameRecordResultOutput) TargetResourceId() pulumi.StringOutput

func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput

func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput() LookupCnameRecordResultOutput

func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext

func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext(ctx context.Context) LookupCnameRecordResultOutput

func (LookupCnameRecordResultOutput) Ttl

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

func (LookupCnameRecordResultOutput) ZoneName

type LookupMxRecordArgs

type LookupMxRecordArgs struct {
	// The name of the Private DNS MX Record.
	Name *string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getMxRecord.

type LookupMxRecordOutputArgs

type LookupMxRecordOutputArgs struct {
	// The name of the Private DNS MX Record.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getMxRecord.

func (LookupMxRecordOutputArgs) ElementType

func (LookupMxRecordOutputArgs) ElementType() reflect.Type

type LookupMxRecordResult

type LookupMxRecordResult struct {
	// The FQDN of the Private DNS MX Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string  `pulumi:"id"`
	Name *string `pulumi:"name"`
	// A list of values that make up the MX record. Each `record` block supports fields documented below.
	Records           []GetMxRecordRecord `pulumi:"records"`
	ResourceGroupName string              `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getMxRecord.

func LookupMxRecord

func LookupMxRecord(ctx *pulumi.Context, args *LookupMxRecordArgs, opts ...pulumi.InvokeOption) (*LookupMxRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewMxRecord(ctx, "example", &privatedns.MxRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsMxRecordId", exampleAzurermPrivateDnsMxRecord.Id)
		return nil
	})
}

```

type LookupMxRecordResultOutput

type LookupMxRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMxRecord.

func (LookupMxRecordResultOutput) ElementType

func (LookupMxRecordResultOutput) ElementType() reflect.Type

func (LookupMxRecordResultOutput) Fqdn

The FQDN of the Private DNS MX Record.

func (LookupMxRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMxRecordResultOutput) Name

func (LookupMxRecordResultOutput) Records

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

func (LookupMxRecordResultOutput) ResourceGroupName

func (o LookupMxRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupMxRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutput

func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutput() LookupMxRecordResultOutput

func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext

func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext(ctx context.Context) LookupMxRecordResultOutput

func (LookupMxRecordResultOutput) Ttl

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

func (LookupMxRecordResultOutput) ZoneName

type LookupResolverArgs

type LookupResolverArgs struct {
	// Name of the Private DNS Resolver.
	Name string `pulumi:"name"`
	// Name of the Resource Group where the Private DNS Resolver exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getResolver.

type LookupResolverDnsForwardingRulesetArgs

type LookupResolverDnsForwardingRulesetArgs struct {
	// Name of the existing Private DNS Resolver Dns Forwarding Ruleset.
	Name string `pulumi:"name"`
	// Name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getResolverDnsForwardingRuleset.

type LookupResolverDnsForwardingRulesetOutputArgs

type LookupResolverDnsForwardingRulesetOutputArgs struct {
	// Name of the existing Private DNS Resolver Dns Forwarding Ruleset.
	Name pulumi.StringInput `pulumi:"name"`
	// Name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getResolverDnsForwardingRuleset.

func (LookupResolverDnsForwardingRulesetOutputArgs) ElementType

type LookupResolverDnsForwardingRulesetResult

type LookupResolverDnsForwardingRulesetResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset.
	PrivateDnsResolverOutboundEndpointIds []string `pulumi:"privateDnsResolverOutboundEndpointIds"`
	ResourceGroupName                     string   `pulumi:"resourceGroupName"`
	// The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getResolverDnsForwardingRuleset.

func LookupResolverDnsForwardingRuleset

Gets information about an existing Private DNS Resolver Dns Forwarding Ruleset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolverDnsForwardingRuleset(ctx, &privatedns.LookupResolverDnsForwardingRulesetArgs{
			Name:              "example-ruleset",
			ResourceGroupName: "example-ruleset-resourcegroup",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverDnsForwardingRulesetResultOutput

type LookupResolverDnsForwardingRulesetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverDnsForwardingRuleset.

func (LookupResolverDnsForwardingRulesetResultOutput) ElementType

func (LookupResolverDnsForwardingRulesetResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverDnsForwardingRulesetResultOutput) Location

The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.

func (LookupResolverDnsForwardingRulesetResultOutput) Name

func (LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds

func (o LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput

The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset.

func (LookupResolverDnsForwardingRulesetResultOutput) ResourceGroupName

func (LookupResolverDnsForwardingRulesetResultOutput) Tags

The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.

func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput

func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput() LookupResolverDnsForwardingRulesetResultOutput

func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext

func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext(ctx context.Context) LookupResolverDnsForwardingRulesetResultOutput

type LookupResolverForwardingRuleArgs

type LookupResolverForwardingRuleArgs struct {
	// ID of the Private DNS Resolver Forwarding Ruleset.
	DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"`
	// Name of the Private DNS Resolver Forwarding Rule.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getResolverForwardingRule.

type LookupResolverForwardingRuleOutputArgs

type LookupResolverForwardingRuleOutputArgs struct {
	// ID of the Private DNS Resolver Forwarding Ruleset.
	DnsForwardingRulesetId pulumi.StringInput `pulumi:"dnsForwardingRulesetId"`
	// Name of the Private DNS Resolver Forwarding Rule.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getResolverForwardingRule.

func (LookupResolverForwardingRuleOutputArgs) ElementType

type LookupResolverForwardingRuleResult

type LookupResolverForwardingRuleResult struct {
	DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"`
	// The domain name for the Private DNS Resolver Forwarding Rule.
	DomainName string `pulumi:"domainName"`
	// Is the Private DNS Resolver Forwarding Rule enabled?
	Enabled bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The metadata attached to the Private DNS Resolver Forwarding Rule.
	Metadata map[string]string `pulumi:"metadata"`
	Name     string            `pulumi:"name"`
	// A list of `targetDnsServers` block as defined below.
	TargetDnsServers []GetResolverForwardingRuleTargetDnsServer `pulumi:"targetDnsServers"`
}

A collection of values returned by getResolverForwardingRule.

func LookupResolverForwardingRule

func LookupResolverForwardingRule(ctx *pulumi.Context, args *LookupResolverForwardingRuleArgs, opts ...pulumi.InvokeOption) (*LookupResolverForwardingRuleResult, error)

Gets information about an existing Private DNS Resolver Forwarding Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolverForwardingRule(ctx, &privatedns.LookupResolverForwardingRuleArgs{
			Name:                   "example-rule",
			DnsForwardingRulesetId: "example-forwarding-rulset-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverForwardingRuleResultOutput

type LookupResolverForwardingRuleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverForwardingRule.

func (LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId

func (LookupResolverForwardingRuleResultOutput) DomainName

The domain name for the Private DNS Resolver Forwarding Rule.

func (LookupResolverForwardingRuleResultOutput) ElementType

func (LookupResolverForwardingRuleResultOutput) Enabled

Is the Private DNS Resolver Forwarding Rule enabled?

func (LookupResolverForwardingRuleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverForwardingRuleResultOutput) Metadata

The metadata attached to the Private DNS Resolver Forwarding Rule.

func (LookupResolverForwardingRuleResultOutput) Name

func (LookupResolverForwardingRuleResultOutput) TargetDnsServers

A list of `targetDnsServers` block as defined below.

func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput

func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput() LookupResolverForwardingRuleResultOutput

func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext

func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext(ctx context.Context) LookupResolverForwardingRuleResultOutput

type LookupResolverInboundEndpointArgs

type LookupResolverInboundEndpointArgs struct {
	// Name of the Private DNS Resolver Inbound Endpoint.
	Name string `pulumi:"name"`
	// ID of the Private DNS Resolver.
	PrivateDnsResolverId string `pulumi:"privateDnsResolverId"`
}

A collection of arguments for invoking getResolverInboundEndpoint.

type LookupResolverInboundEndpointOutputArgs

type LookupResolverInboundEndpointOutputArgs struct {
	// Name of the Private DNS Resolver Inbound Endpoint.
	Name pulumi.StringInput `pulumi:"name"`
	// ID of the Private DNS Resolver.
	PrivateDnsResolverId pulumi.StringInput `pulumi:"privateDnsResolverId"`
}

A collection of arguments for invoking getResolverInboundEndpoint.

func (LookupResolverInboundEndpointOutputArgs) ElementType

type LookupResolverInboundEndpointResult

type LookupResolverInboundEndpointResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of `ipConfigurations` block as defined below.
	IpConfigurations []GetResolverInboundEndpointIpConfiguration `pulumi:"ipConfigurations"`
	// The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
	Location             string `pulumi:"location"`
	Name                 string `pulumi:"name"`
	PrivateDnsResolverId string `pulumi:"privateDnsResolverId"`
	// The tags assigned to the Private DNS Resolver Inbound Endpoint.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getResolverInboundEndpoint.

func LookupResolverInboundEndpoint

Gets information about an existing Private DNS Resolver Inbound Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolverInboundEndpoint(ctx, &privatedns.LookupResolverInboundEndpointArgs{
			Name:                 "example-drie",
			PrivateDnsResolverId: "example-private-dns-resolver-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverInboundEndpointResultOutput

type LookupResolverInboundEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverInboundEndpoint.

func (LookupResolverInboundEndpointResultOutput) ElementType

func (LookupResolverInboundEndpointResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverInboundEndpointResultOutput) IpConfigurations

A list of `ipConfigurations` block as defined below.

func (LookupResolverInboundEndpointResultOutput) Location

The Azure Region where the Private DNS Resolver Inbound Endpoint exists.

func (LookupResolverInboundEndpointResultOutput) Name

func (LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId

func (LookupResolverInboundEndpointResultOutput) Tags

The tags assigned to the Private DNS Resolver Inbound Endpoint.

func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput

func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput() LookupResolverInboundEndpointResultOutput

func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext

func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverInboundEndpointResultOutput

type LookupResolverOutboundEndpointArgs

type LookupResolverOutboundEndpointArgs struct {
	// Name of the Private DNS Resolver Outbound Endpoint.
	Name string `pulumi:"name"`
	// ID of the Private DNS Resolver Outbound Endpoint.
	PrivateDnsResolverId string `pulumi:"privateDnsResolverId"`
}

A collection of arguments for invoking getResolverOutboundEndpoint.

type LookupResolverOutboundEndpointOutputArgs

type LookupResolverOutboundEndpointOutputArgs struct {
	// Name of the Private DNS Resolver Outbound Endpoint.
	Name pulumi.StringInput `pulumi:"name"`
	// ID of the Private DNS Resolver Outbound Endpoint.
	PrivateDnsResolverId pulumi.StringInput `pulumi:"privateDnsResolverId"`
}

A collection of arguments for invoking getResolverOutboundEndpoint.

func (LookupResolverOutboundEndpointOutputArgs) ElementType

type LookupResolverOutboundEndpointResult

type LookupResolverOutboundEndpointResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the Private DNS Resolver Outbound Endpoint exists.
	Location             string `pulumi:"location"`
	Name                 string `pulumi:"name"`
	PrivateDnsResolverId string `pulumi:"privateDnsResolverId"`
	// The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint.
	SubnetId string `pulumi:"subnetId"`
	// The tags assigned to the Private DNS Resolver Outbound Endpoint.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getResolverOutboundEndpoint.

func LookupResolverOutboundEndpoint

Gets information about an existing Private DNS Resolver Outbound Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolverOutboundEndpoint(ctx, &privatedns.LookupResolverOutboundEndpointArgs{
			Name:                 "example-endpoint",
			PrivateDnsResolverId: "example-private-dns-resolver-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverOutboundEndpointResultOutput

type LookupResolverOutboundEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverOutboundEndpoint.

func (LookupResolverOutboundEndpointResultOutput) ElementType

func (LookupResolverOutboundEndpointResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverOutboundEndpointResultOutput) Location

The Azure Region where the Private DNS Resolver Outbound Endpoint exists.

func (LookupResolverOutboundEndpointResultOutput) Name

func (LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId

func (LookupResolverOutboundEndpointResultOutput) SubnetId

The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint.

func (LookupResolverOutboundEndpointResultOutput) Tags

The tags assigned to the Private DNS Resolver Outbound Endpoint.

func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput

func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput() LookupResolverOutboundEndpointResultOutput

func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext

func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverOutboundEndpointResultOutput

type LookupResolverOutputArgs

type LookupResolverOutputArgs struct {
	// Name of the Private DNS Resolver.
	Name pulumi.StringInput `pulumi:"name"`
	// Name of the Resource Group where the Private DNS Resolver exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getResolver.

func (LookupResolverOutputArgs) ElementType

func (LookupResolverOutputArgs) ElementType() reflect.Type

type LookupResolverResult

type LookupResolverResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the Private DNS Resolver exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The tags assigned to the Private DNS Resolver.
	Tags map[string]string `pulumi:"tags"`
	// The ID of the Virtual Network that is linked to the Private DNS Resolver.
	VirtualNetworkId string `pulumi:"virtualNetworkId"`
}

A collection of values returned by getResolver.

func LookupResolver

func LookupResolver(ctx *pulumi.Context, args *LookupResolverArgs, opts ...pulumi.InvokeOption) (*LookupResolverResult, error)

Gets information about an existing Private DNS Resolver.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolver(ctx, &privatedns.LookupResolverArgs{
			Name:              "example",
			ResourceGroupName: "example-resourcegroup-name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverResultOutput

type LookupResolverResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolver.

func (LookupResolverResultOutput) ElementType

func (LookupResolverResultOutput) ElementType() reflect.Type

func (LookupResolverResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverResultOutput) Location

The Azure Region where the Private DNS Resolver exists.

func (LookupResolverResultOutput) Name

func (LookupResolverResultOutput) ResourceGroupName

func (o LookupResolverResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupResolverResultOutput) Tags

The tags assigned to the Private DNS Resolver.

func (LookupResolverResultOutput) ToLookupResolverResultOutput

func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput

func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext

func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput

func (LookupResolverResultOutput) VirtualNetworkId

func (o LookupResolverResultOutput) VirtualNetworkId() pulumi.StringOutput

The ID of the Virtual Network that is linked to the Private DNS Resolver.

type LookupResolverVirtualNetworkLinkArgs

type LookupResolverVirtualNetworkLinkArgs struct {
	// ID of the Private DNS Resolver DNS Forwarding Ruleset.
	DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"`
	// Name of the Private DNS Resolver Virtual Network Link.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getResolverVirtualNetworkLink.

type LookupResolverVirtualNetworkLinkOutputArgs

type LookupResolverVirtualNetworkLinkOutputArgs struct {
	// ID of the Private DNS Resolver DNS Forwarding Ruleset.
	DnsForwardingRulesetId pulumi.StringInput `pulumi:"dnsForwardingRulesetId"`
	// Name of the Private DNS Resolver Virtual Network Link.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getResolverVirtualNetworkLink.

func (LookupResolverVirtualNetworkLinkOutputArgs) ElementType

type LookupResolverVirtualNetworkLinkResult

type LookupResolverVirtualNetworkLinkResult struct {
	DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The metadata attached to the Private DNS Resolver Virtual Network Link.
	Metadata map[string]string `pulumi:"metadata"`
	Name     string            `pulumi:"name"`
	// The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link.
	VirtualNetworkId string `pulumi:"virtualNetworkId"`
}

A collection of values returned by getResolverVirtualNetworkLink.

Gets information about an existing Private DNS Resolver Virtual Network Link.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.LookupResolverVirtualNetworkLink(ctx, &privatedns.LookupResolverVirtualNetworkLinkArgs{
			Name:                   "example-link",
			DnsForwardingRulesetId: "example-dns-forwarding-ruleset-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverVirtualNetworkLinkResultOutput

type LookupResolverVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverVirtualNetworkLink.

func (LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId

func (LookupResolverVirtualNetworkLinkResultOutput) ElementType

func (LookupResolverVirtualNetworkLinkResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResolverVirtualNetworkLinkResultOutput) Metadata

The metadata attached to the Private DNS Resolver Virtual Network Link.

func (LookupResolverVirtualNetworkLinkResultOutput) Name

func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput

func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput() LookupResolverVirtualNetworkLinkResultOutput

func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext

func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupResolverVirtualNetworkLinkResultOutput

func (LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId

The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link.

type LookupTxtRecordArgs

type LookupTxtRecordArgs struct {
	// The name of the Private DNS TXT Record.
	Name string `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getTxtRecord.

type LookupTxtRecordOutputArgs

type LookupTxtRecordOutputArgs struct {
	// The name of the Private DNS TXT Record.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the resource group where the Private DNS Zone (parent resource) exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Specifies the Private DNS Zone where the resource exists.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getTxtRecord.

func (LookupTxtRecordOutputArgs) ElementType

func (LookupTxtRecordOutputArgs) ElementType() reflect.Type

type LookupTxtRecordResult

type LookupTxtRecordResult struct {
	// The FQDN of the Private DNS TXT Record.
	Fqdn string `pulumi:"fqdn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// A list of values that make up the txt record. Each `record` block supports fields documented below.
	Records           []GetTxtRecordRecord `pulumi:"records"`
	ResourceGroupName string               `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live (TTL) of the Private DNS record in seconds.
	Ttl      int    `pulumi:"ttl"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getTxtRecord.

func LookupTxtRecord

func LookupTxtRecord(ctx *pulumi.Context, args *LookupTxtRecordArgs, opts ...pulumi.InvokeOption) (*LookupTxtRecordResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := privatedns.NewTxtRecord(ctx, "example", &privatedns.TxtRecordArgs{
			Name:              pulumi.String("test"),
			ZoneName:          pulumi.String("test-zone"),
			ResourceGroupName: pulumi.String("test-rg"),
		})
		if err != nil {
			return err
		}
		ctx.Export("privateDnsTxtRecordId", exampleAzurermPrivateDnsTxtRecord.Id)
		return nil
	})
}

```

type LookupTxtRecordResultOutput

type LookupTxtRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTxtRecord.

func (LookupTxtRecordResultOutput) ElementType

func (LookupTxtRecordResultOutput) Fqdn

The FQDN of the Private DNS TXT Record.

func (LookupTxtRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTxtRecordResultOutput) Name

func (LookupTxtRecordResultOutput) Records

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

func (LookupTxtRecordResultOutput) ResourceGroupName

func (o LookupTxtRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupTxtRecordResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput

func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput() LookupTxtRecordResultOutput

func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext

func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext(ctx context.Context) LookupTxtRecordResultOutput

func (LookupTxtRecordResultOutput) Ttl

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

func (LookupTxtRecordResultOutput) ZoneName

type LookupZoneVirtualNetworkLinkArgs

type LookupZoneVirtualNetworkLinkArgs struct {
	// The name of the Private DNS Zone Virtual Network Link.
	Name string `pulumi:"name"`
	// The name of the Private DNS zone (without a terminating dot).
	PrivateDnsZoneName string `pulumi:"privateDnsZoneName"`
	// Specifies the resource group where the Private DNS Zone exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getZoneVirtualNetworkLink.

type LookupZoneVirtualNetworkLinkOutputArgs

type LookupZoneVirtualNetworkLinkOutputArgs struct {
	// The name of the Private DNS Zone Virtual Network Link.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Private DNS zone (without a terminating dot).
	PrivateDnsZoneName pulumi.StringInput `pulumi:"privateDnsZoneName"`
	// Specifies the resource group where the Private DNS Zone exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getZoneVirtualNetworkLink.

func (LookupZoneVirtualNetworkLinkOutputArgs) ElementType

type LookupZoneVirtualNetworkLinkResult

type LookupZoneVirtualNetworkLinkResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                 string `pulumi:"id"`
	Name               string `pulumi:"name"`
	PrivateDnsZoneName string `pulumi:"privateDnsZoneName"`
	// Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not.
	RegistrationEnabled bool   `pulumi:"registrationEnabled"`
	ResourceGroupName   string `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The ID of the Virtual Network that is linked to the DNS Zone.
	VirtualNetworkId string `pulumi:"virtualNetworkId"`
}

A collection of values returned by getZoneVirtualNetworkLink.

func LookupZoneVirtualNetworkLink(ctx *pulumi.Context, args *LookupZoneVirtualNetworkLinkArgs, opts ...pulumi.InvokeOption) (*LookupZoneVirtualNetworkLinkResult, error)

Use this data source to access information about an existing Private DNS zone Virtual Network Link. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := privatedns.LookupZoneVirtualNetworkLink(ctx, &privatedns.LookupZoneVirtualNetworkLinkArgs{
			Name:               "test",
			ResourceGroupName:  "test-rg",
			PrivateDnsZoneName: "test-zone",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("privateDnsARecordId", example.Id)
		return nil
	})
}

```

type LookupZoneVirtualNetworkLinkResultOutput

type LookupZoneVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZoneVirtualNetworkLink.

func (LookupZoneVirtualNetworkLinkResultOutput) ElementType

func (LookupZoneVirtualNetworkLinkResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupZoneVirtualNetworkLinkResultOutput) Name

func (LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName

func (LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled

Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not.

func (LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName

func (LookupZoneVirtualNetworkLinkResultOutput) Tags

A mapping of tags to assign to the resource.

func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput

func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput() LookupZoneVirtualNetworkLinkResultOutput

func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext

func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupZoneVirtualNetworkLinkResultOutput

func (LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId

The ID of the Virtual Network that is linked to the DNS Zone.

type MxRecord

type MxRecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS MX Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `record` blocks as defined below.
	Records MxRecordRecordArrayOutput `pulumi:"records"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS MX Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("contoso.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewMxRecord(ctx, "example", &privatedns.MxRecordArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			ZoneName:          exampleZone.Name,
			Ttl:               pulumi.Int(300),
			Records: privatedns.MxRecordRecordArray{
				&privatedns.MxRecordRecordArgs{
					Preference: pulumi.Int(10),
					Exchange:   pulumi.String("mx1.contoso.com"),
				},
				&privatedns.MxRecordRecordArgs{
					Preference: pulumi.Int(20),
					Exchange:   pulumi.String("backupmx.contoso.com"),
				},
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS MX Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/mxRecord:MxRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/MX/@ ```

func GetMxRecord

func GetMxRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MxRecordState, opts ...pulumi.ResourceOption) (*MxRecord, error)

GetMxRecord gets an existing MxRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMxRecord

func NewMxRecord(ctx *pulumi.Context,
	name string, args *MxRecordArgs, opts ...pulumi.ResourceOption) (*MxRecord, error)

NewMxRecord registers a new resource with the given unique name, arguments, and options.

func (*MxRecord) ElementType

func (*MxRecord) ElementType() reflect.Type

func (*MxRecord) ToMxRecordOutput

func (i *MxRecord) ToMxRecordOutput() MxRecordOutput

func (*MxRecord) ToMxRecordOutputWithContext

func (i *MxRecord) ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput

type MxRecordArgs

type MxRecordArgs struct {
	// The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records MxRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a MxRecord resource.

func (MxRecordArgs) ElementType

func (MxRecordArgs) ElementType() reflect.Type

type MxRecordArray

type MxRecordArray []MxRecordInput

func (MxRecordArray) ElementType

func (MxRecordArray) ElementType() reflect.Type

func (MxRecordArray) ToMxRecordArrayOutput

func (i MxRecordArray) ToMxRecordArrayOutput() MxRecordArrayOutput

func (MxRecordArray) ToMxRecordArrayOutputWithContext

func (i MxRecordArray) ToMxRecordArrayOutputWithContext(ctx context.Context) MxRecordArrayOutput

type MxRecordArrayInput

type MxRecordArrayInput interface {
	pulumi.Input

	ToMxRecordArrayOutput() MxRecordArrayOutput
	ToMxRecordArrayOutputWithContext(context.Context) MxRecordArrayOutput
}

MxRecordArrayInput is an input type that accepts MxRecordArray and MxRecordArrayOutput values. You can construct a concrete instance of `MxRecordArrayInput` via:

MxRecordArray{ MxRecordArgs{...} }

type MxRecordArrayOutput

type MxRecordArrayOutput struct{ *pulumi.OutputState }

func (MxRecordArrayOutput) ElementType

func (MxRecordArrayOutput) ElementType() reflect.Type

func (MxRecordArrayOutput) Index

func (MxRecordArrayOutput) ToMxRecordArrayOutput

func (o MxRecordArrayOutput) ToMxRecordArrayOutput() MxRecordArrayOutput

func (MxRecordArrayOutput) ToMxRecordArrayOutputWithContext

func (o MxRecordArrayOutput) ToMxRecordArrayOutputWithContext(ctx context.Context) MxRecordArrayOutput

type MxRecordInput

type MxRecordInput interface {
	pulumi.Input

	ToMxRecordOutput() MxRecordOutput
	ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput
}

type MxRecordMap

type MxRecordMap map[string]MxRecordInput

func (MxRecordMap) ElementType

func (MxRecordMap) ElementType() reflect.Type

func (MxRecordMap) ToMxRecordMapOutput

func (i MxRecordMap) ToMxRecordMapOutput() MxRecordMapOutput

func (MxRecordMap) ToMxRecordMapOutputWithContext

func (i MxRecordMap) ToMxRecordMapOutputWithContext(ctx context.Context) MxRecordMapOutput

type MxRecordMapInput

type MxRecordMapInput interface {
	pulumi.Input

	ToMxRecordMapOutput() MxRecordMapOutput
	ToMxRecordMapOutputWithContext(context.Context) MxRecordMapOutput
}

MxRecordMapInput is an input type that accepts MxRecordMap and MxRecordMapOutput values. You can construct a concrete instance of `MxRecordMapInput` via:

MxRecordMap{ "key": MxRecordArgs{...} }

type MxRecordMapOutput

type MxRecordMapOutput struct{ *pulumi.OutputState }

func (MxRecordMapOutput) ElementType

func (MxRecordMapOutput) ElementType() reflect.Type

func (MxRecordMapOutput) MapIndex

func (MxRecordMapOutput) ToMxRecordMapOutput

func (o MxRecordMapOutput) ToMxRecordMapOutput() MxRecordMapOutput

func (MxRecordMapOutput) ToMxRecordMapOutputWithContext

func (o MxRecordMapOutput) ToMxRecordMapOutputWithContext(ctx context.Context) MxRecordMapOutput

type MxRecordOutput

type MxRecordOutput struct{ *pulumi.OutputState }

func (MxRecordOutput) ElementType

func (MxRecordOutput) ElementType() reflect.Type

func (MxRecordOutput) Fqdn

The FQDN of the DNS MX Record.

func (MxRecordOutput) Name

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

func (MxRecordOutput) Records

One or more `record` blocks as defined below.

func (MxRecordOutput) ResourceGroupName

func (o MxRecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (MxRecordOutput) Tags

A mapping of tags to assign to the resource.

func (MxRecordOutput) ToMxRecordOutput

func (o MxRecordOutput) ToMxRecordOutput() MxRecordOutput

func (MxRecordOutput) ToMxRecordOutputWithContext

func (o MxRecordOutput) ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput

func (MxRecordOutput) Ttl

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

func (MxRecordOutput) ZoneName

func (o MxRecordOutput) ZoneName() pulumi.StringOutput

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

type MxRecordRecord

type MxRecordRecord struct {
	// The FQDN of the exchange to MX record points to.
	Exchange string `pulumi:"exchange"`
	// The preference of the MX record.
	Preference int `pulumi:"preference"`
}

type MxRecordRecordArgs

type MxRecordRecordArgs struct {
	// The FQDN of the exchange to MX record points to.
	Exchange pulumi.StringInput `pulumi:"exchange"`
	// The preference of the MX record.
	Preference pulumi.IntInput `pulumi:"preference"`
}

func (MxRecordRecordArgs) ElementType

func (MxRecordRecordArgs) ElementType() reflect.Type

func (MxRecordRecordArgs) ToMxRecordRecordOutput

func (i MxRecordRecordArgs) ToMxRecordRecordOutput() MxRecordRecordOutput

func (MxRecordRecordArgs) ToMxRecordRecordOutputWithContext

func (i MxRecordRecordArgs) ToMxRecordRecordOutputWithContext(ctx context.Context) MxRecordRecordOutput

type MxRecordRecordArray

type MxRecordRecordArray []MxRecordRecordInput

func (MxRecordRecordArray) ElementType

func (MxRecordRecordArray) ElementType() reflect.Type

func (MxRecordRecordArray) ToMxRecordRecordArrayOutput

func (i MxRecordRecordArray) ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput

func (MxRecordRecordArray) ToMxRecordRecordArrayOutputWithContext

func (i MxRecordRecordArray) ToMxRecordRecordArrayOutputWithContext(ctx context.Context) MxRecordRecordArrayOutput

type MxRecordRecordArrayInput

type MxRecordRecordArrayInput interface {
	pulumi.Input

	ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput
	ToMxRecordRecordArrayOutputWithContext(context.Context) MxRecordRecordArrayOutput
}

MxRecordRecordArrayInput is an input type that accepts MxRecordRecordArray and MxRecordRecordArrayOutput values. You can construct a concrete instance of `MxRecordRecordArrayInput` via:

MxRecordRecordArray{ MxRecordRecordArgs{...} }

type MxRecordRecordArrayOutput

type MxRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (MxRecordRecordArrayOutput) ElementType

func (MxRecordRecordArrayOutput) ElementType() reflect.Type

func (MxRecordRecordArrayOutput) Index

func (MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutput

func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput

func (MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutputWithContext

func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutputWithContext(ctx context.Context) MxRecordRecordArrayOutput

type MxRecordRecordInput

type MxRecordRecordInput interface {
	pulumi.Input

	ToMxRecordRecordOutput() MxRecordRecordOutput
	ToMxRecordRecordOutputWithContext(context.Context) MxRecordRecordOutput
}

MxRecordRecordInput is an input type that accepts MxRecordRecordArgs and MxRecordRecordOutput values. You can construct a concrete instance of `MxRecordRecordInput` via:

MxRecordRecordArgs{...}

type MxRecordRecordOutput

type MxRecordRecordOutput struct{ *pulumi.OutputState }

func (MxRecordRecordOutput) ElementType

func (MxRecordRecordOutput) ElementType() reflect.Type

func (MxRecordRecordOutput) Exchange

The FQDN of the exchange to MX record points to.

func (MxRecordRecordOutput) Preference

func (o MxRecordRecordOutput) Preference() pulumi.IntOutput

The preference of the MX record.

func (MxRecordRecordOutput) ToMxRecordRecordOutput

func (o MxRecordRecordOutput) ToMxRecordRecordOutput() MxRecordRecordOutput

func (MxRecordRecordOutput) ToMxRecordRecordOutputWithContext

func (o MxRecordRecordOutput) ToMxRecordRecordOutputWithContext(ctx context.Context) MxRecordRecordOutput

type MxRecordState

type MxRecordState struct {
	// The FQDN of the DNS MX Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records MxRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (MxRecordState) ElementType

func (MxRecordState) ElementType() reflect.Type

type PTRRecord

type PTRRecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS PTR Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS PTR Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of Fully Qualified Domain Names.
	Records pulumi.StringArrayOutput `pulumi:"records"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS PTR Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("2.0.192.in-addr.arpa"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewPTRRecord(ctx, "example", &privatedns.PTRRecordArgs{
			Name:              pulumi.String("15"),
			ZoneName:          exampleZone.Name,
			ResourceGroupName: example.Name,
			Ttl:               pulumi.Int(300),
			Records: pulumi.StringArray{
				pulumi.String("test.example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS PTR Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/pTRRecord:PTRRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/2.0.192.in-addr.arpa/PTR/15 ```

func GetPTRRecord

func GetPTRRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PTRRecordState, opts ...pulumi.ResourceOption) (*PTRRecord, error)

GetPTRRecord gets an existing PTRRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPTRRecord

func NewPTRRecord(ctx *pulumi.Context,
	name string, args *PTRRecordArgs, opts ...pulumi.ResourceOption) (*PTRRecord, error)

NewPTRRecord registers a new resource with the given unique name, arguments, and options.

func (*PTRRecord) ElementType

func (*PTRRecord) ElementType() reflect.Type

func (*PTRRecord) ToPTRRecordOutput

func (i *PTRRecord) ToPTRRecordOutput() PTRRecordOutput

func (*PTRRecord) ToPTRRecordOutputWithContext

func (i *PTRRecord) ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput

type PTRRecordArgs

type PTRRecordArgs struct {
	// The name of the DNS PTR Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// List of Fully Qualified Domain Names.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a PTRRecord resource.

func (PTRRecordArgs) ElementType

func (PTRRecordArgs) ElementType() reflect.Type

type PTRRecordArray

type PTRRecordArray []PTRRecordInput

func (PTRRecordArray) ElementType

func (PTRRecordArray) ElementType() reflect.Type

func (PTRRecordArray) ToPTRRecordArrayOutput

func (i PTRRecordArray) ToPTRRecordArrayOutput() PTRRecordArrayOutput

func (PTRRecordArray) ToPTRRecordArrayOutputWithContext

func (i PTRRecordArray) ToPTRRecordArrayOutputWithContext(ctx context.Context) PTRRecordArrayOutput

type PTRRecordArrayInput

type PTRRecordArrayInput interface {
	pulumi.Input

	ToPTRRecordArrayOutput() PTRRecordArrayOutput
	ToPTRRecordArrayOutputWithContext(context.Context) PTRRecordArrayOutput
}

PTRRecordArrayInput is an input type that accepts PTRRecordArray and PTRRecordArrayOutput values. You can construct a concrete instance of `PTRRecordArrayInput` via:

PTRRecordArray{ PTRRecordArgs{...} }

type PTRRecordArrayOutput

type PTRRecordArrayOutput struct{ *pulumi.OutputState }

func (PTRRecordArrayOutput) ElementType

func (PTRRecordArrayOutput) ElementType() reflect.Type

func (PTRRecordArrayOutput) Index

func (PTRRecordArrayOutput) ToPTRRecordArrayOutput

func (o PTRRecordArrayOutput) ToPTRRecordArrayOutput() PTRRecordArrayOutput

func (PTRRecordArrayOutput) ToPTRRecordArrayOutputWithContext

func (o PTRRecordArrayOutput) ToPTRRecordArrayOutputWithContext(ctx context.Context) PTRRecordArrayOutput

type PTRRecordInput

type PTRRecordInput interface {
	pulumi.Input

	ToPTRRecordOutput() PTRRecordOutput
	ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput
}

type PTRRecordMap

type PTRRecordMap map[string]PTRRecordInput

func (PTRRecordMap) ElementType

func (PTRRecordMap) ElementType() reflect.Type

func (PTRRecordMap) ToPTRRecordMapOutput

func (i PTRRecordMap) ToPTRRecordMapOutput() PTRRecordMapOutput

func (PTRRecordMap) ToPTRRecordMapOutputWithContext

func (i PTRRecordMap) ToPTRRecordMapOutputWithContext(ctx context.Context) PTRRecordMapOutput

type PTRRecordMapInput

type PTRRecordMapInput interface {
	pulumi.Input

	ToPTRRecordMapOutput() PTRRecordMapOutput
	ToPTRRecordMapOutputWithContext(context.Context) PTRRecordMapOutput
}

PTRRecordMapInput is an input type that accepts PTRRecordMap and PTRRecordMapOutput values. You can construct a concrete instance of `PTRRecordMapInput` via:

PTRRecordMap{ "key": PTRRecordArgs{...} }

type PTRRecordMapOutput

type PTRRecordMapOutput struct{ *pulumi.OutputState }

func (PTRRecordMapOutput) ElementType

func (PTRRecordMapOutput) ElementType() reflect.Type

func (PTRRecordMapOutput) MapIndex

func (PTRRecordMapOutput) ToPTRRecordMapOutput

func (o PTRRecordMapOutput) ToPTRRecordMapOutput() PTRRecordMapOutput

func (PTRRecordMapOutput) ToPTRRecordMapOutputWithContext

func (o PTRRecordMapOutput) ToPTRRecordMapOutputWithContext(ctx context.Context) PTRRecordMapOutput

type PTRRecordOutput

type PTRRecordOutput struct{ *pulumi.OutputState }

func (PTRRecordOutput) ElementType

func (PTRRecordOutput) ElementType() reflect.Type

func (PTRRecordOutput) Fqdn

The FQDN of the DNS PTR Record.

func (PTRRecordOutput) Name

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

func (PTRRecordOutput) Records

List of Fully Qualified Domain Names.

func (PTRRecordOutput) ResourceGroupName

func (o PTRRecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (PTRRecordOutput) Tags

A mapping of tags to assign to the resource.

func (PTRRecordOutput) ToPTRRecordOutput

func (o PTRRecordOutput) ToPTRRecordOutput() PTRRecordOutput

func (PTRRecordOutput) ToPTRRecordOutputWithContext

func (o PTRRecordOutput) ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput

func (PTRRecordOutput) Ttl

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

func (PTRRecordOutput) ZoneName

func (o PTRRecordOutput) ZoneName() pulumi.StringOutput

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

type PTRRecordState

type PTRRecordState struct {
	// The FQDN of the DNS PTR Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS PTR Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// List of Fully Qualified Domain Names.
	Records pulumi.StringArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (PTRRecordState) ElementType

func (PTRRecordState) ElementType() reflect.Type

type Resolver

type Resolver struct {
	pulumi.CustomResourceState

	// Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Private DNS Resolver.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"`
}

Manages a Private DNS Resolver.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolver(ctx, "test", &privatedns.ResolverArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS Resolver can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolver:Resolver example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1 ```

func GetResolver

func GetResolver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverState, opts ...pulumi.ResourceOption) (*Resolver, error)

GetResolver gets an existing Resolver resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolver

func NewResolver(ctx *pulumi.Context,
	name string, args *ResolverArgs, opts ...pulumi.ResourceOption) (*Resolver, error)

NewResolver registers a new resource with the given unique name, arguments, and options.

func (*Resolver) ElementType

func (*Resolver) ElementType() reflect.Type

func (*Resolver) ToResolverOutput

func (i *Resolver) ToResolverOutput() ResolverOutput

func (*Resolver) ToResolverOutputWithContext

func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

type ResolverArgs

type ResolverArgs struct {
	// Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Private DNS Resolver.
	Tags pulumi.StringMapInput
	// The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	VirtualNetworkId pulumi.StringInput
}

The set of arguments for constructing a Resolver resource.

func (ResolverArgs) ElementType

func (ResolverArgs) ElementType() reflect.Type

type ResolverArray

type ResolverArray []ResolverInput

func (ResolverArray) ElementType

func (ResolverArray) ElementType() reflect.Type

func (ResolverArray) ToResolverArrayOutput

func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArray) ToResolverArrayOutputWithContext

func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverArrayInput

type ResolverArrayInput interface {
	pulumi.Input

	ToResolverArrayOutput() ResolverArrayOutput
	ToResolverArrayOutputWithContext(context.Context) ResolverArrayOutput
}

ResolverArrayInput is an input type that accepts ResolverArray and ResolverArrayOutput values. You can construct a concrete instance of `ResolverArrayInput` via:

ResolverArray{ ResolverArgs{...} }

type ResolverArrayOutput

type ResolverArrayOutput struct{ *pulumi.OutputState }

func (ResolverArrayOutput) ElementType

func (ResolverArrayOutput) ElementType() reflect.Type

func (ResolverArrayOutput) Index

func (ResolverArrayOutput) ToResolverArrayOutput

func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArrayOutput) ToResolverArrayOutputWithContext

func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverDnsForwardingRuleset

type ResolverDnsForwardingRuleset struct {
	pulumi.CustomResourceState

	// Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset.
	PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayOutput `pulumi:"privateDnsResolverOutboundEndpointIds"`
	// Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Private DNS Resolver Dns Forwarding Ruleset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("outbounddns"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.64/28"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("Microsoft.Network.dnsResolvers"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
						Name: pulumi.String("Microsoft.Network/dnsResolvers"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{
			Name:              pulumi.String("example-resolver"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{
			Name:                 pulumi.String("example-endpoint"),
			PrivateDnsResolverId: exampleResolver.ID(),
			Location:             exampleResolver.Location,
			SubnetId:             exampleSubnet.ID(),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolverDnsForwardingRuleset(ctx, "example", &privatedns.ResolverDnsForwardingRulesetArgs{
			Name:              pulumi.String("example-ruleset"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{
				exampleResolverOutboundEndpoint.ID(),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Resolver Dns Forwarding Ruleset can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolverDnsForwardingRuleset:ResolverDnsForwardingRuleset example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1 ```

func GetResolverDnsForwardingRuleset

func GetResolverDnsForwardingRuleset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverDnsForwardingRulesetState, opts ...pulumi.ResourceOption) (*ResolverDnsForwardingRuleset, error)

GetResolverDnsForwardingRuleset gets an existing ResolverDnsForwardingRuleset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolverDnsForwardingRuleset

func NewResolverDnsForwardingRuleset(ctx *pulumi.Context,
	name string, args *ResolverDnsForwardingRulesetArgs, opts ...pulumi.ResourceOption) (*ResolverDnsForwardingRuleset, error)

NewResolverDnsForwardingRuleset registers a new resource with the given unique name, arguments, and options.

func (*ResolverDnsForwardingRuleset) ElementType

func (*ResolverDnsForwardingRuleset) ElementType() reflect.Type

func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput

func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput

func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext

func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput

type ResolverDnsForwardingRulesetArgs

type ResolverDnsForwardingRulesetArgs struct {
	// Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Name pulumi.StringPtrInput
	// The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset.
	PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayInput
	// Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ResolverDnsForwardingRuleset resource.

func (ResolverDnsForwardingRulesetArgs) ElementType

type ResolverDnsForwardingRulesetArray

type ResolverDnsForwardingRulesetArray []ResolverDnsForwardingRulesetInput

func (ResolverDnsForwardingRulesetArray) ElementType

func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput

func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput

func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext

func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput

type ResolverDnsForwardingRulesetArrayInput

type ResolverDnsForwardingRulesetArrayInput interface {
	pulumi.Input

	ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
	ToResolverDnsForwardingRulesetArrayOutputWithContext(context.Context) ResolverDnsForwardingRulesetArrayOutput
}

ResolverDnsForwardingRulesetArrayInput is an input type that accepts ResolverDnsForwardingRulesetArray and ResolverDnsForwardingRulesetArrayOutput values. You can construct a concrete instance of `ResolverDnsForwardingRulesetArrayInput` via:

ResolverDnsForwardingRulesetArray{ ResolverDnsForwardingRulesetArgs{...} }

type ResolverDnsForwardingRulesetArrayOutput

type ResolverDnsForwardingRulesetArrayOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetArrayOutput) ElementType

func (ResolverDnsForwardingRulesetArrayOutput) Index

func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput

func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput

func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext

func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput

type ResolverDnsForwardingRulesetInput

type ResolverDnsForwardingRulesetInput interface {
	pulumi.Input

	ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
	ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
}

type ResolverDnsForwardingRulesetMap

type ResolverDnsForwardingRulesetMap map[string]ResolverDnsForwardingRulesetInput

func (ResolverDnsForwardingRulesetMap) ElementType

func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput

func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput

func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext

func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput

type ResolverDnsForwardingRulesetMapInput

type ResolverDnsForwardingRulesetMapInput interface {
	pulumi.Input

	ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
	ToResolverDnsForwardingRulesetMapOutputWithContext(context.Context) ResolverDnsForwardingRulesetMapOutput
}

ResolverDnsForwardingRulesetMapInput is an input type that accepts ResolverDnsForwardingRulesetMap and ResolverDnsForwardingRulesetMapOutput values. You can construct a concrete instance of `ResolverDnsForwardingRulesetMapInput` via:

ResolverDnsForwardingRulesetMap{ "key": ResolverDnsForwardingRulesetArgs{...} }

type ResolverDnsForwardingRulesetMapOutput

type ResolverDnsForwardingRulesetMapOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetMapOutput) ElementType

func (ResolverDnsForwardingRulesetMapOutput) MapIndex

func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput

func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput

func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext

func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput

type ResolverDnsForwardingRulesetOutput

type ResolverDnsForwardingRulesetOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetOutput) ElementType

func (ResolverDnsForwardingRulesetOutput) Location

Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.

func (ResolverDnsForwardingRulesetOutput) Name

Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.

func (ResolverDnsForwardingRulesetOutput) PrivateDnsResolverOutboundEndpointIds

func (o ResolverDnsForwardingRulesetOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput

The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset.

func (ResolverDnsForwardingRulesetOutput) ResourceGroupName

Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.

func (ResolverDnsForwardingRulesetOutput) Tags

A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.

func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput

func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput

func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext

func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput

type ResolverDnsForwardingRulesetState

type ResolverDnsForwardingRulesetState struct {
	// Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	Name pulumi.StringPtrInput
	// The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset.
	PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayInput
	// Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.
	Tags pulumi.StringMapInput
}

func (ResolverDnsForwardingRulesetState) ElementType

type ResolverForwardingRule

type ResolverForwardingRule struct {
	pulumi.CustomResourceState

	// Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DnsForwardingRulesetId pulumi.StringOutput `pulumi:"dnsForwardingRulesetId"`
	// Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Metadata attached to the Private DNS Resolver Forwarding Rule.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
	TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayOutput `pulumi:"targetDnsServers"`
}

Manages a Private DNS Resolver Forwarding Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("outbounddns"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.64/28"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("Microsoft.Network.dnsResolvers"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
						Name: pulumi.String("Microsoft.Network/dnsResolvers"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{
			Name:              pulumi.String("example-resolver"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{
			Name:                 pulumi.String("example-endpoint"),
			PrivateDnsResolverId: exampleResolver.ID(),
			Location:             exampleResolver.Location,
			SubnetId:             exampleSubnet.ID(),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		exampleResolverDnsForwardingRuleset, err := privatedns.NewResolverDnsForwardingRuleset(ctx, "example", &privatedns.ResolverDnsForwardingRulesetArgs{
			Name:              pulumi.String("example-drdfr"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{
				exampleResolverOutboundEndpoint.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolverForwardingRule(ctx, "example", &privatedns.ResolverForwardingRuleArgs{
			Name:                   pulumi.String("example-rule"),
			DnsForwardingRulesetId: exampleResolverDnsForwardingRuleset.ID(),
			DomainName:             pulumi.String("onprem.local."),
			Enabled:                pulumi.Bool(true),
			TargetDnsServers: privatedns.ResolverForwardingRuleTargetDnsServerArray{
				&privatedns.ResolverForwardingRuleTargetDnsServerArgs{
					IpAddress: pulumi.String("10.10.0.1"),
					Port:      pulumi.Int(53),
				},
			},
			Metadata: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Resolver Forwarding Rules can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolverForwardingRule:ResolverForwardingRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1/forwardingRules/forwardingRule1 ```

func GetResolverForwardingRule

func GetResolverForwardingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverForwardingRuleState, opts ...pulumi.ResourceOption) (*ResolverForwardingRule, error)

GetResolverForwardingRule gets an existing ResolverForwardingRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolverForwardingRule

func NewResolverForwardingRule(ctx *pulumi.Context,
	name string, args *ResolverForwardingRuleArgs, opts ...pulumi.ResourceOption) (*ResolverForwardingRule, error)

NewResolverForwardingRule registers a new resource with the given unique name, arguments, and options.

func (*ResolverForwardingRule) ElementType

func (*ResolverForwardingRule) ElementType() reflect.Type

func (*ResolverForwardingRule) ToResolverForwardingRuleOutput

func (i *ResolverForwardingRule) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput

func (*ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext

func (i *ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput

type ResolverForwardingRuleArgs

type ResolverForwardingRuleArgs struct {
	// Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DnsForwardingRulesetId pulumi.StringInput
	// Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DomainName pulumi.StringInput
	// Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Metadata attached to the Private DNS Resolver Forwarding Rule.
	Metadata pulumi.StringMapInput
	// Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	Name pulumi.StringPtrInput
	// Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
	TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayInput
}

The set of arguments for constructing a ResolverForwardingRule resource.

func (ResolverForwardingRuleArgs) ElementType

func (ResolverForwardingRuleArgs) ElementType() reflect.Type

type ResolverForwardingRuleArray

type ResolverForwardingRuleArray []ResolverForwardingRuleInput

func (ResolverForwardingRuleArray) ElementType

func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput

func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput

func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext

func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput

type ResolverForwardingRuleArrayInput

type ResolverForwardingRuleArrayInput interface {
	pulumi.Input

	ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
	ToResolverForwardingRuleArrayOutputWithContext(context.Context) ResolverForwardingRuleArrayOutput
}

ResolverForwardingRuleArrayInput is an input type that accepts ResolverForwardingRuleArray and ResolverForwardingRuleArrayOutput values. You can construct a concrete instance of `ResolverForwardingRuleArrayInput` via:

ResolverForwardingRuleArray{ ResolverForwardingRuleArgs{...} }

type ResolverForwardingRuleArrayOutput

type ResolverForwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleArrayOutput) ElementType

func (ResolverForwardingRuleArrayOutput) Index

func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput

func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput

func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext

func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput

type ResolverForwardingRuleInput

type ResolverForwardingRuleInput interface {
	pulumi.Input

	ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
	ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
}

type ResolverForwardingRuleMap

type ResolverForwardingRuleMap map[string]ResolverForwardingRuleInput

func (ResolverForwardingRuleMap) ElementType

func (ResolverForwardingRuleMap) ElementType() reflect.Type

func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput

func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput

func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext

func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput

type ResolverForwardingRuleMapInput

type ResolverForwardingRuleMapInput interface {
	pulumi.Input

	ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
	ToResolverForwardingRuleMapOutputWithContext(context.Context) ResolverForwardingRuleMapOutput
}

ResolverForwardingRuleMapInput is an input type that accepts ResolverForwardingRuleMap and ResolverForwardingRuleMapOutput values. You can construct a concrete instance of `ResolverForwardingRuleMapInput` via:

ResolverForwardingRuleMap{ "key": ResolverForwardingRuleArgs{...} }

type ResolverForwardingRuleMapOutput

type ResolverForwardingRuleMapOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleMapOutput) ElementType

func (ResolverForwardingRuleMapOutput) MapIndex

func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput

func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput

func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext

func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput

type ResolverForwardingRuleOutput

type ResolverForwardingRuleOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleOutput) DnsForwardingRulesetId

func (o ResolverForwardingRuleOutput) DnsForwardingRulesetId() pulumi.StringOutput

Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.

func (ResolverForwardingRuleOutput) DomainName

Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.

func (ResolverForwardingRuleOutput) ElementType

func (ResolverForwardingRuleOutput) Enabled

Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.

func (ResolverForwardingRuleOutput) Metadata

Metadata attached to the Private DNS Resolver Forwarding Rule.

func (ResolverForwardingRuleOutput) Name

Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.

func (ResolverForwardingRuleOutput) TargetDnsServers

Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.

func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput

func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput

func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext

func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput

type ResolverForwardingRuleState

type ResolverForwardingRuleState struct {
	// Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DnsForwardingRulesetId pulumi.StringPtrInput
	// Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	DomainName pulumi.StringPtrInput
	// Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Metadata attached to the Private DNS Resolver Forwarding Rule.
	Metadata pulumi.StringMapInput
	// Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
	Name pulumi.StringPtrInput
	// Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
	TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayInput
}

func (ResolverForwardingRuleState) ElementType

type ResolverForwardingRuleTargetDnsServer

type ResolverForwardingRuleTargetDnsServer struct {
	// DNS server IP address.
	IpAddress string `pulumi:"ipAddress"`
	// DNS server port.
	Port *int `pulumi:"port"`
}

type ResolverForwardingRuleTargetDnsServerArgs

type ResolverForwardingRuleTargetDnsServerArgs struct {
	// DNS server IP address.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// DNS server port.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ResolverForwardingRuleTargetDnsServerArgs) ElementType

func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput

func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput

func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext

func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput

type ResolverForwardingRuleTargetDnsServerArray

type ResolverForwardingRuleTargetDnsServerArray []ResolverForwardingRuleTargetDnsServerInput

func (ResolverForwardingRuleTargetDnsServerArray) ElementType

func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput

func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput

func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext

func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput

type ResolverForwardingRuleTargetDnsServerArrayInput

type ResolverForwardingRuleTargetDnsServerArrayInput interface {
	pulumi.Input

	ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
	ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
}

ResolverForwardingRuleTargetDnsServerArrayInput is an input type that accepts ResolverForwardingRuleTargetDnsServerArray and ResolverForwardingRuleTargetDnsServerArrayOutput values. You can construct a concrete instance of `ResolverForwardingRuleTargetDnsServerArrayInput` via:

ResolverForwardingRuleTargetDnsServerArray{ ResolverForwardingRuleTargetDnsServerArgs{...} }

type ResolverForwardingRuleTargetDnsServerArrayOutput

type ResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType

func (ResolverForwardingRuleTargetDnsServerArrayOutput) Index

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput

func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext

func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput

type ResolverForwardingRuleTargetDnsServerInput

type ResolverForwardingRuleTargetDnsServerInput interface {
	pulumi.Input

	ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
	ToResolverForwardingRuleTargetDnsServerOutputWithContext(context.Context) ResolverForwardingRuleTargetDnsServerOutput
}

ResolverForwardingRuleTargetDnsServerInput is an input type that accepts ResolverForwardingRuleTargetDnsServerArgs and ResolverForwardingRuleTargetDnsServerOutput values. You can construct a concrete instance of `ResolverForwardingRuleTargetDnsServerInput` via:

ResolverForwardingRuleTargetDnsServerArgs{...}

type ResolverForwardingRuleTargetDnsServerOutput

type ResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleTargetDnsServerOutput) ElementType

func (ResolverForwardingRuleTargetDnsServerOutput) IpAddress

DNS server IP address.

func (ResolverForwardingRuleTargetDnsServerOutput) Port

DNS server port.

func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput

func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput

func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext

func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput

type ResolverInboundEndpoint

type ResolverInboundEndpoint struct {
	pulumi.CustomResourceState

	// One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	IpConfigurations ResolverInboundEndpointIpConfigurationsOutput `pulumi:"ipConfigurations"`
	// Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringOutput `pulumi:"privateDnsResolverId"`
	// A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Private DNS Resolver Inbound Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("inbounddns"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.0/28"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("Microsoft.Network.dnsResolvers"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
						Name: pulumi.String("Microsoft.Network/dnsResolvers"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolverInboundEndpoint(ctx, "example", &privatedns.ResolverInboundEndpointArgs{
			Name:                 pulumi.String("example-drie"),
			PrivateDnsResolverId: exampleResolver.ID(),
			Location:             exampleResolver.Location,
			IpConfigurations: &privatedns.ResolverInboundEndpointIpConfigurationsArgs{
				PrivateIpAllocationMethod: pulumi.String("Dynamic"),
				SubnetId:                  exampleSubnet.ID(),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Resolver Inbound Endpoint can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolverInboundEndpoint:ResolverInboundEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1/inboundEndpoints/inboundEndpoint1 ```

func GetResolverInboundEndpoint

func GetResolverInboundEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverInboundEndpointState, opts ...pulumi.ResourceOption) (*ResolverInboundEndpoint, error)

GetResolverInboundEndpoint gets an existing ResolverInboundEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolverInboundEndpoint

func NewResolverInboundEndpoint(ctx *pulumi.Context,
	name string, args *ResolverInboundEndpointArgs, opts ...pulumi.ResourceOption) (*ResolverInboundEndpoint, error)

NewResolverInboundEndpoint registers a new resource with the given unique name, arguments, and options.

func (*ResolverInboundEndpoint) ElementType

func (*ResolverInboundEndpoint) ElementType() reflect.Type

func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutput

func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput

func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext

func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput

type ResolverInboundEndpointArgs

type ResolverInboundEndpointArgs struct {
	// One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	IpConfigurations ResolverInboundEndpointIpConfigurationsInput
	// Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Name pulumi.StringPtrInput
	// Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringInput
	// A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ResolverInboundEndpoint resource.

func (ResolverInboundEndpointArgs) ElementType

type ResolverInboundEndpointArray

type ResolverInboundEndpointArray []ResolverInboundEndpointInput

func (ResolverInboundEndpointArray) ElementType

func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput

func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput

func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext

func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput

type ResolverInboundEndpointArrayInput

type ResolverInboundEndpointArrayInput interface {
	pulumi.Input

	ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
	ToResolverInboundEndpointArrayOutputWithContext(context.Context) ResolverInboundEndpointArrayOutput
}

ResolverInboundEndpointArrayInput is an input type that accepts ResolverInboundEndpointArray and ResolverInboundEndpointArrayOutput values. You can construct a concrete instance of `ResolverInboundEndpointArrayInput` via:

ResolverInboundEndpointArray{ ResolverInboundEndpointArgs{...} }

type ResolverInboundEndpointArrayOutput

type ResolverInboundEndpointArrayOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointArrayOutput) ElementType

func (ResolverInboundEndpointArrayOutput) Index

func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput

func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput

func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext

func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput

type ResolverInboundEndpointInput

type ResolverInboundEndpointInput interface {
	pulumi.Input

	ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
	ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
}

type ResolverInboundEndpointIpConfigurations

type ResolverInboundEndpointIpConfigurations struct {
	// Private IP address of the IP configuration.
	PrivateIpAddress *string `pulumi:"privateIpAddress"`
	// Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
	PrivateIpAllocationMethod *string `pulumi:"privateIpAllocationMethod"`
	// The subnet ID of the IP configuration.
	SubnetId string `pulumi:"subnetId"`
}

type ResolverInboundEndpointIpConfigurationsArgs

type ResolverInboundEndpointIpConfigurationsArgs struct {
	// Private IP address of the IP configuration.
	PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"`
	// Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
	PrivateIpAllocationMethod pulumi.StringPtrInput `pulumi:"privateIpAllocationMethod"`
	// The subnet ID of the IP configuration.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (ResolverInboundEndpointIpConfigurationsArgs) ElementType

func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutput

func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput

func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutputWithContext

func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput

func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutput

func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput

func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext

func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput

type ResolverInboundEndpointIpConfigurationsInput

type ResolverInboundEndpointIpConfigurationsInput interface {
	pulumi.Input

	ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput
	ToResolverInboundEndpointIpConfigurationsOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationsOutput
}

ResolverInboundEndpointIpConfigurationsInput is an input type that accepts ResolverInboundEndpointIpConfigurationsArgs and ResolverInboundEndpointIpConfigurationsOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationsInput` via:

ResolverInboundEndpointIpConfigurationsArgs{...}

type ResolverInboundEndpointIpConfigurationsOutput

type ResolverInboundEndpointIpConfigurationsOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointIpConfigurationsOutput) ElementType

func (ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAddress

Private IP address of the IP configuration.

func (ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAllocationMethod

Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.

func (ResolverInboundEndpointIpConfigurationsOutput) SubnetId

The subnet ID of the IP configuration.

func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutput

func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput

func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutputWithContext

func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput

func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput

func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput

func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext

func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput

type ResolverInboundEndpointIpConfigurationsPtrInput

type ResolverInboundEndpointIpConfigurationsPtrInput interface {
	pulumi.Input

	ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
	ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
}

ResolverInboundEndpointIpConfigurationsPtrInput is an input type that accepts ResolverInboundEndpointIpConfigurationsArgs, ResolverInboundEndpointIpConfigurationsPtr and ResolverInboundEndpointIpConfigurationsPtrOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationsPtrInput` via:

        ResolverInboundEndpointIpConfigurationsArgs{...}

or:

        nil

type ResolverInboundEndpointIpConfigurationsPtrOutput

type ResolverInboundEndpointIpConfigurationsPtrOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointIpConfigurationsPtrOutput) Elem

func (ResolverInboundEndpointIpConfigurationsPtrOutput) ElementType

func (ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAddress

Private IP address of the IP configuration.

func (ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAllocationMethod

Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.

func (ResolverInboundEndpointIpConfigurationsPtrOutput) SubnetId

The subnet ID of the IP configuration.

func (ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput

func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput

func (ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext

func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput

type ResolverInboundEndpointMap

type ResolverInboundEndpointMap map[string]ResolverInboundEndpointInput

func (ResolverInboundEndpointMap) ElementType

func (ResolverInboundEndpointMap) ElementType() reflect.Type

func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput

func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput

func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext

func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput

type ResolverInboundEndpointMapInput

type ResolverInboundEndpointMapInput interface {
	pulumi.Input

	ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
	ToResolverInboundEndpointMapOutputWithContext(context.Context) ResolverInboundEndpointMapOutput
}

ResolverInboundEndpointMapInput is an input type that accepts ResolverInboundEndpointMap and ResolverInboundEndpointMapOutput values. You can construct a concrete instance of `ResolverInboundEndpointMapInput` via:

ResolverInboundEndpointMap{ "key": ResolverInboundEndpointArgs{...} }

type ResolverInboundEndpointMapOutput

type ResolverInboundEndpointMapOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointMapOutput) ElementType

func (ResolverInboundEndpointMapOutput) MapIndex

func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput

func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput

func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext

func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput

type ResolverInboundEndpointOutput

type ResolverInboundEndpointOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointOutput) ElementType

func (ResolverInboundEndpointOutput) IpConfigurations

One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.

func (ResolverInboundEndpointOutput) Location

Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.

func (ResolverInboundEndpointOutput) Name

Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.

func (ResolverInboundEndpointOutput) PrivateDnsResolverId

func (o ResolverInboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput

Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.

func (ResolverInboundEndpointOutput) Tags

A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.

func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput

func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput

func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext

func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput

type ResolverInboundEndpointState

type ResolverInboundEndpointState struct {
	// One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	IpConfigurations ResolverInboundEndpointIpConfigurationsPtrInput
	// Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	Name pulumi.StringPtrInput
	// Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.
	Tags pulumi.StringMapInput
}

func (ResolverInboundEndpointState) ElementType

type ResolverInput

type ResolverInput interface {
	pulumi.Input

	ToResolverOutput() ResolverOutput
	ToResolverOutputWithContext(ctx context.Context) ResolverOutput
}

type ResolverMap

type ResolverMap map[string]ResolverInput

func (ResolverMap) ElementType

func (ResolverMap) ElementType() reflect.Type

func (ResolverMap) ToResolverMapOutput

func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput

func (ResolverMap) ToResolverMapOutputWithContext

func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverMapInput

type ResolverMapInput interface {
	pulumi.Input

	ToResolverMapOutput() ResolverMapOutput
	ToResolverMapOutputWithContext(context.Context) ResolverMapOutput
}

ResolverMapInput is an input type that accepts ResolverMap and ResolverMapOutput values. You can construct a concrete instance of `ResolverMapInput` via:

ResolverMap{ "key": ResolverArgs{...} }

type ResolverMapOutput

type ResolverMapOutput struct{ *pulumi.OutputState }

func (ResolverMapOutput) ElementType

func (ResolverMapOutput) ElementType() reflect.Type

func (ResolverMapOutput) MapIndex

func (ResolverMapOutput) ToResolverMapOutput

func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput

func (ResolverMapOutput) ToResolverMapOutputWithContext

func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverOutboundEndpoint

type ResolverOutboundEndpoint struct {
	pulumi.CustomResourceState

	// Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringOutput `pulumi:"privateDnsResolverId"`
	// The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Private DNS Resolver Outbound Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("outbounddns"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.64/28"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("Microsoft.Network.dnsResolvers"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
						Name: pulumi.String("Microsoft.Network/dnsResolvers"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{
			Name:              pulumi.String("example-resolver"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{
			Name:                 pulumi.String("example-endpoint"),
			PrivateDnsResolverId: exampleResolver.ID(),
			Location:             exampleResolver.Location,
			SubnetId:             exampleSubnet.ID(),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Resolver Outbound Endpoint can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolverOutboundEndpoint:ResolverOutboundEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1/outboundEndpoints/outboundEndpoint1 ```

func GetResolverOutboundEndpoint

func GetResolverOutboundEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverOutboundEndpointState, opts ...pulumi.ResourceOption) (*ResolverOutboundEndpoint, error)

GetResolverOutboundEndpoint gets an existing ResolverOutboundEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolverOutboundEndpoint

func NewResolverOutboundEndpoint(ctx *pulumi.Context,
	name string, args *ResolverOutboundEndpointArgs, opts ...pulumi.ResourceOption) (*ResolverOutboundEndpoint, error)

NewResolverOutboundEndpoint registers a new resource with the given unique name, arguments, and options.

func (*ResolverOutboundEndpoint) ElementType

func (*ResolverOutboundEndpoint) ElementType() reflect.Type

func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput

func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput

func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext

func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput

type ResolverOutboundEndpointArgs

type ResolverOutboundEndpointArgs struct {
	// Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Name pulumi.StringPtrInput
	// Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringInput
	// The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created.
	SubnetId pulumi.StringInput
	// A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ResolverOutboundEndpoint resource.

func (ResolverOutboundEndpointArgs) ElementType

type ResolverOutboundEndpointArray

type ResolverOutboundEndpointArray []ResolverOutboundEndpointInput

func (ResolverOutboundEndpointArray) ElementType

func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput

func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput

func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext

func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput

type ResolverOutboundEndpointArrayInput

type ResolverOutboundEndpointArrayInput interface {
	pulumi.Input

	ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
	ToResolverOutboundEndpointArrayOutputWithContext(context.Context) ResolverOutboundEndpointArrayOutput
}

ResolverOutboundEndpointArrayInput is an input type that accepts ResolverOutboundEndpointArray and ResolverOutboundEndpointArrayOutput values. You can construct a concrete instance of `ResolverOutboundEndpointArrayInput` via:

ResolverOutboundEndpointArray{ ResolverOutboundEndpointArgs{...} }

type ResolverOutboundEndpointArrayOutput

type ResolverOutboundEndpointArrayOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointArrayOutput) ElementType

func (ResolverOutboundEndpointArrayOutput) Index

func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput

func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput

func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext

func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput

type ResolverOutboundEndpointInput

type ResolverOutboundEndpointInput interface {
	pulumi.Input

	ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
	ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
}

type ResolverOutboundEndpointMap

type ResolverOutboundEndpointMap map[string]ResolverOutboundEndpointInput

func (ResolverOutboundEndpointMap) ElementType

func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput

func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput

func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext

func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput

type ResolverOutboundEndpointMapInput

type ResolverOutboundEndpointMapInput interface {
	pulumi.Input

	ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
	ToResolverOutboundEndpointMapOutputWithContext(context.Context) ResolverOutboundEndpointMapOutput
}

ResolverOutboundEndpointMapInput is an input type that accepts ResolverOutboundEndpointMap and ResolverOutboundEndpointMapOutput values. You can construct a concrete instance of `ResolverOutboundEndpointMapInput` via:

ResolverOutboundEndpointMap{ "key": ResolverOutboundEndpointArgs{...} }

type ResolverOutboundEndpointMapOutput

type ResolverOutboundEndpointMapOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointMapOutput) ElementType

func (ResolverOutboundEndpointMapOutput) MapIndex

func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput

func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput

func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext

func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput

type ResolverOutboundEndpointOutput

type ResolverOutboundEndpointOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointOutput) ElementType

func (ResolverOutboundEndpointOutput) Location

Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.

func (ResolverOutboundEndpointOutput) Name

Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.

func (ResolverOutboundEndpointOutput) PrivateDnsResolverId

func (o ResolverOutboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput

Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.

func (ResolverOutboundEndpointOutput) SubnetId

The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created.

func (ResolverOutboundEndpointOutput) Tags

A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.

func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput

func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput

func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext

func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput

type ResolverOutboundEndpointState

type ResolverOutboundEndpointState struct {
	// Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	Name pulumi.StringPtrInput
	// Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
	PrivateDnsResolverId pulumi.StringPtrInput
	// The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.
	Tags pulumi.StringMapInput
}

func (ResolverOutboundEndpointState) ElementType

type ResolverOutput

type ResolverOutput struct{ *pulumi.OutputState }

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) Location

func (o ResolverOutput) Location() pulumi.StringOutput

Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.

func (ResolverOutput) Name

Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.

func (ResolverOutput) ResourceGroupName

func (o ResolverOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.

func (ResolverOutput) Tags

A mapping of tags which should be assigned to the Private DNS Resolver.

func (ResolverOutput) ToResolverOutput

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext

func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

func (ResolverOutput) VirtualNetworkId

func (o ResolverOutput) VirtualNetworkId() pulumi.StringOutput

The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.

type ResolverState

type ResolverState struct {
	// Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Private DNS Resolver.
	Tags pulumi.StringMapInput
	// The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
	VirtualNetworkId pulumi.StringPtrInput
}

func (ResolverState) ElementType

func (ResolverState) ElementType() reflect.Type
type ResolverVirtualNetworkLink struct {
	pulumi.CustomResourceState

	// Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	DnsForwardingRulesetId pulumi.StringOutput `pulumi:"dnsForwardingRulesetId"`
	// Metadata attached to the Private DNS Resolver Virtual Network Link.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"`
}

Manages a Private DNS Resolver Virtual Network Link.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("outbounddns"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.64/28"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("Microsoft.Network.dnsResolvers"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
						Name: pulumi.String("Microsoft.Network/dnsResolvers"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{
			Name:              pulumi.String("example-resolver"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			VirtualNetworkId:  exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{
			Name:                 pulumi.String("example-endpoint"),
			PrivateDnsResolverId: exampleResolver.ID(),
			Location:             exampleResolver.Location,
			SubnetId:             exampleSubnet.ID(),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		exampleResolverDnsForwardingRuleset, err := privatedns.NewResolverDnsForwardingRuleset(ctx, "example", &privatedns.ResolverDnsForwardingRulesetArgs{
			Name:              pulumi.String("example-ruleset"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{
				exampleResolverOutboundEndpoint.ID(),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewResolverVirtualNetworkLink(ctx, "example", &privatedns.ResolverVirtualNetworkLinkArgs{
			Name:                   pulumi.String("example-link"),
			DnsForwardingRulesetId: exampleResolverDnsForwardingRuleset.ID(),
			VirtualNetworkId:       exampleVirtualNetwork.ID(),
			Metadata: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Resolver Virtual Network Link can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/resolverVirtualNetworkLink:ResolverVirtualNetworkLink example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1/virtualNetworkLinks/virtualNetworkLink1 ```

func GetResolverVirtualNetworkLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverVirtualNetworkLinkState, opts ...pulumi.ResourceOption) (*ResolverVirtualNetworkLink, error)

GetResolverVirtualNetworkLink gets an existing ResolverVirtualNetworkLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolverVirtualNetworkLink(ctx *pulumi.Context,
	name string, args *ResolverVirtualNetworkLinkArgs, opts ...pulumi.ResourceOption) (*ResolverVirtualNetworkLink, error)

NewResolverVirtualNetworkLink registers a new resource with the given unique name, arguments, and options.

func (*ResolverVirtualNetworkLink) ElementType

func (*ResolverVirtualNetworkLink) ElementType() reflect.Type

func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput

func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput

func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext

func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput

type ResolverVirtualNetworkLinkArgs

type ResolverVirtualNetworkLinkArgs struct {
	// Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	DnsForwardingRulesetId pulumi.StringInput
	// Metadata attached to the Private DNS Resolver Virtual Network Link.
	Metadata pulumi.StringMapInput
	// Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	Name pulumi.StringPtrInput
	// The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringInput
}

The set of arguments for constructing a ResolverVirtualNetworkLink resource.

func (ResolverVirtualNetworkLinkArgs) ElementType

type ResolverVirtualNetworkLinkArray

type ResolverVirtualNetworkLinkArray []ResolverVirtualNetworkLinkInput

func (ResolverVirtualNetworkLinkArray) ElementType

func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput

func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput

func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext

func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput

type ResolverVirtualNetworkLinkArrayInput

type ResolverVirtualNetworkLinkArrayInput interface {
	pulumi.Input

	ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
	ToResolverVirtualNetworkLinkArrayOutputWithContext(context.Context) ResolverVirtualNetworkLinkArrayOutput
}

ResolverVirtualNetworkLinkArrayInput is an input type that accepts ResolverVirtualNetworkLinkArray and ResolverVirtualNetworkLinkArrayOutput values. You can construct a concrete instance of `ResolverVirtualNetworkLinkArrayInput` via:

ResolverVirtualNetworkLinkArray{ ResolverVirtualNetworkLinkArgs{...} }

type ResolverVirtualNetworkLinkArrayOutput

type ResolverVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkArrayOutput) ElementType

func (ResolverVirtualNetworkLinkArrayOutput) Index

func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput

func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput

func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext

func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput

type ResolverVirtualNetworkLinkInput

type ResolverVirtualNetworkLinkInput interface {
	pulumi.Input

	ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
	ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
}

type ResolverVirtualNetworkLinkMap

type ResolverVirtualNetworkLinkMap map[string]ResolverVirtualNetworkLinkInput

func (ResolverVirtualNetworkLinkMap) ElementType

func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput

func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput

func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext

func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput

type ResolverVirtualNetworkLinkMapInput

type ResolverVirtualNetworkLinkMapInput interface {
	pulumi.Input

	ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
	ToResolverVirtualNetworkLinkMapOutputWithContext(context.Context) ResolverVirtualNetworkLinkMapOutput
}

ResolverVirtualNetworkLinkMapInput is an input type that accepts ResolverVirtualNetworkLinkMap and ResolverVirtualNetworkLinkMapOutput values. You can construct a concrete instance of `ResolverVirtualNetworkLinkMapInput` via:

ResolverVirtualNetworkLinkMap{ "key": ResolverVirtualNetworkLinkArgs{...} }

type ResolverVirtualNetworkLinkMapOutput

type ResolverVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkMapOutput) ElementType

func (ResolverVirtualNetworkLinkMapOutput) MapIndex

func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput

func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput

func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext

func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput

type ResolverVirtualNetworkLinkOutput

type ResolverVirtualNetworkLinkOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId

func (o ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId() pulumi.StringOutput

Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.

func (ResolverVirtualNetworkLinkOutput) ElementType

func (ResolverVirtualNetworkLinkOutput) Metadata

Metadata attached to the Private DNS Resolver Virtual Network Link.

func (ResolverVirtualNetworkLinkOutput) Name

Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.

func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput

func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput

func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext

func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput

func (ResolverVirtualNetworkLinkOutput) VirtualNetworkId

The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created.

type ResolverVirtualNetworkLinkState

type ResolverVirtualNetworkLinkState struct {
	// Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	DnsForwardingRulesetId pulumi.StringPtrInput
	// Metadata attached to the Private DNS Resolver Virtual Network Link.
	Metadata pulumi.StringMapInput
	// Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
	Name pulumi.StringPtrInput
	// The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringPtrInput
}

func (ResolverVirtualNetworkLinkState) ElementType

type SRVRecord

type SRVRecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS SRV Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS SRV Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `record` blocks as defined below.
	Records SRVRecordRecordArrayOutput `pulumi:"records"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS SRV Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("contoso.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewSRVRecord(ctx, "example", &privatedns.SRVRecordArgs{
			Name:              pulumi.String("test"),
			ResourceGroupName: example.Name,
			ZoneName:          exampleZone.Name,
			Ttl:               pulumi.Int(300),
			Records: privatedns.SRVRecordRecordArray{
				&privatedns.SRVRecordRecordArgs{
					Priority: pulumi.Int(1),
					Weight:   pulumi.Int(5),
					Port:     pulumi.Int(8080),
					Target:   pulumi.String("target1.contoso.com"),
				},
				&privatedns.SRVRecordRecordArgs{
					Priority: pulumi.Int(10),
					Weight:   pulumi.Int(10),
					Port:     pulumi.Int(8080),
					Target:   pulumi.String("target2.contoso.com"),
				},
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS SRV Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/sRVRecord:SRVRecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/SRV/test ```

func GetSRVRecord

func GetSRVRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SRVRecordState, opts ...pulumi.ResourceOption) (*SRVRecord, error)

GetSRVRecord gets an existing SRVRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSRVRecord

func NewSRVRecord(ctx *pulumi.Context,
	name string, args *SRVRecordArgs, opts ...pulumi.ResourceOption) (*SRVRecord, error)

NewSRVRecord registers a new resource with the given unique name, arguments, and options.

func (*SRVRecord) ElementType

func (*SRVRecord) ElementType() reflect.Type

func (*SRVRecord) ToSRVRecordOutput

func (i *SRVRecord) ToSRVRecordOutput() SRVRecordOutput

func (*SRVRecord) ToSRVRecordOutputWithContext

func (i *SRVRecord) ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput

type SRVRecordArgs

type SRVRecordArgs struct {
	// The name of the DNS SRV Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records SRVRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a SRVRecord resource.

func (SRVRecordArgs) ElementType

func (SRVRecordArgs) ElementType() reflect.Type

type SRVRecordArray

type SRVRecordArray []SRVRecordInput

func (SRVRecordArray) ElementType

func (SRVRecordArray) ElementType() reflect.Type

func (SRVRecordArray) ToSRVRecordArrayOutput

func (i SRVRecordArray) ToSRVRecordArrayOutput() SRVRecordArrayOutput

func (SRVRecordArray) ToSRVRecordArrayOutputWithContext

func (i SRVRecordArray) ToSRVRecordArrayOutputWithContext(ctx context.Context) SRVRecordArrayOutput

type SRVRecordArrayInput

type SRVRecordArrayInput interface {
	pulumi.Input

	ToSRVRecordArrayOutput() SRVRecordArrayOutput
	ToSRVRecordArrayOutputWithContext(context.Context) SRVRecordArrayOutput
}

SRVRecordArrayInput is an input type that accepts SRVRecordArray and SRVRecordArrayOutput values. You can construct a concrete instance of `SRVRecordArrayInput` via:

SRVRecordArray{ SRVRecordArgs{...} }

type SRVRecordArrayOutput

type SRVRecordArrayOutput struct{ *pulumi.OutputState }

func (SRVRecordArrayOutput) ElementType

func (SRVRecordArrayOutput) ElementType() reflect.Type

func (SRVRecordArrayOutput) Index

func (SRVRecordArrayOutput) ToSRVRecordArrayOutput

func (o SRVRecordArrayOutput) ToSRVRecordArrayOutput() SRVRecordArrayOutput

func (SRVRecordArrayOutput) ToSRVRecordArrayOutputWithContext

func (o SRVRecordArrayOutput) ToSRVRecordArrayOutputWithContext(ctx context.Context) SRVRecordArrayOutput

type SRVRecordInput

type SRVRecordInput interface {
	pulumi.Input

	ToSRVRecordOutput() SRVRecordOutput
	ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput
}

type SRVRecordMap

type SRVRecordMap map[string]SRVRecordInput

func (SRVRecordMap) ElementType

func (SRVRecordMap) ElementType() reflect.Type

func (SRVRecordMap) ToSRVRecordMapOutput

func (i SRVRecordMap) ToSRVRecordMapOutput() SRVRecordMapOutput

func (SRVRecordMap) ToSRVRecordMapOutputWithContext

func (i SRVRecordMap) ToSRVRecordMapOutputWithContext(ctx context.Context) SRVRecordMapOutput

type SRVRecordMapInput

type SRVRecordMapInput interface {
	pulumi.Input

	ToSRVRecordMapOutput() SRVRecordMapOutput
	ToSRVRecordMapOutputWithContext(context.Context) SRVRecordMapOutput
}

SRVRecordMapInput is an input type that accepts SRVRecordMap and SRVRecordMapOutput values. You can construct a concrete instance of `SRVRecordMapInput` via:

SRVRecordMap{ "key": SRVRecordArgs{...} }

type SRVRecordMapOutput

type SRVRecordMapOutput struct{ *pulumi.OutputState }

func (SRVRecordMapOutput) ElementType

func (SRVRecordMapOutput) ElementType() reflect.Type

func (SRVRecordMapOutput) MapIndex

func (SRVRecordMapOutput) ToSRVRecordMapOutput

func (o SRVRecordMapOutput) ToSRVRecordMapOutput() SRVRecordMapOutput

func (SRVRecordMapOutput) ToSRVRecordMapOutputWithContext

func (o SRVRecordMapOutput) ToSRVRecordMapOutputWithContext(ctx context.Context) SRVRecordMapOutput

type SRVRecordOutput

type SRVRecordOutput struct{ *pulumi.OutputState }

func (SRVRecordOutput) ElementType

func (SRVRecordOutput) ElementType() reflect.Type

func (SRVRecordOutput) Fqdn

The FQDN of the DNS SRV Record.

func (SRVRecordOutput) Name

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

func (SRVRecordOutput) Records

One or more `record` blocks as defined below.

func (SRVRecordOutput) ResourceGroupName

func (o SRVRecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (SRVRecordOutput) Tags

A mapping of tags to assign to the resource.

func (SRVRecordOutput) ToSRVRecordOutput

func (o SRVRecordOutput) ToSRVRecordOutput() SRVRecordOutput

func (SRVRecordOutput) ToSRVRecordOutputWithContext

func (o SRVRecordOutput) ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput

func (SRVRecordOutput) Ttl

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

func (SRVRecordOutput) ZoneName

func (o SRVRecordOutput) ZoneName() pulumi.StringOutput

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

type SRVRecordRecord

type SRVRecordRecord struct {
	// The Port the service is listening on.
	Port int `pulumi:"port"`
	// The priority of the SRV record.
	Priority int `pulumi:"priority"`
	// The FQDN of the service.
	Target string `pulumi:"target"`
	// The Weight of the SRV record.
	Weight int `pulumi:"weight"`
}

type SRVRecordRecordArgs

type SRVRecordRecordArgs struct {
	// The Port the service is listening on.
	Port pulumi.IntInput `pulumi:"port"`
	// The priority of the SRV record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The FQDN of the service.
	Target pulumi.StringInput `pulumi:"target"`
	// The Weight of the SRV record.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (SRVRecordRecordArgs) ElementType

func (SRVRecordRecordArgs) ElementType() reflect.Type

func (SRVRecordRecordArgs) ToSRVRecordRecordOutput

func (i SRVRecordRecordArgs) ToSRVRecordRecordOutput() SRVRecordRecordOutput

func (SRVRecordRecordArgs) ToSRVRecordRecordOutputWithContext

func (i SRVRecordRecordArgs) ToSRVRecordRecordOutputWithContext(ctx context.Context) SRVRecordRecordOutput

type SRVRecordRecordArray

type SRVRecordRecordArray []SRVRecordRecordInput

func (SRVRecordRecordArray) ElementType

func (SRVRecordRecordArray) ElementType() reflect.Type

func (SRVRecordRecordArray) ToSRVRecordRecordArrayOutput

func (i SRVRecordRecordArray) ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput

func (SRVRecordRecordArray) ToSRVRecordRecordArrayOutputWithContext

func (i SRVRecordRecordArray) ToSRVRecordRecordArrayOutputWithContext(ctx context.Context) SRVRecordRecordArrayOutput

type SRVRecordRecordArrayInput

type SRVRecordRecordArrayInput interface {
	pulumi.Input

	ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput
	ToSRVRecordRecordArrayOutputWithContext(context.Context) SRVRecordRecordArrayOutput
}

SRVRecordRecordArrayInput is an input type that accepts SRVRecordRecordArray and SRVRecordRecordArrayOutput values. You can construct a concrete instance of `SRVRecordRecordArrayInput` via:

SRVRecordRecordArray{ SRVRecordRecordArgs{...} }

type SRVRecordRecordArrayOutput

type SRVRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (SRVRecordRecordArrayOutput) ElementType

func (SRVRecordRecordArrayOutput) ElementType() reflect.Type

func (SRVRecordRecordArrayOutput) Index

func (SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutput

func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput

func (SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutputWithContext

func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutputWithContext(ctx context.Context) SRVRecordRecordArrayOutput

type SRVRecordRecordInput

type SRVRecordRecordInput interface {
	pulumi.Input

	ToSRVRecordRecordOutput() SRVRecordRecordOutput
	ToSRVRecordRecordOutputWithContext(context.Context) SRVRecordRecordOutput
}

SRVRecordRecordInput is an input type that accepts SRVRecordRecordArgs and SRVRecordRecordOutput values. You can construct a concrete instance of `SRVRecordRecordInput` via:

SRVRecordRecordArgs{...}

type SRVRecordRecordOutput

type SRVRecordRecordOutput struct{ *pulumi.OutputState }

func (SRVRecordRecordOutput) ElementType

func (SRVRecordRecordOutput) ElementType() reflect.Type

func (SRVRecordRecordOutput) Port

The Port the service is listening on.

func (SRVRecordRecordOutput) Priority

func (o SRVRecordRecordOutput) Priority() pulumi.IntOutput

The priority of the SRV record.

func (SRVRecordRecordOutput) Target

The FQDN of the service.

func (SRVRecordRecordOutput) ToSRVRecordRecordOutput

func (o SRVRecordRecordOutput) ToSRVRecordRecordOutput() SRVRecordRecordOutput

func (SRVRecordRecordOutput) ToSRVRecordRecordOutputWithContext

func (o SRVRecordRecordOutput) ToSRVRecordRecordOutputWithContext(ctx context.Context) SRVRecordRecordOutput

func (SRVRecordRecordOutput) Weight

The Weight of the SRV record.

type SRVRecordState

type SRVRecordState struct {
	// The FQDN of the DNS SRV Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS SRV Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records SRVRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (SRVRecordState) ElementType

func (SRVRecordState) ElementType() reflect.Type

type TxtRecord

type TxtRecord struct {
	pulumi.CustomResourceState

	// The FQDN of the DNS TXT Record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The name of the DNS TXT Record. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `record` blocks as defined below.
	Records TxtRecordRecordArrayOutput `pulumi:"records"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enables you to manage DNS TXT Records within Azure Private DNS.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("contoso.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewTxtRecord(ctx, "example", &privatedns.TxtRecordArgs{
			Name:              pulumi.String("test"),
			ResourceGroupName: example.Name,
			ZoneName:          exampleZone.Name,
			Ttl:               pulumi.Int(300),
			Records: privatedns.TxtRecordRecordArray{
				&privatedns.TxtRecordRecordArgs{
					Value: pulumi.String("v=spf1 mx ~all"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS TXT Records can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/txtRecord:TxtRecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/TXT/test ```

func GetTxtRecord

func GetTxtRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TxtRecordState, opts ...pulumi.ResourceOption) (*TxtRecord, error)

GetTxtRecord gets an existing TxtRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTxtRecord

func NewTxtRecord(ctx *pulumi.Context,
	name string, args *TxtRecordArgs, opts ...pulumi.ResourceOption) (*TxtRecord, error)

NewTxtRecord registers a new resource with the given unique name, arguments, and options.

func (*TxtRecord) ElementType

func (*TxtRecord) ElementType() reflect.Type

func (*TxtRecord) ToTxtRecordOutput

func (i *TxtRecord) ToTxtRecordOutput() TxtRecordOutput

func (*TxtRecord) ToTxtRecordOutputWithContext

func (i *TxtRecord) ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput

type TxtRecordArgs

type TxtRecordArgs struct {
	// The name of the DNS TXT Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records TxtRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a TxtRecord resource.

func (TxtRecordArgs) ElementType

func (TxtRecordArgs) ElementType() reflect.Type

type TxtRecordArray

type TxtRecordArray []TxtRecordInput

func (TxtRecordArray) ElementType

func (TxtRecordArray) ElementType() reflect.Type

func (TxtRecordArray) ToTxtRecordArrayOutput

func (i TxtRecordArray) ToTxtRecordArrayOutput() TxtRecordArrayOutput

func (TxtRecordArray) ToTxtRecordArrayOutputWithContext

func (i TxtRecordArray) ToTxtRecordArrayOutputWithContext(ctx context.Context) TxtRecordArrayOutput

type TxtRecordArrayInput

type TxtRecordArrayInput interface {
	pulumi.Input

	ToTxtRecordArrayOutput() TxtRecordArrayOutput
	ToTxtRecordArrayOutputWithContext(context.Context) TxtRecordArrayOutput
}

TxtRecordArrayInput is an input type that accepts TxtRecordArray and TxtRecordArrayOutput values. You can construct a concrete instance of `TxtRecordArrayInput` via:

TxtRecordArray{ TxtRecordArgs{...} }

type TxtRecordArrayOutput

type TxtRecordArrayOutput struct{ *pulumi.OutputState }

func (TxtRecordArrayOutput) ElementType

func (TxtRecordArrayOutput) ElementType() reflect.Type

func (TxtRecordArrayOutput) Index

func (TxtRecordArrayOutput) ToTxtRecordArrayOutput

func (o TxtRecordArrayOutput) ToTxtRecordArrayOutput() TxtRecordArrayOutput

func (TxtRecordArrayOutput) ToTxtRecordArrayOutputWithContext

func (o TxtRecordArrayOutput) ToTxtRecordArrayOutputWithContext(ctx context.Context) TxtRecordArrayOutput

type TxtRecordInput

type TxtRecordInput interface {
	pulumi.Input

	ToTxtRecordOutput() TxtRecordOutput
	ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput
}

type TxtRecordMap

type TxtRecordMap map[string]TxtRecordInput

func (TxtRecordMap) ElementType

func (TxtRecordMap) ElementType() reflect.Type

func (TxtRecordMap) ToTxtRecordMapOutput

func (i TxtRecordMap) ToTxtRecordMapOutput() TxtRecordMapOutput

func (TxtRecordMap) ToTxtRecordMapOutputWithContext

func (i TxtRecordMap) ToTxtRecordMapOutputWithContext(ctx context.Context) TxtRecordMapOutput

type TxtRecordMapInput

type TxtRecordMapInput interface {
	pulumi.Input

	ToTxtRecordMapOutput() TxtRecordMapOutput
	ToTxtRecordMapOutputWithContext(context.Context) TxtRecordMapOutput
}

TxtRecordMapInput is an input type that accepts TxtRecordMap and TxtRecordMapOutput values. You can construct a concrete instance of `TxtRecordMapInput` via:

TxtRecordMap{ "key": TxtRecordArgs{...} }

type TxtRecordMapOutput

type TxtRecordMapOutput struct{ *pulumi.OutputState }

func (TxtRecordMapOutput) ElementType

func (TxtRecordMapOutput) ElementType() reflect.Type

func (TxtRecordMapOutput) MapIndex

func (TxtRecordMapOutput) ToTxtRecordMapOutput

func (o TxtRecordMapOutput) ToTxtRecordMapOutput() TxtRecordMapOutput

func (TxtRecordMapOutput) ToTxtRecordMapOutputWithContext

func (o TxtRecordMapOutput) ToTxtRecordMapOutputWithContext(ctx context.Context) TxtRecordMapOutput

type TxtRecordOutput

type TxtRecordOutput struct{ *pulumi.OutputState }

func (TxtRecordOutput) ElementType

func (TxtRecordOutput) ElementType() reflect.Type

func (TxtRecordOutput) Fqdn

The FQDN of the DNS TXT Record.

func (TxtRecordOutput) Name

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

func (TxtRecordOutput) Records

One or more `record` blocks as defined below.

func (TxtRecordOutput) ResourceGroupName

func (o TxtRecordOutput) ResourceGroupName() pulumi.StringOutput

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

func (TxtRecordOutput) Tags

A mapping of tags to assign to the resource.

func (TxtRecordOutput) ToTxtRecordOutput

func (o TxtRecordOutput) ToTxtRecordOutput() TxtRecordOutput

func (TxtRecordOutput) ToTxtRecordOutputWithContext

func (o TxtRecordOutput) ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput

func (TxtRecordOutput) Ttl

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

func (TxtRecordOutput) ZoneName

func (o TxtRecordOutput) ZoneName() pulumi.StringOutput

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

type TxtRecordRecord

type TxtRecordRecord struct {
	// The value of the TXT record. Max length: 1024 characters
	Value string `pulumi:"value"`
}

type TxtRecordRecordArgs

type TxtRecordRecordArgs struct {
	// The value of the TXT record. Max length: 1024 characters
	Value pulumi.StringInput `pulumi:"value"`
}

func (TxtRecordRecordArgs) ElementType

func (TxtRecordRecordArgs) ElementType() reflect.Type

func (TxtRecordRecordArgs) ToTxtRecordRecordOutput

func (i TxtRecordRecordArgs) ToTxtRecordRecordOutput() TxtRecordRecordOutput

func (TxtRecordRecordArgs) ToTxtRecordRecordOutputWithContext

func (i TxtRecordRecordArgs) ToTxtRecordRecordOutputWithContext(ctx context.Context) TxtRecordRecordOutput

type TxtRecordRecordArray

type TxtRecordRecordArray []TxtRecordRecordInput

func (TxtRecordRecordArray) ElementType

func (TxtRecordRecordArray) ElementType() reflect.Type

func (TxtRecordRecordArray) ToTxtRecordRecordArrayOutput

func (i TxtRecordRecordArray) ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput

func (TxtRecordRecordArray) ToTxtRecordRecordArrayOutputWithContext

func (i TxtRecordRecordArray) ToTxtRecordRecordArrayOutputWithContext(ctx context.Context) TxtRecordRecordArrayOutput

type TxtRecordRecordArrayInput

type TxtRecordRecordArrayInput interface {
	pulumi.Input

	ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput
	ToTxtRecordRecordArrayOutputWithContext(context.Context) TxtRecordRecordArrayOutput
}

TxtRecordRecordArrayInput is an input type that accepts TxtRecordRecordArray and TxtRecordRecordArrayOutput values. You can construct a concrete instance of `TxtRecordRecordArrayInput` via:

TxtRecordRecordArray{ TxtRecordRecordArgs{...} }

type TxtRecordRecordArrayOutput

type TxtRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (TxtRecordRecordArrayOutput) ElementType

func (TxtRecordRecordArrayOutput) ElementType() reflect.Type

func (TxtRecordRecordArrayOutput) Index

func (TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutput

func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput

func (TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutputWithContext

func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutputWithContext(ctx context.Context) TxtRecordRecordArrayOutput

type TxtRecordRecordInput

type TxtRecordRecordInput interface {
	pulumi.Input

	ToTxtRecordRecordOutput() TxtRecordRecordOutput
	ToTxtRecordRecordOutputWithContext(context.Context) TxtRecordRecordOutput
}

TxtRecordRecordInput is an input type that accepts TxtRecordRecordArgs and TxtRecordRecordOutput values. You can construct a concrete instance of `TxtRecordRecordInput` via:

TxtRecordRecordArgs{...}

type TxtRecordRecordOutput

type TxtRecordRecordOutput struct{ *pulumi.OutputState }

func (TxtRecordRecordOutput) ElementType

func (TxtRecordRecordOutput) ElementType() reflect.Type

func (TxtRecordRecordOutput) ToTxtRecordRecordOutput

func (o TxtRecordRecordOutput) ToTxtRecordRecordOutput() TxtRecordRecordOutput

func (TxtRecordRecordOutput) ToTxtRecordRecordOutputWithContext

func (o TxtRecordRecordOutput) ToTxtRecordRecordOutputWithContext(ctx context.Context) TxtRecordRecordOutput

func (TxtRecordRecordOutput) Value

The value of the TXT record. Max length: 1024 characters

type TxtRecordState

type TxtRecordState struct {
	// The FQDN of the DNS TXT Record.
	Fqdn pulumi.StringPtrInput
	// The name of the DNS TXT Record. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One or more `record` blocks as defined below.
	Records TxtRecordRecordArrayInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The Time To Live (TTL) of the DNS record in seconds.
	Ttl pulumi.IntPtrInput
	// Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
	ZoneName pulumi.StringPtrInput
}

func (TxtRecordState) ElementType

func (TxtRecordState) ElementType() reflect.Type

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// The maximum number of record sets that can be created in this Private DNS zone.
	MaxNumberOfRecordSets pulumi.IntOutput `pulumi:"maxNumberOfRecordSets"`
	// The maximum number of virtual networks that can be linked to this Private DNS zone.
	MaxNumberOfVirtualNetworkLinks pulumi.IntOutput `pulumi:"maxNumberOfVirtualNetworkLinks"`
	// The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
	MaxNumberOfVirtualNetworkLinksWithRegistration pulumi.IntOutput `pulumi:"maxNumberOfVirtualNetworkLinksWithRegistration"`
	// The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.
	//
	// > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully.
	Name pulumi.StringOutput `pulumi:"name"`
	// The current number of record sets in this Private DNS zone.
	NumberOfRecordSets pulumi.IntOutput `pulumi:"numberOfRecordSets"`
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// An `soaRecord` block as defined below. Changing this forces a new resource to be created.
	SoaRecord ZoneSoaRecordOutput `pulumi:"soaRecord"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Zones can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/zone:Zone zone1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1 ```

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

NewZone registers a new resource with the given unique name, arguments, and options.

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.
	//
	// > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully.
	Name pulumi.StringPtrInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// An `soaRecord` block as defined below. Changing this forces a new resource to be created.
	SoaRecord ZoneSoaRecordPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) MaxNumberOfRecordSets

func (o ZoneOutput) MaxNumberOfRecordSets() pulumi.IntOutput

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

func (o ZoneOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput

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

func (ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration

func (o ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput

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

func (ZoneOutput) Name

func (o ZoneOutput) Name() pulumi.StringOutput

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

> **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully.

func (ZoneOutput) NumberOfRecordSets

func (o ZoneOutput) NumberOfRecordSets() pulumi.IntOutput

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

func (ZoneOutput) ResourceGroupName

func (o ZoneOutput) ResourceGroupName() pulumi.StringOutput

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

func (ZoneOutput) SoaRecord

func (o ZoneOutput) SoaRecord() ZoneSoaRecordOutput

An `soaRecord` block as defined below. Changing this forces a new resource to be created.

func (ZoneOutput) Tags

A mapping of tags to assign to the resource.

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneSoaRecord

type ZoneSoaRecord struct {
	// The email contact for the SOA record.
	Email string `pulumi:"email"`
	// The expire time for the SOA record. Defaults to `2419200`.
	ExpireTime *int `pulumi:"expireTime"`
	// The fully qualified domain name of the Record Set.
	Fqdn *string `pulumi:"fqdn"`
	// The domain name of the authoritative name server for the SOA record.
	HostName *string `pulumi:"hostName"`
	// The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.
	MinimumTtl *int `pulumi:"minimumTtl"`
	// The refresh time for the SOA record. Defaults to `3600`.
	RefreshTime *int `pulumi:"refreshTime"`
	// The retry time for the SOA record. Defaults to `300`.
	RetryTime *int `pulumi:"retryTime"`
	// The serial number for the SOA record.
	SerialNumber *int `pulumi:"serialNumber"`
	// A mapping of tags to assign to the Record Set.
	Tags map[string]string `pulumi:"tags"`
	// The Time To Live of the SOA Record in seconds. Defaults to `3600`.
	Ttl *int `pulumi:"ttl"`
}

type ZoneSoaRecordArgs

type ZoneSoaRecordArgs struct {
	// The email contact for the SOA record.
	Email pulumi.StringInput `pulumi:"email"`
	// The expire time for the SOA record. Defaults to `2419200`.
	ExpireTime pulumi.IntPtrInput `pulumi:"expireTime"`
	// The fully qualified domain name of the Record Set.
	Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
	// The domain name of the authoritative name server for the SOA record.
	HostName pulumi.StringPtrInput `pulumi:"hostName"`
	// The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.
	MinimumTtl pulumi.IntPtrInput `pulumi:"minimumTtl"`
	// The refresh time for the SOA record. Defaults to `3600`.
	RefreshTime pulumi.IntPtrInput `pulumi:"refreshTime"`
	// The retry time for the SOA record. Defaults to `300`.
	RetryTime pulumi.IntPtrInput `pulumi:"retryTime"`
	// The serial number for the SOA record.
	SerialNumber pulumi.IntPtrInput `pulumi:"serialNumber"`
	// A mapping of tags to assign to the Record Set.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// The Time To Live of the SOA Record in seconds. Defaults to `3600`.
	Ttl pulumi.IntPtrInput `pulumi:"ttl"`
}

func (ZoneSoaRecordArgs) ElementType

func (ZoneSoaRecordArgs) ElementType() reflect.Type

func (ZoneSoaRecordArgs) ToZoneSoaRecordOutput

func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutput() ZoneSoaRecordOutput

func (ZoneSoaRecordArgs) ToZoneSoaRecordOutputWithContext

func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput

func (ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutput

func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput

func (ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutputWithContext

func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput

type ZoneSoaRecordInput

type ZoneSoaRecordInput interface {
	pulumi.Input

	ToZoneSoaRecordOutput() ZoneSoaRecordOutput
	ToZoneSoaRecordOutputWithContext(context.Context) ZoneSoaRecordOutput
}

ZoneSoaRecordInput is an input type that accepts ZoneSoaRecordArgs and ZoneSoaRecordOutput values. You can construct a concrete instance of `ZoneSoaRecordInput` via:

ZoneSoaRecordArgs{...}

type ZoneSoaRecordOutput

type ZoneSoaRecordOutput struct{ *pulumi.OutputState }

func (ZoneSoaRecordOutput) ElementType

func (ZoneSoaRecordOutput) ElementType() reflect.Type

func (ZoneSoaRecordOutput) Email

The email contact for the SOA record.

func (ZoneSoaRecordOutput) ExpireTime

func (o ZoneSoaRecordOutput) ExpireTime() pulumi.IntPtrOutput

The expire time for the SOA record. Defaults to `2419200`.

func (ZoneSoaRecordOutput) Fqdn

The fully qualified domain name of the Record Set.

func (ZoneSoaRecordOutput) HostName

The domain name of the authoritative name server for the SOA record.

func (ZoneSoaRecordOutput) MinimumTtl

func (o ZoneSoaRecordOutput) MinimumTtl() pulumi.IntPtrOutput

The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.

func (ZoneSoaRecordOutput) RefreshTime

func (o ZoneSoaRecordOutput) RefreshTime() pulumi.IntPtrOutput

The refresh time for the SOA record. Defaults to `3600`.

func (ZoneSoaRecordOutput) RetryTime

func (o ZoneSoaRecordOutput) RetryTime() pulumi.IntPtrOutput

The retry time for the SOA record. Defaults to `300`.

func (ZoneSoaRecordOutput) SerialNumber

func (o ZoneSoaRecordOutput) SerialNumber() pulumi.IntPtrOutput

The serial number for the SOA record.

func (ZoneSoaRecordOutput) Tags

A mapping of tags to assign to the Record Set.

func (ZoneSoaRecordOutput) ToZoneSoaRecordOutput

func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutput() ZoneSoaRecordOutput

func (ZoneSoaRecordOutput) ToZoneSoaRecordOutputWithContext

func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput

func (ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutput

func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput

func (ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutputWithContext

func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput

func (ZoneSoaRecordOutput) Ttl

The Time To Live of the SOA Record in seconds. Defaults to `3600`.

type ZoneSoaRecordPtrInput

type ZoneSoaRecordPtrInput interface {
	pulumi.Input

	ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
	ToZoneSoaRecordPtrOutputWithContext(context.Context) ZoneSoaRecordPtrOutput
}

ZoneSoaRecordPtrInput is an input type that accepts ZoneSoaRecordArgs, ZoneSoaRecordPtr and ZoneSoaRecordPtrOutput values. You can construct a concrete instance of `ZoneSoaRecordPtrInput` via:

        ZoneSoaRecordArgs{...}

or:

        nil

type ZoneSoaRecordPtrOutput

type ZoneSoaRecordPtrOutput struct{ *pulumi.OutputState }

func (ZoneSoaRecordPtrOutput) Elem

func (ZoneSoaRecordPtrOutput) ElementType

func (ZoneSoaRecordPtrOutput) ElementType() reflect.Type

func (ZoneSoaRecordPtrOutput) Email

The email contact for the SOA record.

func (ZoneSoaRecordPtrOutput) ExpireTime

The expire time for the SOA record. Defaults to `2419200`.

func (ZoneSoaRecordPtrOutput) Fqdn

The fully qualified domain name of the Record Set.

func (ZoneSoaRecordPtrOutput) HostName

The domain name of the authoritative name server for the SOA record.

func (ZoneSoaRecordPtrOutput) MinimumTtl

The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.

func (ZoneSoaRecordPtrOutput) RefreshTime

func (o ZoneSoaRecordPtrOutput) RefreshTime() pulumi.IntPtrOutput

The refresh time for the SOA record. Defaults to `3600`.

func (ZoneSoaRecordPtrOutput) RetryTime

The retry time for the SOA record. Defaults to `300`.

func (ZoneSoaRecordPtrOutput) SerialNumber

func (o ZoneSoaRecordPtrOutput) SerialNumber() pulumi.IntPtrOutput

The serial number for the SOA record.

func (ZoneSoaRecordPtrOutput) Tags

A mapping of tags to assign to the Record Set.

func (ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutput

func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput

func (ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutputWithContext

func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput

func (ZoneSoaRecordPtrOutput) Ttl

The Time To Live of the SOA Record in seconds. Defaults to `3600`.

type ZoneState

type ZoneState struct {
	// The maximum number of record sets that can be created in this Private DNS zone.
	MaxNumberOfRecordSets pulumi.IntPtrInput
	// The maximum number of virtual networks that can be linked to this Private DNS zone.
	MaxNumberOfVirtualNetworkLinks pulumi.IntPtrInput
	// The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
	MaxNumberOfVirtualNetworkLinksWithRegistration pulumi.IntPtrInput
	// The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.
	//
	// > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully.
	Name pulumi.StringPtrInput
	// The current number of record sets in this Private DNS zone.
	NumberOfRecordSets pulumi.IntPtrInput
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// An `soaRecord` block as defined below. Changing this forces a new resource to be created.
	SoaRecord ZoneSoaRecordPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type
type ZoneVirtualNetworkLink struct {
	pulumi.CustomResourceState

	// The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
	PrivateDnsZoneName pulumi.StringOutput `pulumi:"privateDnsZoneName"`
	// Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`.
	RegistrationEnabled pulumi.BoolPtrOutput `pulumi:"registrationEnabled"`
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"`
}

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("test-network"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewZoneVirtualNetworkLink(ctx, "example", &privatedns.ZoneVirtualNetworkLinkArgs{
			Name:               pulumi.String("test"),
			ResourceGroupName:  example.Name,
			PrivateDnsZoneName: exampleZone.Name,
			VirtualNetworkId:   exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private DNS Zone Virtual Network Links can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:privatedns/zoneVirtualNetworkLink:ZoneVirtualNetworkLink link1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1.com/virtualNetworkLinks/myVnetLink1 ```

func GetZoneVirtualNetworkLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneVirtualNetworkLinkState, opts ...pulumi.ResourceOption) (*ZoneVirtualNetworkLink, error)

GetZoneVirtualNetworkLink gets an existing ZoneVirtualNetworkLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZoneVirtualNetworkLink(ctx *pulumi.Context,
	name string, args *ZoneVirtualNetworkLinkArgs, opts ...pulumi.ResourceOption) (*ZoneVirtualNetworkLink, error)

NewZoneVirtualNetworkLink registers a new resource with the given unique name, arguments, and options.

func (*ZoneVirtualNetworkLink) ElementType

func (*ZoneVirtualNetworkLink) ElementType() reflect.Type

func (*ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutput

func (i *ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput

func (*ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutputWithContext

func (i *ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput

type ZoneVirtualNetworkLinkArgs

type ZoneVirtualNetworkLinkArgs struct {
	// The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
	PrivateDnsZoneName pulumi.StringInput
	// Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`.
	RegistrationEnabled pulumi.BoolPtrInput
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringInput
}

The set of arguments for constructing a ZoneVirtualNetworkLink resource.

func (ZoneVirtualNetworkLinkArgs) ElementType

func (ZoneVirtualNetworkLinkArgs) ElementType() reflect.Type

type ZoneVirtualNetworkLinkArray

type ZoneVirtualNetworkLinkArray []ZoneVirtualNetworkLinkInput

func (ZoneVirtualNetworkLinkArray) ElementType

func (ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutput

func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput

func (ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutputWithContext

func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput

type ZoneVirtualNetworkLinkArrayInput

type ZoneVirtualNetworkLinkArrayInput interface {
	pulumi.Input

	ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput
	ToZoneVirtualNetworkLinkArrayOutputWithContext(context.Context) ZoneVirtualNetworkLinkArrayOutput
}

ZoneVirtualNetworkLinkArrayInput is an input type that accepts ZoneVirtualNetworkLinkArray and ZoneVirtualNetworkLinkArrayOutput values. You can construct a concrete instance of `ZoneVirtualNetworkLinkArrayInput` via:

ZoneVirtualNetworkLinkArray{ ZoneVirtualNetworkLinkArgs{...} }

type ZoneVirtualNetworkLinkArrayOutput

type ZoneVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }

func (ZoneVirtualNetworkLinkArrayOutput) ElementType

func (ZoneVirtualNetworkLinkArrayOutput) Index

func (ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutput

func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput

func (ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutputWithContext

func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput

type ZoneVirtualNetworkLinkInput

type ZoneVirtualNetworkLinkInput interface {
	pulumi.Input

	ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput
	ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput
}

type ZoneVirtualNetworkLinkMap

type ZoneVirtualNetworkLinkMap map[string]ZoneVirtualNetworkLinkInput

func (ZoneVirtualNetworkLinkMap) ElementType

func (ZoneVirtualNetworkLinkMap) ElementType() reflect.Type

func (ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutput

func (i ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput

func (ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutputWithContext

func (i ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkMapOutput

type ZoneVirtualNetworkLinkMapInput

type ZoneVirtualNetworkLinkMapInput interface {
	pulumi.Input

	ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput
	ToZoneVirtualNetworkLinkMapOutputWithContext(context.Context) ZoneVirtualNetworkLinkMapOutput
}

ZoneVirtualNetworkLinkMapInput is an input type that accepts ZoneVirtualNetworkLinkMap and ZoneVirtualNetworkLinkMapOutput values. You can construct a concrete instance of `ZoneVirtualNetworkLinkMapInput` via:

ZoneVirtualNetworkLinkMap{ "key": ZoneVirtualNetworkLinkArgs{...} }

type ZoneVirtualNetworkLinkMapOutput

type ZoneVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }

func (ZoneVirtualNetworkLinkMapOutput) ElementType

func (ZoneVirtualNetworkLinkMapOutput) MapIndex

func (ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutput

func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput

func (ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutputWithContext

func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkMapOutput

type ZoneVirtualNetworkLinkOutput

type ZoneVirtualNetworkLinkOutput struct{ *pulumi.OutputState }

func (ZoneVirtualNetworkLinkOutput) ElementType

func (ZoneVirtualNetworkLinkOutput) Name

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

func (ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName

func (o ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName() pulumi.StringOutput

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

func (ZoneVirtualNetworkLinkOutput) RegistrationEnabled

func (o ZoneVirtualNetworkLinkOutput) RegistrationEnabled() pulumi.BoolPtrOutput

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

func (ZoneVirtualNetworkLinkOutput) ResourceGroupName

func (o ZoneVirtualNetworkLinkOutput) ResourceGroupName() pulumi.StringOutput

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

func (ZoneVirtualNetworkLinkOutput) Tags

A mapping of tags to assign to the resource.

func (ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutput

func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput

func (ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutputWithContext

func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput

func (ZoneVirtualNetworkLinkOutput) VirtualNetworkId

func (o ZoneVirtualNetworkLinkOutput) VirtualNetworkId() pulumi.StringOutput

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

type ZoneVirtualNetworkLinkState

type ZoneVirtualNetworkLinkState struct {
	// The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
	PrivateDnsZoneName pulumi.StringPtrInput
	// Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`.
	RegistrationEnabled pulumi.BoolPtrInput
	// Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
	VirtualNetworkId pulumi.StringPtrInput
}

func (ZoneVirtualNetworkLinkState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL