InformationProtectionPolicies interface
Interface representing a InformationProtectionPolicies.
Methods
create |
Details of the information protection policy. |
get(string, string, Information |
Details of the information protection policy. |
list(string, Information |
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.
The options parameters.
Returns
Promise<InformationProtectionPolicy>
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.
The options parameters.
Returns
Promise<InformationProtectionPolicy>
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).
The options parameters.