NetworkExtensions.GetExpressRoutePorts Método

Definição

Sobrecargas

GetExpressRoutePorts(ResourceGroupResource)

Obtém uma coleção de ExpressRoutePortResources no ResourceGroupResource.

GetExpressRoutePorts(SubscriptionResource, CancellationToken)

Liste todos os recursos do ExpressRoutePort na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts
  • IdExpressRoutePorts_List de operação

GetExpressRoutePorts(ResourceGroupResource)

Obtém uma coleção de ExpressRoutePortResources no ResourceGroupResource.

public static Azure.ResourceManager.Network.ExpressRoutePortCollection GetExpressRoutePorts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetExpressRoutePorts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.ExpressRoutePortCollection
<Extension()>
Public Function GetExpressRoutePorts (resourceGroupResource As ResourceGroupResource) As ExpressRoutePortCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

Retornos

Um objeto que representa a coleção de ExpressRoutePortResources e suas operações em um ExpressRoutePortResource.

Aplica-se a

GetExpressRoutePorts(SubscriptionResource, CancellationToken)

Liste todos os recursos do ExpressRoutePort na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts
  • IdExpressRoutePorts_List de operação
public static Azure.Pageable<Azure.ResourceManager.Network.ExpressRoutePortResource> GetExpressRoutePorts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRoutePorts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRoutePortResource>
<Extension()>
Public Function GetExpressRoutePorts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRoutePortResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de ExpressRoutePortResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a