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

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

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

    Returns the details of a fleet namespace.

    Using getNamespace

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNamespace(args: GetNamespaceArgs, opts?: InvokeOptions): Promise<GetNamespaceResult>
    function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: InvokeOptions): Output<GetNamespaceResult>
    def get_namespace(location: Optional[str] = None,
                      namespace_id: Optional[str] = None,
                      project: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
    def get_namespace_output(location: Optional[pulumi.Input[str]] = None,
                      namespace_id: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]
    func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
    func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput

    > Note: This function is named LookupNamespace in the Go SDK.

    public static class GetNamespace 
    {
        public static Task<GetNamespaceResult> InvokeAsync(GetNamespaceArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceResult> Invoke(GetNamespaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:gkehub/v1beta:getNamespace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    NamespaceId string
    Project string
    Location string
    NamespaceId string
    Project string
    location String
    namespaceId String
    project String
    location string
    namespaceId string
    project string
    location String
    namespaceId String
    project String

    getNamespace Result

    The following output properties are available:

    CreateTime string

    When the namespace was created.

    DeleteTime string

    When the namespace was deleted.

    Name string

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    Scope string

    Scope associated with the namespace

    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.

    Name string

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    Scope string

    Scope associated with the namespace

    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.

    name String

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    scope String

    Scope associated with the namespace

    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.

    name string

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    scope string

    Scope associated with the namespace

    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.

    name str

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    scope str

    Scope associated with the namespace

    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.

    name String

    The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

    scope String

    Scope associated with the namespace

    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

    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