Share via


AccountOperationsExtensions.FirewallRuleExistsAsync Method

Definition

Gets the specified Data Lake Store firewall rule.

public static System.Threading.Tasks.Task<bool> FirewallRuleExistsAsync (this Microsoft.Azure.Management.DataLake.Store.IAccountOperations operations, string resourceGroupName, string accountName, string firewallRuleName, System.Threading.CancellationToken cancellationToken = default);
static member FirewallRuleExistsAsync : Microsoft.Azure.Management.DataLake.Store.IAccountOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function FirewallRuleExistsAsync (operations As IAccountOperations, resourceGroupName As String, accountName As String, firewallRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

operations
IAccountOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group that contains the Data Lake Store account.

accountName
String

The name of the Data Lake Store account from which to get the firewall rule.

firewallRuleName
String

The name of the firewall rule to retrieve.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to