共用方式為


ComponentCollection.GetAll(CancellationToken) Method

Definition

Lists all the component resources in a network function.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components
  • Operation Id: Components_ListByNetworkFunction
public virtual Azure.Pageable<Azure.ResourceManager.HybridNetwork.ComponentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridNetwork.ComponentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridNetwork.ComponentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ComponentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to