private_link_scopes
Creates, updates, deletes, gets or lists a private_link_scopes
resource.
Overview
Name | private_link_scopes |
Type | Resource |
Id | azure.monitor.private_link_scopes |
Fields
- vw_private_link_scopes
- private_link_scopes
Name | Datatype | Description |
---|---|---|
access_mode_settings | text | field from the properties object |
location | text | The geo-location where the resource lives |
private_endpoint_connections | 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 |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties that define a Azure Monitor PrivateLinkScope resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, scopeName, subscriptionId | Returns a Azure Monitor PrivateLinkScope. |
list | SELECT | subscriptionId | Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets a list of Azure Monitor PrivateLinkScopes within a resource group. |
create_or_update | INSERT | resourceGroupName, scopeName, subscriptionId, data__properties | Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. |
delete | DELETE | resourceGroupName, scopeName, subscriptionId | Deletes a Azure Monitor PrivateLinkScope. |
update_tags | EXEC | resourceGroupName, scopeName, subscriptionId | Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. |
SELECT
examples
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
- vw_private_link_scopes
- private_link_scopes
SELECT
access_mode_settings,
location,
private_endpoint_connections,
provisioning_state,
resourceGroupName,
scopeName,
subscriptionId,
system_data,
tags
FROM azure.monitor.vw_private_link_scopes
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
systemData,
tags
FROM azure.monitor.private_link_scopes
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_link_scopes
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.monitor.private_link_scopes (
resourceGroupName,
scopeName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ scopeName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: privateEndpointConnections
value:
- - name: properties
value:
- name: groupIds
value:
- string
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: []
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- 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
- name: accessModeSettings
value:
- name: queryAccessMode
value: []
- name: exclusions
value:
- - name: privateEndpointConnectionName
value: string
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified private_link_scopes
resource.
/*+ delete */
DELETE FROM azure.monitor.private_link_scopes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scopeName = '{{ scopeName }}'
AND subscriptionId = '{{ subscriptionId }}';