Partilhar via


NewRelicObservabilityExtensions.GetNewRelicAccounts Método

Definição

Listar todas as contas existentes

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/NewRelic.Observability/accounts
  • Operação IdAccounts_List
public static Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicAccountResourceData> GetNewRelicAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string userEmail, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetNewRelicAccounts : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicAccountResourceData>
<Extension()>
Public Function GetNewRelicAccounts (subscriptionResource As SubscriptionResource, userEmail As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NewRelicAccountResourceData)

Parâmetros

subscriptionResource
SubscriptionResource

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

userEmail
String

Email do usuário.

location
AzureLocation

Local para NewRelic.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Exceções

userEmail é nulo.

Aplica-se a