Skip to main content

private_link_resources

Creates, updates, deletes, gets or lists a private_link_resources resource.

Overview

Nameprivate_link_resources
TypeResource
Idazure.digital_twins.private_link_resources

Fields

The following fields are returned by SELECT queries:

The body contains the specified of private link resource.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name. (pattern: ^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$)
propertiesobjectThe group information properties.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, resourceName, resourceIdapi-versionGet the specified private link resource for the given Digital Twin.
listselectsubscriptionId, resourceGroupName, resourceNameapi-versionList private link resources for given Digital Twin.

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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group that contains the DigitalTwinsInstance.
resourceIdstringThe name of the private link resource.
resourceNamestringThe name of the DigitalTwinsInstance.
subscriptionIdstringThe subscription identifier.
api-versionstringVersion of the DigitalTwinsInstance Management API.

SELECT examples

Get the specified private link resource for the given Digital Twin.

SELECT
id,
name,
properties,
type
FROM azure.digital_twins.private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND resourceId = '{{ resourceId }}' -- required
AND api-version = '{{ api-version }}'
;