UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

101 lines (100 loc) 3.08 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about an existing IAM application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Get info by name * const findByName = scaleway.iam.getApplication({ * name: "foobar", * }); * // Get info by application ID * const findById = scaleway.iam.getApplication({ * applicationId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ /** @deprecated scaleway.index/getiamapplication.getIamApplication has been deprecated in favor of scaleway.iam/getapplication.getApplication */ export declare function getIamApplication(args?: GetIamApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetIamApplicationResult>; /** * A collection of arguments for invoking getIamApplication. */ export interface GetIamApplicationArgs { /** * The ID of the IAM application. * * > **Note** You must specify at least one: `name` and/or `applicationId`. */ applicationId?: string; /** * The name of the IAM application. */ name?: string; /** * `organizationId`) The ID of the * Organization the application is associated with. */ organizationId?: string; } /** * A collection of values returned by getIamApplication. */ export interface GetIamApplicationResult { readonly applicationId?: string; readonly createdAt: string; readonly description: string; readonly editable: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly organizationId?: string; readonly tags: string[]; readonly updatedAt: string; } /** * Gets information about an existing IAM application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Get info by name * const findByName = scaleway.iam.getApplication({ * name: "foobar", * }); * // Get info by application ID * const findById = scaleway.iam.getApplication({ * applicationId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ /** @deprecated scaleway.index/getiamapplication.getIamApplication has been deprecated in favor of scaleway.iam/getapplication.getApplication */ export declare function getIamApplicationOutput(args?: GetIamApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIamApplicationResult>; /** * A collection of arguments for invoking getIamApplication. */ export interface GetIamApplicationOutputArgs { /** * The ID of the IAM application. * * > **Note** You must specify at least one: `name` and/or `applicationId`. */ applicationId?: 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>; }