UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

119 lines (118 loc) 4.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * Credential can be imported using the `{region}/{id}`, e.g. bash * * ```sh * $ pulumi import scaleway:index/mnqCredential:MnqCredential main fr-par/11111111111111111111111111111111 * ``` */ export declare class MnqCredential extends pulumi.CustomResource { /** * Get an existing MnqCredential 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?: MnqCredentialState, opts?: pulumi.CustomResourceOptions): MnqCredential; /** * Returns true if the given object is an instance of MnqCredential. 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 MnqCredential; /** * The credential name.. */ readonly name: pulumi.Output<string>; /** * The namespace containing the Credential. */ readonly namespaceId: pulumi.Output<string>; /** * Credentials file used to connect to the NATS service. */ readonly natsCredentials: pulumi.Output<outputs.MnqCredentialNatsCredentials>; /** * The protocol associated to the Credential. Possible values are `nats` and `sqsSns`. */ readonly protocol: pulumi.Output<string>; /** * (Defaults to provider `region`). The region * in which the namespace should be created. */ readonly region: pulumi.Output<string>; /** * Credential used to connect to the SQS/SNS service. */ readonly sqsSnsCredentials: pulumi.Output<outputs.MnqCredentialSqsSnsCredentials | undefined>; /** * Create a MnqCredential 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: MnqCredentialArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MnqCredential resources. */ export interface MnqCredentialState { /** * The credential name.. */ name?: pulumi.Input<string>; /** * The namespace containing the Credential. */ namespaceId?: pulumi.Input<string>; /** * Credentials file used to connect to the NATS service. */ natsCredentials?: pulumi.Input<inputs.MnqCredentialNatsCredentials>; /** * The protocol associated to the Credential. Possible values are `nats` and `sqsSns`. */ protocol?: pulumi.Input<string>; /** * (Defaults to provider `region`). The region * in which the namespace should be created. */ region?: pulumi.Input<string>; /** * Credential used to connect to the SQS/SNS service. */ sqsSnsCredentials?: pulumi.Input<inputs.MnqCredentialSqsSnsCredentials>; } /** * The set of arguments for constructing a MnqCredential resource. */ export interface MnqCredentialArgs { /** * The credential name.. */ name?: pulumi.Input<string>; /** * The namespace containing the Credential. */ namespaceId: pulumi.Input<string>; /** * Credentials file used to connect to the NATS service. */ natsCredentials?: pulumi.Input<inputs.MnqCredentialNatsCredentials>; /** * (Defaults to provider `region`). The region * in which the namespace should be created. */ region?: pulumi.Input<string>; /** * Credential used to connect to the SQS/SNS service. */ sqsSnsCredentials?: pulumi.Input<inputs.MnqCredentialSqsSnsCredentials>; }