Share via


NeonOrganizationCollection Class

Definition

A class representing a collection of NeonOrganizationResource and their operations. Each NeonOrganizationResource in the collection will belong to the same instance of ResourceGroupResource. To get a NeonOrganizationCollection instance call the GetNeonOrganizations method from an instance of ResourceGroupResource.

public class NeonOrganizationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.NeonPostgres.NeonOrganizationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.NeonOrganizationResource>
type NeonOrganizationCollection = class
    inherit ArmCollection
    interface seq<NeonOrganizationResource>
    interface IEnumerable
    interface IAsyncEnumerable<NeonOrganizationResource>
Public Class NeonOrganizationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NeonOrganizationResource), IEnumerable(Of NeonOrganizationResource)
Inheritance
NeonOrganizationCollection
Implements

Constructors

NeonOrganizationCollection()

Initializes a new instance of the NeonOrganizationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, NeonOrganizationData, CancellationToken)

Create a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_CreateOrUpdate
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
CreateOrUpdateAsync(WaitUntil, String, NeonOrganizationData, CancellationToken)

Create a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_CreateOrUpdate
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
Get(String, CancellationToken)

Get a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
GetAll(CancellationToken)

List OrganizationResource resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations
  • Operation Id: OrganizationResource_ListByResourceGroup
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
GetAllAsync(CancellationToken)

List OrganizationResource resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations
  • Operation Id: OrganizationResource_ListByResourceGroup
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
GetAsync(String, CancellationToken)

Get a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
  • Operation Id: OrganizationResource_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: NeonOrganizationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NeonOrganizationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NeonOrganizationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to