Documentation ¶
Index ¶
- Constants
- type Client
- func NewClient(accessKeyId, accessKeySecret string) *Client
- func NewClientWithEndpoint(endpoint string, accessKeyId, accessKeySecret string) *Client
- func NewClientWithRegion(endpoint string, accessKeyId, accessKeySecret string, regionID common.Region) *Client
- func NewROSClient(accessKeyId, accessKeySecret string, regionID common.Region) *Client
- func (client *Client) CreateStack(args *CreateStackRequest) (*CreateStackResponse, error)
- func (client *Client) DeleteStack(req *DeleteStackRequest) (*DeleteStackResponse, error)
- func (client *Client) GetStack(req *GetStackRequest) (*GetStackResponse, error)
- func (client *Client) GetStackResource(req *GetStackResourceRequest) (*GetStackResourceResponse, error)
- func (client *Client) ListStackEvents(args *ListStackEventsRequest) (*ListStackEventsResponse, error)
- func (client *Client) ListStackResources(req *ListStackResourcesRequest) (*ListStackResourcesResponse, error)
- func (client *Client) ListStacks(req *ListStacksRequest) (*ListStacksResponse, error)
- func (client *Client) UpdateStack(req *UpdateStackRequest) (*UpdateStackResponse, error)
- type CreateStackRequest
- type CreateStackResponse
- type DeleteStackRequest
- type DeleteStackResponse
- type DeletionProtection
- type Event
- type GetStackRequest
- type GetStackResourceRequest
- type GetStackResourceResponse
- type GetStackResponse
- type ListStackEventsRequest
- type ListStackEventsResponse
- type ListStackResourcesRequest
- type ListStackResourcesResponse
- type ListStacksRequest
- type ListStacksResponse
- type Output
- type Parameter
- type Resource
- type ResourceAttribute
- type Stack
- type Tag
- type UpdateStackRequest
- type UpdateStackResponse
Constants ¶
View Source
const ( // ROSDefaultEndpoint is the default API endpoint of ESS services ROSDefaultEndpoint = "https://ros.aliyuncs.com" ROSAPIVersion = "2019-09-10" ROSServiceCode = "ros" )
View Source
const ( DeletionProtectionEnabled = DeletionProtection("Enabled") DeletionProtectionDisabled = DeletionProtection("Disabled") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientWithEndpoint ¶
func NewClientWithRegion ¶
func NewROSClient ¶
func (*Client) CreateStack ¶
func (client *Client) CreateStack(args *CreateStackRequest) (*CreateStackResponse, error)
func (*Client) DeleteStack ¶
func (client *Client) DeleteStack(req *DeleteStackRequest) (*DeleteStackResponse, error)
func (*Client) GetStack ¶
func (client *Client) GetStack(req *GetStackRequest) (*GetStackResponse, error)
func (*Client) GetStackResource ¶
func (client *Client) GetStackResource(req *GetStackResourceRequest) (*GetStackResourceResponse, error)
func (*Client) ListStackEvents ¶
func (client *Client) ListStackEvents(args *ListStackEventsRequest) (*ListStackEventsResponse, error)
func (*Client) ListStackResources ¶
func (client *Client) ListStackResources(req *ListStackResourcesRequest) (*ListStackResourcesResponse, error)
func (*Client) ListStacks ¶
func (client *Client) ListStacks(req *ListStacksRequest) (*ListStacksResponse, error)
func (*Client) UpdateStack ¶
func (client *Client) UpdateStack(req *UpdateStackRequest) (*UpdateStackResponse, error)
type CreateStackRequest ¶
type CreateStackRequest struct { RegionId common.Region StackName string DisableRollback bool TemplateBody string TemplateURL string Parameters []Parameter StackPolicyURL string TimeoutInMinutes int StackPolicyBody string ClientToken string NotificationURLs []string DeletionProtection DeletionProtection RamRoleName string }
https://help.aliyun.com/document_detail/28910.html?spm=5176.doc50083.6.580.b5wkQr
type CreateStackResponse ¶
type DeleteStackRequest ¶
type DeleteStackRequest struct { RegionId common.Region StackId string RetainAllResources bool RetainResources []string RamRoleName string }
https://help.aliyun.com/document_detail/28911.html?spm=5176.doc28910.6.581.etoi2Z
type DeleteStackResponse ¶
type DeletionProtection ¶
type DeletionProtection string
type GetStackRequest ¶
type GetStackResourceRequest ¶
type GetStackResourceResponse ¶
type GetStackResourceResponse struct { Status string Description string LogicalResourceId string StackId string StackName string StatusReason string PhysicalResourceId string ResourceType string CreateTime string Metadata map[string]string UpdateTime string ResourceAttributes []ResourceAttribute RequestId string DriftDetectionTime string ResourceDriftStatus string }
type GetStackResponse ¶
type GetStackResponse struct { CreateTime string Description string DisableRollback bool NotificationURLs []string Outputs []Output ParentStackId string RegionId common.Region Status string StackId string StackName string Parameters []Parameter UpdateTime string StatusReason string TemplateDescription string TimeoutInMinutes int RequestId string DeletionProtection DeletionProtection DriftDetectionTime string RamRoleName string RootStackId string StackDriftStatus string StackType string }
type ListStackEventsRequest ¶
type ListStackEventsResponse ¶
type ListStacksRequest ¶
type ListStacksResponse ¶
type ListStacksResponse struct { common.PaginationResult common.Response Stacks []Stack }
type ResourceAttribute ¶
type UpdateStackRequest ¶
type UpdateStackRequest struct { Parameters []Parameter RegionId string StackId string ClientToken string StackPolicyDuringUpdateBody string TimeoutInMinutes int TemplateBody string StackPolicyURL string StackPolicyDuringUpdateURL string StackPolicyBody string UsePreviousParameters bool DisableRollback bool TemplateURL string RamRoleName string ReplacementOption string }
type UpdateStackResponse ¶
Click to show internal directories.
Click to hide internal directories.