@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
127 lines (126 loc) • 4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource for creating a Harness application
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@lbrlabs/pulumi-harness";
*
* const myapp = new harness.Application("myapp", {
* description: "This is my first Harness application",
* tags: [
* "mytag:myvalue",
* "team:development",
* ],
* });
* ```
*
* ## Import
*
* Import using the Harness application id
*
* ```sh
* $ pulumi import harness:index/application:Application myapp Xyz123
* ```
*/
export declare class Application extends pulumi.CustomResource {
/**
* Get an existing Application 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?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application;
/**
* Returns true if the given object is an instance of Application. 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 Application;
/**
* The application description
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The id of the git sync connector
*/
readonly gitSyncConnectorId: pulumi.Output<string>;
/**
* True if git sync is enabled on this application
*/
readonly gitSyncEnabled: pulumi.Output<boolean>;
/**
* When this is set to true, all manual triggers will require API Key authorization
*/
readonly isManualTriggerAuthorized: pulumi.Output<boolean | undefined>;
/**
* The name of the application
*/
readonly name: pulumi.Output<string>;
/**
* Tags to associate with the resource.
*/
readonly tags: pulumi.Output<string[] | undefined>;
/**
* Create a Application 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?: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Application resources.
*/
export interface ApplicationState {
/**
* The application description
*/
description?: pulumi.Input<string>;
/**
* The id of the git sync connector
*/
gitSyncConnectorId?: pulumi.Input<string>;
/**
* True if git sync is enabled on this application
*/
gitSyncEnabled?: pulumi.Input<boolean>;
/**
* When this is set to true, all manual triggers will require API Key authorization
*/
isManualTriggerAuthorized?: pulumi.Input<boolean>;
/**
* The name of the application
*/
name?: pulumi.Input<string>;
/**
* Tags to associate with the resource.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a Application resource.
*/
export interface ApplicationArgs {
/**
* The application description
*/
description?: pulumi.Input<string>;
/**
* When this is set to true, all manual triggers will require API Key authorization
*/
isManualTriggerAuthorized?: pulumi.Input<boolean>;
/**
* The name of the application
*/
name?: pulumi.Input<string>;
/**
* Tags to associate with the resource.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}