UNPKG

@pulumiverse/harbor

Version:

A Pulumi package for creating and managing Harbor resources.

57 lines (56 loc) 1.4 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage */ export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>; /** * A collection of arguments for invoking getProject. */ export interface GetProjectArgs { /** * The name of the project. */ name: string; } /** * A collection of values returned by getProject. */ export interface GetProjectResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the project. */ readonly name: string; /** * The id of the project within harbor. */ readonly projectId: number; /** * If the project has public accessibility. */ readonly public: boolean; /** * The type of the project : Project or ProxyCache. */ readonly type: string; /** * If the images is scanned for vulnerabilities when push to harbor. */ readonly vulnerabilityScanning: boolean; } /** * ## Example Usage */ export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>; /** * A collection of arguments for invoking getProject. */ export interface GetProjectOutputArgs { /** * The name of the project. */ name: pulumi.Input<string>; }