Skip to main content

information_protection_policies

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

Overview

Nameinformation_protection_policies
TypeResource
Idazure.security.information_protection_policies

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
informationProtectionPolicyNametextfield from the properties object
information_typestextfield from the properties object
labelstextfield from the properties object
last_modified_utctextfield from the properties object
scopetextfield from the properties object
typetextResource type
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTinformationProtectionPolicyName, scopeDetails of the information protection policy.
listSELECTscopeInformation protection policies of a specific management group.
create_or_updateINSERTinformationProtectionPolicyName, scopeDetails of the information protection policy.

SELECT examples

Information protection policies of a specific management group.

SELECT
id,
name,
informationProtectionPolicyName,
information_types,
labels,
last_modified_utc,
scope,
type,
version
FROM azure.security.vw_information_protection_policies
WHERE scope = '{{ scope }}';

INSERT example

Use the following StackQL query and manifest file to create a new information_protection_policies resource.

/*+ create */
INSERT INTO azure.security.information_protection_policies (
informationProtectionPolicyName,
scope,
properties
)
SELECT
'{{ informationProtectionPolicyName }}',
'{{ scope }}',
'{{ properties }}'
;