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 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) 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) 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) 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) 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)
- 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 DeleteEaiAllRequest
- type DeleteEaiAllResponse
- type DeleteEaiRequest
- type DeleteEaiResponse
- type DescribeEaisRequest
- type DescribeEaisResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DetachEaiRequest
- type DetachEaiResponse
- type GetInstanceMetricsRequest
- type GetInstanceMetricsResponse
- type Instance
- type Instances
- type Metric
- type Metrics
- type PodMetric
- type PodMetrics
- type Region
- type Regions
- 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 ChangeResourceGroupRequest ¶
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 ¶
func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest)
CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API
type ChangeResourceGroupResponse ¶
type ChangeResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup
func CreateChangeResourceGroupResponse ¶
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) ChangeResourceGroup ¶
func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
ChangeResourceGroup invokes the eais.ChangeResourceGroup API synchronously
func (*Client) ChangeResourceGroupWithCallback ¶
func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int
ChangeResourceGroupWithCallback invokes the eais.ChangeResourceGroup API asynchronously
func (*Client) ChangeResourceGroupWithChan ¶
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 ¶
func (client *Client) CreateEaiEci(request *CreateEaiEciRequest) (response *CreateEaiEciResponse, err error)
CreateEaiEci invokes the eais.CreateEaiEci API synchronously
func (*Client) CreateEaiEciWithCallback ¶
func (client *Client) CreateEaiEciWithCallback(request *CreateEaiEciRequest, callback func(response *CreateEaiEciResponse, err error)) <-chan int
CreateEaiEciWithCallback invokes the eais.CreateEaiEci API asynchronously
func (*Client) CreateEaiEciWithChan ¶
func (client *Client) CreateEaiEciWithChan(request *CreateEaiEciRequest) (<-chan *CreateEaiEciResponse, <-chan error)
CreateEaiEciWithChan invokes the eais.CreateEaiEci API asynchronously
func (*Client) CreateEaiEcs ¶
func (client *Client) CreateEaiEcs(request *CreateEaiEcsRequest) (response *CreateEaiEcsResponse, err error)
CreateEaiEcs invokes the eais.CreateEaiEcs API synchronously
func (*Client) CreateEaiEcsWithCallback ¶
func (client *Client) CreateEaiEcsWithCallback(request *CreateEaiEcsRequest, callback func(response *CreateEaiEcsResponse, err error)) <-chan int
CreateEaiEcsWithCallback invokes the eais.CreateEaiEcs API asynchronously
func (*Client) CreateEaiEcsWithChan ¶
func (client *Client) CreateEaiEcsWithChan(request *CreateEaiEcsRequest) (<-chan *CreateEaiEcsResponse, <-chan error)
CreateEaiEcsWithChan invokes the eais.CreateEaiEcs API asynchronously
func (*Client) CreateEaiJupyter ¶
func (client *Client) CreateEaiJupyter(request *CreateEaiJupyterRequest) (response *CreateEaiJupyterResponse, err error)
CreateEaiJupyter invokes the eais.CreateEaiJupyter API synchronously
func (*Client) CreateEaiJupyterWithCallback ¶
func (client *Client) CreateEaiJupyterWithCallback(request *CreateEaiJupyterRequest, callback func(response *CreateEaiJupyterResponse, err error)) <-chan int
CreateEaiJupyterWithCallback invokes the eais.CreateEaiJupyter API asynchronously
func (*Client) CreateEaiJupyterWithChan ¶
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) 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) 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) GetInstanceMetrics ¶
func (client *Client) GetInstanceMetrics(request *GetInstanceMetricsRequest) (response *GetInstanceMetricsResponse, err error)
GetInstanceMetrics invokes the eais.GetInstanceMetrics API synchronously
func (*Client) GetInstanceMetricsWithCallback ¶
func (client *Client) GetInstanceMetricsWithCallback(request *GetInstanceMetricsRequest, callback func(response *GetInstanceMetricsResponse, err error)) <-chan int
GetInstanceMetricsWithCallback invokes the eais.GetInstanceMetrics API asynchronously
func (*Client) GetInstanceMetricsWithChan ¶
func (client *Client) GetInstanceMetricsWithChan(request *GetInstanceMetricsRequest) (<-chan *GetInstanceMetricsResponse, <-chan error)
GetInstanceMetricsWithChan invokes the eais.GetInstanceMetrics 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 ¶
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 ¶
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 ¶
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 ¶
func CreateCreateEaiEciRequest() (request *CreateEaiEciRequest)
CreateCreateEaiEciRequest creates a request to invoke CreateEaiEci API
type CreateEaiEciResponse ¶
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 ¶
func CreateCreateEaiEciResponse() (response *CreateEaiEciResponse)
CreateCreateEaiEciResponse creates a response to parse from CreateEaiEci response
type CreateEaiEcsEcs ¶
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 ¶
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 ¶
func CreateCreateEaiEcsRequest() (request *CreateEaiEcsRequest)
CreateCreateEaiEcsRequest creates a request to invoke CreateEaiEcs API
type CreateEaiEcsResponse ¶
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 ¶
func CreateCreateEaiEcsResponse() (response *CreateEaiEcsResponse)
CreateCreateEaiEcsResponse creates a response to parse from CreateEaiEcs response
type CreateEaiJupyterEnvironmentVar ¶
CreateEaiJupyterEnvironmentVar is a repeated param struct in CreateEaiJupyterRequest
type CreateEaiJupyterRequest ¶
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"` }
CreateEaiJupyterRequest is the request struct for api CreateEaiJupyter
func CreateCreateEaiJupyterRequest ¶
func CreateCreateEaiJupyterRequest() (request *CreateEaiJupyterRequest)
CreateCreateEaiJupyterRequest creates a request to invoke CreateEaiJupyter API
type CreateEaiJupyterResponse ¶
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 ¶
func CreateCreateEaiJupyterResponse() (response *CreateEaiJupyterResponse)
CreateCreateEaiJupyterResponse creates a response to parse from CreateEaiJupyter response
type CreateEaiRequest ¶
type CreateEaiRequest 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"` }
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 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 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"` InstanceName string `position:"Query" name:"InstanceName"` PageSize requests.Integer `position:"Query" name:"PageSize"` InstanceType string `position:"Query" name:"InstanceType"` 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 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 GetInstanceMetricsRequest ¶
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 ¶
func CreateGetInstanceMetricsRequest() (request *GetInstanceMetricsRequest)
CreateGetInstanceMetricsRequest creates a request to invoke GetInstanceMetrics API
type GetInstanceMetricsResponse ¶
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 ¶
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 ¶
type Metrics struct {
Metric []Metric `json:"Metric" xml:"Metric"`
}
Metrics is a nested struct in eais response
type PodMetric ¶
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 ¶
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
Source Files ¶
- attach_eai.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
- delete_eai.go
- delete_eai_all.go
- describe_eais.go
- describe_regions.go
- detach_eai.go
- endpoint.go
- get_instance_metrics.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