共用方式為


InboundNatRuleCollection.GetAll(CancellationToken) Method

Definition

Gets all the inbound NAT rules in a load balancer.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules
  • Operation Id: InboundNatRules_List
  • Default Api Version: 2024-03-01
  • Resource: InboundNatRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.InboundNatRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.InboundNatRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.InboundNatRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of InboundNatRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of InboundNatRuleResource that may take multiple service requests to iterate over.

Applies to