1. Packages
  2. Azure Classic
  3. API Docs
  4. privatedns
  5. getResolverInboundEndpoint

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.privatedns.getResolverInboundEndpoint

Explore with Pulumi AI

Gets information about an existing Private DNS Resolver Inbound Endpoint.

Example Usage

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

const example = azure.privatedns.getResolverInboundEndpoint({
    name: "example-drie",
    privateDnsResolverId: "example-private-dns-resolver-id",
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.privatedns.get_resolver_inbound_endpoint(name="example-drie",
    private_dns_resolver_id="example-private-dns-resolver-id")
Copy
package main

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

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

return await Deployment.RunAsync(() => 
{
    var example = Azure.PrivateDns.GetResolverInboundEndpoint.Invoke(new()
    {
        Name = "example-drie",
        PrivateDnsResolverId = "example-private-dns-resolver-id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.privatedns.PrivatednsFunctions;
import com.pulumi.azure.privatedns.inputs.GetResolverInboundEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = PrivatednsFunctions.getResolverInboundEndpoint(GetResolverInboundEndpointArgs.builder()
            .name("example-drie")
            .privateDnsResolverId("example-private-dns-resolver-id")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:privatedns:getResolverInboundEndpoint
      arguments:
        name: example-drie
        privateDnsResolverId: example-private-dns-resolver-id
Copy

Using getResolverInboundEndpoint

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResolverInboundEndpoint(args: GetResolverInboundEndpointArgs, opts?: InvokeOptions): Promise<GetResolverInboundEndpointResult>
function getResolverInboundEndpointOutput(args: GetResolverInboundEndpointOutputArgs, opts?: InvokeOptions): Output<GetResolverInboundEndpointResult>
Copy
def get_resolver_inbound_endpoint(name: Optional[str] = None,
                                  private_dns_resolver_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetResolverInboundEndpointResult
def get_resolver_inbound_endpoint_output(name: Optional[pulumi.Input[str]] = None,
                                  private_dns_resolver_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetResolverInboundEndpointResult]
Copy
func LookupResolverInboundEndpoint(ctx *Context, args *LookupResolverInboundEndpointArgs, opts ...InvokeOption) (*LookupResolverInboundEndpointResult, error)
func LookupResolverInboundEndpointOutput(ctx *Context, args *LookupResolverInboundEndpointOutputArgs, opts ...InvokeOption) LookupResolverInboundEndpointResultOutput
Copy

> Note: This function is named LookupResolverInboundEndpoint in the Go SDK.

public static class GetResolverInboundEndpoint 
{
    public static Task<GetResolverInboundEndpointResult> InvokeAsync(GetResolverInboundEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetResolverInboundEndpointResult> Invoke(GetResolverInboundEndpointInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetResolverInboundEndpointResult> getResolverInboundEndpoint(GetResolverInboundEndpointArgs args, InvokeOptions options)
public static Output<GetResolverInboundEndpointResult> getResolverInboundEndpoint(GetResolverInboundEndpointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:privatedns/getResolverInboundEndpoint:getResolverInboundEndpoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name of the Private DNS Resolver Inbound Endpoint.
PrivateDnsResolverId This property is required. string
ID of the Private DNS Resolver.
Name This property is required. string
Name of the Private DNS Resolver Inbound Endpoint.
PrivateDnsResolverId This property is required. string
ID of the Private DNS Resolver.
name This property is required. String
Name of the Private DNS Resolver Inbound Endpoint.
privateDnsResolverId This property is required. String
ID of the Private DNS Resolver.
name This property is required. string
Name of the Private DNS Resolver Inbound Endpoint.
privateDnsResolverId This property is required. string
ID of the Private DNS Resolver.
name This property is required. str
Name of the Private DNS Resolver Inbound Endpoint.
private_dns_resolver_id This property is required. str
ID of the Private DNS Resolver.
name This property is required. String
Name of the Private DNS Resolver Inbound Endpoint.
privateDnsResolverId This property is required. String
ID of the Private DNS Resolver.

getResolverInboundEndpoint Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
IpConfigurations List<GetResolverInboundEndpointIpConfiguration>
A list of ip_configurations block as defined below.
Location string
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
Name string
PrivateDnsResolverId string
Tags Dictionary<string, string>
The tags assigned to the Private DNS Resolver Inbound Endpoint.
Id string
The provider-assigned unique ID for this managed resource.
IpConfigurations []GetResolverInboundEndpointIpConfiguration
A list of ip_configurations block as defined below.
Location string
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
Name string
PrivateDnsResolverId string
Tags map[string]string
The tags assigned to the Private DNS Resolver Inbound Endpoint.
id String
The provider-assigned unique ID for this managed resource.
ipConfigurations List<GetResolverInboundEndpointIpConfiguration>
A list of ip_configurations block as defined below.
location String
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
name String
privateDnsResolverId String
tags Map<String,String>
The tags assigned to the Private DNS Resolver Inbound Endpoint.
id string
The provider-assigned unique ID for this managed resource.
ipConfigurations GetResolverInboundEndpointIpConfiguration[]
A list of ip_configurations block as defined below.
location string
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
name string
privateDnsResolverId string
tags {[key: string]: string}
The tags assigned to the Private DNS Resolver Inbound Endpoint.
id str
The provider-assigned unique ID for this managed resource.
ip_configurations Sequence[GetResolverInboundEndpointIpConfiguration]
A list of ip_configurations block as defined below.
location str
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
name str
private_dns_resolver_id str
tags Mapping[str, str]
The tags assigned to the Private DNS Resolver Inbound Endpoint.
id String
The provider-assigned unique ID for this managed resource.
ipConfigurations List<Property Map>
A list of ip_configurations block as defined below.
location String
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
name String
privateDnsResolverId String
tags Map<String>
The tags assigned to the Private DNS Resolver Inbound Endpoint.

Supporting Types

GetResolverInboundEndpointIpConfiguration

PrivateIpAddress This property is required. string
The private IP address of the IP configuration.
PrivateIpAllocationMethod This property is required. string
The private IP address allocation method.
SubnetId This property is required. string
The subnet ID of the IP configuration.
PrivateIpAddress This property is required. string
The private IP address of the IP configuration.
PrivateIpAllocationMethod This property is required. string
The private IP address allocation method.
SubnetId This property is required. string
The subnet ID of the IP configuration.
privateIpAddress This property is required. String
The private IP address of the IP configuration.
privateIpAllocationMethod This property is required. String
The private IP address allocation method.
subnetId This property is required. String
The subnet ID of the IP configuration.
privateIpAddress This property is required. string
The private IP address of the IP configuration.
privateIpAllocationMethod This property is required. string
The private IP address allocation method.
subnetId This property is required. string
The subnet ID of the IP configuration.
private_ip_address This property is required. str
The private IP address of the IP configuration.
private_ip_allocation_method This property is required. str
The private IP address allocation method.
subnet_id This property is required. str
The subnet ID of the IP configuration.
privateIpAddress This property is required. String
The private IP address of the IP configuration.
privateIpAllocationMethod This property is required. String
The private IP address allocation method.
subnetId This property is required. String
The subnet ID of the IP configuration.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.