Class: TencentCloud::Ssm::V20190923::DescribeSupportedProductsResponse

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

Overview

DescribeSupportedProducts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(products = nil, totalcount = nil, requestid = nil) ⇒ DescribeSupportedProductsResponse

Returns a new instance of DescribeSupportedProductsResponse.



672
673
674
675
676
# File 'lib/v20190923/models.rb', line 672

def initialize(products=nil, totalcount=nil, requestid=nil)
  @Products = products
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ProductsObject

每种云产品与凭据类型的对应关系如下: 当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql; 当SecretType为2时,支持的产品列表为:Cvm; 当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单); 当SecretType为4时,支持的产品列表为:Redis。

Parameters:

  • Products:

    支持的所有云产品列表。

  • TotalCount:

    支持的产品个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



670
671
672
# File 'lib/v20190923/models.rb', line 670

def Products
  @Products
end

#RequestIdObject

每种云产品与凭据类型的对应关系如下: 当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql; 当SecretType为2时,支持的产品列表为:Cvm; 当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单); 当SecretType为4时,支持的产品列表为:Redis。

Parameters:

  • Products:

    支持的所有云产品列表。

  • TotalCount:

    支持的产品个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



670
671
672
# File 'lib/v20190923/models.rb', line 670

def RequestId
  @RequestId
end

#TotalCountObject

每种云产品与凭据类型的对应关系如下: 当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql; 当SecretType为2时,支持的产品列表为:Cvm; 当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单); 当SecretType为4时,支持的产品列表为:Redis。

Parameters:

  • Products:

    支持的所有云产品列表。

  • TotalCount:

    支持的产品个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



670
671
672
# File 'lib/v20190923/models.rb', line 670

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



678
679
680
681
682
# File 'lib/v20190923/models.rb', line 678

def deserialize(params)
  @Products = params['Products']
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end