@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
110 lines (109 loc) • 3.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for creating a monitored service.
*
* ## Import
*
* Import account level monitored_service
*
* ```sh
* $ pulumi import harness:platform/monitoredService:MonitoredService example <monitored_service_id>
* ```
*
* Import organization level monitored_service
*
* ```sh
* $ pulumi import harness:platform/monitoredService:MonitoredService example <org_id>/<monitored_service_id>
* ```
*
* Import project level monitored_service
*
* ```sh
* $ pulumi import harness:platform/monitoredService:MonitoredService example <org_id>/<project_id>/<monitored_service_id>
* ```
*/
export declare class MonitoredService extends pulumi.CustomResource {
/**
* Get an existing MonitoredService 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?: MonitoredServiceState, opts?: pulumi.CustomResourceOptions): MonitoredService;
/**
* Returns true if the given object is an instance of MonitoredService. 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 MonitoredService;
/**
* Identifier of the monitored service.
*/
readonly identifier: pulumi.Output<string>;
/**
* Identifier of the organization in which the monitored service is configured.
*/
readonly orgId: pulumi.Output<string>;
/**
* Identifier of the project in which the monitored service is configured.
*/
readonly projectId: pulumi.Output<string>;
/**
* Request for creating or updating a monitored service.
*/
readonly request: pulumi.Output<outputs.platform.MonitoredServiceRequest | undefined>;
/**
* Create a MonitoredService 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: MonitoredServiceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering MonitoredService resources.
*/
export interface MonitoredServiceState {
/**
* Identifier of the monitored service.
*/
identifier?: pulumi.Input<string>;
/**
* Identifier of the organization in which the monitored service is configured.
*/
orgId?: pulumi.Input<string>;
/**
* Identifier of the project in which the monitored service is configured.
*/
projectId?: pulumi.Input<string>;
/**
* Request for creating or updating a monitored service.
*/
request?: pulumi.Input<inputs.platform.MonitoredServiceRequest>;
}
/**
* The set of arguments for constructing a MonitoredService resource.
*/
export interface MonitoredServiceArgs {
/**
* Identifier of the monitored service.
*/
identifier: pulumi.Input<string>;
/**
* Identifier of the organization in which the monitored service is configured.
*/
orgId: pulumi.Input<string>;
/**
* Identifier of the project in which the monitored service is configured.
*/
projectId: pulumi.Input<string>;
/**
* Request for creating or updating a monitored service.
*/
request?: pulumi.Input<inputs.platform.MonitoredServiceRequest>;
}