import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the details of a fleet namespace. */ export declare function getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetNamespaceArgs { location: string; namespaceId: string; project?: string; scopeId: string; } export interface GetNamespaceResult { /** * When the namespace was created. */ readonly createTime: string; /** * When the namespace was deleted. */ readonly deleteTime: string; /** * Optional. Labels for this Namespace. */ readonly labels: { [key: string]: string; }; /** * The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */ readonly name: string; /** * 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: { [key: string]: string; }; /** * Scope associated with the namespace */ readonly scope: string; /** * State of the namespace resource. */ readonly state: outputs.gkehub.v1alpha.NamespaceLifecycleStateResponse; /** * 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: string; /** * When the namespace was last updated. */ readonly updateTime: string; } /** * Returns the details of a fleet namespace. */ export declare function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetNamespaceOutputArgs { location: pulumi.Input; namespaceId: pulumi.Input; project?: pulumi.Input; scopeId: pulumi.Input; }