Share via


SecurityCenterExtensions.GetInformationProtectionPoliciesAsync Method

Definition

Information protection policies of a specific management group.

  • Request Path: /{scope}/providers/Microsoft.Security/informationProtectionPolicies
  • Operation Id: InformationProtectionPolicies_List
  • Default Api Version: 2017-08-01-preview
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy> GetInformationProtectionPoliciesAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetInformationProtectionPoliciesAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy>
<Extension()>
Public Function GetInformationProtectionPoliciesAsync (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InformationProtectionPolicy)

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to