Skip to main content

replica_shared_private_link_resources

Creates, updates, deletes, gets or lists a replica_shared_private_link_resources resource.

Overview

Namereplica_shared_private_link_resources
TypeResource
Idazure.web_pubsub.replica_shared_private_link_resources

Fields

The following fields are returned by SELECT queries:

Success. The response describes a shared private link resource.

NameDatatypeDescription
propertiesobjectDescribes the properties of an existing Shared Private Link Resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceNameGet the specified shared private link resource
listselectsubscriptionId, resourceGroupName, resourceName, replicaNameList shared private link resources
create_or_updateinsertsubscriptionId, resourceGroupName, resourceName, replicaName, sharedPrivateLinkResourceNameCreate or update a shared private link resource

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
replicaNamestringThe name of the replica.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
resourceNamestringThe name of the resource.
sharedPrivateLinkResourceNamestringThe name of the shared private link resource.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get the specified shared private link resource

SELECT
properties
FROM azure.web_pubsub.replica_shared_private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND replicaName = '{{ replicaName }}' -- required
AND sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}' -- required
;

INSERT examples

Create or update a shared private link resource

INSERT INTO azure.web_pubsub.replica_shared_private_link_resources (
data__properties,
subscriptionId,
resourceGroupName,
resourceName,
replicaName,
sharedPrivateLinkResourceName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ replicaName }}',
'{{ sharedPrivateLinkResourceName }}'
RETURNING
properties
;