azure-native.relay.PrivateEndpointConnection
Explore with Pulumi AI
Properties of the PrivateEndpointConnection.
Uses Azure REST API version 2021-11-01. In version 1.x of the Azure Native provider, it used API version 2018-01-01-preview.
Other available API versions: 2018-01-01-preview, 2024-01-01.
Example Usage
NameSpacePrivateEndPointConnectionCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var privateEndpointConnection = new AzureNative.Relay.PrivateEndpointConnection("privateEndpointConnection", new()
    {
        NamespaceName = "example-RelayNamespace-5849",
        PrivateEndpoint = new AzureNative.Relay.Inputs.PrivateEndpointArgs
        {
            Id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1",
        },
        PrivateEndpointConnectionName = "{privateEndpointConnection name}",
        PrivateLinkServiceConnectionState = new AzureNative.Relay.Inputs.ConnectionStateArgs
        {
            Description = "You may pass",
            Status = AzureNative.Relay.PrivateLinkConnectionStatus.Approved,
        },
        ResourceGroupName = "resourcegroup",
    });
});
package main
import (
	relay "github.com/pulumi/pulumi-azure-native-sdk/relay/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := relay.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &relay.PrivateEndpointConnectionArgs{
			NamespaceName: pulumi.String("example-RelayNamespace-5849"),
			PrivateEndpoint: &relay.PrivateEndpointArgs{
				Id: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1"),
			},
			PrivateEndpointConnectionName: pulumi.String("{privateEndpointConnection name}"),
			PrivateLinkServiceConnectionState: &relay.ConnectionStateArgs{
				Description: pulumi.String("You may pass"),
				Status:      pulumi.String(relay.PrivateLinkConnectionStatusApproved),
			},
			ResourceGroupName: pulumi.String("resourcegroup"),
		})
		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.relay.PrivateEndpointConnection;
import com.pulumi.azurenative.relay.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.relay.inputs.PrivateEndpointArgs;
import com.pulumi.azurenative.relay.inputs.ConnectionStateArgs;
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()
            .namespaceName("example-RelayNamespace-5849")
            .privateEndpoint(PrivateEndpointArgs.builder()
                .id("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1")
                .build())
            .privateEndpointConnectionName("{privateEndpointConnection name}")
            .privateLinkServiceConnectionState(ConnectionStateArgs.builder()
                .description("You may pass")
                .status("Approved")
                .build())
            .resourceGroupName("resourcegroup")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpointConnection = new azure_native.relay.PrivateEndpointConnection("privateEndpointConnection", {
    namespaceName: "example-RelayNamespace-5849",
    privateEndpoint: {
        id: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1",
    },
    privateEndpointConnectionName: "{privateEndpointConnection name}",
    privateLinkServiceConnectionState: {
        description: "You may pass",
        status: azure_native.relay.PrivateLinkConnectionStatus.Approved,
    },
    resourceGroupName: "resourcegroup",
});
import pulumi
import pulumi_azure_native as azure_native
private_endpoint_connection = azure_native.relay.PrivateEndpointConnection("privateEndpointConnection",
    namespace_name="example-RelayNamespace-5849",
    private_endpoint={
        "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1",
    },
    private_endpoint_connection_name="{privateEndpointConnection name}",
    private_link_service_connection_state={
        "description": "You may pass",
        "status": azure_native.relay.PrivateLinkConnectionStatus.APPROVED,
    },
    resource_group_name="resourcegroup")
resources:
  privateEndpointConnection:
    type: azure-native:relay:PrivateEndpointConnection
    properties:
      namespaceName: example-RelayNamespace-5849
      privateEndpoint:
        id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1
      privateEndpointConnectionName: '{privateEndpointConnection name}'
      privateLinkServiceConnectionState:
        description: You may pass
        status: Approved
      resourceGroupName: resourcegroup
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: PrivateEndpointConnectionInitArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              namespace_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              private_endpoint: Optional[PrivateEndpointArgs] = None,
                              private_endpoint_connection_name: Optional[str] = None,
                              private_link_service_connection_state: Optional[ConnectionStateArgs] = None,
                              provisioning_state: Optional[Union[str, EndPointProvisioningState]] = 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:relay:PrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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 PrivateEndpointConnectionInitArgs
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleprivateEndpointConnectionResourceResourceFromRelay = new AzureNative.Relay.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromRelay", new()
{
    NamespaceName = "string",
    ResourceGroupName = "string",
    PrivateEndpoint = new AzureNative.Relay.Inputs.PrivateEndpointArgs
    {
        Id = "string",
    },
    PrivateEndpointConnectionName = "string",
    PrivateLinkServiceConnectionState = new AzureNative.Relay.Inputs.ConnectionStateArgs
    {
        Description = "string",
        Status = "string",
    },
    ProvisioningState = "string",
});
example, err := relay.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromRelay", &relay.PrivateEndpointConnectionArgs{
	NamespaceName:     pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	PrivateEndpoint: &relay.PrivateEndpointArgs{
		Id: pulumi.String("string"),
	},
	PrivateEndpointConnectionName: pulumi.String("string"),
	PrivateLinkServiceConnectionState: &relay.ConnectionStateArgs{
		Description: pulumi.String("string"),
		Status:      pulumi.String("string"),
	},
	ProvisioningState: pulumi.String("string"),
})
var exampleprivateEndpointConnectionResourceResourceFromRelay = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromRelay", PrivateEndpointConnectionArgs.builder()
    .namespaceName("string")
    .resourceGroupName("string")
    .privateEndpoint(PrivateEndpointArgs.builder()
        .id("string")
        .build())
    .privateEndpointConnectionName("string")
    .privateLinkServiceConnectionState(ConnectionStateArgs.builder()
        .description("string")
        .status("string")
        .build())
    .provisioningState("string")
    .build());
exampleprivate_endpoint_connection_resource_resource_from_relay = azure_native.relay.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromRelay",
    namespace_name="string",
    resource_group_name="string",
    private_endpoint={
        "id": "string",
    },
    private_endpoint_connection_name="string",
    private_link_service_connection_state={
        "description": "string",
        "status": "string",
    },
    provisioning_state="string")
const exampleprivateEndpointConnectionResourceResourceFromRelay = new azure_native.relay.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromRelay", {
    namespaceName: "string",
    resourceGroupName: "string",
    privateEndpoint: {
        id: "string",
    },
    privateEndpointConnectionName: "string",
    privateLinkServiceConnectionState: {
        description: "string",
        status: "string",
    },
    provisioningState: "string",
});
type: azure-native:relay:PrivateEndpointConnection
properties:
    namespaceName: string
    privateEndpoint:
        id: string
    privateEndpointConnectionName: string
    privateLinkServiceConnectionState:
        description: string
        status: string
    provisioningState: string
    resourceGroupName: string
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:
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- PrivateEndpoint Pulumi.Azure Native. Relay. Inputs. Private Endpoint 
- The Private Endpoint resource for this Connection.
- PrivateEndpoint stringConnection Name 
- The PrivateEndpointConnection name
- PrivateLink Pulumi.Service Connection State Azure Native. Relay. Inputs. Connection State 
- Details about the state of the connection.
- ProvisioningState string | Pulumi.Azure Native. Relay. End Point Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- PrivateEndpoint PrivateEndpoint Args 
- The Private Endpoint resource for this Connection.
- PrivateEndpoint stringConnection Name 
- The PrivateEndpointConnection name
- PrivateLink ConnectionService Connection State State Args 
- Details about the state of the connection.
- ProvisioningState string | EndPoint Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- privateEndpoint PrivateEndpoint 
- The Private Endpoint resource for this Connection.
- privateEndpoint StringConnection Name 
- The PrivateEndpointConnection name
- privateLink ConnectionService Connection State State 
- Details about the state of the connection.
- provisioningState String | EndPoint Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- namespaceName string
- The namespace name
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- privateEndpoint PrivateEndpoint 
- The Private Endpoint resource for this Connection.
- privateEndpoint stringConnection Name 
- The PrivateEndpointConnection name
- privateLink ConnectionService Connection State State 
- Details about the state of the connection.
- provisioningState string | EndPoint Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- namespace_name str
- The namespace name
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- private_endpoint PrivateEndpoint Args 
- The Private Endpoint resource for this Connection.
- private_endpoint_ strconnection_ name 
- The PrivateEndpointConnection name
- private_link_ Connectionservice_ connection_ state State Args 
- Details about the state of the connection.
- provisioning_state str | EndPoint Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- privateEndpoint Property Map
- The Private Endpoint resource for this Connection.
- privateEndpoint StringConnection Name 
- The PrivateEndpointConnection name
- privateLink Property MapService Connection State 
- Details about the state of the connection.
- provisioningState String | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Canceled" | "Failed"
- Provisioning state 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.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Relay. Outputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData Property Map
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Supporting Types
ConnectionState, ConnectionStateArgs    
- Description string
- Description of the connection state.
- Status
string | Pulumi.Azure Native. Relay. Private Link Connection Status 
- Status of the connection.
- Description string
- Description of the connection state.
- Status
string | PrivateLink Connection Status 
- Status of the connection.
- description String
- Description of the connection state.
- status
String | PrivateLink Connection Status 
- Status of the connection.
- description string
- Description of the connection state.
- status
string | PrivateLink Connection Status 
- Status of the connection.
- description str
- Description of the connection state.
- status
str | PrivateLink Connection Status 
- Status of the connection.
- description String
- Description of the connection state.
- status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
- Status of the connection.
ConnectionStateResponse, ConnectionStateResponseArgs      
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- description String
- Description of the connection state.
- status String
- Status of the connection.
- description string
- Description of the connection state.
- status string
- Status of the connection.
- description str
- Description of the connection state.
- status str
- Status of the connection.
- description String
- Description of the connection state.
- status String
- Status of the connection.
EndPointProvisioningState, EndPointProvisioningStateArgs        
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- EndPoint Provisioning State Creating 
- Creating
- EndPoint Provisioning State Updating 
- Updating
- EndPoint Provisioning State Deleting 
- Deleting
- EndPoint Provisioning State Succeeded 
- Succeeded
- EndPoint Provisioning State Canceled 
- Canceled
- EndPoint Provisioning State Failed 
- Failed
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- CREATING
- Creating
- UPDATING
- Updating
- DELETING
- Deleting
- SUCCEEDED
- Succeeded
- CANCELED
- Canceled
- FAILED
- Failed
- "Creating"
- Creating
- "Updating"
- Updating
- "Deleting"
- Deleting
- "Succeeded"
- Succeeded
- "Canceled"
- Canceled
- "Failed"
- Failed
PrivateEndpoint, PrivateEndpointArgs    
- 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 string
- The ARM identifier for Private Endpoint.
- id str
- The ARM identifier for Private Endpoint.
- id String
- The ARM identifier for Private Endpoint.
PrivateEndpointResponse, PrivateEndpointResponseArgs      
- 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 string
- The ARM identifier for Private Endpoint.
- id str
- The ARM identifier for Private Endpoint.
- id String
- The ARM identifier for Private Endpoint.
PrivateLinkConnectionStatus, PrivateLinkConnectionStatusArgs        
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PrivateLink Connection Status Pending 
- Pending
- PrivateLink Connection Status Approved 
- Approved
- PrivateLink Connection Status Rejected 
- Rejected
- PrivateLink Connection Status 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
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:relay:PrivateEndpointConnection {privateEndpointConnection name} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0