azure-native.signalrservice.SignalRPrivateEndpointConnection
Explore with Pulumi AI
A private endpoint connection to SignalR resource API Version: 2020-05-01.
Example Usage
SignalRPrivateEndpointConnections_Update
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var signalRPrivateEndpointConnection = new AzureNative.SignalRService.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnection", new()
{
PrivateEndpoint = new AzureNative.SignalRService.Inputs.PrivateEndpointArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
},
PrivateEndpointConnectionName = "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
PrivateLinkServiceConnectionState = new AzureNative.SignalRService.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "None",
Status = "Approved",
},
ResourceGroupName = "myResourceGroup",
ResourceName = "mySignalRService",
});
});
package main
import (
signalrservice "github.com/pulumi/pulumi-azure-native-sdk/signalrservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := signalrservice.NewSignalRPrivateEndpointConnection(ctx, "signalRPrivateEndpointConnection", &signalrservice.SignalRPrivateEndpointConnectionArgs{
PrivateEndpoint: &signalrservice.PrivateEndpointArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
},
PrivateEndpointConnectionName: pulumi.String("mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e"),
PrivateLinkServiceConnectionState: &signalrservice.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String("None"),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("myResourceGroup"),
ResourceName: pulumi.String("mySignalRService"),
})
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.signalrservice.SignalRPrivateEndpointConnection;
import com.pulumi.azurenative.signalrservice.SignalRPrivateEndpointConnectionArgs;
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 signalRPrivateEndpointConnection = new SignalRPrivateEndpointConnection("signalRPrivateEndpointConnection", SignalRPrivateEndpointConnectionArgs.builder()
.privateEndpoint(Map.of("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"))
.privateEndpointConnectionName("mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e")
.privateLinkServiceConnectionState(Map.ofEntries(
Map.entry("actionsRequired", "None"),
Map.entry("status", "Approved")
))
.resourceGroupName("myResourceGroup")
.resourceName("mySignalRService")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
signal_r_private_endpoint_connection = azure_native.signalrservice.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnection",
private_endpoint=azure_native.signalrservice.PrivateEndpointArgs(
id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
),
private_endpoint_connection_name="mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
private_link_service_connection_state=azure_native.signalrservice.PrivateLinkServiceConnectionStateArgs(
actions_required="None",
status="Approved",
),
resource_group_name="myResourceGroup",
resource_name_="mySignalRService")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const signalRPrivateEndpointConnection = new azure_native.signalrservice.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnection", {
privateEndpoint: {
id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
},
privateEndpointConnectionName: "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
privateLinkServiceConnectionState: {
actionsRequired: "None",
status: "Approved",
},
resourceGroupName: "myResourceGroup",
resourceName: "mySignalRService",
});
resources:
signalRPrivateEndpointConnection:
type: azure-native:signalrservice:SignalRPrivateEndpointConnection
properties:
privateEndpoint:
id: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint
privateEndpointConnectionName: mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e
privateLinkServiceConnectionState:
actionsRequired: None
status: Approved
resourceGroupName: myResourceGroup
resourceName: mySignalRService
Create SignalRPrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SignalRPrivateEndpointConnection(name: string, args: SignalRPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def SignalRPrivateEndpointConnection(resource_name: str,
args: SignalRPrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SignalRPrivateEndpointConnection(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 NewSignalRPrivateEndpointConnection(ctx *Context, name string, args SignalRPrivateEndpointConnectionArgs, opts ...ResourceOption) (*SignalRPrivateEndpointConnection, error)
public SignalRPrivateEndpointConnection(string name, SignalRPrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public SignalRPrivateEndpointConnection(String name, SignalRPrivateEndpointConnectionArgs args)
public SignalRPrivateEndpointConnection(String name, SignalRPrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:signalrservice:SignalRPrivateEndpointConnection
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 SignalRPrivateEndpointConnectionArgs
- 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 SignalRPrivateEndpointConnectionArgs
- 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 SignalRPrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SignalRPrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SignalRPrivateEndpointConnectionArgs
- 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 signalRPrivateEndpointConnectionResource = new AzureNative.Signalrservice.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnectionResource", new()
{
ResourceGroupName = "string",
ResourceName = "string",
PrivateEndpoint =
{
{ "id", "string" },
},
PrivateEndpointConnectionName = "string",
PrivateLinkServiceConnectionState =
{
{ "actionsRequired", "string" },
{ "description", "string" },
{ "status", "string" },
},
});
example, err := signalrservice.NewSignalRPrivateEndpointConnection(ctx, "signalRPrivateEndpointConnectionResource", &signalrservice.SignalRPrivateEndpointConnectionArgs{
ResourceGroupName: "string",
ResourceName: "string",
PrivateEndpoint: map[string]interface{}{
"id": "string",
},
PrivateEndpointConnectionName: "string",
PrivateLinkServiceConnectionState: map[string]interface{}{
"actionsRequired": "string",
"description": "string",
"status": "string",
},
})
var signalRPrivateEndpointConnectionResource = new SignalRPrivateEndpointConnection("signalRPrivateEndpointConnectionResource", SignalRPrivateEndpointConnectionArgs.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());
signal_r_private_endpoint_connection_resource = azure_native.signalrservice.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnectionResource",
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 signalRPrivateEndpointConnectionResource = new azure_native.signalrservice.SignalRPrivateEndpointConnection("signalRPrivateEndpointConnectionResource", {
resourceGroupName: "string",
resourceName: "string",
privateEndpoint: {
id: "string",
},
privateEndpointConnectionName: "string",
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
});
type: azure-native:signalrservice:SignalRPrivateEndpointConnection
properties:
privateEndpoint:
id: string
privateEndpointConnectionName: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
resourceName: string
SignalRPrivateEndpointConnection 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 SignalRPrivateEndpointConnection 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 SignalR resource.
- Private
Endpoint Pulumi.Azure Native. Signal RService. Inputs. Private Endpoint - Private endpoint associated with the private endpoint connection
- Private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the SignalR resource.
- Private
Link Pulumi.Service Connection State Azure Native. Signal RService. 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 SignalR resource.
- Private
Endpoint PrivateEndpoint Args - Private endpoint associated with the private endpoint connection
- Private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the SignalR resource.
- 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 SignalR resource.
- private
Endpoint PrivateEndpoint - Private endpoint associated with the private endpoint connection
- private
Endpoint StringConnection Name - The name of the private endpoint connection associated with the SignalR resource.
- 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 SignalR resource.
- private
Endpoint PrivateEndpoint - Private endpoint associated with the private endpoint connection
- private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the SignalR resource.
- 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 SignalR resource.
- private_
endpoint PrivateEndpoint Args - Private endpoint associated with the private endpoint connection
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection associated with the SignalR resource.
- 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 SignalR resource.
- private
Endpoint Property Map - Private endpoint associated with the private endpoint connection
- private
Endpoint StringConnection Name - The name of the private endpoint connection associated with the SignalR resource.
- private
Link Property MapService Connection State - Connection state
Outputs
All input properties are implicitly available as output properties. Additionally, the SignalRPrivateEndpointConnection 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
- 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
- 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
- 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
- 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
- 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
- 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. Signal RService. 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
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:signalrservice:SignalRPrivateEndpointConnection mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/privateEndpointConnections/mySignalRService.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