Partager via


NewRelicObservabilityExtensions.GetNewRelicOrganizations 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.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicOrganizationResourceData> GetNewRelicOrganizations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string userEmail, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetNewRelicOrganizations : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicOrganizationResourceData>
<Extension()>
Public Function GetNewRelicOrganizations (subscriptionResource As SubscriptionResource, userEmail As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de NewRelicOrganizationResourceData qui peut nécessiter plusieurs demandes de service pour itérer.

Exceptions

userEmail a la valeur null.

S’applique à