1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. DmsRocketmqUser
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.DmsRocketmqUser

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages DMS RocketMQ user resources within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject("instanceId");
    const test = new flexibleengine.DmsRocketmqUser("test", {
        instanceId: instanceId,
        accessKey: "user_test",
        secretKey: "abcdefg",
        whiteRemoteAddress: "10.10.10.10",
        admin: false,
        defaultTopicPerm: "PUB",
        defaultGroupPerm: "PUB",
        topicPerms: [{
            name: "topic_name",
            perm: "PUB",
        }],
        groupPerms: [{
            name: "group_name",
            perm: "PUB",
        }],
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    test = flexibleengine.DmsRocketmqUser("test",
        instance_id=instance_id,
        access_key="user_test",
        secret_key="abcdefg",
        white_remote_address="10.10.10.10",
        admin=False,
        default_topic_perm="PUB",
        default_group_perm="PUB",
        topic_perms=[{
            "name": "topic_name",
            "perm": "PUB",
        }],
        group_perms=[{
            "name": "group_name",
            "perm": "PUB",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		instanceId := cfg.RequireObject("instanceId")
    		_, err := flexibleengine.NewDmsRocketmqUser(ctx, "test", &flexibleengine.DmsRocketmqUserArgs{
    			InstanceId:         pulumi.Any(instanceId),
    			AccessKey:          pulumi.String("user_test"),
    			SecretKey:          pulumi.String("abcdefg"),
    			WhiteRemoteAddress: pulumi.String("10.10.10.10"),
    			Admin:              pulumi.Bool(false),
    			DefaultTopicPerm:   pulumi.String("PUB"),
    			DefaultGroupPerm:   pulumi.String("PUB"),
    			TopicPerms: flexibleengine.DmsRocketmqUserTopicPermArray{
    				&flexibleengine.DmsRocketmqUserTopicPermArgs{
    					Name: pulumi.String("topic_name"),
    					Perm: pulumi.String("PUB"),
    				},
    			},
    			GroupPerms: flexibleengine.DmsRocketmqUserGroupPermArray{
    				&flexibleengine.DmsRocketmqUserGroupPermArgs{
    					Name: pulumi.String("group_name"),
    					Perm: pulumi.String("PUB"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var instanceId = config.RequireObject<dynamic>("instanceId");
        var test = new Flexibleengine.DmsRocketmqUser("test", new()
        {
            InstanceId = instanceId,
            AccessKey = "user_test",
            SecretKey = "abcdefg",
            WhiteRemoteAddress = "10.10.10.10",
            Admin = false,
            DefaultTopicPerm = "PUB",
            DefaultGroupPerm = "PUB",
            TopicPerms = new[]
            {
                new Flexibleengine.Inputs.DmsRocketmqUserTopicPermArgs
                {
                    Name = "topic_name",
                    Perm = "PUB",
                },
            },
            GroupPerms = new[]
            {
                new Flexibleengine.Inputs.DmsRocketmqUserGroupPermArgs
                {
                    Name = "group_name",
                    Perm = "PUB",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.DmsRocketmqUser;
    import com.pulumi.flexibleengine.DmsRocketmqUserArgs;
    import com.pulumi.flexibleengine.inputs.DmsRocketmqUserTopicPermArgs;
    import com.pulumi.flexibleengine.inputs.DmsRocketmqUserGroupPermArgs;
    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 config = ctx.config();
            final var instanceId = config.get("instanceId");
            var test = new DmsRocketmqUser("test", DmsRocketmqUserArgs.builder()
                .instanceId(instanceId)
                .accessKey("user_test")
                .secretKey("abcdefg")
                .whiteRemoteAddress("10.10.10.10")
                .admin(false)
                .defaultTopicPerm("PUB")
                .defaultGroupPerm("PUB")
                .topicPerms(DmsRocketmqUserTopicPermArgs.builder()
                    .name("topic_name")
                    .perm("PUB")
                    .build())
                .groupPerms(DmsRocketmqUserGroupPermArgs.builder()
                    .name("group_name")
                    .perm("PUB")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
    resources:
      test:
        type: flexibleengine:DmsRocketmqUser
        properties:
          instanceId: ${instanceId}
          accessKey: user_test
          secretKey: abcdefg
          whiteRemoteAddress: 10.10.10.10
          admin: false
          defaultTopicPerm: PUB
          defaultGroupPerm: PUB
          topicPerms:
            - name: topic_name
              perm: PUB
          groupPerms:
            - name: group_name
              perm: PUB
    

    Create DmsRocketmqUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DmsRocketmqUser(name: string, args: DmsRocketmqUserArgs, opts?: CustomResourceOptions);
    @overload
    def DmsRocketmqUser(resource_name: str,
                        args: DmsRocketmqUserArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DmsRocketmqUser(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        access_key: Optional[str] = None,
                        instance_id: Optional[str] = None,
                        secret_key: Optional[str] = None,
                        admin: Optional[bool] = None,
                        default_group_perm: Optional[str] = None,
                        default_topic_perm: Optional[str] = None,
                        dms_rocketmq_user_id: Optional[str] = None,
                        group_perms: Optional[Sequence[DmsRocketmqUserGroupPermArgs]] = None,
                        region: Optional[str] = None,
                        topic_perms: Optional[Sequence[DmsRocketmqUserTopicPermArgs]] = None,
                        white_remote_address: Optional[str] = None)
    func NewDmsRocketmqUser(ctx *Context, name string, args DmsRocketmqUserArgs, opts ...ResourceOption) (*DmsRocketmqUser, error)
    public DmsRocketmqUser(string name, DmsRocketmqUserArgs args, CustomResourceOptions? opts = null)
    public DmsRocketmqUser(String name, DmsRocketmqUserArgs args)
    public DmsRocketmqUser(String name, DmsRocketmqUserArgs args, CustomResourceOptions options)
    
    type: flexibleengine:DmsRocketmqUser
    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 DmsRocketmqUserArgs
    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 DmsRocketmqUserArgs
    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 DmsRocketmqUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DmsRocketmqUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DmsRocketmqUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dmsRocketmqUserResource = new Flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource", new()
    {
        AccessKey = "string",
        InstanceId = "string",
        SecretKey = "string",
        Admin = false,
        DefaultGroupPerm = "string",
        DefaultTopicPerm = "string",
        DmsRocketmqUserId = "string",
        GroupPerms = new[]
        {
            new Flexibleengine.Inputs.DmsRocketmqUserGroupPermArgs
            {
                Name = "string",
                Perm = "string",
            },
        },
        Region = "string",
        TopicPerms = new[]
        {
            new Flexibleengine.Inputs.DmsRocketmqUserTopicPermArgs
            {
                Name = "string",
                Perm = "string",
            },
        },
        WhiteRemoteAddress = "string",
    });
    
    example, err := flexibleengine.NewDmsRocketmqUser(ctx, "dmsRocketmqUserResource", &flexibleengine.DmsRocketmqUserArgs{
    	AccessKey:         pulumi.String("string"),
    	InstanceId:        pulumi.String("string"),
    	SecretKey:         pulumi.String("string"),
    	Admin:             pulumi.Bool(false),
    	DefaultGroupPerm:  pulumi.String("string"),
    	DefaultTopicPerm:  pulumi.String("string"),
    	DmsRocketmqUserId: pulumi.String("string"),
    	GroupPerms: flexibleengine.DmsRocketmqUserGroupPermArray{
    		&flexibleengine.DmsRocketmqUserGroupPermArgs{
    			Name: pulumi.String("string"),
    			Perm: pulumi.String("string"),
    		},
    	},
    	Region: pulumi.String("string"),
    	TopicPerms: flexibleengine.DmsRocketmqUserTopicPermArray{
    		&flexibleengine.DmsRocketmqUserTopicPermArgs{
    			Name: pulumi.String("string"),
    			Perm: pulumi.String("string"),
    		},
    	},
    	WhiteRemoteAddress: pulumi.String("string"),
    })
    
    var dmsRocketmqUserResource = new DmsRocketmqUser("dmsRocketmqUserResource", DmsRocketmqUserArgs.builder()
        .accessKey("string")
        .instanceId("string")
        .secretKey("string")
        .admin(false)
        .defaultGroupPerm("string")
        .defaultTopicPerm("string")
        .dmsRocketmqUserId("string")
        .groupPerms(DmsRocketmqUserGroupPermArgs.builder()
            .name("string")
            .perm("string")
            .build())
        .region("string")
        .topicPerms(DmsRocketmqUserTopicPermArgs.builder()
            .name("string")
            .perm("string")
            .build())
        .whiteRemoteAddress("string")
        .build());
    
    dms_rocketmq_user_resource = flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource",
        access_key="string",
        instance_id="string",
        secret_key="string",
        admin=False,
        default_group_perm="string",
        default_topic_perm="string",
        dms_rocketmq_user_id="string",
        group_perms=[{
            "name": "string",
            "perm": "string",
        }],
        region="string",
        topic_perms=[{
            "name": "string",
            "perm": "string",
        }],
        white_remote_address="string")
    
    const dmsRocketmqUserResource = new flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource", {
        accessKey: "string",
        instanceId: "string",
        secretKey: "string",
        admin: false,
        defaultGroupPerm: "string",
        defaultTopicPerm: "string",
        dmsRocketmqUserId: "string",
        groupPerms: [{
            name: "string",
            perm: "string",
        }],
        region: "string",
        topicPerms: [{
            name: "string",
            perm: "string",
        }],
        whiteRemoteAddress: "string",
    });
    
    type: flexibleengine:DmsRocketmqUser
    properties:
        accessKey: string
        admin: false
        defaultGroupPerm: string
        defaultTopicPerm: string
        dmsRocketmqUserId: string
        groupPerms:
            - name: string
              perm: string
        instanceId: string
        region: string
        secretKey: string
        topicPerms:
            - name: string
              perm: string
        whiteRemoteAddress: string
    

    DmsRocketmqUser 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 DmsRocketmqUser resource accepts the following input properties:

    AccessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    SecretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    Admin bool
    Specifies whether the user is an administrator.
    DefaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DefaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DmsRocketmqUserId string
    The resource ID.
    GroupPerms List<DmsRocketmqUserGroupPerm>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    TopicPerms List<DmsRocketmqUserTopicPerm>
    Specifies the special topic permissions. The permission structure is documented below.
    WhiteRemoteAddress string
    Specifies the IP address whitelist.
    AccessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    SecretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    Admin bool
    Specifies whether the user is an administrator.
    DefaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DefaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DmsRocketmqUserId string
    The resource ID.
    GroupPerms []DmsRocketmqUserGroupPermArgs

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    TopicPerms []DmsRocketmqUserTopicPermArgs
    Specifies the special topic permissions. The permission structure is documented below.
    WhiteRemoteAddress string
    Specifies the IP address whitelist.
    accessKey String
    Specifies the access key of the user. Changing this parameter will create a new resource.
    instanceId String
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    secretKey String
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    admin Boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm String
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm String
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId String
    The resource ID.
    groupPerms List<DmsRocketmqUserGroupPerm>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    topicPerms List<DmsRocketmqUserTopicPerm>
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress String
    Specifies the IP address whitelist.
    accessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    instanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    secretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    admin boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId string
    The resource ID.
    groupPerms DmsRocketmqUserGroupPerm[]

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    topicPerms DmsRocketmqUserTopicPerm[]
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress string
    Specifies the IP address whitelist.
    access_key str
    Specifies the access key of the user. Changing this parameter will create a new resource.
    instance_id str
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    secret_key str
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    admin bool
    Specifies whether the user is an administrator.
    default_group_perm str
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    default_topic_perm str
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dms_rocketmq_user_id str
    The resource ID.
    group_perms Sequence[DmsRocketmqUserGroupPermArgs]

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    topic_perms Sequence[DmsRocketmqUserTopicPermArgs]
    Specifies the special topic permissions. The permission structure is documented below.
    white_remote_address str
    Specifies the IP address whitelist.
    accessKey String
    Specifies the access key of the user. Changing this parameter will create a new resource.
    instanceId String
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    secretKey String
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    admin Boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm String
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm String
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId String
    The resource ID.
    groupPerms List<Property Map>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    topicPerms List<Property Map>
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress String
    Specifies the IP address whitelist.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DmsRocketmqUser resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DmsRocketmqUser Resource

    Get an existing DmsRocketmqUser 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?: DmsRocketmqUserState, opts?: CustomResourceOptions): DmsRocketmqUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_key: Optional[str] = None,
            admin: Optional[bool] = None,
            default_group_perm: Optional[str] = None,
            default_topic_perm: Optional[str] = None,
            dms_rocketmq_user_id: Optional[str] = None,
            group_perms: Optional[Sequence[DmsRocketmqUserGroupPermArgs]] = None,
            instance_id: Optional[str] = None,
            region: Optional[str] = None,
            secret_key: Optional[str] = None,
            topic_perms: Optional[Sequence[DmsRocketmqUserTopicPermArgs]] = None,
            white_remote_address: Optional[str] = None) -> DmsRocketmqUser
    func GetDmsRocketmqUser(ctx *Context, name string, id IDInput, state *DmsRocketmqUserState, opts ...ResourceOption) (*DmsRocketmqUser, error)
    public static DmsRocketmqUser Get(string name, Input<string> id, DmsRocketmqUserState? state, CustomResourceOptions? opts = null)
    public static DmsRocketmqUser get(String name, Output<String> id, DmsRocketmqUserState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:DmsRocketmqUser    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.
    The following state arguments are supported:
    AccessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    Admin bool
    Specifies whether the user is an administrator.
    DefaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DefaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DmsRocketmqUserId string
    The resource ID.
    GroupPerms List<DmsRocketmqUserGroupPerm>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    InstanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    SecretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    TopicPerms List<DmsRocketmqUserTopicPerm>
    Specifies the special topic permissions. The permission structure is documented below.
    WhiteRemoteAddress string
    Specifies the IP address whitelist.
    AccessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    Admin bool
    Specifies whether the user is an administrator.
    DefaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DefaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    DmsRocketmqUserId string
    The resource ID.
    GroupPerms []DmsRocketmqUserGroupPermArgs

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    InstanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    SecretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    TopicPerms []DmsRocketmqUserTopicPermArgs
    Specifies the special topic permissions. The permission structure is documented below.
    WhiteRemoteAddress string
    Specifies the IP address whitelist.
    accessKey String
    Specifies the access key of the user. Changing this parameter will create a new resource.
    admin Boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm String
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm String
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId String
    The resource ID.
    groupPerms List<DmsRocketmqUserGroupPerm>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    instanceId String
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    secretKey String
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    topicPerms List<DmsRocketmqUserTopicPerm>
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress String
    Specifies the IP address whitelist.
    accessKey string
    Specifies the access key of the user. Changing this parameter will create a new resource.
    admin boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm string
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm string
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId string
    The resource ID.
    groupPerms DmsRocketmqUserGroupPerm[]

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    instanceId string
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    secretKey string
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    topicPerms DmsRocketmqUserTopicPerm[]
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress string
    Specifies the IP address whitelist.
    access_key str
    Specifies the access key of the user. Changing this parameter will create a new resource.
    admin bool
    Specifies whether the user is an administrator.
    default_group_perm str
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    default_topic_perm str
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dms_rocketmq_user_id str
    The resource ID.
    group_perms Sequence[DmsRocketmqUserGroupPermArgs]

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    instance_id str
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    secret_key str
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    topic_perms Sequence[DmsRocketmqUserTopicPermArgs]
    Specifies the special topic permissions. The permission structure is documented below.
    white_remote_address str
    Specifies the IP address whitelist.
    accessKey String
    Specifies the access key of the user. Changing this parameter will create a new resource.
    admin Boolean
    Specifies whether the user is an administrator.
    defaultGroupPerm String
    Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    defaultTopicPerm String
    Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
    dmsRocketmqUserId String
    The resource ID.
    groupPerms List<Property Map>

    Specifies the special consumer group permissions. The permission structure is documented below.

    The topic_perms and group_perms block supports:

    instanceId String
    Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    secretKey String
    Specifies the secret key of the user. Changing this parameter will create a new resource.
    topicPerms List<Property Map>
    Specifies the special topic permissions. The permission structure is documented below.
    whiteRemoteAddress String
    Specifies the IP address whitelist.

    Supporting Types

    DmsRocketmqUserGroupPerm, DmsRocketmqUserGroupPermArgs

    Name string
    Indicates the name of a topic or consumer group.
    Perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    Name string
    Indicates the name of a topic or consumer group.
    Perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name String
    Indicates the name of a topic or consumer group.
    perm String
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name string
    Indicates the name of a topic or consumer group.
    perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name str
    Indicates the name of a topic or consumer group.
    perm str
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name String
    Indicates the name of a topic or consumer group.
    perm String
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.

    DmsRocketmqUserTopicPerm, DmsRocketmqUserTopicPermArgs

    Name string
    Indicates the name of a topic or consumer group.
    Perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    Name string
    Indicates the name of a topic or consumer group.
    Perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name String
    Indicates the name of a topic or consumer group.
    perm String
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name string
    Indicates the name of a topic or consumer group.
    perm string
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name str
    Indicates the name of a topic or consumer group.
    perm str
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.
    name String
    Indicates the name of a topic or consumer group.
    perm String
    Indicates the permissions of the topic or consumer group. Value options: PUB|SUB, PUB, SUB, DENY.

    Import

    The rocketmq user can be imported using the rocketMQ instance ID and user access key separated by a slash, e.g.

    $ pulumi import flexibleengine:index/dmsRocketmqUser:DmsRocketmqUser test c8057fe5-23a8-46ef-ad83-c0055b4e0c5c/access_key
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud