@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
119 lines (118 loc) • 3.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Datasource for looking up GCP Secret Manager connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGcpSecretManagerConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getGcpSecretManagerConnector(args: GetGcpSecretManagerConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetGcpSecretManagerConnectorResult>;
/**
* A collection of arguments for invoking getGcpSecretManagerConnector.
*/
export interface GetGcpSecretManagerConnectorArgs {
/**
* 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 getGcpSecretManagerConnector.
*/
export interface GetGcpSecretManagerConnectorResult {
/**
* Reference to the secret containing credentials of IAM service account for Google Secret Manager. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
*/
readonly credentialsRef: string;
/**
* Tags to filter delegates for connection.
*/
readonly delegateSelectors: string[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Indicative if this is default Secret manager for secrets.
*/
readonly isDefault: boolean;
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up GCP Secret Manager connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGcpSecretManagerConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getGcpSecretManagerConnectorOutput(args: GetGcpSecretManagerConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGcpSecretManagerConnectorResult>;
/**
* A collection of arguments for invoking getGcpSecretManagerConnector.
*/
export interface GetGcpSecretManagerConnectorOutputArgs {
/**
* 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>;
}