Namespace Args
data class NamespaceArgs(val labels: Output<Map<String, String>>? = null, val namespaceLabels: Output<Map<String, String>>? = null, val project: Output<String>? = null, val scope: Output<String>? = null, val scopeId: Output<String>? = null, val scopeNamespaceId: Output<String>? = null) : ConvertibleToJava<NamespaceArgs>
Namespace represents a namespace across the Fleet. To get more information about Namespace, see:
How-to Guides
Registering a Cluster {{% examples %}}
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}}
Content copied to clipboard
$ pulumi import gcp:gkehub/namespace:Namespace default {{project}}/{{scope_id}}/{{scope_namespace_id}}
Content copied to clipboard
$ pulumi import gcp:gkehub/namespace:Namespace default {{scope_id}}/{{scope_namespace_id}}
Content copied to clipboard
Constructors
Properties
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
The client-provided identifier of the namespace.