NetworkExtensions.GetInterconnectGroup Method

Definition

Gets information about the specified interconnect group. <item> Mocking. To mock this method, please mock GetInterconnectGroup(String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.Network.InterconnectGroupResource> GetInterconnectGroup(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string interconnectGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetInterconnectGroup : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.InterconnectGroupResource>
<Extension()>
Public Function GetInterconnectGroup (resourceGroupResource As ResourceGroupResource, interconnectGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of InterconnectGroupResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

interconnectGroupName
String

The name of the interconnect group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource is null.

Applies to