Partilhar via


BatchExtensions.GetBatchAccounts Método

Definição

Sobrecargas

GetBatchAccounts(ResourceGroupResource)

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

GetBatchAccounts(SubscriptionResource, CancellationToken)

Obtém informações sobre as contas do Lote associadas à assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Batch/batchAccounts
  • IdBatchAccount_List de operação

GetBatchAccounts(ResourceGroupResource)

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

public static Azure.ResourceManager.Batch.BatchAccountCollection GetBatchAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetBatchAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Batch.BatchAccountCollection
<Extension()>
Public Function GetBatchAccounts (resourceGroupResource As ResourceGroupResource) As BatchAccountCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

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

Aplica-se a

GetBatchAccounts(SubscriptionResource, CancellationToken)

Obtém informações sobre as contas do Lote associadas à assinatura.

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

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

Aplica-se a