Compartir a través de


NetworkExtensions.GetBgpServiceCommunitiesAsync Método

Definición

Obtiene todas las comunidades de servicios bgp disponibles.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities
  • IdBgpServiceCommunities_List de operaciones
public static Azure.AsyncPageable<Azure.ResourceManager.Network.Models.BgpServiceCommunity> GetBgpServiceCommunitiesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetBgpServiceCommunitiesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.BgpServiceCommunity>
<Extension()>
Public Function GetBgpServiceCommunitiesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BgpServiceCommunity)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de BgpServiceCommunity que puede tomar varias solicitudes de servicio para iterar.

Se aplica a