InformationProtectionPolicyCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

  • Request Path. : /{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}.
  • Operation Id. : InformationProtectionPolicies_Get.
  • Default Api Version. : 2017-08-01-preview.
public virtual Azure.Response<bool> Exists(Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName informationProtectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (informationProtectionPolicyName As InformationProtectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

informationProtectionPolicyName
InformationProtectionPolicyName

Name of the information protection policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to