UNPKG

@pulumiverse/harbor

Version:

A Pulumi package for creating and managing Harbor resources.

67 lines (66 loc) 1.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage */ export declare function getRobotAccounts(args?: GetRobotAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetRobotAccountsResult>; /** * A collection of arguments for invoking getRobotAccounts. */ export interface GetRobotAccountsArgs { /** * Level of the robot account, currently either `system` or `project`. Default is `system`. */ level?: string; /** * The name of the robot account to filter by. */ name?: string; /** * The id of the project within harbor. */ projectId?: number; } /** * A collection of values returned by getRobotAccounts. */ export interface GetRobotAccountsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Level of the robot account, currently either `system` or `project`. Default is `system`. */ readonly level?: string; /** * The name of the robot account to filter by. */ readonly name?: string; /** * The id of the project within harbor. */ readonly projectId?: number; readonly robotAccounts: outputs.GetRobotAccountsRobotAccount[]; } /** * ## Example Usage */ export declare function getRobotAccountsOutput(args?: GetRobotAccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRobotAccountsResult>; /** * A collection of arguments for invoking getRobotAccounts. */ export interface GetRobotAccountsOutputArgs { /** * Level of the robot account, currently either `system` or `project`. Default is `system`. */ level?: pulumi.Input<string>; /** * The name of the robot account to filter by. */ name?: pulumi.Input<string>; /** * The id of the project within harbor. */ projectId?: pulumi.Input<number>; }