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_users" "example" {
username = "example-user"
}
output "users_ids" {
value = [data.harbor_users.example.users.*.id]
}
Using getUsers
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 getUsers(args: GetUsersArgs, opts?: InvokeOptions): Promise<GetUsersResult>
function getUsersOutput(args: GetUsersOutputArgs, opts?: InvokeOptions): Output<GetUsersResult>def get_users(email: Optional[str] = None,
username: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUsersResult
def get_users_output(email: Optional[pulumi.Input[str]] = None,
username: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUsersResult]func GetUsers(ctx *Context, args *GetUsersArgs, opts ...InvokeOption) (*GetUsersResult, error)
func GetUsersOutput(ctx *Context, args *GetUsersOutputArgs, opts ...InvokeOption) GetUsersResultOutput> Note: This function is named GetUsers in the Go SDK.
public static class GetUsers
{
public static Task<GetUsersResult> InvokeAsync(GetUsersArgs args, InvokeOptions? opts = null)
public static Output<GetUsersResult> Invoke(GetUsersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
public static Output<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
fn::invoke:
function: harbor:index/getUsers:getUsers
arguments:
# arguments dictionaryThe following arguments are supported:
getUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Users
List<Pulumiverse.
Harbor. Outputs. Get Users User> - Email string
- The email of the user to filter by.
- Username string
- The name of the user to filter by.
- Id string
- The provider-assigned unique ID for this managed resource.
- Users
[]Get
Users User - Email string
- The email of the user to filter by.
- Username string
- The name of the user to filter by.
- id String
- The provider-assigned unique ID for this managed resource.
- users
List<Get
Users User> - email String
- The email of the user to filter by.
- username String
- The name of the user to filter by.
- id string
- The provider-assigned unique ID for this managed resource.
- users
Get
Users User[] - email string
- The email of the user to filter by.
- username string
- The name of the user to filter by.
- id str
- The provider-assigned unique ID for this managed resource.
- users
Sequence[Get
Users User] - email str
- The email of the user to filter by.
- username str
- The name of the user to filter by.
- id String
- The provider-assigned unique ID for this managed resource.
- users List<Property Map>
- email String
- The email of the user to filter by.
- username String
- The name of the user to filter by.
Supporting Types
GetUsersUser
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
