UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

191 lines (190 loc) 6.22 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 deployment manifest YAML. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsAgentDeployYaml({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * namespace: "namespace", * }); * ``` */ 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. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: string; /** * Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable. */ argocdSettings?: inputs.platform.GetGitopsAgentDeployYamlArgocdSettings; /** * 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.GetGitopsAgentDeployYamlProxy[]; /** * Skip CRDs for the GitOps agent. */ skipCrds?: boolean; } /** * A collection of values returned by getGitopsAgentDeployYaml. */ export interface GetGitopsAgentDeployYamlResult { /** * Account identifier of the GitOps agent. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: string; /** * Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable. */ readonly argocdSettings?: outputs.platform.GetGitopsAgentDeployYamlArgocdSettings; /** * 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.GetGitopsAgentDeployYamlProxy[]; /** * Skip CRDs for the GitOps agent. */ readonly skipCrds?: boolean; /** * The deployment manifest YAML of the GitOps agent. */ readonly yaml: string; } /** * Datasource for fetching a Harness Gitops Agent deployment manifest YAML. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsAgentDeployYaml({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * namespace: "namespace", * }); * ``` */ export declare function getGitopsAgentDeployYamlOutput(args: GetGitopsAgentDeployYamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsAgentDeployYamlResult>; /** * A collection of arguments for invoking getGitopsAgentDeployYaml. */ export interface GetGitopsAgentDeployYamlOutputArgs { /** * Account identifier of the GitOps agent. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input<string>; /** * Argocd settings for the GitOps agent. Values set here will be overridden by the values set in the argocd settings in case of complete installation of agent + argocd. Each param contains as a description about what it will enable. */ argocdSettings?: pulumi.Input<inputs.platform.GetGitopsAgentDeployYamlArgocdSettingsArgs>; /** * 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.GetGitopsAgentDeployYamlProxyArgs>[]>; /** * Skip CRDs for the GitOps agent. */ skipCrds?: pulumi.Input<boolean>; }