Поделиться через


NeonProjectCollection Class

Definition

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

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

Constructors

NeonProjectCollection()

Initializes a new instance of the NeonProjectCollection 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, NeonProjectData, CancellationToken)

Create a Project

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_CreateOrUpdate
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
CreateOrUpdateAsync(WaitUntil, String, NeonProjectData, CancellationToken)

Create a Project

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_CreateOrUpdate
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
Get(String, CancellationToken)

Get a Project

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
GetAll(CancellationToken)

List Project resources by OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects
  • Operation Id: Project_List
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
GetAllAsync(CancellationToken)

List Project resources by OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects
  • Operation Id: Project_List
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
GetAsync(String, CancellationToken)

Get a Project

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
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<NeonProjectResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NeonProjectResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to