@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
115 lines • 4.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Messaging and Queuing NATS accounts.
* For further information, see
* our [main documentation](https://www.scaleway.com/en/docs/messaging/reference-content/nats-overview/)
* To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide.
*
* ## 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"});
* ```
*
* ## Import
*
* Namespaces can be imported using `{region}/{id}`, e.g.
*
* ```sh
* $ pulumi import scaleway:index/mnqNatsAccount:MnqNatsAccount main fr-par/11111111111111111111111111111111
* ```
*
* @deprecated scaleway.index/mnqnatsaccount.MnqNatsAccount has been deprecated in favor of scaleway.mnq/natsaccount.NatsAccount
*/
export declare class MnqNatsAccount extends pulumi.CustomResource {
/**
* Get an existing MnqNatsAccount 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?: MnqNatsAccountState, opts?: pulumi.CustomResourceOptions): MnqNatsAccount;
/**
* Returns true if the given object is an instance of MnqNatsAccount. 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 MnqNatsAccount;
/**
* The endpoint of the NATS service for this account.
*/
readonly endpoint: pulumi.Output<string>;
/**
* The unique name of the NATS account.
*/
readonly name: pulumi.Output<string>;
/**
* `projectId`) The ID of the Project the
* account is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* `region`). The region
* in which the account should be created.
*/
readonly region: pulumi.Output<string | undefined>;
/**
* Create a MnqNatsAccount 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/mnqnatsaccount.MnqNatsAccount has been deprecated in favor of scaleway.mnq/natsaccount.NatsAccount */
constructor(name: string, args?: MnqNatsAccountArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering MnqNatsAccount resources.
*/
export interface MnqNatsAccountState {
/**
* The endpoint of the NATS service for this account.
*/
endpoint?: pulumi.Input<string | undefined>;
/**
* The unique name of the NATS account.
*/
name?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the Project the
* account is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `region`). The region
* in which the account should be created.
*/
region?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a MnqNatsAccount resource.
*/
export interface MnqNatsAccountArgs {
/**
* The unique name of the NATS account.
*/
name?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the Project the
* account is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `region`). The region
* in which the account should be created.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=mnqNatsAccount.d.ts.map