Documentation
¶
Index ¶
- Constants
- type ApplyStackRequest
- type ApplyStackResponse
- type Client
- func (c *Client) ApplyStack(request *ApplyStackRequest) (response *ApplyStackResponse, err error)
- func (c *Client) CreateStack(request *CreateStackRequest) (response *CreateStackResponse, err error)
- func (c *Client) CreateStackVersion(request *CreateStackVersionRequest) (response *CreateStackVersionResponse, err error)
- func (c *Client) DeleteStack(request *DeleteStackRequest) (response *DeleteStackResponse, err error)
- func (c *Client) DeleteStackVersion(request *DeleteStackVersionRequest) (response *DeleteStackVersionResponse, err error)
- func (c *Client) DescribeStackEvent(request *DescribeStackEventRequest) (response *DescribeStackEventResponse, err error)
- func (c *Client) DescribeStackEvents(request *DescribeStackEventsRequest) (response *DescribeStackEventsResponse, err error)
- func (c *Client) DescribeStackVersions(request *DescribeStackVersionsRequest) (response *DescribeStackVersionsResponse, err error)
- func (c *Client) DescribeStacks(request *DescribeStacksRequest) (response *DescribeStacksResponse, err error)
- func (c *Client) DestroyStack(request *DestroyStackRequest) (response *DestroyStackResponse, err error)
- func (c *Client) PlanStack(request *PlanStackRequest) (response *PlanStackResponse, err error)
- func (c *Client) UpdateStack(request *UpdateStackRequest) (response *UpdateStackResponse, err error)
- func (c *Client) UpdateStackVersion(request *UpdateStackVersionRequest) (response *UpdateStackVersionResponse, err error)
- type CreateStackRequest
- type CreateStackResponse
- type CreateStackVersionRequest
- type CreateStackVersionResponse
- type DeleteStackRequest
- type DeleteStackResponse
- type DeleteStackVersionRequest
- type DeleteStackVersionResponse
- type DescribeStackEventRequest
- type DescribeStackEventResponse
- type DescribeStackEventsRequest
- type DescribeStackEventsResponse
- type DescribeStackVersionsRequest
- type DescribeStackVersionsResponse
- type DescribeStacksRequest
- type DescribeStacksResponse
- type DestroyStackRequest
- type DestroyStackResponse
- type EventInfo
- type Filter
- type PlanStackRequest
- type PlanStackResponse
- type StackInfo
- type UpdateStackRequest
- type UpdateStackResponse
- type UpdateStackVersionRequest
- type UpdateStackVersionResponse
- type VersionInfo
Constants ¶
const APIVersion = "2020-11-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyStackRequest ¶
type ApplyStackRequest struct {
*tchttp.BaseRequest
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 待执行apply事件的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
}
func NewApplyStackRequest ¶
func NewApplyStackRequest() (request *ApplyStackRequest)
func (*ApplyStackRequest) FromJsonString ¶
func (r *ApplyStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyStackRequest) ToJsonString ¶
func (r *ApplyStackRequest) ToJsonString() string
type ApplyStackResponse ¶
type ApplyStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 执行的事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewApplyStackResponse ¶
func NewApplyStackResponse() (response *ApplyStackResponse)
func (*ApplyStackResponse) FromJsonString ¶
func (r *ApplyStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyStackResponse) ToJsonString ¶
func (r *ApplyStackResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyStack ¶
func (c *Client) ApplyStack(request *ApplyStackRequest) (response *ApplyStackResponse, err error)
本接口(ApplyStack)用于触发资源栈下某个版本的Apply事件。
- 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作 - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
func (*Client) CreateStack ¶
func (c *Client) CreateStack(request *CreateStackRequest) (response *CreateStackResponse, err error)
本接口(CreateStack)用于通过传递一个COS的terraform zip模版URL来创建一个资源栈。创建资源栈后仍需要用户调用对应的plan, apply, destory执行对应的事件。
func (*Client) CreateStackVersion ¶
func (c *Client) CreateStackVersion(request *CreateStackVersionRequest) (response *CreateStackVersionResponse, err error)
本接口(CreateStackVersion)用于给资源栈新增一个HCL模版版本,仅限COS链接,且为zip格式。
func (*Client) DeleteStack ¶
func (c *Client) DeleteStack(request *DeleteStackRequest) (response *DeleteStackResponse, err error)
本接口(DeleteStack)用于删除一个资源栈(配置、版本、事件信息)。但不会销毁资源管理的云资源。如果需要销毁资源栈管理的云资源,请调用 DestoryStack 接口销毁云资源。
func (*Client) DeleteStackVersion ¶
func (c *Client) DeleteStackVersion(request *DeleteStackVersionRequest) (response *DeleteStackVersionResponse, err error)
本接口(DeleteStackVersion)用于删除一个版本,处于PLAN_IN_PROGRESS和APPLY_IN_PROGRESS状态中的版本无法删除。
func (*Client) DescribeStackEvent ¶
func (c *Client) DescribeStackEvent(request *DescribeStackEventRequest) (response *DescribeStackEventResponse, err error)
本接口(DescribeStackEvent)用于获取单个事件详情,尤其是可以得到事件的详细控制台输出文本。
func (*Client) DescribeStackEvents ¶
func (c *Client) DescribeStackEvents(request *DescribeStackEventsRequest) (response *DescribeStackEventsResponse, err error)
本接口(DescribeStackEvents)用于查看一个或多个事件详细信息。
- 可以根据事件ID过滤感兴趣的事件 - 也可以根据版本ID,资源栈ID,事件类型,事件状态过滤事件,过滤信息详细请见过滤器Filter - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的事件
func (*Client) DescribeStackVersions ¶
func (c *Client) DescribeStackVersions(request *DescribeStackVersionsRequest) (response *DescribeStackVersionsResponse, err error)
本接口(DescribeStackVersions)用于查询一个或多个版本的详细信息。
- 可以根据版本ID查询感兴趣的版本 - 可以根据版本名字和状态来过滤版本,详见过滤器Filter - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的版本
func (*Client) DescribeStacks ¶
func (c *Client) DescribeStacks(request *DescribeStacksRequest) (response *DescribeStacksResponse, err error)
本接口(DescribeStacks)用于查询一个或多个资源栈的详细信息。
- 可以根据资源栈ID来查询感兴趣的资源栈信息 - 若参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的资源栈
func (*Client) DestroyStack ¶
func (c *Client) DestroyStack(request *DestroyStackRequest) (response *DestroyStackResponse, err error)
本接口(DestroyStack)用于删除资源栈下的某个版本所创建的资源。
func (*Client) PlanStack ¶
func (c *Client) PlanStack(request *PlanStackRequest) (response *PlanStackResponse, err error)
本接口(PlanStack)用于触发资源栈下某个版本的PLAN事件。
- 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作 - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
func (*Client) UpdateStack ¶
func (c *Client) UpdateStack(request *UpdateStackRequest) (response *UpdateStackResponse, err error)
本接口(UpdateStack)用于更新资源栈的名称和描述。
func (*Client) UpdateStackVersion ¶
func (c *Client) UpdateStackVersion(request *UpdateStackVersionRequest) (response *UpdateStackVersionResponse, err error)
本接口(UpdateStackVersion)用于更新一个版本的模版内容,名称或描述,模版仅限COS URL,且为zip格式。
type CreateStackRequest ¶
type CreateStackRequest struct {
*tchttp.BaseRequest
// 资源栈名称,不得超过60个字符
StackName *string `json:"StackName,omitempty" name:"StackName"`
// 资源栈所在地域
StackRegion *string `json:"StackRegion,omitempty" name:"StackRegion"`
// HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
TemplateUrl *string `json:"TemplateUrl,omitempty" name:"TemplateUrl"`
// 资源栈描述,不得超过200个字符
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateStackRequest ¶
func NewCreateStackRequest() (request *CreateStackRequest)
func (*CreateStackRequest) FromJsonString ¶
func (r *CreateStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStackRequest) ToJsonString ¶
func (r *CreateStackRequest) ToJsonString() string
type CreateStackResponse ¶
type CreateStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 创建得到的资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 资源栈版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStackResponse ¶
func NewCreateStackResponse() (response *CreateStackResponse)
func (*CreateStackResponse) FromJsonString ¶
func (r *CreateStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStackResponse) ToJsonString ¶
func (r *CreateStackResponse) ToJsonString() string
type CreateStackVersionRequest ¶
type CreateStackVersionRequest struct {
*tchttp.BaseRequest
// 待增加版本的资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 模板 URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
TemplateUrl *string `json:"TemplateUrl,omitempty" name:"TemplateUrl"`
// 版本名称,不得超过60个字符
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 版本描述,不得超过200个字符
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateStackVersionRequest ¶
func NewCreateStackVersionRequest() (request *CreateStackVersionRequest)
func (*CreateStackVersionRequest) FromJsonString ¶
func (r *CreateStackVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStackVersionRequest) ToJsonString ¶
func (r *CreateStackVersionRequest) ToJsonString() string
type CreateStackVersionResponse ¶
type CreateStackVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 新创建的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStackVersionResponse ¶
func NewCreateStackVersionResponse() (response *CreateStackVersionResponse)
func (*CreateStackVersionResponse) FromJsonString ¶
func (r *CreateStackVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStackVersionResponse) ToJsonString ¶
func (r *CreateStackVersionResponse) ToJsonString() string
type DeleteStackRequest ¶
type DeleteStackRequest struct {
*tchttp.BaseRequest
// 待删除的资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
}
func NewDeleteStackRequest ¶
func NewDeleteStackRequest() (request *DeleteStackRequest)
func (*DeleteStackRequest) FromJsonString ¶
func (r *DeleteStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStackRequest) ToJsonString ¶
func (r *DeleteStackRequest) ToJsonString() string
type DeleteStackResponse ¶
type DeleteStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteStackResponse ¶
func NewDeleteStackResponse() (response *DeleteStackResponse)
func (*DeleteStackResponse) FromJsonString ¶
func (r *DeleteStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStackResponse) ToJsonString ¶
func (r *DeleteStackResponse) ToJsonString() string
type DeleteStackVersionRequest ¶
type DeleteStackVersionRequest struct {
*tchttp.BaseRequest
// 待删除的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
}
func NewDeleteStackVersionRequest ¶
func NewDeleteStackVersionRequest() (request *DeleteStackVersionRequest)
func (*DeleteStackVersionRequest) FromJsonString ¶
func (r *DeleteStackVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStackVersionRequest) ToJsonString ¶
func (r *DeleteStackVersionRequest) ToJsonString() string
type DeleteStackVersionResponse ¶
type DeleteStackVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteStackVersionResponse ¶
func NewDeleteStackVersionResponse() (response *DeleteStackVersionResponse)
func (*DeleteStackVersionResponse) FromJsonString ¶
func (r *DeleteStackVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStackVersionResponse) ToJsonString ¶
func (r *DeleteStackVersionResponse) ToJsonString() string
type DescribeStackEventRequest ¶
type DescribeStackEventRequest struct {
*tchttp.BaseRequest
// 事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
}
func NewDescribeStackEventRequest ¶
func NewDescribeStackEventRequest() (request *DescribeStackEventRequest)
func (*DescribeStackEventRequest) FromJsonString ¶
func (r *DescribeStackEventRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackEventRequest) ToJsonString ¶
func (r *DescribeStackEventRequest) ToJsonString() string
type DescribeStackEventResponse ¶
type DescribeStackEventResponse struct {
*tchttp.BaseResponse
Response *struct {
// 事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 事件类型
Type *string `json:"Type,omitempty" name:"Type"`
// 事件状态
Status *string `json:"Status,omitempty" name:"Status"`
// 状态信息
EventMessage *string `json:"EventMessage,omitempty" name:"EventMessage"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 控制台输出文本
ConsoleLog *string `json:"ConsoleLog,omitempty" name:"ConsoleLog"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStackEventResponse ¶
func NewDescribeStackEventResponse() (response *DescribeStackEventResponse)
func (*DescribeStackEventResponse) FromJsonString ¶
func (r *DescribeStackEventResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackEventResponse) ToJsonString ¶
func (r *DescribeStackEventResponse) ToJsonString() string
type DescribeStackEventsRequest ¶
type DescribeStackEventsRequest struct {
*tchttp.BaseRequest
// 按照⼀个或者多个事件ID查询
EventIds []*string `json:"EventIds,omitempty" name:"EventIds" list`
// <li>**VersionId**</li>
// 按照【**版本ID**】过滤,VersionId形如 `ver-kg8hn58h`
// 类型:string
//
// <li>**StackId**</li>
// 按照【**资源栈ID**】过滤,StackId形如 `stk-hz5vn3te`
// 类型:string
//
// <li>**Type**</li>
// 按照【**事件类型**】过滤,Type 形如 plan, apply, destroy
// 类型:string
//
// <li>**Status**</li>
// 按照【**事件状态**】过滤,Status形如 queueing, running, success, failed
// 类型:string
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeStackEventsRequest ¶
func NewDescribeStackEventsRequest() (request *DescribeStackEventsRequest)
func (*DescribeStackEventsRequest) FromJsonString ¶
func (r *DescribeStackEventsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackEventsRequest) ToJsonString ¶
func (r *DescribeStackEventsRequest) ToJsonString() string
type DescribeStackEventsResponse ¶
type DescribeStackEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 符合条件的事件数量
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 事件详细信息列表
Events []*EventInfo `json:"Events,omitempty" name:"Events" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStackEventsResponse ¶
func NewDescribeStackEventsResponse() (response *DescribeStackEventsResponse)
func (*DescribeStackEventsResponse) FromJsonString ¶
func (r *DescribeStackEventsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackEventsResponse) ToJsonString ¶
func (r *DescribeStackEventsResponse) ToJsonString() string
type DescribeStackVersionsRequest ¶
type DescribeStackVersionsRequest struct {
*tchttp.BaseRequest
// 按照⼀个或者多个版本ID查询
VersionIds []*string `json:"VersionIds,omitempty" name:"VersionIds" list`
// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// <li>**Name**</li>
// 按照【**版本名称**】进行过滤
// 类型:string
//
// <li>**Status**</li>
// 按照【**版本状态**】过滤,形如`VERSION_EDITING`,`PLAN_IN_PROGRESS`等
// 类型:string
//
// <li>**StackId**</li>
// 按照版本所属的【**资源栈ID**】进行过滤,形如`stk-xxxxxx`
// 类型:string
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeStackVersionsRequest ¶
func NewDescribeStackVersionsRequest() (request *DescribeStackVersionsRequest)
func (*DescribeStackVersionsRequest) FromJsonString ¶
func (r *DescribeStackVersionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackVersionsRequest) ToJsonString ¶
func (r *DescribeStackVersionsRequest) ToJsonString() string
type DescribeStackVersionsResponse ¶
type DescribeStackVersionsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 符合条件的版本数量
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 版本详细信息列表
Versions []*VersionInfo `json:"Versions,omitempty" name:"Versions" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStackVersionsResponse ¶
func NewDescribeStackVersionsResponse() (response *DescribeStackVersionsResponse)
func (*DescribeStackVersionsResponse) FromJsonString ¶
func (r *DescribeStackVersionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStackVersionsResponse) ToJsonString ¶
func (r *DescribeStackVersionsResponse) ToJsonString() string
type DescribeStacksRequest ¶
type DescribeStacksRequest struct {
*tchttp.BaseRequest
// 按照⼀个或者多个资源栈ID查询
StackIds []*string `json:"StackIds,omitempty" name:"StackIds" list`
// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeStacksRequest ¶
func NewDescribeStacksRequest() (request *DescribeStacksRequest)
func (*DescribeStacksRequest) FromJsonString ¶
func (r *DescribeStacksRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStacksRequest) ToJsonString ¶
func (r *DescribeStacksRequest) ToJsonString() string
type DescribeStacksResponse ¶
type DescribeStacksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 符合条件的资源栈数量
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 资源栈详细信息列表
Stacks []*StackInfo `json:"Stacks,omitempty" name:"Stacks" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStacksResponse ¶
func NewDescribeStacksResponse() (response *DescribeStacksResponse)
func (*DescribeStacksResponse) FromJsonString ¶
func (r *DescribeStacksResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStacksResponse) ToJsonString ¶
func (r *DescribeStacksResponse) ToJsonString() string
type DestroyStackRequest ¶
type DestroyStackRequest struct {
*tchttp.BaseRequest
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 待执行destroy事件的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
}
func NewDestroyStackRequest ¶
func NewDestroyStackRequest() (request *DestroyStackRequest)
func (*DestroyStackRequest) FromJsonString ¶
func (r *DestroyStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyStackRequest) ToJsonString ¶
func (r *DestroyStackRequest) ToJsonString() string
type DestroyStackResponse ¶
type DestroyStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDestroyStackResponse ¶
func NewDestroyStackResponse() (response *DestroyStackResponse)
func (*DestroyStackResponse) FromJsonString ¶
func (r *DestroyStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyStackResponse) ToJsonString ¶
func (r *DestroyStackResponse) ToJsonString() string
type EventInfo ¶
type EventInfo struct {
// 事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 事件类型
Type *string `json:"Type,omitempty" name:"Type"`
// 版本状态
Status *string `json:"Status,omitempty" name:"Status"`
// 状态信息
Message *string `json:"Message,omitempty" name:"Message"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}
type PlanStackRequest ¶
type PlanStackRequest struct {
*tchttp.BaseRequest
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 待执行plan事件的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
}
func NewPlanStackRequest ¶
func NewPlanStackRequest() (request *PlanStackRequest)
func (*PlanStackRequest) FromJsonString ¶
func (r *PlanStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PlanStackRequest) ToJsonString ¶
func (r *PlanStackRequest) ToJsonString() string
type PlanStackResponse ¶
type PlanStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 执行的事件ID
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewPlanStackResponse ¶
func NewPlanStackResponse() (response *PlanStackResponse)
func (*PlanStackResponse) FromJsonString ¶
func (r *PlanStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PlanStackResponse) ToJsonString ¶
func (r *PlanStackResponse) ToJsonString() string
type StackInfo ¶
type StackInfo struct {
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 资源栈名称
StackName *string `json:"StackName,omitempty" name:"StackName"`
// 资源栈描述
Description *string `json:"Description,omitempty" name:"Description"`
// 所处地域
Region *string `json:"Region,omitempty" name:"Region"`
// 资源栈状态
Status *string `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}
type UpdateStackRequest ¶
type UpdateStackRequest struct {
*tchttp.BaseRequest
// 待更新的资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 资源栈名称,不得超过60个字符
StackName *string `json:"StackName,omitempty" name:"StackName"`
// 资源栈描述,不得超过200个字符
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewUpdateStackRequest ¶
func NewUpdateStackRequest() (request *UpdateStackRequest)
func (*UpdateStackRequest) FromJsonString ¶
func (r *UpdateStackRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateStackRequest) ToJsonString ¶
func (r *UpdateStackRequest) ToJsonString() string
type UpdateStackResponse ¶
type UpdateStackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateStackResponse ¶
func NewUpdateStackResponse() (response *UpdateStackResponse)
func (*UpdateStackResponse) FromJsonString ¶
func (r *UpdateStackResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateStackResponse) ToJsonString ¶
func (r *UpdateStackResponse) ToJsonString() string
type UpdateStackVersionRequest ¶
type UpdateStackVersionRequest struct {
*tchttp.BaseRequest
// 待更新的版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 模板 URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
TemplateUrl *string `json:"TemplateUrl,omitempty" name:"TemplateUrl"`
// 版本名称,不得超过60个字符
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 版本描述,不得超过200个字符
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewUpdateStackVersionRequest ¶
func NewUpdateStackVersionRequest() (request *UpdateStackVersionRequest)
func (*UpdateStackVersionRequest) FromJsonString ¶
func (r *UpdateStackVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateStackVersionRequest) ToJsonString ¶
func (r *UpdateStackVersionRequest) ToJsonString() string
type UpdateStackVersionResponse ¶
type UpdateStackVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateStackVersionResponse ¶
func NewUpdateStackVersionResponse() (response *UpdateStackVersionResponse)
func (*UpdateStackVersionResponse) FromJsonString ¶
func (r *UpdateStackVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateStackVersionResponse) ToJsonString ¶
func (r *UpdateStackVersionResponse) ToJsonString() string
type VersionInfo ¶
type VersionInfo struct {
// 版本ID
VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
// 版本名称
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 版本描述
Description *string `json:"Description,omitempty" name:"Description"`
// 资源栈ID
StackId *string `json:"StackId,omitempty" name:"StackId"`
// 版本状态
Status *string `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}