NeonPostgresExtensions.GetNeonOrganizations 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
GetNeonOrganizations(ResourceGroupResource) |
Gets a collection of NeonOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNeonOrganizations() instead. |
GetNeonOrganizations(SubscriptionResource, CancellationToken) |
List OrganizationResource resources by subscription ID
|
GetNeonOrganizations(ResourceGroupResource)
- Source:
- NeonPostgresExtensions.cs
Gets a collection of NeonOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNeonOrganizations() instead.
public static Azure.ResourceManager.NeonPostgres.NeonOrganizationCollection GetNeonOrganizations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNeonOrganizations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NeonPostgres.NeonOrganizationCollection
<Extension()>
Public Function GetNeonOrganizations (resourceGroupResource As ResourceGroupResource) As NeonOrganizationCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of NeonOrganizationResources and their operations over a NeonOrganizationResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetNeonOrganizations(SubscriptionResource, CancellationToken)
- Source:
- NeonPostgresExtensions.cs
List OrganizationResource resources by subscription ID
- Request Path: /subscriptions/{subscriptionId}/providers/Neon.Postgres/organizations
- Operation Id: OrganizationResource_ListBySubscription
- Default Api Version: 2024-08-01-preview
- Resource: NeonOrganizationResource
public static Azure.Pageable<Azure.ResourceManager.NeonPostgres.NeonOrganizationResource> GetNeonOrganizations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNeonOrganizations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NeonPostgres.NeonOrganizationResource>
<Extension()>
Public Function GetNeonOrganizations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NeonOrganizationResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NeonOrganizationResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET