@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
91 lines (90 loc) • 2.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a monitored service.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getMonitoredService({
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
export declare function getMonitoredService(args: GetMonitoredServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitoredServiceResult>;
/**
* A collection of arguments for invoking getMonitoredService.
*/
export interface GetMonitoredServiceArgs {
/**
* Identifier of the monitored service.
*/
identifier: string;
/**
* Identifier of the organization in which the monitored service is configured.
*/
orgId: string;
/**
* Identifier of the project in which the monitored service is configured.
*/
projectId: string;
}
/**
* A collection of values returned by getMonitoredService.
*/
export interface GetMonitoredServiceResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Identifier of the monitored service.
*/
readonly identifier: string;
/**
* Identifier of the organization in which the monitored service is configured.
*/
readonly orgId: string;
/**
* Identifier of the project in which the monitored service is configured.
*/
readonly projectId: string;
}
/**
* Data source for retrieving a monitored service.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getMonitoredService({
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
export declare function getMonitoredServiceOutput(args: GetMonitoredServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitoredServiceResult>;
/**
* A collection of arguments for invoking getMonitoredService.
*/
export interface GetMonitoredServiceOutputArgs {
/**
* 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>;
}