NamespaceArgs

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:

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}}

Constructors

Link copied to clipboard
constructor(labels: Output<Map<String, String>>? = null, namespaceLabels: Output<Map<String, String>>? = null, project: Output<String>? = null, scope: Output<String>? = null, scopeId: Output<String>? = null, scopeNamespaceId: Output<String>? = null)

Properties

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

Labels for this Namespace.

Link copied to clipboard
val namespaceLabels: Output<Map<String, String>>? = null

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>? = null

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 scope: Output<String>? = null

The name of the Scope instance.

Link copied to clipboard
val scopeId: Output<String>? = null

Id of the scope

Link copied to clipboard
val scopeNamespaceId: Output<String>? = null

The client-provided identifier of the namespace.

Functions

Link copied to clipboard
open override fun toJava(): NamespaceArgs