Class: TencentCloud::Trabbit::V20230418::CreateRabbitMQServerlessUserRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230418/models.rb

Overview

CreateRabbitMQServerlessUser请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, user = nil, password = nil, description = nil, tags = nil, maxconnections = nil, maxchannels = nil) ⇒ CreateRabbitMQServerlessUserRequest

Returns a new instance of CreateRabbitMQServerlessUserRequest.



307
308
309
310
311
312
313
314
315
# File 'lib/v20230418/models.rb', line 307

def initialize(instanceid=nil, user=nil, password=nil, description=nil, tags=nil, maxconnections=nil, maxchannels=nil)
  @InstanceId = instanceid
  @User = user
  @Password = password
  @Description = description
  @Tags = tags
  @MaxConnections = maxconnections
  @MaxChannels = maxchannels
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def Description
  @Description
end

#InstanceIdObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def InstanceId
  @InstanceId
end

#MaxChannelsObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def MaxChannels
  @MaxChannels
end

#MaxConnectionsObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def MaxConnections
  @MaxConnections
end

#PasswordObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def Password
  @Password
end

#TagsObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def Tags
  @Tags
end

#UserObject

Parameters:

  • InstanceId:

    集群实例Id

  • User:

    用户名,登录时使用

  • Password:

    密码,登录时使用

  • Description:

    描述

  • Tags:

    serverless 实例该字段无效

  • MaxConnections:

    该用户的最大连接数,不填写则不限制

  • MaxChannels:

    该用户的最大channel数,不填写则不限制



305
306
307
# File 'lib/v20230418/models.rb', line 305

def User
  @User
end

Instance Method Details

#deserialize(params) ⇒ Object



317
318
319
320
321
322
323
324
325
# File 'lib/v20230418/models.rb', line 317

def deserialize(params)
  @InstanceId = params['InstanceId']
  @User = params['User']
  @Password = params['Password']
  @Description = params['Description']
  @Tags = params['Tags']
  @MaxConnections = params['MaxConnections']
  @MaxChannels = params['MaxChannels']
end