AstroExtensions.GetAstroOrganizations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAstroOrganizations(ResourceGroupResource) |
Gets a collection of AstroOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAstroOrganizations() instead. |
GetAstroOrganizations(SubscriptionResource, CancellationToken) |
List OrganizationResource resources by subscription ID
|
GetAstroOrganizations(ResourceGroupResource)
- Source:
- AstroExtensions.cs
Gets a collection of AstroOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAstroOrganizations() instead.
public static Azure.ResourceManager.Astro.AstroOrganizationCollection GetAstroOrganizations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAstroOrganizations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Astro.AstroOrganizationCollection
<Extension()>
Public Function GetAstroOrganizations (resourceGroupResource As ResourceGroupResource) As AstroOrganizationCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of AstroOrganizationResources and their operations over a AstroOrganizationResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetAstroOrganizations(SubscriptionResource, CancellationToken)
- Source:
- AstroExtensions.cs
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 static Azure.Pageable<Azure.ResourceManager.Astro.AstroOrganizationResource> GetAstroOrganizations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAstroOrganizations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Astro.AstroOrganizationResource>
<Extension()>
Public Function GetAstroOrganizations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AstroOrganizationResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AstroOrganizationResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET