@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
124 lines (123 loc) • 3.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up a GCP Cloud Cost Connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGcpCloudCostConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getGcpCloudCostConnector(args: GetGcpCloudCostConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetGcpCloudCostConnectorResult>;
/**
* A collection of arguments for invoking getGcpCloudCostConnector.
*/
export interface GetGcpCloudCostConnectorArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Name of the resource.
*/
name?: string;
/**
* Unique identifier of the organization.
*/
orgId?: string;
/**
* Unique identifier of the project.
*/
projectId?: string;
}
/**
* A collection of values returned by getGcpCloudCostConnector.
*/
export interface GetGcpCloudCostConnectorResult {
/**
* Returns billing details.
*/
readonly billingExportSpecs: outputs.platform.GetGcpCloudCostConnectorBillingExportSpec[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* Indicates which features to enable among Billing, Optimization, and Visibility.
*/
readonly featuresEnableds: string[];
/**
* GCP Project Id.
*/
readonly gcpProjectId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Email corresponding to the Service Account.
*/
readonly serviceAccountEmail: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up a GCP Cloud Cost Connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGcpCloudCostConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getGcpCloudCostConnectorOutput(args: GetGcpCloudCostConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGcpCloudCostConnectorResult>;
/**
* A collection of arguments for invoking getGcpCloudCostConnector.
*/
export interface GetGcpCloudCostConnectorOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
/**
* Unique identifier of the organization.
*/
orgId?: pulumi.Input<string>;
/**
* Unique identifier of the project.
*/
projectId?: pulumi.Input<string>;
}