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 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 dictionaryThe following arguments are supported:
- Location string
 - Namespace
Id string - Project string
 
- Location string
 - Namespace
Id string - Project string
 
- location String
 - namespace
Id String - project String
 
- location string
 - namespace
Id string - project string
 
- location str
 - namespace_
id str - project str
 
- location String
 - namespace
Id String - project String
 
getNamespace Result
The following output properties are available:
- Create
Time 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.
 - Update
Time string - The timestamp when the namespace was last updated.
 
- Create
Time 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.
 - Update
Time string - The timestamp when the namespace was last updated.
 
- create
Time 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.
 - update
Time String - The timestamp when the namespace was last updated.
 
- create
Time 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.
 - update
Time 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.
 
- create
Time 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.
 - update
Time String - The timestamp when the namespace was last updated.
 
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi