Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getFunctionNamespace
Explore with Pulumi AI
The scaleway.FunctionNamespace
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 getFunctionNamespace
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 getFunctionNamespace(args: GetFunctionNamespaceArgs, opts?: InvokeOptions): Promise<GetFunctionNamespaceResult>
function getFunctionNamespaceOutput(args: GetFunctionNamespaceOutputArgs, opts?: InvokeOptions): Output<GetFunctionNamespaceResult>
def get_function_namespace(name: Optional[str] = None,
namespace_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionNamespaceResult
def get_function_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[GetFunctionNamespaceResult]
func LookupFunctionNamespace(ctx *Context, args *LookupFunctionNamespaceArgs, opts ...InvokeOption) (*LookupFunctionNamespaceResult, error)
func LookupFunctionNamespaceOutput(ctx *Context, args *LookupFunctionNamespaceOutputArgs, opts ...InvokeOption) LookupFunctionNamespaceResultOutput
> Note: This function is named LookupFunctionNamespace
in the Go SDK.
public static class GetFunctionNamespace
{
public static Task<GetFunctionNamespaceResult> InvokeAsync(GetFunctionNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionNamespaceResult> Invoke(GetFunctionNamespaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionNamespaceResult> getFunctionNamespace(GetFunctionNamespaceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getFunctionNamespace:getFunctionNamespace
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the namespace. Only one of
name
andnamespace_id
should be specified. - Namespace
Id string - The unique identifier of the namespace. Only one of
name
andnamespace_id
should be specified. - Project
Id 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
andnamespace_id
should be specified. - Namespace
Id string - The unique identifier of the namespace. Only one of
name
andnamespace_id
should be specified. - Project
Id 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
andnamespace_id
should be specified. - namespace
Id String - The unique identifier of the namespace. Only one of
name
andnamespace_id
should be specified. - project
Id 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
andnamespace_id
should be specified. - namespace
Id string - The unique identifier of the namespace. Only one of
name
andnamespace_id
should be specified. - project
Id 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
andnamespace_id
should be specified. - namespace_
id str - The unique identifier of the namespace. Only one of
name
andnamespace_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
andnamespace_id
should be specified. - namespace
Id String - The unique identifier of the namespace. Only one of
name
andnamespace_id
should be specified. - project
Id 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.
getFunctionNamespace Result
The following output properties are available:
- Description string
- The description of the namespace.
- Environment
Variables Dictionary<string, string> - The environment variables of the namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The unique identifier of the organization with which the namespace is associated.
- Registry
Endpoint string - The registry endpoint of the namespace.
- Registry
Namespace stringId - The unique identifier of the registry namespace of the Serverless Functions namespace.
- Secret
Environment Dictionary<string, string>Variables - Name string
- Namespace
Id string - Project
Id string - Region string
- Description string
- The description of the namespace.
- Environment
Variables map[string]string - The environment variables of the namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The unique identifier of the organization with which the namespace is associated.
- Registry
Endpoint string - The registry endpoint of the namespace.
- Registry
Namespace stringId - The unique identifier of the registry namespace of the Serverless Functions namespace.
- Secret
Environment map[string]stringVariables - Name string
- Namespace
Id string - Project
Id string - Region string
- description String
- The description of the namespace.
- environment
Variables Map<String,String> - The environment variables of the namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The unique identifier of the organization with which the namespace is associated.
- registry
Endpoint String - The registry endpoint of the namespace.
- registry
Namespace StringId - The unique identifier of the registry namespace of the Serverless Functions namespace.
- secret
Environment Map<String,String>Variables - name String
- namespace
Id String - project
Id String - region String
- description string
- The description of the namespace.
- environment
Variables {[key: string]: string} - The environment variables of the namespace.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The unique identifier of the organization with which the namespace is associated.
- registry
Endpoint string - The registry endpoint of the namespace.
- registry
Namespace stringId - The unique identifier of the registry namespace of the Serverless Functions namespace.
- secret
Environment {[key: string]: string}Variables - name string
- namespace
Id string - project
Id 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_ strid - The unique identifier of the registry namespace of the Serverless Functions namespace.
- secret_
environment_ Mapping[str, str]variables - name str
- namespace_
id str - project_
id str - region str
- description String
- The description of the namespace.
- environment
Variables Map<String> - The environment variables of the namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The unique identifier of the organization with which the namespace is associated.
- registry
Endpoint String - The registry endpoint of the namespace.
- registry
Namespace StringId - The unique identifier of the registry namespace of the Serverless Functions namespace.
- secret
Environment Map<String>Variables - name String
- namespace
Id String - project
Id 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.