azure-native-v2.webpubsub.WebPubSubSharedPrivateLinkResource
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.
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
This property is required. string - The unique name of the resource.
- args
This property is required. WebPubSubSharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. WebPubSubSharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WebPubSubSharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WebPubSubSharedPrivateLinkResource resource accepts the following input properties:
- Group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for
- Private
Link Resource Id This property is required. string - The resource id of the resource the shared private link resource is for
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- Request
Message string - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- The name of the shared private link resource
- Group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for
- Private
Link Resource Id This property is required. string - The resource id of the resource the shared private link resource is for
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- Request
Message string - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- The name of the shared private link resource
- group
Id This property is required. String - The group id from the provider of resource the shared private link resource is for
- private
Link Resource Id This property is required. String - The resource id of the resource the shared private link resource is for
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- request
Message String - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- The name of the shared private link resource
- group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for
- private
Link Resource Id This property is required. string - The resource id of the resource the shared private link resource is for
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- request
Message string - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- The name of the shared private link resource
- group_
id This property is required. str - The group id from the provider of resource the shared private link resource is for
- private_
link_ resource_ id This property is required. str - The resource id of the resource the shared private link resource is for
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- request_
message str - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- The name of the shared private link resource
- group
Id This property is required. String - The group id from the provider of resource the shared private link resource is for
- private
Link Resource Id This property is required. String - The resource id of the resource the shared private link resource is for
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The name of the resource.
- request
Message String - The request message for requesting approval of the shared private link resource
Changes to this property will trigger replacement.
- 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.
- Provisioning
State string - Provisioning state of the resource.
- Status string
- Status of the shared private link resource
- System
Data Pulumi.Azure Native. Web Pub Sub. 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.
- Provisioning
State string - Provisioning state of the resource.
- Status string
- Status of the shared private link 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"
- 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.
- status String
- Status of the shared private link 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"
- 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.
- status string
- Status of the shared private link 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"
- 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.
- provisioning
State String - Provisioning state of the resource.
- status String
- Status of the shared private link 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
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:webpubsub:WebPubSubSharedPrivateLinkResource upstream /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0