Namespace

class Namespace : KotlinCustomResource

Namespace represents a namespace across the Fleet. To get more information about Namespace, see:

Example Usage

{{% /examples %}}

Import

Namespace can be imported using any of these accepted formats

$ pulumi import gcp:gkehub/namespace:Namespace default projects/{{project}}/locations/global/scopes/{{scope_id}}/namespaces/{{scope_namespace_id}}
$ pulumi import gcp:gkehub/namespace:Namespace default {{project}}/{{scope_id}}/{{scope_namespace_id}}
$ pulumi import gcp:gkehub/namespace:Namespace default {{scope_id}}/{{scope_namespace_id}}

Properties

Link copied to clipboard
val createTime: Output<String>

Time the Namespace was created in UTC.

Link copied to clipboard
val deleteTime: Output<String>

Time the Namespace was deleted in UTC.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>?

Labels for this Namespace.

Link copied to clipboard
val name: Output<String>

The resource name for the namespace

Link copied to clipboard

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.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scope: Output<String>

The name of the Scope instance.

Link copied to clipboard
val scopeId: Output<String>

Id of the scope

Link copied to clipboard

The client-provided identifier of the namespace.

Link copied to clipboard
val states: Output<List<NamespaceState>>

State of the namespace resource. Structure is documented below.

Link copied to clipboard
val uid: Output<String>

Google-generated UUID for this resource.

Link copied to clipboard
val updateTime: Output<String>

Time the Namespace was updated in UTC.

Link copied to clipboard
val urn: Output<String>