eci

package
v1.62.226 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (client *Client) CreateContainerGroup(request *CreateContainerGroupRequest) (response *CreateContainerGroupResponse, err error)

CreateContainerGroup invokes the eci.CreateContainerGroup API synchronously api document: https://help.aliyun.com/api/eci/createcontainergroup.html

func (*Client) CreateContainerGroupFromTemplate

func (client *Client) CreateContainerGroupFromTemplate(request *CreateContainerGroupFromTemplateRequest) (response *CreateContainerGroupFromTemplateResponse, err error)

CreateContainerGroupFromTemplate invokes the eci.CreateContainerGroupFromTemplate API synchronously api document: https://help.aliyun.com/api/eci/createcontainergroupfromtemplate.html

func (*Client) CreateContainerGroupFromTemplateWithCallback

func (client *Client) CreateContainerGroupFromTemplateWithCallback(request *CreateContainerGroupFromTemplateRequest, callback func(response *CreateContainerGroupFromTemplateResponse, err error)) <-chan int

CreateContainerGroupFromTemplateWithCallback invokes the eci.CreateContainerGroupFromTemplate API asynchronously api document: https://help.aliyun.com/api/eci/createcontainergroupfromtemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateContainerGroupFromTemplateWithChan

func (client *Client) CreateContainerGroupFromTemplateWithChan(request *CreateContainerGroupFromTemplateRequest) (<-chan *CreateContainerGroupFromTemplateResponse, <-chan error)

CreateContainerGroupFromTemplateWithChan invokes the eci.CreateContainerGroupFromTemplate API asynchronously api document: https://help.aliyun.com/api/eci/createcontainergroupfromtemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateContainerGroupWithCallback

func (client *Client) CreateContainerGroupWithCallback(request *CreateContainerGroupRequest, callback func(response *CreateContainerGroupResponse, err error)) <-chan int

CreateContainerGroupWithCallback invokes the eci.CreateContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/createcontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateContainerGroupWithChan

func (client *Client) CreateContainerGroupWithChan(request *CreateContainerGroupRequest) (<-chan *CreateContainerGroupResponse, <-chan error)

CreateContainerGroupWithChan invokes the eci.CreateContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/createcontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateImageCache added in v1.61.50

func (client *Client) CreateImageCache(request *CreateImageCacheRequest) (response *CreateImageCacheResponse, err error)

CreateImageCache invokes the eci.CreateImageCache API synchronously api document: https://help.aliyun.com/api/eci/createimagecache.html

func (*Client) CreateImageCacheWithCallback added in v1.61.50

func (client *Client) CreateImageCacheWithCallback(request *CreateImageCacheRequest, callback func(response *CreateImageCacheResponse, err error)) <-chan int

CreateImageCacheWithCallback invokes the eci.CreateImageCache API asynchronously api document: https://help.aliyun.com/api/eci/createimagecache.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateImageCacheWithChan added in v1.61.50

func (client *Client) CreateImageCacheWithChan(request *CreateImageCacheRequest) (<-chan *CreateImageCacheResponse, <-chan error)

CreateImageCacheWithChan invokes the eci.CreateImageCache API asynchronously api document: https://help.aliyun.com/api/eci/createimagecache.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteContainerGroup

func (client *Client) DeleteContainerGroup(request *DeleteContainerGroupRequest) (response *DeleteContainerGroupResponse, err error)

DeleteContainerGroup invokes the eci.DeleteContainerGroup API synchronously api document: https://help.aliyun.com/api/eci/deletecontainergroup.html

func (*Client) DeleteContainerGroupWithCallback

func (client *Client) DeleteContainerGroupWithCallback(request *DeleteContainerGroupRequest, callback func(response *DeleteContainerGroupResponse, err error)) <-chan int

DeleteContainerGroupWithCallback invokes the eci.DeleteContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/deletecontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteContainerGroupWithChan

func (client *Client) DeleteContainerGroupWithChan(request *DeleteContainerGroupRequest) (<-chan *DeleteContainerGroupResponse, <-chan error)

DeleteContainerGroupWithChan invokes the eci.DeleteContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/deletecontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteImageCache added in v1.61.50

func (client *Client) DeleteImageCache(request *DeleteImageCacheRequest) (response *DeleteImageCacheResponse, err error)

DeleteImageCache invokes the eci.DeleteImageCache API synchronously api document: https://help.aliyun.com/api/eci/deleteimagecache.html

func (*Client) DeleteImageCacheWithCallback added in v1.61.50

func (client *Client) DeleteImageCacheWithCallback(request *DeleteImageCacheRequest, callback func(response *DeleteImageCacheResponse, err error)) <-chan int

DeleteImageCacheWithCallback invokes the eci.DeleteImageCache API asynchronously api document: https://help.aliyun.com/api/eci/deleteimagecache.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteImageCacheWithChan added in v1.61.50

func (client *Client) DeleteImageCacheWithChan(request *DeleteImageCacheRequest) (<-chan *DeleteImageCacheResponse, <-chan error)

DeleteImageCacheWithChan invokes the eci.DeleteImageCache API asynchronously api document: https://help.aliyun.com/api/eci/deleteimagecache.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroupMetric

func (client *Client) DescribeContainerGroupMetric(request *DescribeContainerGroupMetricRequest) (response *DescribeContainerGroupMetricResponse, err error)

DescribeContainerGroupMetric invokes the eci.DescribeContainerGroupMetric API synchronously api document: https://help.aliyun.com/api/eci/describecontainergroupmetric.html

func (*Client) DescribeContainerGroupMetricWithCallback

func (client *Client) DescribeContainerGroupMetricWithCallback(request *DescribeContainerGroupMetricRequest, callback func(response *DescribeContainerGroupMetricResponse, err error)) <-chan int

DescribeContainerGroupMetricWithCallback invokes the eci.DescribeContainerGroupMetric API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroupmetric.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroupMetricWithChan

func (client *Client) DescribeContainerGroupMetricWithChan(request *DescribeContainerGroupMetricRequest) (<-chan *DescribeContainerGroupMetricResponse, <-chan error)

DescribeContainerGroupMetricWithChan invokes the eci.DescribeContainerGroupMetric API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroupmetric.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroupPrice

func (client *Client) DescribeContainerGroupPrice(request *DescribeContainerGroupPriceRequest) (response *DescribeContainerGroupPriceResponse, err error)

DescribeContainerGroupPrice invokes the eci.DescribeContainerGroupPrice API synchronously api document: https://help.aliyun.com/api/eci/describecontainergroupprice.html

func (*Client) DescribeContainerGroupPriceWithCallback

func (client *Client) DescribeContainerGroupPriceWithCallback(request *DescribeContainerGroupPriceRequest, callback func(response *DescribeContainerGroupPriceResponse, err error)) <-chan int

DescribeContainerGroupPriceWithCallback invokes the eci.DescribeContainerGroupPrice API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroupprice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroupPriceWithChan

func (client *Client) DescribeContainerGroupPriceWithChan(request *DescribeContainerGroupPriceRequest) (<-chan *DescribeContainerGroupPriceResponse, <-chan error)

DescribeContainerGroupPriceWithChan invokes the eci.DescribeContainerGroupPrice API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroupprice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroups

func (client *Client) DescribeContainerGroups(request *DescribeContainerGroupsRequest) (response *DescribeContainerGroupsResponse, err error)

DescribeContainerGroups invokes the eci.DescribeContainerGroups API synchronously api document: https://help.aliyun.com/api/eci/describecontainergroups.html

func (*Client) DescribeContainerGroupsWithCallback

func (client *Client) DescribeContainerGroupsWithCallback(request *DescribeContainerGroupsRequest, callback func(response *DescribeContainerGroupsResponse, err error)) <-chan int

DescribeContainerGroupsWithCallback invokes the eci.DescribeContainerGroups API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerGroupsWithChan

func (client *Client) DescribeContainerGroupsWithChan(request *DescribeContainerGroupsRequest) (<-chan *DescribeContainerGroupsResponse, <-chan error)

DescribeContainerGroupsWithChan invokes the eci.DescribeContainerGroups API asynchronously api document: https://help.aliyun.com/api/eci/describecontainergroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerLog

func (client *Client) DescribeContainerLog(request *DescribeContainerLogRequest) (response *DescribeContainerLogResponse, err error)

DescribeContainerLog invokes the eci.DescribeContainerLog API synchronously api document: https://help.aliyun.com/api/eci/describecontainerlog.html

func (*Client) DescribeContainerLogWithCallback

func (client *Client) DescribeContainerLogWithCallback(request *DescribeContainerLogRequest, callback func(response *DescribeContainerLogResponse, err error)) <-chan int

DescribeContainerLogWithCallback invokes the eci.DescribeContainerLog API asynchronously api document: https://help.aliyun.com/api/eci/describecontainerlog.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeContainerLogWithChan

func (client *Client) DescribeContainerLogWithChan(request *DescribeContainerLogRequest) (<-chan *DescribeContainerLogResponse, <-chan error)

DescribeContainerLogWithChan invokes the eci.DescribeContainerLog API asynchronously api document: https://help.aliyun.com/api/eci/describecontainerlog.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeImageCaches added in v1.61.50

func (client *Client) DescribeImageCaches(request *DescribeImageCachesRequest) (response *DescribeImageCachesResponse, err error)

DescribeImageCaches invokes the eci.DescribeImageCaches API synchronously api document: https://help.aliyun.com/api/eci/describeimagecaches.html

func (*Client) DescribeImageCachesWithCallback added in v1.61.50

func (client *Client) DescribeImageCachesWithCallback(request *DescribeImageCachesRequest, callback func(response *DescribeImageCachesResponse, err error)) <-chan int

DescribeImageCachesWithCallback invokes the eci.DescribeImageCaches API asynchronously api document: https://help.aliyun.com/api/eci/describeimagecaches.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeImageCachesWithChan added in v1.61.50

func (client *Client) DescribeImageCachesWithChan(request *DescribeImageCachesRequest) (<-chan *DescribeImageCachesResponse, <-chan error)

DescribeImageCachesWithChan invokes the eci.DescribeImageCaches API asynchronously api document: https://help.aliyun.com/api/eci/describeimagecaches.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeMultiContainerGroupMetric

func (client *Client) DescribeMultiContainerGroupMetric(request *DescribeMultiContainerGroupMetricRequest) (response *DescribeMultiContainerGroupMetricResponse, err error)

DescribeMultiContainerGroupMetric invokes the eci.DescribeMultiContainerGroupMetric API synchronously api document: https://help.aliyun.com/api/eci/describemulticontainergroupmetric.html

func (*Client) DescribeMultiContainerGroupMetricWithCallback

func (client *Client) DescribeMultiContainerGroupMetricWithCallback(request *DescribeMultiContainerGroupMetricRequest, callback func(response *DescribeMultiContainerGroupMetricResponse, err error)) <-chan int

DescribeMultiContainerGroupMetricWithCallback invokes the eci.DescribeMultiContainerGroupMetric API asynchronously api document: https://help.aliyun.com/api/eci/describemulticontainergroupmetric.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeMultiContainerGroupMetricWithChan

func (client *Client) DescribeMultiContainerGroupMetricWithChan(request *DescribeMultiContainerGroupMetricRequest) (<-chan *DescribeMultiContainerGroupMetricResponse, <-chan error)

DescribeMultiContainerGroupMetricWithChan invokes the eci.DescribeMultiContainerGroupMetric API asynchronously api document: https://help.aliyun.com/api/eci/describemulticontainergroupmetric.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegions added in v1.61.50

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the eci.DescribeRegions API synchronously api document: https://help.aliyun.com/api/eci/describeregions.html

func (*Client) DescribeRegionsWithCallback added in v1.61.50

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the eci.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/eci/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegionsWithChan added in v1.61.50

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the eci.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/eci/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExecContainerCommand

func (client *Client) ExecContainerCommand(request *ExecContainerCommandRequest) (response *ExecContainerCommandResponse, err error)

ExecContainerCommand invokes the eci.ExecContainerCommand API synchronously api document: https://help.aliyun.com/api/eci/execcontainercommand.html

func (*Client) ExecContainerCommandWithCallback

func (client *Client) ExecContainerCommandWithCallback(request *ExecContainerCommandRequest, callback func(response *ExecContainerCommandResponse, err error)) <-chan int

ExecContainerCommandWithCallback invokes the eci.ExecContainerCommand API asynchronously api document: https://help.aliyun.com/api/eci/execcontainercommand.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExecContainerCommandWithChan

func (client *Client) ExecContainerCommandWithChan(request *ExecContainerCommandRequest) (<-chan *ExecContainerCommandResponse, <-chan error)

ExecContainerCommandWithChan invokes the eci.ExecContainerCommand API asynchronously api document: https://help.aliyun.com/api/eci/execcontainercommand.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExportContainerGroupTemplate

func (client *Client) ExportContainerGroupTemplate(request *ExportContainerGroupTemplateRequest) (response *ExportContainerGroupTemplateResponse, err error)

ExportContainerGroupTemplate invokes the eci.ExportContainerGroupTemplate API synchronously api document: https://help.aliyun.com/api/eci/exportcontainergrouptemplate.html

func (*Client) ExportContainerGroupTemplateWithCallback

func (client *Client) ExportContainerGroupTemplateWithCallback(request *ExportContainerGroupTemplateRequest, callback func(response *ExportContainerGroupTemplateResponse, err error)) <-chan int

ExportContainerGroupTemplateWithCallback invokes the eci.ExportContainerGroupTemplate API asynchronously api document: https://help.aliyun.com/api/eci/exportcontainergrouptemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExportContainerGroupTemplateWithChan

func (client *Client) ExportContainerGroupTemplateWithChan(request *ExportContainerGroupTemplateRequest) (<-chan *ExportContainerGroupTemplateResponse, <-chan error)

ExportContainerGroupTemplateWithChan invokes the eci.ExportContainerGroupTemplate API asynchronously api document: https://help.aliyun.com/api/eci/exportcontainergrouptemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RestartContainerGroup

func (client *Client) RestartContainerGroup(request *RestartContainerGroupRequest) (response *RestartContainerGroupResponse, err error)

RestartContainerGroup invokes the eci.RestartContainerGroup API synchronously api document: https://help.aliyun.com/api/eci/restartcontainergroup.html

func (*Client) RestartContainerGroupWithCallback

func (client *Client) RestartContainerGroupWithCallback(request *RestartContainerGroupRequest, callback func(response *RestartContainerGroupResponse, err error)) <-chan int

RestartContainerGroupWithCallback invokes the eci.RestartContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/restartcontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RestartContainerGroupWithChan

func (client *Client) RestartContainerGroupWithChan(request *RestartContainerGroupRequest) (<-chan *RestartContainerGroupResponse, <-chan error)

RestartContainerGroupWithChan invokes the eci.RestartContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/restartcontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateContainerGroup

func (client *Client) UpdateContainerGroup(request *UpdateContainerGroupRequest) (response *UpdateContainerGroupResponse, err error)

UpdateContainerGroup invokes the eci.UpdateContainerGroup API synchronously api document: https://help.aliyun.com/api/eci/updatecontainergroup.html

func (*Client) UpdateContainerGroupByTemplate

func (client *Client) UpdateContainerGroupByTemplate(request *UpdateContainerGroupByTemplateRequest) (response *UpdateContainerGroupByTemplateResponse, err error)

UpdateContainerGroupByTemplate invokes the eci.UpdateContainerGroupByTemplate API synchronously api document: https://help.aliyun.com/api/eci/updatecontainergroupbytemplate.html

func (*Client) UpdateContainerGroupByTemplateWithCallback

func (client *Client) UpdateContainerGroupByTemplateWithCallback(request *UpdateContainerGroupByTemplateRequest, callback func(response *UpdateContainerGroupByTemplateResponse, err error)) <-chan int

UpdateContainerGroupByTemplateWithCallback invokes the eci.UpdateContainerGroupByTemplate API asynchronously api document: https://help.aliyun.com/api/eci/updatecontainergroupbytemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateContainerGroupByTemplateWithChan

func (client *Client) UpdateContainerGroupByTemplateWithChan(request *UpdateContainerGroupByTemplateRequest) (<-chan *UpdateContainerGroupByTemplateResponse, <-chan error)

UpdateContainerGroupByTemplateWithChan invokes the eci.UpdateContainerGroupByTemplate API asynchronously api document: https://help.aliyun.com/api/eci/updatecontainergroupbytemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateContainerGroupWithCallback

func (client *Client) UpdateContainerGroupWithCallback(request *UpdateContainerGroupRequest, callback func(response *UpdateContainerGroupResponse, err error)) <-chan int

UpdateContainerGroupWithCallback invokes the eci.UpdateContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/updatecontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateContainerGroupWithChan

func (client *Client) UpdateContainerGroupWithChan(request *UpdateContainerGroupRequest) (<-chan *UpdateContainerGroupResponse, <-chan error)

UpdateContainerGroupWithChan invokes the eci.UpdateContainerGroup API asynchronously api document: https://help.aliyun.com/api/eci/updatecontainergroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateContainerGroupArn

type CreateContainerGroupArn struct {
	RoleArn       string `name:"RoleArn"`
	RoleType      string `name:"RoleType"`
	AssumeRoleFor string `name:"AssumeRoleFor"`
}

type CreateContainerGroupConfigFileToPath

type CreateContainerGroupConfigFileToPath struct {
	Content string           `name:"Content"`
	Path    string           `name:"Path"`
	Mode    requests.Integer `name:"Mode"`
}

type CreateContainerGroupConfigFileVolume

type CreateContainerGroupConfigFileVolume struct {
	ConfigFileToPath *[]CreateContainerGroupConfigFileToPath `name:"ConfigFileToPath"`
	DefaultModel     requests.Integer                        `name:"DefaultModel"`
}

type CreateContainerGroupContainer

type CreateContainerGroupContainer struct {
	Image                                      string                                                            `name:"Image"`
	Name                                       string                                                            `name:"Name"`
	Cpu                                        requests.Float                                                    `name:"Cpu"`
	Memory                                     requests.Float                                                    `name:"Memory"`
	WorkingDir                                 string                                                            `name:"WorkingDir"`
	ImagePullPolicy                            string                                                            `name:"ImagePullPolicy"`
	Command                                    []string                                                          `name:"Command" type:"Repeated"`
	Arg                                        []string                                                          `name:"Arg" type:"Repeated"`
	VolumeMount                                *[]CreateContainerGroupVolumeMount                                `name:"VolumeMount" type:"Repeated"`
	Port                                       *[]CreateContainerGroupPort                                       `name:"Port" type:"Repeated"`
	EnvironmentVar                             *[]CreateContainerGroupEnvironmentVar                             `name:"EnvironmentVar" type:"Repeated"`
	Stdin                                      requests.Boolean                                                  `name:"Stdin"`
	StdinOnce                                  requests.Boolean                                                  `name:"StdinOnce"`
	Tty                                        requests.Boolean                                                  `name:"Tty"`
	Gpu                                        requests.Integer                                                  `name:"Gpu"`
	LifecyclePostStartHandlerHttpGetHost       string                                                            `name:"LifecyclePostStartHandlerHttpGetHost"`
	LifecyclePostStartHandlerHttpGetPort       requests.Integer                                                  `name:"LifecyclePostStartHandlerHttpGetPort"`
	LifecyclePostStartHandlerHttpGetPath       string                                                            `name:"LifecyclePostStartHandlerHttpGetPath"`
	LifecyclePostStartHandlerHttpGetScheme     string                                                            `name:"LifecyclePostStartHandlerHttpGetScheme"`
	LifecyclePostStartHandlerHttpGetHttpHeader *[]CreateContainerGroupLifecyclePostStartHandlerHttpGetHttpHeader `name:"LifecyclePostStartHandlerHttpGetHttpHeader" type:"Repeated"`
	LifecyclePostStartHandlerExec              []string                                                          `name:"LifecyclePostStartHandlerExec" type:"Repeated"`
	LifecyclePostStartHandlerTcpSocketHost     string                                                            `name:"LifecyclePostStartHandlerTcpSocketHost"`
	LifecyclePostStartHandlerTcpSocketPort     requests.Integer                                                  `name:"LifecyclePostStartHandlerTcpSocketPort"`
	LifecyclePreStopHandlerHttpGetHost         string                                                            `name:"LifecyclePreStopHandlerHttpGetHost"`
	LifecyclePreStopHandlerHttpGetPort         requests.Integer                                                  `name:"LifecyclePreStopHandlerHttpGetPort"`
	LifecyclePreStopHandlerHttpGetPath         string                                                            `name:"LifecyclePreStopHandlerHttpGetPath"`
	LifecyclePreStopHandlerHttpGetScheme       string                                                            `name:"LifecyclePreStopHandlerHttpGetScheme"`
	LifecyclePreStopHandlerHttpGetHttpHeader   *[]CreateContainerGroupLifecyclePreStopHandlerHttpGetHttpHeader   `name:"LifecyclePreStopHandlerHttpGetHttpHeader" type:"Repeated"`
	LifecyclePreStopHandlerExec                []string                                                          `name:"LifecyclePreStopHandlerExec" type:"Repeated"`
	LifecyclePreStopHandlerTcpSocketHost       string                                                            `name:"LifecyclePreStopHandlerTcpSocketHost"`
	LifecyclePreStopHandlerTcpSocketPort       requests.Integer                                                  `name:"LifecyclePreStopHandlerTcpSocketPort"`
	ReadinessProbe                             CreateContainerGroupReadinessProbe                                `name:"ReadinessProbe" type:"Struct"`
	LivenessProbe                              CreateContainerGroupLivenessProbe                                 `name:"LivenessProbe" type:"Struct"`
	SecurityContext                            CreateContainerGroupSecurityContext                               `name:"SecurityContext" type:"Struct"`
}

type CreateContainerGroupDiskVolume

type CreateContainerGroupDiskVolume struct {
	DiskId   string           `name:"DiskId"`
	FsType   string           `name:"FsType"`
	DiskSize requests.Integer `name:"DiskSize"`
}

type CreateContainerGroupDnsConfig

type CreateContainerGroupDnsConfig struct {
	NameServer []string                      `name:"NameServer"`
	Search     []string                      `name:"Search"`
	Option     *[]CreateContainerGroupOption `name:"Option"`
}

type CreateContainerGroupEmptyDirVolume

type CreateContainerGroupEmptyDirVolume struct {
	Medium string `name:"Medium"`
}

type CreateContainerGroupEnvironmentVar

type CreateContainerGroupEnvironmentVar struct {
	Key      string                       `name:"Key"`
	Value    string                       `name:"Value"`
	FieldRef CreateContainerGroupFieldRef `name:"FieldRef" type:"Struct"`
}

type CreateContainerGroupExec

type CreateContainerGroupExec struct {
	Command []string `name:"Command"`
}

type CreateContainerGroupFieldRef

type CreateContainerGroupFieldRef struct {
	FieldPath string `name:"FieldPath"`
}

type CreateContainerGroupFlexVolume added in v1.61.51

type CreateContainerGroupFlexVolume struct {
	Driver  string `name:"Driver"`
	FsType  string `name:"FsType"`
	Options string `name:"Options"`
}

type CreateContainerGroupFromTemplateRequest

type CreateContainerGroupFromTemplateRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	Template             string           `position:"Body" name:"Template"`
	ClientToken          string           `position:"Query" name:"ClientToken"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

CreateContainerGroupFromTemplateRequest is the request struct for api CreateContainerGroupFromTemplate

func CreateCreateContainerGroupFromTemplateRequest

func CreateCreateContainerGroupFromTemplateRequest() (request *CreateContainerGroupFromTemplateRequest)

CreateCreateContainerGroupFromTemplateRequest creates a request to invoke CreateContainerGroupFromTemplate API

type CreateContainerGroupFromTemplateResponse

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

CreateContainerGroupFromTemplateResponse is the response struct for api CreateContainerGroupFromTemplate

func CreateCreateContainerGroupFromTemplateResponse

func CreateCreateContainerGroupFromTemplateResponse() (response *CreateContainerGroupFromTemplateResponse)

CreateCreateContainerGroupFromTemplateResponse creates a response to parse from CreateContainerGroupFromTemplate response

type CreateContainerGroupHostAliase

type CreateContainerGroupHostAliase struct {
	Ip       string   `name:"Ip"`
	Hostname []string `name:"Hostname" type:"Repeated"`
}

type CreateContainerGroupHostPathVolume added in v1.61.51

type CreateContainerGroupHostPathVolume struct {
	Type string `name:"Type"`
	Path string `name:"Path"`
}

type CreateContainerGroupHttpGet

type CreateContainerGroupHttpGet struct {
	Path   string           `name:"Path"`
	Port   requests.Integer `name:"Port"`
	Scheme string           `name:"Scheme"`
}

type CreateContainerGroupImageRegistryCredential

type CreateContainerGroupImageRegistryCredential struct {
	Server   string `name:"Server"`
	UserName string `name:"UserName"`
	Password string `name:"Password"`
}

type CreateContainerGroupInitContainer

type CreateContainerGroupInitContainer struct {
	Name            string                                `name:"Name"`
	Image           string                                `name:"Image"`
	Cpu             requests.Float                        `name:"Cpu"`
	Memory          requests.Float                        `name:"Memory"`
	WorkingDir      string                                `name:"WorkingDir"`
	ImagePullPolicy string                                `name:"ImagePullPolicy"`
	Command         []string                              `name:"Command" type:"Repeated"`
	Arg             []string                              `name:"Arg" type:"Repeated"`
	VolumeMount     *[]CreateContainerGroupVolumeMount    `name:"VolumeMount" type:"Repeated"`
	Port            *[]CreateContainerGroupPort           `name:"Port" type:"Repeated"`
	EnvironmentVar  *[]CreateContainerGroupEnvironmentVar `name:"EnvironmentVar" type:"Repeated"`
	Gpu             requests.Integer                      `name:"Gpu"`
	SecurityContext CreateContainerGroupSecurityContext   `name:"SecurityContext" type:"Struct"`
}

type CreateContainerGroupLifecyclePostStartHandlerHttpGetHttpHeader added in v1.61.51

type CreateContainerGroupLifecyclePostStartHandlerHttpGetHttpHeader struct {
	Name  string `name:"Name"`
	Value string `name:"Value"`
}

type CreateContainerGroupLifecyclePreStopHandlerHttpGetHttpHeader added in v1.61.51

type CreateContainerGroupLifecyclePreStopHandlerHttpGetHttpHeader struct {
	Name  string `name:"Name"`
	Value string `name:"Value"`
}

type CreateContainerGroupLivenessProbe

type CreateContainerGroupLivenessProbe struct {
	InitialDelaySeconds requests.Integer              `name:"InitialDelaySeconds"`
	PeriodSeconds       requests.Integer              `name:"PeriodSeconds"`
	SuccessThreshold    requests.Integer              `name:"SuccessThreshold"`
	FailureThreshold    requests.Integer              `name:"FailureThreshold"`
	TimeoutSeconds      requests.Integer              `name:"TimeoutSeconds"`
	HttpGet             CreateContainerGroupHttpGet   `name:"HttpGet"`
	Exec                CreateContainerGroupExec      `name:"Exec"`
	TcpSocket           CreateContainerGroupTcpSocket `name:"TcpSocket"`
}

type CreateContainerGroupNFSVolume

type CreateContainerGroupNFSVolume struct {
	Server   string           `name:"Server"`
	Path     string           `name:"Path"`
	ReadOnly requests.Boolean `name:"ReadOnly"`
}

type CreateContainerGroupOption

type CreateContainerGroupOption struct {
	Name  string `name:"Name"`
	Value string `name:"Value"`
}

type CreateContainerGroupPort

type CreateContainerGroupPort struct {
	Protocol string           `name:"Protocol"`
	Port     requests.Integer `name:"Port"`
}

type CreateContainerGroupReadinessProbe

type CreateContainerGroupReadinessProbe struct {
	InitialDelaySeconds requests.Integer              `name:"InitialDelaySeconds"`
	PeriodSeconds       requests.Integer              `name:"PeriodSeconds"`
	SuccessThreshold    requests.Integer              `name:"SuccessThreshold"`
	FailureThreshold    requests.Integer              `name:"FailureThreshold"`
	TimeoutSeconds      requests.Integer              `name:"TimeoutSeconds"`
	HttpGet             CreateContainerGroupHttpGet   `name:"HttpGet"`
	Exec                CreateContainerGroupExec      `name:"Exec"`
	TcpSocket           CreateContainerGroupTcpSocket `name:"TcpSocket"`
}

type CreateContainerGroupRequest

type CreateContainerGroupRequest struct {
	*requests.RpcRequest
	OwnerId                       requests.Integer                               `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount          string                                         `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId               requests.Integer                               `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount                  string                                         `position:"Query" name:"OwnerAccount"`
	RegionId                      string                                         `position:"Query" name:"RegionId"`
	ZoneId                        string                                         `position:"Query" name:"ZoneId"`
	SecurityGroupId               string                                         `position:"Query" name:"SecurityGroupId"`
	VSwitchId                     string                                         `position:"Query" name:"VSwitchId"`
	ContainerGroupName            string                                         `position:"Query" name:"ContainerGroupName"`
	RestartPolicy                 string                                         `position:"Query" name:"RestartPolicy"`
	Tag                           *[]CreateContainerGroupTag                     `position:"Query" name:"Tag" type:"Repeated"`
	ImageRegistryCredential       *[]CreateContainerGroupImageRegistryCredential `position:"Query" name:"ImageRegistryCredential" type:"Repeated"`
	Container                     *[]CreateContainerGroupContainer               `position:"Query" name:"Container" type:"Repeated"`
	Volume                        *[]CreateContainerGroupVolume                  `position:"Query" name:"Volume" type:"Repeated"`
	EipInstanceId                 string                                         `position:"Query" name:"EipInstanceId"`
	InitContainer                 *[]CreateContainerGroupInitContainer           `position:"Query" name:"InitContainer" type:"Repeated"`
	Cpu                           requests.Float                                 `position:"Query" name:"Cpu"`
	Memory                        requests.Float                                 `position:"Query" name:"Memory"`
	ResourceGroupId               string                                         `position:"Query" name:"ResourceGroupId"`
	DnsPolicy                     string                                         `position:"Query" name:"DnsPolicy"`
	ClientToken                   string                                         `position:"Query" name:"ClientToken"`
	HostAliase                    *[]CreateContainerGroupHostAliase              `position:"Query" name:"HostAliase" type:"Repeated"`
	Arn                           *[]CreateContainerGroupArn                     `position:"Query" name:"Arn" type:"Repeated"`
	InstanceType                  string                                         `position:"Query" name:"InstanceType"`
	SlsEnable                     requests.Boolean                               `position:"Query" name:"SlsEnable"`
	ImageSnapshotId               string                                         `position:"Query" name:"ImageSnapshotId"`
	RamRoleName                   string                                         `position:"Query" name:"RamRoleName"`
	NtpServer                     []string                                       `position:"Query" name:"NtpServer" type:"Repeated"`
	TerminationGracePeriodSeconds requests.Integer                               `position:"Query" name:"TerminationGracePeriodSeconds"`
	AutoMatchImageCache           requests.Boolean                               `position:"Query" name:"AutoMatchImageCache"`
	VkClientVersion               string                                         `position:"Query" name:"VkClientVersion"`
	Ipv6AddressCount              requests.Integer                               `position:"Query" name:"Ipv6AddressCount"`
	ActiveDeadlineSeconds         requests.Integer                               `position:"Query" name:"ActiveDeadlineSeconds"`
	SpotStrategy                  string                                         `position:"Query" name:"SpotStrategy"`
	SpotPriceLimit                requests.Float                                 `position:"Query" name:"SpotPriceLimit"`
	VSwitchStrategy               string                                         `position:"Query" name:"VSwitchStrategy"`
	DnsConfig                     CreateContainerGroupDnsConfig                  `position:"Query" name:"DnsConfig" type:"Struct"`
	SecurityContext               CreateContainerGroupSecurityContext            `position:"Query" name:"SecurityContext" type:"Struct"`
}

CreateContainerGroupRequest is the request struct for api CreateContainerGroup

func CreateCreateContainerGroupRequest

func CreateCreateContainerGroupRequest() (request *CreateContainerGroupRequest)

CreateCreateContainerGroupRequest creates a request to invoke CreateContainerGroup API

type CreateContainerGroupResponse

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

CreateContainerGroupResponse is the response struct for api CreateContainerGroup

func CreateCreateContainerGroupResponse

func CreateCreateContainerGroupResponse() (response *CreateContainerGroupResponse)

CreateCreateContainerGroupResponse creates a response to parse from CreateContainerGroup response

type CreateContainerGroupSecurityContext

type CreateContainerGroupSecurityContext struct {
	Sysctl *[]CreateContainerGroupSysctl `name:"Sysctl"`
}

type CreateContainerGroupSysctl

type CreateContainerGroupSysctl struct {
	Name  string `name:"Name"`
	Value string `name:"Value"`
}

type CreateContainerGroupTag

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

type CreateContainerGroupTcpSocket

type CreateContainerGroupTcpSocket struct {
	Port requests.Integer `name:"Port"`
}

type CreateContainerGroupVolume

type CreateContainerGroupVolume struct {
	Name             string                               `name:"Name"`
	Type             string                               `name:"Type"`
	NFSVolume        CreateContainerGroupNFSVolume        `name:"NFSVolume" type:"Struct"`
	ConfigFileVolume CreateContainerGroupConfigFileVolume `name:"ConfigFileVolume" type:"Struct"`
	EmptyDirVolume   CreateContainerGroupEmptyDirVolume   `name:"EmptyDirVolume" type:"Struct"`
	DiskVolume       CreateContainerGroupDiskVolume       `name:"DiskVolume" type:"Struct"`
	FlexVolume       CreateContainerGroupFlexVolume       `name:"FlexVolume" type:"Struct"`
	HostPathVolume   CreateContainerGroupHostPathVolume   `name:"HostPathVolume" type:"Struct"`
}

type CreateContainerGroupVolumeMount

type CreateContainerGroupVolumeMount struct {
	MountPath string           `name:"MountPath"`
	ReadOnly  requests.Boolean `name:"ReadOnly"`
	Name      string           `name:"Name"`
	SubPath   string           `name:"SubPath"`
}

type CreateImageCacheImageRegistryCredential added in v1.61.50

type CreateImageCacheImageRegistryCredential struct {
	Server   string `name:"Server"`
	UserName string `name:"UserName"`
	Password string `name:"Password"`
}

type CreateImageCacheRequest added in v1.61.50

type CreateImageCacheRequest struct {
	*requests.RpcRequest
	OwnerId                 requests.Integer                           `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount    string                                     `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId         requests.Integer                           `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount            string                                     `position:"Query" name:"OwnerAccount"`
	RegionId                string                                     `position:"Query" name:"RegionId"`
	ZoneId                  string                                     `position:"Query" name:"ZoneId"`
	SecurityGroupId         string                                     `position:"Query" name:"SecurityGroupId"`
	VSwitchId               string                                     `position:"Query" name:"VSwitchId"`
	ImageCacheName          string                                     `position:"Query" name:"ImageCacheName"`
	ImageRegistryCredential *[]CreateImageCacheImageRegistryCredential `position:"Query" name:"ImageRegistryCredential" type:"Repeated"`
	EipInstanceId           string                                     `position:"Query" name:"EipInstanceId"`
	ResourceGroupId         string                                     `position:"Query" name:"ResourceGroupId"`
	ClientToken             string                                     `position:"Query" name:"ClientToken"`
	Image                   []string                                   `position:"Query" name:"Image" type:"Repeated"`
	ImageCacheSize          requests.Integer                           `position:"Query" name:"ImageCacheSize"`
	VkClientVersion         string                                     `position:"Query" name:"VkClientVersion"`
	RetentionDays           requests.Integer                           `position:"Query" name:"RetentionDays"`
}

CreateImageCacheRequest is the request struct for api CreateImageCache

func CreateCreateImageCacheRequest added in v1.61.50

func CreateCreateImageCacheRequest() (request *CreateImageCacheRequest)

CreateCreateImageCacheRequest creates a request to invoke CreateImageCache API

type CreateImageCacheResponse added in v1.61.50

type CreateImageCacheResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ImageCacheId     string `json:"ImageCacheId" xml:"ImageCacheId"`
	ContainerGroupId string `json:"ContainerGroupId" xml:"ContainerGroupId"`
}

CreateImageCacheResponse is the response struct for api CreateImageCache

func CreateCreateImageCacheResponse added in v1.61.50

func CreateCreateImageCacheResponse() (response *CreateImageCacheResponse)

CreateCreateImageCacheResponse creates a response to parse from CreateImageCache response

type DeleteContainerGroupRequest

type DeleteContainerGroupRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	ClientToken          string           `position:"Query" name:"ClientToken"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

DeleteContainerGroupRequest is the request struct for api DeleteContainerGroup

func CreateDeleteContainerGroupRequest

func CreateDeleteContainerGroupRequest() (request *DeleteContainerGroupRequest)

CreateDeleteContainerGroupRequest creates a request to invoke DeleteContainerGroup API

type DeleteContainerGroupResponse

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

DeleteContainerGroupResponse is the response struct for api DeleteContainerGroup

func CreateDeleteContainerGroupResponse

func CreateDeleteContainerGroupResponse() (response *DeleteContainerGroupResponse)

CreateDeleteContainerGroupResponse creates a response to parse from DeleteContainerGroup response

type DeleteImageCacheRequest added in v1.61.50

type DeleteImageCacheRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ImageCacheId         string           `position:"Query" name:"ImageCacheId"`
	ClientToken          string           `position:"Query" name:"ClientToken"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

DeleteImageCacheRequest is the request struct for api DeleteImageCache

func CreateDeleteImageCacheRequest added in v1.61.50

func CreateDeleteImageCacheRequest() (request *DeleteImageCacheRequest)

CreateDeleteImageCacheRequest creates a request to invoke DeleteImageCache API

type DeleteImageCacheResponse added in v1.61.50

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

DeleteImageCacheResponse is the response struct for api DeleteImageCache

func CreateDeleteImageCacheResponse added in v1.61.50

func CreateDeleteImageCacheResponse() (response *DeleteImageCacheResponse)

CreateDeleteImageCacheResponse creates a response to parse from DeleteImageCache response

type DescribeContainerGroupMetricCPU1

type DescribeContainerGroupMetricCPU1 struct {
	UsageNanoCores       int64 `json:"UsageNanoCores" xml:"UsageNanoCores"`
	UsageCoreNanoSeconds int64 `json:"UsageCoreNanoSeconds" xml:"UsageCoreNanoSeconds"`
	Load                 int64 `json:"Load" xml:"Load"`
	Limit                int64 `json:"Limit" xml:"Limit"`
}

type DescribeContainerGroupMetricCPU2

type DescribeContainerGroupMetricCPU2 struct {
	UsageNanoCores       int64 `json:"UsageNanoCores" xml:"UsageNanoCores"`
	UsageCoreNanoSeconds int64 `json:"UsageCoreNanoSeconds" xml:"UsageCoreNanoSeconds"`
	Load                 int64 `json:"Load" xml:"Load"`
	Limit                int64 `json:"Limit" xml:"Limit"`
}

type DescribeContainerGroupMetricContainer1

type DescribeContainerGroupMetricContainer1 struct {
	Name   string                              `json:"Name" xml:"Name"`
	CPU    DescribeContainerGroupMetricCPU2    `json:"CPU" xml:"CPU"`
	Memory DescribeContainerGroupMetricMemory2 `json:"Memory" xml:"Memory"`
}

type DescribeContainerGroupMetricInterface2

type DescribeContainerGroupMetricInterface2 struct {
	TxBytes  int64  `json:"TxBytes" xml:"TxBytes"`
	RxBytes  int64  `json:"RxBytes" xml:"RxBytes"`
	TxErrors int64  `json:"TxErrors" xml:"TxErrors"`
	RxErrors int64  `json:"RxErrors" xml:"RxErrors"`
	Name     string `json:"Name" xml:"Name"`
}

type DescribeContainerGroupMetricMemory1

type DescribeContainerGroupMetricMemory1 struct {
	AvailableBytes int64 `json:"AvailableBytes" xml:"AvailableBytes"`
	UsageBytes     int64 `json:"UsageBytes" xml:"UsageBytes"`
	Cache          int64 `json:"Cache" xml:"Cache"`
	WorkingSet     int64 `json:"WorkingSet" xml:"WorkingSet"`
	Rss            int64 `json:"Rss" xml:"Rss"`
}

type DescribeContainerGroupMetricMemory2

type DescribeContainerGroupMetricMemory2 struct {
	AvailableBytes int64 `json:"AvailableBytes" xml:"AvailableBytes"`
	UsageBytes     int64 `json:"UsageBytes" xml:"UsageBytes"`
	Cache          int64 `json:"Cache" xml:"Cache"`
	WorkingSet     int64 `json:"WorkingSet" xml:"WorkingSet"`
	Rss            int64 `json:"Rss" xml:"Rss"`
}

type DescribeContainerGroupMetricNetwork1

type DescribeContainerGroupMetricNetwork1 struct {
	Interfaces []DescribeContainerGroupMetricInterface2 `json:"Interfaces" xml:"Interfaces"`
}

type DescribeContainerGroupMetricRecord0

type DescribeContainerGroupMetricRecord0 struct {
	Timestamp  string                                   `json:"Timestamp" xml:"Timestamp"`
	Containers []DescribeContainerGroupMetricContainer1 `json:"Containers" xml:"Containers"`
	CPU        DescribeContainerGroupMetricCPU1         `json:"CPU" xml:"CPU"`
	Memory     DescribeContainerGroupMetricMemory1      `json:"Memory" xml:"Memory"`
	Network    DescribeContainerGroupMetricNetwork1     `json:"Network" xml:"Network"`
}

type DescribeContainerGroupMetricRequest

type DescribeContainerGroupMetricRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	StartTime            string           `position:"Query" name:"StartTime"`
	EndTime              string           `position:"Query" name:"EndTime"`
	Period               string           `position:"Query" name:"Period"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

DescribeContainerGroupMetricRequest is the request struct for api DescribeContainerGroupMetric

func CreateDescribeContainerGroupMetricRequest

func CreateDescribeContainerGroupMetricRequest() (request *DescribeContainerGroupMetricRequest)

CreateDescribeContainerGroupMetricRequest creates a request to invoke DescribeContainerGroupMetric API

type DescribeContainerGroupMetricResponse

type DescribeContainerGroupMetricResponse struct {
	*responses.BaseResponse
	RequestId        string                                `json:"RequestId" xml:"RequestId"`
	ContainerGroupId string                                `json:"ContainerGroupId" xml:"ContainerGroupId"`
	Records          []DescribeContainerGroupMetricRecord0 `json:"Records" xml:"Records"`
}

DescribeContainerGroupMetricResponse is the response struct for api DescribeContainerGroupMetric

func CreateDescribeContainerGroupMetricResponse

func CreateDescribeContainerGroupMetricResponse() (response *DescribeContainerGroupMetricResponse)

CreateDescribeContainerGroupMetricResponse creates a response to parse from DescribeContainerGroupMetric response

type DescribeContainerGroupPriceDetailInfo2 added in v1.61.51

type DescribeContainerGroupPriceDetailInfo2 struct {
	Resource      string                             `json:"Resource" xml:"Resource"`
	OriginalPrice float32                            `json:"OriginalPrice" xml:"OriginalPrice"`
	DiscountPrice float32                            `json:"DiscountPrice" xml:"DiscountPrice"`
	TradePrice    float32                            `json:"TradePrice" xml:"TradePrice"`
	Rules         []DescribeContainerGroupPriceRule3 `json:"Rules" xml:"Rules"`
}

type DescribeContainerGroupPricePrice1

type DescribeContainerGroupPricePrice1 struct {
	OriginalPrice float32                                  `json:"OriginalPrice" xml:"OriginalPrice"`
	DiscountPrice float32                                  `json:"DiscountPrice" xml:"DiscountPrice"`
	TradePrice    float32                                  `json:"TradePrice" xml:"TradePrice"`
	Currency      string                                   `json:"Currency" xml:"Currency"`
	DetailInfos   []DescribeContainerGroupPriceDetailInfo2 `json:"DetailInfos" xml:"DetailInfos"`
}

type DescribeContainerGroupPricePriceInfo0

type DescribeContainerGroupPricePriceInfo0 struct {
	Rules []DescribeContainerGroupPriceRule1 `json:"Rules" xml:"Rules"`
	Price DescribeContainerGroupPricePrice1  `json:"Price" xml:"Price"`
}

type DescribeContainerGroupPriceRequest

type DescribeContainerGroupPriceRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	Cpu                  requests.Float   `position:"Query" name:"Cpu"`
	Memory               requests.Float   `position:"Query" name:"Memory"`
}

DescribeContainerGroupPriceRequest is the request struct for api DescribeContainerGroupPrice

func CreateDescribeContainerGroupPriceRequest

func CreateDescribeContainerGroupPriceRequest() (request *DescribeContainerGroupPriceRequest)

CreateDescribeContainerGroupPriceRequest creates a request to invoke DescribeContainerGroupPrice API

type DescribeContainerGroupPriceResponse

type DescribeContainerGroupPriceResponse struct {
	*responses.BaseResponse
	RequestId string                                `json:"RequestId" xml:"RequestId"`
	PriceInfo DescribeContainerGroupPricePriceInfo0 `json:"PriceInfo" xml:"PriceInfo"`
}

DescribeContainerGroupPriceResponse is the response struct for api DescribeContainerGroupPrice

func CreateDescribeContainerGroupPriceResponse

func CreateDescribeContainerGroupPriceResponse() (response *DescribeContainerGroupPriceResponse)

CreateDescribeContainerGroupPriceResponse creates a response to parse from DescribeContainerGroupPrice response

type DescribeContainerGroupPriceRule1 added in v1.61.51

type DescribeContainerGroupPriceRule1 struct {
	RuleId      int64  `json:"RuleId" xml:"RuleId"`
	Description string `json:"Description" xml:"Description"`
}

type DescribeContainerGroupPriceRule3 added in v1.61.51

type DescribeContainerGroupPriceRule3 struct {
	RuleId      int64  `json:"RuleId" xml:"RuleId"`
	Description string `json:"Description" xml:"Description"`
}

type DescribeContainerGroupsCapability3

type DescribeContainerGroupsCapability3 struct {
	Adds []string `json:"Adds" xml:"Adds"`
}

type DescribeContainerGroupsConfigFileVolumeConfigFileToPath2

type DescribeContainerGroupsConfigFileVolumeConfigFileToPath2 struct {
	Content string `json:"Content" xml:"Content"`
	Path    string `json:"Path" xml:"Path"`
}

type DescribeContainerGroupsContainer1

type DescribeContainerGroupsContainer1 struct {
	Name            string                                   `json:"Name" xml:"Name"`
	Image           string                                   `json:"Image" xml:"Image"`
	Memory          float32                                  `json:"Memory" xml:"Memory"`
	Cpu             float32                                  `json:"Cpu" xml:"Cpu"`
	RestartCount    int                                      `json:"RestartCount" xml:"RestartCount"`
	WorkingDir      string                                   `json:"WorkingDir" xml:"WorkingDir"`
	ImagePullPolicy string                                   `json:"ImagePullPolicy" xml:"ImagePullPolicy"`
	Ready           bool                                     `json:"Ready" xml:"Ready"`
	Gpu             int                                      `json:"Gpu" xml:"Gpu"`
	Stdin           bool                                     `json:"Stdin" xml:"Stdin"`
	StdinOnce       bool                                     `json:"StdinOnce" xml:"StdinOnce"`
	Tty             bool                                     `json:"Tty" xml:"Tty"`
	VolumeMounts    []DescribeContainerGroupsVolumeMount2    `json:"VolumeMounts" xml:"VolumeMounts"`
	Ports           []DescribeContainerGroupsPort2           `json:"Ports" xml:"Ports"`
	EnvironmentVars []DescribeContainerGroupsEnvironmentVar2 `json:"EnvironmentVars" xml:"EnvironmentVars"`
	Commands        []string                                 `json:"Commands" xml:"Commands"`
	Args            []string                                 `json:"Args" xml:"Args"`
	PreviousState   DescribeContainerGroupsPreviousState2    `json:"PreviousState" xml:"PreviousState"`
	CurrentState    DescribeContainerGroupsCurrentState2     `json:"CurrentState" xml:"CurrentState"`
	ReadinessProbe  DescribeContainerGroupsReadinessProbe2   `json:"ReadinessProbe" xml:"ReadinessProbe"`
	LivenessProbe   DescribeContainerGroupsLivenessProbe2    `json:"LivenessProbe" xml:"LivenessProbe"`
	SecurityContext DescribeContainerGroupsSecurityContext2  `json:"SecurityContext" xml:"SecurityContext"`
}

type DescribeContainerGroupsContainerGroup0

type DescribeContainerGroupsContainerGroup0 struct {
	ContainerGroupId   string                                     `json:"ContainerGroupId" xml:"ContainerGroupId"`
	ContainerGroupName string                                     `json:"ContainerGroupName" xml:"ContainerGroupName"`
	RegionId           string                                     `json:"RegionId" xml:"RegionId"`
	ZoneId             string                                     `json:"ZoneId" xml:"ZoneId"`
	Memory             float32                                    `json:"Memory" xml:"Memory"`
	Cpu                float32                                    `json:"Cpu" xml:"Cpu"`
	VSwitchId          string                                     `json:"VSwitchId" xml:"VSwitchId"`
	SecurityGroupId    string                                     `json:"SecurityGroupId" xml:"SecurityGroupId"`
	RestartPolicy      string                                     `json:"RestartPolicy" xml:"RestartPolicy"`
	IntranetIp         string                                     `json:"IntranetIp" xml:"IntranetIp"`
	Status             string                                     `json:"Status" xml:"Status"`
	InternetIp         string                                     `json:"InternetIp" xml:"InternetIp"`
	CreationTime       string                                     `json:"CreationTime" xml:"CreationTime"`
	SucceededTime      string                                     `json:"SucceededTime" xml:"SucceededTime"`
	EniInstanceId      string                                     `json:"EniInstanceId" xml:"EniInstanceId"`
	InstanceType       string                                     `json:"InstanceType" xml:"InstanceType"`
	ExpiredTime        string                                     `json:"ExpiredTime" xml:"ExpiredTime"`
	FailedTime         string                                     `json:"FailedTime" xml:"FailedTime"`
	RamRoleName        string                                     `json:"RamRoleName" xml:"RamRoleName"`
	Ipv6Address        string                                     `json:"Ipv6Address" xml:"Ipv6Address"`
	VpcId              string                                     `json:"VpcId" xml:"VpcId"`
	Discount           int                                        `json:"Discount" xml:"Discount"`
	ResourceGroupId    string                                     `json:"ResourceGroupId" xml:"ResourceGroupId"`
	Tags               []DescribeContainerGroupsLabel1            `json:"Tags" xml:"Tags"`
	Events             []DescribeContainerGroupsEvent1            `json:"Events" xml:"Events"`
	Containers         []DescribeContainerGroupsContainer1        `json:"Containers" xml:"Containers"`
	Volumes            []DescribeContainerGroupsVolume1           `json:"Volumes" xml:"Volumes"`
	InitContainers     []DescribeContainerGroupsContainer1        `json:"InitContainers" xml:"InitContainers"`
	HostAliases        []DescribeContainerGroupsHostAliase1       `json:"HostAliases" xml:"HostAliases"`
	DnsConfig          DescribeContainerGroupsDnsConfig1          `json:"DnsConfig" xml:"DnsConfig"`
	EciSecurityContext DescribeContainerGroupsEciSecurityContext1 `json:"EciSecurityContext" xml:"EciSecurityContext"`
}

type DescribeContainerGroupsCurrentState2

type DescribeContainerGroupsCurrentState2 struct {
	State        string `json:"State" xml:"State"`
	DetailStatus string `json:"DetailStatus" xml:"DetailStatus"`
	ExitCode     int    `json:"ExitCode" xml:"ExitCode"`
	StartTime    string `json:"StartTime" xml:"StartTime"`
	FinishTime   string `json:"FinishTime" xml:"FinishTime"`
	Reason       string `json:"Reason" xml:"Reason"`
	Message      string `json:"Message" xml:"Message"`
	Signal       int    `json:"Signal" xml:"Signal"`
}

type DescribeContainerGroupsDnsConfig1

type DescribeContainerGroupsDnsConfig1 struct {
	Options     []DescribeContainerGroupsOption2 `json:"Options" xml:"Options"`
	NameServers []string                         `json:"NameServers" xml:"NameServers"`
	Searches    []string                         `json:"Searches" xml:"Searches"`
}

type DescribeContainerGroupsEciSecurityContext1

type DescribeContainerGroupsEciSecurityContext1 struct {
	Sysctls []DescribeContainerGroupsSysctl2 `json:"Sysctls" xml:"Sysctls"`
}

type DescribeContainerGroupsEnvironmentVar2

type DescribeContainerGroupsEnvironmentVar2 struct {
	Key       string                            `json:"Key" xml:"Key"`
	Value     string                            `json:"Value" xml:"Value"`
	ValueFrom DescribeContainerGroupsValueFrom3 `json:"ValueFrom" xml:"ValueFrom"`
}

type DescribeContainerGroupsEvent1

type DescribeContainerGroupsEvent1 struct {
	Count          int    `json:"Count" xml:"Count"`
	Type           string `json:"Type" xml:"Type"`
	Name           string `json:"Name" xml:"Name"`
	Message        string `json:"Message" xml:"Message"`
	FirstTimestamp string `json:"FirstTimestamp" xml:"FirstTimestamp"`
	LastTimestamp  string `json:"LastTimestamp" xml:"LastTimestamp"`
	Reason         string `json:"Reason" xml:"Reason"`
}

type DescribeContainerGroupsFieldRef4

type DescribeContainerGroupsFieldRef4 struct {
	FieldPath string `json:"FieldPath" xml:"FieldPath"`
}

type DescribeContainerGroupsHostAliase1

type DescribeContainerGroupsHostAliase1 struct {
	Ip        string   `json:"Ip" xml:"Ip"`
	Hostnames []string `json:"Hostnames" xml:"Hostnames"`
}

type DescribeContainerGroupsHttpGet3

type DescribeContainerGroupsHttpGet3 struct {
	Path   string `json:"Path" xml:"Path"`
	Port   int    `json:"Port" xml:"Port"`
	Scheme string `json:"Scheme" xml:"Scheme"`
}

type DescribeContainerGroupsLabel1

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

type DescribeContainerGroupsLivenessProbe2

type DescribeContainerGroupsLivenessProbe2 struct {
	InitialDelaySeconds int                               `json:"InitialDelaySeconds" xml:"InitialDelaySeconds"`
	PeriodSeconds       int                               `json:"PeriodSeconds" xml:"PeriodSeconds"`
	TimeoutSeconds      int                               `json:"TimeoutSeconds" xml:"TimeoutSeconds"`
	SuccessThreshold    int                               `json:"SuccessThreshold" xml:"SuccessThreshold"`
	FailureThreshold    int                               `json:"FailureThreshold" xml:"FailureThreshold"`
	Execs               []string                          `json:"Execs" xml:"Execs"`
	HttpGet             DescribeContainerGroupsHttpGet3   `json:"HttpGet" xml:"HttpGet"`
	TcpSocket           DescribeContainerGroupsTcpSocket3 `json:"TcpSocket" xml:"TcpSocket"`
}

type DescribeContainerGroupsOption2

type DescribeContainerGroupsOption2 struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

type DescribeContainerGroupsPort2

type DescribeContainerGroupsPort2 struct {
	Port     int    `json:"Port" xml:"Port"`
	Protocol string `json:"Protocol" xml:"Protocol"`
}

type DescribeContainerGroupsPreviousState2

type DescribeContainerGroupsPreviousState2 struct {
	State        string `json:"State" xml:"State"`
	DetailStatus string `json:"DetailStatus" xml:"DetailStatus"`
	ExitCode     int    `json:"ExitCode" xml:"ExitCode"`
	StartTime    string `json:"StartTime" xml:"StartTime"`
	FinishTime   string `json:"FinishTime" xml:"FinishTime"`
	Reason       string `json:"Reason" xml:"Reason"`
	Message      string `json:"Message" xml:"Message"`
	Signal       int    `json:"Signal" xml:"Signal"`
}

type DescribeContainerGroupsReadinessProbe2

type DescribeContainerGroupsReadinessProbe2 struct {
	InitialDelaySeconds int                               `json:"InitialDelaySeconds" xml:"InitialDelaySeconds"`
	PeriodSeconds       int                               `json:"PeriodSeconds" xml:"PeriodSeconds"`
	TimeoutSeconds      int                               `json:"TimeoutSeconds" xml:"TimeoutSeconds"`
	SuccessThreshold    int                               `json:"SuccessThreshold" xml:"SuccessThreshold"`
	FailureThreshold    int                               `json:"FailureThreshold" xml:"FailureThreshold"`
	Execs               []string                          `json:"Execs" xml:"Execs"`
	HttpGet             DescribeContainerGroupsHttpGet3   `json:"HttpGet" xml:"HttpGet"`
	TcpSocket           DescribeContainerGroupsTcpSocket3 `json:"TcpSocket" xml:"TcpSocket"`
}

type DescribeContainerGroupsRequest

type DescribeContainerGroupsRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer              `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string                        `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer              `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string                        `position:"Query" name:"OwnerAccount"`
	RegionId             string                        `position:"Query" name:"RegionId"`
	ZoneId               string                        `position:"Query" name:"ZoneId"`
	VSwitchId            string                        `position:"Query" name:"VSwitchId"`
	NextToken            string                        `position:"Query" name:"NextToken"`
	Limit                requests.Integer              `position:"Query" name:"Limit"`
	Tag                  *[]DescribeContainerGroupsTag `position:"Query" name:"Tag" type:"Repeated"`
	ContainerGroupIds    string                        `position:"Query" name:"ContainerGroupIds"`
	ContainerGroupName   string                        `position:"Query" name:"ContainerGroupName"`
	Status               string                        `position:"Query" name:"Status"`
	VkClientVersion      string                        `position:"Query" name:"VkClientVersion"`
	ResourceGroupId      string                        `position:"Query" name:"ResourceGroupId"`
	WithEvent            requests.Boolean              `position:"Query" name:"WithEvent"`
}

DescribeContainerGroupsRequest is the request struct for api DescribeContainerGroups

func CreateDescribeContainerGroupsRequest

func CreateDescribeContainerGroupsRequest() (request *DescribeContainerGroupsRequest)

CreateDescribeContainerGroupsRequest creates a request to invoke DescribeContainerGroups API

type DescribeContainerGroupsResponse

type DescribeContainerGroupsResponse struct {
	*responses.BaseResponse
	RequestId       string                                   `json:"RequestId" xml:"RequestId"`
	NextToken       string                                   `json:"NextToken" xml:"NextToken"`
	TotalCount      int                                      `json:"TotalCount" xml:"TotalCount"`
	ContainerGroups []DescribeContainerGroupsContainerGroup0 `json:"ContainerGroups" xml:"ContainerGroups"`
}

DescribeContainerGroupsResponse is the response struct for api DescribeContainerGroups

func CreateDescribeContainerGroupsResponse

func CreateDescribeContainerGroupsResponse() (response *DescribeContainerGroupsResponse)

CreateDescribeContainerGroupsResponse creates a response to parse from DescribeContainerGroups response

type DescribeContainerGroupsSecurityContext2

type DescribeContainerGroupsSecurityContext2 struct {
	ReadOnlyRootFilesystem bool                               `json:"ReadOnlyRootFilesystem" xml:"ReadOnlyRootFilesystem"`
	RunAsUser              int64                              `json:"RunAsUser" xml:"RunAsUser"`
	Capability             DescribeContainerGroupsCapability3 `json:"Capability" xml:"Capability"`
}

type DescribeContainerGroupsSysctl2

type DescribeContainerGroupsSysctl2 struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

type DescribeContainerGroupsTag

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

type DescribeContainerGroupsTcpSocket3

type DescribeContainerGroupsTcpSocket3 struct {
	Host string `json:"Host" xml:"Host"`
	Port int    `json:"Port" xml:"Port"`
}

type DescribeContainerGroupsValueFrom3

type DescribeContainerGroupsValueFrom3 struct {
	FieldRef DescribeContainerGroupsFieldRef4 `json:"FieldRef" xml:"FieldRef"`
}

type DescribeContainerGroupsVolume1

type DescribeContainerGroupsVolume1 struct {
	Type                              string                                                     `json:"Type" xml:"Type"`
	Name                              string                                                     `json:"Name" xml:"Name"`
	NFSVolumePath                     string                                                     `json:"NFSVolumePath" xml:"NFSVolumePath"`
	NFSVolumeServer                   string                                                     `json:"NFSVolumeServer" xml:"NFSVolumeServer"`
	NFSVolumeReadOnly                 bool                                                       `json:"NFSVolumeReadOnly" xml:"NFSVolumeReadOnly"`
	DiskVolumeDiskId                  string                                                     `json:"DiskVolumeDiskId" xml:"DiskVolumeDiskId"`
	DiskVolumeFsType                  string                                                     `json:"DiskVolumeFsType" xml:"DiskVolumeFsType"`
	FlexVolumeDriver                  string                                                     `json:"FlexVolumeDriver" xml:"FlexVolumeDriver"`
	FlexVolumeFsType                  string                                                     `json:"FlexVolumeFsType" xml:"FlexVolumeFsType"`
	FlexVolumeOptions                 string                                                     `json:"FlexVolumeOptions" xml:"FlexVolumeOptions"`
	ConfigFileVolumeConfigFileToPaths []DescribeContainerGroupsConfigFileVolumeConfigFileToPath2 `json:"ConfigFileVolumeConfigFileToPaths" xml:"ConfigFileVolumeConfigFileToPaths"`
}

type DescribeContainerGroupsVolumeMount2

type DescribeContainerGroupsVolumeMount2 struct {
	Name      string `json:"Name" xml:"Name"`
	MountPath string `json:"MountPath" xml:"MountPath"`
	ReadOnly  bool   `json:"ReadOnly" xml:"ReadOnly"`
}

type DescribeContainerLogRequest

type DescribeContainerLogRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	ContainerName        string           `position:"Query" name:"ContainerName"`
	StartTime            string           `position:"Query" name:"StartTime"`
	Tail                 requests.Integer `position:"Query" name:"Tail"`
	LastTime             requests.Boolean `position:"Query" name:"LastTime"`
	SinceSeconds         requests.Integer `position:"Query" name:"SinceSeconds"`
}

DescribeContainerLogRequest is the request struct for api DescribeContainerLog

func CreateDescribeContainerLogRequest

func CreateDescribeContainerLogRequest() (request *DescribeContainerLogRequest)

CreateDescribeContainerLogRequest creates a request to invoke DescribeContainerLog API

type DescribeContainerLogResponse

type DescribeContainerLogResponse struct {
	*responses.BaseResponse
	RequestId     string `json:"RequestId" xml:"RequestId"`
	ContainerName string `json:"ContainerName" xml:"ContainerName"`
	Content       string `json:"Content" xml:"Content"`
}

DescribeContainerLogResponse is the response struct for api DescribeContainerLog

func CreateDescribeContainerLogResponse

func CreateDescribeContainerLogResponse() (response *DescribeContainerLogResponse)

CreateDescribeContainerLogResponse creates a response to parse from DescribeContainerLog response

type DescribeImageCachesEvent1 added in v1.61.50

type DescribeImageCachesEvent1 struct {
	Count          int    `json:"Count" xml:"Count"`
	Type           string `json:"Type" xml:"Type"`
	Name           string `json:"Name" xml:"Name"`
	Message        string `json:"Message" xml:"Message"`
	FirstTimestamp string `json:"FirstTimestamp" xml:"FirstTimestamp"`
	LastTimestamp  string `json:"LastTimestamp" xml:"LastTimestamp"`
}

type DescribeImageCachesImageCache0 added in v1.61.50

type DescribeImageCachesImageCache0 struct {
	ContainerGroupId string                      `json:"ContainerGroupId" xml:"ContainerGroupId"`
	ImageCacheId     string                      `json:"ImageCacheId" xml:"ImageCacheId"`
	ImageCacheName   string                      `json:"ImageCacheName" xml:"ImageCacheName"`
	SnapshotId       string                      `json:"SnapshotId" xml:"SnapshotId"`
	Progress         string                      `json:"Progress" xml:"Progress"`
	Status           string                      `json:"Status" xml:"Status"`
	ExpireDateTime   string                      `json:"ExpireDateTime" xml:"ExpireDateTime"`
	CreationTime     string                      `json:"CreationTime" xml:"CreationTime"`
	Events           []DescribeImageCachesEvent1 `json:"Events" xml:"Events"`
	Images           []string                    `json:"Images" xml:"Images"`
}

type DescribeImageCachesRequest added in v1.61.50

type DescribeImageCachesRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ImageCacheId         string           `position:"Query" name:"ImageCacheId"`
	ImageCacheName       string           `position:"Query" name:"ImageCacheName"`
	SnapshotId           string           `position:"Query" name:"SnapshotId"`
	Image                string           `position:"Query" name:"Image"`
}

DescribeImageCachesRequest is the request struct for api DescribeImageCaches

func CreateDescribeImageCachesRequest added in v1.61.50

func CreateDescribeImageCachesRequest() (request *DescribeImageCachesRequest)

CreateDescribeImageCachesRequest creates a request to invoke DescribeImageCaches API

type DescribeImageCachesResponse added in v1.61.50

type DescribeImageCachesResponse struct {
	*responses.BaseResponse
	RequestId   string                           `json:"RequestId" xml:"RequestId"`
	ImageCaches []DescribeImageCachesImageCache0 `json:"ImageCaches" xml:"ImageCaches"`
}

DescribeImageCachesResponse is the response struct for api DescribeImageCaches

func CreateDescribeImageCachesResponse added in v1.61.50

func CreateDescribeImageCachesResponse() (response *DescribeImageCachesResponse)

CreateDescribeImageCachesResponse creates a response to parse from DescribeImageCaches response

type DescribeMultiContainerGroupMetricAcceleratorStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricAcceleratorStats3 struct {
	Id          string `json:"Id" xml:"Id"`
	Make        string `json:"Make" xml:"Make"`
	Model       string `json:"Model" xml:"Model"`
	MemoryTotal int64  `json:"MemoryTotal" xml:"MemoryTotal"`
	MemoryUsed  int64  `json:"MemoryUsed" xml:"MemoryUsed"`
	DutyCycle   int64  `json:"DutyCycle" xml:"DutyCycle"`
}

type DescribeMultiContainerGroupMetricCPU2

type DescribeMultiContainerGroupMetricCPU2 struct {
	Limit                int64 `json:"Limit" xml:"Limit"`
	Load                 int64 `json:"Load" xml:"Load"`
	UsageCoreNanoSeconds int64 `json:"UsageCoreNanoSeconds" xml:"UsageCoreNanoSeconds"`
	UsageNanoCores       int64 `json:"UsageNanoCores" xml:"UsageNanoCores"`
}

type DescribeMultiContainerGroupMetricCPU3

type DescribeMultiContainerGroupMetricCPU3 struct {
	Limit                int64 `json:"Limit" xml:"Limit"`
	Load                 int64 `json:"Load" xml:"Load"`
	UsageCoreNanoSeconds int64 `json:"UsageCoreNanoSeconds" xml:"UsageCoreNanoSeconds"`
	UsageNanoCores       int64 `json:"UsageNanoCores" xml:"UsageNanoCores"`
}

type DescribeMultiContainerGroupMetricContainer2

type DescribeMultiContainerGroupMetricContainer2 struct {
	Name   string                                   `json:"Name" xml:"Name"`
	CPU    DescribeMultiContainerGroupMetricCPU3    `json:"CPU" xml:"CPU"`
	Memory DescribeMultiContainerGroupMetricMemory3 `json:"Memory" xml:"Memory"`
}

type DescribeMultiContainerGroupMetricContainerCpu3 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerCpu3 struct {
	Limit    int64  `json:"Limit" xml:"Limit"`
	MaxLimit int64  `json:"MaxLimit" xml:"MaxLimit"`
	Mask     string `json:"Mask" xml:"Mask"`
	Quota    int64  `json:"Quota" xml:"Quota"`
	Period   int64  `json:"Period" xml:"Period"`
}

type DescribeMultiContainerGroupMetricContainerData4 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerData4 struct {
	PgFault    int64 `json:"PgFault" xml:"PgFault"`
	PgmajFault int64 `json:"PgmajFault" xml:"PgmajFault"`
}

type DescribeMultiContainerGroupMetricContainerInfo1 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerInfo1 struct {
	Id             string                                             `json:"Id" xml:"Id"`
	Name           string                                             `json:"Name" xml:"Name"`
	Namespace      string                                             `json:"Namespace" xml:"Namespace"`
	Labels         string                                             `json:"Labels" xml:"Labels"`
	ContainerStats []DescribeMultiContainerGroupMetricContainerStats2 `json:"ContainerStats" xml:"ContainerStats"`
	Aliases        []string                                           `json:"Aliases" xml:"Aliases"`
	ContainerSpec  DescribeMultiContainerGroupMetricContainerSpec2    `json:"ContainerSpec" xml:"ContainerSpec"`
}

type DescribeMultiContainerGroupMetricContainerMemory3 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerMemory3 struct {
	Limit       int64 `json:"Limit" xml:"Limit"`
	Reservation int64 `json:"Reservation" xml:"Reservation"`
	SwapLimit   int64 `json:"SwapLimit" xml:"SwapLimit"`
}

type DescribeMultiContainerGroupMetricContainerSpec2 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerSpec2 struct {
	CreationTime     string                                            `json:"CreationTime" xml:"CreationTime"`
	HasCpu           bool                                              `json:"HasCpu" xml:"HasCpu"`
	HasMemory        bool                                              `json:"HasMemory" xml:"HasMemory"`
	HasNetwork       bool                                              `json:"HasNetwork" xml:"HasNetwork"`
	HasFilesystem    bool                                              `json:"HasFilesystem" xml:"HasFilesystem"`
	HasDiskIo        bool                                              `json:"HasDiskIo" xml:"HasDiskIo"`
	HasCustomMetrics bool                                              `json:"HasCustomMetrics" xml:"HasCustomMetrics"`
	Image            string                                            `json:"Image" xml:"Image"`
	Labels           string                                            `json:"Labels" xml:"Labels"`
	Envs             string                                            `json:"Envs" xml:"Envs"`
	ContainerCpu     DescribeMultiContainerGroupMetricContainerCpu3    `json:"ContainerCpu" xml:"ContainerCpu"`
	ContainerMemory  DescribeMultiContainerGroupMetricContainerMemory3 `json:"ContainerMemory" xml:"ContainerMemory"`
}

type DescribeMultiContainerGroupMetricContainerStats2 added in v1.61.51

type DescribeMultiContainerGroupMetricContainerStats2 struct {
	Timestamp        string                                               `json:"Timestamp" xml:"Timestamp"`
	FsStats          []DescribeMultiContainerGroupMetricFsStats3          `json:"FsStats" xml:"FsStats"`
	AcceleratorStats []DescribeMultiContainerGroupMetricAcceleratorStats3 `json:"AcceleratorStats" xml:"AcceleratorStats"`
	CpuStats         DescribeMultiContainerGroupMetricCpuStats3           `json:"CpuStats" xml:"CpuStats"`
	DiskIoStats      DescribeMultiContainerGroupMetricDiskIoStats3        `json:"DiskIoStats" xml:"DiskIoStats"`
	MemoryStats      DescribeMultiContainerGroupMetricMemoryStats3        `json:"MemoryStats" xml:"MemoryStats"`
	NetworkStats     DescribeMultiContainerGroupMetricNetworkStats3       `json:"NetworkStats" xml:"NetworkStats"`
	TaskStats        DescribeMultiContainerGroupMetricTaskStats3          `json:"TaskStats" xml:"TaskStats"`
}

type DescribeMultiContainerGroupMetricCpuCFS4 added in v1.61.51

type DescribeMultiContainerGroupMetricCpuCFS4 struct {
	Periods          int64 `json:"Periods" xml:"Periods"`
	ThrottledPeriods int64 `json:"ThrottledPeriods" xml:"ThrottledPeriods"`
	ThrottledTime    int64 `json:"ThrottledTime" xml:"ThrottledTime"`
}

type DescribeMultiContainerGroupMetricCpuStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricCpuStats3 struct {
	LoadAverage int64                                      `json:"LoadAverage" xml:"LoadAverage"`
	CpuUsage    DescribeMultiContainerGroupMetricCpuUsage4 `json:"CpuUsage" xml:"CpuUsage"`
	CpuCFS      DescribeMultiContainerGroupMetricCpuCFS4   `json:"CpuCFS" xml:"CpuCFS"`
}

type DescribeMultiContainerGroupMetricCpuUsage4 added in v1.61.51

type DescribeMultiContainerGroupMetricCpuUsage4 struct {
	Total        int64    `json:"Total" xml:"Total"`
	User         int64    `json:"User" xml:"User"`
	System       int64    `json:"System" xml:"System"`
	PerCpuUsages []string `json:"PerCpuUsages" xml:"PerCpuUsages"`
}

type DescribeMultiContainerGroupMetricDiskIoStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricDiskIoStats3 struct {
	IoServiceBytes []DescribeMultiContainerGroupMetricIoServiceByte4 `json:"IoServiceBytes" xml:"IoServiceBytes"`
	IoServiced     []DescribeMultiContainerGroupMetricIoServiced4    `json:"IoServiced" xml:"IoServiced"`
	IoQueued       []DescribeMultiContainerGroupMetricIoQueued4      `json:"IoQueued" xml:"IoQueued"`
	Sectors        []DescribeMultiContainerGroupMetricSector4        `json:"Sectors" xml:"Sectors"`
	IoServiceTime  []DescribeMultiContainerGroupMetricIoServiceTime4 `json:"IoServiceTime" xml:"IoServiceTime"`
	IoWaitTime     []DescribeMultiContainerGroupMetricIoWaitTime4    `json:"IoWaitTime" xml:"IoWaitTime"`
	IoMerged       []DescribeMultiContainerGroupMetricIoMerged4      `json:"IoMerged" xml:"IoMerged"`
	IoTime         []DescribeMultiContainerGroupMetricIoTime4        `json:"IoTime" xml:"IoTime"`
}

type DescribeMultiContainerGroupMetricFsStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricFsStats3 struct {
	Device          string `json:"Device" xml:"Device"`
	Type            string `json:"Type" xml:"Type"`
	Limit           int64  `json:"Limit" xml:"Limit"`
	Usage           int64  `json:"Usage" xml:"Usage"`
	BaseUsage       int64  `json:"BaseUsage" xml:"BaseUsage"`
	Available       int64  `json:"Available" xml:"Available"`
	HasInodes       bool   `json:"HasInodes" xml:"HasInodes"`
	Inodes          int64  `json:"Inodes" xml:"Inodes"`
	InodesFree      int64  `json:"InodesFree" xml:"InodesFree"`
	ReadsCompleted  int64  `json:"ReadsCompleted" xml:"ReadsCompleted"`
	ReadsMerged     int64  `json:"ReadsMerged" xml:"ReadsMerged"`
	SectorsRead     int64  `json:"SectorsRead" xml:"SectorsRead"`
	ReadTime        int64  `json:"ReadTime" xml:"ReadTime"`
	WritesCompleted int64  `json:"WritesCompleted" xml:"WritesCompleted"`
	WritesMerged    int64  `json:"WritesMerged" xml:"WritesMerged"`
	SectorsWritten  int64  `json:"SectorsWritten" xml:"SectorsWritten"`
	WriteTime       int64  `json:"WriteTime" xml:"WriteTime"`
	IoInProgress    int64  `json:"IoInProgress" xml:"IoInProgress"`
	IoTime          int64  `json:"IoTime" xml:"IoTime"`
	WeightedIoTime  int64  `json:"WeightedIoTime" xml:"WeightedIoTime"`
}

type DescribeMultiContainerGroupMetricHierarchicalData4 added in v1.61.51

type DescribeMultiContainerGroupMetricHierarchicalData4 struct {
	PgFault    int64 `json:"PgFault" xml:"PgFault"`
	PgmajFault int64 `json:"PgmajFault" xml:"PgmajFault"`
}

type DescribeMultiContainerGroupMetricInterface3

type DescribeMultiContainerGroupMetricInterface3 struct {
	TxBytes  int64  `json:"TxBytes" xml:"TxBytes"`
	RxBytes  int64  `json:"RxBytes" xml:"RxBytes"`
	TxErrors int64  `json:"TxErrors" xml:"TxErrors"`
	RxErrors int64  `json:"RxErrors" xml:"RxErrors"`
	Name     string `json:"Name" xml:"Name"`
}

type DescribeMultiContainerGroupMetricInterfaceStats4 added in v1.61.51

type DescribeMultiContainerGroupMetricInterfaceStats4 struct {
	Name      string `json:"Name" xml:"Name"`
	RxBytes   int64  `json:"RxBytes" xml:"RxBytes"`
	RxPackets int64  `json:"RxPackets" xml:"RxPackets"`
	RxErrors  int64  `json:"RxErrors" xml:"RxErrors"`
	RxDropped int64  `json:"RxDropped" xml:"RxDropped"`
	TxBytes   int64  `json:"TxBytes" xml:"TxBytes"`
	TxPackets int64  `json:"TxPackets" xml:"TxPackets"`
	TxDropped int64  `json:"TxDropped" xml:"TxDropped"`
	TxErrors  int64  `json:"TxErrors" xml:"TxErrors"`
}

type DescribeMultiContainerGroupMetricIoMerged4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoMerged4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoQueued4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoQueued4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoServiceByte4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoServiceByte4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoServiceTime4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoServiceTime4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoServiced4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoServiced4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoTime4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoTime4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricIoWaitTime4 added in v1.61.51

type DescribeMultiContainerGroupMetricIoWaitTime4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricMemory2

type DescribeMultiContainerGroupMetricMemory2 struct {
	AvailableBytes int64 `json:"AvailableBytes" xml:"AvailableBytes"`
	UsageBytes     int64 `json:"UsageBytes" xml:"UsageBytes"`
	Cache          int64 `json:"Cache" xml:"Cache"`
	WorkingSet     int64 `json:"WorkingSet" xml:"WorkingSet"`
	Rss            int64 `json:"Rss" xml:"Rss"`
}

type DescribeMultiContainerGroupMetricMemory3

type DescribeMultiContainerGroupMetricMemory3 struct {
	AvailableBytes int64 `json:"AvailableBytes" xml:"AvailableBytes"`
	UsageBytes     int64 `json:"UsageBytes" xml:"UsageBytes"`
	Cache          int64 `json:"Cache" xml:"Cache"`
	WorkingSet     int64 `json:"WorkingSet" xml:"WorkingSet"`
	Rss            int64 `json:"Rss" xml:"Rss"`
}

type DescribeMultiContainerGroupMetricMemoryStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricMemoryStats3 struct {
	Usage            int64                                              `json:"Usage" xml:"Usage"`
	MaxUsage         int64                                              `json:"MaxUsage" xml:"MaxUsage"`
	Cache            int64                                              `json:"Cache" xml:"Cache"`
	Rss              int64                                              `json:"Rss" xml:"Rss"`
	Swap             int64                                              `json:"Swap" xml:"Swap"`
	WorkingSet       int64                                              `json:"WorkingSet" xml:"WorkingSet"`
	FailCnt          int64                                              `json:"FailCnt" xml:"FailCnt"`
	ContainerData    DescribeMultiContainerGroupMetricContainerData4    `json:"ContainerData" xml:"ContainerData"`
	HierarchicalData DescribeMultiContainerGroupMetricHierarchicalData4 `json:"HierarchicalData" xml:"HierarchicalData"`
}

type DescribeMultiContainerGroupMetricNetwork2

type DescribeMultiContainerGroupMetricNetwork2 struct {
	Interfaces []DescribeMultiContainerGroupMetricInterface3 `json:"Interfaces" xml:"Interfaces"`
}

type DescribeMultiContainerGroupMetricNetworkStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricNetworkStats3 struct {
	Name           string                                             `json:"Name" xml:"Name"`
	RxBytes        int64                                              `json:"RxBytes" xml:"RxBytes"`
	RxPackets      int64                                              `json:"RxPackets" xml:"RxPackets"`
	RxErrors       int64                                              `json:"RxErrors" xml:"RxErrors"`
	RxDropped      int64                                              `json:"RxDropped" xml:"RxDropped"`
	TxBytes        int64                                              `json:"TxBytes" xml:"TxBytes"`
	TxPackets      int64                                              `json:"TxPackets" xml:"TxPackets"`
	TxDropped      int64                                              `json:"TxDropped" xml:"TxDropped"`
	TxErrors       int64                                              `json:"TxErrors" xml:"TxErrors"`
	InterfaceStats []DescribeMultiContainerGroupMetricInterfaceStats4 `json:"InterfaceStats" xml:"InterfaceStats"`
	Tcp            DescribeMultiContainerGroupMetricTcp4              `json:"Tcp" xml:"Tcp"`
	Tcp6           DescribeMultiContainerGroupMetricTcp64             `json:"Tcp6" xml:"Tcp6"`
	Udp            DescribeMultiContainerGroupMetricUdp4              `json:"Udp" xml:"Udp"`
	Udp6           DescribeMultiContainerGroupMetricUdp64             `json:"Udp6" xml:"Udp6"`
}

type DescribeMultiContainerGroupMetricPodStat1

type DescribeMultiContainerGroupMetricPodStat1 struct {
	Timestamp  string                                        `json:"Timestamp" xml:"Timestamp"`
	Containers []DescribeMultiContainerGroupMetricContainer2 `json:"Containers" xml:"Containers"`
	CPU        DescribeMultiContainerGroupMetricCPU2         `json:"CPU" xml:"CPU"`
	Memory     DescribeMultiContainerGroupMetricMemory2      `json:"Memory" xml:"Memory"`
	Network    DescribeMultiContainerGroupMetricNetwork2     `json:"Network" xml:"Network"`
}

type DescribeMultiContainerGroupMetricRecord0

type DescribeMultiContainerGroupMetricRecord0 struct {
	ContainerGroupId string                                            `json:"ContainerGroupId" xml:"ContainerGroupId"`
	Records          []DescribeMultiContainerGroupMetricPodStat1       `json:"Records" xml:"Records"`
	ContainerInfos   []DescribeMultiContainerGroupMetricContainerInfo1 `json:"ContainerInfos" xml:"ContainerInfos"`
}

type DescribeMultiContainerGroupMetricRequest

type DescribeMultiContainerGroupMetricRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupIds    string           `position:"Query" name:"ContainerGroupIds"`
	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
	MetricType           string           `position:"Query" name:"MetricType"`
}

DescribeMultiContainerGroupMetricRequest is the request struct for api DescribeMultiContainerGroupMetric

func CreateDescribeMultiContainerGroupMetricRequest

func CreateDescribeMultiContainerGroupMetricRequest() (request *DescribeMultiContainerGroupMetricRequest)

CreateDescribeMultiContainerGroupMetricRequest creates a request to invoke DescribeMultiContainerGroupMetric API

type DescribeMultiContainerGroupMetricResponse

type DescribeMultiContainerGroupMetricResponse struct {
	*responses.BaseResponse
	RequestId    string                                     `json:"RequestId" xml:"RequestId"`
	MonitorDatas []DescribeMultiContainerGroupMetricRecord0 `json:"MonitorDatas" xml:"MonitorDatas"`
}

DescribeMultiContainerGroupMetricResponse is the response struct for api DescribeMultiContainerGroupMetric

func CreateDescribeMultiContainerGroupMetricResponse

func CreateDescribeMultiContainerGroupMetricResponse() (response *DescribeMultiContainerGroupMetricResponse)

CreateDescribeMultiContainerGroupMetricResponse creates a response to parse from DescribeMultiContainerGroupMetric response

type DescribeMultiContainerGroupMetricSector4 added in v1.61.51

type DescribeMultiContainerGroupMetricSector4 struct {
	Device string `json:"Device" xml:"Device"`
	Major  int64  `json:"Major" xml:"Major"`
	Minor  int64  `json:"Minor" xml:"Minor"`
	Stats  string `json:"Stats" xml:"Stats"`
}

type DescribeMultiContainerGroupMetricTaskStats3 added in v1.61.51

type DescribeMultiContainerGroupMetricTaskStats3 struct {
	NrSleeping        int64 `json:"NrSleeping" xml:"NrSleeping"`
	NrRunning         int64 `json:"NrRunning" xml:"NrRunning"`
	NrStopped         int64 `json:"NrStopped" xml:"NrStopped"`
	NrUninterruptible int64 `json:"NrUninterruptible" xml:"NrUninterruptible"`
	NrIoWait          int64 `json:"NrIoWait" xml:"NrIoWait"`
}

type DescribeMultiContainerGroupMetricTcp4 added in v1.61.51

type DescribeMultiContainerGroupMetricTcp4 struct {
	Established int64 `json:"Established" xml:"Established"`
	SynSent     int64 `json:"SynSent" xml:"SynSent"`
	SynRecv     int64 `json:"SynRecv" xml:"SynRecv"`
	FinWait1    int64 `json:"FinWait1" xml:"FinWait1"`
	FinWait2    int64 `json:"FinWait2" xml:"FinWait2"`
	TimeWait    int64 `json:"TimeWait" xml:"TimeWait"`
	Close       int64 `json:"Close" xml:"Close"`
	CloseWait   int64 `json:"CloseWait" xml:"CloseWait"`
	LastAck     int64 `json:"LastAck" xml:"LastAck"`
	Listen      int64 `json:"Listen" xml:"Listen"`
	Closing     int64 `json:"Closing" xml:"Closing"`
}

type DescribeMultiContainerGroupMetricTcp64 added in v1.61.51

type DescribeMultiContainerGroupMetricTcp64 struct {
	Established int64 `json:"Established" xml:"Established"`
	SynSent     int64 `json:"SynSent" xml:"SynSent"`
	SynRecv     int64 `json:"SynRecv" xml:"SynRecv"`
	FinWait1    int64 `json:"FinWait1" xml:"FinWait1"`
	FinWait2    int64 `json:"FinWait2" xml:"FinWait2"`
	TimeWait    int64 `json:"TimeWait" xml:"TimeWait"`
	Close       int64 `json:"Close" xml:"Close"`
	CloseWait   int64 `json:"CloseWait" xml:"CloseWait"`
	LastAck     int64 `json:"LastAck" xml:"LastAck"`
	Listen      int64 `json:"Listen" xml:"Listen"`
	Closing     int64 `json:"Closing" xml:"Closing"`
}

type DescribeMultiContainerGroupMetricUdp4 added in v1.61.51

type DescribeMultiContainerGroupMetricUdp4 struct {
	Listen   int64 `json:"Listen" xml:"Listen"`
	Dropped  int64 `json:"Dropped" xml:"Dropped"`
	RxQueued int64 `json:"RxQueued" xml:"RxQueued"`
	TxQueued int64 `json:"TxQueued" xml:"TxQueued"`
}

type DescribeMultiContainerGroupMetricUdp64 added in v1.61.51

type DescribeMultiContainerGroupMetricUdp64 struct {
	Listen   int64 `json:"Listen" xml:"Listen"`
	Dropped  int64 `json:"Dropped" xml:"Dropped"`
	RxQueued int64 `json:"RxQueued" xml:"RxQueued"`
	TxQueued int64 `json:"TxQueued" xml:"TxQueued"`
}

type DescribeRegionsRegion0 added in v1.61.50

type DescribeRegionsRegion0 struct {
	RegionId       string   `json:"RegionId" xml:"RegionId"`
	RegionEndpoint string   `json:"RegionEndpoint" xml:"RegionEndpoint"`
	Zones          []string `json:"Zones" xml:"Zones"`
}

type DescribeRegionsRequest added in v1.61.50

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest added in v1.61.50

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse added in v1.61.50

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string                   `json:"RequestId" xml:"RequestId"`
	Regions   []DescribeRegionsRegion0 `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse added in v1.61.50

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type ExecContainerCommandRequest

type ExecContainerCommandRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	ContainerName        string           `position:"Query" name:"ContainerName"`
	Command              string           `position:"Query" name:"Command"`
	TTY                  requests.Boolean `position:"Query" name:"TTY"`
}

ExecContainerCommandRequest is the request struct for api ExecContainerCommand

func CreateExecContainerCommandRequest

func CreateExecContainerCommandRequest() (request *ExecContainerCommandRequest)

CreateExecContainerCommandRequest creates a request to invoke ExecContainerCommand API

type ExecContainerCommandResponse

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

ExecContainerCommandResponse is the response struct for api ExecContainerCommand

func CreateExecContainerCommandResponse

func CreateExecContainerCommandResponse() (response *ExecContainerCommandResponse)

CreateExecContainerCommandResponse creates a response to parse from ExecContainerCommand response

type ExportContainerGroupTemplateConfigFile3

type ExportContainerGroupTemplateConfigFile3 struct {
	DefaultMode int                                 `json:"DefaultMode" xml:"DefaultMode"`
	Items       []ExportContainerGroupTemplateItem4 `json:"Items" xml:"Items"`
}

type ExportContainerGroupTemplateContainers2

type ExportContainerGroupTemplateContainers2 struct {
	Name            string                                       `json:"Name" xml:"Name"`
	Image           string                                       `json:"Image" xml:"Image"`
	ImagePullPolicy string                                       `json:"ImagePullPolicy" xml:"ImagePullPolicy"`
	Stdin           bool                                         `json:"Stdin" xml:"Stdin"`
	StdinOnce       bool                                         `json:"StdinOnce" xml:"StdinOnce"`
	Tty             bool                                         `json:"Tty" xml:"Tty"`
	WorkingDir      string                                       `json:"WorkingDir" xml:"WorkingDir"`
	Env             []ExportContainerGroupTemplateEnv3           `json:"Env" xml:"Env"`
	Ports           []ExportContainerGroupTemplatePort3          `json:"Ports" xml:"Ports"`
	VolumeMounts    []ExportContainerGroupTemplateVolumeMount3   `json:"VolumeMounts" xml:"VolumeMounts"`
	Command         []string                                     `json:"Command" xml:"Command"`
	Args            []string                                     `json:"Args" xml:"Args"`
	SecurityContext ExportContainerGroupTemplateSecurityContext3 `json:"SecurityContext" xml:"SecurityContext"`
	Resources       ExportContainerGroupTemplateResources3       `json:"Resources" xml:"Resources"`
	ReadinessProbe  ExportContainerGroupTemplateReadinessProbe3  `json:"ReadinessProbe" xml:"ReadinessProbe"`
	LivenessProbe   ExportContainerGroupTemplateLivenessProbe3   `json:"LivenessProbe" xml:"LivenessProbe"`
}

type ExportContainerGroupTemplateDnsConfig2

type ExportContainerGroupTemplateDnsConfig2 struct {
	Options     []ExportContainerGroupTemplateOption3 `json:"Options" xml:"Options"`
	NameServers []string                              `json:"NameServers" xml:"NameServers"`
	Searches    []string                              `json:"Searches" xml:"Searches"`
}

type ExportContainerGroupTemplateEmptyDir3

type ExportContainerGroupTemplateEmptyDir3 struct {
	SizeLimit string `json:"SizeLimit" xml:"SizeLimit"`
}

type ExportContainerGroupTemplateEnv3

type ExportContainerGroupTemplateEnv3 struct {
	Name      string                                 `json:"Name" xml:"Name"`
	Value     string                                 `json:"Value" xml:"Value"`
	ValueFrom ExportContainerGroupTemplateValueFrom4 `json:"ValueFrom" xml:"ValueFrom"`
}

type ExportContainerGroupTemplateExec4

type ExportContainerGroupTemplateExec4 struct {
	Command []string `json:"Command" xml:"Command"`
}

type ExportContainerGroupTemplateFieldRef5

type ExportContainerGroupTemplateFieldRef5 struct {
	FieldPath string `json:"FieldPath" xml:"FieldPath"`
}

type ExportContainerGroupTemplateHttpGet4

type ExportContainerGroupTemplateHttpGet4 struct {
	Scheme string `json:"Scheme" xml:"Scheme"`
	Path   string `json:"Path" xml:"Path"`
	Port   int    `json:"Port" xml:"Port"`
}

type ExportContainerGroupTemplateInitContainer2

type ExportContainerGroupTemplateInitContainer2 struct {
	Name            string                                       `json:"Name" xml:"Name"`
	Image           string                                       `json:"Image" xml:"Image"`
	ImagePullPolicy string                                       `json:"ImagePullPolicy" xml:"ImagePullPolicy"`
	Stdin           bool                                         `json:"Stdin" xml:"Stdin"`
	StdinOnce       bool                                         `json:"StdinOnce" xml:"StdinOnce"`
	Tty             bool                                         `json:"Tty" xml:"Tty"`
	WorkingDir      string                                       `json:"WorkingDir" xml:"WorkingDir"`
	Env             []ExportContainerGroupTemplateEnv3           `json:"Env" xml:"Env"`
	Ports           []ExportContainerGroupTemplatePort3          `json:"Ports" xml:"Ports"`
	VolumeMounts    []ExportContainerGroupTemplateVolumeMount3   `json:"VolumeMounts" xml:"VolumeMounts"`
	Command         []string                                     `json:"Command" xml:"Command"`
	Args            []string                                     `json:"Args" xml:"Args"`
	SecurityContext ExportContainerGroupTemplateSecurityContext3 `json:"SecurityContext" xml:"SecurityContext"`
	Resources       ExportContainerGroupTemplateResources3       `json:"Resources" xml:"Resources"`
}

type ExportContainerGroupTemplateItem4

type ExportContainerGroupTemplateItem4 struct {
	Mode    int    `json:"Mode" xml:"Mode"`
	Path    string `json:"Path" xml:"Path"`
	Content string `json:"Content" xml:"Content"`
}

type ExportContainerGroupTemplateLivenessProbe3

type ExportContainerGroupTemplateLivenessProbe3 struct {
	InitialDelaySeconds int                                    `json:"InitialDelaySeconds" xml:"InitialDelaySeconds"`
	PeriodSeconds       int                                    `json:"PeriodSeconds" xml:"PeriodSeconds"`
	SuccessThreshold    int                                    `json:"SuccessThreshold" xml:"SuccessThreshold"`
	FailureThreshold    int                                    `json:"FailureThreshold" xml:"FailureThreshold"`
	TimeoutSeconds      int                                    `json:"TimeoutSeconds" xml:"TimeoutSeconds"`
	Exec                ExportContainerGroupTemplateExec4      `json:"Exec" xml:"Exec"`
	TcpSocket           ExportContainerGroupTemplateTcpSocket4 `json:"TcpSocket" xml:"TcpSocket"`
	HttpGet             ExportContainerGroupTemplateHttpGet4   `json:"HttpGet" xml:"HttpGet"`
}

type ExportContainerGroupTemplateNfs3

type ExportContainerGroupTemplateNfs3 struct {
	Server   string `json:"Server" xml:"Server"`
	Path     string `json:"Path" xml:"Path"`
	ReadOnly bool   `json:"ReadOnly" xml:"ReadOnly"`
}

type ExportContainerGroupTemplateOption3

type ExportContainerGroupTemplateOption3 struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

type ExportContainerGroupTemplatePort3

type ExportContainerGroupTemplatePort3 struct {
	Name          string `json:"Name" xml:"Name"`
	Protocol      string `json:"Protocol" xml:"Protocol"`
	ContainerPort int    `json:"ContainerPort" xml:"ContainerPort"`
}

type ExportContainerGroupTemplateReadinessProbe3

type ExportContainerGroupTemplateReadinessProbe3 struct {
	InitialDelaySeconds int                                    `json:"InitialDelaySeconds" xml:"InitialDelaySeconds"`
	PeriodSeconds       int                                    `json:"PeriodSeconds" xml:"PeriodSeconds"`
	SuccessThreshold    int                                    `json:"SuccessThreshold" xml:"SuccessThreshold"`
	FailureThreshold    int                                    `json:"FailureThreshold" xml:"FailureThreshold"`
	TimeoutSeconds      int                                    `json:"TimeoutSeconds" xml:"TimeoutSeconds"`
	Exec                ExportContainerGroupTemplateExec4      `json:"Exec" xml:"Exec"`
	TcpSocket           ExportContainerGroupTemplateTcpSocket4 `json:"TcpSocket" xml:"TcpSocket"`
	HttpGet             ExportContainerGroupTemplateHttpGet4   `json:"HttpGet" xml:"HttpGet"`
}

type ExportContainerGroupTemplateRequest

type ExportContainerGroupTemplateRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

ExportContainerGroupTemplateRequest is the request struct for api ExportContainerGroupTemplate

func CreateExportContainerGroupTemplateRequest

func CreateExportContainerGroupTemplateRequest() (request *ExportContainerGroupTemplateRequest)

CreateExportContainerGroupTemplateRequest creates a request to invoke ExportContainerGroupTemplate API

type ExportContainerGroupTemplateResources1

type ExportContainerGroupTemplateResources1 struct {
	Cpu    float32 `json:"Cpu" xml:"Cpu"`
	Memory float32 `json:"Memory" xml:"Memory"`
}

type ExportContainerGroupTemplateResources3

type ExportContainerGroupTemplateResources3 struct {
	Cpu    float32 `json:"Cpu" xml:"Cpu"`
	Memory float32 `json:"Memory" xml:"Memory"`
}

type ExportContainerGroupTemplateResponse

type ExportContainerGroupTemplateResponse struct {
	*responses.BaseResponse
	RequestId string                                `json:"RequestId" xml:"RequestId"`
	Template  ExportContainerGroupTemplateTemplate0 `json:"Template" xml:"Template"`
}

ExportContainerGroupTemplateResponse is the response struct for api ExportContainerGroupTemplate

func CreateExportContainerGroupTemplateResponse

func CreateExportContainerGroupTemplateResponse() (response *ExportContainerGroupTemplateResponse)

CreateExportContainerGroupTemplateResponse creates a response to parse from ExportContainerGroupTemplate response

type ExportContainerGroupTemplateSecurityContext2

type ExportContainerGroupTemplateSecurityContext2 struct {
	Sysctls []ExportContainerGroupTemplateSysctl3 `json:"Sysctls" xml:"Sysctls"`
}

type ExportContainerGroupTemplateSecurityContext3

type ExportContainerGroupTemplateSecurityContext3 struct {
	Sysctls []ExportContainerGroupTemplateSysctl4 `json:"Sysctls" xml:"Sysctls"`
}

type ExportContainerGroupTemplateSpec1

type ExportContainerGroupTemplateSpec1 struct {
	RestartPolicy   string                                       `json:"RestartPolicy" xml:"RestartPolicy"`
	DnsPolicy       string                                       `json:"DnsPolicy" xml:"DnsPolicy"`
	Volumes         []ExportContainerGroupTemplateVolume2        `json:"Volumes" xml:"Volumes"`
	InitContainers  []ExportContainerGroupTemplateInitContainer2 `json:"InitContainers" xml:"InitContainers"`
	Containers      []ExportContainerGroupTemplateContainers2    `json:"Containers" xml:"Containers"`
	DnsConfig       ExportContainerGroupTemplateDnsConfig2       `json:"DnsConfig" xml:"DnsConfig"`
	SecurityContext ExportContainerGroupTemplateSecurityContext2 `json:"SecurityContext" xml:"SecurityContext"`
}

type ExportContainerGroupTemplateSysctl3

type ExportContainerGroupTemplateSysctl3 struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

type ExportContainerGroupTemplateSysctl4

type ExportContainerGroupTemplateSysctl4 struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

type ExportContainerGroupTemplateTag1

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

type ExportContainerGroupTemplateTcpSocket4

type ExportContainerGroupTemplateTcpSocket4 struct {
	Port int `json:"Port" xml:"Port"`
}

type ExportContainerGroupTemplateTemplate0

type ExportContainerGroupTemplateTemplate0 struct {
	RegionId           string                                 `json:"RegionId" xml:"RegionId"`
	ZoneId             string                                 `json:"ZoneId" xml:"ZoneId"`
	SecurityGroupId    string                                 `json:"SecurityGroupId" xml:"SecurityGroupId"`
	VSwitchId          string                                 `json:"VSwitchId" xml:"VSwitchId"`
	ResourceGroupId    string                                 `json:"ResourceGroupId" xml:"ResourceGroupId"`
	EipInstanceId      string                                 `json:"EipInstanceId" xml:"EipInstanceId"`
	ContainerGroupName string                                 `json:"ContainerGroupName" xml:"ContainerGroupName"`
	InstanceType       string                                 `json:"InstanceType" xml:"InstanceType"`
	Tags               []ExportContainerGroupTemplateTag1     `json:"Tags" xml:"Tags"`
	Resources          ExportContainerGroupTemplateResources1 `json:"Resources" xml:"Resources"`
	Spec               ExportContainerGroupTemplateSpec1      `json:"Spec" xml:"Spec"`
}

type ExportContainerGroupTemplateValueFrom4

type ExportContainerGroupTemplateValueFrom4 struct {
	FieldRef ExportContainerGroupTemplateFieldRef5 `json:"FieldRef" xml:"FieldRef"`
}

type ExportContainerGroupTemplateVolume2

type ExportContainerGroupTemplateVolume2 struct {
	Name       string                                  `json:"Name" xml:"Name"`
	ConfigFile ExportContainerGroupTemplateConfigFile3 `json:"ConfigFile" xml:"ConfigFile"`
	EmptyDir   ExportContainerGroupTemplateEmptyDir3   `json:"EmptyDir" xml:"EmptyDir"`
	Nfs        ExportContainerGroupTemplateNfs3        `json:"Nfs" xml:"Nfs"`
}

type ExportContainerGroupTemplateVolumeMount3

type ExportContainerGroupTemplateVolumeMount3 struct {
	Name      string `json:"Name" xml:"Name"`
	SubPath   string `json:"SubPath" xml:"SubPath"`
	MountPath string `json:"MountPath" xml:"MountPath"`
	ReadOnly  bool   `json:"ReadOnly" xml:"ReadOnly"`
}

type RestartContainerGroupRequest

type RestartContainerGroupRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	ContainerGroupId     string           `position:"Query" name:"ContainerGroupId"`
	ClientToken          string           `position:"Query" name:"ClientToken"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

RestartContainerGroupRequest is the request struct for api RestartContainerGroup

func CreateRestartContainerGroupRequest

func CreateRestartContainerGroupRequest() (request *RestartContainerGroupRequest)

CreateRestartContainerGroupRequest creates a request to invoke RestartContainerGroup API

type RestartContainerGroupResponse

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

RestartContainerGroupResponse is the response struct for api RestartContainerGroup

func CreateRestartContainerGroupResponse

func CreateRestartContainerGroupResponse() (response *RestartContainerGroupResponse)

CreateRestartContainerGroupResponse creates a response to parse from RestartContainerGroup response

type UpdateContainerGroupByTemplateRequest

type UpdateContainerGroupByTemplateRequest struct {
	*requests.RpcRequest
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	RegionId             string           `position:"Query" name:"RegionId"`
	Template             string           `position:"Body" name:"Template"`
	ClientToken          string           `position:"Query" name:"ClientToken"`
	VkClientVersion      string           `position:"Query" name:"VkClientVersion"`
}

UpdateContainerGroupByTemplateRequest is the request struct for api UpdateContainerGroupByTemplate

func CreateUpdateContainerGroupByTemplateRequest

func CreateUpdateContainerGroupByTemplateRequest() (request *UpdateContainerGroupByTemplateRequest)

CreateUpdateContainerGroupByTemplateRequest creates a request to invoke UpdateContainerGroupByTemplate API

type UpdateContainerGroupByTemplateResponse

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

UpdateContainerGroupByTemplateResponse is the response struct for api UpdateContainerGroupByTemplate

func CreateUpdateContainerGroupByTemplateResponse

func CreateUpdateContainerGroupByTemplateResponse() (response *UpdateContainerGroupByTemplateResponse)

CreateUpdateContainerGroupByTemplateResponse creates a response to parse from UpdateContainerGroupByTemplate response

type UpdateContainerGroupCapability

type UpdateContainerGroupCapability struct {
	Add []string `name:"Add"`
}

type UpdateContainerGroupConfigFileToPath

type UpdateContainerGroupConfigFileToPath struct {
	Content string `name:"Content"`
	Path    string `name:"Path"`
}

type UpdateContainerGroupConfigFileVolume

type UpdateContainerGroupConfigFileVolume struct {
	ConfigFileToPath *[]UpdateContainerGroupConfigFileToPath `name:"ConfigFileToPath"`
}

type UpdateContainerGroupContainer

type UpdateContainerGroupContainer struct {
	Name            string                              `name:"Name"`
	Image           string                              `name:"Image"`
	Cpu             requests.Float                      `name:"Cpu"`
	Memory          requests.Float                      `name:"Memory"`
	WorkingDir      string                              `name:"WorkingDir"`
	ImagePullPolicy string                              `name:"ImagePullPolicy"`
	Stdin           requests.Boolean                    `name:"Stdin"`
	StdinOnce       requests.Boolean                    `name:"StdinOnce"`
	Tty             requests.Boolean                    `name:"Tty"`
	Command         []string                            `name:"Command" type:"Repeated"`
	Arg             []string                            `name:"Arg" type:"Repeated"`
	EnvironmentVar  []string                            `name:"EnvironmentVar" type:"Repeated"`
	Port            []string                            `name:"Port" type:"Repeated"`
	VolumeMount     []string                            `name:"VolumeMount" type:"Repeated"`
	Gpu             requests.Integer                    `name:"Gpu"`
	ReadinessProbe  UpdateContainerGroupReadinessProbe  `name:"ReadinessProbe" type:"Struct"`
	LivenessProbe   UpdateContainerGroupLivenessProbe   `name:"LivenessProbe" type:"Struct"`
	SecurityContext UpdateContainerGroupSecurityContext `name:"SecurityContext" type:"Struct"`
}

type UpdateContainerGroupDnsConfig

type UpdateContainerGroupDnsConfig struct {
	NameServer []string                      `name:"NameServer"`
	Search     []string                      `name:"Search"`
	Option     *[]UpdateContainerGroupOption `name:"Option"`
}

type UpdateContainerGroupEmptyDirVolume

type UpdateContainerGroupEmptyDirVolume struct {
	Medium string `name:"Medium"`
}

type UpdateContainerGroupEnvironmentVar

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

type UpdateContainerGroupExec

type UpdateContainerGroupExec struct {
	Command []string `name:"Command"`
}

type UpdateContainerGroupHttpGet

type UpdateContainerGroupHttpGet struct {
	Path   string           `name:"Path"`
	Port   requests.Integer `name:"Port"`
	Scheme string           `name:"Scheme"`
}

type UpdateContainerGroupImageRegistryCredential

type UpdateContainerGroupImageRegistryCredential struct {
	Server   string `name:"Server"`
	UserName string `name:"UserName"`
	Password string `name:"Password"`
}

type UpdateContainerGroupInitContainer

type UpdateContainerGroupInitContainer struct {
	Name            string                                `name:"Name"`
	Image           string                                `name:"Image"`
	Cpu             requests.Float                        `name:"Cpu"`
	Memory          requests.Float                        `name:"Memory"`
	WorkingDir      string                                `name:"WorkingDir"`
	ImagePullPolicy string                                `name:"ImagePullPolicy"`
	Stdin           requests.Boolean                      `name:"Stdin"`
	StdinOnce       requests.Boolean                      `name:"StdinOnce"`
	Tty             requests.Boolean                      `name:"Tty"`
	Command         []string                              `name:"Command" type:"Repeated"`
	Arg             []string                              `name:"Arg" type:"Repeated"`
	EnvironmentVar  *[]UpdateContainerGroupEnvironmentVar `name:"EnvironmentVar" type:"Repeated"`
	Port            *[]UpdateContainerGroupPort           `name:"Port" type:"Repeated"`
	VolumeMount     *[]UpdateContainerGroupVolumeMount    `name:"VolumeMount" type:"Repeated"`
	Gpu             requests.Integer                      `name:"Gpu"`
	SecurityContext UpdateContainerGroupSecurityContext   `name:"SecurityContext" type:"Struct"`
}

type UpdateContainerGroupLivenessProbe

type UpdateContainerGroupLivenessProbe struct {
	InitialDelaySeconds requests.Integer              `name:"InitialDelaySeconds"`
	PeriodSeconds       requests.Integer              `name:"PeriodSeconds"`
	SuccessThreshold    requests.Integer              `name:"SuccessThreshold"`
	FailureThreshold    requests.Integer              `name:"FailureThreshold"`
	TimeoutSeconds      requests.Integer              `name:"TimeoutSeconds"`
	TcpSocket           UpdateContainerGroupTcpSocket `name:"TcpSocket"`
	Exec                UpdateContainerGroupExec      `name:"Exec"`
	HttpGet             UpdateContainerGroupHttpGet   `name:"HttpGet"`
}

type UpdateContainerGroupNFSVolume

type UpdateContainerGroupNFSVolume struct {
	Server   string           `name:"Server"`
	Path     string           `name:"Path"`
	ReadOnly requests.Boolean `name:"ReadOnly"`
}

type UpdateContainerGroupOption

type UpdateContainerGroupOption struct {
	Name  string `name:"Name"`
	Value string `name:"Value"`
}

type UpdateContainerGroupPort

type UpdateContainerGroupPort struct {
	Port     requests.Integer `name:"Port"`
	Protocol string           `name:"Protocol"`
}

type UpdateContainerGroupReadinessProbe

type UpdateContainerGroupReadinessProbe struct {
	InitialDelaySeconds requests.Integer              `name:"InitialDelaySeconds"`
	PeriodSeconds       requests.Integer              `name:"PeriodSeconds"`
	SuccessThreshold    requests.Integer              `name:"SuccessThreshold"`
	FailureThreshold    requests.Integer              `name:"FailureThreshold"`
	TimeoutSeconds      requests.Integer              `name:"TimeoutSeconds"`
	TcpSocket           UpdateContainerGroupTcpSocket `name:"TcpSocket"`
	Exec                UpdateContainerGroupExec      `name:"Exec"`
	HttpGet             UpdateContainerGroupHttpGet   `name:"HttpGet"`
}

type UpdateContainerGroupRequest

type UpdateContainerGroupRequest struct {
	*requests.RpcRequest
	OwnerId                 requests.Integer                               `position:"Query" name:"OwnerId"`
	ResourceOwnerAccount    string                                         `position:"Query" name:"ResourceOwnerAccount"`
	ResourceOwnerId         requests.Integer                               `position:"Query" name:"ResourceOwnerId"`
	OwnerAccount            string                                         `position:"Query" name:"OwnerAccount"`
	RegionId                string                                         `position:"Query" name:"RegionId"`
	ContainerGroupId        string                                         `position:"Query" name:"ContainerGroupId"`
	RestartPolicy           string                                         `position:"Query" name:"RestartPolicy"`
	Tag                     *[]UpdateContainerGroupTag                     `position:"Query" name:"Tag" type:"Repeated"`
	Volume                  *[]UpdateContainerGroupVolume                  `position:"Query" name:"Volume" type:"Repeated"`
	Container               *[]UpdateContainerGroupContainer               `position:"Query" name:"Container" type:"Repeated"`
	InitContainer           *[]UpdateContainerGroupInitContainer           `position:"Query" name:"InitContainer" type:"Repeated"`
	ImageRegistryCredential *[]UpdateContainerGroupImageRegistryCredential `position:"Query" name:"ImageRegistryCredential" type:"Repeated"`
	ClientToken             string                                         `position:"Query" name:"ClientToken"`
	Cpu                     requests.Float                                 `position:"Query" name:"Cpu"`
	Memory                  requests.Float                                 `position:"Query" name:"Memory"`
	DnsConfig               UpdateContainerGroupDnsConfig                  `position:"Query" name:"DnsConfig" type:"Struct"`
}

UpdateContainerGroupRequest is the request struct for api UpdateContainerGroup

func CreateUpdateContainerGroupRequest

func CreateUpdateContainerGroupRequest() (request *UpdateContainerGroupRequest)

CreateUpdateContainerGroupRequest creates a request to invoke UpdateContainerGroup API

type UpdateContainerGroupResponse

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

UpdateContainerGroupResponse is the response struct for api UpdateContainerGroup

func CreateUpdateContainerGroupResponse

func CreateUpdateContainerGroupResponse() (response *UpdateContainerGroupResponse)

CreateUpdateContainerGroupResponse creates a response to parse from UpdateContainerGroup response

type UpdateContainerGroupSecurityContext

type UpdateContainerGroupSecurityContext struct {
	ReadOnlyRootFilesystem requests.Boolean               `name:"ReadOnlyRootFilesystem"`
	RunAsUser              requests.Integer               `name:"RunAsUser"`
	Capability             UpdateContainerGroupCapability `name:"Capability"`
}

type UpdateContainerGroupTag

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

type UpdateContainerGroupTcpSocket

type UpdateContainerGroupTcpSocket struct {
	Port requests.Integer `name:"Port"`
}

type UpdateContainerGroupVolume

type UpdateContainerGroupVolume struct {
	Name             string                               `name:"Name"`
	Type             string                               `name:"Type"`
	NFSVolume        UpdateContainerGroupNFSVolume        `name:"NFSVolume" type:"Struct"`
	ConfigFileVolume UpdateContainerGroupConfigFileVolume `name:"ConfigFileVolume" type:"Struct"`
	EmptyDirVolume   UpdateContainerGroupEmptyDirVolume   `name:"EmptyDirVolume" type:"Struct"`
}

type UpdateContainerGroupVolumeMount

type UpdateContainerGroupVolumeMount struct {
	Name      string           `name:"Name"`
	MountPath string           `name:"MountPath"`
	SubPath   string           `name:"SubPath"`
	ReadOnly  requests.Boolean `name:"ReadOnly"`
}

Jump to

Keyboard shortcuts

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