neon 0.12.0 published on Tuesday, Nov 4, 2025 by kislerdm
neon.getBranchRoles
Start a Neo task
Explain and create a neon.getBranchRoles resource
Fetch Branch Roles.
Using getBranchRoles
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 getBranchRoles(args: GetBranchRolesArgs, opts?: InvokeOptions): Promise<GetBranchRolesResult>
function getBranchRolesOutput(args: GetBranchRolesOutputArgs, opts?: InvokeOptions): Output<GetBranchRolesResult>def get_branch_roles(branch_id: Optional[str] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
roles: Optional[Sequence[GetBranchRolesRole]] = None,
opts: Optional[InvokeOptions] = None) -> GetBranchRolesResult
def get_branch_roles_output(branch_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
roles: Optional[pulumi.Input[Sequence[pulumi.Input[GetBranchRolesRoleArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBranchRolesResult]func GetBranchRoles(ctx *Context, args *GetBranchRolesArgs, opts ...InvokeOption) (*GetBranchRolesResult, error)
func GetBranchRolesOutput(ctx *Context, args *GetBranchRolesOutputArgs, opts ...InvokeOption) GetBranchRolesResultOutput> Note: This function is named GetBranchRoles in the Go SDK.
public static class GetBranchRoles
{
public static Task<GetBranchRolesResult> InvokeAsync(GetBranchRolesArgs args, InvokeOptions? opts = null)
public static Output<GetBranchRolesResult> Invoke(GetBranchRolesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBranchRolesResult> getBranchRoles(GetBranchRolesArgs args, InvokeOptions options)
public static Output<GetBranchRolesResult> getBranchRoles(GetBranchRolesArgs args, InvokeOptions options)
fn::invoke:
function: neon:index/getBranchRoles:getBranchRoles
arguments:
# arguments dictionaryThe following arguments are supported:
- Branch
Id string - Branch ID.
- Project
Id string - Project ID.
- Id string
- The ID of this resource.
- Roles
List<Get
Branch Roles Role>
- Branch
Id string - Branch ID.
- Project
Id string - Project ID.
- Id string
- The ID of this resource.
- Roles
[]Get
Branch Roles Role
- branch
Id String - Branch ID.
- project
Id String - Project ID.
- id String
- The ID of this resource.
- roles
List<Get
Branch Roles Role>
- branch
Id string - Branch ID.
- project
Id string - Project ID.
- id string
- The ID of this resource.
- roles
Get
Branch Roles Role[]
- branch_
id str - Branch ID.
- project_
id str - Project ID.
- id str
- The ID of this resource.
- roles
Sequence[Get
Branch Roles Role]
- branch
Id String - Branch ID.
- project
Id String - Project ID.
- id String
- The ID of this resource.
- roles List<Property Map>
getBranchRoles Result
The following output properties are available:
- Branch
Id string - Branch ID.
- Id string
- The ID of this resource.
- Project
Id string - Project ID.
- Roles
List<Get
Branch Roles Role>
- Branch
Id string - Branch ID.
- Id string
- The ID of this resource.
- Project
Id string - Project ID.
- Roles
[]Get
Branch Roles Role
- branch
Id String - Branch ID.
- id String
- The ID of this resource.
- project
Id String - Project ID.
- roles
List<Get
Branch Roles Role>
- branch
Id string - Branch ID.
- id string
- The ID of this resource.
- project
Id string - Project ID.
- roles
Get
Branch Roles Role[]
- branch_
id str - Branch ID.
- id str
- The ID of this resource.
- project_
id str - Project ID.
- roles
Sequence[Get
Branch Roles Role]
- branch
Id String - Branch ID.
- id String
- The ID of this resource.
- project
Id String - Project ID.
- roles List<Property Map>
Supporting Types
GetBranchRolesRole
- name String
- Role name.
- protected_ Boolean
Package Details
- Repository
- neon kislerdm/terraform-provider-neon
- License
- Notes
- This Pulumi package is based on the
neonTerraform Provider.
