UNPKG

@pulumiverse/harbor

Version:

A Pulumi package for creating and managing Harbor resources.

141 lines (140 loc) 5.04 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage */ export declare class ConfigSystem extends pulumi.CustomResource { /** * Get an existing ConfigSystem resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConfigSystemState, opts?: pulumi.CustomResourceOptions): ConfigSystem; /** * Returns true if the given object is an instance of ConfigSystem. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConfigSystem; /** * The endpoint to forward audit logs to. */ readonly auditLogForwardEndpoint: pulumi.Output<string | undefined>; readonly bannerMessage: pulumi.Output<outputs.ConfigSystemBannerMessage | undefined>; /** * Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"` */ readonly projectCreationRestriction: pulumi.Output<string | undefined>; /** * Whether or not the system is in read only mode. */ readonly readOnly: pulumi.Output<boolean | undefined>; /** * Robot account prefix. */ readonly robotNamePrefix: pulumi.Output<string | undefined>; /** * The amount of time in days a robot account will expire. */ readonly robotTokenExpiration: pulumi.Output<number | undefined>; /** * Whether or not to skip update pull time for scanner. */ readonly scannerSkipUpdatePulltime: pulumi.Output<boolean | undefined>; /** * Whether or not to skip audit log database. */ readonly skipAuditLogDatabase: pulumi.Output<boolean | undefined>; /** * Default quota space per project in GIB. Default is -1 (unlimited). */ readonly storagePerProject: pulumi.Output<number | undefined>; /** * Create a ConfigSystem resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ConfigSystemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConfigSystem resources. */ export interface ConfigSystemState { /** * The endpoint to forward audit logs to. */ auditLogForwardEndpoint?: pulumi.Input<string>; bannerMessage?: pulumi.Input<inputs.ConfigSystemBannerMessage>; /** * Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"` */ projectCreationRestriction?: pulumi.Input<string>; /** * Whether or not the system is in read only mode. */ readOnly?: pulumi.Input<boolean>; /** * Robot account prefix. */ robotNamePrefix?: pulumi.Input<string>; /** * The amount of time in days a robot account will expire. */ robotTokenExpiration?: pulumi.Input<number>; /** * Whether or not to skip update pull time for scanner. */ scannerSkipUpdatePulltime?: pulumi.Input<boolean>; /** * Whether or not to skip audit log database. */ skipAuditLogDatabase?: pulumi.Input<boolean>; /** * Default quota space per project in GIB. Default is -1 (unlimited). */ storagePerProject?: pulumi.Input<number>; } /** * The set of arguments for constructing a ConfigSystem resource. */ export interface ConfigSystemArgs { /** * The endpoint to forward audit logs to. */ auditLogForwardEndpoint?: pulumi.Input<string>; bannerMessage?: pulumi.Input<inputs.ConfigSystemBannerMessage>; /** * Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"` */ projectCreationRestriction?: pulumi.Input<string>; /** * Whether or not the system is in read only mode. */ readOnly?: pulumi.Input<boolean>; /** * Robot account prefix. */ robotNamePrefix?: pulumi.Input<string>; /** * The amount of time in days a robot account will expire. */ robotTokenExpiration?: pulumi.Input<number>; /** * Whether or not to skip update pull time for scanner. */ scannerSkipUpdatePulltime?: pulumi.Input<boolean>; /** * Whether or not to skip audit log database. */ skipAuditLogDatabase?: pulumi.Input<boolean>; /** * Default quota space per project in GIB. Default is -1 (unlimited). */ storagePerProject?: pulumi.Input<number>; }