import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project. */ export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetProjectArgs { project?: string; } export interface GetProjectResult { /** * Creation time. Read-only. */ readonly createTime: string; /** * The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}. Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}. A label value can be empty. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. */ readonly labels: { [key: string]: string; }; /** * The Project lifecycle state. Read-only. */ readonly lifecycleState: string; /** * The optional user-assigned display name of the Project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project` Read-write. */ readonly name: string; /** * An optional reference to a parent Resource. Supported parent types include "organization" and "folder". Once set, the parent cannot be cleared. The `parent` can be set on creation or using the `UpdateProject` method; the end user must have the `resourcemanager.projects.create` permission on the parent. */ readonly parent: outputs.cloudresourcemanager.v1.ResourceIdResponse; /** * The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after creation. */ readonly projectId: string; /** * The number uniquely identifying the project. Example: `415104041262` Read-only. */ readonly projectNumber: string; } /** * Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project. */ export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetProjectOutputArgs { project?: pulumi.Input; }