@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
103 lines (102 loc) • 3.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Import
*
* Projects can be imported using the `id` argument, as shown below:
*
* bash
*
* ```sh
* $ pulumi import scaleway:index/accountProject:AccountProject project 11111111-1111-1111-1111-111111111111
* ```
*
* @deprecated scaleway.index/accountproject.AccountProject has been deprecated in favor of scaleway.account/project.Project
*/
export declare class AccountProject extends pulumi.CustomResource {
/**
* Get an existing AccountProject resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountProjectState, opts?: pulumi.CustomResourceOptions): AccountProject;
/**
* Returns true if the given object is an instance of AccountProject. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AccountProject;
/**
* The creation time of the Project.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The description of the Project.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The name of the Project.
*/
readonly name: pulumi.Output<string>;
/**
* `organizationId`)The organization ID the Project is associated with. Any change made to the `organizationId` will recreate the resource.
*/
readonly organizationId: pulumi.Output<string>;
/**
* The last update time of the Project.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a AccountProject resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
/** @deprecated scaleway.index/accountproject.AccountProject has been deprecated in favor of scaleway.account/project.Project */
constructor(name: string, args?: AccountProjectArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AccountProject resources.
*/
export interface AccountProjectState {
/**
* The creation time of the Project.
*/
createdAt?: pulumi.Input<string>;
/**
* The description of the Project.
*/
description?: pulumi.Input<string>;
/**
* The name of the Project.
*/
name?: pulumi.Input<string>;
/**
* `organizationId`)The organization ID the Project is associated with. Any change made to the `organizationId` will recreate the resource.
*/
organizationId?: pulumi.Input<string>;
/**
* The last update time of the Project.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AccountProject resource.
*/
export interface AccountProjectArgs {
/**
* The description of the Project.
*/
description?: pulumi.Input<string>;
/**
* The name of the Project.
*/
name?: pulumi.Input<string>;
/**
* `organizationId`)The organization ID the Project is associated with. Any change made to the `organizationId` will recreate the resource.
*/
organizationId?: pulumi.Input<string>;
}