UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

110 lines (109 loc) 3.82 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating a Harness Gitops Repositories Certificates. * * ## Import * * Import a Account level Gitops Repository Certificate * * ```sh * $ pulumi import harness:platform/gitOpsRepoCert:GitOpsRepoCert example <repocert_id> * ``` */ export declare class GitOpsRepoCert extends pulumi.CustomResource { /** * Get an existing GitOpsRepoCert 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?: GitOpsRepoCertState, opts?: pulumi.CustomResourceOptions): GitOpsRepoCert; /** * Returns true if the given object is an instance of GitOpsRepoCert. 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 GitOpsRepoCert; /** * account identifier of the Repository Certificates. */ readonly accountId: pulumi.Output<string>; /** * agent identifier of the Repository Certificates. */ readonly agentId: pulumi.Output<string>; /** * organization identifier of the Repository Certificates. */ readonly orgId: pulumi.Output<string | undefined>; /** * project identifier of the Repository Certificates. */ readonly projectId: pulumi.Output<string | undefined>; /** * Repository Certificates create/Update request. */ readonly requests: pulumi.Output<outputs.platform.GitOpsRepoCertRequest[]>; /** * Create a GitOpsRepoCert 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: GitOpsRepoCertArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GitOpsRepoCert resources. */ export interface GitOpsRepoCertState { /** * account identifier of the Repository Certificates. */ accountId?: pulumi.Input<string>; /** * agent identifier of the Repository Certificates. */ agentId?: pulumi.Input<string>; /** * organization identifier of the Repository Certificates. */ orgId?: pulumi.Input<string>; /** * project identifier of the Repository Certificates. */ projectId?: pulumi.Input<string>; /** * Repository Certificates create/Update request. */ requests?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepoCertRequest>[]>; } /** * The set of arguments for constructing a GitOpsRepoCert resource. */ export interface GitOpsRepoCertArgs { /** * account identifier of the Repository Certificates. */ accountId: pulumi.Input<string>; /** * agent identifier of the Repository Certificates. */ agentId: pulumi.Input<string>; /** * organization identifier of the Repository Certificates. */ orgId?: pulumi.Input<string>; /** * project identifier of the Repository Certificates. */ projectId?: pulumi.Input<string>; /** * Repository Certificates create/Update request. */ requests: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepoCertRequest>[]>; }