google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.servicedirectory/v1beta1.getNamespace

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/*.

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/*.

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/*.

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/*.

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/*.

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/*.

updateTime String

The timestamp when the namespace was last updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0