Class: TencentCloud::Batch::V20170312::DescribeComputeEnvCreateInfoResponse

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

Overview

DescribeComputeEnvCreateInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envid = nil, envname = nil, envdescription = nil, envtype = nil, envdata = nil, mountdatadisks = nil, inputmappings = nil, authentications = nil, notifications = nil, desiredcomputenodecount = nil, tags = nil, requestid = nil) ⇒ DescribeComputeEnvCreateInfoResponse

Returns a new instance of DescribeComputeEnvCreateInfoResponse.



1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
# File 'lib/v20170312/models.rb', line 1011

def initialize(envid=nil, envname=nil, envdescription=nil, envtype=nil, envdata=nil, mountdatadisks=nil, inputmappings=nil, authentications=nil, notifications=nil, desiredcomputenodecount=nil, tags=nil, requestid=nil)
  @EnvId = envid
  @EnvName = envname
  @EnvDescription = envdescription
  @EnvType = envtype
  @EnvData = envdata
  @MountDataDisks = mountdatadisks
  @InputMappings = inputmappings
  @Authentications = authentications
  @Notifications = notifications
  @DesiredComputeNodeCount = desiredcomputenodecount
  @Tags = tags
  @RequestId = requestid
end

Instance Attribute Details

#AuthenticationsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def Authentications
  @Authentications
end

#DesiredComputeNodeCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def DesiredComputeNodeCount
  @DesiredComputeNodeCount
end

#EnvDataObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def EnvData
  @EnvData
end

#EnvDescriptionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def EnvDescription
  @EnvDescription
end

#EnvIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def EnvId
  @EnvId
end

#EnvNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def EnvName
  @EnvName
end

#EnvTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def EnvType
  @EnvType
end

#InputMappingsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def InputMappings
  @InputMappings
end

#MountDataDisksObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def MountDataDisks
  @MountDataDisks
end

#NotificationsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def Notifications
  @Notifications
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def RequestId
  @RequestId
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvId:

    计算环境 ID

  • EnvName:

    计算环境名称

  • EnvDescription:

    计算环境描述

  • EnvType:

    计算环境类型,仅支持“MANAGED”类型

  • EnvData:

    计算环境参数

  • MountDataDisks:

    数据盘挂载选项

  • InputMappings:

    输入映射

  • Authentications:

    授权信息

  • Notifications:

    通知信息

  • DesiredComputeNodeCount:

    计算节点期望个数

  • Tags:

    计算环境绑定的标签列表

  • RequestId:

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



1009
1010
1011
# File 'lib/v20170312/models.rb', line 1009

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
# File 'lib/v20170312/models.rb', line 1026

def deserialize(params)
  @EnvId = params['EnvId']
  @EnvName = params['EnvName']
  @EnvDescription = params['EnvDescription']
  @EnvType = params['EnvType']
  unless params['EnvData'].nil?
    @EnvData = EnvData.new
    @EnvData.deserialize(params['EnvData'])
  end
  unless params['MountDataDisks'].nil?
    @MountDataDisks = []
    params['MountDataDisks'].each do |i|
      mountdatadisk_tmp = MountDataDisk.new
      mountdatadisk_tmp.deserialize(i)
      @MountDataDisks << mountdatadisk_tmp
    end
  end
  unless params['InputMappings'].nil?
    @InputMappings = []
    params['InputMappings'].each do |i|
      inputmapping_tmp = InputMapping.new
      inputmapping_tmp.deserialize(i)
      @InputMappings << inputmapping_tmp
    end
  end
  unless params['Authentications'].nil?
    @Authentications = []
    params['Authentications'].each do |i|
      authentication_tmp = Authentication.new
      authentication_tmp.deserialize(i)
      @Authentications << authentication_tmp
    end
  end
  unless params['Notifications'].nil?
    @Notifications = []
    params['Notifications'].each do |i|
      notification_tmp = Notification.new
      notification_tmp.deserialize(i)
      @Notifications << notification_tmp
    end
  end
  @DesiredComputeNodeCount = params['DesiredComputeNodeCount']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @RequestId = params['RequestId']
end