MockableComputeSubscriptionResource.GetInterconnectBlocksAsync Method

Definition

Lists all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/interconnectBlocks.
  • Operation Id. : InterconnectBlocks_ListBySubscription.
  • Default Api Version. : 2026-03-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.InterconnectBlockResource> GetInterconnectBlocksAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetInterconnectBlocksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.InterconnectBlockResource>
override this.GetInterconnectBlocksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.InterconnectBlockResource>
Public Overridable Function GetInterconnectBlocksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InterconnectBlockResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to