Bagikan melalui


PreRulestackRuleCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/preRules/{priority}
  • Operation Id: PreRules_Get
public virtual Azure.Response<bool> Exists (string priority, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (priority As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

priority
String

Pre Rule priority.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

priority is an empty string, and was expected to be non-empty.

priority is null.

Applies to