Compartilhar via


NetworkExtensions.GetServiceEndpointPoliciesByServiceEndpointPolicyAsync Método

Definição

Obtém todas as políticas de ponto de extremidade de serviço em uma assinatura.

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

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 assíncrona de ServiceEndpointPolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a