Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AttachEaiRequest
- type AttachEaiResponse
- type AttachEaisEiRequest
- type AttachEaisEiResponse
- type ChangeResourceGroupRequest
- type ChangeResourceGroupResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AttachEai(request *AttachEaiRequest) (response *AttachEaiResponse, err error)
- func (client *Client) AttachEaiWithCallback(request *AttachEaiRequest, ...) <-chan int
- func (client *Client) AttachEaiWithChan(request *AttachEaiRequest) (<-chan *AttachEaiResponse, <-chan error)
- func (client *Client) AttachEaisEi(request *AttachEaisEiRequest) (response *AttachEaisEiResponse, err error)
- func (client *Client) AttachEaisEiWithCallback(request *AttachEaisEiRequest, ...) <-chan int
- func (client *Client) AttachEaisEiWithChan(request *AttachEaisEiRequest) (<-chan *AttachEaisEiResponse, <-chan error)
- func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
- func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, ...) <-chan int
- func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
- func (client *Client) CreateEai(request *CreateEaiRequest) (response *CreateEaiResponse, err error)
- func (client *Client) CreateEaiAll(request *CreateEaiAllRequest) (response *CreateEaiAllResponse, err error)
- func (client *Client) CreateEaiAllWithCallback(request *CreateEaiAllRequest, ...) <-chan int
- func (client *Client) CreateEaiAllWithChan(request *CreateEaiAllRequest) (<-chan *CreateEaiAllResponse, <-chan error)
- func (client *Client) CreateEaiEci(request *CreateEaiEciRequest) (response *CreateEaiEciResponse, err error)
- func (client *Client) CreateEaiEciWithCallback(request *CreateEaiEciRequest, ...) <-chan int
- func (client *Client) CreateEaiEciWithChan(request *CreateEaiEciRequest) (<-chan *CreateEaiEciResponse, <-chan error)
- func (client *Client) CreateEaiEcs(request *CreateEaiEcsRequest) (response *CreateEaiEcsResponse, err error)
- func (client *Client) CreateEaiEcsWithCallback(request *CreateEaiEcsRequest, ...) <-chan int
- func (client *Client) CreateEaiEcsWithChan(request *CreateEaiEcsRequest) (<-chan *CreateEaiEcsResponse, <-chan error)
- func (client *Client) CreateEaiJupyter(request *CreateEaiJupyterRequest) (response *CreateEaiJupyterResponse, err error)
- func (client *Client) CreateEaiJupyterWithCallback(request *CreateEaiJupyterRequest, ...) <-chan int
- func (client *Client) CreateEaiJupyterWithChan(request *CreateEaiJupyterRequest) (<-chan *CreateEaiJupyterResponse, <-chan error)
- func (client *Client) CreateEaiWithCallback(request *CreateEaiRequest, ...) <-chan int
- func (client *Client) CreateEaiWithChan(request *CreateEaiRequest) (<-chan *CreateEaiResponse, <-chan error)
- func (client *Client) CreateEaisEi(request *CreateEaisEiRequest) (response *CreateEaisEiResponse, err error)
- func (client *Client) CreateEaisEiWithCallback(request *CreateEaisEiRequest, ...) <-chan int
- func (client *Client) CreateEaisEiWithChan(request *CreateEaisEiRequest) (<-chan *CreateEaisEiResponse, <-chan error)
- func (client *Client) DeleteEai(request *DeleteEaiRequest) (response *DeleteEaiResponse, err error)
- func (client *Client) DeleteEaiAll(request *DeleteEaiAllRequest) (response *DeleteEaiAllResponse, err error)
- func (client *Client) DeleteEaiAllWithCallback(request *DeleteEaiAllRequest, ...) <-chan int
- func (client *Client) DeleteEaiAllWithChan(request *DeleteEaiAllRequest) (<-chan *DeleteEaiAllResponse, <-chan error)
- func (client *Client) DeleteEaiWithCallback(request *DeleteEaiRequest, ...) <-chan int
- func (client *Client) DeleteEaiWithChan(request *DeleteEaiRequest) (<-chan *DeleteEaiResponse, <-chan error)
- func (client *Client) DeleteEaisEi(request *DeleteEaisEiRequest) (response *DeleteEaisEiResponse, err error)
- func (client *Client) DeleteEaisEiWithCallback(request *DeleteEaisEiRequest, ...) <-chan int
- func (client *Client) DeleteEaisEiWithChan(request *DeleteEaisEiRequest) (<-chan *DeleteEaisEiResponse, <-chan error)
- func (client *Client) DescribeEais(request *DescribeEaisRequest) (response *DescribeEaisResponse, err error)
- func (client *Client) DescribeEaisWithCallback(request *DescribeEaisRequest, ...) <-chan int
- func (client *Client) DescribeEaisWithChan(request *DescribeEaisRequest) (<-chan *DescribeEaisResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DetachEai(request *DetachEaiRequest) (response *DetachEaiResponse, err error)
- func (client *Client) DetachEaiWithCallback(request *DetachEaiRequest, ...) <-chan int
- func (client *Client) DetachEaiWithChan(request *DetachEaiRequest) (<-chan *DetachEaiResponse, <-chan error)
- func (client *Client) DetachEaisEi(request *DetachEaisEiRequest) (response *DetachEaisEiResponse, err error)
- func (client *Client) DetachEaisEiWithCallback(request *DetachEaisEiRequest, ...) <-chan int
- func (client *Client) DetachEaisEiWithChan(request *DetachEaisEiRequest) (<-chan *DetachEaisEiResponse, <-chan error)
- func (client *Client) GetInstanceMetrics(request *GetInstanceMetricsRequest) (response *GetInstanceMetricsResponse, err error)
- func (client *Client) GetInstanceMetricsWithCallback(request *GetInstanceMetricsRequest, ...) <-chan int
- func (client *Client) GetInstanceMetricsWithChan(request *GetInstanceMetricsRequest) (<-chan *GetInstanceMetricsResponse, <-chan error)
- func (client *Client) StartEaisEi(request *StartEaisEiRequest) (response *StartEaisEiResponse, err error)
- func (client *Client) StartEaisEiWithCallback(request *StartEaisEiRequest, ...) <-chan int
- func (client *Client) StartEaisEiWithChan(request *StartEaisEiRequest) (<-chan *StartEaisEiResponse, <-chan error)
- func (client *Client) StopEaisEi(request *StopEaisEiRequest) (response *StopEaisEiResponse, err error)
- func (client *Client) StopEaisEiWithCallback(request *StopEaisEiRequest, ...) <-chan int
- func (client *Client) StopEaisEiWithChan(request *StopEaisEiRequest) (<-chan *StopEaisEiResponse, <-chan error)
- type CreateEaiAllRequest
- type CreateEaiAllResponse
- type CreateEaiEciEci
- type CreateEaiEciEciContainer
- type CreateEaiEciRequest
- type CreateEaiEciResponse
- type CreateEaiEcsEcs
- type CreateEaiEcsRequest
- type CreateEaiEcsResponse
- type CreateEaiJupyterEnvironmentVar
- type CreateEaiJupyterRequest
- type CreateEaiJupyterResponse
- type CreateEaiRequest
- type CreateEaiResponse
- type CreateEaisEiRequest
- type CreateEaisEiResponse
- type DeleteEaiAllRequest
- type DeleteEaiAllResponse
- type DeleteEaiRequest
- type DeleteEaiResponse
- type DeleteEaisEiRequest
- type DeleteEaisEiResponse
- type DescribeEaisRequest
- type DescribeEaisResponse
- type DescribeEaisTag
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DetachEaiRequest
- type DetachEaiResponse
- type DetachEaisEiRequest
- type DetachEaisEiResponse
- type GetInstanceMetricsRequest
- type GetInstanceMetricsResponse
- type Instance
- type Instances
- type Metric
- type Metrics
- type PodMetric
- type PodMetrics
- type Region
- type Regions
- type StartEaisEiRequest
- type StartEaisEiResponse
- type StopEaisEiRequest
- type StopEaisEiResponse
- type Tag
- type Tags
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AttachEaiRequest ¶
type AttachEaiRequest struct { *requests.RpcRequest ClientInstanceId string `position:"Query" name:"ClientInstanceId"` ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
AttachEaiRequest is the request struct for api AttachEai
func CreateAttachEaiRequest ¶
func CreateAttachEaiRequest() (request *AttachEaiRequest)
CreateAttachEaiRequest creates a request to invoke AttachEai API
type AttachEaiResponse ¶
type AttachEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
AttachEaiResponse is the response struct for api AttachEai
func CreateAttachEaiResponse ¶
func CreateAttachEaiResponse() (response *AttachEaiResponse)
CreateAttachEaiResponse creates a response to parse from AttachEai response
type AttachEaisEiRequest ¶ added in v1.62.437
type AttachEaisEiRequest struct { *requests.RpcRequest EiInstanceType string `position:"Query" name:"EiInstanceType"` ClientInstanceId string `position:"Query" name:"ClientInstanceId"` EiInstanceId string `position:"Query" name:"EiInstanceId"` }
AttachEaisEiRequest is the request struct for api AttachEaisEi
func CreateAttachEaisEiRequest ¶ added in v1.62.437
func CreateAttachEaisEiRequest() (request *AttachEaisEiRequest)
CreateAttachEaisEiRequest creates a request to invoke AttachEaisEi API
type AttachEaisEiResponse ¶ added in v1.62.437
type AttachEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EiInstanceId string `json:"EiInstanceId" xml:"EiInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
AttachEaisEiResponse is the response struct for api AttachEaisEi
func CreateAttachEaisEiResponse ¶ added in v1.62.437
func CreateAttachEaisEiResponse() (response *AttachEaisEiResponse)
CreateAttachEaisEiResponse creates a response to parse from AttachEaisEi response
type ChangeResourceGroupRequest ¶ added in v1.62.124
type ChangeResourceGroupRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Query" name:"ResourceGroupId"` ResourceRegionId string `position:"Query" name:"ResourceRegionId"` ResourceId string `position:"Query" name:"ResourceId"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` }
ChangeResourceGroupRequest is the request struct for api ChangeResourceGroup
func CreateChangeResourceGroupRequest ¶ added in v1.62.124
func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest)
CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API
type ChangeResourceGroupResponse ¶ added in v1.62.124
type ChangeResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup
func CreateChangeResourceGroupResponse ¶ added in v1.62.124
func CreateChangeResourceGroupResponse() (response *ChangeResourceGroupResponse)
CreateChangeResourceGroupResponse creates a response to parse from ChangeResourceGroup response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AttachEai ¶
func (client *Client) AttachEai(request *AttachEaiRequest) (response *AttachEaiResponse, err error)
AttachEai invokes the eais.AttachEai API synchronously
func (*Client) AttachEaiWithCallback ¶
func (client *Client) AttachEaiWithCallback(request *AttachEaiRequest, callback func(response *AttachEaiResponse, err error)) <-chan int
AttachEaiWithCallback invokes the eais.AttachEai API asynchronously
func (*Client) AttachEaiWithChan ¶
func (client *Client) AttachEaiWithChan(request *AttachEaiRequest) (<-chan *AttachEaiResponse, <-chan error)
AttachEaiWithChan invokes the eais.AttachEai API asynchronously
func (*Client) AttachEaisEi ¶ added in v1.62.437
func (client *Client) AttachEaisEi(request *AttachEaisEiRequest) (response *AttachEaisEiResponse, err error)
AttachEaisEi invokes the eais.AttachEaisEi API synchronously
func (*Client) AttachEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) AttachEaisEiWithCallback(request *AttachEaisEiRequest, callback func(response *AttachEaisEiResponse, err error)) <-chan int
AttachEaisEiWithCallback invokes the eais.AttachEaisEi API asynchronously
func (*Client) AttachEaisEiWithChan ¶ added in v1.62.437
func (client *Client) AttachEaisEiWithChan(request *AttachEaisEiRequest) (<-chan *AttachEaisEiResponse, <-chan error)
AttachEaisEiWithChan invokes the eais.AttachEaisEi API asynchronously
func (*Client) ChangeResourceGroup ¶ added in v1.62.124
func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
ChangeResourceGroup invokes the eais.ChangeResourceGroup API synchronously
func (*Client) ChangeResourceGroupWithCallback ¶ added in v1.62.124
func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int
ChangeResourceGroupWithCallback invokes the eais.ChangeResourceGroup API asynchronously
func (*Client) ChangeResourceGroupWithChan ¶ added in v1.62.124
func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
ChangeResourceGroupWithChan invokes the eais.ChangeResourceGroup API asynchronously
func (*Client) CreateEai ¶
func (client *Client) CreateEai(request *CreateEaiRequest) (response *CreateEaiResponse, err error)
CreateEai invokes the eais.CreateEai API synchronously
func (*Client) CreateEaiAll ¶
func (client *Client) CreateEaiAll(request *CreateEaiAllRequest) (response *CreateEaiAllResponse, err error)
CreateEaiAll invokes the eais.CreateEaiAll API synchronously
func (*Client) CreateEaiAllWithCallback ¶
func (client *Client) CreateEaiAllWithCallback(request *CreateEaiAllRequest, callback func(response *CreateEaiAllResponse, err error)) <-chan int
CreateEaiAllWithCallback invokes the eais.CreateEaiAll API asynchronously
func (*Client) CreateEaiAllWithChan ¶
func (client *Client) CreateEaiAllWithChan(request *CreateEaiAllRequest) (<-chan *CreateEaiAllResponse, <-chan error)
CreateEaiAllWithChan invokes the eais.CreateEaiAll API asynchronously
func (*Client) CreateEaiEci ¶ added in v1.62.124
func (client *Client) CreateEaiEci(request *CreateEaiEciRequest) (response *CreateEaiEciResponse, err error)
CreateEaiEci invokes the eais.CreateEaiEci API synchronously
func (*Client) CreateEaiEciWithCallback ¶ added in v1.62.124
func (client *Client) CreateEaiEciWithCallback(request *CreateEaiEciRequest, callback func(response *CreateEaiEciResponse, err error)) <-chan int
CreateEaiEciWithCallback invokes the eais.CreateEaiEci API asynchronously
func (*Client) CreateEaiEciWithChan ¶ added in v1.62.124
func (client *Client) CreateEaiEciWithChan(request *CreateEaiEciRequest) (<-chan *CreateEaiEciResponse, <-chan error)
CreateEaiEciWithChan invokes the eais.CreateEaiEci API asynchronously
func (*Client) CreateEaiEcs ¶ added in v1.62.124
func (client *Client) CreateEaiEcs(request *CreateEaiEcsRequest) (response *CreateEaiEcsResponse, err error)
CreateEaiEcs invokes the eais.CreateEaiEcs API synchronously
func (*Client) CreateEaiEcsWithCallback ¶ added in v1.62.124
func (client *Client) CreateEaiEcsWithCallback(request *CreateEaiEcsRequest, callback func(response *CreateEaiEcsResponse, err error)) <-chan int
CreateEaiEcsWithCallback invokes the eais.CreateEaiEcs API asynchronously
func (*Client) CreateEaiEcsWithChan ¶ added in v1.62.124
func (client *Client) CreateEaiEcsWithChan(request *CreateEaiEcsRequest) (<-chan *CreateEaiEcsResponse, <-chan error)
CreateEaiEcsWithChan invokes the eais.CreateEaiEcs API asynchronously
func (*Client) CreateEaiJupyter ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyter(request *CreateEaiJupyterRequest) (response *CreateEaiJupyterResponse, err error)
CreateEaiJupyter invokes the eais.CreateEaiJupyter API synchronously
func (*Client) CreateEaiJupyterWithCallback ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyterWithCallback(request *CreateEaiJupyterRequest, callback func(response *CreateEaiJupyterResponse, err error)) <-chan int
CreateEaiJupyterWithCallback invokes the eais.CreateEaiJupyter API asynchronously
func (*Client) CreateEaiJupyterWithChan ¶ added in v1.61.1801
func (client *Client) CreateEaiJupyterWithChan(request *CreateEaiJupyterRequest) (<-chan *CreateEaiJupyterResponse, <-chan error)
CreateEaiJupyterWithChan invokes the eais.CreateEaiJupyter API asynchronously
func (*Client) CreateEaiWithCallback ¶
func (client *Client) CreateEaiWithCallback(request *CreateEaiRequest, callback func(response *CreateEaiResponse, err error)) <-chan int
CreateEaiWithCallback invokes the eais.CreateEai API asynchronously
func (*Client) CreateEaiWithChan ¶
func (client *Client) CreateEaiWithChan(request *CreateEaiRequest) (<-chan *CreateEaiResponse, <-chan error)
CreateEaiWithChan invokes the eais.CreateEai API asynchronously
func (*Client) CreateEaisEi ¶ added in v1.62.437
func (client *Client) CreateEaisEi(request *CreateEaisEiRequest) (response *CreateEaisEiResponse, err error)
CreateEaisEi invokes the eais.CreateEaisEi API synchronously
func (*Client) CreateEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) CreateEaisEiWithCallback(request *CreateEaisEiRequest, callback func(response *CreateEaisEiResponse, err error)) <-chan int
CreateEaisEiWithCallback invokes the eais.CreateEaisEi API asynchronously
func (*Client) CreateEaisEiWithChan ¶ added in v1.62.437
func (client *Client) CreateEaisEiWithChan(request *CreateEaisEiRequest) (<-chan *CreateEaisEiResponse, <-chan error)
CreateEaisEiWithChan invokes the eais.CreateEaisEi API asynchronously
func (*Client) DeleteEai ¶
func (client *Client) DeleteEai(request *DeleteEaiRequest) (response *DeleteEaiResponse, err error)
DeleteEai invokes the eais.DeleteEai API synchronously
func (*Client) DeleteEaiAll ¶
func (client *Client) DeleteEaiAll(request *DeleteEaiAllRequest) (response *DeleteEaiAllResponse, err error)
DeleteEaiAll invokes the eais.DeleteEaiAll API synchronously
func (*Client) DeleteEaiAllWithCallback ¶
func (client *Client) DeleteEaiAllWithCallback(request *DeleteEaiAllRequest, callback func(response *DeleteEaiAllResponse, err error)) <-chan int
DeleteEaiAllWithCallback invokes the eais.DeleteEaiAll API asynchronously
func (*Client) DeleteEaiAllWithChan ¶
func (client *Client) DeleteEaiAllWithChan(request *DeleteEaiAllRequest) (<-chan *DeleteEaiAllResponse, <-chan error)
DeleteEaiAllWithChan invokes the eais.DeleteEaiAll API asynchronously
func (*Client) DeleteEaiWithCallback ¶
func (client *Client) DeleteEaiWithCallback(request *DeleteEaiRequest, callback func(response *DeleteEaiResponse, err error)) <-chan int
DeleteEaiWithCallback invokes the eais.DeleteEai API asynchronously
func (*Client) DeleteEaiWithChan ¶
func (client *Client) DeleteEaiWithChan(request *DeleteEaiRequest) (<-chan *DeleteEaiResponse, <-chan error)
DeleteEaiWithChan invokes the eais.DeleteEai API asynchronously
func (*Client) DeleteEaisEi ¶ added in v1.62.437
func (client *Client) DeleteEaisEi(request *DeleteEaisEiRequest) (response *DeleteEaisEiResponse, err error)
DeleteEaisEi invokes the eais.DeleteEaisEi API synchronously
func (*Client) DeleteEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) DeleteEaisEiWithCallback(request *DeleteEaisEiRequest, callback func(response *DeleteEaisEiResponse, err error)) <-chan int
DeleteEaisEiWithCallback invokes the eais.DeleteEaisEi API asynchronously
func (*Client) DeleteEaisEiWithChan ¶ added in v1.62.437
func (client *Client) DeleteEaisEiWithChan(request *DeleteEaisEiRequest) (<-chan *DeleteEaisEiResponse, <-chan error)
DeleteEaisEiWithChan invokes the eais.DeleteEaisEi API asynchronously
func (*Client) DescribeEais ¶
func (client *Client) DescribeEais(request *DescribeEaisRequest) (response *DescribeEaisResponse, err error)
DescribeEais invokes the eais.DescribeEais API synchronously
func (*Client) DescribeEaisWithCallback ¶
func (client *Client) DescribeEaisWithCallback(request *DescribeEaisRequest, callback func(response *DescribeEaisResponse, err error)) <-chan int
DescribeEaisWithCallback invokes the eais.DescribeEais API asynchronously
func (*Client) DescribeEaisWithChan ¶
func (client *Client) DescribeEaisWithChan(request *DescribeEaisRequest) (<-chan *DescribeEaisResponse, <-chan error)
DescribeEaisWithChan invokes the eais.DescribeEais API asynchronously
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the eais.DescribeRegions API synchronously
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the eais.DescribeRegions API asynchronously
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the eais.DescribeRegions API asynchronously
func (*Client) DetachEai ¶
func (client *Client) DetachEai(request *DetachEaiRequest) (response *DetachEaiResponse, err error)
DetachEai invokes the eais.DetachEai API synchronously
func (*Client) DetachEaiWithCallback ¶
func (client *Client) DetachEaiWithCallback(request *DetachEaiRequest, callback func(response *DetachEaiResponse, err error)) <-chan int
DetachEaiWithCallback invokes the eais.DetachEai API asynchronously
func (*Client) DetachEaiWithChan ¶
func (client *Client) DetachEaiWithChan(request *DetachEaiRequest) (<-chan *DetachEaiResponse, <-chan error)
DetachEaiWithChan invokes the eais.DetachEai API asynchronously
func (*Client) DetachEaisEi ¶ added in v1.62.437
func (client *Client) DetachEaisEi(request *DetachEaisEiRequest) (response *DetachEaisEiResponse, err error)
DetachEaisEi invokes the eais.DetachEaisEi API synchronously
func (*Client) DetachEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) DetachEaisEiWithCallback(request *DetachEaisEiRequest, callback func(response *DetachEaisEiResponse, err error)) <-chan int
DetachEaisEiWithCallback invokes the eais.DetachEaisEi API asynchronously
func (*Client) DetachEaisEiWithChan ¶ added in v1.62.437
func (client *Client) DetachEaisEiWithChan(request *DetachEaisEiRequest) (<-chan *DetachEaisEiResponse, <-chan error)
DetachEaisEiWithChan invokes the eais.DetachEaisEi API asynchronously
func (*Client) GetInstanceMetrics ¶ added in v1.62.124
func (client *Client) GetInstanceMetrics(request *GetInstanceMetricsRequest) (response *GetInstanceMetricsResponse, err error)
GetInstanceMetrics invokes the eais.GetInstanceMetrics API synchronously
func (*Client) GetInstanceMetricsWithCallback ¶ added in v1.62.124
func (client *Client) GetInstanceMetricsWithCallback(request *GetInstanceMetricsRequest, callback func(response *GetInstanceMetricsResponse, err error)) <-chan int
GetInstanceMetricsWithCallback invokes the eais.GetInstanceMetrics API asynchronously
func (*Client) GetInstanceMetricsWithChan ¶ added in v1.62.124
func (client *Client) GetInstanceMetricsWithChan(request *GetInstanceMetricsRequest) (<-chan *GetInstanceMetricsResponse, <-chan error)
GetInstanceMetricsWithChan invokes the eais.GetInstanceMetrics API asynchronously
func (*Client) StartEaisEi ¶ added in v1.62.437
func (client *Client) StartEaisEi(request *StartEaisEiRequest) (response *StartEaisEiResponse, err error)
StartEaisEi invokes the eais.StartEaisEi API synchronously
func (*Client) StartEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) StartEaisEiWithCallback(request *StartEaisEiRequest, callback func(response *StartEaisEiResponse, err error)) <-chan int
StartEaisEiWithCallback invokes the eais.StartEaisEi API asynchronously
func (*Client) StartEaisEiWithChan ¶ added in v1.62.437
func (client *Client) StartEaisEiWithChan(request *StartEaisEiRequest) (<-chan *StartEaisEiResponse, <-chan error)
StartEaisEiWithChan invokes the eais.StartEaisEi API asynchronously
func (*Client) StopEaisEi ¶ added in v1.62.437
func (client *Client) StopEaisEi(request *StopEaisEiRequest) (response *StopEaisEiResponse, err error)
StopEaisEi invokes the eais.StopEaisEi API synchronously
func (*Client) StopEaisEiWithCallback ¶ added in v1.62.437
func (client *Client) StopEaisEiWithCallback(request *StopEaisEiRequest, callback func(response *StopEaisEiResponse, err error)) <-chan int
StopEaisEiWithCallback invokes the eais.StopEaisEi API asynchronously
func (*Client) StopEaisEiWithChan ¶ added in v1.62.437
func (client *Client) StopEaisEiWithChan(request *StopEaisEiRequest) (<-chan *StopEaisEiResponse, <-chan error)
StopEaisEiWithChan invokes the eais.StopEaisEi API asynchronously
type CreateEaiAllRequest ¶
type CreateEaiAllRequest struct { *requests.RpcRequest ClientImageId string `position:"Query" name:"ClientImageId"` ClientSystemDiskCategory string `position:"Query" name:"ClientSystemDiskCategory"` ClientInternetMaxBandwidthOut requests.Integer `position:"Query" name:"ClientInternetMaxBandwidthOut"` ClientToken string `position:"Query" name:"ClientToken"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` ClientInstanceName string `position:"Query" name:"ClientInstanceName"` ClientInternetMaxBandwidthIn requests.Integer `position:"Query" name:"ClientInternetMaxBandwidthIn"` ClientSystemDiskSize requests.Integer `position:"Query" name:"ClientSystemDiskSize"` ClientVSwitchId string `position:"Query" name:"ClientVSwitchId"` ClientPassword string `position:"Query" name:"ClientPassword"` ClientInstanceType string `position:"Query" name:"ClientInstanceType"` ClientSecurityGroupId string `position:"Query" name:"ClientSecurityGroupId"` EaiInstanceType string `position:"Query" name:"EaiInstanceType"` ClientZoneId string `position:"Query" name:"ClientZoneId"` InstanceName string `position:"Query" name:"InstanceName"` }
CreateEaiAllRequest is the request struct for api CreateEaiAll
func CreateCreateEaiAllRequest ¶
func CreateCreateEaiAllRequest() (request *CreateEaiAllRequest)
CreateCreateEaiAllRequest creates a request to invoke CreateEaiAll API
type CreateEaiAllResponse ¶
type CreateEaiAllResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
CreateEaiAllResponse is the response struct for api CreateEaiAll
func CreateCreateEaiAllResponse ¶
func CreateCreateEaiAllResponse() (response *CreateEaiAllResponse)
CreateCreateEaiAllResponse creates a response to parse from CreateEaiAll response
type CreateEaiEciEci ¶ added in v1.62.124
type CreateEaiEciEci struct { Container CreateEaiEciEciContainer `name:"Container" type:"Struct"` Volume string `name:"Volume"` EipId string `name:"EipId"` Name string `name:"Name"` Type string `name:"Type"` }
CreateEaiEciEci is a repeated param struct in CreateEaiEciRequest
type CreateEaiEciEciContainer ¶ added in v1.62.124
type CreateEaiEciEciContainer struct { Image string `name:"Image"` Arg string `name:"Arg"` Name string `name:"Name"` Volumes string `name:"Volumes"` Command string `name:"Command"` }
CreateEaiEciEciContainer is a repeated param struct in CreateEaiEciRequest
type CreateEaiEciRequest ¶ added in v1.62.124
type CreateEaiEciRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` Eci CreateEaiEciEci `position:"Query" name:"Eci" type:"Struct"` EaisType string `position:"Query" name:"EaisType"` VSwitchId string `position:"Query" name:"VSwitchId"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` EaisName string `position:"Query" name:"EaisName"` }
CreateEaiEciRequest is the request struct for api CreateEaiEci
func CreateCreateEaiEciRequest ¶ added in v1.62.124
func CreateCreateEaiEciRequest() (request *CreateEaiEciRequest)
CreateCreateEaiEciRequest creates a request to invoke CreateEaiEci API
type CreateEaiEciResponse ¶ added in v1.62.124
type CreateEaiEciResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
CreateEaiEciResponse is the response struct for api CreateEaiEci
func CreateCreateEaiEciResponse ¶ added in v1.62.124
func CreateCreateEaiEciResponse() (response *CreateEaiEciResponse)
CreateCreateEaiEciResponse creates a response to parse from CreateEaiEci response
type CreateEaiEcsEcs ¶ added in v1.62.124
type CreateEaiEcsEcs struct { Password string `name:"Password"` ImageId string `name:"ImageId"` SystemDiskCategory string `name:"SystemDiskCategory"` InternetMaxBandwidthOut string `name:"InternetMaxBandwidthOut"` Name string `name:"Name"` SystemDiskSize string `name:"SystemDiskSize"` ZoneId string `name:"ZoneId"` Type string `name:"Type"` InternetMaxBandwidthIn string `name:"InternetMaxBandwidthIn"` }
CreateEaiEcsEcs is a repeated param struct in CreateEaiEcsRequest
type CreateEaiEcsRequest ¶ added in v1.62.124
type CreateEaiEcsRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` EaisType string `position:"Query" name:"EaisType"` VSwitchId string `position:"Query" name:"VSwitchId"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` Ecs CreateEaiEcsEcs `position:"Query" name:"Ecs" type:"Struct"` EaisName string `position:"Query" name:"EaisName"` }
CreateEaiEcsRequest is the request struct for api CreateEaiEcs
func CreateCreateEaiEcsRequest ¶ added in v1.62.124
func CreateCreateEaiEcsRequest() (request *CreateEaiEcsRequest)
CreateCreateEaiEcsRequest creates a request to invoke CreateEaiEcs API
type CreateEaiEcsResponse ¶ added in v1.62.124
type CreateEaiEcsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` }
CreateEaiEcsResponse is the response struct for api CreateEaiEcs
func CreateCreateEaiEcsResponse ¶ added in v1.62.124
func CreateCreateEaiEcsResponse() (response *CreateEaiEcsResponse)
CreateCreateEaiEcsResponse creates a response to parse from CreateEaiEcs response
type CreateEaiJupyterEnvironmentVar ¶ added in v1.61.1824
CreateEaiJupyterEnvironmentVar is a repeated param struct in CreateEaiJupyterRequest
type CreateEaiJupyterRequest ¶ added in v1.61.1801
type CreateEaiJupyterRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` EaisType string `position:"Query" name:"EaisType"` VSwitchId string `position:"Query" name:"VSwitchId"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` EnvironmentVar *[]CreateEaiJupyterEnvironmentVar `position:"Query" name:"EnvironmentVar" type:"Json"` EaisName string `position:"Query" name:"EaisName"` }
CreateEaiJupyterRequest is the request struct for api CreateEaiJupyter
func CreateCreateEaiJupyterRequest ¶ added in v1.61.1801
func CreateCreateEaiJupyterRequest() (request *CreateEaiJupyterRequest)
CreateCreateEaiJupyterRequest creates a request to invoke CreateEaiJupyter API
type CreateEaiJupyterResponse ¶ added in v1.61.1801
type CreateEaiJupyterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` }
CreateEaiJupyterResponse is the response struct for api CreateEaiJupyter
func CreateCreateEaiJupyterResponse ¶ added in v1.61.1801
func CreateCreateEaiJupyterResponse() (response *CreateEaiJupyterResponse)
CreateCreateEaiJupyterResponse creates a response to parse from CreateEaiJupyter response
type CreateEaiRequest ¶
type CreateEaiRequest struct { *requests.RpcRequest Image string `position:"Query" name:"Image"` ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` VSwitchId string `position:"Query" name:"VSwitchId"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` InstanceName string `position:"Query" name:"InstanceName"` InstanceType string `position:"Query" name:"InstanceType"` }
CreateEaiRequest is the request struct for api CreateEai
func CreateCreateEaiRequest ¶
func CreateCreateEaiRequest() (request *CreateEaiRequest)
CreateCreateEaiRequest creates a request to invoke CreateEai API
type CreateEaiResponse ¶
type CreateEaiResponse struct { *responses.BaseResponse ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateEaiResponse is the response struct for api CreateEai
func CreateCreateEaiResponse ¶
func CreateCreateEaiResponse() (response *CreateEaiResponse)
CreateCreateEaiResponse creates a response to parse from CreateEai response
type CreateEaisEiRequest ¶ added in v1.62.437
type CreateEaisEiRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SecurityGroupId string `position:"Query" name:"SecurityGroupId"` VSwitchId string `position:"Query" name:"VSwitchId"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` InstanceName string `position:"Query" name:"InstanceName"` InstanceType string `position:"Query" name:"InstanceType"` }
CreateEaisEiRequest is the request struct for api CreateEaisEi
func CreateCreateEaisEiRequest ¶ added in v1.62.437
func CreateCreateEaisEiRequest() (request *CreateEaisEiRequest)
CreateCreateEaisEiRequest creates a request to invoke CreateEaisEi API
type CreateEaisEiResponse ¶ added in v1.62.437
type CreateEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EiInstanceId string `json:"EiInstanceId" xml:"EiInstanceId"` }
CreateEaisEiResponse is the response struct for api CreateEaisEi
func CreateCreateEaisEiResponse ¶ added in v1.62.437
func CreateCreateEaisEiResponse() (response *CreateEaisEiResponse)
CreateCreateEaisEiResponse creates a response to parse from CreateEaisEi response
type DeleteEaiAllRequest ¶
type DeleteEaiAllRequest struct { *requests.RpcRequest ClientInstanceId string `position:"Query" name:"ClientInstanceId"` ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
DeleteEaiAllRequest is the request struct for api DeleteEaiAll
func CreateDeleteEaiAllRequest ¶
func CreateDeleteEaiAllRequest() (request *DeleteEaiAllRequest)
CreateDeleteEaiAllRequest creates a request to invoke DeleteEaiAll API
type DeleteEaiAllResponse ¶
type DeleteEaiAllResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteEaiAllResponse is the response struct for api DeleteEaiAll
func CreateDeleteEaiAllResponse ¶
func CreateDeleteEaiAllResponse() (response *DeleteEaiAllResponse)
CreateDeleteEaiAllResponse creates a response to parse from DeleteEaiAll response
type DeleteEaiRequest ¶
type DeleteEaiRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` Force requests.Boolean `position:"Query" name:"Force"` }
DeleteEaiRequest is the request struct for api DeleteEai
func CreateDeleteEaiRequest ¶
func CreateDeleteEaiRequest() (request *DeleteEaiRequest)
CreateDeleteEaiRequest creates a request to invoke DeleteEai API
type DeleteEaiResponse ¶
type DeleteEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteEaiResponse is the response struct for api DeleteEai
func CreateDeleteEaiResponse ¶
func CreateDeleteEaiResponse() (response *DeleteEaiResponse)
CreateDeleteEaiResponse creates a response to parse from DeleteEai response
type DeleteEaisEiRequest ¶ added in v1.62.437
type DeleteEaisEiRequest struct { *requests.RpcRequest EiInstanceId string `position:"Query" name:"EiInstanceId"` Force requests.Boolean `position:"Query" name:"Force"` }
DeleteEaisEiRequest is the request struct for api DeleteEaisEi
func CreateDeleteEaisEiRequest ¶ added in v1.62.437
func CreateDeleteEaisEiRequest() (request *DeleteEaisEiRequest)
CreateDeleteEaisEiRequest creates a request to invoke DeleteEaisEi API
type DeleteEaisEiResponse ¶ added in v1.62.437
type DeleteEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteEaisEiResponse is the response struct for api DeleteEaisEi
func CreateDeleteEaisEiResponse ¶ added in v1.62.437
func CreateDeleteEaisEiResponse() (response *DeleteEaisEiResponse)
CreateDeleteEaisEiResponse creates a response to parse from DeleteEaisEi response
type DescribeEaisRequest ¶
type DescribeEaisRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceIds string `position:"Query" name:"ElasticAcceleratedInstanceIds"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` ResourceGroupId string `position:"Query" name:"ResourceGroupId"` PageSize requests.Integer `position:"Query" name:"PageSize"` InstanceType string `position:"Query" name:"InstanceType"` Tag *[]DescribeEaisTag `position:"Query" name:"Tag" type:"Repeated"` ClientInstanceId string `position:"Query" name:"ClientInstanceId"` InstanceName string `position:"Query" name:"InstanceName"` Status string `position:"Query" name:"Status"` }
DescribeEaisRequest is the request struct for api DescribeEais
func CreateDescribeEaisRequest ¶
func CreateDescribeEaisRequest() (request *DescribeEaisRequest)
CreateDescribeEaisRequest creates a request to invoke DescribeEais API
type DescribeEaisResponse ¶
type DescribeEaisResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Instances Instances `json:"Instances" xml:"Instances"` }
DescribeEaisResponse is the response struct for api DescribeEais
func CreateDescribeEaisResponse ¶
func CreateDescribeEaisResponse() (response *DescribeEaisResponse)
CreateDescribeEaisResponse creates a response to parse from DescribeEais response
type DescribeEaisTag ¶ added in v1.62.559
DescribeEaisTag is a repeated param struct in DescribeEaisRequest
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*requests.RpcRequest
}
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions Regions `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DetachEaiRequest ¶
type DetachEaiRequest struct { *requests.RpcRequest ElasticAcceleratedInstanceId string `position:"Query" name:"ElasticAcceleratedInstanceId"` }
DetachEaiRequest is the request struct for api DetachEai
func CreateDetachEaiRequest ¶
func CreateDetachEaiRequest() (request *DetachEaiRequest)
CreateDetachEaiRequest creates a request to invoke DetachEai API
type DetachEaiResponse ¶
type DetachEaiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DetachEaiResponse is the response struct for api DetachEai
func CreateDetachEaiResponse ¶
func CreateDetachEaiResponse() (response *DetachEaiResponse)
CreateDetachEaiResponse creates a response to parse from DetachEai response
type DetachEaisEiRequest ¶ added in v1.62.437
type DetachEaisEiRequest struct { *requests.RpcRequest EiInstanceId string `position:"Query" name:"EiInstanceId"` }
DetachEaisEiRequest is the request struct for api DetachEaisEi
func CreateDetachEaisEiRequest ¶ added in v1.62.437
func CreateDetachEaisEiRequest() (request *DetachEaisEiRequest)
CreateDetachEaisEiRequest creates a request to invoke DetachEaisEi API
type DetachEaisEiResponse ¶ added in v1.62.437
type DetachEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DetachEaisEiResponse is the response struct for api DetachEaisEi
func CreateDetachEaisEiResponse ¶ added in v1.62.437
func CreateDetachEaisEiResponse() (response *DetachEaisEiResponse)
CreateDetachEaisEiResponse creates a response to parse from DetachEaisEi response
type GetInstanceMetricsRequest ¶ added in v1.62.124
type GetInstanceMetricsRequest struct { *requests.RpcRequest MetricType string `position:"Query" name:"MetricType"` TimeStep string `position:"Query" name:"TimeStep"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` InstanceId string `position:"Query" name:"InstanceId"` }
GetInstanceMetricsRequest is the request struct for api GetInstanceMetrics
func CreateGetInstanceMetricsRequest ¶ added in v1.62.124
func CreateGetInstanceMetricsRequest() (request *GetInstanceMetricsRequest)
CreateGetInstanceMetricsRequest creates a request to invoke GetInstanceMetrics API
type GetInstanceMetricsResponse ¶ added in v1.62.124
type GetInstanceMetricsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` PodMetrics []PodMetric `json:"PodMetrics" xml:"PodMetrics"` }
GetInstanceMetricsResponse is the response struct for api GetInstanceMetrics
func CreateGetInstanceMetricsResponse ¶ added in v1.62.124
func CreateGetInstanceMetricsResponse() (response *GetInstanceMetricsResponse)
CreateGetInstanceMetricsResponse creates a response to parse from GetInstanceMetrics response
type Instance ¶
type Instance struct { Status string `json:"Status" xml:"Status"` CreationTime string `json:"CreationTime" xml:"CreationTime"` ClientInstanceName string `json:"ClientInstanceName" xml:"ClientInstanceName"` Description string `json:"Description" xml:"Description"` ElasticAcceleratedInstanceId string `json:"ElasticAcceleratedInstanceId" xml:"ElasticAcceleratedInstanceId"` InstanceName string `json:"InstanceName" xml:"InstanceName"` ClientInstanceType string `json:"ClientInstanceType" xml:"ClientInstanceType"` ClientInstanceId string `json:"ClientInstanceId" xml:"ClientInstanceId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` InstanceType string `json:"InstanceType" xml:"InstanceType"` RegionId string `json:"RegionId" xml:"RegionId"` Category string `json:"Category" xml:"Category"` JupyterUrl string `json:"JupyterUrl" xml:"JupyterUrl"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"` StartTime string `json:"StartTime" xml:"StartTime"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` Tags Tags `json:"Tags" xml:"Tags"` }
Instance is a nested struct in eais response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in eais response
type Metrics ¶ added in v1.62.124
type Metrics struct {
Metric []Metric `json:"Metric" xml:"Metric"`
}
Metrics is a nested struct in eais response
type PodMetric ¶ added in v1.62.124
type PodMetric struct { PodId string `json:"PodId" xml:"PodId"` Metrics []Metric `json:"Metrics" xml:"Metrics"` }
PodMetric is a nested struct in eais response
type PodMetrics ¶ added in v1.62.124
type PodMetrics struct {
PodMetric []PodMetric `json:"PodMetric" xml:"PodMetric"`
}
PodMetrics is a nested struct in eais response
type Region ¶
type Region struct { RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` LocalName string `json:"LocalName" xml:"LocalName"` RegionId string `json:"RegionId" xml:"RegionId"` }
Region is a nested struct in eais response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in eais response
type StartEaisEiRequest ¶ added in v1.62.437
type StartEaisEiRequest struct { *requests.RpcRequest EiInstanceId string `position:"Query" name:"EiInstanceId"` }
StartEaisEiRequest is the request struct for api StartEaisEi
func CreateStartEaisEiRequest ¶ added in v1.62.437
func CreateStartEaisEiRequest() (request *StartEaisEiRequest)
CreateStartEaisEiRequest creates a request to invoke StartEaisEi API
type StartEaisEiResponse ¶ added in v1.62.437
type StartEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StartEaisEiResponse is the response struct for api StartEaisEi
func CreateStartEaisEiResponse ¶ added in v1.62.437
func CreateStartEaisEiResponse() (response *StartEaisEiResponse)
CreateStartEaisEiResponse creates a response to parse from StartEaisEi response
type StopEaisEiRequest ¶ added in v1.62.437
type StopEaisEiRequest struct { *requests.RpcRequest EiInstanceId string `position:"Query" name:"EiInstanceId"` }
StopEaisEiRequest is the request struct for api StopEaisEi
func CreateStopEaisEiRequest ¶ added in v1.62.437
func CreateStopEaisEiRequest() (request *StopEaisEiRequest)
CreateStopEaisEiRequest creates a request to invoke StopEaisEi API
type StopEaisEiResponse ¶ added in v1.62.437
type StopEaisEiResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StopEaisEiResponse is the response struct for api StopEaisEi
func CreateStopEaisEiResponse ¶ added in v1.62.437
func CreateStopEaisEiResponse() (response *StopEaisEiResponse)
CreateStopEaisEiResponse creates a response to parse from StopEaisEi response
Source Files ¶
- attach_eai.go
- attach_eais_ei.go
- change_resource_group.go
- client.go
- create_eai.go
- create_eai_all.go
- create_eai_eci.go
- create_eai_ecs.go
- create_eai_jupyter.go
- create_eais_ei.go
- delete_eai.go
- delete_eai_all.go
- delete_eais_ei.go
- describe_eais.go
- describe_regions.go
- detach_eai.go
- detach_eais_ei.go
- endpoint.go
- get_instance_metrics.go
- start_eais_ei.go
- stop_eais_ei.go
- struct_instance.go
- struct_instances.go
- struct_metric.go
- struct_metrics.go
- struct_pod_metric.go
- struct_pod_metrics.go
- struct_region.go
- struct_regions.go
- struct_tag.go
- struct_tags.go