import * as pulumi from "@pulumi/pulumi"; /** * Creates a namespace, and returns the new namespace. */ export declare class Namespace extends pulumi.CustomResource { /** * Get an existing Namespace 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): Namespace; /** * Returns true if the given object is an instance of Namespace. 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 Namespace; /** * The timestamp when the namespace was created. */ readonly createTime: pulumi.Output; /** * Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`. */ readonly name: pulumi.Output; /** * Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ readonly namespaceId: pulumi.Output; readonly project: pulumi.Output; /** * A globally unique identifier (in UUID4 format) for this namespace. */ readonly uid: pulumi.Output; /** * The timestamp when the namespace was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Namespace 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: NamespaceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Namespace resource. */ export interface NamespaceArgs { /** * Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`. */ name?: pulumi.Input; /** * Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ namespaceId: pulumi.Input; project?: pulumi.Input; }