VirtualEnclaveTransitHubCollection.GetAllAsync(CancellationToken) Method

Definition

List TransitHubResource resources by CommunityResource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs.
  • Operation Id. : TransitHub_ListByCommunityResource.
  • Default Api Version. : 2025-05-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualEnclaveTransitHubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to