Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
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:
- Project
Id string - The id of the project within harbor.
- Project
Id string - The id of the project within harbor.
- project
Id String - The id of the project within harbor.
- project
Id string - The id of the project within harbor.
- project_
id str - The id of the project within harbor.
- project
Id 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.
- Project
Id string - The id of the project within harbor.
- Project
Member List<Pulumiverse.Groups Harbor. Outputs. Get Project Member Groups Project Member Group>
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The id of the project within harbor.
- Project
Member []GetGroups Project Member Groups Project Member Group
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The id of the project within harbor.
- project
Member List<GetGroups Project Member Groups Project Member Group>
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - The id of the project within harbor.
- project
Member 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.
- project
Id String - The id of the project within harbor.
- project
Member 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.
Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
