Class: TencentCloud::Tke::V20180525::CreateECMInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateECMInstancesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateECMInstances请求参数结构体
Instance Attribute Summary collapse
- #ClusterID ⇒ Object
- #EnhancedService ⇒ Object
- #External ⇒ Object
- #HostName ⇒ Object
- #ImageId ⇒ Object
- #InstanceName ⇒ Object
- #InternetMaxBandwidthOut ⇒ Object
- #ModuleId ⇒ Object
- #Password ⇒ Object
- #SecurityGroupIds ⇒ Object
- #UserData ⇒ Object
- #ZoneInstanceCountISPSet ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, moduleid = nil, zoneinstancecountispset = nil, password = nil, internetmaxbandwidthout = nil, imageid = nil, instancename = nil, hostname = nil, enhancedservice = nil, userdata = nil, external = nil, securitygroupids = nil) ⇒ CreateECMInstancesRequest
constructor
A new instance of CreateECMInstancesRequest.
Constructor Details
#initialize(clusterid = nil, moduleid = nil, zoneinstancecountispset = nil, password = nil, internetmaxbandwidthout = nil, imageid = nil, instancename = nil, hostname = nil, enhancedservice = nil, userdata = nil, external = nil, securitygroupids = nil) ⇒ CreateECMInstancesRequest
Returns a new instance of CreateECMInstancesRequest.
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 |
# File 'lib/v20180525/models.rb', line 2686 def initialize(clusterid=nil, moduleid=nil, zoneinstancecountispset=nil, password=nil, internetmaxbandwidthout=nil, imageid=nil, instancename=nil, hostname=nil, enhancedservice=nil, userdata=nil, external=nil, securitygroupids=nil) @ClusterID = clusterid @ModuleId = moduleid @ZoneInstanceCountISPSet = zoneinstancecountispset @Password = password @InternetMaxBandwidthOut = internetmaxbandwidthout @ImageId = imageid @InstanceName = instancename @HostName = hostname @EnhancedService = enhancedservice @UserData = userdata @External = external @SecurityGroupIds = securitygroupids end |
Instance Attribute Details
#ClusterID ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def ClusterID @ClusterID end |
#EnhancedService ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def EnhancedService @EnhancedService end |
#External ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def External @External end |
#HostName ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def HostName @HostName end |
#ImageId ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def ImageId @ImageId end |
#InstanceName ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def InstanceName @InstanceName end |
#InternetMaxBandwidthOut ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def InternetMaxBandwidthOut @InternetMaxBandwidthOut end |
#ModuleId ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def ModuleId @ModuleId end |
#Password ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def Password @Password end |
#SecurityGroupIds ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def SecurityGroupIds @SecurityGroupIds end |
#UserData ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def UserData @UserData end |
#ZoneInstanceCountISPSet ⇒ Object
2684 2685 2686 |
# File 'lib/v20180525/models.rb', line 2684 def ZoneInstanceCountISPSet @ZoneInstanceCountISPSet end |
Instance Method Details
#deserialize(params) ⇒ Object
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 |
# File 'lib/v20180525/models.rb', line 2701 def deserialize(params) @ClusterID = params['ClusterID'] @ModuleId = params['ModuleId'] unless params['ZoneInstanceCountISPSet'].nil? @ZoneInstanceCountISPSet = [] params['ZoneInstanceCountISPSet'].each do |i| ecmzoneinstancecountisp_tmp = ECMZoneInstanceCountISP.new ecmzoneinstancecountisp_tmp.deserialize(i) @ZoneInstanceCountISPSet << ecmzoneinstancecountisp_tmp end end @Password = params['Password'] @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut'] @ImageId = params['ImageId'] @InstanceName = params['InstanceName'] @HostName = params['HostName'] unless params['EnhancedService'].nil? @EnhancedService = ECMEnhancedService.new @EnhancedService.deserialize(params['EnhancedService']) end @UserData = params['UserData'] @External = params['External'] @SecurityGroupIds = params['SecurityGroupIds'] end |