1. Packages
  2. Azure Native v2
  3. API Docs
  4. appconfiguration
  5. PrivateEndpointConnection
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.appconfiguration.PrivateEndpointConnection

Explore with Pulumi AI

A private endpoint connection Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2020-06-01.

Other available API versions: 2023-08-01-preview, 2023-09-01-preview, 2024-05-01.

Example Usage

PrivateEndpointConnection_Update

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var privateEndpointConnection = new AzureNative.AppConfiguration.PrivateEndpointConnection("privateEndpointConnection", new()
    {
        ConfigStoreName = "contoso",
        PrivateEndpointConnectionName = "myConnection",
        PrivateLinkServiceConnectionState = new AzureNative.AppConfiguration.Inputs.PrivateLinkServiceConnectionStateArgs
        {
            Description = "Auto-Approved",
            Status = AzureNative.AppConfiguration.ConnectionStatus.Approved,
        },
        ResourceGroupName = "myResourceGroup",
    });

});
Copy
package main

import (
	appconfiguration "github.com/pulumi/pulumi-azure-native-sdk/appconfiguration/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfiguration.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &appconfiguration.PrivateEndpointConnectionArgs{
			ConfigStoreName:               pulumi.String("contoso"),
			PrivateEndpointConnectionName: pulumi.String("myConnection"),
			PrivateLinkServiceConnectionState: &appconfiguration.PrivateLinkServiceConnectionStateArgs{
				Description: pulumi.String("Auto-Approved"),
				Status:      pulumi.String(appconfiguration.ConnectionStatusApproved),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.appconfiguration.PrivateEndpointConnection;
import com.pulumi.azurenative.appconfiguration.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.appconfiguration.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()
            .configStoreName("contoso")
            .privateEndpointConnectionName("myConnection")
            .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
                .description("Auto-Approved")
                .status("Approved")
                .build())
            .resourceGroupName("myResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateEndpointConnection = new azure_native.appconfiguration.PrivateEndpointConnection("privateEndpointConnection", {
    configStoreName: "contoso",
    privateEndpointConnectionName: "myConnection",
    privateLinkServiceConnectionState: {
        description: "Auto-Approved",
        status: azure_native.appconfiguration.ConnectionStatus.Approved,
    },
    resourceGroupName: "myResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.appconfiguration.PrivateEndpointConnection("privateEndpointConnection",
    config_store_name="contoso",
    private_endpoint_connection_name="myConnection",
    private_link_service_connection_state={
        "description": "Auto-Approved",
        "status": azure_native.appconfiguration.ConnectionStatus.APPROVED,
    },
    resource_group_name="myResourceGroup")
Copy
resources:
  privateEndpointConnection:
    type: azure-native:appconfiguration:PrivateEndpointConnection
    properties:
      configStoreName: contoso
      privateEndpointConnectionName: myConnection
      privateLinkServiceConnectionState:
        description: Auto-Approved
        status: Approved
      resourceGroupName: myResourceGroup
Copy

Create PrivateEndpointConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              args: PrivateEndpointConnectionArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              config_store_name: Optional[str] = None,
                              private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = None,
                              resource_group_name: Optional[str] = None,
                              private_endpoint: Optional[PrivateEndpointArgs] = None,
                              private_endpoint_connection_name: Optional[str] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:appconfiguration:PrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampleprivateEndpointConnectionResourceResourceFromAppconfiguration = new AzureNative.Appconfiguration.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromAppconfiguration", new()
{
    ConfigStoreName = "string",
    PrivateLinkServiceConnectionState = 
    {
        { "description", "string" },
        { "status", "string" },
    },
    ResourceGroupName = "string",
    PrivateEndpoint = 
    {
        { "id", "string" },
    },
    PrivateEndpointConnectionName = "string",
});
Copy
example, err := appconfiguration.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromAppconfiguration", &appconfiguration.PrivateEndpointConnectionArgs{
	ConfigStoreName: "string",
	PrivateLinkServiceConnectionState: map[string]interface{}{
		"description": "string",
		"status":      "string",
	},
	ResourceGroupName: "string",
	PrivateEndpoint: map[string]interface{}{
		"id": "string",
	},
	PrivateEndpointConnectionName: "string",
})
Copy
var exampleprivateEndpointConnectionResourceResourceFromAppconfiguration = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromAppconfiguration", PrivateEndpointConnectionArgs.builder()
    .configStoreName("string")
    .privateLinkServiceConnectionState(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .privateEndpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .privateEndpointConnectionName("string")
    .build());
Copy
exampleprivate_endpoint_connection_resource_resource_from_appconfiguration = azure_native.appconfiguration.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromAppconfiguration",
    config_store_name=string,
    private_link_service_connection_state={
        description: string,
        status: string,
    },
    resource_group_name=string,
    private_endpoint={
        id: string,
    },
    private_endpoint_connection_name=string)
Copy
const exampleprivateEndpointConnectionResourceResourceFromAppconfiguration = new azure_native.appconfiguration.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromAppconfiguration", {
    configStoreName: "string",
    privateLinkServiceConnectionState: {
        description: "string",
        status: "string",
    },
    resourceGroupName: "string",
    privateEndpoint: {
        id: "string",
    },
    privateEndpointConnectionName: "string",
});
Copy
type: azure-native:appconfiguration:PrivateEndpointConnection
properties:
    configStoreName: string
    privateEndpoint:
        id: string
    privateEndpointConnectionName: string
    privateLinkServiceConnectionState:
        description: string
        status: string
    resourceGroupName: string
Copy

PrivateEndpointConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The PrivateEndpointConnection resource accepts the following input properties:

ConfigStoreName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration store.
PrivateLinkServiceConnectionState This property is required. Pulumi.AzureNative.AppConfiguration.Inputs.PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the container registry belongs.
PrivateEndpoint Pulumi.AzureNative.AppConfiguration.Inputs.PrivateEndpoint
The resource of private endpoint.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
Private endpoint connection name
ConfigStoreName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration store.
PrivateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateArgs
A collection of information about the state of the connection between service consumer and provider.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the container registry belongs.
PrivateEndpoint PrivateEndpointArgs
The resource of private endpoint.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
Private endpoint connection name
configStoreName
This property is required.
Changes to this property will trigger replacement.
String
The name of the configuration store.
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the container registry belongs.
privateEndpoint PrivateEndpoint
The resource of private endpoint.
privateEndpointConnectionName Changes to this property will trigger replacement. String
Private endpoint connection name
configStoreName
This property is required.
Changes to this property will trigger replacement.
string
The name of the configuration store.
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the container registry belongs.
privateEndpoint PrivateEndpoint
The resource of private endpoint.
privateEndpointConnectionName Changes to this property will trigger replacement. string
Private endpoint connection name
config_store_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the configuration store.
private_link_service_connection_state This property is required. PrivateLinkServiceConnectionStateArgs
A collection of information about the state of the connection between service consumer and provider.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group to which the container registry belongs.
private_endpoint PrivateEndpointArgs
The resource of private endpoint.
private_endpoint_connection_name Changes to this property will trigger replacement. str
Private endpoint connection name
configStoreName
This property is required.
Changes to this property will trigger replacement.
String
The name of the configuration store.
privateLinkServiceConnectionState This property is required. Property Map
A collection of information about the state of the connection between service consumer and provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the container registry belongs.
privateEndpoint Property Map
The resource of private endpoint.
privateEndpointConnectionName Changes to this property will trigger replacement. String
Private endpoint connection name

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning status of the private endpoint connection.
Type string
The type of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning status of the private endpoint connection.
Type string
The type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
The provisioning status of the private endpoint connection.
type String
The type of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource.
provisioningState string
The provisioning status of the private endpoint connection.
type string
The type of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource.
provisioning_state str
The provisioning status of the private endpoint connection.
type str
The type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
The provisioning status of the private endpoint connection.
type String
The type of the resource.

Supporting Types

ConnectionStatus
, ConnectionStatusArgs

Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
ConnectionStatusPending
Pending
ConnectionStatusApproved
Approved
ConnectionStatusRejected
Rejected
ConnectionStatusDisconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
DISCONNECTED
Disconnected
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected
"Disconnected"
Disconnected

PrivateEndpoint
, PrivateEndpointArgs

Id string
The resource Id for private endpoint
Id string
The resource Id for private endpoint
id String
The resource Id for private endpoint
id string
The resource Id for private endpoint
id str
The resource Id for private endpoint
id String
The resource Id for private endpoint

PrivateEndpointResponse
, PrivateEndpointResponseArgs

Id string
The resource Id for private endpoint
Id string
The resource Id for private endpoint
id String
The resource Id for private endpoint
id string
The resource Id for private endpoint
id str
The resource Id for private endpoint
id String
The resource Id for private endpoint

PrivateLinkServiceConnectionState
, PrivateLinkServiceConnectionStateArgs

Description string
The private link service connection description.
Status string | Pulumi.AzureNative.AppConfiguration.ConnectionStatus
The private link service connection status.
Description string
The private link service connection description.
Status string | ConnectionStatus
The private link service connection status.
description String
The private link service connection description.
status String | ConnectionStatus
The private link service connection status.
description string
The private link service connection description.
status string | ConnectionStatus
The private link service connection status.
description str
The private link service connection description.
status str | ConnectionStatus
The private link service connection status.
description String
The private link service connection description.
status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
The private link service connection status.

PrivateLinkServiceConnectionStateResponse
, PrivateLinkServiceConnectionStateResponseArgs

ActionsRequired This property is required. string
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
Description string
The private link service connection description.
Status string
The private link service connection status.
ActionsRequired This property is required. string
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
Description string
The private link service connection description.
Status string
The private link service connection status.
actionsRequired This property is required. String
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
description String
The private link service connection description.
status String
The private link service connection status.
actionsRequired This property is required. string
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
description string
The private link service connection description.
status string
The private link service connection status.
actions_required This property is required. str
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
description str
The private link service connection description.
status str
The private link service connection status.
actionsRequired This property is required. String
Any action that is required beyond basic workflow (approve/ reject/ disconnect)
description String
The private link service connection description.
status String
The private link service connection status.

Import

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

$ pulumi import azure-native:appconfiguration:PrivateEndpointConnection myConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0