Class: TencentCloud::Tic::V20201117::CreateStackRequest

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

Overview

CreateStack请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stackname = nil, stackregion = nil, templateurl = nil, description = nil) ⇒ CreateStackRequest

Returns a new instance of CreateStackRequest.



73
74
75
76
77
78
# File 'lib/v20201117/models.rb', line 73

def initialize(stackname=nil, stackregion=nil, templateurl=nil, description=nil)
  @StackName = stackname
  @StackRegion = stackregion
  @TemplateUrl = templateurl
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • StackName:

    资源栈名称,不得超过60个字符

  • StackRegion:

    资源栈所在地域

  • TemplateUrl:

    HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式

  • Description:

    资源栈描述,不得超过200个字符



71
72
73
# File 'lib/v20201117/models.rb', line 71

def Description
  @Description
end

#StackNameObject

Parameters:

  • StackName:

    资源栈名称,不得超过60个字符

  • StackRegion:

    资源栈所在地域

  • TemplateUrl:

    HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式

  • Description:

    资源栈描述,不得超过200个字符



71
72
73
# File 'lib/v20201117/models.rb', line 71

def StackName
  @StackName
end

#StackRegionObject

Parameters:

  • StackName:

    资源栈名称,不得超过60个字符

  • StackRegion:

    资源栈所在地域

  • TemplateUrl:

    HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式

  • Description:

    资源栈描述,不得超过200个字符



71
72
73
# File 'lib/v20201117/models.rb', line 71

def StackRegion
  @StackRegion
end

#TemplateUrlObject

Parameters:

  • StackName:

    资源栈名称,不得超过60个字符

  • StackRegion:

    资源栈所在地域

  • TemplateUrl:

    HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式

  • Description:

    资源栈描述,不得超过200个字符



71
72
73
# File 'lib/v20201117/models.rb', line 71

def TemplateUrl
  @TemplateUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



80
81
82
83
84
85
# File 'lib/v20201117/models.rb', line 80

def deserialize(params)
  @StackName = params['StackName']
  @StackRegion = params['StackRegion']
  @TemplateUrl = params['TemplateUrl']
  @Description = params['Description']
end