@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
79 lines (78 loc) • 1.9 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness service
*/
export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
/**
* A collection of arguments for invoking getService.
*/
export interface GetServiceArgs {
/**
* The id of the application the service belongs to
*/
appId: string;
/**
* Unique identifier of the application
*/
id: string;
}
/**
* A collection of values returned by getService.
*/
export interface GetServiceResult {
/**
* The id of the application the service belongs to
*/
readonly appId: string;
/**
* The type of artifact deployed by the service
*/
readonly artifactType: string;
/**
* The application description
*/
readonly description: string;
/**
* The version of Helm being used by the service.
*/
readonly helmVersion: string;
/**
* Unique identifier of the application
*/
readonly id: string;
/**
* The name of the service
*/
readonly name: string;
/**
* Tags for the service
*/
readonly tags: {
[key: string]: string;
};
/**
* The path of the template used for the custom deployment
*/
readonly templateUri: string;
/**
* The type of the deployment
*/
readonly type: string;
}
/**
* Data source for retrieving a Harness service
*/
export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
/**
* A collection of arguments for invoking getService.
*/
export interface GetServiceOutputArgs {
/**
* The id of the application the service belongs to
*/
appId: pulumi.Input<string>;
/**
* Unique identifier of the application
*/
id: pulumi.Input<string>;
}