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

NameDatatypeDescription
fqdnstextfield from the properties object
group_idtextfield from the properties object
private_link_resource_idtextfield from the properties object
provisioning_statetextfield from the properties object
request_messagetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
sharedPrivateLinkResourceNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionIdGet the specified shared private link resource
listSELECTresourceGroupName, resourceName, subscriptionIdList shared private link resources
create_or_updateINSERTresourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionIdCreate or update a shared private link resource
deleteDELETEresourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionIdDelete the specified shared private link resource

SELECT examples

List shared private link resources

SELECT
fqdns,
group_id,
private_link_resource_id,
provisioning_state,
request_message,
resourceGroupName,
resourceName,
sharedPrivateLinkResourceName,
status,
subscriptionId
FROM azure.web_pubsub.vw_shared_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new shared_private_link_resources resource.

/*+ create */
INSERT INTO azure.web_pubsub.shared_private_link_resources (
resourceGroupName,
resourceName,
sharedPrivateLinkResourceName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ sharedPrivateLinkResourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified shared_private_link_resources resource.

/*+ delete */
DELETE FROM azure.web_pubsub.shared_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}'
AND subscriptionId = '{{ subscriptionId }}';