Documentation ¶
Index ¶
- type ChangeResourceGroupRequest
- type ChangeResourceGroupResponse
- type Checklist
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
- func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, ...) <-chan int
- func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
- func (client *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
- func (client *Client) CreateApplicationWithCallback(request *CreateApplicationRequest, ...) <-chan int
- func (client *Client) CreateApplicationWithChan(request *CreateApplicationRequest) (<-chan *CreateApplicationResponse, <-chan error)
- func (client *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
- func (client *Client) DeleteApplicationWithCallback(request *DeleteApplicationRequest, ...) <-chan int
- func (client *Client) DeleteApplicationWithChan(request *DeleteApplicationRequest) (<-chan *DeleteApplicationResponse, <-chan error)
- func (client *Client) DeployApplication(request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
- func (client *Client) DeployApplicationWithCallback(request *DeployApplicationRequest, ...) <-chan int
- func (client *Client) DeployApplicationWithChan(request *DeployApplicationRequest) (<-chan *DeployApplicationResponse, <-chan error)
- func (client *Client) ExecuteOperationASync(request *ExecuteOperationASyncRequest) (response *ExecuteOperationASyncResponse, err error)
- func (client *Client) ExecuteOperationASyncWithCallback(request *ExecuteOperationASyncRequest, ...) <-chan int
- func (client *Client) ExecuteOperationASyncWithChan(request *ExecuteOperationASyncRequest) (<-chan *ExecuteOperationASyncResponse, <-chan error)
- func (client *Client) GetApplication(request *GetApplicationRequest) (response *GetApplicationResponse, err error)
- func (client *Client) GetApplicationWithCallback(request *GetApplicationRequest, ...) <-chan int
- func (client *Client) GetApplicationWithChan(request *GetApplicationRequest) (<-chan *GetApplicationResponse, <-chan error)
- func (client *Client) GetExecuteOperationResult(request *GetExecuteOperationResultRequest) (response *GetExecuteOperationResultResponse, err error)
- func (client *Client) GetExecuteOperationResultWithCallback(request *GetExecuteOperationResultRequest, ...) <-chan int
- func (client *Client) GetExecuteOperationResultWithChan(request *GetExecuteOperationResultRequest) (<-chan *GetExecuteOperationResultResponse, <-chan error)
- func (client *Client) GetTemplate(request *GetTemplateRequest) (response *GetTemplateResponse, err error)
- func (client *Client) GetTemplateWithCallback(request *GetTemplateRequest, ...) <-chan int
- func (client *Client) GetTemplateWithChan(request *GetTemplateRequest) (<-chan *GetTemplateResponse, <-chan error)
- func (client *Client) GetToken(request *GetTokenRequest) (response *GetTokenResponse, err error)
- func (client *Client) GetTokenWithCallback(request *GetTokenRequest, callback func(response *GetTokenResponse, err error)) <-chan int
- func (client *Client) GetTokenWithChan(request *GetTokenRequest) (<-chan *GetTokenResponse, <-chan error)
- func (client *Client) ListApplication(request *ListApplicationRequest) (response *ListApplicationResponse, err error)
- func (client *Client) ListApplicationWithCallback(request *ListApplicationRequest, ...) <-chan int
- func (client *Client) ListApplicationWithChan(request *ListApplicationRequest) (<-chan *ListApplicationResponse, <-chan error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
- func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, ...) <-chan int
- func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
- func (client *Client) ListTemplate(request *ListTemplateRequest) (response *ListTemplateResponse, err error)
- func (client *Client) ListTemplateWithCallback(request *ListTemplateRequest, ...) <-chan int
- func (client *Client) ListTemplateWithChan(request *ListTemplateRequest) (<-chan *ListTemplateResponse, <-chan error)
- func (client *Client) ReleaseApplication(request *ReleaseApplicationRequest) (response *ReleaseApplicationResponse, err error)
- func (client *Client) ReleaseApplicationWithCallback(request *ReleaseApplicationRequest, ...) <-chan int
- func (client *Client) ReleaseApplicationWithChan(request *ReleaseApplicationRequest) (<-chan *ReleaseApplicationResponse, <-chan error)
- func (client *Client) ValidateApplication(request *ValidateApplicationRequest) (response *ValidateApplicationResponse, err error)
- func (client *Client) ValidateApplicationWithCallback(request *ValidateApplicationRequest, ...) <-chan int
- func (client *Client) ValidateApplicationWithChan(request *ValidateApplicationRequest) (<-chan *ValidateApplicationResponse, <-chan error)
- func (client *Client) ValuateApplication(request *ValuateApplicationRequest) (response *ValuateApplicationResponse, err error)
- func (client *Client) ValuateApplicationWithCallback(request *ValuateApplicationRequest, ...) <-chan int
- func (client *Client) ValuateApplicationWithChan(request *ValuateApplicationRequest) (<-chan *ValuateApplicationResponse, <-chan error)
- type CreateApplicationInstances
- type CreateApplicationRequest
- type CreateApplicationResponse
- type Data
- type DataInListApplication
- type DataInListTemplate
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeployApplicationRequest
- type DeployApplicationResponse
- type ExecuteOperationASyncRequest
- type ExecuteOperationASyncResponse
- type GetApplicationRequest
- type GetApplicationResponse
- type GetExecuteOperationResultRequest
- type GetExecuteOperationResultResponse
- type GetTemplateRequest
- type GetTemplateResponse
- type GetTokenRequest
- type GetTokenResponse
- type Item
- type ListApplicationRequest
- type ListApplicationResponse
- type ListTagResourcesRequest
- type ListTagResourcesResponse
- type ListTagResourcesTag
- type ListTemplateRequest
- type ListTemplateResponse
- type PriceList
- type ReleaseApplicationRequest
- type ReleaseApplicationResponse
- type ResourceList
- type TagResources
- type ValidateApplicationRequest
- type ValidateApplicationResponse
- type ValuateApplicationRequest
- type ValuateApplicationResponse
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeResourceGroupRequest ¶
type ChangeResourceGroupRequest struct { *requests.RpcRequest ResourceId string `position:"Body" name:"ResourceId"` ResourceType string `position:"Body" name:"ResourceType"` NewResourceGroupId string `position:"Body" name:"NewResourceGroupId"` }
ChangeResourceGroupRequest is the request struct for api ChangeResourceGroup
func CreateChangeResourceGroupRequest ¶
func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest)
CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API
type ChangeResourceGroupResponse ¶
type ChangeResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Message string `json:"Message" xml:"Message"` Code int64 `json:"Code" xml:"Code"` }
ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup
func CreateChangeResourceGroupResponse ¶
func CreateChangeResourceGroupResponse() (response *ChangeResourceGroupResponse)
CreateChangeResourceGroupResponse creates a response to parse from ChangeResourceGroup response
type Checklist ¶
type Checklist struct {
Item []Item `json:"Item" xml:"Item"`
}
Checklist is a nested struct in bpstudio response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) ChangeResourceGroup ¶
func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
ChangeResourceGroup invokes the bpstudio.ChangeResourceGroup API synchronously
func (*Client) ChangeResourceGroupWithCallback ¶
func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int
ChangeResourceGroupWithCallback invokes the bpstudio.ChangeResourceGroup API asynchronously
func (*Client) ChangeResourceGroupWithChan ¶
func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
ChangeResourceGroupWithChan invokes the bpstudio.ChangeResourceGroup API asynchronously
func (*Client) CreateApplication ¶
func (client *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
CreateApplication invokes the bpstudio.CreateApplication API synchronously
func (*Client) CreateApplicationWithCallback ¶
func (client *Client) CreateApplicationWithCallback(request *CreateApplicationRequest, callback func(response *CreateApplicationResponse, err error)) <-chan int
CreateApplicationWithCallback invokes the bpstudio.CreateApplication API asynchronously
func (*Client) CreateApplicationWithChan ¶
func (client *Client) CreateApplicationWithChan(request *CreateApplicationRequest) (<-chan *CreateApplicationResponse, <-chan error)
CreateApplicationWithChan invokes the bpstudio.CreateApplication API asynchronously
func (*Client) DeleteApplication ¶
func (client *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
DeleteApplication invokes the bpstudio.DeleteApplication API synchronously
func (*Client) DeleteApplicationWithCallback ¶
func (client *Client) DeleteApplicationWithCallback(request *DeleteApplicationRequest, callback func(response *DeleteApplicationResponse, err error)) <-chan int
DeleteApplicationWithCallback invokes the bpstudio.DeleteApplication API asynchronously
func (*Client) DeleteApplicationWithChan ¶
func (client *Client) DeleteApplicationWithChan(request *DeleteApplicationRequest) (<-chan *DeleteApplicationResponse, <-chan error)
DeleteApplicationWithChan invokes the bpstudio.DeleteApplication API asynchronously
func (*Client) DeployApplication ¶
func (client *Client) DeployApplication(request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
DeployApplication invokes the bpstudio.DeployApplication API synchronously
func (*Client) DeployApplicationWithCallback ¶
func (client *Client) DeployApplicationWithCallback(request *DeployApplicationRequest, callback func(response *DeployApplicationResponse, err error)) <-chan int
DeployApplicationWithCallback invokes the bpstudio.DeployApplication API asynchronously
func (*Client) DeployApplicationWithChan ¶
func (client *Client) DeployApplicationWithChan(request *DeployApplicationRequest) (<-chan *DeployApplicationResponse, <-chan error)
DeployApplicationWithChan invokes the bpstudio.DeployApplication API asynchronously
func (*Client) ExecuteOperationASync ¶
func (client *Client) ExecuteOperationASync(request *ExecuteOperationASyncRequest) (response *ExecuteOperationASyncResponse, err error)
ExecuteOperationASync invokes the bpstudio.ExecuteOperationASync API synchronously
func (*Client) ExecuteOperationASyncWithCallback ¶
func (client *Client) ExecuteOperationASyncWithCallback(request *ExecuteOperationASyncRequest, callback func(response *ExecuteOperationASyncResponse, err error)) <-chan int
ExecuteOperationASyncWithCallback invokes the bpstudio.ExecuteOperationASync API asynchronously
func (*Client) ExecuteOperationASyncWithChan ¶
func (client *Client) ExecuteOperationASyncWithChan(request *ExecuteOperationASyncRequest) (<-chan *ExecuteOperationASyncResponse, <-chan error)
ExecuteOperationASyncWithChan invokes the bpstudio.ExecuteOperationASync API asynchronously
func (*Client) GetApplication ¶
func (client *Client) GetApplication(request *GetApplicationRequest) (response *GetApplicationResponse, err error)
GetApplication invokes the bpstudio.GetApplication API synchronously
func (*Client) GetApplicationWithCallback ¶
func (client *Client) GetApplicationWithCallback(request *GetApplicationRequest, callback func(response *GetApplicationResponse, err error)) <-chan int
GetApplicationWithCallback invokes the bpstudio.GetApplication API asynchronously
func (*Client) GetApplicationWithChan ¶
func (client *Client) GetApplicationWithChan(request *GetApplicationRequest) (<-chan *GetApplicationResponse, <-chan error)
GetApplicationWithChan invokes the bpstudio.GetApplication API asynchronously
func (*Client) GetExecuteOperationResult ¶
func (client *Client) GetExecuteOperationResult(request *GetExecuteOperationResultRequest) (response *GetExecuteOperationResultResponse, err error)
GetExecuteOperationResult invokes the bpstudio.GetExecuteOperationResult API synchronously
func (*Client) GetExecuteOperationResultWithCallback ¶
func (client *Client) GetExecuteOperationResultWithCallback(request *GetExecuteOperationResultRequest, callback func(response *GetExecuteOperationResultResponse, err error)) <-chan int
GetExecuteOperationResultWithCallback invokes the bpstudio.GetExecuteOperationResult API asynchronously
func (*Client) GetExecuteOperationResultWithChan ¶
func (client *Client) GetExecuteOperationResultWithChan(request *GetExecuteOperationResultRequest) (<-chan *GetExecuteOperationResultResponse, <-chan error)
GetExecuteOperationResultWithChan invokes the bpstudio.GetExecuteOperationResult API asynchronously
func (*Client) GetTemplate ¶
func (client *Client) GetTemplate(request *GetTemplateRequest) (response *GetTemplateResponse, err error)
GetTemplate invokes the bpstudio.GetTemplate API synchronously
func (*Client) GetTemplateWithCallback ¶
func (client *Client) GetTemplateWithCallback(request *GetTemplateRequest, callback func(response *GetTemplateResponse, err error)) <-chan int
GetTemplateWithCallback invokes the bpstudio.GetTemplate API asynchronously
func (*Client) GetTemplateWithChan ¶
func (client *Client) GetTemplateWithChan(request *GetTemplateRequest) (<-chan *GetTemplateResponse, <-chan error)
GetTemplateWithChan invokes the bpstudio.GetTemplate API asynchronously
func (*Client) GetToken ¶
func (client *Client) GetToken(request *GetTokenRequest) (response *GetTokenResponse, err error)
GetToken invokes the bpstudio.GetToken API synchronously
func (*Client) GetTokenWithCallback ¶
func (client *Client) GetTokenWithCallback(request *GetTokenRequest, callback func(response *GetTokenResponse, err error)) <-chan int
GetTokenWithCallback invokes the bpstudio.GetToken API asynchronously
func (*Client) GetTokenWithChan ¶
func (client *Client) GetTokenWithChan(request *GetTokenRequest) (<-chan *GetTokenResponse, <-chan error)
GetTokenWithChan invokes the bpstudio.GetToken API asynchronously
func (*Client) ListApplication ¶
func (client *Client) ListApplication(request *ListApplicationRequest) (response *ListApplicationResponse, err error)
ListApplication invokes the bpstudio.ListApplication API synchronously
func (*Client) ListApplicationWithCallback ¶
func (client *Client) ListApplicationWithCallback(request *ListApplicationRequest, callback func(response *ListApplicationResponse, err error)) <-chan int
ListApplicationWithCallback invokes the bpstudio.ListApplication API asynchronously
func (*Client) ListApplicationWithChan ¶
func (client *Client) ListApplicationWithChan(request *ListApplicationRequest) (<-chan *ListApplicationResponse, <-chan error)
ListApplicationWithChan invokes the bpstudio.ListApplication API asynchronously
func (*Client) ListTagResources ¶
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
ListTagResources invokes the bpstudio.ListTagResources API synchronously
func (*Client) ListTagResourcesWithCallback ¶
func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int
ListTagResourcesWithCallback invokes the bpstudio.ListTagResources API asynchronously
func (*Client) ListTagResourcesWithChan ¶
func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
ListTagResourcesWithChan invokes the bpstudio.ListTagResources API asynchronously
func (*Client) ListTemplate ¶
func (client *Client) ListTemplate(request *ListTemplateRequest) (response *ListTemplateResponse, err error)
ListTemplate invokes the bpstudio.ListTemplate API synchronously
func (*Client) ListTemplateWithCallback ¶
func (client *Client) ListTemplateWithCallback(request *ListTemplateRequest, callback func(response *ListTemplateResponse, err error)) <-chan int
ListTemplateWithCallback invokes the bpstudio.ListTemplate API asynchronously
func (*Client) ListTemplateWithChan ¶
func (client *Client) ListTemplateWithChan(request *ListTemplateRequest) (<-chan *ListTemplateResponse, <-chan error)
ListTemplateWithChan invokes the bpstudio.ListTemplate API asynchronously
func (*Client) ReleaseApplication ¶
func (client *Client) ReleaseApplication(request *ReleaseApplicationRequest) (response *ReleaseApplicationResponse, err error)
ReleaseApplication invokes the bpstudio.ReleaseApplication API synchronously
func (*Client) ReleaseApplicationWithCallback ¶
func (client *Client) ReleaseApplicationWithCallback(request *ReleaseApplicationRequest, callback func(response *ReleaseApplicationResponse, err error)) <-chan int
ReleaseApplicationWithCallback invokes the bpstudio.ReleaseApplication API asynchronously
func (*Client) ReleaseApplicationWithChan ¶
func (client *Client) ReleaseApplicationWithChan(request *ReleaseApplicationRequest) (<-chan *ReleaseApplicationResponse, <-chan error)
ReleaseApplicationWithChan invokes the bpstudio.ReleaseApplication API asynchronously
func (*Client) ValidateApplication ¶
func (client *Client) ValidateApplication(request *ValidateApplicationRequest) (response *ValidateApplicationResponse, err error)
ValidateApplication invokes the bpstudio.ValidateApplication API synchronously
func (*Client) ValidateApplicationWithCallback ¶
func (client *Client) ValidateApplicationWithCallback(request *ValidateApplicationRequest, callback func(response *ValidateApplicationResponse, err error)) <-chan int
ValidateApplicationWithCallback invokes the bpstudio.ValidateApplication API asynchronously
func (*Client) ValidateApplicationWithChan ¶
func (client *Client) ValidateApplicationWithChan(request *ValidateApplicationRequest) (<-chan *ValidateApplicationResponse, <-chan error)
ValidateApplicationWithChan invokes the bpstudio.ValidateApplication API asynchronously
func (*Client) ValuateApplication ¶
func (client *Client) ValuateApplication(request *ValuateApplicationRequest) (response *ValuateApplicationResponse, err error)
ValuateApplication invokes the bpstudio.ValuateApplication API synchronously
func (*Client) ValuateApplicationWithCallback ¶
func (client *Client) ValuateApplicationWithCallback(request *ValuateApplicationRequest, callback func(response *ValuateApplicationResponse, err error)) <-chan int
ValuateApplicationWithCallback invokes the bpstudio.ValuateApplication API asynchronously
func (*Client) ValuateApplicationWithChan ¶
func (client *Client) ValuateApplicationWithChan(request *ValuateApplicationRequest) (<-chan *ValuateApplicationResponse, <-chan error)
ValuateApplicationWithChan invokes the bpstudio.ValuateApplication API asynchronously
type CreateApplicationInstances ¶
type CreateApplicationInstances struct { NodeName string `name:"NodeName"` NodeType string `name:"NodeType"` Id string `name:"Id"` }
CreateApplicationInstances is a repeated param struct in CreateApplicationRequest
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *requests.RpcRequest Variables map[string]string `position:"Body" name:"Variables" type:"Map"` ClientToken string `position:"Body" name:"ClientToken"` Instances *[]CreateApplicationInstances `position:"Body" name:"Instances" type:"Json"` Configuration map[string]string `position:"Body" name:"Configuration" type:"Map"` TemplateId string `position:"Body" name:"TemplateId"` ResourceGroupId string `position:"Body" name:"ResourceGroupId"` AreaId string `position:"Body" name:"AreaId"` Name string `position:"Body" name:"Name"` }
CreateApplicationRequest is the request struct for api CreateApplication
func CreateCreateApplicationRequest ¶
func CreateCreateApplicationRequest() (request *CreateApplicationRequest)
CreateCreateApplicationRequest creates a request to invoke CreateApplication API
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
CreateApplicationResponse is the response struct for api CreateApplication
func CreateCreateApplicationResponse ¶
func CreateCreateApplicationResponse() (response *CreateApplicationResponse)
CreateCreateApplicationResponse creates a response to parse from CreateApplication response
type Data ¶
type Data struct { Name string `json:"Name" xml:"Name"` TemplateId string `json:"TemplateId" xml:"TemplateId"` ApplicationId string `json:"ApplicationId" xml:"ApplicationId"` Error string `json:"Error" xml:"Error"` Message string `json:"Message" xml:"Message"` SnapshotBucket string `json:"SnapshotBucket" xml:"SnapshotBucket"` CreateTime string `json:"CreateTime" xml:"CreateTime"` TopoURL string `json:"TopoURL" xml:"TopoURL"` AccessKeyId string `json:"AccessKeyId" xml:"AccessKeyId"` Arguments string `json:"Arguments" xml:"Arguments"` OperationId string `json:"OperationId" xml:"OperationId"` AccessKeySecret string `json:"AccessKeySecret" xml:"AccessKeySecret"` Endpoint string `json:"Endpoint" xml:"Endpoint"` Bucket string `json:"Bucket" xml:"Bucket"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` ImageURL string `json:"ImageURL" xml:"ImageURL"` Status string `json:"Status" xml:"Status"` Description string `json:"Description" xml:"Description"` SecurityToken string `json:"SecurityToken" xml:"SecurityToken"` ResourceList []Item `json:"ResourceList" xml:"ResourceList"` Checklist []Item `json:"Checklist" xml:"Checklist"` Variables []Item `json:"Variables" xml:"Variables"` PriceList []Item `json:"PriceList" xml:"PriceList"` }
Data is a nested struct in bpstudio response
type DataInListApplication ¶
type DataInListApplication struct {
Item []Item `json:"Item" xml:"Item"`
}
DataInListApplication is a nested struct in bpstudio response
type DataInListTemplate ¶
type DataInListTemplate struct {
Item []Item `json:"Item" xml:"Item"`
}
DataInListTemplate is a nested struct in bpstudio response
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Body" name:"ApplicationId"` }
DeleteApplicationRequest is the request struct for api DeleteApplication
func CreateDeleteApplicationRequest ¶
func CreateDeleteApplicationRequest() (request *DeleteApplicationRequest)
CreateDeleteApplicationRequest creates a request to invoke DeleteApplication API
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` }
DeleteApplicationResponse is the response struct for api DeleteApplication
func CreateDeleteApplicationResponse ¶
func CreateDeleteApplicationResponse() (response *DeleteApplicationResponse)
CreateDeleteApplicationResponse creates a response to parse from DeleteApplication response
type DeployApplicationRequest ¶
type DeployApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Query" name:"ApplicationId"` }
DeployApplicationRequest is the request struct for api DeployApplication
func CreateDeployApplicationRequest ¶
func CreateDeployApplicationRequest() (request *DeployApplicationRequest)
CreateDeployApplicationRequest creates a request to invoke DeployApplication API
type DeployApplicationResponse ¶
type DeployApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data int64 `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
DeployApplicationResponse is the response struct for api DeployApplication
func CreateDeployApplicationResponse ¶
func CreateDeployApplicationResponse() (response *DeployApplicationResponse)
CreateDeployApplicationResponse creates a response to parse from DeployApplication response
type ExecuteOperationASyncRequest ¶
type ExecuteOperationASyncRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ServiceType string `position:"Body" name:"ServiceType"` Attributes string `position:"Body" name:"Attributes"` Operation string `position:"Body" name:"Operation"` }
ExecuteOperationASyncRequest is the request struct for api ExecuteOperationASync
func CreateExecuteOperationASyncRequest ¶
func CreateExecuteOperationASyncRequest() (request *ExecuteOperationASyncRequest)
CreateExecuteOperationASyncRequest creates a request to invoke ExecuteOperationASync API
type ExecuteOperationASyncResponse ¶
type ExecuteOperationASyncResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
ExecuteOperationASyncResponse is the response struct for api ExecuteOperationASync
func CreateExecuteOperationASyncResponse ¶
func CreateExecuteOperationASyncResponse() (response *ExecuteOperationASyncResponse)
CreateExecuteOperationASyncResponse creates a response to parse from ExecuteOperationASync response
type GetApplicationRequest ¶
type GetApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Body" name:"ApplicationId"` }
GetApplicationRequest is the request struct for api GetApplication
func CreateGetApplicationRequest ¶
func CreateGetApplicationRequest() (request *GetApplicationRequest)
CreateGetApplicationRequest creates a request to invoke GetApplication API
type GetApplicationResponse ¶
type GetApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
GetApplicationResponse is the response struct for api GetApplication
func CreateGetApplicationResponse ¶
func CreateGetApplicationResponse() (response *GetApplicationResponse)
CreateGetApplicationResponse creates a response to parse from GetApplication response
type GetExecuteOperationResultRequest ¶
type GetExecuteOperationResultRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` OperationId string `position:"Body" name:"OperationId"` }
GetExecuteOperationResultRequest is the request struct for api GetExecuteOperationResult
func CreateGetExecuteOperationResultRequest ¶
func CreateGetExecuteOperationResultRequest() (request *GetExecuteOperationResultRequest)
CreateGetExecuteOperationResultRequest creates a request to invoke GetExecuteOperationResult API
type GetExecuteOperationResultResponse ¶
type GetExecuteOperationResultResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
GetExecuteOperationResultResponse is the response struct for api GetExecuteOperationResult
func CreateGetExecuteOperationResultResponse ¶
func CreateGetExecuteOperationResultResponse() (response *GetExecuteOperationResultResponse)
CreateGetExecuteOperationResultResponse creates a response to parse from GetExecuteOperationResult response
type GetTemplateRequest ¶
type GetTemplateRequest struct { *requests.RpcRequest TemplateId string `position:"Body" name:"TemplateId"` ResourceGroupId string `position:"Body" name:"ResourceGroupId"` Region string `position:"Body" name:"Region"` }
GetTemplateRequest is the request struct for api GetTemplate
func CreateGetTemplateRequest ¶
func CreateGetTemplateRequest() (request *GetTemplateRequest)
CreateGetTemplateRequest creates a request to invoke GetTemplate API
type GetTemplateResponse ¶
type GetTemplateResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
GetTemplateResponse is the response struct for api GetTemplate
func CreateGetTemplateResponse ¶
func CreateGetTemplateResponse() (response *GetTemplateResponse)
CreateGetTemplateResponse creates a response to parse from GetTemplate response
type GetTokenRequest ¶
type GetTokenRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` }
GetTokenRequest is the request struct for api GetToken
func CreateGetTokenRequest ¶
func CreateGetTokenRequest() (request *GetTokenRequest)
CreateGetTokenRequest creates a request to invoke GetToken API
type GetTokenResponse ¶
type GetTokenResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
GetTokenResponse is the response struct for api GetToken
func CreateGetTokenResponse ¶
func CreateGetTokenResponse() (response *GetTokenResponse)
CreateGetTokenResponse creates a response to parse from GetToken response
type Item ¶
type Item struct { Region string `json:"Region" xml:"Region"` Name string `json:"Name" xml:"Name"` TemplateId string `json:"TemplateId" xml:"TemplateId"` ApplicationId string `json:"ApplicationId" xml:"ApplicationId"` ChargeType string `json:"ChargeType" xml:"ChargeType"` PriceUnit string `json:"PriceUnit" xml:"PriceUnit"` OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"` CreateTime string `json:"CreateTime" xml:"CreateTime"` TopoURL string `json:"TopoURL" xml:"TopoURL"` Attribute string `json:"Attribute" xml:"Attribute"` DataType string `json:"DataType" xml:"DataType"` TagName string `json:"TagName" xml:"TagName"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` TagValue string `json:"TagValue" xml:"TagValue"` ImageURL string `json:"ImageURL" xml:"ImageURL"` Variable string `json:"Variable" xml:"Variable"` TagKey string `json:"TagKey" xml:"TagKey"` ResourceId string `json:"ResourceId" xml:"ResourceId"` Remark string `json:"Remark" xml:"Remark"` Result string `json:"Result" xml:"Result"` InstanceName string `json:"InstanceName" xml:"InstanceName"` Price float64 `json:"Price" xml:"Price"` Period float64 `json:"Period" xml:"Period"` DefaultValue string `json:"DefaultValue" xml:"DefaultValue"` TagId int `json:"TagId" xml:"TagId"` ResourceCode string `json:"ResourceCode" xml:"ResourceCode"` Lifecycle string `json:"Lifecycle" xml:"Lifecycle"` ResourceType string `json:"ResourceType" xml:"ResourceType"` OnePrice float64 `json:"OnePrice" xml:"OnePrice"` Count int64 `json:"Count" xml:"Count"` ResourceName string `json:"ResourceName" xml:"ResourceName"` Status string `json:"Status" xml:"Status"` Specification string `json:"Specification" xml:"Specification"` }
Item is a nested struct in bpstudio response
type ListApplicationRequest ¶
type ListApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` NextToken requests.Integer `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` Keyword string `position:"Body" name:"Keyword"` OrderType requests.Integer `position:"Body" name:"OrderType"` Status string `position:"Body" name:"Status"` }
ListApplicationRequest is the request struct for api ListApplication
func CreateListApplicationRequest ¶
func CreateListApplicationRequest() (request *ListApplicationRequest)
CreateListApplicationRequest creates a request to invoke ListApplication API
type ListApplicationResponse ¶
type ListApplicationResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` Message string `json:"Message" xml:"Message"` NextToken int `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data []Item `json:"Data" xml:"Data"` }
ListApplicationResponse is the response struct for api ListApplication
func CreateListApplicationResponse ¶
func CreateListApplicationResponse() (response *ListApplicationResponse)
CreateListApplicationResponse creates a response to parse from ListApplication response
type ListTagResourcesRequest ¶
type ListTagResourcesRequest struct { *requests.RpcRequest ResourceId *[]string `position:"Body" name:"ResourceId" type:"Repeated"` ClientToken string `position:"Body" name:"ClientToken"` ResourceType string `position:"Body" name:"ResourceType"` NextToken string `position:"Body" name:"NextToken"` Tag *[]ListTagResourcesTag `position:"Body" name:"Tag" type:"Repeated"` }
ListTagResourcesRequest is the request struct for api ListTagResources
func CreateListTagResourcesRequest ¶
func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)
CreateListTagResourcesRequest creates a request to invoke ListTagResources API
type ListTagResourcesResponse ¶
type ListTagResourcesResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` TagResources []Item `json:"TagResources" xml:"TagResources"` }
ListTagResourcesResponse is the response struct for api ListTagResources
func CreateListTagResourcesResponse ¶
func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)
CreateListTagResourcesResponse creates a response to parse from ListTagResources response
type ListTagResourcesTag ¶
ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest
type ListTemplateRequest ¶
type ListTemplateRequest struct { *requests.RpcRequest Type string `position:"Body" name:"Type"` TagList requests.Integer `position:"Body" name:"TagList"` ResourceGroupId string `position:"Body" name:"ResourceGroupId"` NextToken requests.Integer `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` Keyword string `position:"Body" name:"Keyword"` OrderType requests.Integer `position:"Body" name:"OrderType"` }
ListTemplateRequest is the request struct for api ListTemplate
func CreateListTemplateRequest ¶
func CreateListTemplateRequest() (request *ListTemplateRequest)
CreateListTemplateRequest creates a request to invoke ListTemplate API
type ListTemplateResponse ¶
type ListTemplateResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` Message string `json:"Message" xml:"Message"` NextToken int `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Data []Item `json:"Data" xml:"Data"` }
ListTemplateResponse is the response struct for api ListTemplate
func CreateListTemplateResponse ¶
func CreateListTemplateResponse() (response *ListTemplateResponse)
CreateListTemplateResponse creates a response to parse from ListTemplate response
type PriceList ¶
type PriceList struct {
Item []Item `json:"Item" xml:"Item"`
}
PriceList is a nested struct in bpstudio response
type ReleaseApplicationRequest ¶
type ReleaseApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Body" name:"ApplicationId"` }
ReleaseApplicationRequest is the request struct for api ReleaseApplication
func CreateReleaseApplicationRequest ¶
func CreateReleaseApplicationRequest() (request *ReleaseApplicationRequest)
CreateReleaseApplicationRequest creates a request to invoke ReleaseApplication API
type ReleaseApplicationResponse ¶
type ReleaseApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data int64 `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
ReleaseApplicationResponse is the response struct for api ReleaseApplication
func CreateReleaseApplicationResponse ¶
func CreateReleaseApplicationResponse() (response *ReleaseApplicationResponse)
CreateReleaseApplicationResponse creates a response to parse from ReleaseApplication response
type ResourceList ¶
type ResourceList struct {
Item []Item `json:"Item" xml:"Item"`
}
ResourceList is a nested struct in bpstudio response
type TagResources ¶
type TagResources struct {
Item []Item `json:"item" xml:"item"`
}
TagResources is a nested struct in bpstudio response
type ValidateApplicationRequest ¶
type ValidateApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Query" name:"ApplicationId"` }
ValidateApplicationRequest is the request struct for api ValidateApplication
func CreateValidateApplicationRequest ¶
func CreateValidateApplicationRequest() (request *ValidateApplicationRequest)
CreateValidateApplicationRequest creates a request to invoke ValidateApplication API
type ValidateApplicationResponse ¶
type ValidateApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data string `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
ValidateApplicationResponse is the response struct for api ValidateApplication
func CreateValidateApplicationResponse ¶
func CreateValidateApplicationResponse() (response *ValidateApplicationResponse)
CreateValidateApplicationResponse creates a response to parse from ValidateApplication response
type ValuateApplicationRequest ¶
type ValuateApplicationRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ApplicationId string `position:"Body" name:"ApplicationId"` }
ValuateApplicationRequest is the request struct for api ValuateApplication
func CreateValuateApplicationRequest ¶
func CreateValuateApplicationRequest() (request *ValuateApplicationRequest)
CreateValuateApplicationRequest creates a request to invoke ValuateApplication API
type ValuateApplicationResponse ¶
type ValuateApplicationResponse struct { *responses.BaseResponse Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data int64 `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` }
ValuateApplicationResponse is the response struct for api ValuateApplication
func CreateValuateApplicationResponse ¶
func CreateValuateApplicationResponse() (response *ValuateApplicationResponse)
CreateValuateApplicationResponse creates a response to parse from ValuateApplication response
Source Files ¶
- change_resource_group.go
- client.go
- create_application.go
- delete_application.go
- deploy_application.go
- execute_operation_a_sync.go
- get_application.go
- get_execute_operation_result.go
- get_template.go
- get_token.go
- list_application.go
- list_tag_resources.go
- list_template.go
- release_application.go
- struct_checklist.go
- struct_data.go
- struct_data_in_list_application.go
- struct_data_in_list_template.go
- struct_item.go
- struct_price_list.go
- struct_resource_list.go
- struct_tag_resources.go
- struct_variables.go
- validate_application.go
- valuate_application.go