tencentcloud.TdmqRabbitmqVipInstance
Explore with Pulumi AI
Provides a resource to create a TDMQ rabbitmq vip instance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const zones = tencentcloud.getAvailabilityZones({
name: "ap-guangzhou-6",
});
// create vpc
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
// create vpc subnet
const subnet = new tencentcloud.Subnet("subnet", {
vpcId: vpc.vpcId,
availabilityZone: "ap-guangzhou-6",
cidrBlock: "10.0.20.0/28",
isMulticast: false,
});
// create rabbitmq instance
const example = new tencentcloud.TdmqRabbitmqVipInstance("example", {
zoneIds: [zones.then(zones => zones.zones?.[0]?.id)],
vpcId: vpc.vpcId,
subnetId: subnet.subnetId,
clusterName: "tf-example-rabbitmq-vip-instance",
nodeSpec: "rabbit-vip-basic-1",
nodeNum: 1,
storageSize: 200,
enableCreateDefaultHaMirrorQueue: false,
autoRenewFlag: true,
timeSpan: 1,
});
// create postpaid rabbitmq instance
const example2 = new tencentcloud.TdmqRabbitmqVipInstance("example2", {
zoneIds: [zones.then(zones => zones.zones?.[0]?.id)],
vpcId: vpc.vpcId,
subnetId: subnet.subnetId,
clusterName: "tf-example-rabbitmq-vip-instance",
nodeSpec: "rabbit-vip-basic-1",
nodeNum: 1,
storageSize: 200,
enableCreateDefaultHaMirrorQueue: false,
autoRenewFlag: true,
timeSpan: 1,
payMode: 0,
clusterVersion: "3.11.8",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
zones = tencentcloud.get_availability_zones(name="ap-guangzhou-6")
# create vpc
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
# create vpc subnet
subnet = tencentcloud.Subnet("subnet",
vpc_id=vpc.vpc_id,
availability_zone="ap-guangzhou-6",
cidr_block="10.0.20.0/28",
is_multicast=False)
# create rabbitmq instance
example = tencentcloud.TdmqRabbitmqVipInstance("example",
zone_ids=[zones.zones[0].id],
vpc_id=vpc.vpc_id,
subnet_id=subnet.subnet_id,
cluster_name="tf-example-rabbitmq-vip-instance",
node_spec="rabbit-vip-basic-1",
node_num=1,
storage_size=200,
enable_create_default_ha_mirror_queue=False,
auto_renew_flag=True,
time_span=1)
# create postpaid rabbitmq instance
example2 = tencentcloud.TdmqRabbitmqVipInstance("example2",
zone_ids=[zones.zones[0].id],
vpc_id=vpc.vpc_id,
subnet_id=subnet.subnet_id,
cluster_name="tf-example-rabbitmq-vip-instance",
node_spec="rabbit-vip-basic-1",
node_num=1,
storage_size=200,
enable_create_default_ha_mirror_queue=False,
auto_renew_flag=True,
time_span=1,
pay_mode=0,
cluster_version="3.11.8")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
zones, err := tencentcloud.GetAvailabilityZones(ctx, &tencentcloud.GetAvailabilityZonesArgs{
Name: pulumi.StringRef("ap-guangzhou-6"),
}, nil)
if err != nil {
return err
}
// create vpc
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
// create vpc subnet
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
VpcId: vpc.VpcId,
AvailabilityZone: pulumi.String("ap-guangzhou-6"),
CidrBlock: pulumi.String("10.0.20.0/28"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
// create rabbitmq instance
_, err = tencentcloud.NewTdmqRabbitmqVipInstance(ctx, "example", &tencentcloud.TdmqRabbitmqVipInstanceArgs{
ZoneIds: pulumi.Float64Array{
pulumi.String(zones.Zones[0].Id),
},
VpcId: vpc.VpcId,
SubnetId: subnet.SubnetId,
ClusterName: pulumi.String("tf-example-rabbitmq-vip-instance"),
NodeSpec: pulumi.String("rabbit-vip-basic-1"),
NodeNum: pulumi.Float64(1),
StorageSize: pulumi.Float64(200),
EnableCreateDefaultHaMirrorQueue: pulumi.Bool(false),
AutoRenewFlag: pulumi.Bool(true),
TimeSpan: pulumi.Float64(1),
})
if err != nil {
return err
}
// create postpaid rabbitmq instance
_, err = tencentcloud.NewTdmqRabbitmqVipInstance(ctx, "example2", &tencentcloud.TdmqRabbitmqVipInstanceArgs{
ZoneIds: pulumi.Float64Array{
pulumi.String(zones.Zones[0].Id),
},
VpcId: vpc.VpcId,
SubnetId: subnet.SubnetId,
ClusterName: pulumi.String("tf-example-rabbitmq-vip-instance"),
NodeSpec: pulumi.String("rabbit-vip-basic-1"),
NodeNum: pulumi.Float64(1),
StorageSize: pulumi.Float64(200),
EnableCreateDefaultHaMirrorQueue: pulumi.Bool(false),
AutoRenewFlag: pulumi.Bool(true),
TimeSpan: pulumi.Float64(1),
PayMode: pulumi.Float64(0),
ClusterVersion: pulumi.String("3.11.8"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var zones = Tencentcloud.GetAvailabilityZones.Invoke(new()
{
Name = "ap-guangzhou-6",
});
// create vpc
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
// create vpc subnet
var subnet = new Tencentcloud.Subnet("subnet", new()
{
VpcId = vpc.VpcId,
AvailabilityZone = "ap-guangzhou-6",
CidrBlock = "10.0.20.0/28",
IsMulticast = false,
});
// create rabbitmq instance
var example = new Tencentcloud.TdmqRabbitmqVipInstance("example", new()
{
ZoneIds = new[]
{
zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[0]?.Id),
},
VpcId = vpc.VpcId,
SubnetId = subnet.SubnetId,
ClusterName = "tf-example-rabbitmq-vip-instance",
NodeSpec = "rabbit-vip-basic-1",
NodeNum = 1,
StorageSize = 200,
EnableCreateDefaultHaMirrorQueue = false,
AutoRenewFlag = true,
TimeSpan = 1,
});
// create postpaid rabbitmq instance
var example2 = new Tencentcloud.TdmqRabbitmqVipInstance("example2", new()
{
ZoneIds = new[]
{
zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[0]?.Id),
},
VpcId = vpc.VpcId,
SubnetId = subnet.SubnetId,
ClusterName = "tf-example-rabbitmq-vip-instance",
NodeSpec = "rabbit-vip-basic-1",
NodeNum = 1,
StorageSize = 200,
EnableCreateDefaultHaMirrorQueue = false,
AutoRenewFlag = true,
TimeSpan = 1,
PayMode = 0,
ClusterVersion = "3.11.8",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetAvailabilityZonesArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.TdmqRabbitmqVipInstance;
import com.pulumi.tencentcloud.TdmqRabbitmqVipInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var zones = TencentcloudFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
.name("ap-guangzhou-6")
.build());
// create vpc
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
// create vpc subnet
var subnet = new Subnet("subnet", SubnetArgs.builder()
.vpcId(vpc.vpcId())
.availabilityZone("ap-guangzhou-6")
.cidrBlock("10.0.20.0/28")
.isMulticast(false)
.build());
// create rabbitmq instance
var example = new TdmqRabbitmqVipInstance("example", TdmqRabbitmqVipInstanceArgs.builder()
.zoneIds(zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[0].id()))
.vpcId(vpc.vpcId())
.subnetId(subnet.subnetId())
.clusterName("tf-example-rabbitmq-vip-instance")
.nodeSpec("rabbit-vip-basic-1")
.nodeNum(1)
.storageSize(200)
.enableCreateDefaultHaMirrorQueue(false)
.autoRenewFlag(true)
.timeSpan(1)
.build());
// create postpaid rabbitmq instance
var example2 = new TdmqRabbitmqVipInstance("example2", TdmqRabbitmqVipInstanceArgs.builder()
.zoneIds(zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[0].id()))
.vpcId(vpc.vpcId())
.subnetId(subnet.subnetId())
.clusterName("tf-example-rabbitmq-vip-instance")
.nodeSpec("rabbit-vip-basic-1")
.nodeNum(1)
.storageSize(200)
.enableCreateDefaultHaMirrorQueue(false)
.autoRenewFlag(true)
.timeSpan(1)
.payMode(0)
.clusterVersion("3.11.8")
.build());
}
}
resources:
# create vpc
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
# create vpc subnet
subnet:
type: tencentcloud:Subnet
properties:
vpcId: ${vpc.vpcId}
availabilityZone: ap-guangzhou-6
cidrBlock: 10.0.20.0/28
isMulticast: false
# create rabbitmq instance
example:
type: tencentcloud:TdmqRabbitmqVipInstance
properties:
zoneIds:
- ${zones.zones[0].id}
vpcId: ${vpc.vpcId}
subnetId: ${subnet.subnetId}
clusterName: tf-example-rabbitmq-vip-instance
nodeSpec: rabbit-vip-basic-1
nodeNum: 1
storageSize: 200
enableCreateDefaultHaMirrorQueue: false
autoRenewFlag: true
timeSpan: 1
# create postpaid rabbitmq instance
example2:
type: tencentcloud:TdmqRabbitmqVipInstance
properties:
zoneIds:
- ${zones.zones[0].id}
vpcId: ${vpc.vpcId}
subnetId: ${subnet.subnetId}
clusterName: tf-example-rabbitmq-vip-instance
nodeSpec: rabbit-vip-basic-1
nodeNum: 1
storageSize: 200
enableCreateDefaultHaMirrorQueue: false
autoRenewFlag: true
timeSpan: 1
payMode: 0
clusterVersion: 3.11.8
variables:
zones:
fn::invoke:
function: tencentcloud:getAvailabilityZones
arguments:
name: ap-guangzhou-6
Create TdmqRabbitmqVipInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TdmqRabbitmqVipInstance(name: string, args: TdmqRabbitmqVipInstanceArgs, opts?: CustomResourceOptions);
@overload
def TdmqRabbitmqVipInstance(resource_name: str,
args: TdmqRabbitmqVipInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TdmqRabbitmqVipInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
cluster_name: Optional[str] = None,
zone_ids: Optional[Sequence[float]] = None,
vpc_id: Optional[str] = None,
pay_mode: Optional[float] = None,
node_spec: Optional[str] = None,
auto_renew_flag: Optional[bool] = None,
storage_size: Optional[float] = None,
node_num: Optional[float] = None,
tdmq_rabbitmq_vip_instance_id: Optional[str] = None,
time_span: Optional[float] = None,
enable_create_default_ha_mirror_queue: Optional[bool] = None,
cluster_version: Optional[str] = None)
func NewTdmqRabbitmqVipInstance(ctx *Context, name string, args TdmqRabbitmqVipInstanceArgs, opts ...ResourceOption) (*TdmqRabbitmqVipInstance, error)
public TdmqRabbitmqVipInstance(string name, TdmqRabbitmqVipInstanceArgs args, CustomResourceOptions? opts = null)
public TdmqRabbitmqVipInstance(String name, TdmqRabbitmqVipInstanceArgs args)
public TdmqRabbitmqVipInstance(String name, TdmqRabbitmqVipInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:TdmqRabbitmqVipInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TdmqRabbitmqVipInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TdmqRabbitmqVipInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TdmqRabbitmqVipInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TdmqRabbitmqVipInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TdmqRabbitmqVipInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TdmqRabbitmqVipInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TdmqRabbitmqVipInstance resource accepts the following input properties:
- Cluster
Name string - cluster name.
- Subnet
Id string - Private network SubnetId.
- Vpc
Id string - Private network VpcId.
- Zone
Ids List<double> - availability zone.
- Auto
Renew boolFlag - Automatic renewal, the default is true.
- Cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - Enable
Create boolDefault Ha Mirror Queue - Mirrored queue, the default is false.
- Node
Num double - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- Node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- Pay
Mode double - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- Storage
Size double - Single node storage specification, the default is 200G.
- Tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- Time
Span double - Purchase duration, the default is 1 (month).
- Cluster
Name string - cluster name.
- Subnet
Id string - Private network SubnetId.
- Vpc
Id string - Private network VpcId.
- Zone
Ids []float64 - availability zone.
- Auto
Renew boolFlag - Automatic renewal, the default is true.
- Cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - Enable
Create boolDefault Ha Mirror Queue - Mirrored queue, the default is false.
- Node
Num float64 - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- Node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- Pay
Mode float64 - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- Storage
Size float64 - Single node storage specification, the default is 200G.
- Tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- Time
Span float64 - Purchase duration, the default is 1 (month).
- cluster
Name String - cluster name.
- subnet
Id String - Private network SubnetId.
- vpc
Id String - Private network VpcId.
- zone
Ids List<Double> - availability zone.
- auto
Renew BooleanFlag - Automatic renewal, the default is true.
- cluster
Version String - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create BooleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num Double - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec String - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode Double - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- storage
Size Double - Single node storage specification, the default is 200G.
- tdmq
Rabbitmq StringVip Instance Id - ID of the resource.
- time
Span Double - Purchase duration, the default is 1 (month).
- cluster
Name string - cluster name.
- subnet
Id string - Private network SubnetId.
- vpc
Id string - Private network VpcId.
- zone
Ids number[] - availability zone.
- auto
Renew booleanFlag - Automatic renewal, the default is true.
- cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create booleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num number - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode number - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- storage
Size number - Single node storage specification, the default is 200G.
- tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- time
Span number - Purchase duration, the default is 1 (month).
- cluster_
name str - cluster name.
- subnet_
id str - Private network SubnetId.
- vpc_
id str - Private network VpcId.
- zone_
ids Sequence[float] - availability zone.
- auto_
renew_ boolflag - Automatic renewal, the default is true.
- cluster_
version str - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable_
create_ booldefault_ ha_ mirror_ queue - Mirrored queue, the default is false.
- node_
num float - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node_
spec str - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay_
mode float - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- storage_
size float - Single node storage specification, the default is 200G.
- tdmq_
rabbitmq_ strvip_ instance_ id - ID of the resource.
- time_
span float - Purchase duration, the default is 1 (month).
- cluster
Name String - cluster name.
- subnet
Id String - Private network SubnetId.
- vpc
Id String - Private network VpcId.
- zone
Ids List<Number> - availability zone.
- auto
Renew BooleanFlag - Automatic renewal, the default is true.
- cluster
Version String - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create BooleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num Number - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec String - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode Number - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- storage
Size Number - Single node storage specification, the default is 200G.
- tdmq
Rabbitmq StringVip Instance Id - ID of the resource.
- time
Span Number - Purchase duration, the default is 1 (month).
Outputs
All input properties are implicitly available as output properties. Additionally, the TdmqRabbitmqVipInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Access stringEndpoint - Public Network Access Point.
- Vpcs
List<Tdmq
Rabbitmq Vip Instance Vpc> - List of VPC Access Points.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Access stringEndpoint - Public Network Access Point.
- Vpcs
[]Tdmq
Rabbitmq Vip Instance Vpc - List of VPC Access Points.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Access StringEndpoint - Public Network Access Point.
- vpcs
List<Tdmq
Rabbitmq Vip Instance Vpc> - List of VPC Access Points.
- id string
- The provider-assigned unique ID for this managed resource.
- public
Access stringEndpoint - Public Network Access Point.
- vpcs
Tdmq
Rabbitmq Vip Instance Vpc[] - List of VPC Access Points.
- id str
- The provider-assigned unique ID for this managed resource.
- public_
access_ strendpoint - Public Network Access Point.
- vpcs
Sequence[Tdmq
Rabbitmq Vip Instance Vpc] - List of VPC Access Points.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Access StringEndpoint - Public Network Access Point.
- vpcs List<Property Map>
- List of VPC Access Points.
Look up Existing TdmqRabbitmqVipInstance Resource
Get an existing TdmqRabbitmqVipInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TdmqRabbitmqVipInstanceState, opts?: CustomResourceOptions): TdmqRabbitmqVipInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew_flag: Optional[bool] = None,
cluster_name: Optional[str] = None,
cluster_version: Optional[str] = None,
enable_create_default_ha_mirror_queue: Optional[bool] = None,
node_num: Optional[float] = None,
node_spec: Optional[str] = None,
pay_mode: Optional[float] = None,
public_access_endpoint: Optional[str] = None,
storage_size: Optional[float] = None,
subnet_id: Optional[str] = None,
tdmq_rabbitmq_vip_instance_id: Optional[str] = None,
time_span: Optional[float] = None,
vpc_id: Optional[str] = None,
vpcs: Optional[Sequence[TdmqRabbitmqVipInstanceVpcArgs]] = None,
zone_ids: Optional[Sequence[float]] = None) -> TdmqRabbitmqVipInstance
func GetTdmqRabbitmqVipInstance(ctx *Context, name string, id IDInput, state *TdmqRabbitmqVipInstanceState, opts ...ResourceOption) (*TdmqRabbitmqVipInstance, error)
public static TdmqRabbitmqVipInstance Get(string name, Input<string> id, TdmqRabbitmqVipInstanceState? state, CustomResourceOptions? opts = null)
public static TdmqRabbitmqVipInstance get(String name, Output<String> id, TdmqRabbitmqVipInstanceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TdmqRabbitmqVipInstance get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Renew boolFlag - Automatic renewal, the default is true.
- Cluster
Name string - cluster name.
- Cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - Enable
Create boolDefault Ha Mirror Queue - Mirrored queue, the default is false.
- Node
Num double - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- Node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- Pay
Mode double - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- Public
Access stringEndpoint - Public Network Access Point.
- Storage
Size double - Single node storage specification, the default is 200G.
- Subnet
Id string - Private network SubnetId.
- Tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- Time
Span double - Purchase duration, the default is 1 (month).
- Vpc
Id string - Private network VpcId.
- Vpcs
List<Tdmq
Rabbitmq Vip Instance Vpc> - List of VPC Access Points.
- Zone
Ids List<double> - availability zone.
- Auto
Renew boolFlag - Automatic renewal, the default is true.
- Cluster
Name string - cluster name.
- Cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - Enable
Create boolDefault Ha Mirror Queue - Mirrored queue, the default is false.
- Node
Num float64 - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- Node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- Pay
Mode float64 - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- Public
Access stringEndpoint - Public Network Access Point.
- Storage
Size float64 - Single node storage specification, the default is 200G.
- Subnet
Id string - Private network SubnetId.
- Tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- Time
Span float64 - Purchase duration, the default is 1 (month).
- Vpc
Id string - Private network VpcId.
- Vpcs
[]Tdmq
Rabbitmq Vip Instance Vpc Args - List of VPC Access Points.
- Zone
Ids []float64 - availability zone.
- auto
Renew BooleanFlag - Automatic renewal, the default is true.
- cluster
Name String - cluster name.
- cluster
Version String - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create BooleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num Double - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec String - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode Double - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- public
Access StringEndpoint - Public Network Access Point.
- storage
Size Double - Single node storage specification, the default is 200G.
- subnet
Id String - Private network SubnetId.
- tdmq
Rabbitmq StringVip Instance Id - ID of the resource.
- time
Span Double - Purchase duration, the default is 1 (month).
- vpc
Id String - Private network VpcId.
- vpcs
List<Tdmq
Rabbitmq Vip Instance Vpc> - List of VPC Access Points.
- zone
Ids List<Double> - availability zone.
- auto
Renew booleanFlag - Automatic renewal, the default is true.
- cluster
Name string - cluster name.
- cluster
Version string - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create booleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num number - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec string - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode number - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- public
Access stringEndpoint - Public Network Access Point.
- storage
Size number - Single node storage specification, the default is 200G.
- subnet
Id string - Private network SubnetId.
- tdmq
Rabbitmq stringVip Instance Id - ID of the resource.
- time
Span number - Purchase duration, the default is 1 (month).
- vpc
Id string - Private network VpcId.
- vpcs
Tdmq
Rabbitmq Vip Instance Vpc[] - List of VPC Access Points.
- zone
Ids number[] - availability zone.
- auto_
renew_ boolflag - Automatic renewal, the default is true.
- cluster_
name str - cluster name.
- cluster_
version str - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable_
create_ booldefault_ ha_ mirror_ queue - Mirrored queue, the default is false.
- node_
num float - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node_
spec str - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay_
mode float - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- public_
access_ strendpoint - Public Network Access Point.
- storage_
size float - Single node storage specification, the default is 200G.
- subnet_
id str - Private network SubnetId.
- tdmq_
rabbitmq_ strvip_ instance_ id - ID of the resource.
- time_
span float - Purchase duration, the default is 1 (month).
- vpc_
id str - Private network VpcId.
- vpcs
Sequence[Tdmq
Rabbitmq Vip Instance Vpc Args] - List of VPC Access Points.
- zone_
ids Sequence[float] - availability zone.
- auto
Renew BooleanFlag - Automatic renewal, the default is true.
- cluster
Name String - cluster name.
- cluster
Version String - Cluster version, the default is
3.8.30
, valid values:3.8.30
and3.11.8
. - enable
Create BooleanDefault Ha Mirror Queue - Mirrored queue, the default is false.
- node
Num Number - The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
- node
Spec String - Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
- pay
Mode Number - Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
- public
Access StringEndpoint - Public Network Access Point.
- storage
Size Number - Single node storage specification, the default is 200G.
- subnet
Id String - Private network SubnetId.
- tdmq
Rabbitmq StringVip Instance Id - ID of the resource.
- time
Span Number - Purchase duration, the default is 1 (month).
- vpc
Id String - Private network VpcId.
- vpcs List<Property Map>
- List of VPC Access Points.
- zone
Ids List<Number> - availability zone.
Supporting Types
TdmqRabbitmqVipInstanceVpc, TdmqRabbitmqVipInstanceVpcArgs
- Subnet
Id string - Private network SubnetId.
- Vpc
Data stringStream Endpoint Status - Status Of Vpc Endpoint.
- Vpc
Endpoint string - VPC Endpoint.
- Vpc
Id string - Private network VpcId.
- Subnet
Id string - Private network SubnetId.
- Vpc
Data stringStream Endpoint Status - Status Of Vpc Endpoint.
- Vpc
Endpoint string - VPC Endpoint.
- Vpc
Id string - Private network VpcId.
- subnet
Id String - Private network SubnetId.
- vpc
Data StringStream Endpoint Status - Status Of Vpc Endpoint.
- vpc
Endpoint String - VPC Endpoint.
- vpc
Id String - Private network VpcId.
- subnet
Id string - Private network SubnetId.
- vpc
Data stringStream Endpoint Status - Status Of Vpc Endpoint.
- vpc
Endpoint string - VPC Endpoint.
- vpc
Id string - Private network VpcId.
- subnet_
id str - Private network SubnetId.
- vpc_
data_ strstream_ endpoint_ status - Status Of Vpc Endpoint.
- vpc_
endpoint str - VPC Endpoint.
- vpc_
id str - Private network VpcId.
- subnet
Id String - Private network SubnetId.
- vpc
Data StringStream Endpoint Status - Status Of Vpc Endpoint.
- vpc
Endpoint String - VPC Endpoint.
- vpc
Id String - Private network VpcId.
Import
TDMQ rabbitmq vip instance can be imported using the id, e.g.
$ pulumi import tencentcloud:index/tdmqRabbitmqVipInstance:TdmqRabbitmqVipInstance example amqp-mok52gmn
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.