Share via


MockableAstroSubscriptionResource.GetAstroOrganizationsAsync Method

Definition

List OrganizationResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Astronomer.Astro/organizations
  • Operation Id: Organizations_ListBySubscription
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Astro.AstroOrganizationResource> GetAstroOrganizationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAstroOrganizationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Astro.AstroOrganizationResource>
override this.GetAstroOrganizationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Astro.AstroOrganizationResource>
Public Overridable Function GetAstroOrganizationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AstroOrganizationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AstroOrganizationResource that may take multiple service requests to iterate over.

Applies to