UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

131 lines (130 loc) 3.94 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Datasource for fetching a Harness Gitops Agent operator manifest YAML. */ export declare function getGitopsAgentOperatorYaml(args: GetGitopsAgentOperatorYamlArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsAgentOperatorYamlResult>; /** * A collection of arguments for invoking getGitopsAgentOperatorYaml. */ export interface GetGitopsAgentOperatorYamlArgs { /** * CA data of the GitOps agent, base64 encoded content of ca chain. */ caData?: string; /** * Identifier of the GitOps agent. */ identifier: string; /** * The kubernetes namespace where the agent is installed. */ namespace: string; /** * Organization identifier of the GitOps agent. */ orgId?: string; /** * Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded. */ privateKey?: string; /** * Project identifier of the GitOps agent. */ projectId?: string; /** * Proxy settings for the GitOps agent. */ proxies?: inputs.platform.GetGitopsAgentOperatorYamlProxy[]; /** * Skip CRDs for the GitOps agent. */ skipCrds?: boolean; } /** * A collection of values returned by getGitopsAgentOperatorYaml. */ export interface GetGitopsAgentOperatorYamlResult { /** * CA data of the GitOps agent, base64 encoded content of ca chain. */ readonly caData?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Identifier of the GitOps agent. */ readonly identifier: string; /** * The kubernetes namespace where the agent is installed. */ readonly namespace: string; /** * Organization identifier of the GitOps agent. */ readonly orgId?: string; /** * Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded. */ readonly privateKey?: string; /** * Project identifier of the GitOps agent. */ readonly projectId?: string; /** * Proxy settings for the GitOps agent. */ readonly proxies?: outputs.platform.GetGitopsAgentOperatorYamlProxy[]; /** * Skip CRDs for the GitOps agent. */ readonly skipCrds?: boolean; /** * The operator manifest YAML of the GitOps agent. */ readonly yaml: string; } /** * Datasource for fetching a Harness Gitops Agent operator manifest YAML. */ export declare function getGitopsAgentOperatorYamlOutput(args: GetGitopsAgentOperatorYamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsAgentOperatorYamlResult>; /** * A collection of arguments for invoking getGitopsAgentOperatorYaml. */ export interface GetGitopsAgentOperatorYamlOutputArgs { /** * CA data of the GitOps agent, base64 encoded content of ca chain. */ caData?: pulumi.Input<string>; /** * Identifier of the GitOps agent. */ identifier: pulumi.Input<string>; /** * The kubernetes namespace where the agent is installed. */ namespace: pulumi.Input<string>; /** * Organization identifier of the GitOps agent. */ orgId?: pulumi.Input<string>; /** * Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded. */ privateKey?: pulumi.Input<string>; /** * Project identifier of the GitOps agent. */ projectId?: pulumi.Input<string>; /** * Proxy settings for the GitOps agent. */ proxies?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsAgentOperatorYamlProxyArgs>[]>; /** * Skip CRDs for the GitOps agent. */ skipCrds?: pulumi.Input<boolean>; }