privatedns

package
v5.70.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS AAAA Record.

func (AAAARecordOutput) Name added in v5.5.0

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

func (AAAARecordOutput) Records added in v5.5.0

A list of IPv6 Addresses.

func (AAAARecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (AAAARecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS A Record.

func (ARecordOutput) Name added in v5.5.0

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

func (ARecordOutput) Records added in v5.5.0

List of IPv4 Addresses.

func (ARecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

func (o ARecordOutput) Ttl() pulumi.IntOutput

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

func (ARecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS CNAME Record.

func (CnameRecordOutput) Name added in v5.5.0

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

func (CnameRecordOutput) Record added in v5.5.0

The target of the CNAME.

func (CnameRecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (CnameRecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

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 added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetMxRecordRecordArgs) ElementType() reflect.Type

func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutput added in v5.16.0

func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput

func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext added in v5.16.0

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

type GetMxRecordRecordArray added in v5.16.0

type GetMxRecordRecordArray []GetMxRecordRecordInput

func (GetMxRecordRecordArray) ElementType added in v5.16.0

func (GetMxRecordRecordArray) ElementType() reflect.Type

func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput added in v5.16.0

func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput

func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetMxRecordRecordArrayInput added in v5.16.0

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 added in v5.16.0

type GetMxRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetMxRecordRecordArrayOutput) ElementType added in v5.16.0

func (GetMxRecordRecordArrayOutput) Index added in v5.16.0

func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput added in v5.16.0

func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput

func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetMxRecordRecordInput added in v5.16.0

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 added in v5.16.0

type GetMxRecordRecordOutput struct{ *pulumi.OutputState }

func (GetMxRecordRecordOutput) ElementType added in v5.16.0

func (GetMxRecordRecordOutput) ElementType() reflect.Type

func (GetMxRecordRecordOutput) Exchange added in v5.16.0

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

func (GetMxRecordRecordOutput) Preference added in v5.16.0

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 added in v5.16.0

func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput

func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext added in v5.16.0

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

type GetPtrRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetPtrRecordOutputArgs) ElementType() reflect.Type

type GetPtrRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type GetPtrRecordResultOutput added in v5.16.0

type GetPtrRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPtrRecord.

func GetPtrRecordOutput added in v5.16.0

func GetPtrRecordOutput(ctx *pulumi.Context, args GetPtrRecordOutputArgs, opts ...pulumi.InvokeOption) GetPtrRecordResultOutput

func (GetPtrRecordResultOutput) ElementType added in v5.16.0

func (GetPtrRecordResultOutput) ElementType() reflect.Type

func (GetPtrRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS PTR Record.

func (GetPtrRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (GetPtrRecordResultOutput) Name added in v5.16.0

func (GetPtrRecordResultOutput) Records added in v5.16.0

List of Fully Qualified Domain Names.

func (GetPtrRecordResultOutput) ResourceGroupName added in v5.16.0

func (o GetPtrRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetPtrRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutput added in v5.16.0

func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutput() GetPtrRecordResultOutput

func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext added in v5.16.0

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

func (GetPtrRecordResultOutput) Ttl added in v5.16.0

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

func (GetPtrRecordResultOutput) ZoneName added in v5.16.0

type GetResolverForwardingRuleTargetDnsServer added in v5.31.0

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

type GetResolverForwardingRuleTargetDnsServerArgs added in v5.31.0

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 added in v5.31.0

func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput added in v5.31.0

func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput

func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext added in v5.31.0

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

type GetResolverForwardingRuleTargetDnsServerArray added in v5.31.0

type GetResolverForwardingRuleTargetDnsServerArray []GetResolverForwardingRuleTargetDnsServerInput

func (GetResolverForwardingRuleTargetDnsServerArray) ElementType added in v5.31.0

func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput added in v5.31.0

func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput

func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext added in v5.31.0

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

type GetResolverForwardingRuleTargetDnsServerArrayInput added in v5.31.0

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 added in v5.31.0

type GetResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType added in v5.31.0

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) Index added in v5.31.0

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput added in v5.31.0

func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput

func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext added in v5.31.0

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

type GetResolverForwardingRuleTargetDnsServerInput added in v5.31.0

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 added in v5.31.0

type GetResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }

func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType added in v5.31.0

func (GetResolverForwardingRuleTargetDnsServerOutput) IpAddress added in v5.31.0

The DNS server IP address.

func (GetResolverForwardingRuleTargetDnsServerOutput) Port added in v5.31.0

The DNS server port.

func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput added in v5.31.0

func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput

func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext added in v5.31.0

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

type GetResolverInboundEndpointIpConfiguration added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput added in v5.31.0

func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput

func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext added in v5.31.0

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

type GetResolverInboundEndpointIpConfigurationArray added in v5.31.0

type GetResolverInboundEndpointIpConfigurationArray []GetResolverInboundEndpointIpConfigurationInput

func (GetResolverInboundEndpointIpConfigurationArray) ElementType added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput added in v5.31.0

func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput

func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext added in v5.31.0

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

type GetResolverInboundEndpointIpConfigurationArrayInput added in v5.31.0

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 added in v5.31.0

type GetResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationArrayOutput) Index added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext added in v5.31.0

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

type GetResolverInboundEndpointIpConfigurationInput added in v5.31.0

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 added in v5.31.0

type GetResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }

func (GetResolverInboundEndpointIpConfigurationOutput) ElementType added in v5.31.0

func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress added in v5.31.0

The private IP address of the IP configuration.

func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod added in v5.31.0

The private IP address allocation method.

func (GetResolverInboundEndpointIpConfigurationOutput) SubnetId added in v5.31.0

The subnet ID of the IP configuration.

func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput added in v5.31.0

func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput

func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext added in v5.31.0

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

type GetSoaRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetSoaRecordOutputArgs) ElementType() reflect.Type

type GetSoaRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

type GetSoaRecordResultOutput added in v5.16.0

type GetSoaRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSoaRecord.

func GetSoaRecordOutput added in v5.16.0

func GetSoaRecordOutput(ctx *pulumi.Context, args GetSoaRecordOutputArgs, opts ...pulumi.InvokeOption) GetSoaRecordResultOutput

func (GetSoaRecordResultOutput) ElementType added in v5.16.0

func (GetSoaRecordResultOutput) ElementType() reflect.Type

func (GetSoaRecordResultOutput) Email added in v5.16.0

The email contact for the SOA record.

func (GetSoaRecordResultOutput) ExpireTime added in v5.16.0

func (o GetSoaRecordResultOutput) ExpireTime() pulumi.IntOutput

The expire time for the SOA record.

func (GetSoaRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS SOA Record.

func (GetSoaRecordResultOutput) HostName added in v5.16.0

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

func (GetSoaRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (GetSoaRecordResultOutput) MinimumTtl added in v5.16.0

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 added in v5.16.0

The name of the Private DNS SOA Record.

func (GetSoaRecordResultOutput) RefreshTime added in v5.16.0

func (o GetSoaRecordResultOutput) RefreshTime() pulumi.IntOutput

The refresh time for the SOA record.

func (GetSoaRecordResultOutput) ResourceGroupName added in v5.16.0

func (o GetSoaRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetSoaRecordResultOutput) RetryTime added in v5.16.0

The retry time for the SOA record.

func (GetSoaRecordResultOutput) SerialNumber added in v5.16.0

func (o GetSoaRecordResultOutput) SerialNumber() pulumi.IntOutput

The serial number for the SOA record.

func (GetSoaRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutput added in v5.16.0

func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutput() GetSoaRecordResultOutput

func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext added in v5.16.0

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

func (GetSoaRecordResultOutput) Ttl added in v5.16.0

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

func (GetSoaRecordResultOutput) ZoneName added in v5.16.0

type GetSrvRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetSrvRecordOutputArgs) ElementType() reflect.Type

type GetSrvRecordRecord added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetSrvRecordRecordArgs) ElementType() reflect.Type

func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput added in v5.16.0

func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput

func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext added in v5.16.0

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

type GetSrvRecordRecordArray added in v5.16.0

type GetSrvRecordRecordArray []GetSrvRecordRecordInput

func (GetSrvRecordRecordArray) ElementType added in v5.16.0

func (GetSrvRecordRecordArray) ElementType() reflect.Type

func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput added in v5.16.0

func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput

func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetSrvRecordRecordArrayInput added in v5.16.0

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 added in v5.16.0

type GetSrvRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetSrvRecordRecordArrayOutput) ElementType added in v5.16.0

func (GetSrvRecordRecordArrayOutput) Index added in v5.16.0

func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput added in v5.16.0

func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput

func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetSrvRecordRecordInput added in v5.16.0

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 added in v5.16.0

type GetSrvRecordRecordOutput struct{ *pulumi.OutputState }

func (GetSrvRecordRecordOutput) ElementType added in v5.16.0

func (GetSrvRecordRecordOutput) ElementType() reflect.Type

func (GetSrvRecordRecordOutput) Port added in v5.16.0

Port the service is listening on.

func (GetSrvRecordRecordOutput) Priority added in v5.16.0

Priority of the SRV record.

func (GetSrvRecordRecordOutput) Target added in v5.16.0

FQDN of the service.

func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput added in v5.16.0

func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput

func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext added in v5.16.0

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

func (GetSrvRecordRecordOutput) Weight added in v5.16.0

Weight of the SRV record.

type GetSrvRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type GetSrvRecordResultOutput added in v5.16.0

type GetSrvRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSrvRecord.

func GetSrvRecordOutput added in v5.16.0

func GetSrvRecordOutput(ctx *pulumi.Context, args GetSrvRecordOutputArgs, opts ...pulumi.InvokeOption) GetSrvRecordResultOutput

func (GetSrvRecordResultOutput) ElementType added in v5.16.0

func (GetSrvRecordResultOutput) ElementType() reflect.Type

func (GetSrvRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS SRV Record.

func (GetSrvRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (GetSrvRecordResultOutput) Name added in v5.16.0

func (GetSrvRecordResultOutput) Records added in v5.16.0

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

func (GetSrvRecordResultOutput) ResourceGroupName added in v5.16.0

func (o GetSrvRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetSrvRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutput added in v5.16.0

func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutput() GetSrvRecordResultOutput

func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext added in v5.16.0

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

func (GetSrvRecordResultOutput) Ttl added in v5.16.0

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

func (GetSrvRecordResultOutput) ZoneName added in v5.16.0

type GetTxtRecordRecord added in v5.16.0

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

type GetTxtRecordRecordArgs added in v5.16.0

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

func (GetTxtRecordRecordArgs) ElementType added in v5.16.0

func (GetTxtRecordRecordArgs) ElementType() reflect.Type

func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput added in v5.16.0

func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput

func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext added in v5.16.0

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

type GetTxtRecordRecordArray added in v5.16.0

type GetTxtRecordRecordArray []GetTxtRecordRecordInput

func (GetTxtRecordRecordArray) ElementType added in v5.16.0

func (GetTxtRecordRecordArray) ElementType() reflect.Type

func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput added in v5.16.0

func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput

func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetTxtRecordRecordArrayInput added in v5.16.0

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 added in v5.16.0

type GetTxtRecordRecordArrayOutput struct{ *pulumi.OutputState }

func (GetTxtRecordRecordArrayOutput) ElementType added in v5.16.0

func (GetTxtRecordRecordArrayOutput) Index added in v5.16.0

func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput added in v5.16.0

func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput

func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext added in v5.16.0

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

type GetTxtRecordRecordInput added in v5.16.0

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 added in v5.16.0

type GetTxtRecordRecordOutput struct{ *pulumi.OutputState }

func (GetTxtRecordRecordOutput) ElementType added in v5.16.0

func (GetTxtRecordRecordOutput) ElementType() reflect.Type

func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput added in v5.16.0

func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput

func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext added in v5.16.0

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

func (GetTxtRecordRecordOutput) Value added in v5.16.0

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/).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lb"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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-network"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.5.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.5.1.0/24"),
			},
			EnforcePrivateLinkServiceNetworkPolicies: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
			Name:              pulumi.String("example-api"),
			Sku:               pulumi.String("Standard"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			AllocationMethod:  pulumi.String("Static"),
		})
		if err != nil {
			return err
		}
		exampleLoadBalancer, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			Name:              pulumi.String("example-lb"),
			Sku:               pulumi.String("Standard"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			FrontendIpConfigurations: lb.LoadBalancerFrontendIpConfigurationArray{
				&lb.LoadBalancerFrontendIpConfigurationArgs{
					Name:              examplePublicIp.Name,
					PublicIpAddressId: examplePublicIp.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewLinkService(ctx, "example", &privatedns.LinkServiceArgs{
			Name:              pulumi.String("example-privatelink"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AutoApprovalSubscriptionIds: pulumi.StringArray{
				pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			VisibilitySubscriptionIds: pulumi.StringArray{
				pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			LoadBalancerFrontendIpConfigurationIds: pulumi.StringArray{
				exampleLoadBalancer.FrontendIpConfigurations.ApplyT(func(frontendIpConfigurations []lb.LoadBalancerFrontendIpConfiguration) (*string, error) {
					return &frontendIpConfigurations[0].Id, nil
				}).(pulumi.StringPtrOutput),
			},
			NatIpConfigurations: privatedns.LinkServiceNatIpConfigurationArray{
				&privatedns.LinkServiceNatIpConfigurationArgs{
					Name:                    pulumi.String("primary"),
					PrivateIpAddress:        pulumi.String("10.5.1.17"),
					PrivateIpAddressVersion: pulumi.String("IPv4"),
					SubnetId:                exampleSubnet.ID(),
					Primary:                 pulumi.Bool(true),
				},
				&privatedns.LinkServiceNatIpConfigurationArgs{
					Name:                    pulumi.String("secondary"),
					PrivateIpAddress:        pulumi.String("10.5.1.18"),
					PrivateIpAddressVersion: pulumi.String("IPv4"),
					SubnetId:                exampleSubnet.ID(),
					Primary:                 pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

func (o LinkServiceOutput) EnableProxyProtocol() pulumi.BoolPtrOutput

Should the Private Link Service support the Proxy Protocol?

func (LinkServiceOutput) Fqdns added in v5.12.0

List of FQDNs allowed for the Private Link Service.

func (LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (LinkServiceOutput) NatIpConfigurations added in v5.5.0

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

func (LinkServiceOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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 added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (LookupAAAARecordOutputArgs) ElementType() reflect.Type

type LookupAAAARecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupAAAARecordResultOutput added in v5.16.0

type LookupAAAARecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAAAARecord.

func LookupAAAARecordOutput added in v5.16.0

func (LookupAAAARecordResultOutput) ElementType added in v5.16.0

func (LookupAAAARecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS AAAA Record.

func (LookupAAAARecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (LookupAAAARecordResultOutput) Name added in v5.16.0

func (LookupAAAARecordResultOutput) Records added in v5.16.0

List of IPv6 Addresses.

func (LookupAAAARecordResultOutput) ResourceGroupName added in v5.16.0

func (o LookupAAAARecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAAAARecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput added in v5.16.0

func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput() LookupAAAARecordResultOutput

func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext added in v5.16.0

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

func (LookupAAAARecordResultOutput) Ttl added in v5.16.0

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

func (LookupAAAARecordResultOutput) ZoneName added in v5.16.0

type LookupARecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (LookupARecordOutputArgs) ElementType() reflect.Type

type LookupARecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupARecordResultOutput added in v5.16.0

type LookupARecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getARecord.

func LookupARecordOutput added in v5.16.0

func LookupARecordOutput(ctx *pulumi.Context, args LookupARecordOutputArgs, opts ...pulumi.InvokeOption) LookupARecordResultOutput

func (LookupARecordResultOutput) ElementType added in v5.16.0

func (LookupARecordResultOutput) ElementType() reflect.Type

func (LookupARecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS A Record.

func (LookupARecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (LookupARecordResultOutput) Name added in v5.16.0

func (LookupARecordResultOutput) Records added in v5.16.0

List of IPv4 Addresses.

func (LookupARecordResultOutput) ResourceGroupName added in v5.16.0

func (o LookupARecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupARecordResultOutput) Tags added in v5.16.0

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

func (LookupARecordResultOutput) ToLookupARecordResultOutput added in v5.16.0

func (o LookupARecordResultOutput) ToLookupARecordResultOutput() LookupARecordResultOutput

func (LookupARecordResultOutput) ToLookupARecordResultOutputWithContext added in v5.16.0

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

func (LookupARecordResultOutput) Ttl added in v5.16.0

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

func (LookupARecordResultOutput) ZoneName added in v5.16.0

type LookupCnameRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

type LookupCnameRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupCnameRecordResultOutput added in v5.16.0

type LookupCnameRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCnameRecord.

func LookupCnameRecordOutput added in v5.16.0

func (LookupCnameRecordResultOutput) ElementType added in v5.16.0

func (LookupCnameRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS CName Record.

func (LookupCnameRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (LookupCnameRecordResultOutput) Name added in v5.16.0

func (LookupCnameRecordResultOutput) Record added in v5.16.0

The target of the CNAME.

func (LookupCnameRecordResultOutput) ResourceGroupName added in v5.16.0

func (o LookupCnameRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupCnameRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (LookupCnameRecordResultOutput) TargetResourceId added in v5.16.0

func (o LookupCnameRecordResultOutput) TargetResourceId() pulumi.StringOutput

func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput added in v5.16.0

func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput() LookupCnameRecordResultOutput

func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext added in v5.16.0

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

func (LookupCnameRecordResultOutput) Ttl added in v5.16.0

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

func (LookupCnameRecordResultOutput) ZoneName added in v5.16.0

type LookupMxRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (LookupMxRecordOutputArgs) ElementType() reflect.Type

type LookupMxRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupMxRecordResultOutput added in v5.16.0

type LookupMxRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMxRecord.

func LookupMxRecordOutput added in v5.16.0

func LookupMxRecordOutput(ctx *pulumi.Context, args LookupMxRecordOutputArgs, opts ...pulumi.InvokeOption) LookupMxRecordResultOutput

func (LookupMxRecordResultOutput) ElementType added in v5.16.0

func (LookupMxRecordResultOutput) ElementType() reflect.Type

func (LookupMxRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS MX Record.

func (LookupMxRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (LookupMxRecordResultOutput) Name added in v5.16.0

func (LookupMxRecordResultOutput) Records added in v5.16.0

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

func (LookupMxRecordResultOutput) ResourceGroupName added in v5.16.0

func (o LookupMxRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupMxRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutput added in v5.16.0

func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutput() LookupMxRecordResultOutput

func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext added in v5.16.0

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

func (LookupMxRecordResultOutput) Ttl added in v5.16.0

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

func (LookupMxRecordResultOutput) ZoneName added in v5.16.0

type LookupResolverArgs added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

type LookupResolverDnsForwardingRulesetResult added in v5.31.0

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 added in v5.31.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverDnsForwardingRulesetResultOutput added in v5.31.0

type LookupResolverDnsForwardingRulesetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverDnsForwardingRuleset.

func (LookupResolverDnsForwardingRulesetResultOutput) ElementType added in v5.31.0

func (LookupResolverDnsForwardingRulesetResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverDnsForwardingRulesetResultOutput) Location added in v5.31.0

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

func (LookupResolverDnsForwardingRulesetResultOutput) Name added in v5.31.0

func (LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds added in v5.31.0

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 added in v5.31.0

func (LookupResolverDnsForwardingRulesetResultOutput) Tags added in v5.31.0

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

func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput added in v5.31.0

func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput() LookupResolverDnsForwardingRulesetResultOutput

func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext added in v5.31.0

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

type LookupResolverForwardingRuleArgs added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

type LookupResolverForwardingRuleResult added in v5.31.0

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 added in v5.31.0

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

Gets information about an existing Private DNS Resolver Forwarding Rule.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverForwardingRuleResultOutput added in v5.31.0

type LookupResolverForwardingRuleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverForwardingRule.

func (LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId added in v5.31.0

func (LookupResolverForwardingRuleResultOutput) DomainName added in v5.31.0

The domain name for the Private DNS Resolver Forwarding Rule.

func (LookupResolverForwardingRuleResultOutput) ElementType added in v5.31.0

func (LookupResolverForwardingRuleResultOutput) Enabled added in v5.31.0

Is the Private DNS Resolver Forwarding Rule enabled?

func (LookupResolverForwardingRuleResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverForwardingRuleResultOutput) Metadata added in v5.31.0

The metadata attached to the Private DNS Resolver Forwarding Rule.

func (LookupResolverForwardingRuleResultOutput) Name added in v5.31.0

func (LookupResolverForwardingRuleResultOutput) TargetDnsServers added in v5.31.0

A list of `targetDnsServers` block as defined below.

func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput added in v5.31.0

func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput() LookupResolverForwardingRuleResultOutput

func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext added in v5.31.0

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

type LookupResolverInboundEndpointArgs added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

type LookupResolverInboundEndpointResult added in v5.31.0

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 added in v5.31.0

Gets information about an existing Private DNS Resolver Inbound Endpoint.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverInboundEndpointResultOutput added in v5.31.0

type LookupResolverInboundEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverInboundEndpoint.

func (LookupResolverInboundEndpointResultOutput) ElementType added in v5.31.0

func (LookupResolverInboundEndpointResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverInboundEndpointResultOutput) IpConfigurations added in v5.31.0

A list of `ipConfigurations` block as defined below.

func (LookupResolverInboundEndpointResultOutput) Location added in v5.31.0

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

func (LookupResolverInboundEndpointResultOutput) Name added in v5.31.0

func (LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId added in v5.31.0

func (LookupResolverInboundEndpointResultOutput) Tags added in v5.31.0

The tags assigned to the Private DNS Resolver Inbound Endpoint.

func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput added in v5.31.0

func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput() LookupResolverInboundEndpointResultOutput

func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext added in v5.31.0

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

type LookupResolverOutboundEndpointArgs added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

type LookupResolverOutboundEndpointResult added in v5.31.0

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 added in v5.31.0

Gets information about an existing Private DNS Resolver Outbound Endpoint.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverOutboundEndpointResultOutput added in v5.31.0

type LookupResolverOutboundEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverOutboundEndpoint.

func (LookupResolverOutboundEndpointResultOutput) ElementType added in v5.31.0

func (LookupResolverOutboundEndpointResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverOutboundEndpointResultOutput) Location added in v5.31.0

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

func (LookupResolverOutboundEndpointResultOutput) Name added in v5.31.0

func (LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId added in v5.31.0

func (LookupResolverOutboundEndpointResultOutput) SubnetId added in v5.31.0

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

func (LookupResolverOutboundEndpointResultOutput) Tags added in v5.31.0

The tags assigned to the Private DNS Resolver Outbound Endpoint.

func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput added in v5.31.0

func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput() LookupResolverOutboundEndpointResultOutput

func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext added in v5.31.0

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

type LookupResolverOutputArgs added in v5.31.0

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 added in v5.31.0

func (LookupResolverOutputArgs) ElementType() reflect.Type

type LookupResolverResult added in v5.31.0

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 added in v5.31.0

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

Gets information about an existing Private DNS Resolver.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverResultOutput added in v5.31.0

type LookupResolverResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolver.

func LookupResolverOutput added in v5.31.0

func LookupResolverOutput(ctx *pulumi.Context, args LookupResolverOutputArgs, opts ...pulumi.InvokeOption) LookupResolverResultOutput

func (LookupResolverResultOutput) ElementType added in v5.31.0

func (LookupResolverResultOutput) ElementType() reflect.Type

func (LookupResolverResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverResultOutput) Location added in v5.31.0

The Azure Region where the Private DNS Resolver exists.

func (LookupResolverResultOutput) Name added in v5.31.0

func (LookupResolverResultOutput) ResourceGroupName added in v5.31.0

func (o LookupResolverResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupResolverResultOutput) Tags added in v5.31.0

The tags assigned to the Private DNS Resolver.

func (LookupResolverResultOutput) ToLookupResolverResultOutput added in v5.31.0

func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput

func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext added in v5.31.0

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

func (LookupResolverResultOutput) VirtualNetworkId added in v5.31.0

func (o LookupResolverResultOutput) VirtualNetworkId() pulumi.StringOutput

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

type LookupResolverVirtualNetworkLinkArgs added in v5.31.0

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 added in v5.31.0

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 added in v5.31.0

type LookupResolverVirtualNetworkLinkResult added in v5.31.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResolverVirtualNetworkLinkResultOutput added in v5.31.0

type LookupResolverVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverVirtualNetworkLink.

func (LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId added in v5.31.0

func (LookupResolverVirtualNetworkLinkResultOutput) ElementType added in v5.31.0

func (LookupResolverVirtualNetworkLinkResultOutput) Id added in v5.31.0

The provider-assigned unique ID for this managed resource.

func (LookupResolverVirtualNetworkLinkResultOutput) Metadata added in v5.31.0

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

func (LookupResolverVirtualNetworkLinkResultOutput) Name added in v5.31.0

func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput added in v5.31.0

func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput() LookupResolverVirtualNetworkLinkResultOutput

func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext added in v5.31.0

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

func (LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId added in v5.31.0

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

type LookupTxtRecordArgs added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (LookupTxtRecordOutputArgs) ElementType() reflect.Type

type LookupTxtRecordResult added in v5.16.0

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 added in v5.16.0

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTxtRecordResultOutput added in v5.16.0

type LookupTxtRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTxtRecord.

func LookupTxtRecordOutput added in v5.16.0

func (LookupTxtRecordResultOutput) ElementType added in v5.16.0

func (LookupTxtRecordResultOutput) Fqdn added in v5.16.0

The FQDN of the Private DNS TXT Record.

func (LookupTxtRecordResultOutput) Id added in v5.16.0

The provider-assigned unique ID for this managed resource.

func (LookupTxtRecordResultOutput) Name added in v5.16.0

func (LookupTxtRecordResultOutput) Records added in v5.16.0

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

func (LookupTxtRecordResultOutput) ResourceGroupName added in v5.16.0

func (o LookupTxtRecordResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupTxtRecordResultOutput) Tags added in v5.16.0

A mapping of tags assigned to the resource.

func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput added in v5.16.0

func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput() LookupTxtRecordResultOutput

func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext added in v5.16.0

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

func (LookupTxtRecordResultOutput) Ttl added in v5.16.0

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

func (LookupTxtRecordResultOutput) ZoneName added in v5.16.0

type LookupZoneVirtualNetworkLinkArgs added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

type LookupZoneVirtualNetworkLinkResult added in v5.21.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupZoneVirtualNetworkLinkResultOutput added in v5.21.0

type LookupZoneVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZoneVirtualNetworkLink.

func (LookupZoneVirtualNetworkLinkResultOutput) ElementType added in v5.21.0

func (LookupZoneVirtualNetworkLinkResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (LookupZoneVirtualNetworkLinkResultOutput) Name added in v5.21.0

func (LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName added in v5.21.0

func (LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled added in v5.21.0

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

func (LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName added in v5.21.0

func (LookupZoneVirtualNetworkLinkResultOutput) Tags added in v5.21.0

A mapping of tags to assign to the resource.

func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput added in v5.21.0

func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput() LookupZoneVirtualNetworkLinkResultOutput

func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext added in v5.21.0

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

func (LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId added in v5.21.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS MX Record.

func (MxRecordOutput) Name added in v5.5.0

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 added in v5.5.0

One or more `record` blocks as defined below.

func (MxRecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (MxRecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS PTR Record.

func (PTRRecordOutput) Name added in v5.5.0

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

func (PTRRecordOutput) Records added in v5.5.0

List of Fully Qualified Domain Names.

func (PTRRecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (PTRRecordOutput) ZoneName added in v5.5.0

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 added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (*Resolver) ElementType() reflect.Type

func (*Resolver) ToResolverOutput added in v5.24.0

func (i *Resolver) ToResolverOutput() ResolverOutput

func (*Resolver) ToResolverOutputWithContext added in v5.24.0

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

type ResolverArgs added in v5.24.0

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 added in v5.24.0

func (ResolverArgs) ElementType() reflect.Type

type ResolverArray added in v5.24.0

type ResolverArray []ResolverInput

func (ResolverArray) ElementType added in v5.24.0

func (ResolverArray) ElementType() reflect.Type

func (ResolverArray) ToResolverArrayOutput added in v5.24.0

func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArray) ToResolverArrayOutputWithContext added in v5.24.0

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

type ResolverArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverArrayOutput struct{ *pulumi.OutputState }

func (ResolverArrayOutput) ElementType added in v5.24.0

func (ResolverArrayOutput) ElementType() reflect.Type

func (ResolverArrayOutput) Index added in v5.24.0

func (ResolverArrayOutput) ToResolverArrayOutput added in v5.24.0

func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArrayOutput) ToResolverArrayOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRuleset added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (*ResolverDnsForwardingRuleset) ElementType() reflect.Type

func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput added in v5.24.0

func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput

func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetArgs added in v5.24.0

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 added in v5.24.0

type ResolverDnsForwardingRulesetArray added in v5.24.0

type ResolverDnsForwardingRulesetArray []ResolverDnsForwardingRulesetInput

func (ResolverDnsForwardingRulesetArray) ElementType added in v5.24.0

func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput added in v5.24.0

func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput

func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverDnsForwardingRulesetArrayOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetArrayOutput) ElementType added in v5.24.0

func (ResolverDnsForwardingRulesetArrayOutput) Index added in v5.24.0

func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput added in v5.24.0

func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput

func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetInput added in v5.24.0

type ResolverDnsForwardingRulesetInput interface {
	pulumi.Input

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

type ResolverDnsForwardingRulesetMap added in v5.24.0

type ResolverDnsForwardingRulesetMap map[string]ResolverDnsForwardingRulesetInput

func (ResolverDnsForwardingRulesetMap) ElementType added in v5.24.0

func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput added in v5.24.0

func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput

func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetMapInput added in v5.24.0

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 added in v5.24.0

type ResolverDnsForwardingRulesetMapOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetMapOutput) ElementType added in v5.24.0

func (ResolverDnsForwardingRulesetMapOutput) MapIndex added in v5.24.0

func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput added in v5.24.0

func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput

func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetOutput added in v5.24.0

type ResolverDnsForwardingRulesetOutput struct{ *pulumi.OutputState }

func (ResolverDnsForwardingRulesetOutput) ElementType added in v5.24.0

func (ResolverDnsForwardingRulesetOutput) Location added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput added in v5.24.0

func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput

func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext added in v5.24.0

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

type ResolverDnsForwardingRulesetState added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRule added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (*ResolverForwardingRule) ElementType() reflect.Type

func (*ResolverForwardingRule) ToResolverForwardingRuleOutput added in v5.24.0

func (i *ResolverForwardingRule) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput

func (*ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleArgs added in v5.24.0

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 added in v5.24.0

func (ResolverForwardingRuleArgs) ElementType() reflect.Type

type ResolverForwardingRuleArray added in v5.24.0

type ResolverForwardingRuleArray []ResolverForwardingRuleInput

func (ResolverForwardingRuleArray) ElementType added in v5.24.0

func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput added in v5.24.0

func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput

func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleArrayOutput) ElementType added in v5.24.0

func (ResolverForwardingRuleArrayOutput) Index added in v5.24.0

func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput added in v5.24.0

func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput

func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleInput added in v5.24.0

type ResolverForwardingRuleInput interface {
	pulumi.Input

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

type ResolverForwardingRuleMap added in v5.24.0

type ResolverForwardingRuleMap map[string]ResolverForwardingRuleInput

func (ResolverForwardingRuleMap) ElementType added in v5.24.0

func (ResolverForwardingRuleMap) ElementType() reflect.Type

func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput added in v5.24.0

func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput

func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleMapInput added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRuleMapOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleMapOutput) ElementType added in v5.24.0

func (ResolverForwardingRuleMapOutput) MapIndex added in v5.24.0

func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput added in v5.24.0

func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput

func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleOutput added in v5.24.0

type ResolverForwardingRuleOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleOutput) DnsForwardingRulesetId added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (ResolverForwardingRuleOutput) Enabled added in v5.24.0

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

func (ResolverForwardingRuleOutput) Metadata added in v5.24.0

Metadata attached to the Private DNS Resolver Forwarding Rule.

func (ResolverForwardingRuleOutput) Name added in v5.24.0

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 added in v5.24.0

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

func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput added in v5.24.0

func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput

func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleState added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRuleTargetDnsServer added in v5.24.0

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

type ResolverForwardingRuleTargetDnsServerArgs added in v5.24.0

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

func (ResolverForwardingRuleTargetDnsServerArgs) ElementType added in v5.24.0

func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput added in v5.24.0

func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput

func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleTargetDnsServerArray added in v5.24.0

type ResolverForwardingRuleTargetDnsServerArray []ResolverForwardingRuleTargetDnsServerInput

func (ResolverForwardingRuleTargetDnsServerArray) ElementType added in v5.24.0

func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput added in v5.24.0

func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput

func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleTargetDnsServerArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType added in v5.24.0

func (ResolverForwardingRuleTargetDnsServerArrayOutput) Index added in v5.24.0

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput added in v5.24.0

func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput

func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext added in v5.24.0

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

type ResolverForwardingRuleTargetDnsServerInput added in v5.24.0

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 added in v5.24.0

type ResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }

func (ResolverForwardingRuleTargetDnsServerOutput) ElementType added in v5.24.0

func (ResolverForwardingRuleTargetDnsServerOutput) IpAddress added in v5.24.0

DNS server IP address.

func (ResolverForwardingRuleTargetDnsServerOutput) Port added in v5.24.0

DNS server port.

func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput added in v5.24.0

func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput

func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext added in v5.24.0

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

type ResolverInboundEndpoint added in v5.24.0

type ResolverInboundEndpoint struct {
	pulumi.CustomResourceState

	// Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below.
	IpConfigurations ResolverInboundEndpointIpConfigurationArrayOutput `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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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.ResolverInboundEndpointIpConfigurationArray{
				&privatedns.ResolverInboundEndpointIpConfigurationArgs{
					PrivateIpAllocationMethod: pulumi.String("Dynamic"),
					SubnetId:                  exampleSubnet.ID(),
				},
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (*ResolverInboundEndpoint) ElementType() reflect.Type

func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutput added in v5.24.0

func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput

func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointArgs added in v5.24.0

type ResolverInboundEndpointArgs struct {
	// Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below.
	IpConfigurations ResolverInboundEndpointIpConfigurationArrayInput
	// 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 added in v5.24.0

type ResolverInboundEndpointArray added in v5.24.0

type ResolverInboundEndpointArray []ResolverInboundEndpointInput

func (ResolverInboundEndpointArray) ElementType added in v5.24.0

func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput added in v5.24.0

func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput

func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverInboundEndpointArrayOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointArrayOutput) ElementType added in v5.24.0

func (ResolverInboundEndpointArrayOutput) Index added in v5.24.0

func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput added in v5.24.0

func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput

func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointInput added in v5.24.0

type ResolverInboundEndpointInput interface {
	pulumi.Input

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

type ResolverInboundEndpointIpConfiguration added in v5.24.0

type ResolverInboundEndpointIpConfiguration 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 ResolverInboundEndpointIpConfigurationArgs added in v5.24.0

type ResolverInboundEndpointIpConfigurationArgs 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 (ResolverInboundEndpointIpConfigurationArgs) ElementType added in v5.24.0

func (ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutput added in v5.24.0

func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput

func (ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutputWithContext added in v5.24.0

func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput

type ResolverInboundEndpointIpConfigurationArray added in v5.24.0

type ResolverInboundEndpointIpConfigurationArray []ResolverInboundEndpointIpConfigurationInput

func (ResolverInboundEndpointIpConfigurationArray) ElementType added in v5.24.0

func (ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutput added in v5.24.0

func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput

func (ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext added in v5.24.0

func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput

type ResolverInboundEndpointIpConfigurationArrayInput added in v5.24.0

type ResolverInboundEndpointIpConfigurationArrayInput interface {
	pulumi.Input

	ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput
	ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationArrayOutput
}

ResolverInboundEndpointIpConfigurationArrayInput is an input type that accepts ResolverInboundEndpointIpConfigurationArray and ResolverInboundEndpointIpConfigurationArrayOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationArrayInput` via:

ResolverInboundEndpointIpConfigurationArray{ ResolverInboundEndpointIpConfigurationArgs{...} }

type ResolverInboundEndpointIpConfigurationArrayOutput added in v5.24.0

type ResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointIpConfigurationArrayOutput) ElementType added in v5.24.0

func (ResolverInboundEndpointIpConfigurationArrayOutput) Index added in v5.24.0

func (ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutput added in v5.24.0

func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput

func (ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext added in v5.24.0

func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput

type ResolverInboundEndpointIpConfigurationInput added in v5.24.0

type ResolverInboundEndpointIpConfigurationInput interface {
	pulumi.Input

	ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput
	ToResolverInboundEndpointIpConfigurationOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationOutput
}

ResolverInboundEndpointIpConfigurationInput is an input type that accepts ResolverInboundEndpointIpConfigurationArgs and ResolverInboundEndpointIpConfigurationOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationInput` via:

ResolverInboundEndpointIpConfigurationArgs{...}

type ResolverInboundEndpointIpConfigurationOutput added in v5.24.0

type ResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointIpConfigurationOutput) ElementType added in v5.24.0

func (ResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress added in v5.24.0

Private IP address of the IP configuration.

func (ResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod added in v5.24.0

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

func (ResolverInboundEndpointIpConfigurationOutput) SubnetId added in v5.24.0

The subnet ID of the IP configuration.

func (ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutput added in v5.24.0

func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput

func (ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutputWithContext added in v5.24.0

func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput

type ResolverInboundEndpointMap added in v5.24.0

type ResolverInboundEndpointMap map[string]ResolverInboundEndpointInput

func (ResolverInboundEndpointMap) ElementType added in v5.24.0

func (ResolverInboundEndpointMap) ElementType() reflect.Type

func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput added in v5.24.0

func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput

func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointMapInput added in v5.24.0

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 added in v5.24.0

type ResolverInboundEndpointMapOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointMapOutput) ElementType added in v5.24.0

func (ResolverInboundEndpointMapOutput) MapIndex added in v5.24.0

func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput added in v5.24.0

func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput

func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointOutput added in v5.24.0

type ResolverInboundEndpointOutput struct{ *pulumi.OutputState }

func (ResolverInboundEndpointOutput) ElementType added in v5.24.0

func (ResolverInboundEndpointOutput) IpConfigurations added in v5.24.0

Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below.

func (ResolverInboundEndpointOutput) Location added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput added in v5.24.0

func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput

func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext added in v5.24.0

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

type ResolverInboundEndpointState added in v5.24.0

type ResolverInboundEndpointState struct {
	// Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below.
	IpConfigurations ResolverInboundEndpointIpConfigurationArrayInput
	// 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 added in v5.24.0

type ResolverInput added in v5.24.0

type ResolverInput interface {
	pulumi.Input

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

type ResolverMap added in v5.24.0

type ResolverMap map[string]ResolverInput

func (ResolverMap) ElementType added in v5.24.0

func (ResolverMap) ElementType() reflect.Type

func (ResolverMap) ToResolverMapOutput added in v5.24.0

func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput

func (ResolverMap) ToResolverMapOutputWithContext added in v5.24.0

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

type ResolverMapInput added in v5.24.0

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 added in v5.24.0

type ResolverMapOutput struct{ *pulumi.OutputState }

func (ResolverMapOutput) ElementType added in v5.24.0

func (ResolverMapOutput) ElementType() reflect.Type

func (ResolverMapOutput) MapIndex added in v5.24.0

func (ResolverMapOutput) ToResolverMapOutput added in v5.24.0

func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput

func (ResolverMapOutput) ToResolverMapOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpoint added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

func (*ResolverOutboundEndpoint) ElementType() reflect.Type

func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput added in v5.24.0

func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput

func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointArgs added in v5.24.0

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 added in v5.24.0

type ResolverOutboundEndpointArray added in v5.24.0

type ResolverOutboundEndpointArray []ResolverOutboundEndpointInput

func (ResolverOutboundEndpointArray) ElementType added in v5.24.0

func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput added in v5.24.0

func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput

func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverOutboundEndpointArrayOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointArrayOutput) ElementType added in v5.24.0

func (ResolverOutboundEndpointArrayOutput) Index added in v5.24.0

func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput added in v5.24.0

func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput

func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointInput added in v5.24.0

type ResolverOutboundEndpointInput interface {
	pulumi.Input

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

type ResolverOutboundEndpointMap added in v5.24.0

type ResolverOutboundEndpointMap map[string]ResolverOutboundEndpointInput

func (ResolverOutboundEndpointMap) ElementType added in v5.24.0

func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput added in v5.24.0

func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput

func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointMapInput added in v5.24.0

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 added in v5.24.0

type ResolverOutboundEndpointMapOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointMapOutput) ElementType added in v5.24.0

func (ResolverOutboundEndpointMapOutput) MapIndex added in v5.24.0

func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput added in v5.24.0

func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput

func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointOutput added in v5.24.0

type ResolverOutboundEndpointOutput struct{ *pulumi.OutputState }

func (ResolverOutboundEndpointOutput) ElementType added in v5.24.0

func (ResolverOutboundEndpointOutput) Location added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput added in v5.24.0

func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput

func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext added in v5.24.0

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

type ResolverOutboundEndpointState added in v5.24.0

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 added in v5.24.0

type ResolverOutput added in v5.24.0

type ResolverOutput struct{ *pulumi.OutputState }

func (ResolverOutput) ElementType added in v5.24.0

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) Location added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

func (ResolverOutput) ToResolverOutput added in v5.24.0

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext added in v5.24.0

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

func (ResolverOutput) VirtualNetworkId added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.24.0

func (*ResolverVirtualNetworkLink) ElementType() reflect.Type

func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput added in v5.24.0

func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput

func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext added in v5.24.0

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

type ResolverVirtualNetworkLinkArgs added in v5.24.0

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 added in v5.24.0

type ResolverVirtualNetworkLinkArray added in v5.24.0

type ResolverVirtualNetworkLinkArray []ResolverVirtualNetworkLinkInput

func (ResolverVirtualNetworkLinkArray) ElementType added in v5.24.0

func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput added in v5.24.0

func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput

func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext added in v5.24.0

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

type ResolverVirtualNetworkLinkArrayInput added in v5.24.0

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 added in v5.24.0

type ResolverVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkArrayOutput) ElementType added in v5.24.0

func (ResolverVirtualNetworkLinkArrayOutput) Index added in v5.24.0

func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput added in v5.24.0

func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput

func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext added in v5.24.0

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

type ResolverVirtualNetworkLinkInput added in v5.24.0

type ResolverVirtualNetworkLinkInput interface {
	pulumi.Input

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

type ResolverVirtualNetworkLinkMap added in v5.24.0

type ResolverVirtualNetworkLinkMap map[string]ResolverVirtualNetworkLinkInput

func (ResolverVirtualNetworkLinkMap) ElementType added in v5.24.0

func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput added in v5.24.0

func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput

func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext added in v5.24.0

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

type ResolverVirtualNetworkLinkMapInput added in v5.24.0

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 added in v5.24.0

type ResolverVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkMapOutput) ElementType added in v5.24.0

func (ResolverVirtualNetworkLinkMapOutput) MapIndex added in v5.24.0

func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput added in v5.24.0

func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput

func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext added in v5.24.0

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

type ResolverVirtualNetworkLinkOutput added in v5.24.0

type ResolverVirtualNetworkLinkOutput struct{ *pulumi.OutputState }

func (ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId added in v5.24.0

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 added in v5.24.0

func (ResolverVirtualNetworkLinkOutput) Metadata added in v5.24.0

Metadata attached to the Private DNS Resolver Virtual Network Link.

func (ResolverVirtualNetworkLinkOutput) Name added in v5.24.0

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 added in v5.24.0

func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput

func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext added in v5.24.0

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

func (ResolverVirtualNetworkLinkOutput) VirtualNetworkId added in v5.24.0

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 added in v5.24.0

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 added in v5.24.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS SRV Record.

func (SRVRecordOutput) Name added in v5.5.0

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

func (SRVRecordOutput) Records added in v5.5.0

One or more `record` blocks as defined below.

func (SRVRecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (SRVRecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

The FQDN of the DNS TXT Record.

func (TxtRecordOutput) Name added in v5.5.0

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

func (TxtRecordOutput) Records added in v5.5.0

One or more `record` blocks as defined below.

func (TxtRecordOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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

func (TxtRecordOutput) ZoneName added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

func (o ZoneOutput) NumberOfRecordSets() pulumi.IntOutput

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

func (ZoneOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

func (o ZoneOutput) SoaRecord() ZoneSoaRecordOutput

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

func (ZoneOutput) Tags added in v5.5.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 added in v5.5.0

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

func (ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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