Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1beta.Namespace
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a fleet namespace. Auto-naming is currently not supported for this resource.
Create Namespace Resource
new Namespace(name: string, args: NamespaceArgs, opts?: CustomResourceOptions);
@overload
def Namespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
name: Optional[str] = None,
namespace_id: Optional[str] = None,
project: Optional[str] = None,
scope: Optional[str] = None)
@overload
def Namespace(resource_name: str,
args: NamespaceArgs,
opts: Optional[ResourceOptions] = None)
func NewNamespace(ctx *Context, name string, args NamespaceArgs, opts ...ResourceOption) (*Namespace, error)
public Namespace(string name, NamespaceArgs args, CustomResourceOptions? opts = null)
public Namespace(String name, NamespaceArgs args)
public Namespace(String name, NamespaceArgs args, CustomResourceOptions options)
type: google-native:gkehub/v1beta:Namespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Namespace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Namespace resource accepts the following input properties:
- Namespace
Id string 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.- Scope string
Scope associated with the namespace
- Location string
- Name string
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- Project string
- Namespace
Id string 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.- Scope string
Scope associated with the namespace
- Location string
- Name string
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- Project string
- namespace
Id String 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.- scope String
Scope associated with the namespace
- location String
- name String
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- project String
- namespace
Id string 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.- scope string
Scope associated with the namespace
- location string
- name string
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- project string
- namespace_
id str 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.- scope str
Scope associated with the namespace
- location str
- name str
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- project str
- namespace
Id String 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.- scope String
Scope associated with the namespace
- location String
- name String
The resource name for the namespace
projects/{project}/locations/{location}/namespaces/{namespace}
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Namespace resource produces the following output properties:
- Create
Time string When the namespace was created.
- Delete
Time string When the namespace was deleted.
- Id string
The provider-assigned unique ID for this managed resource.
- State
Pulumi.
Google Native. GKEHub. V1Beta. Outputs. Namespace Lifecycle State Response State of the namespace resource.
- Uid string
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.
- Update
Time string When the namespace was last updated.
- Create
Time string When the namespace was created.
- Delete
Time string When the namespace was deleted.
- Id string
The provider-assigned unique ID for this managed resource.
- State
Namespace
Lifecycle State Response State of the namespace resource.
- Uid string
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.
- Update
Time string When the namespace was last updated.
- create
Time String When the namespace was created.
- delete
Time String When the namespace was deleted.
- id String
The provider-assigned unique ID for this managed resource.
- state
Namespace
Lifecycle State Response State of the namespace resource.
- uid String
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.
- update
Time String When the namespace was last updated.
- create
Time string When the namespace was created.
- delete
Time string When the namespace was deleted.
- id string
The provider-assigned unique ID for this managed resource.
- state
Namespace
Lifecycle State Response State of the namespace resource.
- uid string
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.
- update
Time string When the namespace was last updated.
- create_
time str When the namespace was created.
- delete_
time str When the namespace was deleted.
- id str
The provider-assigned unique ID for this managed resource.
- state
Namespace
Lifecycle State Response State of the namespace resource.
- uid str
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.
- update_
time str When the namespace was last updated.
- create
Time String When the namespace was created.
- delete
Time String When the namespace was deleted.
- id String
The provider-assigned unique ID for this managed resource.
- state Property Map
State of the namespace resource.
- uid String
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.
- update
Time String When the namespace was last updated.
Supporting Types
NamespaceLifecycleStateResponse, NamespaceLifecycleStateResponseArgs
- Code string
The current state of the Namespace resource.
- Code string
The current state of the Namespace resource.
- code String
The current state of the Namespace resource.
- code string
The current state of the Namespace resource.
- code str
The current state of the Namespace resource.
- code String
The current state of the Namespace resource.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.