InformationProtectionPolicies Interface

public interface InformationProtectionPolicies

Resource collection API of InformationProtectionPolicies.

Method Summary

Modifier and Type Method and Description
abstract Blank define(InformationProtectionPolicyName name)

Begins definition for a new InformationProtectionPolicy resource.

abstract InformationProtectionPolicy get(String scope, InformationProtectionPolicyName informationProtectionPolicyName)

Details of the information protection policy.

abstract InformationProtectionPolicy getById(String id)

Details of the information protection policy.

abstract Response<InformationProtectionPolicy> getByIdWithResponse(String id, Context context)

Details of the information protection policy.

abstract Response<InformationProtectionPolicy> getWithResponse(String scope, InformationProtectionPolicyName informationProtectionPolicyName, Context context)

Details of the information protection policy.

abstract PagedIterable<InformationProtectionPolicy> list(String scope)

Information protection policies of a specific management group.

abstract PagedIterable<InformationProtectionPolicy> list(String scope, Context context)

Information protection policies of a specific management group.

Method Details

define

public abstract InformationProtectionPolicy.DefinitionStages.Blank define(InformationProtectionPolicyName name)

Begins definition for a new InformationProtectionPolicy resource.

Parameters:

name - resource name.

Returns:

the first stage of the new InformationProtectionPolicy definition.

get

public abstract InformationProtectionPolicy get(String scope, InformationProtectionPolicyName informationProtectionPolicyName)

Details of the information protection policy.

Parameters:

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

Returns:

information protection policy.

getById

public abstract InformationProtectionPolicy getById(String id)

Details of the information protection policy.

Parameters:

id - the resource ID.

Returns:

information protection policy along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Details of the information protection policy.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

information protection policy along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String scope, InformationProtectionPolicyName informationProtectionPolicyName, Context context)

Details of the information protection policy.

Parameters:

scope - Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
informationProtectionPolicyName - Name of the information protection policy.
context - The context to associate with this operation.

Returns:

information protection policy along with Response<T>.

list

public abstract PagedIterable list(String scope)

Information protection policies of a specific management group.

Parameters:

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

Returns:

information protection policies response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String scope, Context context)

Information protection policies of a specific management group.

Parameters:

scope - Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
context - The context to associate with this operation.

Returns:

information protection policies response as paginated response with PagedIterable<T>.

Applies to