Azure Native

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

WebPubSubPrivateEndpointConnection

A private endpoint connection to an azure resource API Version: 2021-04-01-preview.

Example Usage

WebPubSubPrivateEndpointConnections_Update

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var webPubSubPrivateEndpointConnection = new AzureNative.WebPubSub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnection", new AzureNative.WebPubSub.WebPubSubPrivateEndpointConnectionArgs
        {
            PrivateEndpoint = new AzureNative.WebPubSub.Inputs.PrivateEndpointArgs
            {
                Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
            },
            PrivateEndpointConnectionName = "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e",
            PrivateLinkServiceConnectionState = new AzureNative.WebPubSub.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                ActionsRequired = "None",
                Status = "Approved",
            },
            ResourceGroupName = "myResourceGroup",
            ResourceName = "myWebPubSubService",
        });
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := webpubsub.NewWebPubSubPrivateEndpointConnection(ctx, "webPubSubPrivateEndpointConnection", &webpubsub.WebPubSubPrivateEndpointConnectionArgs{
			PrivateEndpoint: &webpubsub.PrivateEndpointArgs{
				Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
			},
			PrivateEndpointConnectionName: pulumi.String("mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e"),
			PrivateLinkServiceConnectionState: &webpubsub.PrivateLinkServiceConnectionStateArgs{
				ActionsRequired: pulumi.String("None"),
				Status:          pulumi.String("Approved"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ResourceName:      pulumi.String("myWebPubSubService"),
		})
		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 webPubSubPrivateEndpointConnection = new WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnection", WebPubSubPrivateEndpointConnectionArgs.builder()        
            .privateEndpoint(Map.of("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"))
            .privateEndpointConnectionName("mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e")
            .privateLinkServiceConnectionState(Map.ofEntries(
                Map.entry("actionsRequired", "None"),
                Map.entry("status", "Approved")
            ))
            .resourceGroupName("myResourceGroup")
            .resourceName("myWebPubSubService")
            .build());

        }
}
import pulumi
import pulumi_azure_native as azure_native

web_pub_sub_private_endpoint_connection = azure_native.webpubsub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnection",
    private_endpoint=azure_native.webpubsub.PrivateEndpointArgs(
        id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
    ),
    private_endpoint_connection_name="mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e",
    private_link_service_connection_state=azure_native.webpubsub.PrivateLinkServiceConnectionStateArgs(
        actions_required="None",
        status="Approved",
    ),
    resource_group_name="myResourceGroup",
    resource_name_="myWebPubSubService")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const webPubSubPrivateEndpointConnection = new azure_native.webpubsub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnection", {
    privateEndpoint: {
        id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
    },
    privateEndpointConnectionName: "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e",
    privateLinkServiceConnectionState: {
        actionsRequired: "None",
        status: "Approved",
    },
    resourceGroupName: "myResourceGroup",
    resourceName: "myWebPubSubService",
});
resources:
  webPubSubPrivateEndpointConnection:
    type: azure-native:webpubsub:WebPubSubPrivateEndpointConnection
    properties:
      privateEndpoint:
        id: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint
      privateEndpointConnectionName: mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e
      privateLinkServiceConnectionState:
        actionsRequired: None
        status: Approved
      resourceGroupName: myResourceGroup
      resourceName: myWebPubSubService

Create a WebPubSubPrivateEndpointConnection Resource

new WebPubSubPrivateEndpointConnection(name: string, args: WebPubSubPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def WebPubSubPrivateEndpointConnection(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 WebPubSubPrivateEndpointConnection(resource_name: str,
                                       args: WebPubSubPrivateEndpointConnectionArgs,
                                       opts: Optional[ResourceOptions] = None)
func NewWebPubSubPrivateEndpointConnection(ctx *Context, name string, args WebPubSubPrivateEndpointConnectionArgs, opts ...ResourceOption) (*WebPubSubPrivateEndpointConnection, error)
public WebPubSubPrivateEndpointConnection(string name, WebPubSubPrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public WebPubSubPrivateEndpointConnection(String name, WebPubSubPrivateEndpointConnectionArgs args)
public WebPubSubPrivateEndpointConnection(String name, WebPubSubPrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:webpubsub:WebPubSubPrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

WebPubSubPrivateEndpointConnection 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 WebPubSubPrivateEndpointConnection resource accepts the following input properties:

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ResourceName string

The name of the resource.

PrivateEndpoint Pulumi.AzureNative.WebPubSub.Inputs.PrivateEndpointArgs

Private endpoint associated with the private endpoint connection

PrivateEndpointConnectionName string

The name of the private endpoint connection

PrivateLinkServiceConnectionState Pulumi.AzureNative.WebPubSub.Inputs.PrivateLinkServiceConnectionStateArgs

Connection state

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ResourceName string

The name of the resource.

PrivateEndpoint PrivateEndpointArgs

Private endpoint associated with the private endpoint connection

PrivateEndpointConnectionName string

The name of the private endpoint connection

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

Connection state

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

resourceName String

The name of the resource.

privateEndpoint PrivateEndpointArgs

Private endpoint associated with the private endpoint connection

privateEndpointConnectionName String

The name of the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

Connection state

resourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

resourceName string

The name of the resource.

privateEndpoint PrivateEndpointArgs

Private endpoint associated with the private endpoint connection

privateEndpointConnectionName string

The name of the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

Connection state

resource_group_name str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

resource_name str

The name of the resource.

private_endpoint PrivateEndpointArgs

Private endpoint associated with the private endpoint connection

private_endpoint_connection_name str

The name of the private endpoint connection

private_link_service_connection_state PrivateLinkServiceConnectionStateArgs

Connection state

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

resourceName String

The name of the resource.

privateEndpoint Property Map

Private endpoint associated with the private endpoint connection

privateEndpointConnectionName String

The name of the private endpoint connection

privateLinkServiceConnectionState Property Map

Connection state

Outputs

All input properties are implicitly available as output properties. Additionally, the WebPubSubPrivateEndpointConnection 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

Provisioning state of the private endpoint connection

SystemData Pulumi.AzureNative.WebPubSub.Outputs.SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource.

ProvisioningState string

Provisioning state of the private endpoint connection

SystemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

provisioningState String

Provisioning state of the private endpoint connection

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type String

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource.

provisioningState string

Provisioning state of the private endpoint connection

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type string

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource.

provisioning_state str

Provisioning state of the private endpoint connection

system_data SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type str

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

provisioningState String

Provisioning state of the private endpoint connection

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

The type of the resource - e.g. "Microsoft.SignalRService/SignalR"

Supporting Types

PrivateEndpoint

Id string

Full qualified Id of the private endpoint

Id string

Full qualified Id of the private endpoint

id String

Full qualified Id of the private endpoint

id string

Full qualified Id of the private endpoint

id str

Full qualified Id of the private endpoint

id String

Full qualified Id of the private endpoint

PrivateEndpointResponse

Id string

Full qualified Id of the private endpoint

Id string

Full qualified Id of the private endpoint

id String

Full qualified Id of the private endpoint

id string

Full qualified Id of the private endpoint

id str

Full qualified Id of the private endpoint

id String

Full qualified Id of the private endpoint

PrivateLinkServiceConnectionState

ActionsRequired 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.AzureNative.WebPubSub.PrivateLinkServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

ActionsRequired 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 | PrivateLinkServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | PrivateLinkServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | PrivateLinkServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actions_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 | PrivateLinkServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | "Pending" | "Approved" | "Rejected" | "Disconnected"

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

PrivateLinkServiceConnectionStateResponse

ActionsRequired 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.

ActionsRequired 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.

actionsRequired 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.

actionsRequired 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.

actions_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.

actionsRequired 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.

PrivateLinkServiceConnectionStatus

Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PrivateLinkServiceConnectionStatusPending
Pending
PrivateLinkServiceConnectionStatusApproved
Approved
PrivateLinkServiceConnectionStatusRejected
Rejected
PrivateLinkServiceConnectionStatusDisconnected
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

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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:webpubsub:WebPubSubPrivateEndpointConnection mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e 

Package Details

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