private_link_resources
Creates, updates, deletes, gets or lists a private_link_resources resource.
Overview
| Name | private_link_resources |
| Type | Resource |
| Id | azure.monitor.private_link_resources |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_private_link_scope
Successfully retrieved a specified private link resource.
| Name | Datatype | Description |
|---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
location | string | Resource location |
properties | object | Resource properties. |
tags | | Resource tags |
type | string | Azure resource type |
Successfully retrieved private link resources.
| Name | Datatype | Description |
|---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
location | string | Resource location |
properties | object | Resource properties. |
tags | | Resource tags |
type | string | Azure resource type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, scopeName, groupName | Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. | |
list_by_private_link_scope | select | subscriptionId, resourceGroupName, scopeName | Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. |
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.
| Name | Datatype | Description |
|---|---|---|
groupName | string | The name of the private link resource. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
scopeName | string | The name of the Azure Monitor PrivateLinkScope resource. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- get
- list_by_private_link_scope
Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.monitor.private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND scopeName = '{{ scopeName }}' -- required
AND groupName = '{{ groupName }}' -- required
;
Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.monitor.private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND scopeName = '{{ scopeName }}' -- required
;