Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQVirtualHostRequest

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

Overview

CreateRabbitMQVirtualHost请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, virtualhost = nil, description = nil, traceflag = nil, mirrorqueuepolicyflag = nil) ⇒ CreateRabbitMQVirtualHostRequest

Returns a new instance of CreateRabbitMQVirtualHostRequest.



1875
1876
1877
1878
1879
1880
1881
# File 'lib/v20200217/models.rb', line 1875

def initialize(instanceid=nil, virtualhost=nil, description=nil, traceflag=nil, mirrorqueuepolicyflag=nil)
  @InstanceId = instanceid
  @VirtualHost = virtualhost
  @Description = description
  @TraceFlag = traceflag
  @MirrorQueuePolicyFlag = mirrorqueuepolicyflag
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • InstanceId:

    集群实例Id

  • VirtualHost:

    vhost名

  • Description:

    描述

  • TraceFlag:

    消息轨迹开关,true打开,false关闭,默认关闭

  • MirrorQueuePolicyFlag:

    是否创建镜像队列策略,默认值 true



1873
1874
1875
# File 'lib/v20200217/models.rb', line 1873

def Description
  @Description
end

#InstanceIdObject

Parameters:

  • InstanceId:

    集群实例Id

  • VirtualHost:

    vhost名

  • Description:

    描述

  • TraceFlag:

    消息轨迹开关,true打开,false关闭,默认关闭

  • MirrorQueuePolicyFlag:

    是否创建镜像队列策略,默认值 true



1873
1874
1875
# File 'lib/v20200217/models.rb', line 1873

def InstanceId
  @InstanceId
end

#MirrorQueuePolicyFlagObject

Parameters:

  • InstanceId:

    集群实例Id

  • VirtualHost:

    vhost名

  • Description:

    描述

  • TraceFlag:

    消息轨迹开关,true打开,false关闭,默认关闭

  • MirrorQueuePolicyFlag:

    是否创建镜像队列策略,默认值 true



1873
1874
1875
# File 'lib/v20200217/models.rb', line 1873

def MirrorQueuePolicyFlag
  @MirrorQueuePolicyFlag
end

#TraceFlagObject

Parameters:

  • InstanceId:

    集群实例Id

  • VirtualHost:

    vhost名

  • Description:

    描述

  • TraceFlag:

    消息轨迹开关,true打开,false关闭,默认关闭

  • MirrorQueuePolicyFlag:

    是否创建镜像队列策略,默认值 true



1873
1874
1875
# File 'lib/v20200217/models.rb', line 1873

def TraceFlag
  @TraceFlag
end

#VirtualHostObject

Parameters:

  • InstanceId:

    集群实例Id

  • VirtualHost:

    vhost名

  • Description:

    描述

  • TraceFlag:

    消息轨迹开关,true打开,false关闭,默认关闭

  • MirrorQueuePolicyFlag:

    是否创建镜像队列策略,默认值 true



1873
1874
1875
# File 'lib/v20200217/models.rb', line 1873

def VirtualHost
  @VirtualHost
end

Instance Method Details

#deserialize(params) ⇒ Object



1883
1884
1885
1886
1887
1888
1889
# File 'lib/v20200217/models.rb', line 1883

def deserialize(params)
  @InstanceId = params['InstanceId']
  @VirtualHost = params['VirtualHost']
  @Description = params['Description']
  @TraceFlag = params['TraceFlag']
  @MirrorQueuePolicyFlag = params['MirrorQueuePolicyFlag']
end