1. Packages
  2. Google Cloud Native
  3. API Docs
  4. servicedirectory
  5. servicedirectory/v1beta1
  6. getNamespace

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.servicedirectory/v1beta1.getNamespace

Explore with Pulumi AI

google-native logo

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets a 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:servicedirectory/v1beta1: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
    The timestamp when the namespace was created.
    Labels Dictionary<string, string>
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    Name string
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    Uid string
    A globally unique identifier (in UUID4 format) for this namespace.
    UpdateTime string
    The timestamp when the namespace was last updated.
    CreateTime string
    The timestamp when the namespace was created.
    Labels map[string]string
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    Name string
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    Uid string
    A globally unique identifier (in UUID4 format) for this namespace.
    UpdateTime string
    The timestamp when the namespace was last updated.
    createTime String
    The timestamp when the namespace was created.
    labels Map<String,String>
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    name String
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    uid String
    A globally unique identifier (in UUID4 format) for this namespace.
    updateTime String
    The timestamp when the namespace was last updated.
    createTime string
    The timestamp when the namespace was created.
    labels {[key: string]: string}
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    name string
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    uid string
    A globally unique identifier (in UUID4 format) for this namespace.
    updateTime string
    The timestamp when the namespace was last updated.
    create_time str
    The timestamp when the namespace was created.
    labels Mapping[str, str]
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    name str
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    uid str
    A globally unique identifier (in UUID4 format) for this namespace.
    update_time str
    The timestamp when the namespace was last updated.
    createTime String
    The timestamp when the namespace was created.
    labels Map<String>
    Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
    name String
    Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
    uid String
    A globally unique identifier (in UUID4 format) for this namespace.
    updateTime String
    The timestamp when the namespace was last updated.

    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.32.0 published on Wednesday, Nov 29, 2023 by Pulumi