ComputeExtensions.GetInterconnectBlocks Method

Definition

Overloads

Name Description
GetInterconnectBlocks(ResourceGroupResource)

Gets a collection of InterconnectBlocks in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetInterconnectBlocks() instead. </item>

GetInterconnectBlocks(SubscriptionResource, CancellationToken)

Lists all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks. <item> Mocking. To mock this method, please mock GetInterconnectBlocks(CancellationToken) instead. </item>

GetInterconnectBlocks(ResourceGroupResource)

Source:
ComputeExtensions.cs

Gets a collection of InterconnectBlocks in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetInterconnectBlocks() instead. </item>

public static Azure.ResourceManager.Compute.InterconnectBlockCollection GetInterconnectBlocks(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetInterconnectBlocks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Compute.InterconnectBlockCollection
<Extension()>
Public Function GetInterconnectBlocks (resourceGroupResource As ResourceGroupResource) As InterconnectBlockCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

Returns

An object representing collection of InterconnectBlocks and their operations over a InterconnectBlockResource.

Exceptions

resourceGroupResource is null.

Applies to

GetInterconnectBlocks(SubscriptionResource, CancellationToken)

Source:
ComputeExtensions.cs

Lists all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks. <item> Mocking. To mock this method, please mock GetInterconnectBlocks(CancellationToken) instead. </item>

public static Azure.Pageable<Azure.ResourceManager.Compute.InterconnectBlockResource> GetInterconnectBlocks(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetInterconnectBlocks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.InterconnectBlockResource>
<Extension()>
Public Function GetInterconnectBlocks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of InterconnectBlockResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to