Documentation ¶
Index ¶
- 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) GetInstanceRecordConfig(request *GetInstanceRecordConfigRequest) (response *GetInstanceRecordConfigResponse, err error)
- func (client *Client) GetInstanceRecordConfigWithCallback(request *GetInstanceRecordConfigRequest, ...) <-chan int
- func (client *Client) GetInstanceRecordConfigWithChan(request *GetInstanceRecordConfigRequest) (<-chan *GetInstanceRecordConfigResponse, <-chan error)
- func (client *Client) ListInstanceRecords(request *ListInstanceRecordsRequest) (response *ListInstanceRecordsResponse, err error)
- func (client *Client) ListInstanceRecordsWithCallback(request *ListInstanceRecordsRequest, ...) <-chan int
- func (client *Client) ListInstanceRecordsWithChan(request *ListInstanceRecordsRequest) (<-chan *ListInstanceRecordsResponse, <-chan error)
- func (client *Client) ListTerminalCommands(request *ListTerminalCommandsRequest) (response *ListTerminalCommandsResponse, err error)
- func (client *Client) ListTerminalCommandsWithCallback(request *ListTerminalCommandsRequest, ...) <-chan int
- func (client *Client) ListTerminalCommandsWithChan(request *ListTerminalCommandsRequest) (<-chan *ListTerminalCommandsResponse, <-chan error)
- func (client *Client) LoginInstance(request *LoginInstanceRequest) (response *LoginInstanceResponse, err error)
- func (client *Client) LoginInstanceWithCallback(request *LoginInstanceRequest, ...) <-chan int
- func (client *Client) LoginInstanceWithChan(request *LoginInstanceRequest) (<-chan *LoginInstanceResponse, <-chan error)
- func (client *Client) SetInstanceRecordConfig(request *SetInstanceRecordConfigRequest) (response *SetInstanceRecordConfigResponse, err error)
- func (client *Client) SetInstanceRecordConfigWithCallback(request *SetInstanceRecordConfigRequest, ...) <-chan int
- func (client *Client) SetInstanceRecordConfigWithChan(request *SetInstanceRecordConfigRequest) (<-chan *SetInstanceRecordConfigResponse, <-chan error)
- func (client *Client) ViewInstanceRecords(request *ViewInstanceRecordsRequest) (response *ViewInstanceRecordsResponse, err error)
- func (client *Client) ViewInstanceRecordsWithCallback(request *ViewInstanceRecordsRequest, ...) <-chan int
- func (client *Client) ViewInstanceRecordsWithChan(request *ViewInstanceRecordsRequest) (<-chan *ViewInstanceRecordsResponse, <-chan error)
- type DisposableAccount
- type GetInstanceRecordConfigRequest
- type GetInstanceRecordConfigResponse
- type InstanceLoginInfoList
- type InstanceLoginInfoListItem
- type InstanceLoginView
- type ListInstanceRecordsRequest
- type ListInstanceRecordsResponse
- type ListTerminalCommandsRequest
- type ListTerminalCommandsResponse
- type LoginInstanceInstanceLoginInfo
- type LoginInstanceInstanceLoginInfoOptions
- type LoginInstanceInstanceLoginInfoOptionsContainerInfo
- type LoginInstancePartnerInfo
- type LoginInstanceRequest
- type LoginInstanceResponse
- type LoginInstanceUserAccount
- type LoginInstanceUserAccountOptions
- type RecordList
- type RecordListItem
- type Root
- type SessionControl
- type SetInstanceRecordConfigRequest
- type SetInstanceRecordConfigResponse
- type TerminalCommandList
- type TerminalCommandListItem
- type ViewInstanceRecordsRequest
- type ViewInstanceRecordsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetInstanceRecordConfig ¶
func (client *Client) GetInstanceRecordConfig(request *GetInstanceRecordConfigRequest) (response *GetInstanceRecordConfigResponse, err error)
GetInstanceRecordConfig invokes the ecs_workbench.GetInstanceRecordConfig API synchronously
func (*Client) GetInstanceRecordConfigWithCallback ¶
func (client *Client) GetInstanceRecordConfigWithCallback(request *GetInstanceRecordConfigRequest, callback func(response *GetInstanceRecordConfigResponse, err error)) <-chan int
GetInstanceRecordConfigWithCallback invokes the ecs_workbench.GetInstanceRecordConfig API asynchronously
func (*Client) GetInstanceRecordConfigWithChan ¶
func (client *Client) GetInstanceRecordConfigWithChan(request *GetInstanceRecordConfigRequest) (<-chan *GetInstanceRecordConfigResponse, <-chan error)
GetInstanceRecordConfigWithChan invokes the ecs_workbench.GetInstanceRecordConfig API asynchronously
func (*Client) ListInstanceRecords ¶
func (client *Client) ListInstanceRecords(request *ListInstanceRecordsRequest) (response *ListInstanceRecordsResponse, err error)
ListInstanceRecords invokes the ecs_workbench.ListInstanceRecords API synchronously
func (*Client) ListInstanceRecordsWithCallback ¶
func (client *Client) ListInstanceRecordsWithCallback(request *ListInstanceRecordsRequest, callback func(response *ListInstanceRecordsResponse, err error)) <-chan int
ListInstanceRecordsWithCallback invokes the ecs_workbench.ListInstanceRecords API asynchronously
func (*Client) ListInstanceRecordsWithChan ¶
func (client *Client) ListInstanceRecordsWithChan(request *ListInstanceRecordsRequest) (<-chan *ListInstanceRecordsResponse, <-chan error)
ListInstanceRecordsWithChan invokes the ecs_workbench.ListInstanceRecords API asynchronously
func (*Client) ListTerminalCommands ¶ added in v1.63.20
func (client *Client) ListTerminalCommands(request *ListTerminalCommandsRequest) (response *ListTerminalCommandsResponse, err error)
ListTerminalCommands invokes the ecs_workbench.ListTerminalCommands API synchronously
func (*Client) ListTerminalCommandsWithCallback ¶ added in v1.63.20
func (client *Client) ListTerminalCommandsWithCallback(request *ListTerminalCommandsRequest, callback func(response *ListTerminalCommandsResponse, err error)) <-chan int
ListTerminalCommandsWithCallback invokes the ecs_workbench.ListTerminalCommands API asynchronously
func (*Client) ListTerminalCommandsWithChan ¶ added in v1.63.20
func (client *Client) ListTerminalCommandsWithChan(request *ListTerminalCommandsRequest) (<-chan *ListTerminalCommandsResponse, <-chan error)
ListTerminalCommandsWithChan invokes the ecs_workbench.ListTerminalCommands API asynchronously
func (*Client) LoginInstance ¶
func (client *Client) LoginInstance(request *LoginInstanceRequest) (response *LoginInstanceResponse, err error)
LoginInstance invokes the ecs_workbench.LoginInstance API synchronously
func (*Client) LoginInstanceWithCallback ¶
func (client *Client) LoginInstanceWithCallback(request *LoginInstanceRequest, callback func(response *LoginInstanceResponse, err error)) <-chan int
LoginInstanceWithCallback invokes the ecs_workbench.LoginInstance API asynchronously
func (*Client) LoginInstanceWithChan ¶
func (client *Client) LoginInstanceWithChan(request *LoginInstanceRequest) (<-chan *LoginInstanceResponse, <-chan error)
LoginInstanceWithChan invokes the ecs_workbench.LoginInstance API asynchronously
func (*Client) SetInstanceRecordConfig ¶
func (client *Client) SetInstanceRecordConfig(request *SetInstanceRecordConfigRequest) (response *SetInstanceRecordConfigResponse, err error)
SetInstanceRecordConfig invokes the ecs_workbench.SetInstanceRecordConfig API synchronously
func (*Client) SetInstanceRecordConfigWithCallback ¶
func (client *Client) SetInstanceRecordConfigWithCallback(request *SetInstanceRecordConfigRequest, callback func(response *SetInstanceRecordConfigResponse, err error)) <-chan int
SetInstanceRecordConfigWithCallback invokes the ecs_workbench.SetInstanceRecordConfig API asynchronously
func (*Client) SetInstanceRecordConfigWithChan ¶
func (client *Client) SetInstanceRecordConfigWithChan(request *SetInstanceRecordConfigRequest) (<-chan *SetInstanceRecordConfigResponse, <-chan error)
SetInstanceRecordConfigWithChan invokes the ecs_workbench.SetInstanceRecordConfig API asynchronously
func (*Client) ViewInstanceRecords ¶
func (client *Client) ViewInstanceRecords(request *ViewInstanceRecordsRequest) (response *ViewInstanceRecordsResponse, err error)
ViewInstanceRecords invokes the ecs_workbench.ViewInstanceRecords API synchronously
func (*Client) ViewInstanceRecordsWithCallback ¶
func (client *Client) ViewInstanceRecordsWithCallback(request *ViewInstanceRecordsRequest, callback func(response *ViewInstanceRecordsResponse, err error)) <-chan int
ViewInstanceRecordsWithCallback invokes the ecs_workbench.ViewInstanceRecords API asynchronously
func (*Client) ViewInstanceRecordsWithChan ¶
func (client *Client) ViewInstanceRecordsWithChan(request *ViewInstanceRecordsRequest) (<-chan *ViewInstanceRecordsResponse, <-chan error)
ViewInstanceRecordsWithChan invokes the ecs_workbench.ViewInstanceRecords API asynchronously
type DisposableAccount ¶
type DisposableAccount struct { LoginUrl string `json:"LoginUrl" xml:"LoginUrl"` LoginFormActionUrl string `json:"LoginFormActionUrl" xml:"LoginFormActionUrl"` }
DisposableAccount is a nested struct in ecs_workbench response
type GetInstanceRecordConfigRequest ¶
type GetInstanceRecordConfigRequest struct { *requests.RpcRequest InstanceId string `position:"Body" name:"InstanceId"` }
GetInstanceRecordConfigRequest is the request struct for api GetInstanceRecordConfig
func CreateGetInstanceRecordConfigRequest ¶
func CreateGetInstanceRecordConfigRequest() (request *GetInstanceRecordConfigRequest)
CreateGetInstanceRecordConfigRequest creates a request to invoke GetInstanceRecordConfig API
type GetInstanceRecordConfigResponse ¶
type GetInstanceRecordConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Root Root `json:"Root" xml:"Root"` }
GetInstanceRecordConfigResponse is the response struct for api GetInstanceRecordConfig
func CreateGetInstanceRecordConfigResponse ¶
func CreateGetInstanceRecordConfigResponse() (response *GetInstanceRecordConfigResponse)
CreateGetInstanceRecordConfigResponse creates a response to parse from GetInstanceRecordConfig response
type InstanceLoginInfoList ¶
type InstanceLoginInfoList struct {
InstanceLoginInfoListItem []InstanceLoginInfoListItem `json:"instanceLoginInfoList" xml:"instanceLoginInfoList"`
}
InstanceLoginInfoList is a nested struct in ecs_workbench response
type InstanceLoginInfoListItem ¶
type InstanceLoginInfoListItem struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` InstanceLoginToken string `json:"InstanceLoginToken" xml:"InstanceLoginToken"` LoginSuccess bool `json:"LoginSuccess" xml:"LoginSuccess"` InstanceLoginView InstanceLoginView `json:"InstanceLoginView" xml:"InstanceLoginView"` }
InstanceLoginInfoListItem is a nested struct in ecs_workbench response
type InstanceLoginView ¶
type InstanceLoginView struct {
DefaultViewUrl string `json:"DefaultViewUrl" xml:"DefaultViewUrl"`
}
InstanceLoginView is a nested struct in ecs_workbench response
type ListInstanceRecordsRequest ¶
type ListInstanceRecordsRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Body" name:"PageNumber"` InstanceId string `position:"Body" name:"InstanceId"` PageSize requests.Integer `position:"Body" name:"PageSize"` }
ListInstanceRecordsRequest is the request struct for api ListInstanceRecords
func CreateListInstanceRecordsRequest ¶
func CreateListInstanceRecordsRequest() (request *ListInstanceRecordsRequest)
CreateListInstanceRecordsRequest creates a request to invoke ListInstanceRecords API
type ListInstanceRecordsResponse ¶
type ListInstanceRecordsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Root Root `json:"Root" xml:"Root"` }
ListInstanceRecordsResponse is the response struct for api ListInstanceRecords
func CreateListInstanceRecordsResponse ¶
func CreateListInstanceRecordsResponse() (response *ListInstanceRecordsResponse)
CreateListInstanceRecordsResponse creates a response to parse from ListInstanceRecords response
type ListTerminalCommandsRequest ¶ added in v1.63.20
type ListTerminalCommandsRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Body" name:"PageNumber"` PageSize requests.Integer `position:"Body" name:"PageSize"` TerminalSessionToken string `position:"Body" name:"TerminalSessionToken"` }
ListTerminalCommandsRequest is the request struct for api ListTerminalCommands
func CreateListTerminalCommandsRequest ¶ added in v1.63.20
func CreateListTerminalCommandsRequest() (request *ListTerminalCommandsRequest)
CreateListTerminalCommandsRequest creates a request to invoke ListTerminalCommands API
type ListTerminalCommandsResponse ¶ added in v1.63.20
type ListTerminalCommandsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` RequestId string `json:"RequestId" xml:"RequestId"` TerminalCommandList []TerminalCommandListItem `json:"TerminalCommandList" xml:"TerminalCommandList"` }
ListTerminalCommandsResponse is the response struct for api ListTerminalCommands
func CreateListTerminalCommandsResponse ¶ added in v1.63.20
func CreateListTerminalCommandsResponse() (response *ListTerminalCommandsResponse)
CreateListTerminalCommandsResponse creates a response to parse from ListTerminalCommands response
type LoginInstanceInstanceLoginInfo ¶
type LoginInstanceInstanceLoginInfo struct { ExpireTime string `name:"ExpireTime"` LoginByInstanceShortcut string `name:"LoginByInstanceShortcut"` Certificate string `name:"Certificate"` AuthenticationType string `name:"AuthenticationType"` DockerExec string `name:"DockerExec"` ShortcutToken string `name:"ShortcutToken"` ResourceGroupId string `name:"ResourceGroupId"` Protocol string `name:"Protocol"` Password string `name:"Password"` LoginByInstanceCredential string `name:"LoginByInstanceCredential"` InstanceId string `name:"InstanceId"` RegionId string `name:"RegionId"` Port string `name:"Port"` VpcId string `name:"VpcId"` Host string `name:"Host"` Options LoginInstanceInstanceLoginInfoOptions `name:"Options" type:"Struct"` InstanceType string `name:"InstanceType"` DockerContainerName string `name:"DockerContainerName"` PassPhrase string `name:"PassPhrase"` CredentialToken string `name:"CredentialToken"` DurationSeconds string `name:"DurationSeconds"` NetworkAccessMode string `name:"NetworkAccessMode"` Username string `name:"Username"` }
LoginInstanceInstanceLoginInfo is a repeated param struct in LoginInstanceRequest
type LoginInstanceInstanceLoginInfoOptions ¶
type LoginInstanceInstanceLoginInfoOptions struct { OperationDisableSeconds string `name:"OperationDisableSeconds"` NotificationRecipientUrl string `name:"NotificationRecipientUrl"` SessionControl string `name:"SessionControl"` VideoFreezeSeconds string `name:"VideoFreezeSeconds"` ContainerInfo LoginInstanceInstanceLoginInfoOptionsContainerInfo `name:"ContainerInfo" type:"Struct"` NotificationRetryIntervalSeconds string `name:"NotificationRetryIntervalSeconds"` AudioMuteSeconds string `name:"AudioMuteSeconds"` FixedHeight string `name:"FixedHeight"` FixedWidth string `name:"FixedWidth"` NotificationEventTypes string `name:"NotificationEventTypes"` NotificationRetryLimit string `name:"NotificationRetryLimit"` }
LoginInstanceInstanceLoginInfoOptions is a repeated param struct in LoginInstanceRequest
type LoginInstanceInstanceLoginInfoOptionsContainerInfo ¶
type LoginInstanceInstanceLoginInfoOptionsContainerInfo struct { Headers map[string]string `name:"Headers" type:"Map"` Endpoint string `name:"Endpoint"` ContainerName string `name:"ContainerName"` ClusterName string `name:"ClusterName"` Namespace string `name:"Namespace"` PodName string `name:"PodName"` ClusterId string `name:"ClusterId"` Deployment string `name:"Deployment"` }
LoginInstanceInstanceLoginInfoOptionsContainerInfo is a repeated param struct in LoginInstanceRequest
type LoginInstancePartnerInfo ¶
type LoginInstancePartnerInfo struct { PartnerName string `name:"PartnerName"` PartnerId string `name:"PartnerId"` }
LoginInstancePartnerInfo is a repeated param struct in LoginInstanceRequest
type LoginInstanceRequest ¶
type LoginInstanceRequest struct { *requests.RpcRequest PartnerInfo LoginInstancePartnerInfo `position:"Query" name:"PartnerInfo" type:"Struct"` InstanceLoginInfo LoginInstanceInstanceLoginInfo `position:"Query" name:"InstanceLoginInfo" type:"Struct"` UserAccount LoginInstanceUserAccount `position:"Query" name:"UserAccount" type:"Struct"` }
LoginInstanceRequest is the request struct for api LoginInstance
func CreateLoginInstanceRequest ¶
func CreateLoginInstanceRequest() (request *LoginInstanceRequest)
CreateLoginInstanceRequest creates a request to invoke LoginInstance API
type LoginInstanceResponse ¶
type LoginInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success string `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Root Root `json:"Root" xml:"Root"` }
LoginInstanceResponse is the response struct for api LoginInstance
func CreateLoginInstanceResponse ¶
func CreateLoginInstanceResponse() (response *LoginInstanceResponse)
CreateLoginInstanceResponse creates a response to parse from LoginInstance response
type LoginInstanceUserAccount ¶
type LoginInstanceUserAccount struct { AccountId string `name:"AccountId"` EmpId string `name:"EmpId"` ExpireTime string `name:"ExpireTime"` LoginName string `name:"LoginName"` Options LoginInstanceUserAccountOptions `name:"Options" type:"Struct"` AccountStructure string `name:"AccountStructure"` DurationSeconds string `name:"DurationSeconds"` ParentId string `name:"ParentId"` AccountPlatform string `name:"AccountPlatform"` }
LoginInstanceUserAccount is a repeated param struct in LoginInstanceRequest
type LoginInstanceUserAccountOptions ¶
type LoginInstanceUserAccountOptions struct {
LoginLimit string `name:"LoginLimit"`
}
LoginInstanceUserAccountOptions is a repeated param struct in LoginInstanceRequest
type RecordList ¶
type RecordList struct {
RecordListItem []RecordListItem `json:"RecordList" xml:"RecordList"`
}
RecordList is a nested struct in ecs_workbench response
type RecordListItem ¶
type RecordListItem struct { GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` AccountId int64 `json:"AccountId" xml:"AccountId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` TerminalSessionToken string `json:"TerminalSessionToken" xml:"TerminalSessionToken"` RecordDurationMillis int64 `json:"RecordDurationMillis" xml:"RecordDurationMillis"` Status string `json:"Status" xml:"Status"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` InstanceRecordUrl string `json:"InstanceRecordUrl" xml:"InstanceRecordUrl"` }
RecordListItem is a nested struct in ecs_workbench response
type Root ¶
type Root struct { ParentId string `json:"ParentId" xml:"ParentId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` ExpirationDays int `json:"ExpirationDays" xml:"ExpirationDays"` RecordStorageTarget string `json:"RecordStorageTarget" xml:"RecordStorageTarget"` DisposableAccount DisposableAccount `json:"DisposableAccount" xml:"DisposableAccount"` SessionControl SessionControl `json:"SessionControl" xml:"SessionControl"` RecordList []RecordListItem `json:"RecordList" xml:"RecordList"` InstanceLoginInfoList []InstanceLoginInfoListItem `json:"InstanceLoginInfoList" xml:"InstanceLoginInfoList"` }
Root is a nested struct in ecs_workbench response
type SessionControl ¶
type SessionControl struct {
BaseUrl string `json:"BaseUrl" xml:"BaseUrl"`
}
SessionControl is a nested struct in ecs_workbench response
type SetInstanceRecordConfigRequest ¶
type SetInstanceRecordConfigRequest struct { *requests.RpcRequest Enabled requests.Boolean `position:"Body" name:"Enabled"` RecordStorageTarget string `position:"Body" name:"RecordStorageTarget"` InstanceId string `position:"Body" name:"InstanceId"` ExpirationDays requests.Integer `position:"Body" name:"ExpirationDays"` }
SetInstanceRecordConfigRequest is the request struct for api SetInstanceRecordConfig
func CreateSetInstanceRecordConfigRequest ¶
func CreateSetInstanceRecordConfigRequest() (request *SetInstanceRecordConfigRequest)
CreateSetInstanceRecordConfigRequest creates a request to invoke SetInstanceRecordConfig API
type SetInstanceRecordConfigResponse ¶
type SetInstanceRecordConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Root bool `json:"Root" xml:"Root"` Message string `json:"Message" xml:"Message"` }
SetInstanceRecordConfigResponse is the response struct for api SetInstanceRecordConfig
func CreateSetInstanceRecordConfigResponse ¶
func CreateSetInstanceRecordConfigResponse() (response *SetInstanceRecordConfigResponse)
CreateSetInstanceRecordConfigResponse creates a response to parse from SetInstanceRecordConfig response
type TerminalCommandList ¶ added in v1.63.20
type TerminalCommandList struct {
TerminalCommandListItem []TerminalCommandListItem `json:"TerminalCommandList" xml:"TerminalCommandList"`
}
TerminalCommandList is a nested struct in ecs_workbench response
type TerminalCommandListItem ¶ added in v1.63.20
type TerminalCommandListItem struct { CreateTime string `json:"CreateTime" xml:"CreateTime"` CommandLine string `json:"CommandLine" xml:"CommandLine"` LoginUser string `json:"LoginUser" xml:"LoginUser"` ExecutePath string `json:"ExecutePath" xml:"ExecutePath"` }
TerminalCommandListItem is a nested struct in ecs_workbench response
type ViewInstanceRecordsRequest ¶
type ViewInstanceRecordsRequest struct { *requests.RpcRequest InstanceId string `position:"Body" name:"InstanceId"` TerminalSessionToken string `position:"Body" name:"TerminalSessionToken"` }
ViewInstanceRecordsRequest is the request struct for api ViewInstanceRecords
func CreateViewInstanceRecordsRequest ¶
func CreateViewInstanceRecordsRequest() (request *ViewInstanceRecordsRequest)
CreateViewInstanceRecordsRequest creates a request to invoke ViewInstanceRecords API
type ViewInstanceRecordsResponse ¶
type ViewInstanceRecordsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Code string `json:"Code" xml:"Code"` Root bool `json:"Root" xml:"Root"` Message string `json:"Message" xml:"Message"` }
ViewInstanceRecordsResponse is the response struct for api ViewInstanceRecords
func CreateViewInstanceRecordsResponse ¶
func CreateViewInstanceRecordsResponse() (response *ViewInstanceRecordsResponse)
CreateViewInstanceRecordsResponse creates a response to parse from ViewInstanceRecords response
Source Files ¶
- client.go
- get_instance_record_config.go
- list_instance_records.go
- list_terminal_commands.go
- login_instance.go
- set_instance_record_config.go
- struct_disposable_account.go
- struct_instance_login_info_list.go
- struct_instance_login_info_list_item.go
- struct_instance_login_view.go
- struct_record_list.go
- struct_record_list_item.go
- struct_root.go
- struct_session_control.go
- struct_terminal_command_list.go
- struct_terminal_command_list_item.go
- view_instance_records.go