azure-native.webpubsub.WebPubSubPrivateEndpointConnection
Explore with Pulumi AI
A private endpoint connection to an azure resource API Version: 2021-04-01-preview.
Example Usage
WebPubSubPrivateEndpointConnections_Update
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var webPubSubPrivateEndpointConnection = new AzureNative.WebPubSub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnection", new()
{
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/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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.webpubsub.WebPubSubPrivateEndpointConnection;
import com.pulumi.azurenative.webpubsub.WebPubSubPrivateEndpointConnectionArgs;
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 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 WebPubSubPrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebPubSubPrivateEndpointConnection(name: string, args: WebPubSubPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def WebPubSubPrivateEndpointConnection(resource_name: str,
args: WebPubSubPrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebPubSubPrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
private_endpoint: Optional[PrivateEndpointArgs] = None,
private_endpoint_connection_name: Optional[str] = None,
private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var webPubSubPrivateEndpointConnectionResource = new AzureNative.Webpubsub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnectionResource", new()
{
ResourceGroupName = "string",
ResourceName = "string",
PrivateEndpoint =
{
{ "id", "string" },
},
PrivateEndpointConnectionName = "string",
PrivateLinkServiceConnectionState =
{
{ "actionsRequired", "string" },
{ "description", "string" },
{ "status", "string" },
},
});
example, err := webpubsub.NewWebPubSubPrivateEndpointConnection(ctx, "webPubSubPrivateEndpointConnectionResource", &webpubsub.WebPubSubPrivateEndpointConnectionArgs{
ResourceGroupName: "string",
ResourceName: "string",
PrivateEndpoint: map[string]interface{}{
"id": "string",
},
PrivateEndpointConnectionName: "string",
PrivateLinkServiceConnectionState: map[string]interface{}{
"actionsRequired": "string",
"description": "string",
"status": "string",
},
})
var webPubSubPrivateEndpointConnectionResource = new WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnectionResource", WebPubSubPrivateEndpointConnectionArgs.builder()
.resourceGroupName("string")
.resourceName("string")
.privateEndpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.privateEndpointConnectionName("string")
.privateLinkServiceConnectionState(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
web_pub_sub_private_endpoint_connection_resource = azure_native.webpubsub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnectionResource",
resource_group_name=string,
resource_name_=string,
private_endpoint={
id: string,
},
private_endpoint_connection_name=string,
private_link_service_connection_state={
actionsRequired: string,
description: string,
status: string,
})
const webPubSubPrivateEndpointConnectionResource = new azure_native.webpubsub.WebPubSubPrivateEndpointConnection("webPubSubPrivateEndpointConnectionResource", {
resourceGroupName: "string",
resourceName: "string",
privateEndpoint: {
id: "string",
},
privateEndpointConnectionName: "string",
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
});
type: azure-native:webpubsub:WebPubSubPrivateEndpointConnection
properties:
privateEndpoint:
id: string
privateEndpointConnectionName: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
resourceName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WebPubSubPrivateEndpointConnection resource accepts the following input properties:
- Resource
Group stringName - 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 string - The name of the resource.
- Private
Endpoint Pulumi.Azure Native. Web Pub Sub. Inputs. Private Endpoint - Private endpoint associated with the private endpoint connection
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- Private
Link Pulumi.Service Connection State Azure Native. Web Pub Sub. Inputs. Private Link Service Connection State - Connection state
- Resource
Group stringName - 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 string - The name of the resource.
- Private
Endpoint PrivateEndpoint Args - Private endpoint associated with the private endpoint connection
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- Private
Link PrivateService Connection State Link Service Connection State Args - Connection state
- resource
Group StringName - 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 String - The name of the resource.
- private
Endpoint PrivateEndpoint - Private endpoint associated with the private endpoint connection
- private
Endpoint StringConnection Name - The name of the private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - Connection state
- resource
Group stringName - 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 string - The name of the resource.
- private
Endpoint PrivateEndpoint - Private endpoint associated with the private endpoint connection
- private
Endpoint stringConnection Name - The name of the private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - Connection state
- resource_
group_ strname - 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 PrivateEndpoint Args - Private endpoint associated with the private endpoint connection
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection
- private_
link_ Privateservice_ connection_ state Link Service Connection State Args - Connection state
- resource
Group StringName - 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 String - The name of the resource.
- private
Endpoint Property Map - Private endpoint associated with the private endpoint connection
- private
Endpoint StringConnection Name - The name of the private endpoint connection
- private
Link Property MapService Connection State - 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.
- Provisioning
State string - Provisioning state of the private endpoint connection
- System
Data Pulumi.Azure Native. Web Pub Sub. Outputs. System Data Response - 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.
- Provisioning
State string - Provisioning state of the private endpoint connection
- System
Data SystemData Response - 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.
- provisioning
State String - Provisioning state of the private endpoint connection
- system
Data SystemData Response - 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.
- provisioning
State string - Provisioning state of the private endpoint connection
- system
Data SystemData Response - 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 SystemData Response - 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.
- provisioning
State String - Provisioning state of the private endpoint connection
- system
Data 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, PrivateEndpointArgs
- 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, PrivateEndpointResponseArgs
- 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, PrivateLinkServiceConnectionStateArgs
- Actions
Required 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.
Azure Native. Web Pub Sub. Private Link Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Actions
Required 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 | Private
Link Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required 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 | Private
Link Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required 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 | Private
Link Service Connection Status - 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 | Private
Link Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required 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, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required 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 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 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 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.
- actions
Required 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, PrivateLinkServiceConnectionStatusArgs
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Link Service Connection Status Pending - Pending
- Private
Link Service Connection Status Approved - Approved
- Private
Link Service Connection Status Rejected - Rejected
- Private
Link Service 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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: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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0