import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating and managing Harness Registries. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getHarRegistry({ * identifier: "test_registry", * spaceRef: "accountId/orgId/projectId", * }); * ``` */ export declare function getHarRegistry(args: GetHarRegistryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHarRegistry. */ export interface GetHarRegistryArgs { /** * Allowed artifact patterns */ allowedPatterns?: string[]; /** * Blocked artifact patterns */ blockedPatterns?: string[]; /** * Configuration for the registry */ configs?: inputs.platform.GetHarRegistryConfig[]; /** * Description of the registry */ description?: string; /** * Unique identifier of the registry */ identifier: string; /** * Custom metadata key-value pairs attached to the registry. Keys and values must match the pattern letters, numbers, _ . / = + - @. Keys are case-sensitive. Maximum 49 entries allowed. */ metadata?: { [key: string]: string; }; /** * Type of package (DOCKER, HELM, MAVEN, PYTHON, GENERIC, NUGET, NPM, RPM, CARGO, RAW, PUPPET) */ packageType?: string; /** * Parent reference for the registry */ parentRef: string; /** * Space reference for the registry */ spaceRef: string; } /** * A collection of values returned by getHarRegistry. */ export interface GetHarRegistryResult { /** * Allowed artifact patterns */ readonly allowedPatterns?: string[]; /** * Blocked artifact patterns */ readonly blockedPatterns?: string[]; /** * Configuration for the registry */ readonly configs?: outputs.platform.GetHarRegistryConfig[]; /** * Creation timestamp */ readonly createdAt: string; /** * Description of the registry */ readonly description?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the registry */ readonly identifier: string; /** * Whether the registry is public. When true, the registry is publicly accessible without authentication. */ readonly isPublic: boolean; /** * Custom metadata key-value pairs attached to the registry. Keys and values must match the pattern letters, numbers, _ . / = + - @. Keys are case-sensitive. Maximum 49 entries allowed. */ readonly metadata?: { [key: string]: string; }; /** * Type of package (DOCKER, HELM, MAVEN, PYTHON, GENERIC, NUGET, NPM, RPM, CARGO, RAW, PUPPET) */ readonly packageType?: string; /** * Parent reference for the registry */ readonly parentRef: string; /** * Space reference for the registry */ readonly spaceRef: string; /** * URL of the registry */ readonly url: string; } /** * Resource for creating and managing Harness Registries. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getHarRegistry({ * identifier: "test_registry", * spaceRef: "accountId/orgId/projectId", * }); * ``` */ export declare function getHarRegistryOutput(args: GetHarRegistryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHarRegistry. */ export interface GetHarRegistryOutputArgs { /** * Allowed artifact patterns */ allowedPatterns?: pulumi.Input[] | undefined>; /** * Blocked artifact patterns */ blockedPatterns?: pulumi.Input[] | undefined>; /** * Configuration for the registry */ configs?: pulumi.Input[] | undefined>; /** * Description of the registry */ description?: pulumi.Input; /** * Unique identifier of the registry */ identifier: pulumi.Input; /** * Custom metadata key-value pairs attached to the registry. Keys and values must match the pattern letters, numbers, _ . / = + - @. Keys are case-sensitive. Maximum 49 entries allowed. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Type of package (DOCKER, HELM, MAVEN, PYTHON, GENERIC, NUGET, NPM, RPM, CARGO, RAW, PUPPET) */ packageType?: pulumi.Input; /** * Parent reference for the registry */ parentRef: pulumi.Input; /** * Space reference for the registry */ spaceRef: pulumi.Input; } //# sourceMappingURL=getHarRegistry.d.ts.map