Partager via


NewRelicObservabilityExtensions.GetNewRelicOrganizationsAsync Méthode

Définition

Répertorier toutes les organisations existantes

  • Chemin/abonnements de la demande/{subscriptionId}/providers/NewRelic.Observability/organizations
  • Opération IdOrganizations_List
public static Azure.AsyncPageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicOrganizationResourceData> GetNewRelicOrganizationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string userEmail, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetNewRelicOrganizationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicOrganizationResourceData>
<Extension()>
Public Function GetNewRelicOrganizationsAsync (subscriptionResource As SubscriptionResource, userEmail As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NewRelicOrganizationResourceData)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

userEmail
String

Email utilisateur.

location
AzureLocation

Emplacement de NewRelic.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de NewRelicOrganizationResourceData service pour itérer.

Exceptions

userEmail a la valeur null.

S’applique à