Skip to main content

information_protection_policies

Creates, updates, deletes, gets or lists an information_protection_policies resource.

Overview

Nameinformation_protection_policies
TypeResource
Idazure.security.information_protection_policies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectInformation protection policy data
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
getselectscope, informationProtectionPolicyNameapi-versionDetails of the information protection policy.
listselectscopeapi-versionInformation protection policies of a specific management group.
create_or_updateinsertscope, informationProtectionPolicyNameapi-versionDetails of the information protection policy.

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
informationProtectionPolicyNamestringName of the information protection policy.
scopestringThe scope of the standard assignment. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
api-versionstringAPI version for the operation

SELECT examples

Details of the information protection policy.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.information_protection_policies
WHERE scope = '{{ scope }}' -- required
AND informationProtectionPolicyName = '{{ informationProtectionPolicyName }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

Details of the information protection policy.

INSERT INTO azure.security.information_protection_policies (
data__properties,
scope,
informationProtectionPolicyName,
api-version
)
SELECT
'{{ properties }}',
'{{ scope }}',
'{{ informationProtectionPolicyName }}',
'{{ api-version }}'
RETURNING
id,
name,
properties,
systemData,
type
;