Skip to main content

private_link_resources

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

Overview

Nameprivate_link_resources
TypeResource
Idazure.iot_hub.private_link_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
groupIdstringThe group id.
requiredMembersarrayThe required members for a specific group id.
requiredZoneNamesarrayThe required DNS zones for a specific group id.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, resource_name, group_id, subscription_idGet the specified private link resource. Get the specified private link resource for the given IotHub.
listselectresource_group_name, resource_name, subscription_idList private link resources. List private link resources for the given IotHub.

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
group_idstringThe name of the private link resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the IoT Hub. Required.
subscription_idstring

SELECT examples

Get the specified private link resource. Get the specified private link resource for the given IotHub.

SELECT
id,
name,
groupId,
requiredMembers,
requiredZoneNames,
type
FROM azure.iot_hub.private_link_resources
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND group_id = '{{ group_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;