Partilhar via


CognitiveServicesExtensions.GetCognitiveServicesAccounts Método

Definição

Sobrecargas

GetCognitiveServicesAccounts(ResourceGroupResource)

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

GetCognitiveServicesAccounts(SubscriptionResource, CancellationToken)

Retorna todos os recursos de um tipo específico que pertencem a uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts
  • Operação IdAccounts_List

GetCognitiveServicesAccounts(ResourceGroupResource)

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

public static Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountCollection GetCognitiveServicesAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetCognitiveServicesAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountCollection
<Extension()>
Public Function GetCognitiveServicesAccounts (resourceGroupResource As ResourceGroupResource) As CognitiveServicesAccountCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

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

Aplica-se a

GetCognitiveServicesAccounts(SubscriptionResource, CancellationToken)

Retorna todos os recursos de um tipo específico que pertencem a uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts
  • Operação IdAccounts_List
public static Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountResource> GetCognitiveServicesAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCognitiveServicesAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountResource>
<Extension()>
Public Function GetCognitiveServicesAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesAccountResource)

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

Aplica-se a