UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

83 lines (82 loc) 2.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about SQS for a Project * * ## Examples * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // For default project * const main = scaleway.mnq.getSqs({}); * // For specific project * const forProject = scaleway.mnq.getSqs({ * projectId: mainScalewayAccountProject.id, * }); * ``` */ export declare function getSqs(args?: GetSqsArgs, opts?: pulumi.InvokeOptions): Promise<GetSqsResult>; /** * A collection of arguments for invoking getSqs. */ export interface GetSqsArgs { /** * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: string; /** * `region`). The region in which SQS is enabled. */ region?: string; } /** * A collection of values returned by getSqs. */ export interface GetSqsResult { /** * The endpoint of the SQS service for this Project. */ readonly endpoint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly projectId?: string; readonly region?: string; } /** * Gets information about SQS for a Project * * ## Examples * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // For default project * const main = scaleway.mnq.getSqs({}); * // For specific project * const forProject = scaleway.mnq.getSqs({ * projectId: mainScalewayAccountProject.id, * }); * ``` */ export declare function getSqsOutput(args?: GetSqsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqsResult>; /** * A collection of arguments for invoking getSqs. */ export interface GetSqsOutputArgs { /** * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input<string>; /** * `region`). The region in which SQS is enabled. */ region?: pulumi.Input<string>; }