Class: TencentCloud::Rum::V20210622::CreateTawInstanceRequest

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

Overview

CreateTawInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(areaid = nil, chargetype = nil, dataretentiondays = nil, instancename = nil, tags = nil, instancedesc = nil, countnum = nil, periodretain = nil, buyingchannel = nil, resourcepackagetype = nil, resourcepackagenum = nil, instancetype = nil) ⇒ CreateTawInstanceRequest

Returns a new instance of CreateTawInstanceRequest.



204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/v20210622/models.rb', line 204

def initialize(areaid=nil, chargetype=nil, dataretentiondays=nil, instancename=nil, tags=nil, instancedesc=nil, countnum=nil, periodretain=nil, buyingchannel=nil, resourcepackagetype=nil, resourcepackagenum=nil, instancetype=nil)
  @AreaId = areaid
  @ChargeType = chargetype
  @DataRetentionDays = dataretentiondays
  @InstanceName = instancename
  @Tags = tags
  @InstanceDesc = instancedesc
  @CountNum = countnum
  @PeriodRetain = periodretain
  @BuyingChannel = buyingchannel
  @ResourcePackageType = resourcepackagetype
  @ResourcePackageNum = resourcepackagenum
  @InstanceType = instancetype
end

Instance Attribute Details

#AreaIdObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def AreaId
  @AreaId
end

#BuyingChannelObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def BuyingChannel
  @BuyingChannel
end

#ChargeTypeObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def ChargeType
  @ChargeType
end

#CountNumObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def CountNum
  @CountNum
end

#DataRetentionDaysObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def DataRetentionDays
  @DataRetentionDays
end

#InstanceDescObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def InstanceDesc
  @InstanceDesc
end

#InstanceNameObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def InstanceName
  @InstanceName
end

#InstanceTypeObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def InstanceType
  @InstanceType
end

#PeriodRetainObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def PeriodRetain
  @PeriodRetain
end

#ResourcePackageNumObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def ResourcePackageNum
  @ResourcePackageNum
end

#ResourcePackageTypeObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def ResourcePackageType
  @ResourcePackageType
end

#TagsObject

Parameters:

  • AreaId:

    片区Id,(至少大于0)

  • ChargeType:

    计费类型, (1=后付费)

  • DataRetentionDays:

    数据保存时间,(至少大于0)

  • InstanceName:

    实例名称,(最大长度不超过255字节)

  • Tags:

    标签列表

  • InstanceDesc:

    实例描述,(最大长度不超过1024字节)

  • CountNum:

    每天数据上报量,(不作量级限制)

  • PeriodRetain:

    数据存储时长计费

  • BuyingChannel:

    实例购买渠道(“cdn” 等)

  • ResourcePackageType:

    预付费资源包类型(仅预付费需要)

  • ResourcePackageNum:

    预付费资源包数量(仅预付费需要)

  • InstanceType:

    实例类型 1:原web相关类型 2:app端类型



202
203
204
# File 'lib/v20210622/models.rb', line 202

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# File 'lib/v20210622/models.rb', line 219

def deserialize(params)
  @AreaId = params['AreaId']
  @ChargeType = params['ChargeType']
  @DataRetentionDays = params['DataRetentionDays']
  @InstanceName = params['InstanceName']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @InstanceDesc = params['InstanceDesc']
  @CountNum = params['CountNum']
  @PeriodRetain = params['PeriodRetain']
  @BuyingChannel = params['BuyingChannel']
  @ResourcePackageType = params['ResourcePackageType']
  @ResourcePackageNum = params['ResourcePackageNum']
  @InstanceType = params['InstanceType']
end