
com.pulumi.azurenative.healthdataaiservices.kotlin.PrivateEndpointConnectionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.healthdataaiservices.kotlin
import com.pulumi.azurenative.healthdataaiservices.PrivateEndpointConnectionArgs.builder
import com.pulumi.azurenative.healthdataaiservices.kotlin.inputs.PrivateEndpointConnectionPropertiesArgs
import com.pulumi.azurenative.healthdataaiservices.kotlin.inputs.PrivateEndpointConnectionPropertiesArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Holder for private endpoint connections
* Azure REST API version: 2024-02-28-preview.
* ## Example Usage
* ### PrivateEndpointConnections_Create - generated by [MaximumSet] rule - generated by [MaximumSet] rule
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var privateEndpointConnection = new AzureNative.HealthDataAIServices.PrivateEndpointConnection("privateEndpointConnection", new()
* {
* DeidServiceName = "deidTest",
* PrivateEndpointConnectionName = "kgwgrrpabvrsrrvpcgcnfmyfgyrl",
* Properties = new AzureNative.HealthDataAIServices.Inputs.PrivateEndpointConnectionPropertiesArgs
* {
* PrivateLinkServiceConnectionState = new AzureNative.HealthDataAIServices.Inputs.PrivateLinkServiceConnectionStateArgs
* {
* ActionsRequired = "ulb",
* Description = "xr",
* Status = AzureNative.HealthDataAIServices.PrivateEndpointServiceConnectionStatus.Pending,
* },
* },
* ResourceGroupName = "rgopenapi",
* });
* });
* ```
* ```go
* package main
* import (
* healthdataaiservices "github.com/pulumi/pulumi-azure-native-sdk/healthdataaiservices/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := healthdataaiservices.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &healthdataaiservices.PrivateEndpointConnectionArgs{
* DeidServiceName: pulumi.String("deidTest"),
* PrivateEndpointConnectionName: pulumi.String("kgwgrrpabvrsrrvpcgcnfmyfgyrl"),
* Properties: &healthdataaiservices.PrivateEndpointConnectionPropertiesArgs{
* PrivateLinkServiceConnectionState: &healthdataaiservices.PrivateLinkServiceConnectionStateArgs{
* ActionsRequired: pulumi.String("ulb"),
* Description: pulumi.String("xr"),
* Status: pulumi.String(healthdataaiservices.PrivateEndpointServiceConnectionStatusPending),
* },
* },
* ResourceGroupName: pulumi.String("rgopenapi"),
* })
* 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.healthdataaiservices.PrivateEndpointConnection;
* import com.pulumi.azurenative.healthdataaiservices.PrivateEndpointConnectionArgs;
* import com.pulumi.azurenative.healthdataaiservices.inputs.PrivateEndpointConnectionPropertiesArgs;
* import com.pulumi.azurenative.healthdataaiservices.inputs.PrivateLinkServiceConnectionStateArgs;
* 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 privateEndpointConnection = new PrivateEndpointConnection("privateEndpointConnection", PrivateEndpointConnectionArgs.builder()
* .deidServiceName("deidTest")
* .privateEndpointConnectionName("kgwgrrpabvrsrrvpcgcnfmyfgyrl")
* .properties(PrivateEndpointConnectionPropertiesArgs.builder()
* .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
* .actionsRequired("ulb")
* .description("xr")
* .status("Pending")
* .build())
* .build())
* .resourceGroupName("rgopenapi")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:healthdataaiservices:PrivateEndpointConnection aduyb /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}
* ```
* @property deidServiceName The name of the deid service
* @property privateEndpointConnectionName The name of the private endpoint connection associated with the Azure resource.
* @property properties The resource-specific properties for this resource.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
*/
public data class PrivateEndpointConnectionArgs(
public val deidServiceName: Output? = null,
public val privateEndpointConnectionName: Output? = null,
public val properties: Output? = null,
public val resourceGroupName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.healthdataaiservices.PrivateEndpointConnectionArgs =
com.pulumi.azurenative.healthdataaiservices.PrivateEndpointConnectionArgs.builder()
.deidServiceName(deidServiceName?.applyValue({ args0 -> args0 }))
.privateEndpointConnectionName(privateEndpointConnectionName?.applyValue({ args0 -> args0 }))
.properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PrivateEndpointConnectionArgs].
*/
@PulumiTagMarker
public class PrivateEndpointConnectionArgsBuilder internal constructor() {
private var deidServiceName: Output? = null
private var privateEndpointConnectionName: Output? = null
private var properties: Output? = null
private var resourceGroupName: Output? = null
/**
* @param value The name of the deid service
*/
@JvmName("qlchuqlhdubqvrpk")
public suspend fun deidServiceName(`value`: Output) {
this.deidServiceName = value
}
/**
* @param value The name of the private endpoint connection associated with the Azure resource.
*/
@JvmName("iehaxshejpmaghgn")
public suspend fun privateEndpointConnectionName(`value`: Output) {
this.privateEndpointConnectionName = value
}
/**
* @param value The resource-specific properties for this resource.
*/
@JvmName("cbuigqxenmjbfcnv")
public suspend fun properties(`value`: Output) {
this.properties = value
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("ojdqtviqcunwlasp")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value The name of the deid service
*/
@JvmName("hcylqhluakihqnuh")
public suspend fun deidServiceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deidServiceName = mapped
}
/**
* @param value The name of the private endpoint connection associated with the Azure resource.
*/
@JvmName("ixgfihixxgvlghhh")
public suspend fun privateEndpointConnectionName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateEndpointConnectionName = mapped
}
/**
* @param value The resource-specific properties for this resource.
*/
@JvmName("crdikfhdxbdkxgfr")
public suspend fun properties(`value`: PrivateEndpointConnectionPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.properties = mapped
}
/**
* @param argument The resource-specific properties for this resource.
*/
@JvmName("xtrhnjhhibwwlkpx")
public suspend fun properties(argument: suspend PrivateEndpointConnectionPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = PrivateEndpointConnectionPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.properties = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("euywtqpwumgcqauv")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
internal fun build(): PrivateEndpointConnectionArgs = PrivateEndpointConnectionArgs(
deidServiceName = deidServiceName,
privateEndpointConnectionName = privateEndpointConnectionName,
properties = properties,
resourceGroupName = resourceGroupName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy