neon 0.9.0 published on Tuesday, May 6, 2025 by kislerdm
neon.getBranches
Explore with Pulumi AI
Fetch Project Branches.
Using getBranches
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBranches(args: GetBranchesArgs, opts?: InvokeOptions): Promise<GetBranchesResult>
function getBranchesOutput(args: GetBranchesOutputArgs, opts?: InvokeOptions): Output<GetBranchesResult>
def get_branches(id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBranchesResult
def get_branches_output(id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBranchesResult]
func GetBranches(ctx *Context, args *GetBranchesArgs, opts ...InvokeOption) (*GetBranchesResult, error)
func GetBranchesOutput(ctx *Context, args *GetBranchesOutputArgs, opts ...InvokeOption) GetBranchesResultOutput
> Note: This function is named GetBranches
in the Go SDK.
public static class GetBranches
{
public static Task<GetBranchesResult> InvokeAsync(GetBranchesArgs args, InvokeOptions? opts = null)
public static Output<GetBranchesResult> Invoke(GetBranchesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBranchesResult> getBranches(GetBranchesArgs args, InvokeOptions options)
public static Output<GetBranchesResult> getBranches(GetBranchesArgs args, InvokeOptions options)
fn::invoke:
function: neon:index/getBranches:getBranches
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str - Project ID.
- id str
- The ID of this resource.
getBranches Result
The following output properties are available:
- Branches
List<Get
Branches Branch> - Id string
- The ID of this resource.
- Project
Id string - Project ID.
- Branches
[]Get
Branches Branch - Id string
- The ID of this resource.
- Project
Id string - Project ID.
- branches
List<Get
Branches Branch> - id String
- The ID of this resource.
- project
Id String - Project ID.
- branches
Get
Branches Branch[] - id string
- The ID of this resource.
- project
Id string - Project ID.
- branches
Sequence[Get
Branches Branch] - id str
- The ID of this resource.
- project_
id str - Project ID.
- branches List<Property Map>
- id String
- The ID of this resource.
- project
Id String - Project ID.
Supporting Types
GetBranchesBranch
- Id string
- Logical
Size double - Name string
- Parent
Id string - Primary bool
- Id string
- Logical
Size float64 - Name string
- Parent
Id string - Primary bool
- id String
- logical
Size Double - name String
- parent
Id String - primary Boolean
- id string
- logical
Size number - name string
- parent
Id string - primary boolean
- id str
- logical_
size float - name str
- parent_
id str - primary bool
- id String
- logical
Size Number - name String
- parent
Id String - primary Boolean
Package Details
- Repository
- neon kislerdm/terraform-provider-neon
- License
- Notes
- This Pulumi package is based on the
neon
Terraform Provider.