Share via


NeonBranchCollection Class

Definition

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

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

Constructors

NeonBranchCollection()

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

Create a Branch

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

Create a Branch

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}
  • Operation Id: Branch_CreateOrUpdate
  • Default Api Version: 2025-03-01
  • Resource: NeonBranchResource
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}/branches/{branchName}
  • Operation Id: Branch_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonBranchResource
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}/branches/{branchName}
  • Operation Id: Branch_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonBranchResource
Get(String, CancellationToken)

Get a Branch

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

List Branch resources by Project

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

List Branch resources by Project

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

Get a Branch

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NeonBranchResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to