computenestsupplier

package
v1.62.142 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type Artifact

type Artifact struct {
	Name                string                 `json:"Name" xml:"Name"`
	ArtifactVersion     string                 `json:"ArtifactVersion" xml:"ArtifactVersion"`
	ArtifactProperty    string                 `json:"ArtifactProperty" xml:"ArtifactProperty"`
	VersionName         string                 `json:"VersionName" xml:"VersionName"`
	SupportRegionIds    string                 `json:"SupportRegionIds" xml:"SupportRegionIds"`
	GmtModified         string                 `json:"GmtModified" xml:"GmtModified"`
	ResultFile          string                 `json:"ResultFile" xml:"ResultFile"`
	MaxVersion          string                 `json:"MaxVersion" xml:"MaxVersion"`
	SecurityAuditResult string                 `json:"SecurityAuditResult" xml:"SecurityAuditResult"`
	Progress            string                 `json:"Progress" xml:"Progress"`
	GmtCreate           string                 `json:"GmtCreate" xml:"GmtCreate"`
	ArtifactType        string                 `json:"ArtifactType" xml:"ArtifactType"`
	ArtifactId          string                 `json:"ArtifactId" xml:"ArtifactId"`
	Status              string                 `json:"Status" xml:"Status"`
	Description         string                 `json:"Description" xml:"Description"`
	ImageDelivery       map[string]interface{} `json:"ImageDelivery" xml:"ImageDelivery"`
}

Artifact is a nested struct in computenestsupplier response

type ArtifactsInListArtifactVersions

type ArtifactsInListArtifactVersions struct {
	Artifact []Artifact `json:"Artifact" xml:"Artifact"`
}

ArtifactsInListArtifactVersions is a nested struct in computenestsupplier response

type ArtifactsInListArtifacts

type ArtifactsInListArtifacts struct {
	Artifact []Artifact `json:"Artifact" xml:"Artifact"`
}

ArtifactsInListArtifacts is a nested struct in computenestsupplier response

type AvailableResources

type AvailableResources struct {
	AvailableResourcesItem []AvailableResourcesItem `json:"availableResources" xml:"availableResources"`
}

AvailableResources is a nested struct in computenestsupplier response

type AvailableResourcesItem

type AvailableResourcesItem struct {
	RegionId       string `json:"RegionId" xml:"RegionId"`
	RepositoryName string `json:"RepositoryName" xml:"RepositoryName"`
	Path           string `json:"Path" xml:"Path"`
}

AvailableResourcesItem is a nested struct in computenestsupplier response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) CreateArtifact

func (client *Client) CreateArtifact(request *CreateArtifactRequest) (response *CreateArtifactResponse, err error)

CreateArtifact invokes the computenestsupplier.CreateArtifact API synchronously

func (*Client) CreateArtifactWithCallback

func (client *Client) CreateArtifactWithCallback(request *CreateArtifactRequest, callback func(response *CreateArtifactResponse, err error)) <-chan int

CreateArtifactWithCallback invokes the computenestsupplier.CreateArtifact API asynchronously

func (*Client) CreateArtifactWithChan

func (client *Client) CreateArtifactWithChan(request *CreateArtifactRequest) (<-chan *CreateArtifactResponse, <-chan error)

CreateArtifactWithChan invokes the computenestsupplier.CreateArtifact API asynchronously

func (*Client) DeleteArtifact

func (client *Client) DeleteArtifact(request *DeleteArtifactRequest) (response *DeleteArtifactResponse, err error)

DeleteArtifact invokes the computenestsupplier.DeleteArtifact API synchronously

func (*Client) DeleteArtifactWithCallback

func (client *Client) DeleteArtifactWithCallback(request *DeleteArtifactRequest, callback func(response *DeleteArtifactResponse, err error)) <-chan int

DeleteArtifactWithCallback invokes the computenestsupplier.DeleteArtifact API asynchronously

func (*Client) DeleteArtifactWithChan

func (client *Client) DeleteArtifactWithChan(request *DeleteArtifactRequest) (<-chan *DeleteArtifactResponse, <-chan error)

DeleteArtifactWithChan invokes the computenestsupplier.DeleteArtifact API asynchronously

func (*Client) GetArtifact

func (client *Client) GetArtifact(request *GetArtifactRequest) (response *GetArtifactResponse, err error)

GetArtifact invokes the computenestsupplier.GetArtifact API synchronously

func (*Client) GetArtifactRepositoryCredentials

func (client *Client) GetArtifactRepositoryCredentials(request *GetArtifactRepositoryCredentialsRequest) (response *GetArtifactRepositoryCredentialsResponse, err error)

GetArtifactRepositoryCredentials invokes the computenestsupplier.GetArtifactRepositoryCredentials API synchronously

func (*Client) GetArtifactRepositoryCredentialsWithCallback

func (client *Client) GetArtifactRepositoryCredentialsWithCallback(request *GetArtifactRepositoryCredentialsRequest, callback func(response *GetArtifactRepositoryCredentialsResponse, err error)) <-chan int

GetArtifactRepositoryCredentialsWithCallback invokes the computenestsupplier.GetArtifactRepositoryCredentials API asynchronously

func (*Client) GetArtifactRepositoryCredentialsWithChan

func (client *Client) GetArtifactRepositoryCredentialsWithChan(request *GetArtifactRepositoryCredentialsRequest) (<-chan *GetArtifactRepositoryCredentialsResponse, <-chan error)

GetArtifactRepositoryCredentialsWithChan invokes the computenestsupplier.GetArtifactRepositoryCredentials API asynchronously

func (*Client) GetArtifactWithCallback

func (client *Client) GetArtifactWithCallback(request *GetArtifactRequest, callback func(response *GetArtifactResponse, err error)) <-chan int

GetArtifactWithCallback invokes the computenestsupplier.GetArtifact API asynchronously

func (*Client) GetArtifactWithChan

func (client *Client) GetArtifactWithChan(request *GetArtifactRequest) (<-chan *GetArtifactResponse, <-chan error)

GetArtifactWithChan invokes the computenestsupplier.GetArtifact API asynchronously

func (*Client) GetServiceInstance

func (client *Client) GetServiceInstance(request *GetServiceInstanceRequest) (response *GetServiceInstanceResponse, err error)

GetServiceInstance invokes the computenestsupplier.GetServiceInstance API synchronously

func (*Client) GetServiceInstanceWithCallback

func (client *Client) GetServiceInstanceWithCallback(request *GetServiceInstanceRequest, callback func(response *GetServiceInstanceResponse, err error)) <-chan int

GetServiceInstanceWithCallback invokes the computenestsupplier.GetServiceInstance API asynchronously

func (*Client) GetServiceInstanceWithChan

func (client *Client) GetServiceInstanceWithChan(request *GetServiceInstanceRequest) (<-chan *GetServiceInstanceResponse, <-chan error)

GetServiceInstanceWithChan invokes the computenestsupplier.GetServiceInstance API asynchronously

func (*Client) ListArtifactVersions

func (client *Client) ListArtifactVersions(request *ListArtifactVersionsRequest) (response *ListArtifactVersionsResponse, err error)

ListArtifactVersions invokes the computenestsupplier.ListArtifactVersions API synchronously

func (*Client) ListArtifactVersionsWithCallback

func (client *Client) ListArtifactVersionsWithCallback(request *ListArtifactVersionsRequest, callback func(response *ListArtifactVersionsResponse, err error)) <-chan int

ListArtifactVersionsWithCallback invokes the computenestsupplier.ListArtifactVersions API asynchronously

func (*Client) ListArtifactVersionsWithChan

func (client *Client) ListArtifactVersionsWithChan(request *ListArtifactVersionsRequest) (<-chan *ListArtifactVersionsResponse, <-chan error)

ListArtifactVersionsWithChan invokes the computenestsupplier.ListArtifactVersions API asynchronously

func (*Client) ListArtifacts

func (client *Client) ListArtifacts(request *ListArtifactsRequest) (response *ListArtifactsResponse, err error)

ListArtifacts invokes the computenestsupplier.ListArtifacts API synchronously

func (*Client) ListArtifactsWithCallback

func (client *Client) ListArtifactsWithCallback(request *ListArtifactsRequest, callback func(response *ListArtifactsResponse, err error)) <-chan int

ListArtifactsWithCallback invokes the computenestsupplier.ListArtifacts API asynchronously

func (*Client) ListArtifactsWithChan

func (client *Client) ListArtifactsWithChan(request *ListArtifactsRequest) (<-chan *ListArtifactsResponse, <-chan error)

ListArtifactsWithChan invokes the computenestsupplier.ListArtifacts API asynchronously

func (*Client) ListServiceInstances

func (client *Client) ListServiceInstances(request *ListServiceInstancesRequest) (response *ListServiceInstancesResponse, err error)

ListServiceInstances invokes the computenestsupplier.ListServiceInstances API synchronously

func (*Client) ListServiceInstancesWithCallback

func (client *Client) ListServiceInstancesWithCallback(request *ListServiceInstancesRequest, callback func(response *ListServiceInstancesResponse, err error)) <-chan int

ListServiceInstancesWithCallback invokes the computenestsupplier.ListServiceInstances API asynchronously

func (*Client) ListServiceInstancesWithChan

func (client *Client) ListServiceInstancesWithChan(request *ListServiceInstancesRequest) (<-chan *ListServiceInstancesResponse, <-chan error)

ListServiceInstancesWithChan invokes the computenestsupplier.ListServiceInstances API asynchronously

func (*Client) ReleaseArtifact

func (client *Client) ReleaseArtifact(request *ReleaseArtifactRequest) (response *ReleaseArtifactResponse, err error)

ReleaseArtifact invokes the computenestsupplier.ReleaseArtifact API synchronously

func (*Client) ReleaseArtifactWithCallback

func (client *Client) ReleaseArtifactWithCallback(request *ReleaseArtifactRequest, callback func(response *ReleaseArtifactResponse, err error)) <-chan int

ReleaseArtifactWithCallback invokes the computenestsupplier.ReleaseArtifact API asynchronously

func (*Client) ReleaseArtifactWithChan

func (client *Client) ReleaseArtifactWithChan(request *ReleaseArtifactRequest) (<-chan *ReleaseArtifactResponse, <-chan error)

ReleaseArtifactWithChan invokes the computenestsupplier.ReleaseArtifact API asynchronously

func (*Client) UpdateArtifact

func (client *Client) UpdateArtifact(request *UpdateArtifactRequest) (response *UpdateArtifactResponse, err error)

UpdateArtifact invokes the computenestsupplier.UpdateArtifact API synchronously

func (*Client) UpdateArtifactWithCallback

func (client *Client) UpdateArtifactWithCallback(request *UpdateArtifactRequest, callback func(response *UpdateArtifactResponse, err error)) <-chan int

UpdateArtifactWithCallback invokes the computenestsupplier.UpdateArtifact API asynchronously

func (*Client) UpdateArtifactWithChan

func (client *Client) UpdateArtifactWithChan(request *UpdateArtifactRequest) (<-chan *UpdateArtifactResponse, <-chan error)

UpdateArtifactWithChan invokes the computenestsupplier.UpdateArtifact API asynchronously

type CreateArtifactRequest

type CreateArtifactRequest struct {
	*requests.RpcRequest
	Description      string    `position:"Query" name:"Description"`
	SupportRegionIds *[]string `position:"Query" name:"SupportRegionIds"  type:"Repeated"`
	ArtifactType     string    `position:"Query" name:"ArtifactType"`
	Name             string    `position:"Query" name:"Name"`
	ArtifactId       string    `position:"Query" name:"ArtifactId"`
	ArtifactProperty string    `position:"Query" name:"ArtifactProperty"`
	VersionName      string    `position:"Query" name:"VersionName"`
}

CreateArtifactRequest is the request struct for api CreateArtifact

func CreateCreateArtifactRequest

func CreateCreateArtifactRequest() (request *CreateArtifactRequest)

CreateCreateArtifactRequest creates a request to invoke CreateArtifact API

type CreateArtifactResponse

type CreateArtifactResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ArtifactId       string `json:"ArtifactId" xml:"ArtifactId"`
	ArtifactType     string `json:"ArtifactType" xml:"ArtifactType"`
	Name             string `json:"Name" xml:"Name"`
	VersionName      string `json:"VersionName" xml:"VersionName"`
	ArtifactVersion  string `json:"ArtifactVersion" xml:"ArtifactVersion"`
	Description      string `json:"Description" xml:"Description"`
	GmtModified      string `json:"GmtModified" xml:"GmtModified"`
	Status           string `json:"Status" xml:"Status"`
	MaxVersion       int64  `json:"MaxVersion" xml:"MaxVersion"`
	ArtifactProperty string `json:"ArtifactProperty" xml:"ArtifactProperty"`
	SupportRegionIds string `json:"SupportRegionIds" xml:"SupportRegionIds"`
}

CreateArtifactResponse is the response struct for api CreateArtifact

func CreateCreateArtifactResponse

func CreateCreateArtifactResponse() (response *CreateArtifactResponse)

CreateCreateArtifactResponse creates a response to parse from CreateArtifact response

type Credentials

type Credentials struct {
	Username        string `json:"Username" xml:"Username"`
	Password        string `json:"Password" xml:"Password"`
	AccessKeyId     string `json:"AccessKeyId" xml:"AccessKeyId"`
	AccessKeySecret string `json:"AccessKeySecret" xml:"AccessKeySecret"`
	SecurityToken   string `json:"SecurityToken" xml:"SecurityToken"`
}

Credentials is a nested struct in computenestsupplier response

type DeleteArtifactRequest

type DeleteArtifactRequest struct {
	*requests.RpcRequest
	ArtifactVersion string `position:"Query" name:"ArtifactVersion"`
	ArtifactId      string `position:"Query" name:"ArtifactId"`
}

DeleteArtifactRequest is the request struct for api DeleteArtifact

func CreateDeleteArtifactRequest

func CreateDeleteArtifactRequest() (request *DeleteArtifactRequest)

CreateDeleteArtifactRequest creates a request to invoke DeleteArtifact API

type DeleteArtifactResponse

type DeleteArtifactResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteArtifactResponse is the response struct for api DeleteArtifact

func CreateDeleteArtifactResponse

func CreateDeleteArtifactResponse() (response *DeleteArtifactResponse)

CreateDeleteArtifactResponse creates a response to parse from DeleteArtifact response

type GetArtifactRepositoryCredentialsRequest

type GetArtifactRepositoryCredentialsRequest struct {
	*requests.RpcRequest
	DeployRegionId string `position:"Query" name:"DeployRegionId"`
	ArtifactType   string `position:"Query" name:"ArtifactType"`
}

GetArtifactRepositoryCredentialsRequest is the request struct for api GetArtifactRepositoryCredentials

func CreateGetArtifactRepositoryCredentialsRequest

func CreateGetArtifactRepositoryCredentialsRequest() (request *GetArtifactRepositoryCredentialsRequest)

CreateGetArtifactRepositoryCredentialsRequest creates a request to invoke GetArtifactRepositoryCredentials API

type GetArtifactRepositoryCredentialsResponse

type GetArtifactRepositoryCredentialsResponse struct {
	*responses.BaseResponse
	RequestId          string                   `json:"RequestId" xml:"RequestId"`
	ExpireDate         string                   `json:"ExpireDate" xml:"ExpireDate"`
	Credentials        Credentials              `json:"Credentials" xml:"Credentials"`
	AvailableResources []AvailableResourcesItem `json:"AvailableResources" xml:"AvailableResources"`
}

GetArtifactRepositoryCredentialsResponse is the response struct for api GetArtifactRepositoryCredentials

func CreateGetArtifactRepositoryCredentialsResponse

func CreateGetArtifactRepositoryCredentialsResponse() (response *GetArtifactRepositoryCredentialsResponse)

CreateGetArtifactRepositoryCredentialsResponse creates a response to parse from GetArtifactRepositoryCredentials response

type GetArtifactRequest

type GetArtifactRequest struct {
	*requests.RpcRequest
	ArtifactVersion string `position:"Query" name:"ArtifactVersion"`
	ArtifactId      string `position:"Query" name:"ArtifactId"`
}

GetArtifactRequest is the request struct for api GetArtifact

func CreateGetArtifactRequest

func CreateGetArtifactRequest() (request *GetArtifactRequest)

CreateGetArtifactRequest creates a request to invoke GetArtifact API

type GetArtifactResponse

type GetArtifactResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ArtifactId       string `json:"ArtifactId" xml:"ArtifactId"`
	ArtifactType     string `json:"ArtifactType" xml:"ArtifactType"`
	Name             string `json:"Name" xml:"Name"`
	VersionName      string `json:"VersionName" xml:"VersionName"`
	ArtifactVersion  string `json:"ArtifactVersion" xml:"ArtifactVersion"`
	Description      string `json:"Description" xml:"Description"`
	GmtModified      string `json:"GmtModified" xml:"GmtModified"`
	Status           string `json:"Status" xml:"Status"`
	MaxVersion       int64  `json:"MaxVersion" xml:"MaxVersion"`
	ArtifactProperty string `json:"ArtifactProperty" xml:"ArtifactProperty"`
	SupportRegionIds string `json:"SupportRegionIds" xml:"SupportRegionIds"`
	Progress         string `json:"Progress" xml:"Progress"`
}

GetArtifactResponse is the response struct for api GetArtifact

func CreateGetArtifactResponse

func CreateGetArtifactResponse() (response *GetArtifactResponse)

CreateGetArtifactResponse creates a response to parse from GetArtifact response

type GetServiceInstanceRequest

type GetServiceInstanceRequest struct {
	*requests.RpcRequest
	ServiceInstanceId string `position:"Query" name:"ServiceInstanceId"`
}

GetServiceInstanceRequest is the request struct for api GetServiceInstance

func CreateGetServiceInstanceRequest

func CreateGetServiceInstanceRequest() (request *GetServiceInstanceRequest)

CreateGetServiceInstanceRequest creates a request to invoke GetServiceInstance API

type GetServiceInstanceResponse

type GetServiceInstanceResponse struct {
	*responses.BaseResponse
	Status                    string        `json:"Status" xml:"Status"`
	TemplateName              string        `json:"TemplateName" xml:"TemplateName"`
	UpdateTime                string        `json:"UpdateTime" xml:"UpdateTime"`
	RequestId                 string        `json:"RequestId" xml:"RequestId"`
	ServiceInstanceId         string        `json:"ServiceInstanceId" xml:"ServiceInstanceId"`
	CreateTime                string        `json:"CreateTime" xml:"CreateTime"`
	UserId                    int64         `json:"UserId" xml:"UserId"`
	SupplierUid               int64         `json:"SupplierUid" xml:"SupplierUid"`
	Parameters                string        `json:"Parameters" xml:"Parameters"`
	Progress                  int64         `json:"Progress" xml:"Progress"`
	StatusDetail              string        `json:"StatusDetail" xml:"StatusDetail"`
	OperationStartTime        string        `json:"OperationStartTime" xml:"OperationStartTime"`
	OperationEndTime          string        `json:"OperationEndTime" xml:"OperationEndTime"`
	OperatedServiceInstanceId string        `json:"OperatedServiceInstanceId" xml:"OperatedServiceInstanceId"`
	IsOperated                bool          `json:"IsOperated" xml:"IsOperated"`
	EnableInstanceOps         bool          `json:"EnableInstanceOps" xml:"EnableInstanceOps"`
	Resources                 string        `json:"Resources" xml:"Resources"`
	Outputs                   string        `json:"Outputs" xml:"Outputs"`
	EndTime                   string        `json:"EndTime" xml:"EndTime"`
	Source                    string        `json:"Source" xml:"Source"`
	ServiceType               string        `json:"ServiceType" xml:"ServiceType"`
	PayType                   string        `json:"PayType" xml:"PayType"`
	LicenseMetadata           string        `json:"LicenseMetadata" xml:"LicenseMetadata"`
	Name                      string        `json:"Name" xml:"Name"`
	Service                   Service       `json:"Service" xml:"Service"`
	NetworkConfig             NetworkConfig `json:"NetworkConfig" xml:"NetworkConfig"`
	Tags                      []Tag         `json:"Tags" xml:"Tags"`
}

GetServiceInstanceResponse is the response struct for api GetServiceInstance

func CreateGetServiceInstanceResponse

func CreateGetServiceInstanceResponse() (response *GetServiceInstanceResponse)

CreateGetServiceInstanceResponse creates a response to parse from GetServiceInstance response

type ListArtifactVersionsRequest

type ListArtifactVersionsRequest struct {
	*requests.RpcRequest
	NextToken  string `position:"Query" name:"NextToken"`
	MaxResult  string `position:"Query" name:"MaxResult"`
	ArtifactId string `position:"Query" name:"ArtifactId"`
}

ListArtifactVersionsRequest is the request struct for api ListArtifactVersions

func CreateListArtifactVersionsRequest

func CreateListArtifactVersionsRequest() (request *ListArtifactVersionsRequest)

CreateListArtifactVersionsRequest creates a request to invoke ListArtifactVersions API

type ListArtifactVersionsResponse

type ListArtifactVersionsResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	NextToken  string     `json:"NextToken" xml:"NextToken"`
	MaxResults string     `json:"MaxResults" xml:"MaxResults"`
	TotalCount string     `json:"TotalCount" xml:"TotalCount"`
	Artifacts  []Artifact `json:"Artifacts" xml:"Artifacts"`
}

ListArtifactVersionsResponse is the response struct for api ListArtifactVersions

func CreateListArtifactVersionsResponse

func CreateListArtifactVersionsResponse() (response *ListArtifactVersionsResponse)

CreateListArtifactVersionsResponse creates a response to parse from ListArtifactVersions response

type ListArtifactsFilter

type ListArtifactsFilter struct {
	Values *[]string `name:"Values" type:"Repeated"`
	Name   string    `name:"Name"`
}

ListArtifactsFilter is a repeated param struct in ListArtifactsRequest

type ListArtifactsRequest

type ListArtifactsRequest struct {
	*requests.RpcRequest
	NextToken  string                 `position:"Query" name:"NextToken"`
	Filter     *[]ListArtifactsFilter `position:"Query" name:"Filter"  type:"Repeated"`
	MaxResults string                 `position:"Query" name:"MaxResults"`
}

ListArtifactsRequest is the request struct for api ListArtifacts

func CreateListArtifactsRequest

func CreateListArtifactsRequest() (request *ListArtifactsRequest)

CreateListArtifactsRequest creates a request to invoke ListArtifacts API

type ListArtifactsResponse

type ListArtifactsResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	NextToken  string     `json:"NextToken" xml:"NextToken"`
	MaxResults string     `json:"MaxResults" xml:"MaxResults"`
	TotalCount string     `json:"TotalCount" xml:"TotalCount"`
	Artifacts  []Artifact `json:"Artifacts" xml:"Artifacts"`
}

ListArtifactsResponse is the response struct for api ListArtifacts

func CreateListArtifactsResponse

func CreateListArtifactsResponse() (response *ListArtifactsResponse)

CreateListArtifactsResponse creates a response to parse from ListArtifacts response

type ListServiceInstancesFilter

type ListServiceInstancesFilter struct {
	Name  string    `name:"Name"`
	Value *[]string `name:"Value" type:"Repeated"`
}

ListServiceInstancesFilter is a repeated param struct in ListServiceInstancesRequest

type ListServiceInstancesRequest

type ListServiceInstancesRequest struct {
	*requests.RpcRequest
	NextToken  string                        `position:"Query" name:"NextToken"`
	Tag        *[]ListServiceInstancesTag    `position:"Query" name:"Tag"  type:"Repeated"`
	Filter     *[]ListServiceInstancesFilter `position:"Query" name:"Filter"  type:"Repeated"`
	MaxResults string                        `position:"Query" name:"MaxResults"`
}

ListServiceInstancesRequest is the request struct for api ListServiceInstances

func CreateListServiceInstancesRequest

func CreateListServiceInstancesRequest() (request *ListServiceInstancesRequest)

CreateListServiceInstancesRequest creates a request to invoke ListServiceInstances API

type ListServiceInstancesResponse

type ListServiceInstancesResponse struct {
	*responses.BaseResponse
	NextToken        string            `json:"NextToken" xml:"NextToken"`
	RequestId        string            `json:"RequestId" xml:"RequestId"`
	TotalCount       int               `json:"TotalCount" xml:"TotalCount"`
	MaxResults       string            `json:"MaxResults" xml:"MaxResults"`
	ServiceInstances []ServiceInstance `json:"ServiceInstances" xml:"ServiceInstances"`
}

ListServiceInstancesResponse is the response struct for api ListServiceInstances

func CreateListServiceInstancesResponse

func CreateListServiceInstancesResponse() (response *ListServiceInstancesResponse)

CreateListServiceInstancesResponse creates a response to parse from ListServiceInstances response

type ListServiceInstancesTag

type ListServiceInstancesTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

ListServiceInstancesTag is a repeated param struct in ListServiceInstancesRequest

type NetworkConfig

type NetworkConfig struct {
	EndpointServiceId            string                        `json:"EndpointServiceId" xml:"EndpointServiceId"`
	EndpointId                   string                        `json:"EndpointId" xml:"EndpointId"`
	PrivateVpcConnections        []PrivateVpcConnection        `json:"PrivateVpcConnections" xml:"PrivateVpcConnections"`
	ReversePrivateVpcConnections []ReversePrivateVpcConnection `json:"ReversePrivateVpcConnections" xml:"ReversePrivateVpcConnections"`
}

NetworkConfig is a nested struct in computenestsupplier response

type PrivateVpcConnection

type PrivateVpcConnection struct {
	EndpointId        string `json:"EndpointId" xml:"EndpointId"`
	EndpointServiceId string `json:"EndpointServiceId" xml:"EndpointServiceId"`
}

PrivateVpcConnection is a nested struct in computenestsupplier response

type PrivateVpcConnections

type PrivateVpcConnections struct {
	PrivateVpcConnection []PrivateVpcConnection `json:"PrivateVpcConnection" xml:"PrivateVpcConnection"`
}

PrivateVpcConnections is a nested struct in computenestsupplier response

type ReleaseArtifactRequest

type ReleaseArtifactRequest struct {
	*requests.RpcRequest
	ArtifactId string `position:"Query" name:"ArtifactId"`
}

ReleaseArtifactRequest is the request struct for api ReleaseArtifact

func CreateReleaseArtifactRequest

func CreateReleaseArtifactRequest() (request *ReleaseArtifactRequest)

CreateReleaseArtifactRequest creates a request to invoke ReleaseArtifact API

type ReleaseArtifactResponse

type ReleaseArtifactResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ArtifactId       string `json:"ArtifactId" xml:"ArtifactId"`
	ArtifactType     string `json:"ArtifactType" xml:"ArtifactType"`
	VersionName      string `json:"VersionName" xml:"VersionName"`
	ArtifactVersion  string `json:"ArtifactVersion" xml:"ArtifactVersion"`
	Description      string `json:"Description" xml:"Description"`
	GmtModified      string `json:"GmtModified" xml:"GmtModified"`
	Status           string `json:"Status" xml:"Status"`
	ArtifactProperty string `json:"ArtifactProperty" xml:"ArtifactProperty"`
}

ReleaseArtifactResponse is the response struct for api ReleaseArtifact

func CreateReleaseArtifactResponse

func CreateReleaseArtifactResponse() (response *ReleaseArtifactResponse)

CreateReleaseArtifactResponse creates a response to parse from ReleaseArtifact response

type ReversePrivateVpcConnection

type ReversePrivateVpcConnection struct {
	EndpointId        string `json:"EndpointId" xml:"EndpointId"`
	EndpointServiceId string `json:"EndpointServiceId" xml:"EndpointServiceId"`
}

ReversePrivateVpcConnection is a nested struct in computenestsupplier response

type ReversePrivateVpcConnections

type ReversePrivateVpcConnections struct {
	ReversePrivateVpcConnection []ReversePrivateVpcConnection `json:"ReversePrivateVpcConnection" xml:"ReversePrivateVpcConnection"`
}

ReversePrivateVpcConnections is a nested struct in computenestsupplier response

type Service

type Service struct {
	VersionName       string        `json:"VersionName" xml:"VersionName"`
	SupplierUrl       string        `json:"SupplierUrl" xml:"SupplierUrl"`
	Version           string        `json:"Version" xml:"Version"`
	DeployType        string        `json:"DeployType" xml:"DeployType"`
	DeployMetadata    string        `json:"DeployMetadata" xml:"DeployMetadata"`
	ServiceId         string        `json:"ServiceId" xml:"ServiceId"`
	ServiceProductUrl string        `json:"ServiceProductUrl" xml:"ServiceProductUrl"`
	ServiceDocUrl     string        `json:"ServiceDocUrl" xml:"ServiceDocUrl"`
	SupplierName      string        `json:"SupplierName" xml:"SupplierName"`
	Status            string        `json:"Status" xml:"Status"`
	PublishTime       string        `json:"PublishTime" xml:"PublishTime"`
	ServiceType       string        `json:"ServiceType" xml:"ServiceType"`
	ServiceInfos      []ServiceInfo `json:"ServiceInfos" xml:"ServiceInfos"`
}

Service is a nested struct in computenestsupplier response

type ServiceInfo

type ServiceInfo struct {
	Name             string `json:"Name" xml:"Name"`
	ShortDescription string `json:"ShortDescription" xml:"ShortDescription"`
	Image            string `json:"Image" xml:"Image"`
	Locale           string `json:"Locale" xml:"Locale"`
}

ServiceInfo is a nested struct in computenestsupplier response

type ServiceInfosInGetServiceInstance

type ServiceInfosInGetServiceInstance struct {
	ServiceInfo []ServiceInfo `json:"ServiceInfo" xml:"ServiceInfo"`
}

ServiceInfosInGetServiceInstance is a nested struct in computenestsupplier response

type ServiceInfosInListServiceInstances

type ServiceInfosInListServiceInstances struct {
	ServiceInfo []ServiceInfo `json:"ServiceInfo" xml:"ServiceInfo"`
}

ServiceInfosInListServiceInstances is a nested struct in computenestsupplier response

type ServiceInstance

type ServiceInstance struct {
	Status                    string  `json:"Status" xml:"Status"`
	UpdateTime                string  `json:"UpdateTime" xml:"UpdateTime"`
	Name                      string  `json:"Name" xml:"Name"`
	ServiceInstanceId         string  `json:"ServiceInstanceId" xml:"ServiceInstanceId"`
	CreateTime                string  `json:"CreateTime" xml:"CreateTime"`
	UserId                    int64   `json:"UserId" xml:"UserId"`
	Parameters                string  `json:"Parameters" xml:"Parameters"`
	Progress                  int64   `json:"Progress" xml:"Progress"`
	StatusDetail              string  `json:"StatusDetail" xml:"StatusDetail"`
	TemplateName              string  `json:"TemplateName" xml:"TemplateName"`
	OperatedServiceInstanceId string  `json:"OperatedServiceInstanceId" xml:"OperatedServiceInstanceId"`
	OperationStartTime        string  `json:"OperationStartTime" xml:"OperationStartTime"`
	OperationEndTime          string  `json:"OperationEndTime" xml:"OperationEndTime"`
	EnableInstanceOps         bool    `json:"EnableInstanceOps" xml:"EnableInstanceOps"`
	Source                    string  `json:"Source" xml:"Source"`
	EndTime                   string  `json:"EndTime" xml:"EndTime"`
	ServiceType               string  `json:"ServiceType" xml:"ServiceType"`
	PayType                   string  `json:"PayType" xml:"PayType"`
	Service                   Service `json:"Service" xml:"Service"`
	Tags                      []Tag   `json:"Tags" xml:"Tags"`
}

ServiceInstance is a nested struct in computenestsupplier response

type ServiceInstances

type ServiceInstances struct {
	ServiceInstance []ServiceInstance `json:"ServiceInstance" xml:"ServiceInstance"`
}

ServiceInstances is a nested struct in computenestsupplier response

type Tag

type Tag struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

Tag is a nested struct in computenestsupplier response

type TagsInGetServiceInstance

type TagsInGetServiceInstance struct {
	Tag []Tag `json:"Tag" xml:"Tag"`
}

TagsInGetServiceInstance is a nested struct in computenestsupplier response

type TagsInListServiceInstances

type TagsInListServiceInstances struct {
	Tag []Tag `json:"Tag" xml:"Tag"`
}

TagsInListServiceInstances is a nested struct in computenestsupplier response

type UpdateArtifactRequest

type UpdateArtifactRequest struct {
	*requests.RpcRequest
	Description      string    `position:"Query" name:"Description"`
	SupportRegionIds *[]string `position:"Query" name:"SupportRegionIds"  type:"Repeated"`
	ArtifactId       string    `position:"Query" name:"ArtifactId"`
	ArtifactProperty string    `position:"Query" name:"ArtifactProperty"`
	VersionName      string    `position:"Query" name:"VersionName"`
}

UpdateArtifactRequest is the request struct for api UpdateArtifact

func CreateUpdateArtifactRequest

func CreateUpdateArtifactRequest() (request *UpdateArtifactRequest)

CreateUpdateArtifactRequest creates a request to invoke UpdateArtifact API

type UpdateArtifactResponse

type UpdateArtifactResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ArtifactId       string `json:"ArtifactId" xml:"ArtifactId"`
	ArtifactType     string `json:"ArtifactType" xml:"ArtifactType"`
	VersionName      string `json:"VersionName" xml:"VersionName"`
	ArtifactVersion  string `json:"ArtifactVersion" xml:"ArtifactVersion"`
	Description      string `json:"Description" xml:"Description"`
	GmtModified      string `json:"GmtModified" xml:"GmtModified"`
	Status           string `json:"Status" xml:"Status"`
	ArtifactProperty string `json:"ArtifactProperty" xml:"ArtifactProperty"`
	SupportRegionIds string `json:"SupportRegionIds" xml:"SupportRegionIds"`
}

UpdateArtifactResponse is the response struct for api UpdateArtifact

func CreateUpdateArtifactResponse

func CreateUpdateArtifactResponse() (response *UpdateArtifactResponse)

CreateUpdateArtifactResponse creates a response to parse from UpdateArtifact response

Jump to

Keyboard shortcuts

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