tencentcloud.TdmqRocketmqCluster
Explore with Pulumi AI
Provides a resource to create a tdmqRocketmq cluster
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.TdmqRocketmqCluster("example", {
clusterName: "tf_example",
remark: "remark.",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.TdmqRocketmqCluster("example",
cluster_name="tf_example",
remark="remark.")
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 {
_, err := tencentcloud.NewTdmqRocketmqCluster(ctx, "example", &tencentcloud.TdmqRocketmqClusterArgs{
ClusterName: pulumi.String("tf_example"),
Remark: pulumi.String("remark."),
})
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 example = new Tencentcloud.TdmqRocketmqCluster("example", new()
{
ClusterName = "tf_example",
Remark = "remark.",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TdmqRocketmqCluster;
import com.pulumi.tencentcloud.TdmqRocketmqClusterArgs;
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) {
var example = new TdmqRocketmqCluster("example", TdmqRocketmqClusterArgs.builder()
.clusterName("tf_example")
.remark("remark.")
.build());
}
}
resources:
example:
type: tencentcloud:TdmqRocketmqCluster
properties:
clusterName: tf_example
remark: remark.
Create TdmqRocketmqCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TdmqRocketmqCluster(name: string, args: TdmqRocketmqClusterArgs, opts?: CustomResourceOptions);
@overload
def TdmqRocketmqCluster(resource_name: str,
args: TdmqRocketmqClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TdmqRocketmqCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
remark: Optional[str] = None,
tdmq_rocketmq_cluster_id: Optional[str] = None)
func NewTdmqRocketmqCluster(ctx *Context, name string, args TdmqRocketmqClusterArgs, opts ...ResourceOption) (*TdmqRocketmqCluster, error)
public TdmqRocketmqCluster(string name, TdmqRocketmqClusterArgs args, CustomResourceOptions? opts = null)
public TdmqRocketmqCluster(String name, TdmqRocketmqClusterArgs args)
public TdmqRocketmqCluster(String name, TdmqRocketmqClusterArgs args, CustomResourceOptions options)
type: tencentcloud:TdmqRocketmqCluster
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 TdmqRocketmqClusterArgs
- 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 TdmqRocketmqClusterArgs
- 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 TdmqRocketmqClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TdmqRocketmqClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TdmqRocketmqClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TdmqRocketmqCluster 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 TdmqRocketmqCluster resource accepts the following input properties:
- Cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- Remark string
- Cluster description (up to 128 characters).
- Tdmq
Rocketmq stringCluster Id - ID of the resource.
- Cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- Remark string
- Cluster description (up to 128 characters).
- Tdmq
Rocketmq stringCluster Id - ID of the resource.
- cluster
Name String - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- remark String
- Cluster description (up to 128 characters).
- tdmq
Rocketmq StringCluster Id - ID of the resource.
- cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- remark string
- Cluster description (up to 128 characters).
- tdmq
Rocketmq stringCluster Id - ID of the resource.
- cluster_
name str - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- remark str
- Cluster description (up to 128 characters).
- tdmq_
rocketmq_ strcluster_ id - ID of the resource.
- cluster
Name String - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- remark String
- Cluster description (up to 128 characters).
- tdmq
Rocketmq StringCluster Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TdmqRocketmqCluster resource produces the following output properties:
- Cluster
Id string - Cluster ID.
- Create
Time double - Creation time in milliseconds.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Rocket
MQFlag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Vpc
End stringPoint - VPC access address.
- Vpcs
List<Tdmq
Rocketmq Cluster Vpc> - Vpc list.
- Cluster
Id string - Cluster ID.
- Create
Time float64 - Creation time in milliseconds.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Rocket
MQFlag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Vpc
End stringPoint - VPC access address.
- Vpcs
[]Tdmq
Rocketmq Cluster Vpc - Vpc list.
- cluster
Id String - Cluster ID.
- create
Time Double - Creation time in milliseconds.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- rocket
MQFlag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- vpc
End StringPoint - VPC access address.
- vpcs
List<Tdmq
Rocketmq Cluster Vpc> - Vpc list.
- cluster
Id string - Cluster ID.
- create
Time number - Creation time in milliseconds.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Vip boolean - Whether it is an exclusive instance.
- public
End stringPoint - Public network access address.
- region string
- Region information.
- rocket
MQFlag boolean - Rocketmq cluster identification.
- support
Namespace booleanEndpoint - Whether the namespace access point is supported.
- vpc
End stringPoint - VPC access address.
- vpcs
Tdmq
Rocketmq Cluster Vpc[] - Vpc list.
- cluster_
id str - Cluster ID.
- create_
time float - Creation time in milliseconds.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
vip bool - Whether it is an exclusive instance.
- public_
end_ strpoint - Public network access address.
- region str
- Region information.
- rocket_
mq_ boolflag - Rocketmq cluster identification.
- support_
namespace_ boolendpoint - Whether the namespace access point is supported.
- vpc_
end_ strpoint - VPC access address.
- vpcs
Sequence[Tdmq
Rocketmq Cluster Vpc] - Vpc list.
- cluster
Id String - Cluster ID.
- create
Time Number - Creation time in milliseconds.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- rocket
MQFlag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- vpc
End StringPoint - VPC access address.
- vpcs List<Property Map>
- Vpc list.
Look up Existing TdmqRocketmqCluster Resource
Get an existing TdmqRocketmqCluster 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?: TdmqRocketmqClusterState, opts?: CustomResourceOptions): TdmqRocketmqCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
create_time: Optional[float] = None,
is_vip: Optional[bool] = None,
public_end_point: Optional[str] = None,
region: Optional[str] = None,
remark: Optional[str] = None,
rocket_mq_flag: Optional[bool] = None,
support_namespace_endpoint: Optional[bool] = None,
tdmq_rocketmq_cluster_id: Optional[str] = None,
vpc_end_point: Optional[str] = None,
vpcs: Optional[Sequence[TdmqRocketmqClusterVpcArgs]] = None) -> TdmqRocketmqCluster
func GetTdmqRocketmqCluster(ctx *Context, name string, id IDInput, state *TdmqRocketmqClusterState, opts ...ResourceOption) (*TdmqRocketmqCluster, error)
public static TdmqRocketmqCluster Get(string name, Input<string> id, TdmqRocketmqClusterState? state, CustomResourceOptions? opts = null)
public static TdmqRocketmqCluster get(String name, Output<String> id, TdmqRocketmqClusterState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TdmqRocketmqCluster 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.
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- Create
Time double - Creation time in milliseconds.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Remark string
- Cluster description (up to 128 characters).
- Rocket
MQFlag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Tdmq
Rocketmq stringCluster Id - ID of the resource.
- Vpc
End stringPoint - VPC access address.
- Vpcs
List<Tdmq
Rocketmq Cluster Vpc> - Vpc list.
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- Create
Time float64 - Creation time in milliseconds.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Remark string
- Cluster description (up to 128 characters).
- Rocket
MQFlag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Tdmq
Rocketmq stringCluster Id - ID of the resource.
- Vpc
End stringPoint - VPC access address.
- Vpcs
[]Tdmq
Rocketmq Cluster Vpc Args - Vpc list.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- create
Time Double - Creation time in milliseconds.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- remark String
- Cluster description (up to 128 characters).
- rocket
MQFlag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- tdmq
Rocketmq StringCluster Id - ID of the resource.
- vpc
End StringPoint - VPC access address.
- vpcs
List<Tdmq
Rocketmq Cluster Vpc> - Vpc list.
- cluster
Id string - Cluster ID.
- cluster
Name string - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- create
Time number - Creation time in milliseconds.
- is
Vip boolean - Whether it is an exclusive instance.
- public
End stringPoint - Public network access address.
- region string
- Region information.
- remark string
- Cluster description (up to 128 characters).
- rocket
MQFlag boolean - Rocketmq cluster identification.
- support
Namespace booleanEndpoint - Whether the namespace access point is supported.
- tdmq
Rocketmq stringCluster Id - ID of the resource.
- vpc
End stringPoint - VPC access address.
- vpcs
Tdmq
Rocketmq Cluster Vpc[] - Vpc list.
- cluster_
id str - Cluster ID.
- cluster_
name str - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- create_
time float - Creation time in milliseconds.
- is_
vip bool - Whether it is an exclusive instance.
- public_
end_ strpoint - Public network access address.
- region str
- Region information.
- remark str
- Cluster description (up to 128 characters).
- rocket_
mq_ boolflag - Rocketmq cluster identification.
- support_
namespace_ boolendpoint - Whether the namespace access point is supported.
- tdmq_
rocketmq_ strcluster_ id - ID of the resource.
- vpc_
end_ strpoint - VPC access address.
- vpcs
Sequence[Tdmq
Rocketmq Cluster Vpc Args] - Vpc list.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
- create
Time Number - Creation time in milliseconds.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- remark String
- Cluster description (up to 128 characters).
- rocket
MQFlag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- tdmq
Rocketmq StringCluster Id - ID of the resource.
- vpc
End StringPoint - VPC access address.
- vpcs List<Property Map>
- Vpc list.
Supporting Types
TdmqRocketmqClusterVpc, TdmqRocketmqClusterVpcArgs
Import
tdmqRocketmq cluster can be imported using the id, e.g.
$ pulumi import tencentcloud:index/tdmqRocketmqCluster:TdmqRocketmqCluster cluster cluster_id
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.