Use Pulumi's new import command to generate code from existing cloud resources. Learn More

PrivateEndpointConnection

The Private Endpoint Connection resource. Latest API Version: 2019-06-01.

Example Usage

StorageAccountPutPrivateEndpointConnection

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var privateEndpointConnection = new AzureNextGen.Storage.Latest.PrivateEndpointConnection("privateEndpointConnection", new AzureNextGen.Storage.Latest.PrivateEndpointConnectionArgs
        {
            AccountName = "sto9699",
            PrivateEndpointConnectionName = "{privateEndpointConnectionName}",
            PrivateLinkServiceConnectionState = new AzureNextGen.Storage.Latest.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Description = "Auto-Approved",
                Status = "Approved",
            },
            ResourceGroupName = "res7687",
        });
    }

}
package main

import (
    storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := storage.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &storage.PrivateEndpointConnectionArgs{
            AccountName:                   pulumi.String("sto9699"),
            PrivateEndpointConnectionName: pulumi.String("{privateEndpointConnectionName}"),
            PrivateLinkServiceConnectionState: &storage.PrivateLinkServiceConnectionStateArgs{
                Description: pulumi.String("Auto-Approved"),
                Status:      pulumi.String("Approved"),
            },
            ResourceGroupName: pulumi.String("res7687"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

private_endpoint_connection = azure_nextgen.storage.latest.PrivateEndpointConnection("privateEndpointConnection",
    account_name="sto9699",
    private_endpoint_connection_name="{privateEndpointConnectionName}",
    private_link_service_connection_state=azure_nextgen.storage.latest.PrivateLinkServiceConnectionStateArgs(
        description="Auto-Approved",
        status="Approved",
    ),
    resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const privateEndpointConnection = new azure_nextgen.storage.latest.PrivateEndpointConnection("privateEndpointConnection", {
    accountName: "sto9699",
    privateEndpointConnectionName: "{privateEndpointConnectionName}",
    privateLinkServiceConnectionState: {
        description: "Auto-Approved",
        status: "Approved",
    },
    resourceGroupName: "res7687",
});

Create a PrivateEndpointConnection Resource

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
def PrivateEndpointConnection(resource_name: str, opts: Optional[ResourceOptions] = None, account_name: Optional[str] = None, private_endpoint_connection_name: Optional[str] = None, private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = None, resource_group_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)
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.
opts ResourceOptions
A bag of options that control this 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 Programming Model docs.

Inputs

The PrivateEndpointConnection resource accepts the following input properties:

AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
PrivateEndpointConnectionName string
The name of the private endpoint connection associated with the Azure resource
PrivateLinkServiceConnectionState Pulumi.AzureNextGen.Storage.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 within the user’s subscription. The name is case insensitive.
AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
PrivateEndpointConnectionName string
The name of the private endpoint connection associated with the Azure resource
PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
accountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
privateEndpointConnectionName string
The name of the private endpoint connection associated with the Azure resource
privateLinkServiceConnectionState PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
resourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
account_name str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
private_endpoint_connection_name str
The name of the private endpoint connection associated with the Azure resource
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 within the user’s subscription. The name is case insensitive.

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 state of the private endpoint connection resource.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
PrivateEndpoint Pulumi.AzureNextGen.Storage.Outputs.PrivateEndpointResponse
The resource of private end point.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the private endpoint connection resource.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
PrivateEndpoint PrivateEndpointResponse
The resource of private end point.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The provisioning state of the private endpoint connection resource.
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
privateEndpoint PrivateEndpointResponse
The resource of private end point.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The provisioning state of the private endpoint connection resource.
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
private_endpoint PrivateEndpointResponse
The resource of private end point.

Supporting Types

PrivateEndpointResponse

Id string
The ARM identifier for Private Endpoint
Id string
The ARM identifier for Private Endpoint
id string
The ARM identifier for Private Endpoint
id str
The ARM identifier for Private Endpoint

PrivateEndpointServiceConnectionStatus

Pending
Pending
Approved
Approved
Rejected
Rejected
PrivateEndpointServiceConnectionStatusPending
Pending
PrivateEndpointServiceConnectionStatusApproved
Approved
PrivateEndpointServiceConnectionStatusRejected
Rejected
Pending
Pending
Approved
Approved
Rejected
Rejected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected

PrivateLinkServiceConnectionState

ActionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string | Pulumi.AzureNextGen.Storage.PrivateEndpointServiceConnectionStatus
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
ActionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string | PrivateEndpointServiceConnectionStatus
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
description string
The reason for approval/rejection of the connection.
status string | PrivateEndpointServiceConnectionStatus
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
action_required str
A message indicating if changes on the service provider require any updates on the consumer.
description str
The reason for approval/rejection of the connection.
status str | PrivateEndpointServiceConnectionStatus
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

PrivateLinkServiceConnectionStateResponse

ActionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
ActionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actionRequired string
A message indicating if changes on the service provider require any updates on the consumer.
description string
The reason for approval/rejection of the connection.
status string
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
action_required str
A message indicating if changes on the service provider require any updates on the consumer.
description str
The reason for approval/rejection of the connection.
status str
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Import

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

$ pulumi import azure-nextgen:storage/latest:PrivateEndpointConnection {privateEndpointConnectionName} /subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName} 

Package Details

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