NapsterOmniagentApiExtensions.GetNapsterOrganizationsAsync Method

Definition

List OrganizationResource resources by subscription ID <item> Mocking. To mock this method, please mock GetNapsterOrganizationsAsync(CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.NapsterOmniagentApi.NapsterOrganizationResource> GetNapsterOrganizationsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNapsterOrganizationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NapsterOmniagentApi.NapsterOrganizationResource>
<Extension()>
Public Function GetNapsterOrganizationsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NapsterOrganizationResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NapsterOrganizationResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to