Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.47.0 published on Saturday, Nov 20, 2021 by Pulumi

PrivateEndpointConnection

A private endpoint connection API Version: 2021-03-01.

Example Usage

Update Private Endpoint Connection

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateEndpointConnection = new AzureNative.ContainerService.PrivateEndpointConnection("privateEndpointConnection", new AzureNative.ContainerService.PrivateEndpointConnectionArgs
        {
            PrivateEndpointConnectionName = "privateendpointconnection1",
            PrivateLinkServiceConnectionState = new AzureNative.ContainerService.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Status = "Approved",
            },
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
        });
    }

}

package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &containerservice.PrivateEndpointConnectionArgs{
			PrivateEndpointConnectionName: pulumi.String("privateendpointconnection1"),
			PrivateLinkServiceConnectionState: &containerservice.PrivateLinkServiceConnectionStateArgs{
				Status: pulumi.String("Approved"),
			},
			ResourceGroupName: pulumi.String("rg1"),
			ResourceName:      pulumi.String("clustername1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.containerservice.PrivateEndpointConnection("privateEndpointConnection",
    private_endpoint_connection_name="privateendpointconnection1",
    private_link_service_connection_state=azure_native.containerservice.PrivateLinkServiceConnectionStateArgs(
        status="Approved",
    ),
    resource_group_name="rg1",
    resource_name="clustername1")

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

const privateEndpointConnection = new azure_native.containerservice.PrivateEndpointConnection("privateEndpointConnection", {
    privateEndpointConnectionName: "privateendpointconnection1",
    privateLinkServiceConnectionState: {
        status: "Approved",
    },
    resourceGroupName: "rg1",
    resourceName: "clustername1",
});

Create a PrivateEndpointConnection Resource

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = 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,
                              resource_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)
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.

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:

PrivateLinkServiceConnectionState Pulumi.AzureNative.ContainerService.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.
ResourceName string
The name of the managed cluster resource.
PrivateEndpoint Pulumi.AzureNative.ContainerService.Inputs.PrivateEndpointArgs
The resource of private endpoint.
PrivateEndpointConnectionName string
The name of the private endpoint connection.
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.
ResourceName string
The name of the managed cluster resource.
PrivateEndpoint PrivateEndpointArgs
The resource of private endpoint.
PrivateEndpointConnectionName string
The name of the private endpoint connection.
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.
resourceName string
The name of the managed cluster resource.
privateEndpoint PrivateEndpointArgs
The resource of private endpoint.
privateEndpointConnectionName string
The name of the private endpoint connection.
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.
resource_name str
The name of the managed cluster resource.
private_endpoint PrivateEndpointArgs
The resource of private endpoint.
private_endpoint_connection_name str
The name of the private endpoint connection.

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 private endpoint connection.
ProvisioningState string
The current provisioning state.
Type string
The resource type.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the private endpoint connection.
ProvisioningState string
The current provisioning state.
Type string
The resource type.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the private endpoint connection.
provisioningState string
The current provisioning state.
type string
The resource type.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the private endpoint connection.
provisioning_state str
The current provisioning state.
type str
The resource type.

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

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 str
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 str
The resource Id for private endpoint

PrivateLinkServiceConnectionState

Description string
The private link service connection description.
Status string | Pulumi.AzureNative.ContainerService.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.

PrivateLinkServiceConnectionStateResponse

Description string
The private link service connection description.
Status string
The private link service connection status.
Description string
The private link service connection description.
Status string
The private link service connection status.
description string
The private link service connection description.
status string
The private link service connection status.
description str
The private link service connection description.
status str
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:containerservice:PrivateEndpointConnection privateendpointconnection1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName} 

Package Details

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