import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a fleet namespace. * Auto-naming is currently not supported for this resource. */ 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; /** * When the namespace was created. */ readonly createTime: pulumi.Output; /** * When the namespace was deleted. */ readonly deleteTime: pulumi.Output; /** * Optional. Labels for this Namespace. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */ readonly name: pulumi.Output; /** * Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant. */ readonly namespaceLabels: pulumi.Output<{ [key: string]: string; }>; readonly project: pulumi.Output; /** * Scope associated with the namespace */ readonly scope: pulumi.Output; readonly scopeId: pulumi.Output; /** * Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */ readonly scopeNamespaceId: pulumi.Output; /** * State of the namespace resource. */ readonly state: pulumi.Output; /** * Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid. */ readonly uid: pulumi.Output; /** * 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. Labels for this Namespace. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */ name?: pulumi.Input; /** * Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant. */ namespaceLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; project?: pulumi.Input; /** * Scope associated with the namespace */ scope: pulumi.Input; scopeId: pulumi.Input; /** * Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */ scopeNamespaceId: pulumi.Input; }