InformationProtectionPolicyCollection.ExistsAsync 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 System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync(Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName informationProtectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (informationProtectionPolicyName As InformationProtectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

informationProtectionPolicyName
InformationProtectionPolicyName

Name of the information protection policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to