1. Packages
  2. Azure Native v1
  3. API Docs
  4. webpubsub
  5. WebPubSubSharedPrivateLinkResource
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.webpubsub.WebPubSubSharedPrivateLinkResource

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Describes a Shared Private Link Resource API Version: 2021-04-01-preview.

    Example Usage

    WebPubSubSharedPrivateLinkResources_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var webPubSubSharedPrivateLinkResource = new AzureNative.WebPubSub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResource", new()
        {
            GroupId = "sites",
            PrivateLinkResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
            RequestMessage = "Please approve",
            ResourceGroupName = "myResourceGroup",
            ResourceName = "myWebPubSubService",
            SharedPrivateLinkResourceName = "upstream",
        });
    
    });
    
    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.NewWebPubSubSharedPrivateLinkResource(ctx, "webPubSubSharedPrivateLinkResource", &webpubsub.WebPubSubSharedPrivateLinkResourceArgs{
    			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("myWebPubSubService"),
    			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.webpubsub.WebPubSubSharedPrivateLinkResource;
    import com.pulumi.azurenative.webpubsub.WebPubSubSharedPrivateLinkResourceArgs;
    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 webPubSubSharedPrivateLinkResource = new WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResource", WebPubSubSharedPrivateLinkResourceArgs.builder()        
                .groupId("sites")
                .privateLinkResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp")
                .requestMessage("Please approve")
                .resourceGroupName("myResourceGroup")
                .resourceName("myWebPubSubService")
                .sharedPrivateLinkResourceName("upstream")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    web_pub_sub_shared_private_link_resource = azure_native.webpubsub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResource",
        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_="myWebPubSubService",
        shared_private_link_resource_name="upstream")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const webPubSubSharedPrivateLinkResource = new azure_native.webpubsub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResource", {
        groupId: "sites",
        privateLinkResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
        requestMessage: "Please approve",
        resourceGroupName: "myResourceGroup",
        resourceName: "myWebPubSubService",
        sharedPrivateLinkResourceName: "upstream",
    });
    
    resources:
      webPubSubSharedPrivateLinkResource:
        type: azure-native:webpubsub:WebPubSubSharedPrivateLinkResource
        properties:
          groupId: sites
          privateLinkResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp
          requestMessage: Please approve
          resourceGroupName: myResourceGroup
          resourceName: myWebPubSubService
          sharedPrivateLinkResourceName: upstream
    

    Create WebPubSubSharedPrivateLinkResource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebPubSubSharedPrivateLinkResource(name: string, args: WebPubSubSharedPrivateLinkResourceArgs, opts?: CustomResourceOptions);
    @overload
    def WebPubSubSharedPrivateLinkResource(resource_name: str,
                                           args: WebPubSubSharedPrivateLinkResourceArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebPubSubSharedPrivateLinkResource(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 NewWebPubSubSharedPrivateLinkResource(ctx *Context, name string, args WebPubSubSharedPrivateLinkResourceArgs, opts ...ResourceOption) (*WebPubSubSharedPrivateLinkResource, error)
    public WebPubSubSharedPrivateLinkResource(string name, WebPubSubSharedPrivateLinkResourceArgs args, CustomResourceOptions? opts = null)
    public WebPubSubSharedPrivateLinkResource(String name, WebPubSubSharedPrivateLinkResourceArgs args)
    public WebPubSubSharedPrivateLinkResource(String name, WebPubSubSharedPrivateLinkResourceArgs args, CustomResourceOptions options)
    
    type: azure-native:webpubsub:WebPubSubSharedPrivateLinkResource
    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 WebPubSubSharedPrivateLinkResourceArgs
    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 WebPubSubSharedPrivateLinkResourceArgs
    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 WebPubSubSharedPrivateLinkResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebPubSubSharedPrivateLinkResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebPubSubSharedPrivateLinkResourceArgs
    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 webPubSubSharedPrivateLinkResourceResource = new AzureNative.Webpubsub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResourceResource", new()
    {
        GroupId = "string",
        PrivateLinkResourceId = "string",
        ResourceGroupName = "string",
        ResourceName = "string",
        RequestMessage = "string",
        SharedPrivateLinkResourceName = "string",
    });
    
    example, err := webpubsub.NewWebPubSubSharedPrivateLinkResource(ctx, "webPubSubSharedPrivateLinkResourceResource", &webpubsub.WebPubSubSharedPrivateLinkResourceArgs{
    	GroupId:                       "string",
    	PrivateLinkResourceId:         "string",
    	ResourceGroupName:             "string",
    	ResourceName:                  "string",
    	RequestMessage:                "string",
    	SharedPrivateLinkResourceName: "string",
    })
    
    var webPubSubSharedPrivateLinkResourceResource = new WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResourceResource", WebPubSubSharedPrivateLinkResourceArgs.builder()
        .groupId("string")
        .privateLinkResourceId("string")
        .resourceGroupName("string")
        .resourceName("string")
        .requestMessage("string")
        .sharedPrivateLinkResourceName("string")
        .build());
    
    web_pub_sub_shared_private_link_resource_resource = azure_native.webpubsub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResourceResource",
        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 webPubSubSharedPrivateLinkResourceResource = new azure_native.webpubsub.WebPubSubSharedPrivateLinkResource("webPubSubSharedPrivateLinkResourceResource", {
        groupId: "string",
        privateLinkResourceId: "string",
        resourceGroupName: "string",
        resourceName: "string",
        requestMessage: "string",
        sharedPrivateLinkResourceName: "string",
    });
    
    type: azure-native:webpubsub:WebPubSubSharedPrivateLinkResource
    properties:
        groupId: string
        privateLinkResourceId: string
        requestMessage: string
        resourceGroupName: string
        resourceName: string
        sharedPrivateLinkResourceName: string
    

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

    GroupId string
    The group id from the provider of resource the shared private link resource is for
    PrivateLinkResourceId string
    The resource id of the resource the shared private link resource is for
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    RequestMessage string
    The request message for requesting approval of the shared private link resource
    SharedPrivateLinkResourceName 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
    PrivateLinkResourceId string
    The resource id of the resource the shared private link resource is for
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    RequestMessage string
    The request message for requesting approval of the shared private link resource
    SharedPrivateLinkResourceName 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
    privateLinkResourceId String
    The resource id of the resource the shared private link resource is for
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.
    requestMessage String
    The request message for requesting approval of the shared private link resource
    sharedPrivateLinkResourceName 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
    privateLinkResourceId string
    The resource id of the resource the shared private link resource is for
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName string
    The name of the resource.
    requestMessage string
    The request message for requesting approval of the shared private link resource
    sharedPrivateLinkResourceName 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_resource_id str
    The resource id of the resource the shared private link resource is for
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resource_name str
    The name of the resource.
    request_message str
    The request message for requesting approval of the shared private link resource
    shared_private_link_resource_name 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
    privateLinkResourceId String
    The resource id of the resource the shared private link resource is for
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.
    requestMessage String
    The request message for requesting approval of the shared private link resource
    sharedPrivateLinkResourceName String
    The name of the shared private link resource

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebPubSubSharedPrivateLinkResource 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 shared private link resource
    Status string
    Status of the shared private link resource
    SystemData Pulumi.AzureNative.WebPubSub.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    Provisioning state of the shared private link resource
    Status string
    Status of the shared private link resource
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Provisioning state of the shared private link resource
    status String
    Status of the shared private link resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    Provisioning state of the shared private link resource
    status string
    Status of the shared private link resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    Provisioning state of the shared private link resource
    status str
    Status of the shared private link resource
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Provisioning state of the shared private link 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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:webpubsub:WebPubSubSharedPrivateLinkResource upstream /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream 
    

    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi