azure-native.signalrservice.SignalRPrivateEndpointConnection
Explore with Pulumi AI
A private endpoint connection to an azure resource Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-05-01.
Other available API versions: 2023-03-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview, 2024-08-01-preview.
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 = AzureNative.SignalRService.PrivateLinkServiceConnectionStatus.Approved,
},
ResourceGroupName = "myResourceGroup",
ResourceName = "mySignalRService",
});
});
package main
import (
signalrservice "github.com/pulumi/pulumi-azure-native-sdk/signalrservice/v2"
"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(signalrservice.PrivateLinkServiceConnectionStatusApproved),
},
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 com.pulumi.azurenative.signalrservice.inputs.PrivateEndpointArgs;
import com.pulumi.azurenative.signalrservice.inputs.PrivateLinkServiceConnectionStateArgs;
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(PrivateEndpointArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint")
.build())
.privateEndpointConnectionName("mysignalrservice.1fa229cd-bf3f-47f0-8c49-afb36723997e")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("None")
.status("Approved")
.build())
.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={
"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={
"actions_required": "None",
"status": azure_native.signalrservice.PrivateLinkServiceConnectionStatus.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: azure_native.signalrservice.PrivateLinkServiceConnectionStatus.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 = new AzureNative.SignalRService.Inputs.PrivateEndpointArgs
{
Id = "string",
},
PrivateEndpointConnectionName = "string",
PrivateLinkServiceConnectionState = new AzureNative.SignalRService.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "string",
Description = "string",
Status = "string",
},
});
example, err := signalrservice.NewSignalRPrivateEndpointConnection(ctx, "signalRPrivateEndpointConnectionResource", &signalrservice.SignalRPrivateEndpointConnectionArgs{
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
PrivateEndpoint: &signalrservice.PrivateEndpointArgs{
Id: pulumi.String("string"),
},
PrivateEndpointConnectionName: pulumi.String("string"),
PrivateLinkServiceConnectionState: &signalrservice.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String("string"),
Description: pulumi.String("string"),
Status: pulumi.String("string"),
},
})
var signalRPrivateEndpointConnectionResource = new SignalRPrivateEndpointConnection("signalRPrivateEndpointConnectionResource", SignalRPrivateEndpointConnectionArgs.builder()
.resourceGroupName("string")
.resourceName("string")
.privateEndpoint(PrivateEndpointArgs.builder()
.id("string")
.build())
.privateEndpointConnectionName("string")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("string")
.description("string")
.status("string")
.build())
.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
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 resource.
- Private
Endpoint Pulumi.Azure Native. Signal RService. Inputs. Private Endpoint - Private endpoint
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- Private
Link Pulumi.Service Connection State Azure Native. Signal RService. Inputs. Private Link Service Connection State - Connection state of the private endpoint connection
- 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
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- Private
Link PrivateService Connection State Link Service Connection State Args - Connection state of the private endpoint connection
- 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
- private
Endpoint StringConnection Name - The name of the private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - Connection state of the private endpoint connection
- 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
- private
Endpoint stringConnection Name - The name of the private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - Connection state of the private endpoint connection
- 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
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection
- private_
link_ Privateservice_ connection_ state Link Service Connection State Args - Connection state of the private endpoint connection
- 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
- private
Endpoint StringConnection Name - The name of the private endpoint connection
- private
Link Property MapService Connection State - Connection state of the private endpoint connection
Outputs
All input properties are implicitly available as output properties. Additionally, the SignalRPrivateEndpointConnection resource produces the following output properties:
- Group
Ids List<string> - Group IDs
- 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 resource.
- System
Data Pulumi.Azure Native. Signal RService. 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"
- Group
Ids []string - Group IDs
- 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 resource.
- 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"
- group
Ids List<String> - Group IDs
- 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 resource.
- 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"
- group
Ids string[] - Group IDs
- 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 resource.
- 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"
- group_
ids Sequence[str] - Group IDs
- 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 resource.
- 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"
- group
Ids List<String> - Group IDs
- 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 resource.
- 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. 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
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:signalrservice:SignalRPrivateEndpointConnection mysignalrservice.1fa229cd-bf3f-47f0-8c49-afb36723997e /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/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