1. Packages
  2. Scaleway
  3. API Docs
  4. functions
  5. getNamespace
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.functions.getNamespace

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

The scaleway.functions.Namespace data source is used to retrieve information about a Serverless Functions namespace.

Refer to the Serverless Functions product documentation and API documentation for more information.

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>
Copy
def get_namespace(name: Optional[str] = None,
                  namespace_id: Optional[str] = None,
                  project_id: Optional[str] = None,
                  region: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
def get_namespace_output(name: Optional[pulumi.Input[str]] = None,
                  namespace_id: Optional[pulumi.Input[str]] = None,
                  project_id: Optional[pulumi.Input[str]] = None,
                  region: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]
Copy
func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
public static Output<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:functions/getNamespace:getNamespace
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name string
The name of the namespace. Only one of name and namespace_id should be specified.
NamespaceId string
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
ProjectId string
project_id) The unique identifier of the project with which the namespace is associated.
Region string
region) The region in which the namespace exists.
Name string
The name of the namespace. Only one of name and namespace_id should be specified.
NamespaceId string
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
ProjectId string
project_id) The unique identifier of the project with which the namespace is associated.
Region string
region) The region in which the namespace exists.
name String
The name of the namespace. Only one of name and namespace_id should be specified.
namespaceId String
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
projectId String
project_id) The unique identifier of the project with which the namespace is associated.
region String
region) The region in which the namespace exists.
name string
The name of the namespace. Only one of name and namespace_id should be specified.
namespaceId string
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
projectId string
project_id) The unique identifier of the project with which the namespace is associated.
region string
region) The region in which the namespace exists.
name str
The name of the namespace. Only one of name and namespace_id should be specified.
namespace_id str
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
project_id str
project_id) The unique identifier of the project with which the namespace is associated.
region str
region) The region in which the namespace exists.
name String
The name of the namespace. Only one of name and namespace_id should be specified.
namespaceId String
The unique identifier of the namespace. Only one of name and namespace_id should be specified.
projectId String
project_id) The unique identifier of the project with which the namespace is associated.
region String
region) The region in which the namespace exists.

getNamespace Result

The following output properties are available:

Description string
The description of the namespace.
EnvironmentVariables Dictionary<string, string>
The environment variables of the namespace.
Id string
The provider-assigned unique ID for this managed resource.
OrganizationId string
The unique identifier of the organization with which the namespace is associated.
RegistryEndpoint string
The registry endpoint of the namespace.
RegistryNamespaceId string
The unique identifier of the registry namespace of the Serverless Functions namespace.
SecretEnvironmentVariables Dictionary<string, string>
Tags List<string>
Name string
NamespaceId string
ProjectId string
Region string
Description string
The description of the namespace.
EnvironmentVariables map[string]string
The environment variables of the namespace.
Id string
The provider-assigned unique ID for this managed resource.
OrganizationId string
The unique identifier of the organization with which the namespace is associated.
RegistryEndpoint string
The registry endpoint of the namespace.
RegistryNamespaceId string
The unique identifier of the registry namespace of the Serverless Functions namespace.
SecretEnvironmentVariables map[string]string
Tags []string
Name string
NamespaceId string
ProjectId string
Region string
description String
The description of the namespace.
environmentVariables Map<String,String>
The environment variables of the namespace.
id String
The provider-assigned unique ID for this managed resource.
organizationId String
The unique identifier of the organization with which the namespace is associated.
registryEndpoint String
The registry endpoint of the namespace.
registryNamespaceId String
The unique identifier of the registry namespace of the Serverless Functions namespace.
secretEnvironmentVariables Map<String,String>
tags List<String>
name String
namespaceId String
projectId String
region String
description string
The description of the namespace.
environmentVariables {[key: string]: string}
The environment variables of the namespace.
id string
The provider-assigned unique ID for this managed resource.
organizationId string
The unique identifier of the organization with which the namespace is associated.
registryEndpoint string
The registry endpoint of the namespace.
registryNamespaceId string
The unique identifier of the registry namespace of the Serverless Functions namespace.
secretEnvironmentVariables {[key: string]: string}
tags string[]
name string
namespaceId string
projectId string
region string
description str
The description of the namespace.
environment_variables Mapping[str, str]
The environment variables of the namespace.
id str
The provider-assigned unique ID for this managed resource.
organization_id str
The unique identifier of the organization with which the namespace is associated.
registry_endpoint str
The registry endpoint of the namespace.
registry_namespace_id str
The unique identifier of the registry namespace of the Serverless Functions namespace.
secret_environment_variables Mapping[str, str]
tags Sequence[str]
name str
namespace_id str
project_id str
region str
description String
The description of the namespace.
environmentVariables Map<String>
The environment variables of the namespace.
id String
The provider-assigned unique ID for this managed resource.
organizationId String
The unique identifier of the organization with which the namespace is associated.
registryEndpoint String
The registry endpoint of the namespace.
registryNamespaceId String
The unique identifier of the registry namespace of the Serverless Functions namespace.
secretEnvironmentVariables Map<String>
tags List<String>
name String
namespaceId String
projectId String
region String

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse