@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
102 lines (101 loc) • 3.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for creating a GCP cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
*/
export declare class Gcp extends pulumi.CustomResource {
/**
* Get an existing Gcp 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?: GcpState, opts?: pulumi.CustomResourceOptions): Gcp;
/**
* Returns true if the given object is an instance of Gcp. 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 Gcp;
/**
* Delegate selectors to use for this provider.
*/
readonly delegateSelectors: pulumi.Output<string[] | undefined>;
/**
* The name of the cloud provider.
*/
readonly name: pulumi.Output<string>;
/**
* The id of the secret containing the GCP credentials
*/
readonly secretFileId: pulumi.Output<string | undefined>;
/**
* Skip validation of GCP configuration.
*/
readonly skipValidation: pulumi.Output<boolean | undefined>;
/**
* This block is used for scoping the resource to a specific set of applications or environments.
*/
readonly usageScopes: pulumi.Output<outputs.cloudprovider.GcpUsageScope[] | undefined>;
/**
* Create a Gcp 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?: GcpArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Gcp resources.
*/
export interface GcpState {
/**
* Delegate selectors to use for this provider.
*/
delegateSelectors?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the cloud provider.
*/
name?: pulumi.Input<string>;
/**
* The id of the secret containing the GCP credentials
*/
secretFileId?: pulumi.Input<string>;
/**
* Skip validation of GCP configuration.
*/
skipValidation?: pulumi.Input<boolean>;
/**
* This block is used for scoping the resource to a specific set of applications or environments.
*/
usageScopes?: pulumi.Input<pulumi.Input<inputs.cloudprovider.GcpUsageScope>[]>;
}
/**
* The set of arguments for constructing a Gcp resource.
*/
export interface GcpArgs {
/**
* Delegate selectors to use for this provider.
*/
delegateSelectors?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the cloud provider.
*/
name?: pulumi.Input<string>;
/**
* The id of the secret containing the GCP credentials
*/
secretFileId?: pulumi.Input<string>;
/**
* Skip validation of GCP configuration.
*/
skipValidation?: pulumi.Input<boolean>;
/**
* This block is used for scoping the resource to a specific set of applications or environments.
*/
usageScopes?: pulumi.Input<pulumi.Input<inputs.cloudprovider.GcpUsageScope>[]>;
}