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

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

azure.privatedns.getResolverInboundEndpoint

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Gets information about an existing Private DNS Resolver Inbound Endpoint.

    Example Usage

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    variables:
      example:
        fn::invoke:
          Function: azure:privatedns:getResolverInboundEndpoint
          Arguments:
            name: example-drie
            privateDnsResolverId: example-private-dns-resolver-id
    

    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>
    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]
    func LookupResolverInboundEndpoint(ctx *Context, args *LookupResolverInboundEndpointArgs, opts ...InvokeOption) (*LookupResolverInboundEndpointResult, error)
    func LookupResolverInboundEndpointOutput(ctx *Context, args *LookupResolverInboundEndpointOutputArgs, opts ...InvokeOption) LookupResolverInboundEndpointResultOutput

    > 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)
    }
    public static CompletableFuture<GetResolverInboundEndpointResult> getResolverInboundEndpoint(GetResolverInboundEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:privatedns/getResolverInboundEndpoint:getResolverInboundEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the Private DNS Resolver Inbound Endpoint.
    PrivateDnsResolverId string
    ID of the Private DNS Resolver.
    Name string
    Name of the Private DNS Resolver Inbound Endpoint.
    PrivateDnsResolverId string
    ID of the Private DNS Resolver.
    name String
    Name of the Private DNS Resolver Inbound Endpoint.
    privateDnsResolverId String
    ID of the Private DNS Resolver.
    name string
    Name of the Private DNS Resolver Inbound Endpoint.
    privateDnsResolverId string
    ID of the Private DNS Resolver.
    name str
    Name of the Private DNS Resolver Inbound Endpoint.
    private_dns_resolver_id str
    ID of the Private DNS Resolver.
    name String
    Name of the Private DNS Resolver Inbound Endpoint.
    privateDnsResolverId 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 string
    The private IP address of the IP configuration.
    PrivateIpAllocationMethod string
    The private IP address allocation method.
    SubnetId string
    The subnet ID of the IP configuration.
    PrivateIpAddress string
    The private IP address of the IP configuration.
    PrivateIpAllocationMethod string
    The private IP address allocation method.
    SubnetId string
    The subnet ID of the IP configuration.
    privateIpAddress String
    The private IP address of the IP configuration.
    privateIpAllocationMethod String
    The private IP address allocation method.
    subnetId String
    The subnet ID of the IP configuration.
    privateIpAddress string
    The private IP address of the IP configuration.
    privateIpAllocationMethod string
    The private IP address allocation method.
    subnetId string
    The subnet ID of the IP configuration.
    private_ip_address str
    The private IP address of the IP configuration.
    private_ip_allocation_method str
    The private IP address allocation method.
    subnet_id str
    The subnet ID of the IP configuration.
    privateIpAddress String
    The private IP address of the IP configuration.
    privateIpAllocationMethod String
    The private IP address allocation method.
    subnetId 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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi