InformationProtectionPolicies interface

Interface representing a InformationProtectionPolicies.

Methods

createOrUpdate(string, string, InformationProtectionPolicy, InformationProtectionPoliciesCreateOrUpdateOptionalParams)

Details of the information protection policy.

get(string, string, InformationProtectionPoliciesGetOptionalParams)

Details of the information protection policy.

list(string, InformationProtectionPoliciesListOptionalParams)

Information protection policies of a specific management group.

Method Details

createOrUpdate(string, string, InformationProtectionPolicy, InformationProtectionPoliciesCreateOrUpdateOptionalParams)

Details of the information protection policy.

function createOrUpdate(scope: string, informationProtectionPolicyName: string, informationProtectionPolicy: InformationProtectionPolicy, options?: InformationProtectionPoliciesCreateOrUpdateOptionalParams): Promise<InformationProtectionPolicy>

Parameters

scope

string

Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

informationProtectionPolicyName

string

Name of the information protection policy.

informationProtectionPolicy
InformationProtectionPolicy

Information protection policy.

Returns

get(string, string, InformationProtectionPoliciesGetOptionalParams)

Details of the information protection policy.

function get(scope: string, informationProtectionPolicyName: string, options?: InformationProtectionPoliciesGetOptionalParams): Promise<InformationProtectionPolicy>

Parameters

scope

string

Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

informationProtectionPolicyName

string

Name of the information protection policy.

options
InformationProtectionPoliciesGetOptionalParams

The options parameters.

Returns

list(string, InformationProtectionPoliciesListOptionalParams)

Information protection policies of a specific management group.

function list(scope: string, options?: InformationProtectionPoliciesListOptionalParams): PagedAsyncIterableIterator<InformationProtectionPolicy, InformationProtectionPolicy[], PageSettings>

Parameters

scope

string

Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

options
InformationProtectionPoliciesListOptionalParams

The options parameters.

Returns