UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

134 lines (133 loc) 4.36 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.iam.Application("main", { * name: "My application", * description: "a description", * }); * ``` * * ## Import * * Applications can be imported using the `{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:iam/application:Application main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class Application extends pulumi.CustomResource { /** * Get an existing Application 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?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application; /** * Returns true if the given object is an instance of Application. 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 Application; /** * The date and time of the creation of the application. */ readonly createdAt: pulumi.Output<string>; /** * The description of the iam application. */ readonly description: pulumi.Output<string | undefined>; /** * Whether the application is editable. */ readonly editable: pulumi.Output<boolean>; /** * The name of the iam application. */ readonly name: pulumi.Output<string>; /** * `organizationId`) The ID of the organization the application is associated with. */ readonly organizationId: pulumi.Output<string>; /** * The tags associated with the application. */ readonly tags: pulumi.Output<string[] | undefined>; /** * The date and time of the last update of the application. */ readonly updatedAt: pulumi.Output<string>; /** * Create a Application 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. */ constructor(name: string, args?: ApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Application resources. */ export interface ApplicationState { /** * The date and time of the creation of the application. */ createdAt?: pulumi.Input<string>; /** * The description of the iam application. */ description?: pulumi.Input<string>; /** * Whether the application is editable. */ editable?: pulumi.Input<boolean>; /** * The name of the iam application. */ name?: pulumi.Input<string>; /** * `organizationId`) The ID of the organization the application is associated with. */ organizationId?: pulumi.Input<string>; /** * The tags associated with the application. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * The date and time of the last update of the application. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a Application resource. */ export interface ApplicationArgs { /** * The description of the iam application. */ description?: pulumi.Input<string>; /** * The name of the iam application. */ name?: pulumi.Input<string>; /** * `organizationId`) The ID of the organization the application is associated with. */ organizationId?: pulumi.Input<string>; /** * The tags associated with the application. */ tags?: pulumi.Input<pulumi.Input<string>[]>; }