Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

PrivateEndpointConnection

A private endpoint connection class. API Version: 2020-12-01-preview.

Example Usage

PrivateEndpointConnections_CreateOrUpdate

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

return await Deployment.RunAsync(() => 
{
    var privateEndpointConnection = new AzureNative.Purview.PrivateEndpointConnection("privateEndpointConnection", new()
    {
        AccountName = "account1",
        PrivateEndpointConnectionName = "privateEndpointConnection1",
        PrivateLinkServiceConnectionState = new AzureNative.Purview.Inputs.PrivateLinkServiceConnectionStateArgs
        {
            Description = "Approved by johndoe@company.com",
            Status = "Approved",
        },
        ResourceGroupName = "SampleResourceGroup",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := purview.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &purview.PrivateEndpointConnectionArgs{
			AccountName:                   pulumi.String("account1"),
			PrivateEndpointConnectionName: pulumi.String("privateEndpointConnection1"),
			PrivateLinkServiceConnectionState: &purview.PrivateLinkServiceConnectionStateArgs{
				Description: pulumi.String("Approved by johndoe@company.com"),
				Status:      pulumi.String("Approved"),
			},
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
		})
		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.purview.PrivateEndpointConnection;
import com.pulumi.azurenative.purview.PrivateEndpointConnectionArgs;
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()        
            .accountName("account1")
            .privateEndpointConnectionName("privateEndpointConnection1")
            .privateLinkServiceConnectionState(Map.ofEntries(
                Map.entry("description", "Approved by johndoe@company.com"),
                Map.entry("status", "Approved")
            ))
            .resourceGroupName("SampleResourceGroup")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.purview.PrivateEndpointConnection("privateEndpointConnection",
    account_name="account1",
    private_endpoint_connection_name="privateEndpointConnection1",
    private_link_service_connection_state=azure_native.purview.PrivateLinkServiceConnectionStateArgs(
        description="Approved by johndoe@company.com",
        status="Approved",
    ),
    resource_group_name="SampleResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateEndpointConnection = new azure_native.purview.PrivateEndpointConnection("privateEndpointConnection", {
    accountName: "account1",
    privateEndpointConnectionName: "privateEndpointConnection1",
    privateLinkServiceConnectionState: {
        description: "Approved by johndoe@company.com",
        status: "Approved",
    },
    resourceGroupName: "SampleResourceGroup",
});
resources:
  privateEndpointConnection:
    type: azure-native:purview:PrivateEndpointConnection
    properties:
      accountName: account1
      privateEndpointConnectionName: privateEndpointConnection1
      privateLinkServiceConnectionState:
        description: Approved by johndoe@company.com
        status: Approved
      resourceGroupName: SampleResourceGroup

Create PrivateEndpointConnection Resource

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

AccountName string

The name of the account.

ResourceGroupName string

The resource group name.

PrivateEndpoint Pulumi.AzureNative.Purview.Inputs.PrivateEndpointArgs

The private endpoint information.

PrivateEndpointConnectionName string

Name of the private endpoint connection.

PrivateLinkServiceConnectionState Pulumi.AzureNative.Purview.Inputs.PrivateLinkServiceConnectionStateArgs

The private link service connection state.

AccountName string

The name of the account.

ResourceGroupName string

The resource group name.

PrivateEndpoint PrivateEndpointArgs

The private endpoint information.

PrivateEndpointConnectionName string

Name of the private endpoint connection.

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

The private link service connection state.

accountName String

The name of the account.

resourceGroupName String

The resource group name.

privateEndpoint PrivateEndpointArgs

The private endpoint information.

privateEndpointConnectionName String

Name of the private endpoint connection.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

The private link service connection state.

accountName string

The name of the account.

resourceGroupName string

The resource group name.

privateEndpoint PrivateEndpointArgs

The private endpoint information.

privateEndpointConnectionName string

Name of the private endpoint connection.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

The private link service connection state.

account_name str

The name of the account.

resource_group_name str

The resource group name.

private_endpoint PrivateEndpointArgs

The private endpoint information.

private_endpoint_connection_name str

Name of the private endpoint connection.

private_link_service_connection_state PrivateLinkServiceConnectionStateArgs

The private link service connection state.

accountName String

The name of the account.

resourceGroupName String

The resource group name.

privateEndpoint Property Map

The private endpoint information.

privateEndpointConnectionName String

Name of the private endpoint connection.

privateLinkServiceConnectionState Property Map

The private link service connection state.

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

Gets or sets the name.

ProvisioningState string

The provisioning state.

Type string

Gets or sets the type.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Gets or sets the name.

ProvisioningState string

The provisioning state.

Type string

Gets or sets the type.

id String

The provider-assigned unique ID for this managed resource.

name String

Gets or sets the name.

provisioningState String

The provisioning state.

type String

Gets or sets the type.

id string

The provider-assigned unique ID for this managed resource.

name string

Gets or sets the name.

provisioningState string

The provisioning state.

type string

Gets or sets the type.

id str

The provider-assigned unique ID for this managed resource.

name str

Gets or sets the name.

provisioning_state str

The provisioning state.

type str

Gets or sets the type.

id String

The provider-assigned unique ID for this managed resource.

name String

Gets or sets the name.

provisioningState String

The provisioning state.

type String

Gets or sets the type.

Supporting Types

PrivateEndpoint

Id string

The private endpoint identifier.

Id string

The private endpoint identifier.

id String

The private endpoint identifier.

id string

The private endpoint identifier.

id str

The private endpoint identifier.

id String

The private endpoint identifier.

PrivateEndpointResponse

Id string

The private endpoint identifier.

Id string

The private endpoint identifier.

id String

The private endpoint identifier.

id string

The private endpoint identifier.

id str

The private endpoint identifier.

id String

The private endpoint identifier.

PrivateLinkServiceConnectionState

ActionsRequired string

The required actions.

Description string

The description.

Status string | Pulumi.AzureNative.Purview.Status

The status.

ActionsRequired string

The required actions.

Description string

The description.

Status string | Status

The status.

actionsRequired String

The required actions.

description String

The description.

status String | Status

The status.

actionsRequired string

The required actions.

description string

The description.

status string | Status

The status.

actions_required str

The required actions.

description str

The description.

status str | Status

The status.

actionsRequired String

The required actions.

description String

The description.

status String | "Unknown" | "Pending" | "Approved" | "Rejected" | "Disconnected"

The status.

PrivateLinkServiceConnectionStateResponse

ActionsRequired string

The required actions.

Description string

The description.

Status string

The status.

ActionsRequired string

The required actions.

Description string

The description.

Status string

The status.

actionsRequired String

The required actions.

description String

The description.

status String

The status.

actionsRequired string

The required actions.

description string

The description.

status string

The status.

actions_required str

The required actions.

description str

The description.

status str

The status.

actionsRequired String

The required actions.

description String

The description.

status String

The status.

Status

Unknown
Unknown
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
StatusUnknown
Unknown
StatusPending
Pending
StatusApproved
Approved
StatusRejected
Rejected
StatusDisconnected
Disconnected
Unknown
Unknown
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
Unknown
Unknown
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
UNKNOWN
Unknown
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
DISCONNECTED
Disconnected
"Unknown"
Unknown
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected
"Disconnected"
Disconnected

Import

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

$ pulumi import azure-native:purview:PrivateEndpointConnection privateEndpointConnection1 /subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/privateEndpointConnections/privateEndpointConnection1 

Package Details

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