@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
112 lines (111 loc) • 2.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up an Spot connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getSpotConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getSpotConnector(args: GetSpotConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetSpotConnectorResult>;
/**
* A collection of arguments for invoking getSpotConnector.
*/
export interface GetSpotConnectorArgs {
/**
* 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 getSpotConnector.
*/
export interface GetSpotConnectorResult {
/**
* 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;
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Authenticate to Spot using account id and permanent token.
*/
readonly permanentTokens: outputs.platform.GetSpotConnectorPermanentToken[];
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up an Spot connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getSpotConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getSpotConnectorOutput(args: GetSpotConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSpotConnectorResult>;
/**
* A collection of arguments for invoking getSpotConnector.
*/
export interface GetSpotConnectorOutputArgs {
/**
* 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>;
}