import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing a Harness Chaos Hub * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.chaos.Hub("example", { * orgId: "", * projectId: "", * name: "", * description: "", * connectorId: "", * repoBranch: "", * repoName: "", * isDefault: false, * tags: [ * "", * "", * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import Project level Chaos Hub * * ```sh * $ pulumi import harness:chaos/hub:Hub example // * ``` */ export declare class Hub extends pulumi.CustomResource { /** * Get an existing Hub 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, state?: HubState, opts?: pulumi.CustomResourceOptions): Hub; /** * Returns true if the given object is an instance of Hub. 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 Hub; /** * ID of the Git connector */ readonly connectorId: pulumi.Output; /** * Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT) */ readonly connectorScope: pulumi.Output; /** * Creation timestamp */ readonly createdAt: pulumi.Output; /** * Description of the chaos hub */ readonly description: pulumi.Output; /** * Whether the chaos hub is available */ readonly isAvailable: pulumi.Output; /** * Whether this is the default chaos hub */ readonly isDefault: pulumi.Output; /** * Timestamp of the last sync */ readonly lastSyncedAt: pulumi.Output; /** * Name of the chaos hub */ readonly name: pulumi.Output; /** * The organization ID of the chaos hub */ readonly orgId: pulumi.Output; /** * The project ID of the chaos hub */ readonly projectId: pulumi.Output; /** * Git repository branch */ readonly repoBranch: pulumi.Output; /** * Name of the Git repository (required for account-level connectors) */ readonly repoName: pulumi.Output; /** * Tags to associate with the chaos hub */ readonly tags: pulumi.Output; /** * Total number of experiments in the hub */ readonly totalExperiments: pulumi.Output; /** * Total number of faults in the hub */ readonly totalFaults: pulumi.Output; /** * Last update timestamp */ readonly updatedAt: pulumi.Output; /** * Create a Hub 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: HubArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Hub resources. */ export interface HubState { /** * ID of the Git connector */ connectorId?: pulumi.Input; /** * Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT) */ connectorScope?: pulumi.Input; /** * Creation timestamp */ createdAt?: pulumi.Input; /** * Description of the chaos hub */ description?: pulumi.Input; /** * Whether the chaos hub is available */ isAvailable?: pulumi.Input; /** * Whether this is the default chaos hub */ isDefault?: pulumi.Input; /** * Timestamp of the last sync */ lastSyncedAt?: pulumi.Input; /** * Name of the chaos hub */ name?: pulumi.Input; /** * The organization ID of the chaos hub */ orgId?: pulumi.Input; /** * The project ID of the chaos hub */ projectId?: pulumi.Input; /** * Git repository branch */ repoBranch?: pulumi.Input; /** * Name of the Git repository (required for account-level connectors) */ repoName?: pulumi.Input; /** * Tags to associate with the chaos hub */ tags?: pulumi.Input[] | undefined>; /** * Total number of experiments in the hub */ totalExperiments?: pulumi.Input; /** * Total number of faults in the hub */ totalFaults?: pulumi.Input; /** * Last update timestamp */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Hub resource. */ export interface HubArgs { /** * ID of the Git connector */ connectorId: pulumi.Input; /** * Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT) */ connectorScope?: pulumi.Input; /** * Description of the chaos hub */ description?: pulumi.Input; /** * Whether this is the default chaos hub */ isDefault?: pulumi.Input; /** * Name of the chaos hub */ name?: pulumi.Input; /** * The organization ID of the chaos hub */ orgId?: pulumi.Input; /** * The project ID of the chaos hub */ projectId?: pulumi.Input; /** * Git repository branch */ repoBranch: pulumi.Input; /** * Name of the Git repository (required for account-level connectors) */ repoName?: pulumi.Input; /** * Tags to associate with the chaos hub */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=hub.d.ts.map