We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 2024 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",
});
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")
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
})
}
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 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());
}
}
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.
- Private
Dns stringResolver Id - ID of the Private DNS Resolver.
- Name string
- Name of the Private DNS Resolver Inbound Endpoint.
- Private
Dns stringResolver Id - ID of the Private DNS Resolver.
- name String
- Name of the Private DNS Resolver Inbound Endpoint.
- private
Dns StringResolver Id - ID of the Private DNS Resolver.
- name string
- Name of the Private DNS Resolver Inbound Endpoint.
- private
Dns stringResolver Id - ID of the Private DNS Resolver.
- name str
- Name of the Private DNS Resolver Inbound Endpoint.
- private_
dns_ strresolver_ id - ID of the Private DNS Resolver.
- name String
- Name of the Private DNS Resolver Inbound Endpoint.
- private
Dns StringResolver Id - 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.
- Ip
Configurations List<GetResolver Inbound Endpoint Ip Configuration> - A list of
ip_configurations
block as defined below. - Location string
- The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
- Name string
- Private
Dns stringResolver Id - Dictionary<string, string>
- The tags assigned to the Private DNS Resolver Inbound Endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Configurations []GetResolver Inbound Endpoint Ip Configuration - A list of
ip_configurations
block as defined below. - Location string
- The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
- Name string
- Private
Dns stringResolver Id - map[string]string
- The tags assigned to the Private DNS Resolver Inbound Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Configurations List<GetResolver Inbound Endpoint Ip Configuration> - A list of
ip_configurations
block as defined below. - location String
- The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
- name String
- private
Dns StringResolver Id - Map<String,String>
- The tags assigned to the Private DNS Resolver Inbound Endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Configurations GetResolver Inbound Endpoint Ip Configuration[] - A list of
ip_configurations
block as defined below. - location string
- The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
- name string
- private
Dns stringResolver Id - {[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[GetResolver Inbound Endpoint Ip Configuration] - 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_ strresolver_ id - Mapping[str, str]
- The tags assigned to the Private DNS Resolver Inbound Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Configurations 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
- private
Dns StringResolver Id - Map<String>
- The tags assigned to the Private DNS Resolver Inbound Endpoint.
Supporting Types
GetResolverInboundEndpointIpConfiguration
- Private
Ip stringAddress - The private IP address of the IP configuration.
- Private
Ip stringAllocation Method - The private IP address allocation method.
- Subnet
Id string - The subnet ID of the IP configuration.
- Private
Ip stringAddress - The private IP address of the IP configuration.
- Private
Ip stringAllocation Method - The private IP address allocation method.
- Subnet
Id string - The subnet ID of the IP configuration.
- private
Ip StringAddress - The private IP address of the IP configuration.
- private
Ip StringAllocation Method - The private IP address allocation method.
- subnet
Id String - The subnet ID of the IP configuration.
- private
Ip stringAddress - The private IP address of the IP configuration.
- private
Ip stringAllocation Method - The private IP address allocation method.
- subnet
Id string - The subnet ID of the IP configuration.
- private_
ip_ straddress - The private IP address of the IP configuration.
- private_
ip_ strallocation_ method - The private IP address allocation method.
- subnet_
id str - The subnet ID of the IP configuration.
- private
Ip StringAddress - The private IP address of the IP configuration.
- private
Ip StringAllocation Method - The private IP address allocation method.
- subnet
Id 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.