![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.recoveryservices.kotlin.PrivateEndpointConnectionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.recoveryservices.kotlin
import com.pulumi.azurenative.recoveryservices.PrivateEndpointConnectionArgs.builder
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.Map
import kotlin.jvm.JvmName
/**
* Private Endpoint Connection Response Properties
* Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2021-02-01.
* Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview.
* ## Example Usage
* ### Update PrivateEndpointConnection
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var privateEndpointConnection = new AzureNative.RecoveryServices.PrivateEndpointConnection("privateEndpointConnection", new()
* {
* PrivateEndpointConnectionName = "gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b",
* Properties = new AzureNative.RecoveryServices.Inputs.PrivateEndpointConnectionArgs
* {
* GroupIds = new[]
* {
* AzureNative.RecoveryServices.VaultSubResourceType.AzureBackup_secondary,
* },
* PrivateEndpoint = new AzureNative.RecoveryServices.Inputs.PrivateEndpointArgs
* {
* Id = "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3",
* },
* PrivateLinkServiceConnectionState = new AzureNative.RecoveryServices.Inputs.PrivateLinkServiceConnectionStateArgs
* {
* Description = "Approved by [email protected]",
* Status = AzureNative.RecoveryServices.PrivateEndpointConnectionStatus.Approved,
* },
* ProvisioningState = AzureNative.RecoveryServices.ProvisioningState.Succeeded,
* },
* ResourceGroupName = "gaallaRG",
* VaultName = "gaallavaultbvtd2msi",
* });
* });
* ```
* ```go
* package main
* import (
* recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := recoveryservices.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &recoveryservices.PrivateEndpointConnectionArgs{
* PrivateEndpointConnectionName: pulumi.String("gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b"),
* Properties: &recoveryservices.PrivateEndpointConnectionTypeArgs{
* GroupIds: pulumi.StringArray{
* pulumi.String(recoveryservices.VaultSubResourceType_AzureBackup_secondary),
* },
* PrivateEndpoint: &recoveryservices.PrivateEndpointArgs{
* Id: pulumi.String("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3"),
* },
* PrivateLinkServiceConnectionState: &recoveryservices.PrivateLinkServiceConnectionStateArgs{
* Description: pulumi.String("Approved by [email protected]"),
* Status: pulumi.String(recoveryservices.PrivateEndpointConnectionStatusApproved),
* },
* ProvisioningState: pulumi.String(recoveryservices.ProvisioningStateSucceeded),
* },
* ResourceGroupName: pulumi.String("gaallaRG"),
* VaultName: pulumi.String("gaallavaultbvtd2msi"),
* })
* 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.recoveryservices.PrivateEndpointConnection;
* import com.pulumi.azurenative.recoveryservices.PrivateEndpointConnectionArgs;
* import com.pulumi.azurenative.recoveryservices.inputs.PrivateEndpointConnectionArgs;
* import com.pulumi.azurenative.recoveryservices.inputs.PrivateEndpointArgs;
* import com.pulumi.azurenative.recoveryservices.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()
* .privateEndpointConnectionName("gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b")
* .properties(PrivateEndpointConnectionArgs.builder()
* .groupIds("AzureBackup_secondary")
* .privateEndpoint(PrivateEndpointArgs.builder()
* .id("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3")
* .build())
* .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
* .description("Approved by [email protected]")
* .status("Approved")
* .build())
* .provisioningState("Succeeded")
* .build())
* .resourceGroupName("gaallaRG")
* .vaultName("gaallavaultbvtd2msi")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:recoveryservices:PrivateEndpointConnection gaallatestpe1.3592346090307038890.backup.5704c932-249a-490b-a142-1396838cd3b /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}
* ```
* @property eTag Optional ETag.
* @property location Resource location.
* @property privateEndpointConnectionName The name of the private endpoint connection.
* @property properties PrivateEndpointConnectionResource properties
* @property resourceGroupName The name of the resource group where the recovery services vault is present.
* @property tags Resource tags.
* @property vaultName The name of the recovery services vault.
*/
public data class PrivateEndpointConnectionArgs(
public val eTag: Output? = null,
public val location: Output? = null,
public val privateEndpointConnectionName: Output? = null,
public val properties: Output? =
null,
public val resourceGroupName: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy