@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
114 lines (113 loc) • 3.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Messaging and Queuing NATS credentials.
* For further information, see
* our [main documentation](https://www.scaleway.com/en/docs/messaging/reference-content/nats-overview/).
*
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.mnq.NatsAccount("main", {name: "nats-account"});
* const mainNatsCredentials = new scaleway.mnq.NatsCredentials("main", {accountId: main.id});
* ```
*
* ## Import
*
* Namespaces can be imported using `{region}/{id}`, e.g.
*
* bash
*
* ```sh
* $ pulumi import scaleway:index/mnqNatsCredentials:MnqNatsCredentials main fr-par/11111111111111111111111111111111
* ```
*
* @deprecated scaleway.index/mnqnatscredentials.MnqNatsCredentials has been deprecated in favor of scaleway.mnq/natscredentials.NatsCredentials
*/
export declare class MnqNatsCredentials extends pulumi.CustomResource {
/**
* Get an existing MnqNatsCredentials 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?: MnqNatsCredentialsState, opts?: pulumi.CustomResourceOptions): MnqNatsCredentials;
/**
* Returns true if the given object is an instance of MnqNatsCredentials. 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 MnqNatsCredentials;
/**
* The ID of the NATS account the credentials are generated from
*/
readonly accountId: pulumi.Output<string>;
/**
* The content of the credentials file.
*/
readonly file: pulumi.Output<string>;
/**
* The unique name of the NATS credentials.
*/
readonly name: pulumi.Output<string>;
/**
* `region`). The region
* in which the account exists.
*/
readonly region: pulumi.Output<string>;
/**
* Create a MnqNatsCredentials 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.
*/
/** @deprecated scaleway.index/mnqnatscredentials.MnqNatsCredentials has been deprecated in favor of scaleway.mnq/natscredentials.NatsCredentials */
constructor(name: string, args: MnqNatsCredentialsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering MnqNatsCredentials resources.
*/
export interface MnqNatsCredentialsState {
/**
* The ID of the NATS account the credentials are generated from
*/
accountId?: pulumi.Input<string>;
/**
* The content of the credentials file.
*/
file?: pulumi.Input<string>;
/**
* The unique name of the NATS credentials.
*/
name?: pulumi.Input<string>;
/**
* `region`). The region
* in which the account exists.
*/
region?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a MnqNatsCredentials resource.
*/
export interface MnqNatsCredentialsArgs {
/**
* The ID of the NATS account the credentials are generated from
*/
accountId: pulumi.Input<string>;
/**
* The unique name of the NATS credentials.
*/
name?: pulumi.Input<string>;
/**
* `region`). The region
* in which the account exists.
*/
region?: pulumi.Input<string>;
}