@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
79 lines (78 loc) • 2.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource for syncing a Harness Chaos Hub
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = new harness.chaos.HubSync("example", {
* orgId: "<org_id>",
* projectId: "<project_id>",
* hubId: "<hub_id>",
* });
* ```
*/
export declare class HubSync extends pulumi.CustomResource {
/**
* Get an existing HubSync 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?: HubSyncState, opts?: pulumi.CustomResourceOptions): HubSync;
/**
* Returns true if the given object is an instance of HubSync. 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 HubSync;
/**
* The ID of the Chaos Hub to sync
*/
readonly hubId: pulumi.Output<string>;
/**
* Timestamp of the last sync
*/
readonly lastSyncedAt: pulumi.Output<string>;
readonly orgId: pulumi.Output<string>;
readonly projectId: pulumi.Output<string>;
/**
* Create a HubSync 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: HubSyncArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering HubSync resources.
*/
export interface HubSyncState {
/**
* The ID of the Chaos Hub to sync
*/
hubId?: pulumi.Input<string>;
/**
* Timestamp of the last sync
*/
lastSyncedAt?: pulumi.Input<string>;
orgId?: pulumi.Input<string>;
projectId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a HubSync resource.
*/
export interface HubSyncArgs {
/**
* The ID of the Chaos Hub to sync
*/
hubId: pulumi.Input<string>;
orgId: pulumi.Input<string>;
projectId: pulumi.Input<string>;
}