UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

73 lines (72 loc) 3.03 kB
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. */ /** @deprecated scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject */ export declare function getAccountProject(args?: GetAccountProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountProjectResult>; /** * A collection of arguments for invoking getAccountProject. */ export interface GetAccountProjectArgs { /** * 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 getAccountProject. */ export interface GetAccountProjectResult { 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. */ /** @deprecated scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject */ export declare function getAccountProjectOutput(args?: GetAccountProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountProjectResult>; /** * A collection of arguments for invoking getAccountProject. */ export interface GetAccountProjectOutputArgs { /** * The name of the Project. * Only one of the `name` and `projectId` should be specified. */ name?: pulumi.Input<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?: pulumi.Input<string>; /** * The unique identifier of the Project. * Only one of the `name` and `projectId` should be specified. */ projectId?: pulumi.Input<string>; }