Skip to main content

workspace_policy_fragment_references

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

Overview

Nameworkspace_policy_fragment_references
TypeResource
Idazure.api_management.workspace_policy_fragment_references

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
listSELECTid, resourceGroupName, serviceName, subscriptionId, workspaceIdLists policy resources that reference the policy fragment.

SELECT examples

Lists policy resources that reference the policy fragment.

SELECT
id,
name,
systemData,
type
FROM azure.api_management.workspace_policy_fragment_references
WHERE id = '{{ id }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceId = '{{ workspaceId }}';