import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The cloud-native messaging engine is 100% compatible with the Apache Kafka protocol. It offers a fully managed, high-throughput, low-latency, highly available, highly scalable, and highly stable distributed messaging engine service based on cloud-native architecture. Supports flexible and dynamic scaling, integrated stream and batch processing, and provides enterprise-grade real-time stream data processing capabilities for large-scale data. Helps you build the 'central nervous system' for data processing, widely used in scenarios such as log collection, data aggregation, and offline data analysis. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const bMQInstanceDemo = new volcenginecc.bmq.Instance("BMQInstanceDemo", { * name: "BMQInstanceDemo", * billingType: "POST", * projectName: "default", * specification: "bmq.standard", * vpcId: "vpc-miltj87lh2ww5smt1bxxxxx", * messageRetention: 1, * endpoints: { * "public": { * eipId: "eip-3nriu2y2ufwu8931exxxxx", * }, * overlay: { * vpcIds: ["vpc-miltj87lh2ww5smt1bxxxxx"], * }, * }, * securityGroupIdLists: ["sg-3nqnz9en1ucxs931eaxxxxx"], * subnetIdLists: ["subnet-w02wsq25fitc865ykaxxxxx"], * zoneIdLists: ["cn-beijing-a"], * tags: [{ * key: "env", * type: "CUSTOM", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:bmq/instance:Instance example "instance_id" * ``` */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance 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, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance; /** * Returns true if the given object is an instance of Instance. 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 Instance; /** * Enable auto-renewal. Possible values: true: Enable auto-renewal. false: Disable auto-renewal. */ readonly autoRenew: pulumi.Output; /** * Unit of purchase duration. Options: MONTHLY—monthly subscription; YEARLY—yearly subscription */ readonly billingPeriod: pulumi.Output; /** * Instance billing method. Options: POST—pay-as-you-go; MIX—yearly/monthly subscription */ readonly billingType: pulumi.Output; /** * Instance creation time */ readonly createdTime: pulumi.Output; /** * Instance description */ readonly description: pulumi.Output; /** * Whether public access is enabled for the instance. If public access is required, configure the ID of a public IP in the same region */ readonly eipId: pulumi.Output; /** * Response data for all instance endpoints */ readonly endpoints: pulumi.Output; /** * Instance expiration time */ readonly expirationTime: pulumi.Output; /** * Maximum number of consumer groups per instance */ readonly groupLimit: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Message retention period for all Topics under the instance, in hours */ readonly messageRetention: pulumi.Output; /** * Custom BMQ instance name. Constraints: must consist of lowercase letters, numbers, and hyphens (-). Length: 1–64 characters */ readonly name: pulumi.Output; /** * Maximum number of partitions per instance */ readonly partitionLimit: pulumi.Output; /** * Project name associated with the instance */ readonly projectName: pulumi.Output; readonly resourceTags: pulumi.Output; /** * Instance resource statistics response data */ readonly resources: pulumi.Output; /** * Security group list used by the instance */ readonly securityGroupIdLists: pulumi.Output; /** * Instance specification */ readonly specification: pulumi.Output; /** * Instance status. Possible values: INITIALIZING: Initializing, INITIALIZATION*FAILED: Initialization failed, RUNNING: Running, MODIFYING: Updating, MODIFY*FAILED: Update failed, RELEASING: Releasing, STOPPING: Stopping, STOPPED: Stopped, RECOVERING: Recovering, EXCEPTION: Exception, CAPACITY*EXPAXION*FAILED: Capacity expansion failed, EXPANDING*CAPACITY: Expanding capacity, CANCEL*EXPANDING_CAPACITY: Canceling capacity expansion, RESTARTING: Restarting, UNPAID: Unpaid */ readonly status: pulumi.Output; /** * Subnet list used by the instance */ readonly subnetIdLists: pulumi.Output; readonly tags: pulumi.Output; /** * Purchase duration for yearly/monthly subscription instances, in months */ readonly times: pulumi.Output; /** * Maximum number of Topics per instance */ readonly topicLimit: pulumi.Output; /** * VPC ID where the instance is located */ readonly vpcId: pulumi.Output; /** * List of availability zones for the instance */ readonly zoneIdLists: pulumi.Output; /** * Create a Instance 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: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Instance resources. */ export interface InstanceState { /** * Enable auto-renewal. Possible values: true: Enable auto-renewal. false: Disable auto-renewal. */ autoRenew?: pulumi.Input; /** * Unit of purchase duration. Options: MONTHLY—monthly subscription; YEARLY—yearly subscription */ billingPeriod?: pulumi.Input; /** * Instance billing method. Options: POST—pay-as-you-go; MIX—yearly/monthly subscription */ billingType?: pulumi.Input; /** * Instance creation time */ createdTime?: pulumi.Input; /** * Instance description */ description?: pulumi.Input; /** * Whether public access is enabled for the instance. If public access is required, configure the ID of a public IP in the same region */ eipId?: pulumi.Input; /** * Response data for all instance endpoints */ endpoints?: pulumi.Input; /** * Instance expiration time */ expirationTime?: pulumi.Input; /** * Maximum number of consumer groups per instance */ groupLimit?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Message retention period for all Topics under the instance, in hours */ messageRetention?: pulumi.Input; /** * Custom BMQ instance name. Constraints: must consist of lowercase letters, numbers, and hyphens (-). Length: 1–64 characters */ name?: pulumi.Input; /** * Maximum number of partitions per instance */ partitionLimit?: pulumi.Input; /** * Project name associated with the instance */ projectName?: pulumi.Input; resourceTags?: pulumi.Input[]>; /** * Instance resource statistics response data */ resources?: pulumi.Input; /** * Security group list used by the instance */ securityGroupIdLists?: pulumi.Input[]>; /** * Instance specification */ specification?: pulumi.Input; /** * Instance status. Possible values: INITIALIZING: Initializing, INITIALIZATION*FAILED: Initialization failed, RUNNING: Running, MODIFYING: Updating, MODIFY*FAILED: Update failed, RELEASING: Releasing, STOPPING: Stopping, STOPPED: Stopped, RECOVERING: Recovering, EXCEPTION: Exception, CAPACITY*EXPAXION*FAILED: Capacity expansion failed, EXPANDING*CAPACITY: Expanding capacity, CANCEL*EXPANDING_CAPACITY: Canceling capacity expansion, RESTARTING: Restarting, UNPAID: Unpaid */ status?: pulumi.Input; /** * Subnet list used by the instance */ subnetIdLists?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * Purchase duration for yearly/monthly subscription instances, in months */ times?: pulumi.Input; /** * Maximum number of Topics per instance */ topicLimit?: pulumi.Input; /** * VPC ID where the instance is located */ vpcId?: pulumi.Input; /** * List of availability zones for the instance */ zoneIdLists?: pulumi.Input[]>; } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * Enable auto-renewal. Possible values: true: Enable auto-renewal. false: Disable auto-renewal. */ autoRenew?: pulumi.Input; /** * Unit of purchase duration. Options: MONTHLY—monthly subscription; YEARLY—yearly subscription */ billingPeriod?: pulumi.Input; /** * Instance billing method. Options: POST—pay-as-you-go; MIX—yearly/monthly subscription */ billingType: pulumi.Input; /** * Instance description */ description?: pulumi.Input; /** * Whether public access is enabled for the instance. If public access is required, configure the ID of a public IP in the same region */ eipId?: pulumi.Input; /** * Response data for all instance endpoints */ endpoints?: pulumi.Input; /** * Message retention period for all Topics under the instance, in hours */ messageRetention?: pulumi.Input; /** * Custom BMQ instance name. Constraints: must consist of lowercase letters, numbers, and hyphens (-). Length: 1–64 characters */ name: pulumi.Input; /** * Project name associated with the instance */ projectName: pulumi.Input; /** * Security group list used by the instance */ securityGroupIdLists: pulumi.Input[]>; /** * Instance specification */ specification: pulumi.Input; /** * Subnet list used by the instance */ subnetIdLists: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * Purchase duration for yearly/monthly subscription instances, in months */ times?: pulumi.Input; /** * VPC ID where the instance is located */ vpcId: pulumi.Input; /** * List of availability zones for the instance */ zoneIdLists: pulumi.Input[]>; }