Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

PrivateEndpointConnection

A private endpoint connection API Version: 2020-06-01.

Example Usage

PrivateEndpointConnection_CreateOrUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateEndpointConnection = new AzureNative.AppConfiguration.PrivateEndpointConnection("privateEndpointConnection", new AzureNative.AppConfiguration.PrivateEndpointConnectionArgs
        {
            ConfigStoreName = "contoso",
            PrivateEndpointConnectionName = "myConnection",
            PrivateLinkServiceConnectionState = new AzureNative.AppConfiguration.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Description = "Auto-Approved",
                Status = "Approved",
            },
            ResourceGroupName = "myResourceGroup",
        });
    }

}
package main

import (
	appconfiguration "github.com/pulumi/pulumi-azure-native/sdk/go/azure/appconfiguration"
	"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("Approved"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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(Map.ofEntries(
                Map.entry("description", "Auto-Approved"),
                Map.entry("status", "Approved")
            ))
            .resourceGroupName("myResourceGroup")
            .build());

        }
}
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=azure_native.appconfiguration.PrivateLinkServiceConnectionStateArgs(
        description="Auto-Approved",
        status="Approved",
    ),
    resource_group_name="myResourceGroup")
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: "Approved",
    },
    resourceGroupName: "myResourceGroup",
});
resources:
  privateEndpointConnection:
    type: azure-native:appconfiguration:PrivateEndpointConnection
    properties:
      configStoreName: contoso
      privateEndpointConnectionName: myConnection
      privateLinkServiceConnectionState:
        description: Auto-Approved
        status: Approved
      resourceGroupName: myResourceGroup

Create a PrivateEndpointConnection Resource

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              config_store_name: Optional[str] = None,
                              private_endpoint: Optional[PrivateEndpointArgs] = None,
                              private_endpoint_connection_name: Optional[str] = None,
                              private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = None,
                              resource_group_name: Optional[str] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
                              args: PrivateEndpointConnectionArgs,
                              opts: Optional[ResourceOptions] = 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.

name string
The unique name of the resource.
args PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args 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 string
The unique name of the resource.
args PrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PrivateEndpointConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The PrivateEndpointConnection resource accepts the following input properties:

ConfigStoreName string

The name of the configuration store.

PrivateLinkServiceConnectionState Pulumi.AzureNative.AppConfiguration.Inputs.PrivateLinkServiceConnectionStateArgs

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

ResourceGroupName string

The name of the resource group to which the container registry belongs.

PrivateEndpoint Pulumi.AzureNative.AppConfiguration.Inputs.PrivateEndpointArgs

The resource of private endpoint.

PrivateEndpointConnectionName string

Private endpoint connection name

ConfigStoreName string

The name of the configuration store.

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

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

ResourceGroupName string

The name of the resource group to which the container registry belongs.

PrivateEndpoint PrivateEndpointArgs

The resource of private endpoint.

PrivateEndpointConnectionName string

Private endpoint connection name

configStoreName String

The name of the configuration store.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

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

resourceGroupName String

The name of the resource group to which the container registry belongs.

privateEndpoint PrivateEndpointArgs

The resource of private endpoint.

privateEndpointConnectionName String

Private endpoint connection name

configStoreName string

The name of the configuration store.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

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

resourceGroupName string

The name of the resource group to which the container registry belongs.

privateEndpoint PrivateEndpointArgs

The resource of private endpoint.

privateEndpointConnectionName string

Private endpoint connection name

config_store_name str

The name of the configuration store.

private_link_service_connection_state PrivateLinkServiceConnectionStateArgs

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

resource_group_name 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 str

Private endpoint connection name

configStoreName String

The name of the configuration store.

privateLinkServiceConnectionState Property Map

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

resourceGroupName String

The name of the resource group to which the container registry belongs.

privateEndpoint Property Map

The resource of private endpoint.

privateEndpointConnectionName 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

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

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

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

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

ActionsRequired 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 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 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 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 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 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/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateEndpointConnections/myConnection 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0