@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
95 lines (94 loc) • 3.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `scaleway.functions.Namespace` data source is used to retrieve information about a Serverless Functions namespace.
*
* Refer to the Serverless Functions [product documentation](https://www.scaleway.com/en/docs/serverless/functions/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/) for more information.
*/
export declare function getNamespace(args?: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceResult>;
/**
* A collection of arguments for invoking getNamespace.
*/
export interface GetNamespaceArgs {
/**
* The name of the namespace. Only one of `name` and `namespaceId` should be specified.
*/
name?: string;
/**
* The unique identifier of the namespace. Only one of `name` and `namespaceId` should be specified.
*/
namespaceId?: string;
/**
* `projectId`) The unique identifier of the project with which the namespace is associated.
*/
projectId?: string;
/**
* `region`) The region in which the namespace exists.
*/
region?: string;
}
/**
* A collection of values returned by getNamespace.
*/
export interface GetNamespaceResult {
/**
* The description of the namespace.
*/
readonly description: string;
/**
* The environment variables of the namespace.
*/
readonly environmentVariables: {
[key: string]: string;
};
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly namespaceId?: string;
/**
* The unique identifier of the organization with which the namespace is associated.
*/
readonly organizationId: string;
readonly projectId?: string;
readonly region?: string;
/**
* The registry endpoint of the namespace.
*/
readonly registryEndpoint: string;
/**
* The unique identifier of the registry namespace of the Serverless Functions namespace.
*/
readonly registryNamespaceId: string;
readonly secretEnvironmentVariables: {
[key: string]: string;
};
readonly tags: string[];
}
/**
* The `scaleway.functions.Namespace` data source is used to retrieve information about a Serverless Functions namespace.
*
* Refer to the Serverless Functions [product documentation](https://www.scaleway.com/en/docs/serverless/functions/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/) for more information.
*/
export declare function getNamespaceOutput(args?: GetNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceResult>;
/**
* A collection of arguments for invoking getNamespace.
*/
export interface GetNamespaceOutputArgs {
/**
* The name of the namespace. Only one of `name` and `namespaceId` should be specified.
*/
name?: pulumi.Input<string>;
/**
* The unique identifier of the namespace. Only one of `name` and `namespaceId` should be specified.
*/
namespaceId?: pulumi.Input<string>;
/**
* `projectId`) The unique identifier of the project with which the namespace is associated.
*/
projectId?: pulumi.Input<string>;
/**
* `region`) The region in which the namespace exists.
*/
region?: pulumi.Input<string>;
}