@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
123 lines (122 loc) • 3.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Datasource for fetching a Harness Gitops Agents.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGitopsAgentDeployYaml({
* accountId: "account_id",
* identifier: "identifier",
* namespace: "namespace",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
export declare function getGitopsAgentDeployYaml(args: GetGitopsAgentDeployYamlArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsAgentDeployYamlResult>;
/**
* A collection of arguments for invoking getGitopsAgentDeployYaml.
*/
export interface GetGitopsAgentDeployYamlArgs {
/**
* Account identifier of the GitOps agent.
*/
accountId: string;
/**
* Identifier of the GitOps agent.
*/
identifier: string;
/**
* The k8s namespace that the GitOps agent resides in.
*/
namespace: string;
/**
* Organization identifier of the GitOps agent.
*/
orgId?: string;
/**
* Project identifier of the GitOps agent.
*/
projectId?: string;
}
/**
* A collection of values returned by getGitopsAgentDeployYaml.
*/
export interface GetGitopsAgentDeployYamlResult {
/**
* Account identifier of the GitOps agent.
*/
readonly accountId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Identifier of the GitOps agent.
*/
readonly identifier: string;
/**
* The k8s namespace that the GitOps agent resides in.
*/
readonly namespace: string;
/**
* Organization identifier of the GitOps agent.
*/
readonly orgId?: string;
/**
* Project identifier of the GitOps agent.
*/
readonly projectId?: string;
/**
* Deployment YAML of the GitOps agent.
*/
readonly yaml: string;
}
/**
* Datasource for fetching a Harness Gitops Agents.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGitopsAgentDeployYaml({
* accountId: "account_id",
* identifier: "identifier",
* namespace: "namespace",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
export declare function getGitopsAgentDeployYamlOutput(args: GetGitopsAgentDeployYamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitopsAgentDeployYamlResult>;
/**
* A collection of arguments for invoking getGitopsAgentDeployYaml.
*/
export interface GetGitopsAgentDeployYamlOutputArgs {
/**
* Account identifier of the GitOps agent.
*/
accountId: pulumi.Input<string>;
/**
* Identifier of the GitOps agent.
*/
identifier: pulumi.Input<string>;
/**
* The k8s namespace that the GitOps agent resides in.
*/
namespace: pulumi.Input<string>;
/**
* Organization identifier of the GitOps agent.
*/
orgId?: pulumi.Input<string>;
/**
* Project identifier of the GitOps agent.
*/
projectId?: pulumi.Input<string>;
}