MockableSecurityCenterArmClient.GetInformationProtectionPolicy Method

Definition

Details of the information protection policy.

public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource> GetInformationProtectionPolicy(Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName informationProtectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetInformationProtectionPolicy : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource>
override this.GetInformationProtectionPolicy : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.InformationProtectionPolicyResource>
Public Overridable Function GetInformationProtectionPolicy (scope As ResourceIdentifier, informationProtectionPolicyName As InformationProtectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As 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