UNPKG

@pulumiverse/harbor

Version:

A Pulumi package for creating and managing Harbor resources.

98 lines (97 loc) 3.38 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import harbor:index/registry:Registry main /registries/7 * ``` */ export declare class Registry extends pulumi.CustomResource { /** * Get an existing Registry 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?: RegistryState, opts?: pulumi.CustomResourceOptions): Registry; /** * Returns true if the given object is an instance of Registry. 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 Registry; readonly accessId: pulumi.Output<string | undefined>; readonly accessSecret: pulumi.Output<string | undefined>; readonly description: pulumi.Output<string | undefined>; /** * The url endpoint for the external container register ie `"https://hub.docker.com"` */ readonly endpointUrl: pulumi.Output<string>; readonly insecure: pulumi.Output<boolean | undefined>; /** * The name of the register. */ readonly name: pulumi.Output<string>; /** * The name of the provider. */ readonly providerName: pulumi.Output<string>; readonly registryId: pulumi.Output<number>; readonly status: pulumi.Output<string>; /** * Create a Registry 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: RegistryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Registry resources. */ export interface RegistryState { accessId?: pulumi.Input<string>; accessSecret?: pulumi.Input<string>; description?: pulumi.Input<string>; /** * The url endpoint for the external container register ie `"https://hub.docker.com"` */ endpointUrl?: pulumi.Input<string>; insecure?: pulumi.Input<boolean>; /** * The name of the register. */ name?: pulumi.Input<string>; /** * The name of the provider. */ providerName?: pulumi.Input<string>; registryId?: pulumi.Input<number>; status?: pulumi.Input<string>; } /** * The set of arguments for constructing a Registry resource. */ export interface RegistryArgs { accessId?: pulumi.Input<string>; accessSecret?: pulumi.Input<string>; description?: pulumi.Input<string>; /** * The url endpoint for the external container register ie `"https://hub.docker.com"` */ endpointUrl: pulumi.Input<string>; insecure?: pulumi.Input<boolean>; /** * The name of the register. */ name?: pulumi.Input<string>; /** * The name of the provider. */ providerName: pulumi.Input<string>; }