azure-native.signalrservice.SignalRSharedPrivateLinkResource
Explore with Pulumi AI
Describes a Shared Private Link Resource Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-04-01-preview.
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, 2024-10-01-preview.
Example Usage
SignalRSharedPrivateLinkResources_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var signalRSharedPrivateLinkResource = new AzureNative.SignalRService.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResource", new()
    {
        GroupId = "sites",
        PrivateLinkResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
        RequestMessage = "Please approve",
        ResourceGroupName = "myResourceGroup",
        ResourceName = "mySignalRService",
        SharedPrivateLinkResourceName = "upstream",
    });
});
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.NewSignalRSharedPrivateLinkResource(ctx, "signalRSharedPrivateLinkResource", &signalrservice.SignalRSharedPrivateLinkResourceArgs{
			GroupId:                       pulumi.String("sites"),
			PrivateLinkResourceId:         pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp"),
			RequestMessage:                pulumi.String("Please approve"),
			ResourceGroupName:             pulumi.String("myResourceGroup"),
			ResourceName:                  pulumi.String("mySignalRService"),
			SharedPrivateLinkResourceName: pulumi.String("upstream"),
		})
		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.SignalRSharedPrivateLinkResource;
import com.pulumi.azurenative.signalrservice.SignalRSharedPrivateLinkResourceArgs;
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 signalRSharedPrivateLinkResource = new SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResource", SignalRSharedPrivateLinkResourceArgs.builder()
            .groupId("sites")
            .privateLinkResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp")
            .requestMessage("Please approve")
            .resourceGroupName("myResourceGroup")
            .resourceName("mySignalRService")
            .sharedPrivateLinkResourceName("upstream")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const signalRSharedPrivateLinkResource = new azure_native.signalrservice.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResource", {
    groupId: "sites",
    privateLinkResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
    requestMessage: "Please approve",
    resourceGroupName: "myResourceGroup",
    resourceName: "mySignalRService",
    sharedPrivateLinkResourceName: "upstream",
});
import pulumi
import pulumi_azure_native as azure_native
signal_r_shared_private_link_resource = azure_native.signalrservice.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResource",
    group_id="sites",
    private_link_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
    request_message="Please approve",
    resource_group_name="myResourceGroup",
    resource_name_="mySignalRService",
    shared_private_link_resource_name="upstream")
resources:
  signalRSharedPrivateLinkResource:
    type: azure-native:signalrservice:SignalRSharedPrivateLinkResource
    properties:
      groupId: sites
      privateLinkResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp
      requestMessage: Please approve
      resourceGroupName: myResourceGroup
      resourceName: mySignalRService
      sharedPrivateLinkResourceName: upstream
Create SignalRSharedPrivateLinkResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SignalRSharedPrivateLinkResource(name: string, args: SignalRSharedPrivateLinkResourceArgs, opts?: CustomResourceOptions);@overload
def SignalRSharedPrivateLinkResource(resource_name: str,
                                     args: SignalRSharedPrivateLinkResourceArgs,
                                     opts: Optional[ResourceOptions] = None)
@overload
def SignalRSharedPrivateLinkResource(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     group_id: Optional[str] = None,
                                     private_link_resource_id: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     resource_name_: Optional[str] = None,
                                     request_message: Optional[str] = None,
                                     shared_private_link_resource_name: Optional[str] = None)func NewSignalRSharedPrivateLinkResource(ctx *Context, name string, args SignalRSharedPrivateLinkResourceArgs, opts ...ResourceOption) (*SignalRSharedPrivateLinkResource, error)public SignalRSharedPrivateLinkResource(string name, SignalRSharedPrivateLinkResourceArgs args, CustomResourceOptions? opts = null)
public SignalRSharedPrivateLinkResource(String name, SignalRSharedPrivateLinkResourceArgs args)
public SignalRSharedPrivateLinkResource(String name, SignalRSharedPrivateLinkResourceArgs args, CustomResourceOptions options)
type: azure-native:signalrservice:SignalRSharedPrivateLinkResource
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 SignalRSharedPrivateLinkResourceArgs
- 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 SignalRSharedPrivateLinkResourceArgs
- 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 SignalRSharedPrivateLinkResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SignalRSharedPrivateLinkResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SignalRSharedPrivateLinkResourceArgs
- 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 signalRSharedPrivateLinkResourceResource = new AzureNative.SignalRService.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResourceResource", new()
{
    GroupId = "string",
    PrivateLinkResourceId = "string",
    ResourceGroupName = "string",
    ResourceName = "string",
    RequestMessage = "string",
    SharedPrivateLinkResourceName = "string",
});
example, err := signalrservice.NewSignalRSharedPrivateLinkResource(ctx, "signalRSharedPrivateLinkResourceResource", &signalrservice.SignalRSharedPrivateLinkResourceArgs{
	GroupId:                       pulumi.String("string"),
	PrivateLinkResourceId:         pulumi.String("string"),
	ResourceGroupName:             pulumi.String("string"),
	ResourceName:                  pulumi.String("string"),
	RequestMessage:                pulumi.String("string"),
	SharedPrivateLinkResourceName: pulumi.String("string"),
})
var signalRSharedPrivateLinkResourceResource = new SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResourceResource", SignalRSharedPrivateLinkResourceArgs.builder()
    .groupId("string")
    .privateLinkResourceId("string")
    .resourceGroupName("string")
    .resourceName("string")
    .requestMessage("string")
    .sharedPrivateLinkResourceName("string")
    .build());
signal_r_shared_private_link_resource_resource = azure_native.signalrservice.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResourceResource",
    group_id="string",
    private_link_resource_id="string",
    resource_group_name="string",
    resource_name_="string",
    request_message="string",
    shared_private_link_resource_name="string")
const signalRSharedPrivateLinkResourceResource = new azure_native.signalrservice.SignalRSharedPrivateLinkResource("signalRSharedPrivateLinkResourceResource", {
    groupId: "string",
    privateLinkResourceId: "string",
    resourceGroupName: "string",
    resourceName: "string",
    requestMessage: "string",
    sharedPrivateLinkResourceName: "string",
});
type: azure-native:signalrservice:SignalRSharedPrivateLinkResource
properties:
    groupId: string
    privateLinkResourceId: string
    requestMessage: string
    resourceGroupName: string
    resourceName: string
    sharedPrivateLinkResourceName: string
SignalRSharedPrivateLinkResource 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 SignalRSharedPrivateLinkResource resource accepts the following input properties:
- GroupId string
- The group id from the provider of resource the shared private link resource is for
- PrivateLink stringResource Id 
- The resource id of the resource the shared private link resource is for
- ResourceGroup 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.
- ResourceName string
- The name of the resource.
- RequestMessage string
- The request message for requesting approval of the shared private link resource
- string
- The name of the shared private link resource
- GroupId string
- The group id from the provider of resource the shared private link resource is for
- PrivateLink stringResource Id 
- The resource id of the resource the shared private link resource is for
- ResourceGroup 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.
- ResourceName string
- The name of the resource.
- RequestMessage string
- The request message for requesting approval of the shared private link resource
- string
- The name of the shared private link resource
- groupId String
- The group id from the provider of resource the shared private link resource is for
- privateLink StringResource Id 
- The resource id of the resource the shared private link resource is for
- resourceGroup 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.
- resourceName String
- The name of the resource.
- requestMessage String
- The request message for requesting approval of the shared private link resource
- String
- The name of the shared private link resource
- groupId string
- The group id from the provider of resource the shared private link resource is for
- privateLink stringResource Id 
- The resource id of the resource the shared private link resource is for
- resourceGroup 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.
- resourceName string
- The name of the resource.
- requestMessage string
- The request message for requesting approval of the shared private link resource
- string
- The name of the shared private link resource
- group_id str
- The group id from the provider of resource the shared private link resource is for
- private_link_ strresource_ id 
- The resource id of the resource the shared private link resource is for
- 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.
- request_message str
- The request message for requesting approval of the shared private link resource
- str
- The name of the shared private link resource
- groupId String
- The group id from the provider of resource the shared private link resource is for
- privateLink StringResource Id 
- The resource id of the resource the shared private link resource is for
- resourceGroup 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.
- resourceName String
- The name of the resource.
- requestMessage String
- The request message for requesting approval of the shared private link resource
- String
- The name of the shared private link resource
Outputs
All input properties are implicitly available as output properties. Additionally, the SignalRSharedPrivateLinkResource 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 resource.
- Status string
- Status of the shared private link resource
- SystemData 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- ProvisioningState string
- Provisioning state of the resource.
- Status string
- Status of the shared private link resource
- SystemData 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.
- provisioningState String
- Provisioning state of the resource.
- status String
- Status of the shared private link resource
- systemData 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.
- provisioningState string
- Provisioning state of the resource.
- status string
- Status of the shared private link resource
- systemData 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 resource.
- status str
- Status of the shared private link 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- provisioningState String
- Provisioning state of the resource.
- status String
- Status of the shared private link resource
- 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
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:signalrservice:SignalRSharedPrivateLinkResource upstream /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0