SecurityCenterExtensions.GetInformationProtectionPoliciesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
client
is null.