Enterprise Private Endpoint Connection Args
data class EnterprisePrivateEndpointConnectionArgs(val clusterName: Output<String>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<EnterprisePrivateEndpointConnectionArgs>
The Private Endpoint Connection resource. Uses Azure REST API version 2023-03-01-preview. Other available API versions: 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-03-01-preview, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01.
Example Usage
RedisEnterprisePutPrivateEndpointConnection
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var enterprisePrivateEndpointConnection = new AzureNative.Cache.EnterprisePrivateEndpointConnection("enterprisePrivateEndpointConnection", new()
{
ClusterName = "cache1",
PrivateEndpointConnectionName = "pectest01",
PrivateLinkServiceConnectionState = new AzureNative.Cache.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = AzureNative.Cache.PrivateEndpointServiceConnectionStatus.Approved,
},
ResourceGroupName = "rg1",
});
});
Content copied to clipboard
package main
import (
cache "github.com/pulumi/pulumi-azure-native-sdk/cache/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cache.NewEnterprisePrivateEndpointConnection(ctx, "enterprisePrivateEndpointConnection", &cache.EnterprisePrivateEndpointConnectionArgs{
ClusterName: pulumi.String("cache1"),
PrivateEndpointConnectionName: pulumi.String("pectest01"),
PrivateLinkServiceConnectionState: &cache.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String(cache.PrivateEndpointServiceConnectionStatusApproved),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cache.EnterprisePrivateEndpointConnection;
import com.pulumi.azurenative.cache.EnterprisePrivateEndpointConnectionArgs;
import com.pulumi.azurenative.cache.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 enterprisePrivateEndpointConnection = new EnterprisePrivateEndpointConnection("enterprisePrivateEndpointConnection", EnterprisePrivateEndpointConnectionArgs.builder()
.clusterName("cache1")
.privateEndpointConnectionName("pectest01")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.description("Auto-Approved")
.status("Approved")
.build())
.resourceGroupName("rg1")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cache:EnterprisePrivateEndpointConnection pectest01 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
Content copied to clipboard
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
The name of the RedisEnterprise 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
The name of the resource group. The name is case insensitive.