@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
143 lines • 3.44 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Lists Scaleway Datalab instances.
*
* ## Example Usage
*
* ### List All
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const all = scaleway.datalab.getDatalabs({
* region: "fr-par",
* });
* ```
*
* ### Filtered
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const filtered = scaleway.datalab.getDatalabs({
* region: "fr-par",
* name: "my-datalab",
* tags: ["production"],
* });
* ```
*/
export declare function getDatalabs(args?: GetDatalabsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatalabsResult>;
/**
* A collection of arguments for invoking getDatalabs.
*/
export interface GetDatalabsArgs {
/**
* The name to filter Datalabs by.
*/
name?: string;
/**
* The organization ID to filter Datalabs by.
*/
organizationId?: string;
/**
* The project ID to filter Datalabs by.
*/
projectId?: string;
/**
* The region to list Datalabs from.
*/
region?: string;
/**
* The tags to filter Datalabs by.
*/
tags?: string[];
}
/**
* A collection of values returned by getDatalabs.
*/
export interface GetDatalabsResult {
/**
* The list of Datalab instances.
*/
readonly datalabs: outputs.datalab.GetDatalabsDatalab[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the Datalab instance.
*/
readonly name?: string;
readonly organizationId?: string;
/**
* The project ID of the Datalab instance.
*/
readonly projectId?: string;
/**
* The region of the Datalab instance.
*/
readonly region?: string;
/**
* Tags associated with the Datalab instance.
*/
readonly tags?: string[];
}
/**
* Lists Scaleway Datalab instances.
*
* ## Example Usage
*
* ### List All
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const all = scaleway.datalab.getDatalabs({
* region: "fr-par",
* });
* ```
*
* ### Filtered
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const filtered = scaleway.datalab.getDatalabs({
* region: "fr-par",
* name: "my-datalab",
* tags: ["production"],
* });
* ```
*/
export declare function getDatalabsOutput(args?: GetDatalabsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatalabsResult>;
/**
* A collection of arguments for invoking getDatalabs.
*/
export interface GetDatalabsOutputArgs {
/**
* The name to filter Datalabs by.
*/
name?: pulumi.Input<string | undefined>;
/**
* The organization ID to filter Datalabs by.
*/
organizationId?: pulumi.Input<string | undefined>;
/**
* The project ID to filter Datalabs by.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* The region to list Datalabs from.
*/
region?: pulumi.Input<string | undefined>;
/**
* The tags to filter Datalabs by.
*/
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=getDatalabs.d.ts.map