Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.network.kotlin.PrivateEndpointArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin
import com.pulumi.azurenative.network.PrivateEndpointArgs.builder
import com.pulumi.azurenative.network.kotlin.inputs.ApplicationSecurityGroupArgs
import com.pulumi.azurenative.network.kotlin.inputs.ApplicationSecurityGroupArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.CustomDnsConfigPropertiesFormatArgs
import com.pulumi.azurenative.network.kotlin.inputs.CustomDnsConfigPropertiesFormatArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.ExtendedLocationArgs
import com.pulumi.azurenative.network.kotlin.inputs.ExtendedLocationArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.PrivateEndpointIPConfigurationArgs
import com.pulumi.azurenative.network.kotlin.inputs.PrivateEndpointIPConfigurationArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.PrivateLinkServiceConnectionArgs
import com.pulumi.azurenative.network.kotlin.inputs.PrivateLinkServiceConnectionArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.SubnetArgs
import com.pulumi.azurenative.network.kotlin.inputs.SubnetArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Private endpoint resource.
* Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
* Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01.
* ## Example Usage
* ### Create private endpoint
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var privateEndpoint = new AzureNative.Network.PrivateEndpoint("privateEndpoint", new()
* {
* CustomNetworkInterfaceName = "testPeNic",
* IpConfigurations = new[]
* {
* new AzureNative.Network.Inputs.PrivateEndpointIPConfigurationArgs
* {
* GroupId = "file",
* MemberName = "file",
* Name = "pestaticconfig",
* PrivateIPAddress = "192.168.0.6",
* },
* },
* Location = "eastus2euap",
* PrivateEndpointName = "testPe",
* PrivateLinkServiceConnections = new[]
* {
* new AzureNative.Network.Inputs.PrivateLinkServiceConnectionArgs
* {
* GroupIds = new[]
* {
* "groupIdFromResource",
* },
* PrivateLinkServiceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
* RequestMessage = "Please approve my connection.",
* },
* },
* ResourceGroupName = "rg1",
* Subnet = new AzureNative.Network.Inputs.SubnetArgs
* {
* Id = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
* },
* });
* });
* ```
* ```go
* package main
* import (
* network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := network.NewPrivateEndpoint(ctx, "privateEndpoint", &network.PrivateEndpointArgs{
* CustomNetworkInterfaceName: pulumi.String("testPeNic"),
* IpConfigurations: network.PrivateEndpointIPConfigurationArray{
* &network.PrivateEndpointIPConfigurationArgs{
* GroupId: pulumi.String("file"),
* MemberName: pulumi.String("file"),
* Name: pulumi.String("pestaticconfig"),
* PrivateIPAddress: pulumi.String("192.168.0.6"),
* },
* },
* Location: pulumi.String("eastus2euap"),
* PrivateEndpointName: pulumi.String("testPe"),
* PrivateLinkServiceConnections: network.PrivateLinkServiceConnectionArray{
* &network.PrivateLinkServiceConnectionArgs{
* GroupIds: pulumi.StringArray{
* pulumi.String("groupIdFromResource"),
* },
* PrivateLinkServiceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls"),
* RequestMessage: pulumi.String("Please approve my connection."),
* },
* },
* ResourceGroupName: pulumi.String("rg1"),
* Subnet: &network.SubnetTypeArgs{
* Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.PrivateEndpoint;
* import com.pulumi.azurenative.network.PrivateEndpointArgs;
* import com.pulumi.azurenative.network.inputs.PrivateEndpointIPConfigurationArgs;
* import com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* 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 privateEndpoint = new PrivateEndpoint("privateEndpoint", PrivateEndpointArgs.builder()
* .customNetworkInterfaceName("testPeNic")
* .ipConfigurations(PrivateEndpointIPConfigurationArgs.builder()
* .groupId("file")
* .memberName("file")
* .name("pestaticconfig")
* .privateIPAddress("192.168.0.6")
* .build())
* .location("eastus2euap")
* .privateEndpointName("testPe")
* .privateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
* .groupIds("groupIdFromResource")
* .privateLinkServiceId("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls")
* .requestMessage("Please approve my connection.")
* .build())
* .resourceGroupName("rg1")
* .subnet(SubnetArgs.builder()
* .id("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
* .build())
* .build());
* }
* }
* ```
* ### Create private endpoint with application security groups
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var privateEndpoint = new AzureNative.Network.PrivateEndpoint("privateEndpoint", new()
* {
* ApplicationSecurityGroups = new[]
* {
* new AzureNative.Network.Inputs.ApplicationSecurityGroupArgs
* {
* Id = "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1",
* },
* },
* Location = "eastus2euap",
* PrivateEndpointName = "testPe",
* PrivateLinkServiceConnections = new[]
* {
* new AzureNative.Network.Inputs.PrivateLinkServiceConnectionArgs
* {
* GroupIds = new[]
* {
* "groupIdFromResource",
* },
* PrivateLinkServiceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
* RequestMessage = "Please approve my connection.",
* },
* },
* ResourceGroupName = "rg1",
* Subnet = new AzureNative.Network.Inputs.SubnetArgs
* {
* Id = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
* },
* });
* });
* ```
* ```go
* package main
* import (
* network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := network.NewPrivateEndpoint(ctx, "privateEndpoint", &network.PrivateEndpointArgs{
* ApplicationSecurityGroups: network.ApplicationSecurityGroupTypeArray{
* &network.ApplicationSecurityGroupTypeArgs{
* Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1"),
* },
* },
* Location: pulumi.String("eastus2euap"),
* PrivateEndpointName: pulumi.String("testPe"),
* PrivateLinkServiceConnections: network.PrivateLinkServiceConnectionArray{
* &network.PrivateLinkServiceConnectionArgs{
* GroupIds: pulumi.StringArray{
* pulumi.String("groupIdFromResource"),
* },
* PrivateLinkServiceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls"),
* RequestMessage: pulumi.String("Please approve my connection."),
* },
* },
* ResourceGroupName: pulumi.String("rg1"),
* Subnet: &network.SubnetTypeArgs{
* Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.PrivateEndpoint;
* import com.pulumi.azurenative.network.PrivateEndpointArgs;
* import com.pulumi.azurenative.network.inputs.ApplicationSecurityGroupArgs;
* import com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* 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 privateEndpoint = new PrivateEndpoint("privateEndpoint", PrivateEndpointArgs.builder()
* .applicationSecurityGroups(ApplicationSecurityGroupArgs.builder()
* .id("/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1")
* .build())
* .location("eastus2euap")
* .privateEndpointName("testPe")
* .privateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
* .groupIds("groupIdFromResource")
* .privateLinkServiceId("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls")
* .requestMessage("Please approve my connection.")
* .build())
* .resourceGroupName("rg1")
* .subnet(SubnetArgs.builder()
* .id("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
* .build())
* .build());
* }
* }
* ```
* ### Create private endpoint with manual approval connection
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var privateEndpoint = new AzureNative.Network.PrivateEndpoint("privateEndpoint", new()
* {
* CustomNetworkInterfaceName = "testPeNic",
* IpConfigurations = new[]
* {
* new AzureNative.Network.Inputs.PrivateEndpointIPConfigurationArgs
* {
* GroupId = "file",
* MemberName = "file",
* Name = "pestaticconfig",
* PrivateIPAddress = "192.168.0.5",
* },
* },
* Location = "eastus",
* ManualPrivateLinkServiceConnections = new[]
* {
* new AzureNative.Network.Inputs.PrivateLinkServiceConnectionArgs
* {
* GroupIds = new[]
* {
* "groupIdFromResource",
* },
* PrivateLinkServiceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
* RequestMessage = "Please manually approve my connection.",
* },
* },
* PrivateEndpointName = "testPe",
* ResourceGroupName = "rg1",
* Subnet = new AzureNative.Network.Inputs.SubnetArgs
* {
* Id = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
* },
* });
* });
* ```
* ```go
* package main
* import (
* network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := network.NewPrivateEndpoint(ctx, "privateEndpoint", &network.PrivateEndpointArgs{
* CustomNetworkInterfaceName: pulumi.String("testPeNic"),
* IpConfigurations: network.PrivateEndpointIPConfigurationArray{
* &network.PrivateEndpointIPConfigurationArgs{
* GroupId: pulumi.String("file"),
* MemberName: pulumi.String("file"),
* Name: pulumi.String("pestaticconfig"),
* PrivateIPAddress: pulumi.String("192.168.0.5"),
* },
* },
* Location: pulumi.String("eastus"),
* ManualPrivateLinkServiceConnections: network.PrivateLinkServiceConnectionArray{
* &network.PrivateLinkServiceConnectionArgs{
* GroupIds: pulumi.StringArray{
* pulumi.String("groupIdFromResource"),
* },
* PrivateLinkServiceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls"),
* RequestMessage: pulumi.String("Please manually approve my connection."),
* },
* },
* PrivateEndpointName: pulumi.String("testPe"),
* ResourceGroupName: pulumi.String("rg1"),
* Subnet: &network.SubnetTypeArgs{
* Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.PrivateEndpoint;
* import com.pulumi.azurenative.network.PrivateEndpointArgs;
* import com.pulumi.azurenative.network.inputs.PrivateEndpointIPConfigurationArgs;
* import com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* 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 privateEndpoint = new PrivateEndpoint("privateEndpoint", PrivateEndpointArgs.builder()
* .customNetworkInterfaceName("testPeNic")
* .ipConfigurations(PrivateEndpointIPConfigurationArgs.builder()
* .groupId("file")
* .memberName("file")
* .name("pestaticconfig")
* .privateIPAddress("192.168.0.5")
* .build())
* .location("eastus")
* .manualPrivateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
* .groupIds("groupIdFromResource")
* .privateLinkServiceId("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls")
* .requestMessage("Please manually approve my connection.")
* .build())
* .privateEndpointName("testPe")
* .resourceGroupName("rg1")
* .subnet(SubnetArgs.builder()
* .id("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
* .build())
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:network:PrivateEndpoint testPe /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}
* ```
* @property applicationSecurityGroups Application security groups in which the private endpoint IP configuration is included.
* @property customDnsConfigs An array of custom dns configurations.
* @property customNetworkInterfaceName The custom name of the network interface attached to the private endpoint.
* @property extendedLocation The extended location of the load balancer.
* @property id Resource ID.
* @property ipConfigurations A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
* @property location Resource location.
* @property manualPrivateLinkServiceConnections A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
* @property privateEndpointName The name of the private endpoint.
* @property privateLinkServiceConnections A grouping of information about the connection to the remote resource.
* @property resourceGroupName The name of the resource group.
* @property subnet The ID of the subnet from which the private IP will be allocated.
* @property tags Resource tags.
*/
public data class PrivateEndpointArgs(
public val applicationSecurityGroups: Output>? = null,
public val customDnsConfigs: Output>? = null,
public val customNetworkInterfaceName: Output? = null,
public val extendedLocation: Output? = null,
public val id: Output? = null,
public val ipConfigurations: Output>? = null,
public val location: Output? = null,
public val manualPrivateLinkServiceConnections: Output>? =
null,
public val privateEndpointName: Output? = null,
public val privateLinkServiceConnections: Output>? = null,
public val resourceGroupName: Output? = null,
public val subnet: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.PrivateEndpointArgs =
com.pulumi.azurenative.network.PrivateEndpointArgs.builder()
.applicationSecurityGroups(
applicationSecurityGroups?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.customDnsConfigs(
customDnsConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.customNetworkInterfaceName(customNetworkInterfaceName?.applyValue({ args0 -> args0 }))
.extendedLocation(extendedLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.id(id?.applyValue({ args0 -> args0 }))
.ipConfigurations(
ipConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.location(location?.applyValue({ args0 -> args0 }))
.manualPrivateLinkServiceConnections(
manualPrivateLinkServiceConnections?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.privateEndpointName(privateEndpointName?.applyValue({ args0 -> args0 }))
.privateLinkServiceConnections(
privateLinkServiceConnections?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.subnet(subnet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
}),
).build()
}
/**
* Builder for [PrivateEndpointArgs].
*/
@PulumiTagMarker
public class PrivateEndpointArgsBuilder internal constructor() {
private var applicationSecurityGroups: Output>? = null
private var customDnsConfigs: Output>? = null
private var customNetworkInterfaceName: Output? = null
private var extendedLocation: Output? = null
private var id: Output? = null
private var ipConfigurations: Output>? = null
private var location: Output? = null
private var manualPrivateLinkServiceConnections: Output>? =
null
private var privateEndpointName: Output? = null
private var privateLinkServiceConnections: Output>? = null
private var resourceGroupName: Output? = null
private var subnet: Output? = null
private var tags: Output>? = null
/**
* @param value Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("furdxuleuagtondi")
public suspend fun applicationSecurityGroups(`value`: Output>) {
this.applicationSecurityGroups = value
}
@JvmName("udsxsbnxddbwnsst")
public suspend fun applicationSecurityGroups(vararg values: Output) {
this.applicationSecurityGroups = Output.all(values.asList())
}
/**
* @param values Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("kclftocvmwnndweo")
public suspend fun applicationSecurityGroups(values: List>) {
this.applicationSecurityGroups = Output.all(values)
}
/**
* @param value An array of custom dns configurations.
*/
@JvmName("rpyfuwhitchlaiav")
public suspend fun customDnsConfigs(`value`: Output>) {
this.customDnsConfigs = value
}
@JvmName("lbpkcknbyfaaevoe")
public suspend fun customDnsConfigs(vararg values: Output) {
this.customDnsConfigs = Output.all(values.asList())
}
/**
* @param values An array of custom dns configurations.
*/
@JvmName("nvfqkphugdxtxjai")
public suspend fun customDnsConfigs(values: List>) {
this.customDnsConfigs = Output.all(values)
}
/**
* @param value The custom name of the network interface attached to the private endpoint.
*/
@JvmName("pnnnrrauuylgjlqp")
public suspend fun customNetworkInterfaceName(`value`: Output) {
this.customNetworkInterfaceName = value
}
/**
* @param value The extended location of the load balancer.
*/
@JvmName("nmqllkplgvrqruqy")
public suspend fun extendedLocation(`value`: Output) {
this.extendedLocation = value
}
/**
* @param value Resource ID.
*/
@JvmName("yyqwiaublhcweurl")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("tayitavpibcqakha")
public suspend fun ipConfigurations(`value`: Output>) {
this.ipConfigurations = value
}
@JvmName("dawywcugstttfqdg")
public suspend fun ipConfigurations(vararg values: Output) {
this.ipConfigurations = Output.all(values.asList())
}
/**
* @param values A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("jxwwyvdgvffeffew")
public suspend fun ipConfigurations(values: List>) {
this.ipConfigurations = Output.all(values)
}
/**
* @param value Resource location.
*/
@JvmName("jeqpwdadhqnmpqes")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("rdrwfqxvqqnyjudb")
public suspend fun manualPrivateLinkServiceConnections(`value`: Output>) {
this.manualPrivateLinkServiceConnections = value
}
@JvmName("abnlqaysftayaoym")
public suspend fun manualPrivateLinkServiceConnections(vararg values: Output) {
this.manualPrivateLinkServiceConnections = Output.all(values.asList())
}
/**
* @param values A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("ebavrpmqyjqhitnm")
public suspend fun manualPrivateLinkServiceConnections(values: List>) {
this.manualPrivateLinkServiceConnections = Output.all(values)
}
/**
* @param value The name of the private endpoint.
*/
@JvmName("hiwqciwsrydvydgm")
public suspend fun privateEndpointName(`value`: Output) {
this.privateEndpointName = value
}
/**
* @param value A grouping of information about the connection to the remote resource.
*/
@JvmName("jtcxiyfpaqowogpl")
public suspend fun privateLinkServiceConnections(`value`: Output>) {
this.privateLinkServiceConnections = value
}
@JvmName("yhplajsmpvenaagy")
public suspend fun privateLinkServiceConnections(vararg values: Output) {
this.privateLinkServiceConnections = Output.all(values.asList())
}
/**
* @param values A grouping of information about the connection to the remote resource.
*/
@JvmName("qqwqaiykckdiboua")
public suspend fun privateLinkServiceConnections(values: List>) {
this.privateLinkServiceConnections = Output.all(values)
}
/**
* @param value The name of the resource group.
*/
@JvmName("mhslymdvhpldrxrn")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value The ID of the subnet from which the private IP will be allocated.
*/
@JvmName("lmokttxstrgjtged")
public suspend fun subnet(`value`: Output) {
this.subnet = value
}
/**
* @param value Resource tags.
*/
@JvmName("vxdllblugvrdeyqs")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
/**
* @param value Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("bupofykecxmhgctn")
public suspend fun applicationSecurityGroups(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationSecurityGroups = mapped
}
/**
* @param argument Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("hcddcbtmbouikcrc")
public suspend fun applicationSecurityGroups(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationSecurityGroupArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.applicationSecurityGroups = mapped
}
/**
* @param argument Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("mjlhkjtokjuanrjm")
public suspend fun applicationSecurityGroups(vararg argument: suspend ApplicationSecurityGroupArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationSecurityGroupArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.applicationSecurityGroups = mapped
}
/**
* @param argument Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("mnhqfxrokbaraxeh")
public suspend fun applicationSecurityGroups(argument: suspend ApplicationSecurityGroupArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationSecurityGroupArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.applicationSecurityGroups = mapped
}
/**
* @param values Application security groups in which the private endpoint IP configuration is included.
*/
@JvmName("jfebtoyaycoehodm")
public suspend fun applicationSecurityGroups(vararg values: ApplicationSecurityGroupArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.applicationSecurityGroups = mapped
}
/**
* @param value An array of custom dns configurations.
*/
@JvmName("woblpfmaoxejyqby")
public suspend fun customDnsConfigs(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customDnsConfigs = mapped
}
/**
* @param argument An array of custom dns configurations.
*/
@JvmName("hwvjeamlvecvbhsd")
public suspend fun customDnsConfigs(argument: List Unit>) {
val toBeMapped = argument.toList().map {
CustomDnsConfigPropertiesFormatArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.customDnsConfigs = mapped
}
/**
* @param argument An array of custom dns configurations.
*/
@JvmName("spwsymnjttmunqqc")
public suspend fun customDnsConfigs(vararg argument: suspend CustomDnsConfigPropertiesFormatArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
CustomDnsConfigPropertiesFormatArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.customDnsConfigs = mapped
}
/**
* @param argument An array of custom dns configurations.
*/
@JvmName("ecqhrsnnfmxfockl")
public suspend fun customDnsConfigs(argument: suspend CustomDnsConfigPropertiesFormatArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
CustomDnsConfigPropertiesFormatArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.customDnsConfigs = mapped
}
/**
* @param values An array of custom dns configurations.
*/
@JvmName("emfgxdrjsylajcvw")
public suspend fun customDnsConfigs(vararg values: CustomDnsConfigPropertiesFormatArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customDnsConfigs = mapped
}
/**
* @param value The custom name of the network interface attached to the private endpoint.
*/
@JvmName("oqlkfltopcymkxfu")
public suspend fun customNetworkInterfaceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customNetworkInterfaceName = mapped
}
/**
* @param value The extended location of the load balancer.
*/
@JvmName("hjljkgkddwilcfkh")
public suspend fun extendedLocation(`value`: ExtendedLocationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.extendedLocation = mapped
}
/**
* @param argument The extended location of the load balancer.
*/
@JvmName("snaqucaqmngfgrqy")
public suspend fun extendedLocation(argument: suspend ExtendedLocationArgsBuilder.() -> Unit) {
val toBeMapped = ExtendedLocationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.extendedLocation = mapped
}
/**
* @param value Resource ID.
*/
@JvmName("aiynlipwesnomxkb")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("ctnqixwhubgwkwcn")
public suspend fun ipConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipConfigurations = mapped
}
/**
* @param argument A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("awksjjchiqcdgfnr")
public suspend fun ipConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PrivateEndpointIPConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ipConfigurations = mapped
}
/**
* @param argument A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("keyklmwmadnpexya")
public suspend fun ipConfigurations(vararg argument: suspend PrivateEndpointIPConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PrivateEndpointIPConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ipConfigurations = mapped
}
/**
* @param argument A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("eqdvtmojmfdlykoa")
public suspend fun ipConfigurations(argument: suspend PrivateEndpointIPConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
PrivateEndpointIPConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.ipConfigurations = mapped
}
/**
* @param values A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*/
@JvmName("mkwpfnhmtxgasyjv")
public suspend fun ipConfigurations(vararg values: PrivateEndpointIPConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ipConfigurations = mapped
}
/**
* @param value Resource location.
*/
@JvmName("vftahfrygqqjkxax")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("jjvesuxkvfanyixk")
public suspend fun manualPrivateLinkServiceConnections(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.manualPrivateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("uncfodpnpvfbyfkc")
public suspend fun manualPrivateLinkServiceConnections(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.manualPrivateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("gqjgnxoamaorrvlx")
public suspend fun manualPrivateLinkServiceConnections(vararg argument: suspend PrivateLinkServiceConnectionArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.manualPrivateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("rdhjmlgdgrffmcaj")
public suspend fun manualPrivateLinkServiceConnections(argument: suspend PrivateLinkServiceConnectionArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.manualPrivateLinkServiceConnections = mapped
}
/**
* @param values A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*/
@JvmName("nhxiuhahtaixqumf")
public suspend fun manualPrivateLinkServiceConnections(vararg values: PrivateLinkServiceConnectionArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.manualPrivateLinkServiceConnections = mapped
}
/**
* @param value The name of the private endpoint.
*/
@JvmName("kqgsealgecjphvyp")
public suspend fun privateEndpointName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateEndpointName = mapped
}
/**
* @param value A grouping of information about the connection to the remote resource.
*/
@JvmName("bcusujonqapncgea")
public suspend fun privateLinkServiceConnections(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource.
*/
@JvmName("bgkinvbevoxbuppi")
public suspend fun privateLinkServiceConnections(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.privateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource.
*/
@JvmName("vcsmjjgdepqenhpc")
public suspend fun privateLinkServiceConnections(vararg argument: suspend PrivateLinkServiceConnectionArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.privateLinkServiceConnections = mapped
}
/**
* @param argument A grouping of information about the connection to the remote resource.
*/
@JvmName("nycudrumqxknejqt")
public suspend fun privateLinkServiceConnections(argument: suspend PrivateLinkServiceConnectionArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
PrivateLinkServiceConnectionArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.privateLinkServiceConnections = mapped
}
/**
* @param values A grouping of information about the connection to the remote resource.
*/
@JvmName("beegygeoyohmjiqx")
public suspend fun privateLinkServiceConnections(vararg values: PrivateLinkServiceConnectionArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateLinkServiceConnections = mapped
}
/**
* @param value The name of the resource group.
*/
@JvmName("okrttgbbrjwvsglk")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value The ID of the subnet from which the private IP will be allocated.
*/
@JvmName("veqlhxlkrbfraukv")
public suspend fun subnet(`value`: SubnetArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnet = mapped
}
/**
* @param argument The ID of the subnet from which the private IP will be allocated.
*/
@JvmName("rcuwgteorurumdio")
public suspend fun subnet(argument: suspend SubnetArgsBuilder.() -> Unit) {
val toBeMapped = SubnetArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.subnet = mapped
}
/**
* @param value Resource tags.
*/
@JvmName("bdhcolrhetykwbbd")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param values Resource tags.
*/
@JvmName("xcjymraolomvkpve")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tags = mapped
}
internal fun build(): PrivateEndpointArgs = PrivateEndpointArgs(
applicationSecurityGroups = applicationSecurityGroups,
customDnsConfigs = customDnsConfigs,
customNetworkInterfaceName = customNetworkInterfaceName,
extendedLocation = extendedLocation,
id = id,
ipConfigurations = ipConfigurations,
location = location,
manualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections,
privateEndpointName = privateEndpointName,
privateLinkServiceConnections = privateLinkServiceConnections,
resourceGroupName = resourceGroupName,
subnet = subnet,
tags = tags,
)
}