UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

117 lines (116 loc) 4.01 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * * const main = new scaleway.IamApplication("main", {description: "a description"}); * ``` * * ## Import * * Applications can be imported using the `{id}`, e.g. bash * * ```sh * $ pulumi import scaleway:index/iamApplication:IamApplication main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class IamApplication extends pulumi.CustomResource { /** * Get an existing IamApplication 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?: IamApplicationState, opts?: pulumi.CustomResourceOptions): IamApplication; /** * Returns true if the given object is an instance of IamApplication. 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 IamApplication; /** * 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 date and time of the last update of the application. */ readonly updatedAt: pulumi.Output<string>; /** * Create a IamApplication 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?: IamApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamApplication resources. */ export interface IamApplicationState { /** * 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 date and time of the last update of the application. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a IamApplication resource. */ export interface IamApplicationArgs { /** * 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>; }