Class: TencentCloud::Trocket::V20230308::ModifyInstanceEndpointRequest

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

Overview

ModifyInstanceEndpoint请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, type = nil, bandwidth = nil, iprules = nil, billingflow = nil) ⇒ ModifyInstanceEndpointRequest

Returns a new instance of ModifyInstanceEndpointRequest.



4988
4989
4990
4991
4992
4993
4994
# File 'lib/v20230308/models.rb', line 4988

def initialize(instanceid=nil, type=nil, bandwidth=nil, iprules=nil, billingflow=nil)
  @InstanceId = instanceid
  @Type = type
  @Bandwidth = bandwidth
  @IpRules = iprules
  @BillingFlow = billingflow
end

Instance Attribute Details

#BandwidthObject

PUBLIC 公网

Parameters:

  • InstanceId:

    腾讯云 RocketMQ 实例 ID,从 DescribeFusionInstanceList 接口或控制台获得。

  • Type:

    接入点类型,

  • Bandwidth:

    公网带宽,Mbps为单位

  • IpRules:

    公网安全组信息

  • BillingFlow:

    公网是否按流量计费



4986
4987
4988
# File 'lib/v20230308/models.rb', line 4986

def Bandwidth
  @Bandwidth
end

#BillingFlowObject

PUBLIC 公网

Parameters:

  • InstanceId:

    腾讯云 RocketMQ 实例 ID,从 DescribeFusionInstanceList 接口或控制台获得。

  • Type:

    接入点类型,

  • Bandwidth:

    公网带宽,Mbps为单位

  • IpRules:

    公网安全组信息

  • BillingFlow:

    公网是否按流量计费



4986
4987
4988
# File 'lib/v20230308/models.rb', line 4986

def BillingFlow
  @BillingFlow
end

#InstanceIdObject

PUBLIC 公网

Parameters:

  • InstanceId:

    腾讯云 RocketMQ 实例 ID,从 DescribeFusionInstanceList 接口或控制台获得。

  • Type:

    接入点类型,

  • Bandwidth:

    公网带宽,Mbps为单位

  • IpRules:

    公网安全组信息

  • BillingFlow:

    公网是否按流量计费



4986
4987
4988
# File 'lib/v20230308/models.rb', line 4986

def InstanceId
  @InstanceId
end

#IpRulesObject

PUBLIC 公网

Parameters:

  • InstanceId:

    腾讯云 RocketMQ 实例 ID,从 DescribeFusionInstanceList 接口或控制台获得。

  • Type:

    接入点类型,

  • Bandwidth:

    公网带宽,Mbps为单位

  • IpRules:

    公网安全组信息

  • BillingFlow:

    公网是否按流量计费



4986
4987
4988
# File 'lib/v20230308/models.rb', line 4986

def IpRules
  @IpRules
end

#TypeObject

PUBLIC 公网

Parameters:

  • InstanceId:

    腾讯云 RocketMQ 实例 ID,从 DescribeFusionInstanceList 接口或控制台获得。

  • Type:

    接入点类型,

  • Bandwidth:

    公网带宽,Mbps为单位

  • IpRules:

    公网安全组信息

  • BillingFlow:

    公网是否按流量计费



4986
4987
4988
# File 'lib/v20230308/models.rb', line 4986

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
# File 'lib/v20230308/models.rb', line 4996

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Type = params['Type']
  @Bandwidth = params['Bandwidth']
  unless params['IpRules'].nil?
    @IpRules = []
    params['IpRules'].each do |i|
      iprule_tmp = IpRule.new
      iprule_tmp.deserialize(i)
      @IpRules << iprule_tmp
    end
  end
  @BillingFlow = params['BillingFlow']
end