PrivateEndpointConnectionArgs

data class PrivateEndpointConnectionArgs(val clusterName: Output<String>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionArgs>

The Private Endpoint Connection resource. Uses Azure REST API version 2024-03-01-preview. Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redisenterprise [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

RedisEnterprisePutPrivateEndpointConnection

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.RedisEnterprise.PrivateEndpointConnection("privateEndpointConnection", new()
{
ClusterName = "cache1",
PrivateEndpointConnectionName = "pectest01",
PrivateLinkServiceConnectionState = new AzureNative.RedisEnterprise.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = AzureNative.RedisEnterprise.PrivateEndpointServiceConnectionStatus.Approved,
},
ResourceGroupName = "rg1",
});
});
package main
import (
redisenterprise "github.com/pulumi/pulumi-azure-native-sdk/redisenterprise/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redisenterprise.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &redisenterprise.PrivateEndpointConnectionArgs{
ClusterName: pulumi.String("cache1"),
PrivateEndpointConnectionName: pulumi.String("pectest01"),
PrivateLinkServiceConnectionState: &redisenterprise.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String(redisenterprise.PrivateEndpointServiceConnectionStatusApproved),
},
ResourceGroupName: pulumi.String("rg1"),
})
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.redisenterprise.PrivateEndpointConnection;
import com.pulumi.azurenative.redisenterprise.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.redisenterprise.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()
.clusterName("cache1")
.privateEndpointConnectionName("pectest01")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.description("Auto-Approved")
.status("Approved")
.build())
.resourceGroupName("rg1")
.build());
}
}

Import

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

$ pulumi import azure-native:redisenterprise:PrivateEndpointConnection pectest01 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}

Constructors

Link copied to clipboard
constructor(clusterName: Output<String>? = null, privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

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

The name of the Redis Enterprise cluster.

Link copied to clipboard

The name of the private endpoint connection associated with the Azure resource

Link copied to clipboard

A collection of information about the state of the connection between service consumer and provider.

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

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

Functions

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