Share via


ComponentCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.HybridNetwork.ComponentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridNetwork.ComponentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridNetwork.ComponentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ComponentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to