Megosztás a következőn keresztül:


DataLakeStoreFirewallRuleResource.UpdateAsync Method

Definition

Updates the specified firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}
  • Operation Id: FirewallRules_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeStore.DataLakeStoreFirewallRuleResource>> UpdateAsync (Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreFirewallRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreFirewallRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeStore.DataLakeStoreFirewallRuleResource>>
override this.UpdateAsync : Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreFirewallRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeStore.DataLakeStoreFirewallRuleResource>>
Public Overridable Function UpdateAsync (patch As DataLakeStoreFirewallRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataLakeStoreFirewallRuleResource))

Parameters

patch
DataLakeStoreFirewallRulePatch

Parameters supplied to update the firewall rule.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to