UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

123 lines (122 loc) 4.1 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class MnqQueue extends pulumi.CustomResource { /** * Get an existing MnqQueue 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?: MnqQueueState, opts?: pulumi.CustomResourceOptions): MnqQueue; /** * Returns true if the given object is an instance of MnqQueue. 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 MnqQueue; /** * The number of seconds the queue retains a message. */ readonly messageMaxAge: pulumi.Output<number | undefined>; /** * The maximum size of a message. Should be in bytes. */ readonly messageMaxSize: pulumi.Output<number | undefined>; /** * The name of the queue. Conflicts with name_prefix. */ readonly name: pulumi.Output<string>; /** * Creates a unique name beginning with the specified prefix. Conflicts with name. */ readonly namePrefix: pulumi.Output<string>; /** * The ID of the Namespace associated to */ readonly namespaceId: pulumi.Output<string>; /** * The NATS attributes of the queue */ readonly nats: pulumi.Output<outputs.MnqQueueNats | undefined>; /** * The SQS attributes of the queue */ readonly sqs: pulumi.Output<outputs.MnqQueueSqs | undefined>; /** * Create a MnqQueue 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: MnqQueueArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MnqQueue resources. */ export interface MnqQueueState { /** * The number of seconds the queue retains a message. */ messageMaxAge?: pulumi.Input<number>; /** * The maximum size of a message. Should be in bytes. */ messageMaxSize?: pulumi.Input<number>; /** * The name of the queue. Conflicts with name_prefix. */ name?: pulumi.Input<string>; /** * Creates a unique name beginning with the specified prefix. Conflicts with name. */ namePrefix?: pulumi.Input<string>; /** * The ID of the Namespace associated to */ namespaceId?: pulumi.Input<string>; /** * The NATS attributes of the queue */ nats?: pulumi.Input<inputs.MnqQueueNats>; /** * The SQS attributes of the queue */ sqs?: pulumi.Input<inputs.MnqQueueSqs>; } /** * The set of arguments for constructing a MnqQueue resource. */ export interface MnqQueueArgs { /** * The number of seconds the queue retains a message. */ messageMaxAge?: pulumi.Input<number>; /** * The maximum size of a message. Should be in bytes. */ messageMaxSize?: pulumi.Input<number>; /** * The name of the queue. Conflicts with name_prefix. */ name?: pulumi.Input<string>; /** * Creates a unique name beginning with the specified prefix. Conflicts with name. */ namePrefix?: pulumi.Input<string>; /** * The ID of the Namespace associated to */ namespaceId: pulumi.Input<string>; /** * The NATS attributes of the queue */ nats?: pulumi.Input<inputs.MnqQueueNats>; /** * The SQS attributes of the queue */ sqs?: pulumi.Input<inputs.MnqQueueSqs>; }