import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RocketMQ::Instance */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getInstance. */ export interface GetInstanceResult { /** * Account ID to which the instance belongs. */ readonly accountId: string; /** * List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance. */ readonly allowListIds: string[]; /** * Whether private network domain name supports public resolution. true: enabled false: disabled */ readonly applyPrivateDnsToPublic: boolean; /** * Whether to automatically create queues when the instance specification changes. */ readonly autoScaleQueue: boolean; /** * Remaining number of partitions that can be created. */ readonly availableQueueNumber: number; /** * Billing method and related billing information for the instance. */ readonly chargeDetail: outputs.rocketmq.GetInstanceChargeDetail; /** * Instance compute specification. You can view the currently available compute specifications in the product specifications list. */ readonly computeSpec: string; /** * Instance connection information. */ readonly connectionInfos: outputs.rocketmq.GetInstanceConnectionInfo[]; /** * Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. */ readonly createTime: string; /** * EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource. */ readonly eipId: string; /** * Whether to use SSL encryption. */ readonly enableSsl: boolean; /** * Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours. */ readonly fileReservedTime: number; /** * Uniquely identifies the resource. */ readonly id: string; /** * Brief description of the instance. Length range: 1–128 characters. */ readonly instanceDescription: string; /** * Instance ID. */ readonly instanceId: string; /** * Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name. */ readonly instanceName: string; /** * Instance status. */ readonly instanceStatus: string; /** * IP version. Options are IPv4 or DualStack. */ readonly ipVersionType: string; /** * Instance network type, fixed as PrivateNetwork. */ readonly networkTypes: string; /** * Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance. */ readonly productInfo: outputs.rocketmq.GetInstanceProductInfo; /** * The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'. */ readonly projectName: string; /** * Region ID where the instance is located. */ readonly regionId: string; /** * The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy. */ readonly sslMode: string; /** * Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification. */ readonly storageSpace: number; /** * VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list. */ readonly subnetId: string; /** * Cloud resource tags. You can categorize instances by tags for easier search and resource aggregation. For details, see Tag Overview. */ readonly tags: outputs.rocketmq.GetInstanceTag[]; /** * Number of consumer groups (Group) currently created for the instance. */ readonly usedGroupNumber: number; /** * Number of queues already used by the instance. */ readonly usedQueueNumber: number; /** * Used storage space for the instance, in GiB. */ readonly usedStorageSpace: number; /** * Number of topics created in the current instance. */ readonly usedTopicNumber: number; /** * Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access. */ readonly version: string; /** * VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list. */ readonly vpcId: string; /** * Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones. */ readonly zoneId: string; } /** * Data Source schema for Volcengine::RocketMQ::Instance */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }