private_link_scoped_resources
Creates, updates, deletes, gets or lists a private_link_scoped_resources
resource.
Overview
Name | private_link_scoped_resources |
Type | Resource |
Id | azure.monitor.private_link_scoped_resources |
Fields
- vw_private_link_scoped_resources
- private_link_scoped_resources
Name | Datatype | Description |
---|---|---|
id | text | Azure resource Id |
name | text | Azure resource name |
linked_resource_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scopeName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Azure resource type |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Properties of a private link scoped resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Azure resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, scopeName, subscriptionId | Gets a scoped resource in a private link scope. |
list_by_private_link_scope | SELECT | resourceGroupName, scopeName, subscriptionId | Gets all private endpoint connections on a private link scope. |
create_or_update | INSERT | name, resourceGroupName, scopeName, subscriptionId | Approve or reject a private endpoint connection with a given name. |
delete | DELETE | name, resourceGroupName, scopeName, subscriptionId | Deletes a private endpoint connection with a given name. |
SELECT
examples
Gets all private endpoint connections on a private link scope.
- vw_private_link_scoped_resources
- private_link_scoped_resources
SELECT
id,
name,
linked_resource_id,
provisioning_state,
resourceGroupName,
scopeName,
subscriptionId,
system_data,
type
FROM azure.monitor.vw_private_link_scoped_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.monitor.private_link_scoped_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_link_scoped_resources
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.monitor.private_link_scoped_resources (
name,
resourceGroupName,
scopeName,
subscriptionId,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ scopeName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: linkedResourceId
value: string
- name: provisioningState
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
DELETE
example
Deletes the specified private_link_scoped_resources
resource.
/*+ delete */
DELETE FROM azure.monitor.private_link_scoped_resources
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
AND subscriptionId = '{{ subscriptionId }}';