@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
71 lines • 2.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `scaleway.account.Project` data source is used to retrieve information about a Scaleway project.
*
* Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
*/
export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
/**
* A collection of arguments for invoking getProject.
*/
export interface GetProjectArgs {
/**
* The name of the Project.
* Only one of the `name` and `projectId` should be specified.
*/
name?: string;
/**
* The unique identifier of the Organization with which the Project is associated.
*
* If no default `organizationId` is set, one must be set explicitly in this datasource
*/
organizationId?: string;
/**
* The unique identifier of the Project.
* Only one of the `name` and `projectId` should be specified.
*/
projectId?: string;
}
/**
* A collection of values returned by getProject.
*/
export interface GetProjectResult {
readonly createdAt: string;
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly organizationId?: string;
readonly projectId: string;
readonly updatedAt: string;
}
/**
* The `scaleway.account.Project` data source is used to retrieve information about a Scaleway project.
*
* Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
*/
export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>;
/**
* A collection of arguments for invoking getProject.
*/
export interface GetProjectOutputArgs {
/**
* The name of the Project.
* Only one of the `name` and `projectId` should be specified.
*/
name?: pulumi.Input<string | undefined>;
/**
* The unique identifier of the Organization with which the Project is associated.
*
* If no default `organizationId` is set, one must be set explicitly in this datasource
*/
organizationId?: pulumi.Input<string | undefined>;
/**
* The unique identifier of the Project.
* Only one of the `name` and `projectId` should be specified.
*/
projectId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getProject.d.ts.map