Class: TencentCloud::Lighthouse::V20200324::CreateBlueprintRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::CreateBlueprintRequest
- Defined in:
- lib/v20200324/models.rb
Overview
CreateBlueprint请求参数结构体
Instance Attribute Summary collapse
-
#BlueprintName ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。.
-
#Description ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。.
-
#ForcePowerOff ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。.
-
#InstanceId ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。.
-
#Tags ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(blueprintname = nil, description = nil, instanceid = nil, forcepoweroff = nil, tags = nil) ⇒ CreateBlueprintRequest
constructor
A new instance of CreateBlueprintRequest.
Constructor Details
#initialize(blueprintname = nil, description = nil, instanceid = nil, forcepoweroff = nil, tags = nil) ⇒ CreateBlueprintRequest
Returns a new instance of CreateBlueprintRequest.
718 719 720 721 722 723 724 |
# File 'lib/v20200324/models.rb', line 718 def initialize(blueprintname=nil, description=nil, instanceid=nil, forcepoweroff=nil, =nil) @BlueprintName = blueprintname @Description = description @InstanceId = instanceid @ForcePowerOff = forcepoweroff @Tags = end |
Instance Attribute Details
#BlueprintName ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
716 717 718 |
# File 'lib/v20200324/models.rb', line 716 def BlueprintName @BlueprintName end |
#Description ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
716 717 718 |
# File 'lib/v20200324/models.rb', line 716 def Description @Description end |
#ForcePowerOff ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
716 717 718 |
# File 'lib/v20200324/models.rb', line 716 def ForcePowerOff @ForcePowerOff end |
#InstanceId ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
716 717 718 |
# File 'lib/v20200324/models.rb', line 716 def InstanceId @InstanceId end |
#Tags ⇒ Object
取值范围: True:表示关机之后制作镜像 False:表示开机状态制作镜像 默认取值:True 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
716 717 718 |
# File 'lib/v20200324/models.rb', line 716 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'lib/v20200324/models.rb', line 726 def deserialize(params) @BlueprintName = params['BlueprintName'] @Description = params['Description'] @InstanceId = params['InstanceId'] @ForcePowerOff = params['ForcePowerOff'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |