InboundEndpointArgs

data class InboundEndpointArgs(val dnsResolverName: Output<String>? = null, val inboundEndpointName: Output<String>? = null, val ipConfigurations: Output<List<InboundEndpointIPConfigurationArgs>>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<InboundEndpointArgs>

Describes an inbound endpoint for a DNS resolver. API Version: 2020-04-01-preview.

Example Usage

Upsert inbound endpoint for DNS resolver

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var inboundEndpoint = new AzureNative.Network.InboundEndpoint("inboundEndpoint", new()
{
DnsResolverName = "sampleDnsResolver",
InboundEndpointName = "sampleInboundEndpoint",
IpConfigurations = new[]
{
new AzureNative.Network.Inputs.InboundEndpointIPConfigurationArgs
{
PrivateIpAllocationMethod = "Dynamic",
Subnet = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet",
},
},
},
Location = "westus2",
ResourceGroupName = "sampleResourceGroup",
Tags =
{
{ "key1", "value1" },
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewInboundEndpoint(ctx, "inboundEndpoint", &network.InboundEndpointArgs{
DnsResolverName: pulumi.String("sampleDnsResolver"),
InboundEndpointName: pulumi.String("sampleInboundEndpoint"),
IpConfigurations: []network.InboundEndpointIPConfigurationArgs{
{
PrivateIpAllocationMethod: pulumi.String("Dynamic"),
Subnet: {
Id: pulumi.String("/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet"),
},
},
},
Location: pulumi.String("westus2"),
ResourceGroupName: pulumi.String("sampleResourceGroup"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
})
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.azurenative.network.InboundEndpoint;
import com.pulumi.azurenative.network.InboundEndpointArgs;
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) {
var inboundEndpoint = new InboundEndpoint("inboundEndpoint", InboundEndpointArgs.builder()
.dnsResolverName("sampleDnsResolver")
.inboundEndpointName("sampleInboundEndpoint")
.ipConfigurations(Map.ofEntries(
Map.entry("privateIpAllocationMethod", "Dynamic"),
Map.entry("subnet", Map.of("id", "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet"))
))
.location("westus2")
.resourceGroupName("sampleResourceGroup")
.tags(Map.of("key1", "value1"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:InboundEndpoint sampleInboundEndpoint /subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint

Constructors

Link copied to clipboard
constructor(dnsResolverName: Output<String>? = null, inboundEndpointName: Output<String>? = null, ipConfigurations: Output<List<InboundEndpointIPConfigurationArgs>>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val dnsResolverName: Output<String>? = null

The name of the DNS resolver.

Link copied to clipboard
val inboundEndpointName: Output<String>? = null

The name of the inbound endpoint for the DNS resolver.

Link copied to clipboard

IP configurations for the inbound endpoint.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): InboundEndpointArgs