Skip to main content

shared_private_link_resources

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

Overview

Nameshared_private_link_resources
TypeResource
Idazure.web_pubsub.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
getselectsharedPrivateLinkResourceName, subscriptionId, resourceGroupName, resourceNameGet the specified shared private link resource
listselectsubscriptionId, resourceGroupName, resourceNameList shared private link resources
create_or_updateinsertsharedPrivateLinkResourceName, subscriptionId, resourceGroupName, resourceNameCreate or update a shared private link resource
deletedeletesharedPrivateLinkResourceName, subscriptionId, resourceGroupName, resourceNameDelete the specified 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
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.shared_private_link_resources
WHERE sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;

INSERT examples

Create or update a shared private link resource

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

DELETE examples

Delete the specified shared private link resource

DELETE FROM azure.web_pubsub.shared_private_link_resources
WHERE sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND resourceName = '{{ resourceName }}' --required
;