Harbor v3.10.19 published on Monday, Feb 10, 2025 by Pulumiverse
harbor.getProjectMemberGroups
Explore with Pulumi AI
Example Usage
data "harbor_project_member_groups" "example" {
  project_id = "1"
}
output "project_member_group_ids" {
  value = [data.harbor_project_member_groups.example.project_member_groups.*.id]
}
Using getProjectMemberGroups
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 getProjectMemberGroups(args: GetProjectMemberGroupsArgs, opts?: InvokeOptions): Promise<GetProjectMemberGroupsResult>
function getProjectMemberGroupsOutput(args: GetProjectMemberGroupsOutputArgs, opts?: InvokeOptions): Output<GetProjectMemberGroupsResult>def get_project_member_groups(project_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetProjectMemberGroupsResult
def get_project_member_groups_output(project_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetProjectMemberGroupsResult]func GetProjectMemberGroups(ctx *Context, args *GetProjectMemberGroupsArgs, opts ...InvokeOption) (*GetProjectMemberGroupsResult, error)
func GetProjectMemberGroupsOutput(ctx *Context, args *GetProjectMemberGroupsOutputArgs, opts ...InvokeOption) GetProjectMemberGroupsResultOutput> Note: This function is named GetProjectMemberGroups in the Go SDK.
public static class GetProjectMemberGroups 
{
    public static Task<GetProjectMemberGroupsResult> InvokeAsync(GetProjectMemberGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectMemberGroupsResult> Invoke(GetProjectMemberGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectMemberGroupsResult> getProjectMemberGroups(GetProjectMemberGroupsArgs args, InvokeOptions options)
public static Output<GetProjectMemberGroupsResult> getProjectMemberGroups(GetProjectMemberGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: harbor:index/getProjectMemberGroups:getProjectMemberGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProjectId string
- The id of the project within harbor.
- ProjectId string
- The id of the project within harbor.
- projectId String
- The id of the project within harbor.
- projectId string
- The id of the project within harbor.
- project_id str
- The id of the project within harbor.
- projectId String
- The id of the project within harbor.
getProjectMemberGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- ProjectId string
- The id of the project within harbor.
- ProjectMember List<Pulumiverse.Groups Harbor. Outputs. Get Project Member Groups Project Member Group> 
- Id string
- The provider-assigned unique ID for this managed resource.
- ProjectId string
- The id of the project within harbor.
- ProjectMember []GetGroups Project Member Groups Project Member Group 
- id String
- The provider-assigned unique ID for this managed resource.
- projectId String
- The id of the project within harbor.
- projectMember List<GetGroups Project Member Groups Project Member Group> 
- id string
- The provider-assigned unique ID for this managed resource.
- projectId string
- The id of the project within harbor.
- projectMember GetGroups Project Member Groups Project Member Group[] 
- id str
- The provider-assigned unique ID for this managed resource.
- project_id str
- The id of the project within harbor.
- project_member_ Sequence[Getgroups Project Member Groups Project Member Group] 
- id String
- The provider-assigned unique ID for this managed resource.
- projectId String
- The id of the project within harbor.
- projectMember List<Property Map>Groups 
Supporting Types
GetProjectMemberGroupsProjectMemberGroup      
- group_name str
- id str
- The ID of this resource.
- project_id str
- The id of the project within harbor.
- role str
Package Details
- Repository
- harbor pulumiverse/pulumi-harbor
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harborTerraform Provider.