1. Packages
  2. Harbor
  3. API Docs
  4. getProjectMemberUsers
Harbor v3.10.19 published on Monday, Feb 10, 2025 by Pulumiverse

harbor.getProjectMemberUsers

Explore with Pulumi AI

Example Usage

data "harbor_project_member_users" "example" {
  project_id = "1"
}

output "project_member_user_ids" {
  value = [data.harbor_project_member_users.example.project_member_users.*.id]
}
Copy

Using getProjectMemberUsers

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 getProjectMemberUsers(args: GetProjectMemberUsersArgs, opts?: InvokeOptions): Promise<GetProjectMemberUsersResult>
function getProjectMemberUsersOutput(args: GetProjectMemberUsersOutputArgs, opts?: InvokeOptions): Output<GetProjectMemberUsersResult>
Copy
def get_project_member_users(project_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetProjectMemberUsersResult
def get_project_member_users_output(project_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetProjectMemberUsersResult]
Copy
func GetProjectMemberUsers(ctx *Context, args *GetProjectMemberUsersArgs, opts ...InvokeOption) (*GetProjectMemberUsersResult, error)
func GetProjectMemberUsersOutput(ctx *Context, args *GetProjectMemberUsersOutputArgs, opts ...InvokeOption) GetProjectMemberUsersResultOutput
Copy

> Note: This function is named GetProjectMemberUsers in the Go SDK.

public static class GetProjectMemberUsers 
{
    public static Task<GetProjectMemberUsersResult> InvokeAsync(GetProjectMemberUsersArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectMemberUsersResult> Invoke(GetProjectMemberUsersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProjectMemberUsersResult> getProjectMemberUsers(GetProjectMemberUsersArgs args, InvokeOptions options)
public static Output<GetProjectMemberUsersResult> getProjectMemberUsers(GetProjectMemberUsersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harbor:index/getProjectMemberUsers:getProjectMemberUsers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProjectId This property is required. string
The id of the project within harbor.
ProjectId This property is required. string
The id of the project within harbor.
projectId This property is required. String
The id of the project within harbor.
projectId This property is required. string
The id of the project within harbor.
project_id This property is required. str
The id of the project within harbor.
projectId This property is required. String
The id of the project within harbor.

getProjectMemberUsers 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.
ProjectMemberUsers List<Pulumiverse.Harbor.Outputs.GetProjectMemberUsersProjectMemberUser>
Id string
The provider-assigned unique ID for this managed resource.
ProjectId string
The id of the project within harbor.
ProjectMemberUsers []GetProjectMemberUsersProjectMemberUser
id String
The provider-assigned unique ID for this managed resource.
projectId String
The id of the project within harbor.
projectMemberUsers List<GetProjectMemberUsersProjectMemberUser>
id string
The provider-assigned unique ID for this managed resource.
projectId string
The id of the project within harbor.
projectMemberUsers GetProjectMemberUsersProjectMemberUser[]
id str
The provider-assigned unique ID for this managed resource.
project_id str
The id of the project within harbor.
project_member_users Sequence[GetProjectMemberUsersProjectMemberUser]
id String
The provider-assigned unique ID for this managed resource.
projectId String
The id of the project within harbor.
projectMemberUsers List<Property Map>

Supporting Types

GetProjectMemberUsersProjectMemberUser

Id This property is required. string
The ID of this resource.
ProjectId This property is required. string
The id of the project within harbor.
Role This property is required. string
UserName This property is required. string
Id This property is required. string
The ID of this resource.
ProjectId This property is required. string
The id of the project within harbor.
Role This property is required. string
UserName This property is required. string
id This property is required. String
The ID of this resource.
projectId This property is required. String
The id of the project within harbor.
role This property is required. String
userName This property is required. String
id This property is required. string
The ID of this resource.
projectId This property is required. string
The id of the project within harbor.
role This property is required. string
userName This property is required. string
id This property is required. str
The ID of this resource.
project_id This property is required. str
The id of the project within harbor.
role This property is required. str
user_name This property is required. str
id This property is required. String
The ID of this resource.
projectId This property is required. String
The id of the project within harbor.
role This property is required. String
userName This property is required. String

Package Details

Repository
harbor pulumiverse/pulumi-harbor
License
Apache-2.0
Notes
This Pulumi package is based on the harbor Terraform Provider.