UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

124 lines (123 loc) 3.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Datasource for looking up a Datadog connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getDockerConnector({ * identifier: "identifier", * }); * ``` */ export declare function getDockerConnector(args: GetDockerConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetDockerConnectorResult>; /** * A collection of arguments for invoking getDockerConnector. */ export interface GetDockerConnectorArgs { /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getDockerConnector. */ export interface GetDockerConnectorResult { /** * The credentials to use for the docker registry. If not specified then the connection is made to the registry anonymously. */ readonly credentials: outputs.platform.GetDockerConnectorCredential[]; /** * Tags to filter delegates for connection. */ readonly delegateSelectors: string[]; /** * 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; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; /** * The type of the docker registry. Valid options are DockerHub, Harbor, Other, Quay */ readonly type: string; /** * The URL of the docker registry. */ readonly url: string; } /** * Datasource for looking up a Datadog connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getDockerConnector({ * identifier: "identifier", * }); * ``` */ export declare function getDockerConnectorOutput(args: GetDockerConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDockerConnectorResult>; /** * A collection of arguments for invoking getDockerConnector. */ export interface GetDockerConnectorOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input<string>; /** * Name of the resource. */ name?: pulumi.Input<string>; /** * Unique identifier of the organization. */ orgId?: pulumi.Input<string>; /** * Unique identifier of the project. */ projectId?: pulumi.Input<string>; }