@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
83 lines (82 loc) • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
*/
export declare function getGitopsRepoCert(args: GetGitopsRepoCertArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsRepoCertResult>;
/**
* A collection of arguments for invoking getGitopsRepoCert.
*/
export interface GetGitopsRepoCertArgs {
/**
* Account identifier of the GitOps repository certificate.
*
* @deprecated This field is deprecated and will be removed in a future release.
*/
accountId?: string;
/**
* Agent identifier of the GitOps repository certificate.
*/
agentId: string;
/**
* Organization identifier of the GitOps repository certificate.
*/
orgId?: string;
/**
* Project identifier of the GitOps repository certificate.
*/
projectId?: string;
}
/**
* A collection of values returned by getGitopsRepoCert.
*/
export interface GetGitopsRepoCertResult {
/**
* Account identifier of the GitOps repository certificate.
*
* @deprecated This field is deprecated and will be removed in a future release.
*/
readonly accountId: string;
/**
* Agent identifier of the GitOps repository certificate.
*/
readonly agentId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Organization identifier of the GitOps repository certificate.
*/
readonly orgId?: string;
/**
* Project identifier of the GitOps repository certificate.
*/
readonly projectId?: string;
}
/**
* Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
*/
export declare function getGitopsRepoCertOutput(args: GetGitopsRepoCertOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsRepoCertResult>;
/**
* A collection of arguments for invoking getGitopsRepoCert.
*/
export interface GetGitopsRepoCertOutputArgs {
/**
* Account identifier of the GitOps repository certificate.
*
* @deprecated This field is deprecated and will be removed in a future release.
*/
accountId?: pulumi.Input<string>;
/**
* Agent identifier of the GitOps repository certificate.
*/
agentId: pulumi.Input<string>;
/**
* Organization identifier of the GitOps repository certificate.
*/
orgId?: pulumi.Input<string>;
/**
* Project identifier of the GitOps repository certificate.
*/
projectId?: pulumi.Input<string>;
}