Skip to main content

data_policy_manifests

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

Overview

Namedata_policy_manifests
TypeResource
Idazure.resource.data_policy_manifests

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.
effectsarrayThe effect definition.
fieldValuesarrayThe non-alias field accessor values that can be used in the policy rule.
isBuiltInOnlybooleanA value indicating whether policy mode is allowed only in built-in definitions.
namespacesarrayThe list of namespaces for the data policy manifest.
policyModestringThe policy mode of the data policy manifest.
resourceFunctionsobjectThe resource functions definition specified in the data manifest.
resourceTypeAliasesarrayAn array of resource type aliases.
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
get_by_policy_modeselectpolicy_modeRetrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.
listselect$filterRetrieves data policy manifests. This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.

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
policy_modestringThe policy mode of the data policy manifest to get. Required.
$filterstringThe filter to apply on the operation. Valid values for $filter are: "namespace eq '{value}'". If $filter is not provided, no filtering is performed. If $filter=namespace eq '{value}' is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value. Default value is None.

SELECT examples

Retrieves a data policy manifest. This operation retrieves the data policy manifest with the given policy mode.

SELECT
id,
name,
effects,
fieldValues,
isBuiltInOnly,
namespaces,
policyMode,
resourceFunctions,
resourceTypeAliases,
systemData,
type
FROM azure.resource.data_policy_manifests
WHERE policy_mode = '{{ policy_mode }}' -- required
;