Skip to main content

private_link_resources

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

Overview

Nameprivate_link_resources
TypeResource
Idazure.azure_active_directory.private_link_resources

Fields

The following fields are returned by SELECT queries:

Successfully retrieved a specified private link resource.

NameDatatypeDescription
idstringThe unique resource identifier of the Azure AD PrivateLink Policy.
namestringThe name of the Azure AD PrivateLink Policy.
propertiesobjectResource properties.
typestringThe type of Azure resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, policyName, groupNameGets the private link resources that need to be created for a policy of AzureAD.
list_by_private_link_policyselectsubscriptionId, resourceGroupName, policyNameGets the private link resources that need to be created for a policy of AzureAD.

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
groupNamestringThe name of the private link resource.
policyNamestringThe name of the private link policy in Azure AD.
resourceGroupNamestringName of an Azure resource group.
subscriptionIdstringAzure subscription ID.

SELECT examples

Gets the private link resources that need to be created for a policy of AzureAD.

SELECT
id,
name,
properties,
type
FROM azure.azure_active_directory.private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND policyName = '{{ policyName }}' -- required
AND groupName = '{{ groupName }}' -- required
;