information_protection_policies
Creates, updates, deletes, gets or lists a information_protection_policies
resource.
Overview
Name | information_protection_policies |
Type | Resource |
Id | azure.security.information_protection_policies |
Fields
- vw_information_protection_policies
- information_protection_policies
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
informationProtectionPolicyName | text | field from the properties object |
information_types | text | field from the properties object |
labels | text | field from the properties object |
last_modified_utc | text | field from the properties object |
scope | text | field from the properties object |
type | text | Resource type |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
properties | object | describes properties of an information protection policy. |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | informationProtectionPolicyName, scope | Details of the information protection policy. |
list | SELECT | scope | Information protection policies of a specific management group. |
create_or_update | INSERT | informationProtectionPolicyName, scope | Details of the information protection policy. |
SELECT
examples
Information protection policies of a specific management group.
- vw_information_protection_policies
- information_protection_policies
SELECT
id,
name,
informationProtectionPolicyName,
information_types,
labels,
last_modified_utc,
scope,
type,
version
FROM azure.security.vw_information_protection_policies
WHERE scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.security.information_protection_policies
WHERE scope = '{{ scope }}';
INSERT
example
Use the following StackQL query and manifest file to create a new information_protection_policies
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.security.information_protection_policies (
informationProtectionPolicyName,
scope,
properties
)
SELECT
'{{ informationProtectionPolicyName }}',
'{{ scope }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: lastModifiedUtc
value: string
- name: version
value: string
- name: labels
value: object
- name: informationTypes
value: object
- name: id
value: string
- name: name
value: string
- name: type
value: string