@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
83 lines (82 loc) • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness organization
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const this = harness.platform.getOrganization({
* identifier: "identifier",
* });
* ```
*/
export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
/**
* A collection of arguments for invoking getOrganization.
*/
export interface GetOrganizationArgs {
/**
* Unique identifier of the resource.
*/
identifier?: string;
/**
* Name of the resource.
*/
name?: string;
}
/**
* A collection of values returned by getOrganization.
*/
export interface GetOrganizationResult {
/**
* 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;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Data source for retrieving a Harness organization
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const this = harness.platform.getOrganization({
* identifier: "identifier",
* });
* ```
*/
export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
/**
* A collection of arguments for invoking getOrganization.
*/
export interface GetOrganizationOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier?: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
}