Skip to main content

workspace_private_link_resources

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

Overview

Nameworkspace_private_link_resources
TypeResource
Idazure.discovery.workspace_private_link_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
groupIdstringThe private link resource group id.
requiredMembersarrayThe private link resource required member names.
requiredZoneNamesarrayThe private link resource private link DNS zone name.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, workspace_name, private_link_resource_name, subscription_idGets the specified private link resource for the workspace.
list_by_workspaceselectresource_group_name, workspace_name, subscription_idLists all private link resources for the workspace.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the Workspace. Required.

SELECT examples

Gets the specified private link resource for the workspace.

SELECT
id,
name,
groupId,
requiredMembers,
requiredZoneNames,
systemData,
type
FROM azure.discovery.workspace_private_link_resources
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND private_link_resource_name = '{{ private_link_resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;