MockableSecurityCenterArmClient.GetInformationProtectionPolicyAsync Method

Definition

Details of the information protection policy.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource>> GetInformationProtectionPolicyAsync(Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName informationProtectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetInformationProtectionPolicyAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource>>
override this.GetInformationProtectionPolicyAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource>>
Public Overridable Function GetInformationProtectionPolicyAsync (scope As ResourceIdentifier, informationProtectionPolicyName As InformationProtectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of InformationProtectionPolicyResource))

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

informationProtectionPolicyName
InformationProtectionPolicyName

Name of the information protection policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to