Class: TencentCloud::Cvm::V20170312::InquirePricePurchaseReservedInstancesOfferingRequest

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

Overview

InquirePricePurchaseReservedInstancesOffering请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancecount = nil, reservedinstancesofferingid = nil, dryrun = nil, clienttoken = nil, reservedinstancename = nil) ⇒ InquirePricePurchaseReservedInstancesOfferingRequest

Returns a new instance of InquirePricePurchaseReservedInstancesOfferingRequest.



4406
4407
4408
4409
4410
4411
4412
# File 'lib/v20170312/models.rb', line 4406

def initialize(instancecount=nil, reservedinstancesofferingid=nil, dryrun=nil, clienttoken=nil, reservedinstancename=nil)
  @InstanceCount = instancecount
  @ReservedInstancesOfferingId = reservedinstancesofferingid
  @DryRun = dryrun
  @ClientToken = clienttoken
  @ReservedInstanceName = reservedinstancename
end

Instance Attribute Details

#ClientTokenObject

Parameters:

  • InstanceCount:

    购买预留实例计费数量

  • ReservedInstancesOfferingId:

    预留实例计费配置ID

  • DryRun:

    试运行

  • ClientToken:

    用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
    更多详细信息请参阅:如何保证幂等性

  • ReservedInstanceName:

    预留实例显示名称。
    <li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>



4404
4405
4406
# File 'lib/v20170312/models.rb', line 4404

def ClientToken
  @ClientToken
end

#DryRunObject

Parameters:

  • InstanceCount:

    购买预留实例计费数量

  • ReservedInstancesOfferingId:

    预留实例计费配置ID

  • DryRun:

    试运行

  • ClientToken:

    用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
    更多详细信息请参阅:如何保证幂等性

  • ReservedInstanceName:

    预留实例显示名称。
    <li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>



4404
4405
4406
# File 'lib/v20170312/models.rb', line 4404

def DryRun
  @DryRun
end

#InstanceCountObject

Parameters:

  • InstanceCount:

    购买预留实例计费数量

  • ReservedInstancesOfferingId:

    预留实例计费配置ID

  • DryRun:

    试运行

  • ClientToken:

    用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
    更多详细信息请参阅:如何保证幂等性

  • ReservedInstanceName:

    预留实例显示名称。
    <li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>



4404
4405
4406
# File 'lib/v20170312/models.rb', line 4404

def InstanceCount
  @InstanceCount
end

#ReservedInstanceNameObject

Parameters:

  • InstanceCount:

    购买预留实例计费数量

  • ReservedInstancesOfferingId:

    预留实例计费配置ID

  • DryRun:

    试运行

  • ClientToken:

    用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
    更多详细信息请参阅:如何保证幂等性

  • ReservedInstanceName:

    预留实例显示名称。
    <li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>



4404
4405
4406
# File 'lib/v20170312/models.rb', line 4404

def ReservedInstanceName
  @ReservedInstanceName
end

#ReservedInstancesOfferingIdObject

Parameters:

  • InstanceCount:

    购买预留实例计费数量

  • ReservedInstancesOfferingId:

    预留实例计费配置ID

  • DryRun:

    试运行

  • ClientToken:

    用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
    更多详细信息请参阅:如何保证幂等性

  • ReservedInstanceName:

    预留实例显示名称。
    <li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>



4404
4405
4406
# File 'lib/v20170312/models.rb', line 4404

def ReservedInstancesOfferingId
  @ReservedInstancesOfferingId
end

Instance Method Details

#deserialize(params) ⇒ Object



4414
4415
4416
4417
4418
4419
4420
# File 'lib/v20170312/models.rb', line 4414

def deserialize(params)
  @InstanceCount = params['InstanceCount']
  @ReservedInstancesOfferingId = params['ReservedInstancesOfferingId']
  @DryRun = params['DryRun']
  @ClientToken = params['ClientToken']
  @ReservedInstanceName = params['ReservedInstanceName']
end