We recommend using Azure Native.
azure.webpubsub.SharedPrivateLinkResource
Explore with Pulumi AI
Manages the Shared Private Link Resource for a Web Pubsub service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const current = azure.core.getClientConfig({});
const example = new azure.core.ResourceGroup("example", {
name: "terraform-webpubsub",
location: "east us",
});
const exampleKeyVault = new azure.keyvault.KeyVault("example", {
name: "examplekeyvault",
location: example.location,
resourceGroupName: example.name,
tenantId: current.then(current => current.tenantId),
skuName: "standard",
softDeleteRetentionDays: 7,
accessPolicies: [{
tenantId: current.then(current => current.tenantId),
objectId: current.then(current => current.objectId),
certificatePermissions: ["managecontacts"],
keyPermissions: ["create"],
secretPermissions: ["set"],
}],
});
const exampleService = new azure.webpubsub.Service("example", {
name: "tfex-webpubsub",
location: example.location,
resourceGroupName: example.name,
sku: "Standard_S1",
capacity: 1,
});
const exampleSharedPrivateLinkResource = new azure.webpubsub.SharedPrivateLinkResource("example", {
name: "tfex-webpubsub-splr",
webPubsubId: exampleService.id,
subresourceName: "vault",
targetResourceId: exampleKeyVault.id,
});
import pulumi
import pulumi_azure as azure
current = azure.core.get_client_config()
example = azure.core.ResourceGroup("example",
name="terraform-webpubsub",
location="east us")
example_key_vault = azure.keyvault.KeyVault("example",
name="examplekeyvault",
location=example.location,
resource_group_name=example.name,
tenant_id=current.tenant_id,
sku_name="standard",
soft_delete_retention_days=7,
access_policies=[azure.keyvault.KeyVaultAccessPolicyArgs(
tenant_id=current.tenant_id,
object_id=current.object_id,
certificate_permissions=["managecontacts"],
key_permissions=["create"],
secret_permissions=["set"],
)])
example_service = azure.webpubsub.Service("example",
name="tfex-webpubsub",
location=example.location,
resource_group_name=example.name,
sku="Standard_S1",
capacity=1)
example_shared_private_link_resource = azure.webpubsub.SharedPrivateLinkResource("example",
name="tfex-webpubsub-splr",
web_pubsub_id=example_service.id,
subresource_name="vault",
target_resource_id=example_key_vault.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/webpubsub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("terraform-webpubsub"),
Location: pulumi.String("east us"),
})
if err != nil {
return err
}
exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
Name: pulumi.String("examplekeyvault"),
Location: example.Location,
ResourceGroupName: example.Name,
TenantId: pulumi.String(current.TenantId),
SkuName: pulumi.String("standard"),
SoftDeleteRetentionDays: pulumi.Int(7),
AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
&keyvault.KeyVaultAccessPolicyArgs{
TenantId: pulumi.String(current.TenantId),
ObjectId: pulumi.String(current.ObjectId),
CertificatePermissions: pulumi.StringArray{
pulumi.String("managecontacts"),
},
KeyPermissions: pulumi.StringArray{
pulumi.String("create"),
},
SecretPermissions: pulumi.StringArray{
pulumi.String("set"),
},
},
},
})
if err != nil {
return err
}
exampleService, err := webpubsub.NewService(ctx, "example", &webpubsub.ServiceArgs{
Name: pulumi.String("tfex-webpubsub"),
Location: example.Location,
ResourceGroupName: example.Name,
Sku: pulumi.String("Standard_S1"),
Capacity: pulumi.Int(1),
})
if err != nil {
return err
}
_, err = webpubsub.NewSharedPrivateLinkResource(ctx, "example", &webpubsub.SharedPrivateLinkResourceArgs{
Name: pulumi.String("tfex-webpubsub-splr"),
WebPubsubId: exampleService.ID(),
SubresourceName: pulumi.String("vault"),
TargetResourceId: exampleKeyVault.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var current = Azure.Core.GetClientConfig.Invoke();
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "terraform-webpubsub",
Location = "east us",
});
var exampleKeyVault = new Azure.KeyVault.KeyVault("example", new()
{
Name = "examplekeyvault",
Location = example.Location,
ResourceGroupName = example.Name,
TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
SkuName = "standard",
SoftDeleteRetentionDays = 7,
AccessPolicies = new[]
{
new Azure.KeyVault.Inputs.KeyVaultAccessPolicyArgs
{
TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
ObjectId = current.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
CertificatePermissions = new[]
{
"managecontacts",
},
KeyPermissions = new[]
{
"create",
},
SecretPermissions = new[]
{
"set",
},
},
},
});
var exampleService = new Azure.WebPubSub.Service("example", new()
{
Name = "tfex-webpubsub",
Location = example.Location,
ResourceGroupName = example.Name,
Sku = "Standard_S1",
Capacity = 1,
});
var exampleSharedPrivateLinkResource = new Azure.WebPubSub.SharedPrivateLinkResource("example", new()
{
Name = "tfex-webpubsub-splr",
WebPubsubId = exampleService.Id,
SubresourceName = "vault",
TargetResourceId = exampleKeyVault.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.keyvault.KeyVault;
import com.pulumi.azure.keyvault.KeyVaultArgs;
import com.pulumi.azure.keyvault.inputs.KeyVaultAccessPolicyArgs;
import com.pulumi.azure.webpubsub.Service;
import com.pulumi.azure.webpubsub.ServiceArgs;
import com.pulumi.azure.webpubsub.SharedPrivateLinkResource;
import com.pulumi.azure.webpubsub.SharedPrivateLinkResourceArgs;
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) {
final var current = CoreFunctions.getClientConfig();
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("terraform-webpubsub")
.location("east us")
.build());
var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
.name("examplekeyvault")
.location(example.location())
.resourceGroupName(example.name())
.tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
.skuName("standard")
.softDeleteRetentionDays(7)
.accessPolicies(KeyVaultAccessPolicyArgs.builder()
.tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
.objectId(current.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
.certificatePermissions("managecontacts")
.keyPermissions("create")
.secretPermissions("set")
.build())
.build());
var exampleService = new Service("exampleService", ServiceArgs.builder()
.name("tfex-webpubsub")
.location(example.location())
.resourceGroupName(example.name())
.sku("Standard_S1")
.capacity(1)
.build());
var exampleSharedPrivateLinkResource = new SharedPrivateLinkResource("exampleSharedPrivateLinkResource", SharedPrivateLinkResourceArgs.builder()
.name("tfex-webpubsub-splr")
.webPubsubId(exampleService.id())
.subresourceName("vault")
.targetResourceId(exampleKeyVault.id())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: terraform-webpubsub
location: east us
exampleKeyVault:
type: azure:keyvault:KeyVault
name: example
properties:
name: examplekeyvault
location: ${example.location}
resourceGroupName: ${example.name}
tenantId: ${current.tenantId}
skuName: standard
softDeleteRetentionDays: 7
accessPolicies:
- tenantId: ${current.tenantId}
objectId: ${current.objectId}
certificatePermissions:
- managecontacts
keyPermissions:
- create
secretPermissions:
- set
exampleService:
type: azure:webpubsub:Service
name: example
properties:
name: tfex-webpubsub
location: ${example.location}
resourceGroupName: ${example.name}
sku: Standard_S1
capacity: 1
exampleSharedPrivateLinkResource:
type: azure:webpubsub:SharedPrivateLinkResource
name: example
properties:
name: tfex-webpubsub-splr
webPubsubId: ${exampleService.id}
subresourceName: vault
targetResourceId: ${exampleKeyVault.id}
variables:
current:
fn::invoke:
Function: azure:core:getClientConfig
Arguments: {}
Create SharedPrivateLinkResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SharedPrivateLinkResource(name: string, args: SharedPrivateLinkResourceArgs, opts?: CustomResourceOptions);
@overload
def SharedPrivateLinkResource(resource_name: str,
args: SharedPrivateLinkResourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SharedPrivateLinkResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
subresource_name: Optional[str] = None,
target_resource_id: Optional[str] = None,
web_pubsub_id: Optional[str] = None,
name: Optional[str] = None,
request_message: Optional[str] = None)
func NewSharedPrivateLinkResource(ctx *Context, name string, args SharedPrivateLinkResourceArgs, opts ...ResourceOption) (*SharedPrivateLinkResource, error)
public SharedPrivateLinkResource(string name, SharedPrivateLinkResourceArgs args, CustomResourceOptions? opts = null)
public SharedPrivateLinkResource(String name, SharedPrivateLinkResourceArgs args)
public SharedPrivateLinkResource(String name, SharedPrivateLinkResourceArgs args, CustomResourceOptions options)
type: azure:webpubsub:SharedPrivateLinkResource
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 SharedPrivateLinkResourceArgs
- 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 SharedPrivateLinkResourceArgs
- 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 SharedPrivateLinkResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedPrivateLinkResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedPrivateLinkResourceArgs
- 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 azureSharedPrivateLinkResourceResource = new Azure.WebPubSub.SharedPrivateLinkResource("azureSharedPrivateLinkResourceResource", new()
{
SubresourceName = "string",
TargetResourceId = "string",
WebPubsubId = "string",
Name = "string",
RequestMessage = "string",
});
example, err := webpubsub.NewSharedPrivateLinkResource(ctx, "azureSharedPrivateLinkResourceResource", &webpubsub.SharedPrivateLinkResourceArgs{
SubresourceName: pulumi.String("string"),
TargetResourceId: pulumi.String("string"),
WebPubsubId: pulumi.String("string"),
Name: pulumi.String("string"),
RequestMessage: pulumi.String("string"),
})
var azureSharedPrivateLinkResourceResource = new SharedPrivateLinkResource("azureSharedPrivateLinkResourceResource", SharedPrivateLinkResourceArgs.builder()
.subresourceName("string")
.targetResourceId("string")
.webPubsubId("string")
.name("string")
.requestMessage("string")
.build());
azure_shared_private_link_resource_resource = azure.webpubsub.SharedPrivateLinkResource("azureSharedPrivateLinkResourceResource",
subresource_name="string",
target_resource_id="string",
web_pubsub_id="string",
name="string",
request_message="string")
const azureSharedPrivateLinkResourceResource = new azure.webpubsub.SharedPrivateLinkResource("azureSharedPrivateLinkResourceResource", {
subresourceName: "string",
targetResourceId: "string",
webPubsubId: "string",
name: "string",
requestMessage: "string",
});
type: azure:webpubsub:SharedPrivateLinkResource
properties:
name: string
requestMessage: string
subresourceName: string
targetResourceId: string
webPubsubId: string
SharedPrivateLinkResource 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 SharedPrivateLinkResource resource accepts the following input properties:
- Subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- Target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- Web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- Name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- Request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- Subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- Target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- Web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- Name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- Request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- subresource
Name String Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource StringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub StringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name String
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message String - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- subresource_
name str Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target_
resource_ strid Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web_
pubsub_ strid - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name str
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request_
message str - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- subresource
Name String Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource StringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub StringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name String
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message String - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedPrivateLinkResource resource produces the following output properties:
Look up Existing SharedPrivateLinkResource Resource
Get an existing SharedPrivateLinkResource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SharedPrivateLinkResourceState, opts?: CustomResourceOptions): SharedPrivateLinkResource
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
request_message: Optional[str] = None,
status: Optional[str] = None,
subresource_name: Optional[str] = None,
target_resource_id: Optional[str] = None,
web_pubsub_id: Optional[str] = None) -> SharedPrivateLinkResource
func GetSharedPrivateLinkResource(ctx *Context, name string, id IDInput, state *SharedPrivateLinkResourceState, opts ...ResourceOption) (*SharedPrivateLinkResource, error)
public static SharedPrivateLinkResource Get(string name, Input<string> id, SharedPrivateLinkResourceState? state, CustomResourceOptions? opts = null)
public static SharedPrivateLinkResource get(String name, Output<String> id, SharedPrivateLinkResourceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- Request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- Status string
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- Subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- Target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- Web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- Name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- Request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- Status string
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- Subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- Target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- Web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name String
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message String - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- status String
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- subresource
Name String Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource StringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub StringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name string
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message string - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- status string
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- subresource
Name string Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource stringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub stringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name str
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request_
message str - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- status str
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- subresource_
name str Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target_
resource_ strid Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web_
pubsub_ strid - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
- name String
- Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
- request
Message String - Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
- status String
- The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
- subresource
Name String Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
NOTE: The available sub resource can be retrieved by using
azure.webpubsub.getPrivateLinkResource
data source.- target
Resource StringId Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
NOTE: The sub resource name should match with the type of the target resource id that's being specified.
- web
Pubsub StringId - Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
Import
Web Pubsub Shared Private Link Resource can be imported using the resource id
, e.g.
$ pulumi import azure:webpubsub/sharedPrivateLinkResource:SharedPrivateLinkResource example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/webPubSub1/sharedPrivateLinkResources/resource1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.