client

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CreateApplication

func (client *Client) CreateApplication(request *CreateApplicationRequest) (_result *CreateApplicationResponse, _err error)

func (*Client) CreateApplicationWithOptions

func (client *Client) CreateApplicationWithOptions(tmpReq *CreateApplicationRequest, runtime *util.RuntimeOptions) (_result *CreateApplicationResponse, _err error)

func (*Client) DeleteApplication

func (client *Client) DeleteApplication(request *DeleteApplicationRequest) (_result *DeleteApplicationResponse, _err error)

func (*Client) DeleteApplicationWithOptions

func (client *Client) DeleteApplicationWithOptions(request *DeleteApplicationRequest, runtime *util.RuntimeOptions) (_result *DeleteApplicationResponse, _err error)

func (*Client) DeployApplication

func (client *Client) DeployApplication(request *DeployApplicationRequest) (_result *DeployApplicationResponse, _err error)

func (*Client) DeployApplicationWithOptions

func (client *Client) DeployApplicationWithOptions(request *DeployApplicationRequest, runtime *util.RuntimeOptions) (_result *DeployApplicationResponse, _err error)

func (*Client) GetApplication

func (client *Client) GetApplication(request *GetApplicationRequest) (_result *GetApplicationResponse, _err error)

func (*Client) GetApplicationWithOptions

func (client *Client) GetApplicationWithOptions(request *GetApplicationRequest, runtime *util.RuntimeOptions) (_result *GetApplicationResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetTemplate

func (client *Client) GetTemplate(request *GetTemplateRequest) (_result *GetTemplateResponse, _err error)

func (*Client) GetTemplateWithOptions

func (client *Client) GetTemplateWithOptions(request *GetTemplateRequest, runtime *util.RuntimeOptions) (_result *GetTemplateResponse, _err error)

func (*Client) GetToken

func (client *Client) GetToken(request *GetTokenRequest) (_result *GetTokenResponse, _err error)

func (*Client) GetTokenWithOptions

func (client *Client) GetTokenWithOptions(request *GetTokenRequest, runtime *util.RuntimeOptions) (_result *GetTokenResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListApplication

func (client *Client) ListApplication(request *ListApplicationRequest) (_result *ListApplicationResponse, _err error)

func (*Client) ListApplicationWithOptions

func (client *Client) ListApplicationWithOptions(request *ListApplicationRequest, runtime *util.RuntimeOptions) (_result *ListApplicationResponse, _err error)

func (*Client) ListTemplate

func (client *Client) ListTemplate(request *ListTemplateRequest) (_result *ListTemplateResponse, _err error)

func (*Client) ListTemplateWithOptions

func (client *Client) ListTemplateWithOptions(request *ListTemplateRequest, runtime *util.RuntimeOptions) (_result *ListTemplateResponse, _err error)

func (*Client) ReleaseApplication

func (client *Client) ReleaseApplication(request *ReleaseApplicationRequest) (_result *ReleaseApplicationResponse, _err error)

func (*Client) ReleaseApplicationWithOptions

func (client *Client) ReleaseApplicationWithOptions(request *ReleaseApplicationRequest, runtime *util.RuntimeOptions) (_result *ReleaseApplicationResponse, _err error)

func (*Client) ValidateApplication

func (client *Client) ValidateApplication(request *ValidateApplicationRequest) (_result *ValidateApplicationResponse, _err error)

func (*Client) ValidateApplicationWithOptions

func (client *Client) ValidateApplicationWithOptions(request *ValidateApplicationRequest, runtime *util.RuntimeOptions) (_result *ValidateApplicationResponse, _err error)

func (*Client) ValuateApplication

func (client *Client) ValuateApplication(request *ValuateApplicationRequest) (_result *ValuateApplicationResponse, _err error)

func (*Client) ValuateApplicationWithOptions

func (client *Client) ValuateApplicationWithOptions(request *ValuateApplicationRequest, runtime *util.RuntimeOptions) (_result *ValuateApplicationResponse, _err error)

type CreateApplicationRequest

type CreateApplicationRequest struct {
	// 区域ID
	AreaId *string `json:"AreaId,omitempty" xml:"AreaId,omitempty"`
	// 幂等标记
	ClientToken   *string                `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	Configuration map[string]interface{} `json:"Configuration,omitempty" xml:"Configuration,omitempty"`
	// 待替换实例列表
	Instances []*CreateApplicationRequestInstances `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// 新建应用名
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 应用所属资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 模板ID
	TemplateId *string                `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	Variables  map[string]interface{} `json:"Variables,omitempty" xml:"Variables,omitempty"`
}

func (CreateApplicationRequest) GoString

func (s CreateApplicationRequest) GoString() string

func (*CreateApplicationRequest) SetAreaId

func (*CreateApplicationRequest) SetClientToken

func (*CreateApplicationRequest) SetConfiguration added in v1.0.5

func (s *CreateApplicationRequest) SetConfiguration(v map[string]interface{}) *CreateApplicationRequest

func (*CreateApplicationRequest) SetInstances

func (*CreateApplicationRequest) SetName

func (*CreateApplicationRequest) SetResourceGroupId

func (s *CreateApplicationRequest) SetResourceGroupId(v string) *CreateApplicationRequest

func (*CreateApplicationRequest) SetTemplateId

func (*CreateApplicationRequest) SetVariables added in v1.0.3

func (s *CreateApplicationRequest) SetVariables(v map[string]interface{}) *CreateApplicationRequest

func (CreateApplicationRequest) String

func (s CreateApplicationRequest) String() string

type CreateApplicationRequestInstances

type CreateApplicationRequestInstances struct {
	// 实例ID
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// 图上实例名
	NodeName *string `json:"NodeName,omitempty" xml:"NodeName,omitempty"`
	// 实例类型
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
}

func (CreateApplicationRequestInstances) GoString

func (*CreateApplicationRequestInstances) SetId

func (*CreateApplicationRequestInstances) SetNodeName

func (*CreateApplicationRequestInstances) SetNodeType

func (CreateApplicationRequestInstances) String

type CreateApplicationResponse

type CreateApplicationResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateApplicationResponse) GoString

func (s CreateApplicationResponse) GoString() string

func (*CreateApplicationResponse) SetBody

func (*CreateApplicationResponse) SetHeaders

func (*CreateApplicationResponse) SetStatusCode

func (CreateApplicationResponse) String

func (s CreateApplicationResponse) String() string

type CreateApplicationResponseBody

type CreateApplicationResponseBody struct {
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// 应用ID
	Data      *string `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateApplicationResponseBody) GoString

func (*CreateApplicationResponseBody) SetCode

func (*CreateApplicationResponseBody) SetData

func (*CreateApplicationResponseBody) SetMessage

func (*CreateApplicationResponseBody) SetRequestId

func (CreateApplicationResponseBody) String

type CreateApplicationShrinkRequest

type CreateApplicationShrinkRequest struct {
	// 区域ID
	AreaId *string `json:"AreaId,omitempty" xml:"AreaId,omitempty"`
	// 幂等标记
	ClientToken         *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	ConfigurationShrink *string `json:"Configuration,omitempty" xml:"Configuration,omitempty"`
	// 待替换实例列表
	InstancesShrink *string `json:"Instances,omitempty" xml:"Instances,omitempty"`
	// 新建应用名
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 应用所属资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 模板ID
	TemplateId      *string `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	VariablesShrink *string `json:"Variables,omitempty" xml:"Variables,omitempty"`
}

func (CreateApplicationShrinkRequest) GoString

func (*CreateApplicationShrinkRequest) SetAreaId

func (*CreateApplicationShrinkRequest) SetClientToken

func (*CreateApplicationShrinkRequest) SetConfigurationShrink added in v1.0.5

func (*CreateApplicationShrinkRequest) SetInstancesShrink

func (*CreateApplicationShrinkRequest) SetName

func (*CreateApplicationShrinkRequest) SetResourceGroupId

func (*CreateApplicationShrinkRequest) SetTemplateId

func (*CreateApplicationShrinkRequest) SetVariablesShrink added in v1.0.5

func (CreateApplicationShrinkRequest) String

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	ApplicationId   *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DeleteApplicationRequest) GoString

func (s DeleteApplicationRequest) GoString() string

func (*DeleteApplicationRequest) SetApplicationId

func (*DeleteApplicationRequest) SetResourceGroupId

func (s *DeleteApplicationRequest) SetResourceGroupId(v string) *DeleteApplicationRequest

func (DeleteApplicationRequest) String

func (s DeleteApplicationRequest) String() string

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteApplicationResponse) GoString

func (s DeleteApplicationResponse) GoString() string

func (*DeleteApplicationResponse) SetBody

func (*DeleteApplicationResponse) SetHeaders

func (*DeleteApplicationResponse) SetStatusCode

func (DeleteApplicationResponse) String

func (s DeleteApplicationResponse) String() string

type DeleteApplicationResponseBody

type DeleteApplicationResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteApplicationResponseBody) GoString

func (*DeleteApplicationResponseBody) SetCode

func (*DeleteApplicationResponseBody) SetMessage

func (*DeleteApplicationResponseBody) SetRequestId

func (DeleteApplicationResponseBody) String

type DeployApplicationRequest

type DeployApplicationRequest struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	// 资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DeployApplicationRequest) GoString

func (s DeployApplicationRequest) GoString() string

func (*DeployApplicationRequest) SetApplicationId

func (*DeployApplicationRequest) SetResourceGroupId

func (s *DeployApplicationRequest) SetResourceGroupId(v string) *DeployApplicationRequest

func (DeployApplicationRequest) String

func (s DeployApplicationRequest) String() string

type DeployApplicationResponse

type DeployApplicationResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeployApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeployApplicationResponse) GoString

func (s DeployApplicationResponse) GoString() string

func (*DeployApplicationResponse) SetBody

func (*DeployApplicationResponse) SetHeaders

func (*DeployApplicationResponse) SetStatusCode

func (DeployApplicationResponse) String

func (s DeployApplicationResponse) String() string

type DeployApplicationResponseBody

type DeployApplicationResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *int64  `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeployApplicationResponseBody) GoString

func (*DeployApplicationResponseBody) SetCode

func (*DeployApplicationResponseBody) SetData

func (*DeployApplicationResponseBody) SetMessage

func (*DeployApplicationResponseBody) SetRequestId

func (DeployApplicationResponseBody) String

type GetApplicationRequest

type GetApplicationRequest struct {
	ApplicationId   *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (GetApplicationRequest) GoString

func (s GetApplicationRequest) GoString() string

func (*GetApplicationRequest) SetApplicationId

func (s *GetApplicationRequest) SetApplicationId(v string) *GetApplicationRequest

func (*GetApplicationRequest) SetResourceGroupId

func (s *GetApplicationRequest) SetResourceGroupId(v string) *GetApplicationRequest

func (GetApplicationRequest) String

func (s GetApplicationRequest) String() string

type GetApplicationResponse

type GetApplicationResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetApplicationResponse) GoString

func (s GetApplicationResponse) GoString() string

func (*GetApplicationResponse) SetBody

func (*GetApplicationResponse) SetHeaders

func (*GetApplicationResponse) SetStatusCode

func (GetApplicationResponse) String

func (s GetApplicationResponse) String() string

type GetApplicationResponseBody

type GetApplicationResponseBody struct {
	Code *int32                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetApplicationResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// 请求失败原因
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetApplicationResponseBody) GoString

func (s GetApplicationResponseBody) GoString() string

func (*GetApplicationResponseBody) SetCode

func (*GetApplicationResponseBody) SetData

func (*GetApplicationResponseBody) SetMessage

func (*GetApplicationResponseBody) SetRequestId

func (GetApplicationResponseBody) String

type GetApplicationResponseBodyData

type GetApplicationResponseBodyData struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	// 校验结果列表
	Checklist []*GetApplicationResponseBodyDataChecklist `json:"Checklist,omitempty" xml:"Checklist,omitempty" type:"Repeated"`
	// 应用创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 应用描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// 失败原因
	Error *string `json:"Error,omitempty" xml:"Error,omitempty"`
	// 数据库中图片地址
	ImageURL *string `json:"ImageURL,omitempty" xml:"ImageURL,omitempty"`
	// 应用名
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 计费结果列表
	PriceList []*GetApplicationResponseBodyDataPriceList `json:"PriceList,omitempty" xml:"PriceList,omitempty" type:"Repeated"`
	// 应用所属资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 资源列表
	ResourceList []*GetApplicationResponseBodyDataResourceList `json:"ResourceList,omitempty" xml:"ResourceList,omitempty" type:"Repeated"`
	// 应用状态
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// 应用关联模板ID
	TemplateId *string `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// 应用topo地址
	TopoURL *string `json:"TopoURL,omitempty" xml:"TopoURL,omitempty"`
}

func (GetApplicationResponseBodyData) GoString

func (*GetApplicationResponseBodyData) SetApplicationId

func (*GetApplicationResponseBodyData) SetCreateTime

func (*GetApplicationResponseBodyData) SetDescription

func (*GetApplicationResponseBodyData) SetError

func (*GetApplicationResponseBodyData) SetImageURL

func (*GetApplicationResponseBodyData) SetName

func (*GetApplicationResponseBodyData) SetResourceGroupId

func (*GetApplicationResponseBodyData) SetStatus

func (*GetApplicationResponseBodyData) SetTemplateId

func (*GetApplicationResponseBodyData) SetTopoURL

func (GetApplicationResponseBodyData) String

type GetApplicationResponseBodyDataChecklist

type GetApplicationResponseBodyDataChecklist struct {
	// 资源标记
	Lifecycle *string `json:"Lifecycle,omitempty" xml:"Lifecycle,omitempty"`
	// 区域
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// 失败原因
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// 产品code
	ResourceCode *string `json:"ResourceCode,omitempty" xml:"ResourceCode,omitempty"`
	// 实例名
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// 校验结果
	Result *string `json:"Result,omitempty" xml:"Result,omitempty"`
	// 规格
	Specification *string `json:"Specification,omitempty" xml:"Specification,omitempty"`
}

func (GetApplicationResponseBodyDataChecklist) GoString

func (*GetApplicationResponseBodyDataChecklist) SetLifecycle

func (*GetApplicationResponseBodyDataChecklist) SetRegion

func (*GetApplicationResponseBodyDataChecklist) SetRemark

func (*GetApplicationResponseBodyDataChecklist) SetResourceCode

func (*GetApplicationResponseBodyDataChecklist) SetResourceName

func (*GetApplicationResponseBodyDataChecklist) SetResult

func (*GetApplicationResponseBodyDataChecklist) SetSpecification

func (GetApplicationResponseBodyDataChecklist) String

type GetApplicationResponseBodyDataPriceList

type GetApplicationResponseBodyDataPriceList struct {
	// 支付类型
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// 数量
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// 实例名
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// 资源标记
	Lifecycle *string `json:"Lifecycle,omitempty" xml:"Lifecycle,omitempty"`
	// 单价
	OnePrice *float32 `json:"OnePrice,omitempty" xml:"OnePrice,omitempty"`
	// 原价
	OriginalPrice *float32 `json:"OriginalPrice,omitempty" xml:"OriginalPrice,omitempty"`
	// 时长
	Period *float32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// 总价
	Price *float32 `json:"Price,omitempty" xml:"Price,omitempty"`
	// 单位
	PriceUnit *string `json:"PriceUnit,omitempty" xml:"PriceUnit,omitempty"`
	// 区域
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// 产品code
	ResourceCode *string `json:"ResourceCode,omitempty" xml:"ResourceCode,omitempty"`
	// 规格
	Specification *string `json:"Specification,omitempty" xml:"Specification,omitempty"`
}

func (GetApplicationResponseBodyDataPriceList) GoString

func (*GetApplicationResponseBodyDataPriceList) SetChargeType

func (*GetApplicationResponseBodyDataPriceList) SetCount

func (*GetApplicationResponseBodyDataPriceList) SetInstanceName

func (*GetApplicationResponseBodyDataPriceList) SetLifecycle

func (*GetApplicationResponseBodyDataPriceList) SetOnePrice

func (*GetApplicationResponseBodyDataPriceList) SetOriginalPrice

func (*GetApplicationResponseBodyDataPriceList) SetPeriod

func (*GetApplicationResponseBodyDataPriceList) SetPrice

func (*GetApplicationResponseBodyDataPriceList) SetPriceUnit

func (*GetApplicationResponseBodyDataPriceList) SetRegion

func (*GetApplicationResponseBodyDataPriceList) SetRemark added in v1.0.7

func (*GetApplicationResponseBodyDataPriceList) SetResourceCode

func (*GetApplicationResponseBodyDataPriceList) SetSpecification

func (GetApplicationResponseBodyDataPriceList) String

type GetApplicationResponseBodyDataResourceList

type GetApplicationResponseBodyDataResourceList struct {
	// 支付类型
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// 资源标记
	Lifecycle *string `json:"Lifecycle,omitempty" xml:"Lifecycle,omitempty"`
	// 部署结果
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// 产品code
	ResourceCode *string `json:"ResourceCode,omitempty" xml:"ResourceCode,omitempty"`
	// 实例ID
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// 实例名称
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// 资源类型
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// 资源部署结果
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetApplicationResponseBodyDataResourceList) GoString

func (*GetApplicationResponseBodyDataResourceList) SetChargeType

func (*GetApplicationResponseBodyDataResourceList) SetLifecycle

func (*GetApplicationResponseBodyDataResourceList) SetRemark

func (*GetApplicationResponseBodyDataResourceList) SetResourceCode

func (*GetApplicationResponseBodyDataResourceList) SetResourceId

func (*GetApplicationResponseBodyDataResourceList) SetResourceName

func (*GetApplicationResponseBodyDataResourceList) SetResourceType

func (*GetApplicationResponseBodyDataResourceList) SetStatus

func (GetApplicationResponseBodyDataResourceList) String

type GetTemplateRequest

type GetTemplateRequest struct {
	Region          *string `json:"Region,omitempty" xml:"Region,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	TemplateId      *string `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (GetTemplateRequest) GoString

func (s GetTemplateRequest) GoString() string

func (*GetTemplateRequest) SetRegion

func (s *GetTemplateRequest) SetRegion(v string) *GetTemplateRequest

func (*GetTemplateRequest) SetResourceGroupId

func (s *GetTemplateRequest) SetResourceGroupId(v string) *GetTemplateRequest

func (*GetTemplateRequest) SetTemplateId

func (s *GetTemplateRequest) SetTemplateId(v string) *GetTemplateRequest

func (GetTemplateRequest) String

func (s GetTemplateRequest) String() string

type GetTemplateResponse

type GetTemplateResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTemplateResponse) GoString

func (s GetTemplateResponse) GoString() string

func (*GetTemplateResponse) SetBody

func (*GetTemplateResponse) SetHeaders

func (s *GetTemplateResponse) SetHeaders(v map[string]*string) *GetTemplateResponse

func (*GetTemplateResponse) SetStatusCode

func (s *GetTemplateResponse) SetStatusCode(v int32) *GetTemplateResponse

func (GetTemplateResponse) String

func (s GetTemplateResponse) String() string

type GetTemplateResponseBody

type GetTemplateResponseBody struct {
	Code      *int32                       `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *GetTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                      `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                      `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTemplateResponseBody) GoString

func (s GetTemplateResponseBody) GoString() string

func (*GetTemplateResponseBody) SetCode

func (*GetTemplateResponseBody) SetData

func (*GetTemplateResponseBody) SetMessage

func (*GetTemplateResponseBody) SetRequestId

func (GetTemplateResponseBody) String

func (s GetTemplateResponseBody) String() string

type GetTemplateResponseBodyData

type GetTemplateResponseBodyData struct {
	CreateTime      *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	Description     *string `json:"Description,omitempty" xml:"Description,omitempty"`
	ImageURL        *string `json:"ImageURL,omitempty" xml:"ImageURL,omitempty"`
	Name            *string `json:"Name,omitempty" xml:"Name,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	TemplateId      *string `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	TopoURL         *string `json:"TopoURL,omitempty" xml:"TopoURL,omitempty"`
}

func (GetTemplateResponseBodyData) GoString

func (s GetTemplateResponseBodyData) GoString() string

func (*GetTemplateResponseBodyData) SetCreateTime

func (*GetTemplateResponseBodyData) SetDescription

func (*GetTemplateResponseBodyData) SetImageURL

func (*GetTemplateResponseBodyData) SetName

func (*GetTemplateResponseBodyData) SetResourceGroupId

func (*GetTemplateResponseBodyData) SetTemplateId

func (*GetTemplateResponseBodyData) SetTopoURL

func (GetTemplateResponseBodyData) String

type GetTokenRequest

type GetTokenRequest struct {
	// 资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (GetTokenRequest) GoString

func (s GetTokenRequest) GoString() string

func (*GetTokenRequest) SetResourceGroupId

func (s *GetTokenRequest) SetResourceGroupId(v string) *GetTokenRequest

func (GetTokenRequest) String

func (s GetTokenRequest) String() string

type GetTokenResponse

type GetTokenResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetTokenResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTokenResponse) GoString

func (s GetTokenResponse) GoString() string

func (*GetTokenResponse) SetBody

func (*GetTokenResponse) SetHeaders

func (s *GetTokenResponse) SetHeaders(v map[string]*string) *GetTokenResponse

func (*GetTokenResponse) SetStatusCode

func (s *GetTokenResponse) SetStatusCode(v int32) *GetTokenResponse

func (GetTokenResponse) String

func (s GetTokenResponse) String() string

type GetTokenResponseBody

type GetTokenResponseBody struct {
	Code      *int32                    `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *GetTokenResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                   `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                   `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTokenResponseBody) GoString

func (s GetTokenResponseBody) GoString() string

func (*GetTokenResponseBody) SetCode

func (*GetTokenResponseBody) SetData

func (*GetTokenResponseBody) SetMessage

func (*GetTokenResponseBody) SetRequestId

func (s *GetTokenResponseBody) SetRequestId(v string) *GetTokenResponseBody

func (GetTokenResponseBody) String

func (s GetTokenResponseBody) String() string

type GetTokenResponseBodyData

type GetTokenResponseBodyData struct {
	// oss访问access key id
	AccessKeyId *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	// oss访问access key secret id
	AccessKeySecret *string `json:"AccessKeySecret,omitempty" xml:"AccessKeySecret,omitempty"`
	// oss文件保存bucket位置
	Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"`
	// oss的endpoint
	Endpoint *string `json:"Endpoint,omitempty" xml:"Endpoint,omitempty"`
	// oss访问token
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// oss快照保存bucket位置
	SnapshotBucket *string `json:"SnapshotBucket,omitempty" xml:"SnapshotBucket,omitempty"`
}

func (GetTokenResponseBodyData) GoString

func (s GetTokenResponseBodyData) GoString() string

func (*GetTokenResponseBodyData) SetAccessKeyId

func (*GetTokenResponseBodyData) SetAccessKeySecret

func (s *GetTokenResponseBodyData) SetAccessKeySecret(v string) *GetTokenResponseBodyData

func (*GetTokenResponseBodyData) SetBucket

func (*GetTokenResponseBodyData) SetEndpoint

func (*GetTokenResponseBodyData) SetSecurityToken

func (*GetTokenResponseBodyData) SetSnapshotBucket

func (s *GetTokenResponseBodyData) SetSnapshotBucket(v string) *GetTokenResponseBodyData

func (GetTokenResponseBodyData) String

func (s GetTokenResponseBodyData) String() string

type ListApplicationRequest

type ListApplicationRequest struct {
	Keyword    *string `json:"Keyword,omitempty" xml:"Keyword,omitempty"`
	MaxResults *int32  `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	NextToken  *int32  `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// 排序字段
	OrderType       *int64  `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 应用的状态
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListApplicationRequest) GoString

func (s ListApplicationRequest) GoString() string

func (*ListApplicationRequest) SetKeyword

func (*ListApplicationRequest) SetMaxResults

func (*ListApplicationRequest) SetNextToken

func (*ListApplicationRequest) SetOrderType

func (*ListApplicationRequest) SetResourceGroupId

func (s *ListApplicationRequest) SetResourceGroupId(v string) *ListApplicationRequest

func (*ListApplicationRequest) SetStatus

func (ListApplicationRequest) String

func (s ListApplicationRequest) String() string

type ListApplicationResponse

type ListApplicationResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListApplicationResponse) GoString

func (s ListApplicationResponse) GoString() string

func (*ListApplicationResponse) SetBody

func (*ListApplicationResponse) SetHeaders

func (*ListApplicationResponse) SetStatusCode

func (ListApplicationResponse) String

func (s ListApplicationResponse) String() string

type ListApplicationResponseBody

type ListApplicationResponseBody struct {
	Code       *int32                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data       []*ListApplicationResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	Message    *string                            `json:"Message,omitempty" xml:"Message,omitempty"`
	NextToken  *int32                             `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	RequestId  *string                            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TotalCount *int32                             `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListApplicationResponseBody) GoString

func (s ListApplicationResponseBody) GoString() string

func (*ListApplicationResponseBody) SetCode

func (*ListApplicationResponseBody) SetData

func (*ListApplicationResponseBody) SetMessage

func (*ListApplicationResponseBody) SetNextToken

func (*ListApplicationResponseBody) SetRequestId

func (*ListApplicationResponseBody) SetTotalCount

func (ListApplicationResponseBody) String

type ListApplicationResponseBodyData

type ListApplicationResponseBodyData struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	// 应用创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 应用的图片链接
	ImageURL *string `json:"ImageURL,omitempty" xml:"ImageURL,omitempty"`
	// 应用的名称
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 应用的资源组
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 应用的状态
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// 应用的拓扑图链接
	TopoURL *string `json:"TopoURL,omitempty" xml:"TopoURL,omitempty"`
}

func (ListApplicationResponseBodyData) GoString

func (*ListApplicationResponseBodyData) SetApplicationId

func (*ListApplicationResponseBodyData) SetCreateTime

func (*ListApplicationResponseBodyData) SetImageURL

func (*ListApplicationResponseBodyData) SetName

func (*ListApplicationResponseBodyData) SetResourceGroupId

func (*ListApplicationResponseBodyData) SetStatus

func (*ListApplicationResponseBodyData) SetTopoURL

func (ListApplicationResponseBodyData) String

type ListTemplateRequest

type ListTemplateRequest struct {
	// 搜索关键字
	Keyword    *string `json:"Keyword,omitempty" xml:"Keyword,omitempty"`
	MaxResults *int32  `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	NextToken  *int32  `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// 排序字段
	OrderType       *int64  `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 模板的标签
	TagList *int32 `json:"TagList,omitempty" xml:"TagList,omitempty"`
	// 类型
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListTemplateRequest) GoString

func (s ListTemplateRequest) GoString() string

func (*ListTemplateRequest) SetKeyword

func (*ListTemplateRequest) SetMaxResults

func (s *ListTemplateRequest) SetMaxResults(v int32) *ListTemplateRequest

func (*ListTemplateRequest) SetNextToken

func (s *ListTemplateRequest) SetNextToken(v int32) *ListTemplateRequest

func (*ListTemplateRequest) SetOrderType

func (s *ListTemplateRequest) SetOrderType(v int64) *ListTemplateRequest

func (*ListTemplateRequest) SetResourceGroupId

func (s *ListTemplateRequest) SetResourceGroupId(v string) *ListTemplateRequest

func (*ListTemplateRequest) SetTagList

func (s *ListTemplateRequest) SetTagList(v int32) *ListTemplateRequest

func (*ListTemplateRequest) SetType

func (ListTemplateRequest) String

func (s ListTemplateRequest) String() string

type ListTemplateResponse

type ListTemplateResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTemplateResponse) GoString

func (s ListTemplateResponse) GoString() string

func (*ListTemplateResponse) SetBody

func (*ListTemplateResponse) SetHeaders

func (s *ListTemplateResponse) SetHeaders(v map[string]*string) *ListTemplateResponse

func (*ListTemplateResponse) SetStatusCode

func (s *ListTemplateResponse) SetStatusCode(v int32) *ListTemplateResponse

func (ListTemplateResponse) String

func (s ListTemplateResponse) String() string

type ListTemplateResponseBody

type ListTemplateResponseBody struct {
	Code       *int32                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data       []*ListTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	Message    *string                         `json:"Message,omitempty" xml:"Message,omitempty"`
	NextToken  *int32                          `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	RequestId  *string                         `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TotalCount *int32                          `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTemplateResponseBody) GoString

func (s ListTemplateResponseBody) GoString() string

func (*ListTemplateResponseBody) SetCode

func (*ListTemplateResponseBody) SetData

func (*ListTemplateResponseBody) SetMessage

func (*ListTemplateResponseBody) SetNextToken

func (*ListTemplateResponseBody) SetRequestId

func (*ListTemplateResponseBody) SetTotalCount

func (ListTemplateResponseBody) String

func (s ListTemplateResponseBody) String() string

type ListTemplateResponseBodyData

type ListTemplateResponseBodyData struct {
	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 模板的图片链接
	ImageURL *string `json:"ImageURL,omitempty" xml:"ImageURL,omitempty"`
	// 模板的名称
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// 模板的标签的ID
	TagId *int32 `json:"TagId,omitempty" xml:"TagId,omitempty"`
	// 模板标签的名称
	TagName *string `json:"TagName,omitempty" xml:"TagName,omitempty"`
	// 模板的ID
	TemplateId *string `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// 模板的拓扑图
	TopoURL *string `json:"TopoURL,omitempty" xml:"TopoURL,omitempty"`
}

func (ListTemplateResponseBodyData) GoString

func (s ListTemplateResponseBodyData) GoString() string

func (*ListTemplateResponseBodyData) SetCreateTime

func (*ListTemplateResponseBodyData) SetImageURL

func (*ListTemplateResponseBodyData) SetName

func (*ListTemplateResponseBodyData) SetResourceGroupId

func (*ListTemplateResponseBodyData) SetTagId

func (*ListTemplateResponseBodyData) SetTagName

func (*ListTemplateResponseBodyData) SetTemplateId

func (*ListTemplateResponseBodyData) SetTopoURL

func (ListTemplateResponseBodyData) String

type ReleaseApplicationRequest

type ReleaseApplicationRequest struct {
	// 应用ID
	ApplicationId   *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (ReleaseApplicationRequest) GoString

func (s ReleaseApplicationRequest) GoString() string

func (*ReleaseApplicationRequest) SetApplicationId

func (*ReleaseApplicationRequest) SetResourceGroupId

func (ReleaseApplicationRequest) String

func (s ReleaseApplicationRequest) String() string

type ReleaseApplicationResponse

type ReleaseApplicationResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReleaseApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReleaseApplicationResponse) GoString

func (s ReleaseApplicationResponse) GoString() string

func (*ReleaseApplicationResponse) SetBody

func (*ReleaseApplicationResponse) SetHeaders

func (*ReleaseApplicationResponse) SetStatusCode

func (ReleaseApplicationResponse) String

type ReleaseApplicationResponseBody

type ReleaseApplicationResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *int64  `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseApplicationResponseBody) GoString

func (*ReleaseApplicationResponseBody) SetCode

func (*ReleaseApplicationResponseBody) SetData

func (*ReleaseApplicationResponseBody) SetMessage

func (*ReleaseApplicationResponseBody) SetRequestId

func (ReleaseApplicationResponseBody) String

type ValidateApplicationRequest

type ValidateApplicationRequest struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	// 资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (ValidateApplicationRequest) GoString

func (s ValidateApplicationRequest) GoString() string

func (*ValidateApplicationRequest) SetApplicationId

func (*ValidateApplicationRequest) SetResourceGroupId

func (ValidateApplicationRequest) String

type ValidateApplicationResponse

type ValidateApplicationResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ValidateApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ValidateApplicationResponse) GoString

func (s ValidateApplicationResponse) GoString() string

func (*ValidateApplicationResponse) SetBody

func (*ValidateApplicationResponse) SetHeaders

func (*ValidateApplicationResponse) SetStatusCode

func (ValidateApplicationResponse) String

type ValidateApplicationResponseBody

type ValidateApplicationResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *string `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ValidateApplicationResponseBody) GoString

func (*ValidateApplicationResponseBody) SetCode

func (*ValidateApplicationResponseBody) SetData

func (*ValidateApplicationResponseBody) SetMessage

func (*ValidateApplicationResponseBody) SetRequestId

func (ValidateApplicationResponseBody) String

type ValuateApplicationRequest

type ValuateApplicationRequest struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitempty" xml:"ApplicationId,omitempty"`
	// 资源组ID
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (ValuateApplicationRequest) GoString

func (s ValuateApplicationRequest) GoString() string

func (*ValuateApplicationRequest) SetApplicationId

func (*ValuateApplicationRequest) SetResourceGroupId

func (ValuateApplicationRequest) String

func (s ValuateApplicationRequest) String() string

type ValuateApplicationResponse

type ValuateApplicationResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ValuateApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ValuateApplicationResponse) GoString

func (s ValuateApplicationResponse) GoString() string

func (*ValuateApplicationResponse) SetBody

func (*ValuateApplicationResponse) SetHeaders

func (*ValuateApplicationResponse) SetStatusCode

func (ValuateApplicationResponse) String

type ValuateApplicationResponseBody

type ValuateApplicationResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *int64  `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ValuateApplicationResponseBody) GoString

func (*ValuateApplicationResponseBody) SetCode

func (*ValuateApplicationResponseBody) SetData

func (*ValuateApplicationResponseBody) SetMessage

func (*ValuateApplicationResponseBody) SetRequestId

func (ValuateApplicationResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL