import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Repository in a given project and location. * Auto-naming is currently not supported for this resource. */ export declare class Repository extends pulumi.CustomResource { /** * Get an existing Repository resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Repository; /** * Returns true if the given object is an instance of Repository. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Repository; /** * Optional. The repository's user-friendly name. */ readonly displayName: pulumi.Output; /** * Optional. If set, configures this repository to be linked to a Git remote. */ readonly gitRemoteSettings: pulumi.Output; /** * Optional. Repository user labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The repository's name. */ readonly name: pulumi.Output; /** * Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format. */ readonly npmrcEnvironmentVariablesSecretVersion: pulumi.Output; readonly project: pulumi.Output; /** * Required. The ID to use for the repository, which will become the final component of the repository's resource name. */ readonly repositoryId: pulumi.Output; /** * Optional. The service account to run workflow invocations under. */ readonly serviceAccount: pulumi.Output; /** * Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories */ readonly setAuthenticatedUserAdmin: pulumi.Output; /** * Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information. */ readonly workspaceCompilationOverrides: pulumi.Output; /** * Create a Repository resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RepositoryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Repository resource. */ export interface RepositoryArgs { /** * Optional. The repository's user-friendly name. */ displayName?: pulumi.Input; /** * Optional. If set, configures this repository to be linked to a Git remote. */ gitRemoteSettings?: pulumi.Input; /** * Optional. Repository user labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format. */ npmrcEnvironmentVariablesSecretVersion?: pulumi.Input; project?: pulumi.Input; /** * Required. The ID to use for the repository, which will become the final component of the repository's resource name. */ repositoryId: pulumi.Input; /** * Optional. The service account to run workflow invocations under. */ serviceAccount?: pulumi.Input; /** * Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories */ setAuthenticatedUserAdmin?: pulumi.Input; /** * Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information. */ workspaceCompilationOverrides?: pulumi.Input; }