1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1beta
  6. Namespace

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.gkehub/v1beta.Namespace

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    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:

    NamespaceId 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
    NamespaceId 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
    namespaceId 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
    namespaceId 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
    namespaceId 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:

    CreateTime string

    When the namespace was created.

    DeleteTime string

    When the namespace was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    State Pulumi.GoogleNative.GKEHub.V1Beta.Outputs.NamespaceLifecycleStateResponse

    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.

    UpdateTime string

    When the namespace was last updated.

    CreateTime string

    When the namespace was created.

    DeleteTime string

    When the namespace was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    State NamespaceLifecycleStateResponse

    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.

    UpdateTime string

    When the namespace was last updated.

    createTime String

    When the namespace was created.

    deleteTime String

    When the namespace was deleted.

    id String

    The provider-assigned unique ID for this managed resource.

    state NamespaceLifecycleStateResponse

    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.

    updateTime String

    When the namespace was last updated.

    createTime string

    When the namespace was created.

    deleteTime string

    When the namespace was deleted.

    id string

    The provider-assigned unique ID for this managed resource.

    state NamespaceLifecycleStateResponse

    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.

    updateTime 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 NamespaceLifecycleStateResponse

    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.

    createTime String

    When the namespace was created.

    deleteTime 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.

    updateTime 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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi