Condividi tramite


SynapseWorkspaceResource.ReplaceAllIpFirewallRuleAsync Method

Definition

Replaces firewall rules

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/replaceAllIpFirewallRules
  • Operation Id: IpFirewallRules_ReplaceAll
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.ReplaceAllFirewallRulesOperationResult>> ReplaceAllIpFirewallRuleAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.Models.ReplaceAllIPFirewallRulesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ReplaceAllIpFirewallRuleAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.ReplaceAllIPFirewallRulesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.ReplaceAllFirewallRulesOperationResult>>
override this.ReplaceAllIpFirewallRuleAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.ReplaceAllIPFirewallRulesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.ReplaceAllFirewallRulesOperationResult>>
Public Overridable Function ReplaceAllIpFirewallRuleAsync (waitUntil As WaitUntil, content As ReplaceAllIPFirewallRulesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ReplaceAllFirewallRulesOperationResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ReplaceAllIPFirewallRulesContent

Replace all IP firewall rules request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to