shared_private_link_resources
Creates, updates, deletes, gets or lists a shared_private_link_resources
resource.
Overview
Name | shared_private_link_resources |
Type | Resource |
Id | azure.web_pubsub.shared_private_link_resources |
Fields
- vw_shared_private_link_resources
- shared_private_link_resources
Name | Datatype | Description |
---|---|---|
fqdns | text | field from the properties object |
group_id | text | field from the properties object |
private_link_resource_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
request_message | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
sharedPrivateLinkResourceName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Describes the properties of an existing Shared Private Link Resource |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionId | Get the specified shared private link resource |
list | SELECT | resourceGroupName, resourceName, subscriptionId | List shared private link resources |
create_or_update | INSERT | resourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionId | Create or update a shared private link resource |
delete | DELETE | resourceGroupName, resourceName, sharedPrivateLinkResourceName, subscriptionId | Delete the specified shared private link resource |
SELECT
examples
List shared private link resources
- vw_shared_private_link_resources
- 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 }}';
SELECT
properties
FROM azure.web_pubsub.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.web_pubsub.shared_private_link_resources (
resourceGroupName,
resourceName,
sharedPrivateLinkResourceName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ sharedPrivateLinkResourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: groupId
value: string
- name: privateLinkResourceId
value: string
- name: provisioningState
value: []
- name: requestMessage
value: string
- name: fqdns
value:
- string
- name: status
value: []
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 }}';