Documentation ¶
Index ¶
- type AllocatePublicConnectionRequest
- type AllocatePublicConnectionResponse
- 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) AllocatePublicConnection(request *AllocatePublicConnectionRequest) (response *AllocatePublicConnectionResponse, err error)
- func (client *Client) AllocatePublicConnectionWithCallback(request *AllocatePublicConnectionRequest, ...) <-chan int
- func (client *Client) AllocatePublicConnectionWithChan(request *AllocatePublicConnectionRequest) (<-chan *AllocatePublicConnectionResponse, <-chan error)
- func (client *Client) CreateCustomImage(request *CreateCustomImageRequest) (response *CreateCustomImageResponse, err error)
- func (client *Client) CreateCustomImageWithCallback(request *CreateCustomImageRequest, ...) <-chan int
- func (client *Client) CreateCustomImageWithChan(request *CreateCustomImageRequest) (<-chan *CreateCustomImageResponse, <-chan error)
- func (client *Client) CreateFirewallRule(request *CreateFirewallRuleRequest) (response *CreateFirewallRuleResponse, err error)
- func (client *Client) CreateFirewallRuleWithCallback(request *CreateFirewallRuleRequest, ...) <-chan int
- func (client *Client) CreateFirewallRuleWithChan(request *CreateFirewallRuleRequest) (<-chan *CreateFirewallRuleResponse, <-chan error)
- func (client *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (client *Client) CreateInstancesWithCallback(request *CreateInstancesRequest, ...) <-chan int
- func (client *Client) CreateInstancesWithChan(request *CreateInstancesRequest) (<-chan *CreateInstancesResponse, <-chan error)
- func (client *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
- func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest, ...) <-chan int
- func (client *Client) CreateSnapshotWithChan(request *CreateSnapshotRequest) (<-chan *CreateSnapshotResponse, <-chan error)
- func (client *Client) DeleteCustomImage(request *DeleteCustomImageRequest) (response *DeleteCustomImageResponse, err error)
- func (client *Client) DeleteCustomImageWithCallback(request *DeleteCustomImageRequest, ...) <-chan int
- func (client *Client) DeleteCustomImageWithChan(request *DeleteCustomImageRequest) (<-chan *DeleteCustomImageResponse, <-chan error)
- func (client *Client) DeleteFirewallRule(request *DeleteFirewallRuleRequest) (response *DeleteFirewallRuleResponse, err error)
- func (client *Client) DeleteFirewallRuleWithCallback(request *DeleteFirewallRuleRequest, ...) <-chan int
- func (client *Client) DeleteFirewallRuleWithChan(request *DeleteFirewallRuleRequest) (<-chan *DeleteFirewallRuleResponse, <-chan error)
- func (client *Client) DeleteSnapshot(request *DeleteSnapshotRequest) (response *DeleteSnapshotResponse, err error)
- func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest, ...) <-chan int
- func (client *Client) DeleteSnapshotWithChan(request *DeleteSnapshotRequest) (<-chan *DeleteSnapshotResponse, <-chan error)
- func (client *Client) DescribeCloudAssistantStatus(request *DescribeCloudAssistantStatusRequest) (response *DescribeCloudAssistantStatusResponse, err error)
- func (client *Client) DescribeCloudAssistantStatusWithCallback(request *DescribeCloudAssistantStatusRequest, ...) <-chan int
- func (client *Client) DescribeCloudAssistantStatusWithChan(request *DescribeCloudAssistantStatusRequest) (<-chan *DescribeCloudAssistantStatusResponse, <-chan error)
- func (client *Client) DescribeDatabaseErrorLogs(request *DescribeDatabaseErrorLogsRequest) (response *DescribeDatabaseErrorLogsResponse, err error)
- func (client *Client) DescribeDatabaseErrorLogsWithCallback(request *DescribeDatabaseErrorLogsRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseErrorLogsWithChan(request *DescribeDatabaseErrorLogsRequest) (<-chan *DescribeDatabaseErrorLogsResponse, <-chan error)
- func (client *Client) DescribeDatabaseInstanceMetricData(request *DescribeDatabaseInstanceMetricDataRequest) (response *DescribeDatabaseInstanceMetricDataResponse, err error)
- func (client *Client) DescribeDatabaseInstanceMetricDataWithCallback(request *DescribeDatabaseInstanceMetricDataRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseInstanceMetricDataWithChan(request *DescribeDatabaseInstanceMetricDataRequest) (<-chan *DescribeDatabaseInstanceMetricDataResponse, <-chan error)
- func (client *Client) DescribeDatabaseInstanceParameters(request *DescribeDatabaseInstanceParametersRequest) (response *DescribeDatabaseInstanceParametersResponse, err error)
- func (client *Client) DescribeDatabaseInstanceParametersWithCallback(request *DescribeDatabaseInstanceParametersRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseInstanceParametersWithChan(request *DescribeDatabaseInstanceParametersRequest) (<-chan *DescribeDatabaseInstanceParametersResponse, <-chan error)
- func (client *Client) DescribeDatabaseInstances(request *DescribeDatabaseInstancesRequest) (response *DescribeDatabaseInstancesResponse, err error)
- func (client *Client) DescribeDatabaseInstancesWithCallback(request *DescribeDatabaseInstancesRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseInstancesWithChan(request *DescribeDatabaseInstancesRequest) (<-chan *DescribeDatabaseInstancesResponse, <-chan error)
- func (client *Client) DescribeDatabaseSlowLogRecords(request *DescribeDatabaseSlowLogRecordsRequest) (response *DescribeDatabaseSlowLogRecordsResponse, err error)
- func (client *Client) DescribeDatabaseSlowLogRecordsWithCallback(request *DescribeDatabaseSlowLogRecordsRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseSlowLogRecordsWithChan(request *DescribeDatabaseSlowLogRecordsRequest) (<-chan *DescribeDatabaseSlowLogRecordsResponse, <-chan error)
- func (client *Client) DescribeInvocationResult(request *DescribeInvocationResultRequest) (response *DescribeInvocationResultResponse, err error)
- func (client *Client) DescribeInvocationResultWithCallback(request *DescribeInvocationResultRequest, ...) <-chan int
- func (client *Client) DescribeInvocationResultWithChan(request *DescribeInvocationResultRequest) (<-chan *DescribeInvocationResultResponse, <-chan error)
- func (client *Client) DescribeInvocations(request *DescribeInvocationsRequest) (response *DescribeInvocationsResponse, err error)
- func (client *Client) DescribeInvocationsWithCallback(request *DescribeInvocationsRequest, ...) <-chan int
- func (client *Client) DescribeInvocationsWithChan(request *DescribeInvocationsRequest) (<-chan *DescribeInvocationsResponse, <-chan error)
- func (client *Client) InstallCloudAssistant(request *InstallCloudAssistantRequest) (response *InstallCloudAssistantResponse, err error)
- func (client *Client) InstallCloudAssistantWithCallback(request *InstallCloudAssistantRequest, ...) <-chan int
- func (client *Client) InstallCloudAssistantWithChan(request *InstallCloudAssistantRequest) (<-chan *InstallCloudAssistantResponse, <-chan error)
- func (client *Client) ListDisks(request *ListDisksRequest) (response *ListDisksResponse, err error)
- func (client *Client) ListDisksWithCallback(request *ListDisksRequest, ...) <-chan int
- func (client *Client) ListDisksWithChan(request *ListDisksRequest) (<-chan *ListDisksResponse, <-chan error)
- func (client *Client) ListFirewallRules(request *ListFirewallRulesRequest) (response *ListFirewallRulesResponse, err error)
- func (client *Client) ListFirewallRulesWithCallback(request *ListFirewallRulesRequest, ...) <-chan int
- func (client *Client) ListFirewallRulesWithChan(request *ListFirewallRulesRequest) (<-chan *ListFirewallRulesResponse, <-chan error)
- func (client *Client) ListImages(request *ListImagesRequest) (response *ListImagesResponse, err error)
- func (client *Client) ListImagesWithCallback(request *ListImagesRequest, ...) <-chan int
- func (client *Client) ListImagesWithChan(request *ListImagesRequest) (<-chan *ListImagesResponse, <-chan error)
- func (client *Client) ListInstancePlansModification(request *ListInstancePlansModificationRequest) (response *ListInstancePlansModificationResponse, err error)
- func (client *Client) ListInstancePlansModificationWithCallback(request *ListInstancePlansModificationRequest, ...) <-chan int
- func (client *Client) ListInstancePlansModificationWithChan(request *ListInstancePlansModificationRequest) (<-chan *ListInstancePlansModificationResponse, <-chan error)
- func (client *Client) ListInstances(request *ListInstancesRequest) (response *ListInstancesResponse, err error)
- func (client *Client) ListInstancesTrafficPackages(request *ListInstancesTrafficPackagesRequest) (response *ListInstancesTrafficPackagesResponse, err error)
- func (client *Client) ListInstancesTrafficPackagesWithCallback(request *ListInstancesTrafficPackagesRequest, ...) <-chan int
- func (client *Client) ListInstancesTrafficPackagesWithChan(request *ListInstancesTrafficPackagesRequest) (<-chan *ListInstancesTrafficPackagesResponse, <-chan error)
- func (client *Client) ListInstancesWithCallback(request *ListInstancesRequest, ...) <-chan int
- func (client *Client) ListInstancesWithChan(request *ListInstancesRequest) (<-chan *ListInstancesResponse, <-chan error)
- func (client *Client) ListPlans(request *ListPlansRequest) (response *ListPlansResponse, err error)
- func (client *Client) ListPlansWithCallback(request *ListPlansRequest, ...) <-chan int
- func (client *Client) ListPlansWithChan(request *ListPlansRequest) (<-chan *ListPlansResponse, <-chan error)
- func (client *Client) ListRegions(request *ListRegionsRequest) (response *ListRegionsResponse, err error)
- func (client *Client) ListRegionsWithCallback(request *ListRegionsRequest, ...) <-chan int
- func (client *Client) ListRegionsWithChan(request *ListRegionsRequest) (<-chan *ListRegionsResponse, <-chan error)
- func (client *Client) ListSnapshots(request *ListSnapshotsRequest) (response *ListSnapshotsResponse, err error)
- func (client *Client) ListSnapshotsWithCallback(request *ListSnapshotsRequest, ...) <-chan int
- func (client *Client) ListSnapshotsWithChan(request *ListSnapshotsRequest) (<-chan *ListSnapshotsResponse, <-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) ModifyDatabaseInstanceDescription(request *ModifyDatabaseInstanceDescriptionRequest) (response *ModifyDatabaseInstanceDescriptionResponse, err error)
- func (client *Client) ModifyDatabaseInstanceDescriptionWithCallback(request *ModifyDatabaseInstanceDescriptionRequest, ...) <-chan int
- func (client *Client) ModifyDatabaseInstanceDescriptionWithChan(request *ModifyDatabaseInstanceDescriptionRequest) (<-chan *ModifyDatabaseInstanceDescriptionResponse, <-chan error)
- func (client *Client) ModifyDatabaseInstanceParameter(request *ModifyDatabaseInstanceParameterRequest) (response *ModifyDatabaseInstanceParameterResponse, err error)
- func (client *Client) ModifyDatabaseInstanceParameterWithCallback(request *ModifyDatabaseInstanceParameterRequest, ...) <-chan int
- func (client *Client) ModifyDatabaseInstanceParameterWithChan(request *ModifyDatabaseInstanceParameterRequest) (<-chan *ModifyDatabaseInstanceParameterResponse, <-chan error)
- func (client *Client) ModifyImageShareStatus(request *ModifyImageShareStatusRequest) (response *ModifyImageShareStatusResponse, err error)
- func (client *Client) ModifyImageShareStatusWithCallback(request *ModifyImageShareStatusRequest, ...) <-chan int
- func (client *Client) ModifyImageShareStatusWithChan(request *ModifyImageShareStatusRequest) (<-chan *ModifyImageShareStatusResponse, <-chan error)
- func (client *Client) RebootInstance(request *RebootInstanceRequest) (response *RebootInstanceResponse, err error)
- func (client *Client) RebootInstanceWithCallback(request *RebootInstanceRequest, ...) <-chan int
- func (client *Client) RebootInstanceWithChan(request *RebootInstanceRequest) (<-chan *RebootInstanceResponse, <-chan error)
- func (client *Client) ReleasePublicConnection(request *ReleasePublicConnectionRequest) (response *ReleasePublicConnectionResponse, err error)
- func (client *Client) ReleasePublicConnectionWithCallback(request *ReleasePublicConnectionRequest, ...) <-chan int
- func (client *Client) ReleasePublicConnectionWithChan(request *ReleasePublicConnectionRequest) (<-chan *ReleasePublicConnectionResponse, <-chan error)
- func (client *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (client *Client) RenewInstanceWithCallback(request *RenewInstanceRequest, ...) <-chan int
- func (client *Client) RenewInstanceWithChan(request *RenewInstanceRequest) (<-chan *RenewInstanceResponse, <-chan error)
- func (client *Client) ResetDatabaseAccountPassword(request *ResetDatabaseAccountPasswordRequest) (response *ResetDatabaseAccountPasswordResponse, err error)
- func (client *Client) ResetDatabaseAccountPasswordWithCallback(request *ResetDatabaseAccountPasswordRequest, ...) <-chan int
- func (client *Client) ResetDatabaseAccountPasswordWithChan(request *ResetDatabaseAccountPasswordRequest) (<-chan *ResetDatabaseAccountPasswordResponse, <-chan error)
- func (client *Client) ResetDisk(request *ResetDiskRequest) (response *ResetDiskResponse, err error)
- func (client *Client) ResetDiskWithCallback(request *ResetDiskRequest, ...) <-chan int
- func (client *Client) ResetDiskWithChan(request *ResetDiskRequest) (<-chan *ResetDiskResponse, <-chan error)
- func (client *Client) ResetSystem(request *ResetSystemRequest) (response *ResetSystemResponse, err error)
- func (client *Client) ResetSystemWithCallback(request *ResetSystemRequest, ...) <-chan int
- func (client *Client) ResetSystemWithChan(request *ResetSystemRequest) (<-chan *ResetSystemResponse, <-chan error)
- func (client *Client) RestartDatabaseInstance(request *RestartDatabaseInstanceRequest) (response *RestartDatabaseInstanceResponse, err error)
- func (client *Client) RestartDatabaseInstanceWithCallback(request *RestartDatabaseInstanceRequest, ...) <-chan int
- func (client *Client) RestartDatabaseInstanceWithChan(request *RestartDatabaseInstanceRequest) (<-chan *RestartDatabaseInstanceResponse, <-chan error)
- func (client *Client) RunCommand(request *RunCommandRequest) (response *RunCommandResponse, err error)
- func (client *Client) RunCommandWithCallback(request *RunCommandRequest, ...) <-chan int
- func (client *Client) RunCommandWithChan(request *RunCommandRequest) (<-chan *RunCommandResponse, <-chan error)
- func (client *Client) StartDatabaseInstance(request *StartDatabaseInstanceRequest) (response *StartDatabaseInstanceResponse, err error)
- func (client *Client) StartDatabaseInstanceWithCallback(request *StartDatabaseInstanceRequest, ...) <-chan int
- func (client *Client) StartDatabaseInstanceWithChan(request *StartDatabaseInstanceRequest) (<-chan *StartDatabaseInstanceResponse, <-chan error)
- func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
- func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, ...) <-chan int
- func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
- func (client *Client) StopDatabaseInstance(request *StopDatabaseInstanceRequest) (response *StopDatabaseInstanceResponse, err error)
- func (client *Client) StopDatabaseInstanceWithCallback(request *StopDatabaseInstanceRequest, ...) <-chan int
- func (client *Client) StopDatabaseInstanceWithChan(request *StopDatabaseInstanceRequest) (<-chan *StopDatabaseInstanceResponse, <-chan error)
- func (client *Client) StopInstance(request *StopInstanceRequest) (response *StopInstanceResponse, err error)
- func (client *Client) StopInstanceWithCallback(request *StopInstanceRequest, ...) <-chan int
- func (client *Client) StopInstanceWithChan(request *StopInstanceRequest) (<-chan *StopInstanceResponse, <-chan error)
- func (client *Client) UpdateInstanceAttribute(request *UpdateInstanceAttributeRequest) (response *UpdateInstanceAttributeResponse, err error)
- func (client *Client) UpdateInstanceAttributeWithCallback(request *UpdateInstanceAttributeRequest, ...) <-chan int
- func (client *Client) UpdateInstanceAttributeWithChan(request *UpdateInstanceAttributeRequest) (<-chan *UpdateInstanceAttributeResponse, <-chan error)
- func (client *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (client *Client) UpgradeInstanceWithCallback(request *UpgradeInstanceRequest, ...) <-chan int
- func (client *Client) UpgradeInstanceWithChan(request *UpgradeInstanceRequest) (<-chan *UpgradeInstanceResponse, <-chan error)
- type CloudAssistantStatus
- type ConfigParameter
- type ConfigParameters
- type CreateCustomImageRequest
- type CreateCustomImageResponse
- type CreateFirewallRuleRequest
- type CreateFirewallRuleResponse
- type CreateInstancesRequest
- type CreateInstancesResponse
- type CreateSnapshotRequest
- type CreateSnapshotResponse
- type DatabaseInstance
- type DatabaseInstances
- type DeleteCustomImageRequest
- type DeleteCustomImageResponse
- type DeleteFirewallRuleRequest
- type DeleteFirewallRuleResponse
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- type DescribeCloudAssistantStatusRequest
- type DescribeCloudAssistantStatusResponse
- type DescribeDatabaseErrorLogsRequest
- type DescribeDatabaseErrorLogsResponse
- type DescribeDatabaseInstanceMetricDataRequest
- type DescribeDatabaseInstanceMetricDataResponse
- type DescribeDatabaseInstanceParametersRequest
- type DescribeDatabaseInstanceParametersResponse
- type DescribeDatabaseInstancesRequest
- type DescribeDatabaseInstancesResponse
- type DescribeDatabaseSlowLogRecordsRequest
- type DescribeDatabaseSlowLogRecordsResponse
- type DescribeInvocationResultRequest
- type DescribeInvocationResultResponse
- type DescribeInvocationsRequest
- type DescribeInvocationsResponse
- type Disk
- type Disks
- type ErrorLog
- type ErrorLogs
- type FirewallRule
- type FirewallRules
- type Image
- type Images
- type InstallCloudAssistantRequest
- type InstallCloudAssistantResponse
- type Instance
- type InstanceIds
- type InstanceTrafficPackageUsage
- type InstanceTrafficPackageUsages
- type Instances
- type Invocation
- type InvocationResult
- type Invocations
- type ListDisksRequest
- type ListDisksResponse
- type ListFirewallRulesRequest
- type ListFirewallRulesResponse
- type ListImagesRequest
- type ListImagesResponse
- type ListInstancePlansModificationRequest
- type ListInstancePlansModificationResponse
- type ListInstancesRequest
- type ListInstancesResponse
- type ListInstancesTrafficPackagesRequest
- type ListInstancesTrafficPackagesResponse
- type ListPlansRequest
- type ListPlansResponse
- type ListRegionsRequest
- type ListRegionsResponse
- type ListSnapshotsRequest
- type ListSnapshotsResponse
- type LoginInstanceRequest
- type LoginInstanceResponse
- type ModifyDatabaseInstanceDescriptionRequest
- type ModifyDatabaseInstanceDescriptionResponse
- type ModifyDatabaseInstanceParameterRequest
- type ModifyDatabaseInstanceParameterResponse
- type ModifyImageShareStatusRequest
- type ModifyImageShareStatusResponse
- type Plan
- type PlansInListInstancePlansModification
- type PlansInListPlans
- type RebootInstanceRequest
- type RebootInstanceResponse
- type Region
- type Regions
- type ReleasePublicConnectionRequest
- type ReleasePublicConnectionResponse
- type RenewInstanceRequest
- type RenewInstanceResponse
- type ResetDatabaseAccountPasswordRequest
- type ResetDatabaseAccountPasswordResponse
- type ResetDiskRequest
- type ResetDiskResponse
- type ResetSystemRequest
- type ResetSystemResponse
- type RestartDatabaseInstanceRequest
- type RestartDatabaseInstanceResponse
- type RunCommandRequest
- type RunCommandResponse
- type RunningParameter
- type RunningParameters
- type SlowLog
- type SlowLogs
- type Snapshot
- type Snapshots
- type StartDatabaseInstanceRequest
- type StartDatabaseInstanceResponse
- type StartInstanceRequest
- type StartInstanceResponse
- type Status
- type StopDatabaseInstanceRequest
- type StopDatabaseInstanceResponse
- type StopInstanceRequest
- type StopInstanceResponse
- type UpdateInstanceAttributeRequest
- type UpdateInstanceAttributeResponse
- type UpgradeInstanceRequest
- type UpgradeInstanceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatePublicConnectionRequest ¶
type AllocatePublicConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
AllocatePublicConnectionRequest is the request struct for api AllocatePublicConnection
func CreateAllocatePublicConnectionRequest ¶
func CreateAllocatePublicConnectionRequest() (request *AllocatePublicConnectionRequest)
CreateAllocatePublicConnectionRequest creates a request to invoke AllocatePublicConnection API
type AllocatePublicConnectionResponse ¶
type AllocatePublicConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PublicConnection string `json:"PublicConnection" xml:"PublicConnection"` }
AllocatePublicConnectionResponse is the response struct for api AllocatePublicConnection
func CreateAllocatePublicConnectionResponse ¶
func CreateAllocatePublicConnectionResponse() (response *AllocatePublicConnectionResponse)
CreateAllocatePublicConnectionResponse creates a response to parse from AllocatePublicConnection 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) AllocatePublicConnection ¶
func (client *Client) AllocatePublicConnection(request *AllocatePublicConnectionRequest) (response *AllocatePublicConnectionResponse, err error)
AllocatePublicConnection invokes the swas_open.AllocatePublicConnection API synchronously
func (*Client) AllocatePublicConnectionWithCallback ¶
func (client *Client) AllocatePublicConnectionWithCallback(request *AllocatePublicConnectionRequest, callback func(response *AllocatePublicConnectionResponse, err error)) <-chan int
AllocatePublicConnectionWithCallback invokes the swas_open.AllocatePublicConnection API asynchronously
func (*Client) AllocatePublicConnectionWithChan ¶
func (client *Client) AllocatePublicConnectionWithChan(request *AllocatePublicConnectionRequest) (<-chan *AllocatePublicConnectionResponse, <-chan error)
AllocatePublicConnectionWithChan invokes the swas_open.AllocatePublicConnection API asynchronously
func (*Client) CreateCustomImage ¶
func (client *Client) CreateCustomImage(request *CreateCustomImageRequest) (response *CreateCustomImageResponse, err error)
CreateCustomImage invokes the swas_open.CreateCustomImage API synchronously
func (*Client) CreateCustomImageWithCallback ¶
func (client *Client) CreateCustomImageWithCallback(request *CreateCustomImageRequest, callback func(response *CreateCustomImageResponse, err error)) <-chan int
CreateCustomImageWithCallback invokes the swas_open.CreateCustomImage API asynchronously
func (*Client) CreateCustomImageWithChan ¶
func (client *Client) CreateCustomImageWithChan(request *CreateCustomImageRequest) (<-chan *CreateCustomImageResponse, <-chan error)
CreateCustomImageWithChan invokes the swas_open.CreateCustomImage API asynchronously
func (*Client) CreateFirewallRule ¶
func (client *Client) CreateFirewallRule(request *CreateFirewallRuleRequest) (response *CreateFirewallRuleResponse, err error)
CreateFirewallRule invokes the swas_open.CreateFirewallRule API synchronously
func (*Client) CreateFirewallRuleWithCallback ¶
func (client *Client) CreateFirewallRuleWithCallback(request *CreateFirewallRuleRequest, callback func(response *CreateFirewallRuleResponse, err error)) <-chan int
CreateFirewallRuleWithCallback invokes the swas_open.CreateFirewallRule API asynchronously
func (*Client) CreateFirewallRuleWithChan ¶
func (client *Client) CreateFirewallRuleWithChan(request *CreateFirewallRuleRequest) (<-chan *CreateFirewallRuleResponse, <-chan error)
CreateFirewallRuleWithChan invokes the swas_open.CreateFirewallRule API asynchronously
func (*Client) CreateInstances ¶
func (client *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances invokes the swas_open.CreateInstances API synchronously
func (*Client) CreateInstancesWithCallback ¶
func (client *Client) CreateInstancesWithCallback(request *CreateInstancesRequest, callback func(response *CreateInstancesResponse, err error)) <-chan int
CreateInstancesWithCallback invokes the swas_open.CreateInstances API asynchronously
func (*Client) CreateInstancesWithChan ¶
func (client *Client) CreateInstancesWithChan(request *CreateInstancesRequest) (<-chan *CreateInstancesResponse, <-chan error)
CreateInstancesWithChan invokes the swas_open.CreateInstances API asynchronously
func (*Client) CreateSnapshot ¶
func (client *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
CreateSnapshot invokes the swas_open.CreateSnapshot API synchronously
func (*Client) CreateSnapshotWithCallback ¶
func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest, callback func(response *CreateSnapshotResponse, err error)) <-chan int
CreateSnapshotWithCallback invokes the swas_open.CreateSnapshot API asynchronously
func (*Client) CreateSnapshotWithChan ¶
func (client *Client) CreateSnapshotWithChan(request *CreateSnapshotRequest) (<-chan *CreateSnapshotResponse, <-chan error)
CreateSnapshotWithChan invokes the swas_open.CreateSnapshot API asynchronously
func (*Client) DeleteCustomImage ¶
func (client *Client) DeleteCustomImage(request *DeleteCustomImageRequest) (response *DeleteCustomImageResponse, err error)
DeleteCustomImage invokes the swas_open.DeleteCustomImage API synchronously
func (*Client) DeleteCustomImageWithCallback ¶
func (client *Client) DeleteCustomImageWithCallback(request *DeleteCustomImageRequest, callback func(response *DeleteCustomImageResponse, err error)) <-chan int
DeleteCustomImageWithCallback invokes the swas_open.DeleteCustomImage API asynchronously
func (*Client) DeleteCustomImageWithChan ¶
func (client *Client) DeleteCustomImageWithChan(request *DeleteCustomImageRequest) (<-chan *DeleteCustomImageResponse, <-chan error)
DeleteCustomImageWithChan invokes the swas_open.DeleteCustomImage API asynchronously
func (*Client) DeleteFirewallRule ¶
func (client *Client) DeleteFirewallRule(request *DeleteFirewallRuleRequest) (response *DeleteFirewallRuleResponse, err error)
DeleteFirewallRule invokes the swas_open.DeleteFirewallRule API synchronously
func (*Client) DeleteFirewallRuleWithCallback ¶
func (client *Client) DeleteFirewallRuleWithCallback(request *DeleteFirewallRuleRequest, callback func(response *DeleteFirewallRuleResponse, err error)) <-chan int
DeleteFirewallRuleWithCallback invokes the swas_open.DeleteFirewallRule API asynchronously
func (*Client) DeleteFirewallRuleWithChan ¶
func (client *Client) DeleteFirewallRuleWithChan(request *DeleteFirewallRuleRequest) (<-chan *DeleteFirewallRuleResponse, <-chan error)
DeleteFirewallRuleWithChan invokes the swas_open.DeleteFirewallRule API asynchronously
func (*Client) DeleteSnapshot ¶
func (client *Client) DeleteSnapshot(request *DeleteSnapshotRequest) (response *DeleteSnapshotResponse, err error)
DeleteSnapshot invokes the swas_open.DeleteSnapshot API synchronously
func (*Client) DeleteSnapshotWithCallback ¶
func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest, callback func(response *DeleteSnapshotResponse, err error)) <-chan int
DeleteSnapshotWithCallback invokes the swas_open.DeleteSnapshot API asynchronously
func (*Client) DeleteSnapshotWithChan ¶
func (client *Client) DeleteSnapshotWithChan(request *DeleteSnapshotRequest) (<-chan *DeleteSnapshotResponse, <-chan error)
DeleteSnapshotWithChan invokes the swas_open.DeleteSnapshot API asynchronously
func (*Client) DescribeCloudAssistantStatus ¶
func (client *Client) DescribeCloudAssistantStatus(request *DescribeCloudAssistantStatusRequest) (response *DescribeCloudAssistantStatusResponse, err error)
DescribeCloudAssistantStatus invokes the swas_open.DescribeCloudAssistantStatus API synchronously
func (*Client) DescribeCloudAssistantStatusWithCallback ¶
func (client *Client) DescribeCloudAssistantStatusWithCallback(request *DescribeCloudAssistantStatusRequest, callback func(response *DescribeCloudAssistantStatusResponse, err error)) <-chan int
DescribeCloudAssistantStatusWithCallback invokes the swas_open.DescribeCloudAssistantStatus API asynchronously
func (*Client) DescribeCloudAssistantStatusWithChan ¶
func (client *Client) DescribeCloudAssistantStatusWithChan(request *DescribeCloudAssistantStatusRequest) (<-chan *DescribeCloudAssistantStatusResponse, <-chan error)
DescribeCloudAssistantStatusWithChan invokes the swas_open.DescribeCloudAssistantStatus API asynchronously
func (*Client) DescribeDatabaseErrorLogs ¶
func (client *Client) DescribeDatabaseErrorLogs(request *DescribeDatabaseErrorLogsRequest) (response *DescribeDatabaseErrorLogsResponse, err error)
DescribeDatabaseErrorLogs invokes the swas_open.DescribeDatabaseErrorLogs API synchronously
func (*Client) DescribeDatabaseErrorLogsWithCallback ¶
func (client *Client) DescribeDatabaseErrorLogsWithCallback(request *DescribeDatabaseErrorLogsRequest, callback func(response *DescribeDatabaseErrorLogsResponse, err error)) <-chan int
DescribeDatabaseErrorLogsWithCallback invokes the swas_open.DescribeDatabaseErrorLogs API asynchronously
func (*Client) DescribeDatabaseErrorLogsWithChan ¶
func (client *Client) DescribeDatabaseErrorLogsWithChan(request *DescribeDatabaseErrorLogsRequest) (<-chan *DescribeDatabaseErrorLogsResponse, <-chan error)
DescribeDatabaseErrorLogsWithChan invokes the swas_open.DescribeDatabaseErrorLogs API asynchronously
func (*Client) DescribeDatabaseInstanceMetricData ¶
func (client *Client) DescribeDatabaseInstanceMetricData(request *DescribeDatabaseInstanceMetricDataRequest) (response *DescribeDatabaseInstanceMetricDataResponse, err error)
DescribeDatabaseInstanceMetricData invokes the swas_open.DescribeDatabaseInstanceMetricData API synchronously
func (*Client) DescribeDatabaseInstanceMetricDataWithCallback ¶
func (client *Client) DescribeDatabaseInstanceMetricDataWithCallback(request *DescribeDatabaseInstanceMetricDataRequest, callback func(response *DescribeDatabaseInstanceMetricDataResponse, err error)) <-chan int
DescribeDatabaseInstanceMetricDataWithCallback invokes the swas_open.DescribeDatabaseInstanceMetricData API asynchronously
func (*Client) DescribeDatabaseInstanceMetricDataWithChan ¶
func (client *Client) DescribeDatabaseInstanceMetricDataWithChan(request *DescribeDatabaseInstanceMetricDataRequest) (<-chan *DescribeDatabaseInstanceMetricDataResponse, <-chan error)
DescribeDatabaseInstanceMetricDataWithChan invokes the swas_open.DescribeDatabaseInstanceMetricData API asynchronously
func (*Client) DescribeDatabaseInstanceParameters ¶
func (client *Client) DescribeDatabaseInstanceParameters(request *DescribeDatabaseInstanceParametersRequest) (response *DescribeDatabaseInstanceParametersResponse, err error)
DescribeDatabaseInstanceParameters invokes the swas_open.DescribeDatabaseInstanceParameters API synchronously
func (*Client) DescribeDatabaseInstanceParametersWithCallback ¶
func (client *Client) DescribeDatabaseInstanceParametersWithCallback(request *DescribeDatabaseInstanceParametersRequest, callback func(response *DescribeDatabaseInstanceParametersResponse, err error)) <-chan int
DescribeDatabaseInstanceParametersWithCallback invokes the swas_open.DescribeDatabaseInstanceParameters API asynchronously
func (*Client) DescribeDatabaseInstanceParametersWithChan ¶
func (client *Client) DescribeDatabaseInstanceParametersWithChan(request *DescribeDatabaseInstanceParametersRequest) (<-chan *DescribeDatabaseInstanceParametersResponse, <-chan error)
DescribeDatabaseInstanceParametersWithChan invokes the swas_open.DescribeDatabaseInstanceParameters API asynchronously
func (*Client) DescribeDatabaseInstances ¶
func (client *Client) DescribeDatabaseInstances(request *DescribeDatabaseInstancesRequest) (response *DescribeDatabaseInstancesResponse, err error)
DescribeDatabaseInstances invokes the swas_open.DescribeDatabaseInstances API synchronously
func (*Client) DescribeDatabaseInstancesWithCallback ¶
func (client *Client) DescribeDatabaseInstancesWithCallback(request *DescribeDatabaseInstancesRequest, callback func(response *DescribeDatabaseInstancesResponse, err error)) <-chan int
DescribeDatabaseInstancesWithCallback invokes the swas_open.DescribeDatabaseInstances API asynchronously
func (*Client) DescribeDatabaseInstancesWithChan ¶
func (client *Client) DescribeDatabaseInstancesWithChan(request *DescribeDatabaseInstancesRequest) (<-chan *DescribeDatabaseInstancesResponse, <-chan error)
DescribeDatabaseInstancesWithChan invokes the swas_open.DescribeDatabaseInstances API asynchronously
func (*Client) DescribeDatabaseSlowLogRecords ¶
func (client *Client) DescribeDatabaseSlowLogRecords(request *DescribeDatabaseSlowLogRecordsRequest) (response *DescribeDatabaseSlowLogRecordsResponse, err error)
DescribeDatabaseSlowLogRecords invokes the swas_open.DescribeDatabaseSlowLogRecords API synchronously
func (*Client) DescribeDatabaseSlowLogRecordsWithCallback ¶
func (client *Client) DescribeDatabaseSlowLogRecordsWithCallback(request *DescribeDatabaseSlowLogRecordsRequest, callback func(response *DescribeDatabaseSlowLogRecordsResponse, err error)) <-chan int
DescribeDatabaseSlowLogRecordsWithCallback invokes the swas_open.DescribeDatabaseSlowLogRecords API asynchronously
func (*Client) DescribeDatabaseSlowLogRecordsWithChan ¶
func (client *Client) DescribeDatabaseSlowLogRecordsWithChan(request *DescribeDatabaseSlowLogRecordsRequest) (<-chan *DescribeDatabaseSlowLogRecordsResponse, <-chan error)
DescribeDatabaseSlowLogRecordsWithChan invokes the swas_open.DescribeDatabaseSlowLogRecords API asynchronously
func (*Client) DescribeInvocationResult ¶
func (client *Client) DescribeInvocationResult(request *DescribeInvocationResultRequest) (response *DescribeInvocationResultResponse, err error)
DescribeInvocationResult invokes the swas_open.DescribeInvocationResult API synchronously
func (*Client) DescribeInvocationResultWithCallback ¶
func (client *Client) DescribeInvocationResultWithCallback(request *DescribeInvocationResultRequest, callback func(response *DescribeInvocationResultResponse, err error)) <-chan int
DescribeInvocationResultWithCallback invokes the swas_open.DescribeInvocationResult API asynchronously
func (*Client) DescribeInvocationResultWithChan ¶
func (client *Client) DescribeInvocationResultWithChan(request *DescribeInvocationResultRequest) (<-chan *DescribeInvocationResultResponse, <-chan error)
DescribeInvocationResultWithChan invokes the swas_open.DescribeInvocationResult API asynchronously
func (*Client) DescribeInvocations ¶
func (client *Client) DescribeInvocations(request *DescribeInvocationsRequest) (response *DescribeInvocationsResponse, err error)
DescribeInvocations invokes the swas_open.DescribeInvocations API synchronously
func (*Client) DescribeInvocationsWithCallback ¶
func (client *Client) DescribeInvocationsWithCallback(request *DescribeInvocationsRequest, callback func(response *DescribeInvocationsResponse, err error)) <-chan int
DescribeInvocationsWithCallback invokes the swas_open.DescribeInvocations API asynchronously
func (*Client) DescribeInvocationsWithChan ¶
func (client *Client) DescribeInvocationsWithChan(request *DescribeInvocationsRequest) (<-chan *DescribeInvocationsResponse, <-chan error)
DescribeInvocationsWithChan invokes the swas_open.DescribeInvocations API asynchronously
func (*Client) InstallCloudAssistant ¶
func (client *Client) InstallCloudAssistant(request *InstallCloudAssistantRequest) (response *InstallCloudAssistantResponse, err error)
InstallCloudAssistant invokes the swas_open.InstallCloudAssistant API synchronously
func (*Client) InstallCloudAssistantWithCallback ¶
func (client *Client) InstallCloudAssistantWithCallback(request *InstallCloudAssistantRequest, callback func(response *InstallCloudAssistantResponse, err error)) <-chan int
InstallCloudAssistantWithCallback invokes the swas_open.InstallCloudAssistant API asynchronously
func (*Client) InstallCloudAssistantWithChan ¶
func (client *Client) InstallCloudAssistantWithChan(request *InstallCloudAssistantRequest) (<-chan *InstallCloudAssistantResponse, <-chan error)
InstallCloudAssistantWithChan invokes the swas_open.InstallCloudAssistant API asynchronously
func (*Client) ListDisks ¶
func (client *Client) ListDisks(request *ListDisksRequest) (response *ListDisksResponse, err error)
ListDisks invokes the swas_open.ListDisks API synchronously
func (*Client) ListDisksWithCallback ¶
func (client *Client) ListDisksWithCallback(request *ListDisksRequest, callback func(response *ListDisksResponse, err error)) <-chan int
ListDisksWithCallback invokes the swas_open.ListDisks API asynchronously
func (*Client) ListDisksWithChan ¶
func (client *Client) ListDisksWithChan(request *ListDisksRequest) (<-chan *ListDisksResponse, <-chan error)
ListDisksWithChan invokes the swas_open.ListDisks API asynchronously
func (*Client) ListFirewallRules ¶
func (client *Client) ListFirewallRules(request *ListFirewallRulesRequest) (response *ListFirewallRulesResponse, err error)
ListFirewallRules invokes the swas_open.ListFirewallRules API synchronously
func (*Client) ListFirewallRulesWithCallback ¶
func (client *Client) ListFirewallRulesWithCallback(request *ListFirewallRulesRequest, callback func(response *ListFirewallRulesResponse, err error)) <-chan int
ListFirewallRulesWithCallback invokes the swas_open.ListFirewallRules API asynchronously
func (*Client) ListFirewallRulesWithChan ¶
func (client *Client) ListFirewallRulesWithChan(request *ListFirewallRulesRequest) (<-chan *ListFirewallRulesResponse, <-chan error)
ListFirewallRulesWithChan invokes the swas_open.ListFirewallRules API asynchronously
func (*Client) ListImages ¶
func (client *Client) ListImages(request *ListImagesRequest) (response *ListImagesResponse, err error)
ListImages invokes the swas_open.ListImages API synchronously
func (*Client) ListImagesWithCallback ¶
func (client *Client) ListImagesWithCallback(request *ListImagesRequest, callback func(response *ListImagesResponse, err error)) <-chan int
ListImagesWithCallback invokes the swas_open.ListImages API asynchronously
func (*Client) ListImagesWithChan ¶
func (client *Client) ListImagesWithChan(request *ListImagesRequest) (<-chan *ListImagesResponse, <-chan error)
ListImagesWithChan invokes the swas_open.ListImages API asynchronously
func (*Client) ListInstancePlansModification ¶
func (client *Client) ListInstancePlansModification(request *ListInstancePlansModificationRequest) (response *ListInstancePlansModificationResponse, err error)
ListInstancePlansModification invokes the swas_open.ListInstancePlansModification API synchronously
func (*Client) ListInstancePlansModificationWithCallback ¶
func (client *Client) ListInstancePlansModificationWithCallback(request *ListInstancePlansModificationRequest, callback func(response *ListInstancePlansModificationResponse, err error)) <-chan int
ListInstancePlansModificationWithCallback invokes the swas_open.ListInstancePlansModification API asynchronously
func (*Client) ListInstancePlansModificationWithChan ¶
func (client *Client) ListInstancePlansModificationWithChan(request *ListInstancePlansModificationRequest) (<-chan *ListInstancePlansModificationResponse, <-chan error)
ListInstancePlansModificationWithChan invokes the swas_open.ListInstancePlansModification API asynchronously
func (*Client) ListInstances ¶
func (client *Client) ListInstances(request *ListInstancesRequest) (response *ListInstancesResponse, err error)
ListInstances invokes the swas_open.ListInstances API synchronously
func (*Client) ListInstancesTrafficPackages ¶
func (client *Client) ListInstancesTrafficPackages(request *ListInstancesTrafficPackagesRequest) (response *ListInstancesTrafficPackagesResponse, err error)
ListInstancesTrafficPackages invokes the swas_open.ListInstancesTrafficPackages API synchronously
func (*Client) ListInstancesTrafficPackagesWithCallback ¶
func (client *Client) ListInstancesTrafficPackagesWithCallback(request *ListInstancesTrafficPackagesRequest, callback func(response *ListInstancesTrafficPackagesResponse, err error)) <-chan int
ListInstancesTrafficPackagesWithCallback invokes the swas_open.ListInstancesTrafficPackages API asynchronously
func (*Client) ListInstancesTrafficPackagesWithChan ¶
func (client *Client) ListInstancesTrafficPackagesWithChan(request *ListInstancesTrafficPackagesRequest) (<-chan *ListInstancesTrafficPackagesResponse, <-chan error)
ListInstancesTrafficPackagesWithChan invokes the swas_open.ListInstancesTrafficPackages API asynchronously
func (*Client) ListInstancesWithCallback ¶
func (client *Client) ListInstancesWithCallback(request *ListInstancesRequest, callback func(response *ListInstancesResponse, err error)) <-chan int
ListInstancesWithCallback invokes the swas_open.ListInstances API asynchronously
func (*Client) ListInstancesWithChan ¶
func (client *Client) ListInstancesWithChan(request *ListInstancesRequest) (<-chan *ListInstancesResponse, <-chan error)
ListInstancesWithChan invokes the swas_open.ListInstances API asynchronously
func (*Client) ListPlans ¶
func (client *Client) ListPlans(request *ListPlansRequest) (response *ListPlansResponse, err error)
ListPlans invokes the swas_open.ListPlans API synchronously
func (*Client) ListPlansWithCallback ¶
func (client *Client) ListPlansWithCallback(request *ListPlansRequest, callback func(response *ListPlansResponse, err error)) <-chan int
ListPlansWithCallback invokes the swas_open.ListPlans API asynchronously
func (*Client) ListPlansWithChan ¶
func (client *Client) ListPlansWithChan(request *ListPlansRequest) (<-chan *ListPlansResponse, <-chan error)
ListPlansWithChan invokes the swas_open.ListPlans API asynchronously
func (*Client) ListRegions ¶
func (client *Client) ListRegions(request *ListRegionsRequest) (response *ListRegionsResponse, err error)
ListRegions invokes the swas_open.ListRegions API synchronously
func (*Client) ListRegionsWithCallback ¶
func (client *Client) ListRegionsWithCallback(request *ListRegionsRequest, callback func(response *ListRegionsResponse, err error)) <-chan int
ListRegionsWithCallback invokes the swas_open.ListRegions API asynchronously
func (*Client) ListRegionsWithChan ¶
func (client *Client) ListRegionsWithChan(request *ListRegionsRequest) (<-chan *ListRegionsResponse, <-chan error)
ListRegionsWithChan invokes the swas_open.ListRegions API asynchronously
func (*Client) ListSnapshots ¶
func (client *Client) ListSnapshots(request *ListSnapshotsRequest) (response *ListSnapshotsResponse, err error)
ListSnapshots invokes the swas_open.ListSnapshots API synchronously
func (*Client) ListSnapshotsWithCallback ¶
func (client *Client) ListSnapshotsWithCallback(request *ListSnapshotsRequest, callback func(response *ListSnapshotsResponse, err error)) <-chan int
ListSnapshotsWithCallback invokes the swas_open.ListSnapshots API asynchronously
func (*Client) ListSnapshotsWithChan ¶
func (client *Client) ListSnapshotsWithChan(request *ListSnapshotsRequest) (<-chan *ListSnapshotsResponse, <-chan error)
ListSnapshotsWithChan invokes the swas_open.ListSnapshots API asynchronously
func (*Client) LoginInstance ¶
func (client *Client) LoginInstance(request *LoginInstanceRequest) (response *LoginInstanceResponse, err error)
LoginInstance invokes the swas_open.LoginInstance API synchronously
func (*Client) LoginInstanceWithCallback ¶
func (client *Client) LoginInstanceWithCallback(request *LoginInstanceRequest, callback func(response *LoginInstanceResponse, err error)) <-chan int
LoginInstanceWithCallback invokes the swas_open.LoginInstance API asynchronously
func (*Client) LoginInstanceWithChan ¶
func (client *Client) LoginInstanceWithChan(request *LoginInstanceRequest) (<-chan *LoginInstanceResponse, <-chan error)
LoginInstanceWithChan invokes the swas_open.LoginInstance API asynchronously
func (*Client) ModifyDatabaseInstanceDescription ¶
func (client *Client) ModifyDatabaseInstanceDescription(request *ModifyDatabaseInstanceDescriptionRequest) (response *ModifyDatabaseInstanceDescriptionResponse, err error)
ModifyDatabaseInstanceDescription invokes the swas_open.ModifyDatabaseInstanceDescription API synchronously
func (*Client) ModifyDatabaseInstanceDescriptionWithCallback ¶
func (client *Client) ModifyDatabaseInstanceDescriptionWithCallback(request *ModifyDatabaseInstanceDescriptionRequest, callback func(response *ModifyDatabaseInstanceDescriptionResponse, err error)) <-chan int
ModifyDatabaseInstanceDescriptionWithCallback invokes the swas_open.ModifyDatabaseInstanceDescription API asynchronously
func (*Client) ModifyDatabaseInstanceDescriptionWithChan ¶
func (client *Client) ModifyDatabaseInstanceDescriptionWithChan(request *ModifyDatabaseInstanceDescriptionRequest) (<-chan *ModifyDatabaseInstanceDescriptionResponse, <-chan error)
ModifyDatabaseInstanceDescriptionWithChan invokes the swas_open.ModifyDatabaseInstanceDescription API asynchronously
func (*Client) ModifyDatabaseInstanceParameter ¶
func (client *Client) ModifyDatabaseInstanceParameter(request *ModifyDatabaseInstanceParameterRequest) (response *ModifyDatabaseInstanceParameterResponse, err error)
ModifyDatabaseInstanceParameter invokes the swas_open.ModifyDatabaseInstanceParameter API synchronously
func (*Client) ModifyDatabaseInstanceParameterWithCallback ¶
func (client *Client) ModifyDatabaseInstanceParameterWithCallback(request *ModifyDatabaseInstanceParameterRequest, callback func(response *ModifyDatabaseInstanceParameterResponse, err error)) <-chan int
ModifyDatabaseInstanceParameterWithCallback invokes the swas_open.ModifyDatabaseInstanceParameter API asynchronously
func (*Client) ModifyDatabaseInstanceParameterWithChan ¶
func (client *Client) ModifyDatabaseInstanceParameterWithChan(request *ModifyDatabaseInstanceParameterRequest) (<-chan *ModifyDatabaseInstanceParameterResponse, <-chan error)
ModifyDatabaseInstanceParameterWithChan invokes the swas_open.ModifyDatabaseInstanceParameter API asynchronously
func (*Client) ModifyImageShareStatus ¶
func (client *Client) ModifyImageShareStatus(request *ModifyImageShareStatusRequest) (response *ModifyImageShareStatusResponse, err error)
ModifyImageShareStatus invokes the swas_open.ModifyImageShareStatus API synchronously
func (*Client) ModifyImageShareStatusWithCallback ¶
func (client *Client) ModifyImageShareStatusWithCallback(request *ModifyImageShareStatusRequest, callback func(response *ModifyImageShareStatusResponse, err error)) <-chan int
ModifyImageShareStatusWithCallback invokes the swas_open.ModifyImageShareStatus API asynchronously
func (*Client) ModifyImageShareStatusWithChan ¶
func (client *Client) ModifyImageShareStatusWithChan(request *ModifyImageShareStatusRequest) (<-chan *ModifyImageShareStatusResponse, <-chan error)
ModifyImageShareStatusWithChan invokes the swas_open.ModifyImageShareStatus API asynchronously
func (*Client) RebootInstance ¶
func (client *Client) RebootInstance(request *RebootInstanceRequest) (response *RebootInstanceResponse, err error)
RebootInstance invokes the swas_open.RebootInstance API synchronously
func (*Client) RebootInstanceWithCallback ¶
func (client *Client) RebootInstanceWithCallback(request *RebootInstanceRequest, callback func(response *RebootInstanceResponse, err error)) <-chan int
RebootInstanceWithCallback invokes the swas_open.RebootInstance API asynchronously
func (*Client) RebootInstanceWithChan ¶
func (client *Client) RebootInstanceWithChan(request *RebootInstanceRequest) (<-chan *RebootInstanceResponse, <-chan error)
RebootInstanceWithChan invokes the swas_open.RebootInstance API asynchronously
func (*Client) ReleasePublicConnection ¶
func (client *Client) ReleasePublicConnection(request *ReleasePublicConnectionRequest) (response *ReleasePublicConnectionResponse, err error)
ReleasePublicConnection invokes the swas_open.ReleasePublicConnection API synchronously
func (*Client) ReleasePublicConnectionWithCallback ¶
func (client *Client) ReleasePublicConnectionWithCallback(request *ReleasePublicConnectionRequest, callback func(response *ReleasePublicConnectionResponse, err error)) <-chan int
ReleasePublicConnectionWithCallback invokes the swas_open.ReleasePublicConnection API asynchronously
func (*Client) ReleasePublicConnectionWithChan ¶
func (client *Client) ReleasePublicConnectionWithChan(request *ReleasePublicConnectionRequest) (<-chan *ReleasePublicConnectionResponse, <-chan error)
ReleasePublicConnectionWithChan invokes the swas_open.ReleasePublicConnection API asynchronously
func (*Client) RenewInstance ¶
func (client *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance invokes the swas_open.RenewInstance API synchronously
func (*Client) RenewInstanceWithCallback ¶
func (client *Client) RenewInstanceWithCallback(request *RenewInstanceRequest, callback func(response *RenewInstanceResponse, err error)) <-chan int
RenewInstanceWithCallback invokes the swas_open.RenewInstance API asynchronously
func (*Client) RenewInstanceWithChan ¶
func (client *Client) RenewInstanceWithChan(request *RenewInstanceRequest) (<-chan *RenewInstanceResponse, <-chan error)
RenewInstanceWithChan invokes the swas_open.RenewInstance API asynchronously
func (*Client) ResetDatabaseAccountPassword ¶
func (client *Client) ResetDatabaseAccountPassword(request *ResetDatabaseAccountPasswordRequest) (response *ResetDatabaseAccountPasswordResponse, err error)
ResetDatabaseAccountPassword invokes the swas_open.ResetDatabaseAccountPassword API synchronously
func (*Client) ResetDatabaseAccountPasswordWithCallback ¶
func (client *Client) ResetDatabaseAccountPasswordWithCallback(request *ResetDatabaseAccountPasswordRequest, callback func(response *ResetDatabaseAccountPasswordResponse, err error)) <-chan int
ResetDatabaseAccountPasswordWithCallback invokes the swas_open.ResetDatabaseAccountPassword API asynchronously
func (*Client) ResetDatabaseAccountPasswordWithChan ¶
func (client *Client) ResetDatabaseAccountPasswordWithChan(request *ResetDatabaseAccountPasswordRequest) (<-chan *ResetDatabaseAccountPasswordResponse, <-chan error)
ResetDatabaseAccountPasswordWithChan invokes the swas_open.ResetDatabaseAccountPassword API asynchronously
func (*Client) ResetDisk ¶
func (client *Client) ResetDisk(request *ResetDiskRequest) (response *ResetDiskResponse, err error)
ResetDisk invokes the swas_open.ResetDisk API synchronously
func (*Client) ResetDiskWithCallback ¶
func (client *Client) ResetDiskWithCallback(request *ResetDiskRequest, callback func(response *ResetDiskResponse, err error)) <-chan int
ResetDiskWithCallback invokes the swas_open.ResetDisk API asynchronously
func (*Client) ResetDiskWithChan ¶
func (client *Client) ResetDiskWithChan(request *ResetDiskRequest) (<-chan *ResetDiskResponse, <-chan error)
ResetDiskWithChan invokes the swas_open.ResetDisk API asynchronously
func (*Client) ResetSystem ¶
func (client *Client) ResetSystem(request *ResetSystemRequest) (response *ResetSystemResponse, err error)
ResetSystem invokes the swas_open.ResetSystem API synchronously
func (*Client) ResetSystemWithCallback ¶
func (client *Client) ResetSystemWithCallback(request *ResetSystemRequest, callback func(response *ResetSystemResponse, err error)) <-chan int
ResetSystemWithCallback invokes the swas_open.ResetSystem API asynchronously
func (*Client) ResetSystemWithChan ¶
func (client *Client) ResetSystemWithChan(request *ResetSystemRequest) (<-chan *ResetSystemResponse, <-chan error)
ResetSystemWithChan invokes the swas_open.ResetSystem API asynchronously
func (*Client) RestartDatabaseInstance ¶
func (client *Client) RestartDatabaseInstance(request *RestartDatabaseInstanceRequest) (response *RestartDatabaseInstanceResponse, err error)
RestartDatabaseInstance invokes the swas_open.RestartDatabaseInstance API synchronously
func (*Client) RestartDatabaseInstanceWithCallback ¶
func (client *Client) RestartDatabaseInstanceWithCallback(request *RestartDatabaseInstanceRequest, callback func(response *RestartDatabaseInstanceResponse, err error)) <-chan int
RestartDatabaseInstanceWithCallback invokes the swas_open.RestartDatabaseInstance API asynchronously
func (*Client) RestartDatabaseInstanceWithChan ¶
func (client *Client) RestartDatabaseInstanceWithChan(request *RestartDatabaseInstanceRequest) (<-chan *RestartDatabaseInstanceResponse, <-chan error)
RestartDatabaseInstanceWithChan invokes the swas_open.RestartDatabaseInstance API asynchronously
func (*Client) RunCommand ¶
func (client *Client) RunCommand(request *RunCommandRequest) (response *RunCommandResponse, err error)
RunCommand invokes the swas_open.RunCommand API synchronously
func (*Client) RunCommandWithCallback ¶
func (client *Client) RunCommandWithCallback(request *RunCommandRequest, callback func(response *RunCommandResponse, err error)) <-chan int
RunCommandWithCallback invokes the swas_open.RunCommand API asynchronously
func (*Client) RunCommandWithChan ¶
func (client *Client) RunCommandWithChan(request *RunCommandRequest) (<-chan *RunCommandResponse, <-chan error)
RunCommandWithChan invokes the swas_open.RunCommand API asynchronously
func (*Client) StartDatabaseInstance ¶
func (client *Client) StartDatabaseInstance(request *StartDatabaseInstanceRequest) (response *StartDatabaseInstanceResponse, err error)
StartDatabaseInstance invokes the swas_open.StartDatabaseInstance API synchronously
func (*Client) StartDatabaseInstanceWithCallback ¶
func (client *Client) StartDatabaseInstanceWithCallback(request *StartDatabaseInstanceRequest, callback func(response *StartDatabaseInstanceResponse, err error)) <-chan int
StartDatabaseInstanceWithCallback invokes the swas_open.StartDatabaseInstance API asynchronously
func (*Client) StartDatabaseInstanceWithChan ¶
func (client *Client) StartDatabaseInstanceWithChan(request *StartDatabaseInstanceRequest) (<-chan *StartDatabaseInstanceResponse, <-chan error)
StartDatabaseInstanceWithChan invokes the swas_open.StartDatabaseInstance API asynchronously
func (*Client) StartInstance ¶
func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
StartInstance invokes the swas_open.StartInstance API synchronously
func (*Client) StartInstanceWithCallback ¶
func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, callback func(response *StartInstanceResponse, err error)) <-chan int
StartInstanceWithCallback invokes the swas_open.StartInstance API asynchronously
func (*Client) StartInstanceWithChan ¶
func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
StartInstanceWithChan invokes the swas_open.StartInstance API asynchronously
func (*Client) StopDatabaseInstance ¶
func (client *Client) StopDatabaseInstance(request *StopDatabaseInstanceRequest) (response *StopDatabaseInstanceResponse, err error)
StopDatabaseInstance invokes the swas_open.StopDatabaseInstance API synchronously
func (*Client) StopDatabaseInstanceWithCallback ¶
func (client *Client) StopDatabaseInstanceWithCallback(request *StopDatabaseInstanceRequest, callback func(response *StopDatabaseInstanceResponse, err error)) <-chan int
StopDatabaseInstanceWithCallback invokes the swas_open.StopDatabaseInstance API asynchronously
func (*Client) StopDatabaseInstanceWithChan ¶
func (client *Client) StopDatabaseInstanceWithChan(request *StopDatabaseInstanceRequest) (<-chan *StopDatabaseInstanceResponse, <-chan error)
StopDatabaseInstanceWithChan invokes the swas_open.StopDatabaseInstance API asynchronously
func (*Client) StopInstance ¶
func (client *Client) StopInstance(request *StopInstanceRequest) (response *StopInstanceResponse, err error)
StopInstance invokes the swas_open.StopInstance API synchronously
func (*Client) StopInstanceWithCallback ¶
func (client *Client) StopInstanceWithCallback(request *StopInstanceRequest, callback func(response *StopInstanceResponse, err error)) <-chan int
StopInstanceWithCallback invokes the swas_open.StopInstance API asynchronously
func (*Client) StopInstanceWithChan ¶
func (client *Client) StopInstanceWithChan(request *StopInstanceRequest) (<-chan *StopInstanceResponse, <-chan error)
StopInstanceWithChan invokes the swas_open.StopInstance API asynchronously
func (*Client) UpdateInstanceAttribute ¶
func (client *Client) UpdateInstanceAttribute(request *UpdateInstanceAttributeRequest) (response *UpdateInstanceAttributeResponse, err error)
UpdateInstanceAttribute invokes the swas_open.UpdateInstanceAttribute API synchronously
func (*Client) UpdateInstanceAttributeWithCallback ¶
func (client *Client) UpdateInstanceAttributeWithCallback(request *UpdateInstanceAttributeRequest, callback func(response *UpdateInstanceAttributeResponse, err error)) <-chan int
UpdateInstanceAttributeWithCallback invokes the swas_open.UpdateInstanceAttribute API asynchronously
func (*Client) UpdateInstanceAttributeWithChan ¶
func (client *Client) UpdateInstanceAttributeWithChan(request *UpdateInstanceAttributeRequest) (<-chan *UpdateInstanceAttributeResponse, <-chan error)
UpdateInstanceAttributeWithChan invokes the swas_open.UpdateInstanceAttribute API asynchronously
func (*Client) UpgradeInstance ¶
func (client *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance invokes the swas_open.UpgradeInstance API synchronously
func (*Client) UpgradeInstanceWithCallback ¶
func (client *Client) UpgradeInstanceWithCallback(request *UpgradeInstanceRequest, callback func(response *UpgradeInstanceResponse, err error)) <-chan int
UpgradeInstanceWithCallback invokes the swas_open.UpgradeInstance API asynchronously
func (*Client) UpgradeInstanceWithChan ¶
func (client *Client) UpgradeInstanceWithChan(request *UpgradeInstanceRequest) (<-chan *UpgradeInstanceResponse, <-chan error)
UpgradeInstanceWithChan invokes the swas_open.UpgradeInstance API asynchronously
type CloudAssistantStatus ¶
type CloudAssistantStatus struct {
Status []Status `json:"status" xml:"status"`
}
CloudAssistantStatus is a nested struct in swas_open response
type ConfigParameter ¶
type ConfigParameter struct { ParameterDescription string `json:"ParameterDescription" xml:"ParameterDescription"` ParameterName string `json:"ParameterName" xml:"ParameterName"` ParameterValue string `json:"ParameterValue" xml:"ParameterValue"` ForceModify string `json:"ForceModify" xml:"ForceModify"` ForceRestart string `json:"ForceRestart" xml:"ForceRestart"` CheckingCode string `json:"CheckingCode" xml:"CheckingCode"` }
ConfigParameter is a nested struct in swas_open response
type ConfigParameters ¶
type ConfigParameters struct {
ConfigParameter []ConfigParameter `json:"ConfigParameter" xml:"ConfigParameter"`
}
ConfigParameters is a nested struct in swas_open response
type CreateCustomImageRequest ¶
type CreateCustomImageRequest struct { *requests.RpcRequest SystemSnapshotId string `position:"Query" name:"SystemSnapshotId"` DataSnapshotId string `position:"Query" name:"DataSnapshotId"` ClientToken string `position:"Query" name:"ClientToken"` Description string `position:"Query" name:"Description"` InstanceId string `position:"Query" name:"InstanceId"` ImageName string `position:"Query" name:"ImageName"` }
CreateCustomImageRequest is the request struct for api CreateCustomImage
func CreateCreateCustomImageRequest ¶
func CreateCreateCustomImageRequest() (request *CreateCustomImageRequest)
CreateCreateCustomImageRequest creates a request to invoke CreateCustomImage API
type CreateCustomImageResponse ¶
type CreateCustomImageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ImageId string `json:"ImageId" xml:"ImageId"` }
CreateCustomImageResponse is the response struct for api CreateCustomImage
func CreateCreateCustomImageResponse ¶
func CreateCreateCustomImageResponse() (response *CreateCustomImageResponse)
CreateCreateCustomImageResponse creates a response to parse from CreateCustomImage response
type CreateFirewallRuleRequest ¶
type CreateFirewallRuleRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` Remark string `position:"Query" name:"Remark"` InstanceId string `position:"Query" name:"InstanceId"` RuleProtocol string `position:"Query" name:"RuleProtocol"` Port string `position:"Query" name:"Port"` }
CreateFirewallRuleRequest is the request struct for api CreateFirewallRule
func CreateCreateFirewallRuleRequest ¶
func CreateCreateFirewallRuleRequest() (request *CreateFirewallRuleRequest)
CreateCreateFirewallRuleRequest creates a request to invoke CreateFirewallRule API
type CreateFirewallRuleResponse ¶
type CreateFirewallRuleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` FirewallId string `json:"FirewallId" xml:"FirewallId"` }
CreateFirewallRuleResponse is the response struct for api CreateFirewallRule
func CreateCreateFirewallRuleResponse ¶
func CreateCreateFirewallRuleResponse() (response *CreateFirewallRuleResponse)
CreateCreateFirewallRuleResponse creates a response to parse from CreateFirewallRule response
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { *requests.RpcRequest ImageId string `position:"Query" name:"ImageId"` ClientToken string `position:"Query" name:"ClientToken"` AutoRenewPeriod requests.Integer `position:"Query" name:"AutoRenewPeriod"` Period requests.Integer `position:"Query" name:"Period"` Amount requests.Integer `position:"Query" name:"Amount"` AutoRenew requests.Boolean `position:"Query" name:"AutoRenew"` DataDiskSize requests.Integer `position:"Query" name:"DataDiskSize"` PlanId string `position:"Query" name:"PlanId"` ChargeType string `position:"Query" name:"ChargeType"` }
CreateInstancesRequest is the request struct for api CreateInstances
func CreateCreateInstancesRequest ¶
func CreateCreateInstancesRequest() (request *CreateInstancesRequest)
CreateCreateInstancesRequest creates a request to invoke CreateInstances API
type CreateInstancesResponse ¶
type CreateInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceIds []string `json:"InstanceIds" xml:"InstanceIds"` }
CreateInstancesResponse is the response struct for api CreateInstances
func CreateCreateInstancesResponse ¶
func CreateCreateInstancesResponse() (response *CreateInstancesResponse)
CreateCreateInstancesResponse creates a response to parse from CreateInstances response
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` SnapshotName string `position:"Query" name:"SnapshotName"` DiskId string `position:"Query" name:"DiskId"` }
CreateSnapshotRequest is the request struct for api CreateSnapshot
func CreateCreateSnapshotRequest ¶
func CreateCreateSnapshotRequest() (request *CreateSnapshotRequest)
CreateCreateSnapshotRequest creates a request to invoke CreateSnapshot API
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { *responses.BaseResponse SnapshotId string `json:"SnapshotId" xml:"SnapshotId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateSnapshotResponse is the response struct for api CreateSnapshot
func CreateCreateSnapshotResponse ¶
func CreateCreateSnapshotResponse() (response *CreateSnapshotResponse)
CreateCreateSnapshotResponse creates a response to parse from CreateSnapshot response
type DatabaseInstance ¶
type DatabaseInstance struct { RegionId string `json:"RegionId" xml:"RegionId"` DatabaseInstanceId string `json:"DatabaseInstanceId" xml:"DatabaseInstanceId"` DatabaseInstanceName string `json:"DatabaseInstanceName" xml:"DatabaseInstanceName"` DatabaseInstanceEdition string `json:"DatabaseInstanceEdition" xml:"DatabaseInstanceEdition"` DatabaseVersion string `json:"DatabaseVersion" xml:"DatabaseVersion"` Cpu string `json:"Cpu" xml:"Cpu"` Memory string `json:"Memory" xml:"Memory"` Storage int `json:"Storage" xml:"Storage"` PrivateConnection string `json:"PrivateConnection" xml:"PrivateConnection"` PublicConnection string `json:"PublicConnection" xml:"PublicConnection"` DatabaseInstanceStatus string `json:"DatabaseInstanceStatus" xml:"DatabaseInstanceStatus"` BusinessStatus string `json:"BusinessStatus" xml:"BusinessStatus"` CreationTime string `json:"CreationTime" xml:"CreationTime"` ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` ChargeType string `json:"ChargeType" xml:"ChargeType"` SuperAccountName string `json:"SuperAccountName" xml:"SuperAccountName"` }
DatabaseInstance is a nested struct in swas_open response
type DatabaseInstances ¶
type DatabaseInstances struct {
DatabaseInstance []DatabaseInstance `json:"DatabaseInstance" xml:"DatabaseInstance"`
}
DatabaseInstances is a nested struct in swas_open response
type DeleteCustomImageRequest ¶
type DeleteCustomImageRequest struct { *requests.RpcRequest ImageId string `position:"Query" name:"ImageId"` ClientToken string `position:"Query" name:"ClientToken"` }
DeleteCustomImageRequest is the request struct for api DeleteCustomImage
func CreateDeleteCustomImageRequest ¶
func CreateDeleteCustomImageRequest() (request *DeleteCustomImageRequest)
CreateDeleteCustomImageRequest creates a request to invoke DeleteCustomImage API
type DeleteCustomImageResponse ¶
type DeleteCustomImageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteCustomImageResponse is the response struct for api DeleteCustomImage
func CreateDeleteCustomImageResponse ¶
func CreateDeleteCustomImageResponse() (response *DeleteCustomImageResponse)
CreateDeleteCustomImageResponse creates a response to parse from DeleteCustomImage response
type DeleteFirewallRuleRequest ¶
type DeleteFirewallRuleRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` RuleId string `position:"Query" name:"RuleId"` }
DeleteFirewallRuleRequest is the request struct for api DeleteFirewallRule
func CreateDeleteFirewallRuleRequest ¶
func CreateDeleteFirewallRuleRequest() (request *DeleteFirewallRuleRequest)
CreateDeleteFirewallRuleRequest creates a request to invoke DeleteFirewallRule API
type DeleteFirewallRuleResponse ¶
type DeleteFirewallRuleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteFirewallRuleResponse is the response struct for api DeleteFirewallRule
func CreateDeleteFirewallRuleResponse ¶
func CreateDeleteFirewallRuleResponse() (response *DeleteFirewallRuleResponse)
CreateDeleteFirewallRuleResponse creates a response to parse from DeleteFirewallRule response
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { *requests.RpcRequest SnapshotId string `position:"Query" name:"SnapshotId"` ClientToken string `position:"Query" name:"ClientToken"` }
DeleteSnapshotRequest is the request struct for api DeleteSnapshot
func CreateDeleteSnapshotRequest ¶
func CreateDeleteSnapshotRequest() (request *DeleteSnapshotRequest)
CreateDeleteSnapshotRequest creates a request to invoke DeleteSnapshot API
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteSnapshotResponse is the response struct for api DeleteSnapshot
func CreateDeleteSnapshotResponse ¶
func CreateDeleteSnapshotResponse() (response *DeleteSnapshotResponse)
CreateDeleteSnapshotResponse creates a response to parse from DeleteSnapshot response
type DescribeCloudAssistantStatusRequest ¶
type DescribeCloudAssistantStatusRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceIds *[]string `position:"Query" name:"InstanceIds" type:"Json"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
DescribeCloudAssistantStatusRequest is the request struct for api DescribeCloudAssistantStatus
func CreateDescribeCloudAssistantStatusRequest ¶
func CreateDescribeCloudAssistantStatusRequest() (request *DescribeCloudAssistantStatusRequest)
CreateDescribeCloudAssistantStatusRequest creates a request to invoke DescribeCloudAssistantStatus API
type DescribeCloudAssistantStatusResponse ¶
type DescribeCloudAssistantStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` CloudAssistantStatus []Status `json:"CloudAssistantStatus" xml:"CloudAssistantStatus"` }
DescribeCloudAssistantStatusResponse is the response struct for api DescribeCloudAssistantStatus
func CreateDescribeCloudAssistantStatusResponse ¶
func CreateDescribeCloudAssistantStatusResponse() (response *DescribeCloudAssistantStatusResponse)
CreateDescribeCloudAssistantStatusResponse creates a response to parse from DescribeCloudAssistantStatus response
type DescribeDatabaseErrorLogsRequest ¶
type DescribeDatabaseErrorLogsRequest struct { *requests.RpcRequest DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
DescribeDatabaseErrorLogsRequest is the request struct for api DescribeDatabaseErrorLogs
func CreateDescribeDatabaseErrorLogsRequest ¶
func CreateDescribeDatabaseErrorLogsRequest() (request *DescribeDatabaseErrorLogsRequest)
CreateDescribeDatabaseErrorLogsRequest creates a request to invoke DescribeDatabaseErrorLogs API
type DescribeDatabaseErrorLogsResponse ¶
type DescribeDatabaseErrorLogsResponse 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"` ErrorLogs []ErrorLog `json:"ErrorLogs" xml:"ErrorLogs"` }
DescribeDatabaseErrorLogsResponse is the response struct for api DescribeDatabaseErrorLogs
func CreateDescribeDatabaseErrorLogsResponse ¶
func CreateDescribeDatabaseErrorLogsResponse() (response *DescribeDatabaseErrorLogsResponse)
CreateDescribeDatabaseErrorLogsResponse creates a response to parse from DescribeDatabaseErrorLogs response
type DescribeDatabaseInstanceMetricDataRequest ¶
type DescribeDatabaseInstanceMetricDataRequest struct { *requests.RpcRequest DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` MetricName string `position:"Query" name:"MetricName"` }
DescribeDatabaseInstanceMetricDataRequest is the request struct for api DescribeDatabaseInstanceMetricData
func CreateDescribeDatabaseInstanceMetricDataRequest ¶
func CreateDescribeDatabaseInstanceMetricDataRequest() (request *DescribeDatabaseInstanceMetricDataRequest)
CreateDescribeDatabaseInstanceMetricDataRequest creates a request to invoke DescribeDatabaseInstanceMetricData API
type DescribeDatabaseInstanceMetricDataResponse ¶
type DescribeDatabaseInstanceMetricDataResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MetricName string `json:"MetricName" xml:"MetricName"` Unit string `json:"Unit" xml:"Unit"` DataFormat string `json:"DataFormat" xml:"DataFormat"` MetricData string `json:"MetricData" xml:"MetricData"` }
DescribeDatabaseInstanceMetricDataResponse is the response struct for api DescribeDatabaseInstanceMetricData
func CreateDescribeDatabaseInstanceMetricDataResponse ¶
func CreateDescribeDatabaseInstanceMetricDataResponse() (response *DescribeDatabaseInstanceMetricDataResponse)
CreateDescribeDatabaseInstanceMetricDataResponse creates a response to parse from DescribeDatabaseInstanceMetricData response
type DescribeDatabaseInstanceParametersRequest ¶
type DescribeDatabaseInstanceParametersRequest struct { *requests.RpcRequest DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
DescribeDatabaseInstanceParametersRequest is the request struct for api DescribeDatabaseInstanceParameters
func CreateDescribeDatabaseInstanceParametersRequest ¶
func CreateDescribeDatabaseInstanceParametersRequest() (request *DescribeDatabaseInstanceParametersRequest)
CreateDescribeDatabaseInstanceParametersRequest creates a request to invoke DescribeDatabaseInstanceParameters API
type DescribeDatabaseInstanceParametersResponse ¶
type DescribeDatabaseInstanceParametersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Engine string `json:"Engine" xml:"Engine"` EngineVersion string `json:"EngineVersion" xml:"EngineVersion"` ConfigParameters []ConfigParameter `json:"ConfigParameters" xml:"ConfigParameters"` RunningParameters []RunningParameter `json:"RunningParameters" xml:"RunningParameters"` }
DescribeDatabaseInstanceParametersResponse is the response struct for api DescribeDatabaseInstanceParameters
func CreateDescribeDatabaseInstanceParametersResponse ¶
func CreateDescribeDatabaseInstanceParametersResponse() (response *DescribeDatabaseInstanceParametersResponse)
CreateDescribeDatabaseInstanceParametersResponse creates a response to parse from DescribeDatabaseInstanceParameters response
type DescribeDatabaseInstancesRequest ¶
type DescribeDatabaseInstancesRequest struct { *requests.RpcRequest DatabaseInstanceIds string `position:"Query" name:"DatabaseInstanceIds"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
DescribeDatabaseInstancesRequest is the request struct for api DescribeDatabaseInstances
func CreateDescribeDatabaseInstancesRequest ¶
func CreateDescribeDatabaseInstancesRequest() (request *DescribeDatabaseInstancesRequest)
CreateDescribeDatabaseInstancesRequest creates a request to invoke DescribeDatabaseInstances API
type DescribeDatabaseInstancesResponse ¶
type DescribeDatabaseInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` TotalCount int `json:"TotalCount" xml:"TotalCount"` DatabaseInstances []DatabaseInstance `json:"DatabaseInstances" xml:"DatabaseInstances"` }
DescribeDatabaseInstancesResponse is the response struct for api DescribeDatabaseInstances
func CreateDescribeDatabaseInstancesResponse ¶
func CreateDescribeDatabaseInstancesResponse() (response *DescribeDatabaseInstancesResponse)
CreateDescribeDatabaseInstancesResponse creates a response to parse from DescribeDatabaseInstances response
type DescribeDatabaseSlowLogRecordsRequest ¶
type DescribeDatabaseSlowLogRecordsRequest struct { *requests.RpcRequest DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
DescribeDatabaseSlowLogRecordsRequest is the request struct for api DescribeDatabaseSlowLogRecords
func CreateDescribeDatabaseSlowLogRecordsRequest ¶
func CreateDescribeDatabaseSlowLogRecordsRequest() (request *DescribeDatabaseSlowLogRecordsRequest)
CreateDescribeDatabaseSlowLogRecordsRequest creates a request to invoke DescribeDatabaseSlowLogRecords API
type DescribeDatabaseSlowLogRecordsResponse ¶
type DescribeDatabaseSlowLogRecordsResponse 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"` PhysicalIORead int64 `json:"PhysicalIORead" xml:"PhysicalIORead"` Engine string `json:"Engine" xml:"Engine"` SlowLogs []SlowLog `json:"SlowLogs" xml:"SlowLogs"` }
DescribeDatabaseSlowLogRecordsResponse is the response struct for api DescribeDatabaseSlowLogRecords
func CreateDescribeDatabaseSlowLogRecordsResponse ¶
func CreateDescribeDatabaseSlowLogRecordsResponse() (response *DescribeDatabaseSlowLogRecordsResponse)
CreateDescribeDatabaseSlowLogRecordsResponse creates a response to parse from DescribeDatabaseSlowLogRecords response
type DescribeInvocationResultRequest ¶
type DescribeInvocationResultRequest struct { *requests.RpcRequest InvokeId string `position:"Query" name:"InvokeId"` InstanceId string `position:"Query" name:"InstanceId"` }
DescribeInvocationResultRequest is the request struct for api DescribeInvocationResult
func CreateDescribeInvocationResultRequest ¶
func CreateDescribeInvocationResultRequest() (request *DescribeInvocationResultRequest)
CreateDescribeInvocationResultRequest creates a request to invoke DescribeInvocationResult API
type DescribeInvocationResultResponse ¶
type DescribeInvocationResultResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InvocationResult InvocationResult `json:"InvocationResult" xml:"InvocationResult"` }
DescribeInvocationResultResponse is the response struct for api DescribeInvocationResult
func CreateDescribeInvocationResultResponse ¶
func CreateDescribeInvocationResultResponse() (response *DescribeInvocationResultResponse)
CreateDescribeInvocationResultResponse creates a response to parse from DescribeInvocationResult response
type DescribeInvocationsRequest ¶
type DescribeInvocationsRequest struct { *requests.RpcRequest InvokeStatus string `position:"Query" name:"InvokeStatus"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceId string `position:"Query" name:"InstanceId"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
DescribeInvocationsRequest is the request struct for api DescribeInvocations
func CreateDescribeInvocationsRequest ¶
func CreateDescribeInvocationsRequest() (request *DescribeInvocationsRequest)
CreateDescribeInvocationsRequest creates a request to invoke DescribeInvocations API
type DescribeInvocationsResponse ¶
type DescribeInvocationsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Invocations []Invocation `json:"Invocations" xml:"Invocations"` }
DescribeInvocationsResponse is the response struct for api DescribeInvocations
func CreateDescribeInvocationsResponse ¶
func CreateDescribeInvocationsResponse() (response *DescribeInvocationsResponse)
CreateDescribeInvocationsResponse creates a response to parse from DescribeInvocations response
type Disk ¶
type Disk struct { CreationTime string `json:"CreationTime" xml:"CreationTime"` Status string `json:"Status" xml:"Status"` Device string `json:"Device" xml:"Device"` Size int `json:"Size" xml:"Size"` DiskName string `json:"DiskName" xml:"DiskName"` DiskChargeType string `json:"DiskChargeType" xml:"DiskChargeType"` DiskType string `json:"DiskType" xml:"DiskType"` Category string `json:"Category" xml:"Category"` DiskId string `json:"DiskId" xml:"DiskId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` RegionId string `json:"RegionId" xml:"RegionId"` }
Disk is a nested struct in swas_open response
type Disks ¶
type Disks struct {
Disk []Disk `json:"Disk" xml:"Disk"`
}
Disks is a nested struct in swas_open response
type ErrorLog ¶
type ErrorLog struct { ErrorInfo string `json:"ErrorInfo" xml:"ErrorInfo"` CreateTime string `json:"CreateTime" xml:"CreateTime"` }
ErrorLog is a nested struct in swas_open response
type ErrorLogs ¶
type ErrorLogs struct {
ErrorLog []ErrorLog `json:"ErrorLog" xml:"ErrorLog"`
}
ErrorLogs is a nested struct in swas_open response
type FirewallRule ¶
type FirewallRule struct { Remark string `json:"Remark" xml:"Remark"` Port string `json:"Port" xml:"Port"` RuleId string `json:"RuleId" xml:"RuleId"` RuleProtocol string `json:"RuleProtocol" xml:"RuleProtocol"` }
FirewallRule is a nested struct in swas_open response
type FirewallRules ¶
type FirewallRules struct {
FirewallRule []FirewallRule `json:"FirewallRule" xml:"FirewallRule"`
}
FirewallRules is a nested struct in swas_open response
type Image ¶
type Image struct { ImageType string `json:"ImageType" xml:"ImageType"` Description string `json:"Description" xml:"Description"` ImageName string `json:"ImageName" xml:"ImageName"` ImageId string `json:"ImageId" xml:"ImageId"` Platform string `json:"Platform" xml:"Platform"` }
Image is a nested struct in swas_open response
type Images ¶
type Images struct {
Image []Image `json:"Image" xml:"Image"`
}
Images is a nested struct in swas_open response
type InstallCloudAssistantRequest ¶
type InstallCloudAssistantRequest struct { *requests.RpcRequest Site string `position:"Query" name:"Site"` InstanceIds *[]string `position:"Query" name:"InstanceIds" type:"Json"` }
InstallCloudAssistantRequest is the request struct for api InstallCloudAssistant
func CreateInstallCloudAssistantRequest ¶
func CreateInstallCloudAssistantRequest() (request *InstallCloudAssistantRequest)
CreateInstallCloudAssistantRequest creates a request to invoke InstallCloudAssistant API
type InstallCloudAssistantResponse ¶
type InstallCloudAssistantResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
InstallCloudAssistantResponse is the response struct for api InstallCloudAssistant
func CreateInstallCloudAssistantResponse ¶
func CreateInstallCloudAssistantResponse() (response *InstallCloudAssistantResponse)
CreateInstallCloudAssistantResponse creates a response to parse from InstallCloudAssistant response
type Instance ¶
type Instance struct { Status string `json:"Status" xml:"Status"` CreationTime string `json:"CreationTime" xml:"CreationTime"` InnerIpAddress string `json:"InnerIpAddress" xml:"InnerIpAddress"` ChargeType string `json:"ChargeType" xml:"ChargeType"` InstanceId string `json:"InstanceId" xml:"InstanceId"` PlanId string `json:"PlanId" xml:"PlanId"` PublicIpAddress string `json:"PublicIpAddress" xml:"PublicIpAddress"` RegionId string `json:"RegionId" xml:"RegionId"` ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` InstanceName string `json:"InstanceName" xml:"InstanceName"` BusinessStatus string `json:"BusinessStatus" xml:"BusinessStatus"` DdosStatus string `json:"DdosStatus" xml:"DdosStatus"` ImageId string `json:"ImageId" xml:"ImageId"` }
Instance is a nested struct in swas_open response
type InstanceIds ¶
type InstanceIds struct {
InstanceIds []string `json:"InstanceIds" xml:"InstanceIds"`
}
InstanceIds is a nested struct in swas_open response
type InstanceTrafficPackageUsage ¶
type InstanceTrafficPackageUsage struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` TrafficUsed int64 `json:"TrafficUsed" xml:"TrafficUsed"` TrafficPackageTotal int64 `json:"TrafficPackageTotal" xml:"TrafficPackageTotal"` TrafficPackageRemaining int64 `json:"TrafficPackageRemaining" xml:"TrafficPackageRemaining"` TrafficOverflow int64 `json:"TrafficOverflow" xml:"TrafficOverflow"` }
InstanceTrafficPackageUsage is a nested struct in swas_open response
type InstanceTrafficPackageUsages ¶
type InstanceTrafficPackageUsages struct {
InstanceTrafficPackageUsage []InstanceTrafficPackageUsage `json:"InstanceTrafficPackageUsage" xml:"InstanceTrafficPackageUsage"`
}
InstanceTrafficPackageUsages is a nested struct in swas_open response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in swas_open response
type Invocation ¶
type Invocation struct { CreationTime string `json:"CreationTime" xml:"CreationTime"` InvocationStatus string `json:"InvocationStatus" xml:"InvocationStatus"` CommandType string `json:"CommandType" xml:"CommandType"` CommandContent string `json:"CommandContent" xml:"CommandContent"` Parameters map[string]interface{} `json:"Parameters" xml:"Parameters"` InvokeStatus string `json:"InvokeStatus" xml:"InvokeStatus"` InvokeId string `json:"InvokeId" xml:"InvokeId"` CommandName string `json:"CommandName" xml:"CommandName"` }
Invocation is a nested struct in swas_open response
type InvocationResult ¶
type InvocationResult struct { StartTime string `json:"StartTime" xml:"StartTime"` FinishedTime string `json:"FinishedTime" xml:"FinishedTime"` InvocationStatus string `json:"InvocationStatus" xml:"InvocationStatus"` ExitCode int64 `json:"ExitCode" xml:"ExitCode"` ErrorInfo string `json:"ErrorInfo" xml:"ErrorInfo"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` InvokeId string `json:"InvokeId" xml:"InvokeId"` InvokeRecordStatus string `json:"InvokeRecordStatus" xml:"InvokeRecordStatus"` InvokeUser string `json:"InvokeUser" xml:"InvokeUser"` Output string `json:"Output" xml:"Output"` InstanceId string `json:"InstanceId" xml:"InstanceId"` }
InvocationResult is a nested struct in swas_open response
type Invocations ¶
type Invocations struct {
Invocation []Invocation `json:"Invocation" xml:"Invocation"`
}
Invocations is a nested struct in swas_open response
type ListDisksRequest ¶
type ListDisksRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceId string `position:"Query" name:"InstanceId"` PageSize requests.Integer `position:"Query" name:"PageSize"` DiskIds string `position:"Query" name:"DiskIds"` }
ListDisksRequest is the request struct for api ListDisks
func CreateListDisksRequest ¶
func CreateListDisksRequest() (request *ListDisksRequest)
CreateListDisksRequest creates a request to invoke ListDisks API
type ListDisksResponse ¶
type ListDisksResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` Disks []Disk `json:"Disks" xml:"Disks"` }
ListDisksResponse is the response struct for api ListDisks
func CreateListDisksResponse ¶
func CreateListDisksResponse() (response *ListDisksResponse)
CreateListDisksResponse creates a response to parse from ListDisks response
type ListFirewallRulesRequest ¶
type ListFirewallRulesRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceId string `position:"Query" name:"InstanceId"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListFirewallRulesRequest is the request struct for api ListFirewallRules
func CreateListFirewallRulesRequest ¶
func CreateListFirewallRulesRequest() (request *ListFirewallRulesRequest)
CreateListFirewallRulesRequest creates a request to invoke ListFirewallRules API
type ListFirewallRulesResponse ¶
type ListFirewallRulesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` FirewallRules []FirewallRule `json:"FirewallRules" xml:"FirewallRules"` }
ListFirewallRulesResponse is the response struct for api ListFirewallRules
func CreateListFirewallRulesResponse ¶
func CreateListFirewallRulesResponse() (response *ListFirewallRulesResponse)
CreateListFirewallRulesResponse creates a response to parse from ListFirewallRules response
type ListImagesRequest ¶
type ListImagesRequest struct { *requests.RpcRequest ImageType string `position:"Query" name:"ImageType"` ImageIds string `position:"Query" name:"ImageIds"` }
ListImagesRequest is the request struct for api ListImages
func CreateListImagesRequest ¶
func CreateListImagesRequest() (request *ListImagesRequest)
CreateListImagesRequest creates a request to invoke ListImages API
type ListImagesResponse ¶
type ListImagesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Images []Image `json:"Images" xml:"Images"` }
ListImagesResponse is the response struct for api ListImages
func CreateListImagesResponse ¶
func CreateListImagesResponse() (response *ListImagesResponse)
CreateListImagesResponse creates a response to parse from ListImages response
type ListInstancePlansModificationRequest ¶
type ListInstancePlansModificationRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` }
ListInstancePlansModificationRequest is the request struct for api ListInstancePlansModification
func CreateListInstancePlansModificationRequest ¶
func CreateListInstancePlansModificationRequest() (request *ListInstancePlansModificationRequest)
CreateListInstancePlansModificationRequest creates a request to invoke ListInstancePlansModification API
type ListInstancePlansModificationResponse ¶
type ListInstancePlansModificationResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Plans []Plan `json:"Plans" xml:"Plans"` }
ListInstancePlansModificationResponse is the response struct for api ListInstancePlansModification
func CreateListInstancePlansModificationResponse ¶
func CreateListInstancePlansModificationResponse() (response *ListInstancePlansModificationResponse)
CreateListInstancePlansModificationResponse creates a response to parse from ListInstancePlansModification response
type ListInstancesRequest ¶
type ListInstancesRequest struct { *requests.RpcRequest PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceIds string `position:"Query" name:"InstanceIds"` PageSize requests.Integer `position:"Query" name:"PageSize"` PublicIpAddresses string `position:"Query" name:"PublicIpAddresses"` ChargeType string `position:"Query" name:"ChargeType"` }
ListInstancesRequest is the request struct for api ListInstances
func CreateListInstancesRequest ¶
func CreateListInstancesRequest() (request *ListInstancesRequest)
CreateListInstancesRequest creates a request to invoke ListInstances API
type ListInstancesResponse ¶
type ListInstancesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` Instances []Instance `json:"Instances" xml:"Instances"` }
ListInstancesResponse is the response struct for api ListInstances
func CreateListInstancesResponse ¶
func CreateListInstancesResponse() (response *ListInstancesResponse)
CreateListInstancesResponse creates a response to parse from ListInstances response
type ListInstancesTrafficPackagesRequest ¶
type ListInstancesTrafficPackagesRequest struct { *requests.RpcRequest InstanceIds string `position:"Query" name:"InstanceIds"` }
ListInstancesTrafficPackagesRequest is the request struct for api ListInstancesTrafficPackages
func CreateListInstancesTrafficPackagesRequest ¶
func CreateListInstancesTrafficPackagesRequest() (request *ListInstancesTrafficPackagesRequest)
CreateListInstancesTrafficPackagesRequest creates a request to invoke ListInstancesTrafficPackages API
type ListInstancesTrafficPackagesResponse ¶
type ListInstancesTrafficPackagesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceTrafficPackageUsages []InstanceTrafficPackageUsage `json:"InstanceTrafficPackageUsages" xml:"InstanceTrafficPackageUsages"` }
ListInstancesTrafficPackagesResponse is the response struct for api ListInstancesTrafficPackages
func CreateListInstancesTrafficPackagesResponse ¶
func CreateListInstancesTrafficPackagesResponse() (response *ListInstancesTrafficPackagesResponse)
CreateListInstancesTrafficPackagesResponse creates a response to parse from ListInstancesTrafficPackages response
type ListPlansRequest ¶
type ListPlansRequest struct {
*requests.RpcRequest
}
ListPlansRequest is the request struct for api ListPlans
func CreateListPlansRequest ¶
func CreateListPlansRequest() (request *ListPlansRequest)
CreateListPlansRequest creates a request to invoke ListPlans API
type ListPlansResponse ¶
type ListPlansResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Plans []Plan `json:"Plans" xml:"Plans"` }
ListPlansResponse is the response struct for api ListPlans
func CreateListPlansResponse ¶
func CreateListPlansResponse() (response *ListPlansResponse)
CreateListPlansResponse creates a response to parse from ListPlans response
type ListRegionsRequest ¶
type ListRegionsRequest struct {
*requests.RpcRequest
}
ListRegionsRequest is the request struct for api ListRegions
func CreateListRegionsRequest ¶
func CreateListRegionsRequest() (request *ListRegionsRequest)
CreateListRegionsRequest creates a request to invoke ListRegions API
type ListRegionsResponse ¶
type ListRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions []Region `json:"Regions" xml:"Regions"` }
ListRegionsResponse is the response struct for api ListRegions
func CreateListRegionsResponse ¶
func CreateListRegionsResponse() (response *ListRegionsResponse)
CreateListRegionsResponse creates a response to parse from ListRegions response
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct { *requests.RpcRequest SnapshotIds string `position:"Query" name:"SnapshotIds"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` InstanceId string `position:"Query" name:"InstanceId"` PageSize requests.Integer `position:"Query" name:"PageSize"` DiskId string `position:"Query" name:"DiskId"` }
ListSnapshotsRequest is the request struct for api ListSnapshots
func CreateListSnapshotsRequest ¶
func CreateListSnapshotsRequest() (request *ListSnapshotsRequest)
CreateListSnapshotsRequest creates a request to invoke ListSnapshots API
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` PageNumber int `json:"PageNumber" xml:"PageNumber"` Snapshots []Snapshot `json:"Snapshots" xml:"Snapshots"` }
ListSnapshotsResponse is the response struct for api ListSnapshots
func CreateListSnapshotsResponse ¶
func CreateListSnapshotsResponse() (response *ListSnapshotsResponse)
CreateListSnapshotsResponse creates a response to parse from ListSnapshots response
type LoginInstanceRequest ¶
type LoginInstanceRequest struct { *requests.RpcRequest Password string `position:"Query" name:"Password"` InstanceId string `position:"Query" name:"InstanceId"` Username string `position:"Query" name:"Username"` }
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"` RedirectUrl string `json:"RedirectUrl" xml:"RedirectUrl"` }
LoginInstanceResponse is the response struct for api LoginInstance
func CreateLoginInstanceResponse ¶
func CreateLoginInstanceResponse() (response *LoginInstanceResponse)
CreateLoginInstanceResponse creates a response to parse from LoginInstance response
type ModifyDatabaseInstanceDescriptionRequest ¶
type ModifyDatabaseInstanceDescriptionRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` DatabaseInstanceDescription string `position:"Query" name:"DatabaseInstanceDescription"` }
ModifyDatabaseInstanceDescriptionRequest is the request struct for api ModifyDatabaseInstanceDescription
func CreateModifyDatabaseInstanceDescriptionRequest ¶
func CreateModifyDatabaseInstanceDescriptionRequest() (request *ModifyDatabaseInstanceDescriptionRequest)
CreateModifyDatabaseInstanceDescriptionRequest creates a request to invoke ModifyDatabaseInstanceDescription API
type ModifyDatabaseInstanceDescriptionResponse ¶
type ModifyDatabaseInstanceDescriptionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyDatabaseInstanceDescriptionResponse is the response struct for api ModifyDatabaseInstanceDescription
func CreateModifyDatabaseInstanceDescriptionResponse ¶
func CreateModifyDatabaseInstanceDescriptionResponse() (response *ModifyDatabaseInstanceDescriptionResponse)
CreateModifyDatabaseInstanceDescriptionResponse creates a response to parse from ModifyDatabaseInstanceDescription response
type ModifyDatabaseInstanceParameterRequest ¶
type ModifyDatabaseInstanceParameterRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` ForceRestart requests.Boolean `position:"Query" name:"ForceRestart"` Parameters string `position:"Query" name:"Parameters"` }
ModifyDatabaseInstanceParameterRequest is the request struct for api ModifyDatabaseInstanceParameter
func CreateModifyDatabaseInstanceParameterRequest ¶
func CreateModifyDatabaseInstanceParameterRequest() (request *ModifyDatabaseInstanceParameterRequest)
CreateModifyDatabaseInstanceParameterRequest creates a request to invoke ModifyDatabaseInstanceParameter API
type ModifyDatabaseInstanceParameterResponse ¶
type ModifyDatabaseInstanceParameterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyDatabaseInstanceParameterResponse is the response struct for api ModifyDatabaseInstanceParameter
func CreateModifyDatabaseInstanceParameterResponse ¶
func CreateModifyDatabaseInstanceParameterResponse() (response *ModifyDatabaseInstanceParameterResponse)
CreateModifyDatabaseInstanceParameterResponse creates a response to parse from ModifyDatabaseInstanceParameter response
type ModifyImageShareStatusRequest ¶
type ModifyImageShareStatusRequest struct {}
ModifyImageShareStatusRequest is the request struct for api ModifyImageShareStatus
func CreateModifyImageShareStatusRequest ¶
func CreateModifyImageShareStatusRequest() (request *ModifyImageShareStatusRequest)
CreateModifyImageShareStatusRequest creates a request to invoke ModifyImageShareStatus API
type ModifyImageShareStatusResponse ¶
type ModifyImageShareStatusResponse struct {}
ModifyImageShareStatusResponse is the response struct for api ModifyImageShareStatus
func CreateModifyImageShareStatusResponse ¶
func CreateModifyImageShareStatusResponse() (response *ModifyImageShareStatusResponse)
CreateModifyImageShareStatusResponse creates a response to parse from ModifyImageShareStatus response
type Plan ¶
type Plan struct { Bandwidth int `json:"Bandwidth" xml:"Bandwidth"` Core int `json:"Core" xml:"Core"` SupportPlatform string `json:"SupportPlatform" xml:"SupportPlatform"` Memory int `json:"Memory" xml:"Memory"` DiskType string `json:"DiskType" xml:"DiskType"` DiskSize int `json:"DiskSize" xml:"DiskSize"` PlanId string `json:"PlanId" xml:"PlanId"` Flow int `json:"Flow" xml:"Flow"` OriginPrice string `json:"OriginPrice" xml:"OriginPrice"` Currency string `json:"Currency" xml:"Currency"` }
Plan is a nested struct in swas_open response
type PlansInListInstancePlansModification ¶
type PlansInListInstancePlansModification struct {
Plan []Plan `json:"Plan" xml:"Plan"`
}
PlansInListInstancePlansModification is a nested struct in swas_open response
type PlansInListPlans ¶
type PlansInListPlans struct {
Plan []Plan `json:"Plan" xml:"Plan"`
}
PlansInListPlans is a nested struct in swas_open response
type RebootInstanceRequest ¶
type RebootInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` }
RebootInstanceRequest is the request struct for api RebootInstance
func CreateRebootInstanceRequest ¶
func CreateRebootInstanceRequest() (request *RebootInstanceRequest)
CreateRebootInstanceRequest creates a request to invoke RebootInstance API
type RebootInstanceResponse ¶
type RebootInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RebootInstanceResponse is the response struct for api RebootInstance
func CreateRebootInstanceResponse ¶
func CreateRebootInstanceResponse() (response *RebootInstanceResponse)
CreateRebootInstanceResponse creates a response to parse from RebootInstance response
type Region ¶
type Region struct { LocalName string `json:"LocalName" xml:"LocalName"` RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` RegionId string `json:"RegionId" xml:"RegionId"` }
Region is a nested struct in swas_open response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in swas_open response
type ReleasePublicConnectionRequest ¶
type ReleasePublicConnectionRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
ReleasePublicConnectionRequest is the request struct for api ReleasePublicConnection
func CreateReleasePublicConnectionRequest ¶
func CreateReleasePublicConnectionRequest() (request *ReleasePublicConnectionRequest)
CreateReleasePublicConnectionRequest creates a request to invoke ReleasePublicConnection API
type ReleasePublicConnectionResponse ¶
type ReleasePublicConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ReleasePublicConnectionResponse is the response struct for api ReleasePublicConnection
func CreateReleasePublicConnectionResponse ¶
func CreateReleasePublicConnectionResponse() (response *ReleasePublicConnectionResponse)
CreateReleasePublicConnectionResponse creates a response to parse from ReleasePublicConnection response
type RenewInstanceRequest ¶
type RenewInstanceRequest struct { *requests.RpcRequest Period requests.Integer `position:"Query" name:"Period"` ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` }
RenewInstanceRequest is the request struct for api RenewInstance
func CreateRenewInstanceRequest ¶
func CreateRenewInstanceRequest() (request *RenewInstanceRequest)
CreateRenewInstanceRequest creates a request to invoke RenewInstance API
type RenewInstanceResponse ¶
type RenewInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RenewInstanceResponse is the response struct for api RenewInstance
func CreateRenewInstanceResponse ¶
func CreateRenewInstanceResponse() (response *RenewInstanceResponse)
CreateRenewInstanceResponse creates a response to parse from RenewInstance response
type ResetDatabaseAccountPasswordRequest ¶
type ResetDatabaseAccountPasswordRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` AccountPassword string `position:"Query" name:"AccountPassword"` }
ResetDatabaseAccountPasswordRequest is the request struct for api ResetDatabaseAccountPassword
func CreateResetDatabaseAccountPasswordRequest ¶
func CreateResetDatabaseAccountPasswordRequest() (request *ResetDatabaseAccountPasswordRequest)
CreateResetDatabaseAccountPasswordRequest creates a request to invoke ResetDatabaseAccountPassword API
type ResetDatabaseAccountPasswordResponse ¶
type ResetDatabaseAccountPasswordResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResetDatabaseAccountPasswordResponse is the response struct for api ResetDatabaseAccountPassword
func CreateResetDatabaseAccountPasswordResponse ¶
func CreateResetDatabaseAccountPasswordResponse() (response *ResetDatabaseAccountPasswordResponse)
CreateResetDatabaseAccountPasswordResponse creates a response to parse from ResetDatabaseAccountPassword response
type ResetDiskRequest ¶
type ResetDiskRequest struct { *requests.RpcRequest SnapshotId string `position:"Query" name:"SnapshotId"` ClientToken string `position:"Query" name:"ClientToken"` DiskId string `position:"Query" name:"DiskId"` }
ResetDiskRequest is the request struct for api ResetDisk
func CreateResetDiskRequest ¶
func CreateResetDiskRequest() (request *ResetDiskRequest)
CreateResetDiskRequest creates a request to invoke ResetDisk API
type ResetDiskResponse ¶
type ResetDiskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResetDiskResponse is the response struct for api ResetDisk
func CreateResetDiskResponse ¶
func CreateResetDiskResponse() (response *ResetDiskResponse)
CreateResetDiskResponse creates a response to parse from ResetDisk response
type ResetSystemRequest ¶
type ResetSystemRequest struct { *requests.RpcRequest ImageId string `position:"Query" name:"ImageId"` ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` }
ResetSystemRequest is the request struct for api ResetSystem
func CreateResetSystemRequest ¶
func CreateResetSystemRequest() (request *ResetSystemRequest)
CreateResetSystemRequest creates a request to invoke ResetSystem API
type ResetSystemResponse ¶
type ResetSystemResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResetSystemResponse is the response struct for api ResetSystem
func CreateResetSystemResponse ¶
func CreateResetSystemResponse() (response *ResetSystemResponse)
CreateResetSystemResponse creates a response to parse from ResetSystem response
type RestartDatabaseInstanceRequest ¶
type RestartDatabaseInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
RestartDatabaseInstanceRequest is the request struct for api RestartDatabaseInstance
func CreateRestartDatabaseInstanceRequest ¶
func CreateRestartDatabaseInstanceRequest() (request *RestartDatabaseInstanceRequest)
CreateRestartDatabaseInstanceRequest creates a request to invoke RestartDatabaseInstance API
type RestartDatabaseInstanceResponse ¶
type RestartDatabaseInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RestartDatabaseInstanceResponse is the response struct for api RestartDatabaseInstance
func CreateRestartDatabaseInstanceResponse ¶
func CreateRestartDatabaseInstanceResponse() (response *RestartDatabaseInstanceResponse)
CreateRestartDatabaseInstanceResponse creates a response to parse from RestartDatabaseInstance response
type RunCommandRequest ¶
type RunCommandRequest struct { *requests.RpcRequest WorkingDir string `position:"Query" name:"WorkingDir"` Type string `position:"Query" name:"Type"` CommandContent string `position:"Query" name:"CommandContent"` Timeout requests.Integer `position:"Query" name:"Timeout"` WindowsPasswordName string `position:"Query" name:"WindowsPasswordName"` InstanceId string `position:"Query" name:"InstanceId"` WorkingUser string `position:"Query" name:"WorkingUser"` Name string `position:"Query" name:"Name"` Parameters map[string]string `position:"Query" name:"Parameters" type:"Map"` EnableParameter requests.Boolean `position:"Query" name:"EnableParameter"` }
RunCommandRequest is the request struct for api RunCommand
func CreateRunCommandRequest ¶
func CreateRunCommandRequest() (request *RunCommandRequest)
CreateRunCommandRequest creates a request to invoke RunCommand API
type RunCommandResponse ¶
type RunCommandResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InvokeId string `json:"InvokeId" xml:"InvokeId"` }
RunCommandResponse is the response struct for api RunCommand
func CreateRunCommandResponse ¶
func CreateRunCommandResponse() (response *RunCommandResponse)
CreateRunCommandResponse creates a response to parse from RunCommand response
type RunningParameter ¶
type RunningParameter struct { ParameterDescription string `json:"ParameterDescription" xml:"ParameterDescription"` ParameterName string `json:"ParameterName" xml:"ParameterName"` ParameterValue string `json:"ParameterValue" xml:"ParameterValue"` ForceModify string `json:"ForceModify" xml:"ForceModify"` ForceRestart string `json:"ForceRestart" xml:"ForceRestart"` CheckingCode string `json:"CheckingCode" xml:"CheckingCode"` }
RunningParameter is a nested struct in swas_open response
type RunningParameters ¶
type RunningParameters struct {
RunningParameter []RunningParameter `json:"RunningParameter" xml:"RunningParameter"`
}
RunningParameters is a nested struct in swas_open response
type SlowLog ¶
type SlowLog struct { HostAddress string `json:"HostAddress" xml:"HostAddress"` QueryTimes int64 `json:"QueryTimes" xml:"QueryTimes"` SQLText string `json:"SQLText" xml:"SQLText"` QueryTimeMS int64 `json:"QueryTimeMS" xml:"QueryTimeMS"` LockTimes int64 `json:"LockTimes" xml:"LockTimes"` ExecutionStartTime string `json:"ExecutionStartTime" xml:"ExecutionStartTime"` ReturnRowCounts int64 `json:"ReturnRowCounts" xml:"ReturnRowCounts"` ParseRowCounts int64 `json:"ParseRowCounts" xml:"ParseRowCounts"` DBName string `json:"DBName" xml:"DBName"` }
SlowLog is a nested struct in swas_open response
type SlowLogs ¶
type SlowLogs struct {
SlowLog []SlowLog `json:"SlowLog" xml:"SlowLog"`
}
SlowLogs is a nested struct in swas_open response
type Snapshot ¶
type Snapshot struct { Status string `json:"Status" xml:"Status"` CreationTime string `json:"CreationTime" xml:"CreationTime"` SourceDiskId string `json:"SourceDiskId" xml:"SourceDiskId"` SnapshotName string `json:"SnapshotName" xml:"SnapshotName"` Progress string `json:"Progress" xml:"Progress"` Remark string `json:"Remark" xml:"Remark"` SnapshotId string `json:"SnapshotId" xml:"SnapshotId"` SourceDiskType string `json:"SourceDiskType" xml:"SourceDiskType"` RegionId string `json:"RegionId" xml:"RegionId"` }
Snapshot is a nested struct in swas_open response
type Snapshots ¶
type Snapshots struct {
Snapshot []Snapshot `json:"Snapshot" xml:"Snapshot"`
}
Snapshots is a nested struct in swas_open response
type StartDatabaseInstanceRequest ¶
type StartDatabaseInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
StartDatabaseInstanceRequest is the request struct for api StartDatabaseInstance
func CreateStartDatabaseInstanceRequest ¶
func CreateStartDatabaseInstanceRequest() (request *StartDatabaseInstanceRequest)
CreateStartDatabaseInstanceRequest creates a request to invoke StartDatabaseInstance API
type StartDatabaseInstanceResponse ¶
type StartDatabaseInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StartDatabaseInstanceResponse is the response struct for api StartDatabaseInstance
func CreateStartDatabaseInstanceResponse ¶
func CreateStartDatabaseInstanceResponse() (response *StartDatabaseInstanceResponse)
CreateStartDatabaseInstanceResponse creates a response to parse from StartDatabaseInstance response
type StartInstanceRequest ¶
type StartInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` }
StartInstanceRequest is the request struct for api StartInstance
func CreateStartInstanceRequest ¶
func CreateStartInstanceRequest() (request *StartInstanceRequest)
CreateStartInstanceRequest creates a request to invoke StartInstance API
type StartInstanceResponse ¶
type StartInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StartInstanceResponse is the response struct for api StartInstance
func CreateStartInstanceResponse ¶
func CreateStartInstanceResponse() (response *StartInstanceResponse)
CreateStartInstanceResponse creates a response to parse from StartInstance response
type Status ¶
type Status struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` Status bool `json:"Status" xml:"Status"` }
Status is a nested struct in swas_open response
type StopDatabaseInstanceRequest ¶
type StopDatabaseInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` DatabaseInstanceId string `position:"Query" name:"DatabaseInstanceId"` }
StopDatabaseInstanceRequest is the request struct for api StopDatabaseInstance
func CreateStopDatabaseInstanceRequest ¶
func CreateStopDatabaseInstanceRequest() (request *StopDatabaseInstanceRequest)
CreateStopDatabaseInstanceRequest creates a request to invoke StopDatabaseInstance API
type StopDatabaseInstanceResponse ¶
type StopDatabaseInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StopDatabaseInstanceResponse is the response struct for api StopDatabaseInstance
func CreateStopDatabaseInstanceResponse ¶
func CreateStopDatabaseInstanceResponse() (response *StopDatabaseInstanceResponse)
CreateStopDatabaseInstanceResponse creates a response to parse from StopDatabaseInstance response
type StopInstanceRequest ¶
type StopInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` }
StopInstanceRequest is the request struct for api StopInstance
func CreateStopInstanceRequest ¶
func CreateStopInstanceRequest() (request *StopInstanceRequest)
CreateStopInstanceRequest creates a request to invoke StopInstance API
type StopInstanceResponse ¶
type StopInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StopInstanceResponse is the response struct for api StopInstance
func CreateStopInstanceResponse ¶
func CreateStopInstanceResponse() (response *StopInstanceResponse)
CreateStopInstanceResponse creates a response to parse from StopInstance response
type UpdateInstanceAttributeRequest ¶
type UpdateInstanceAttributeRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` Password string `position:"Query" name:"Password"` InstanceId string `position:"Query" name:"InstanceId"` InstanceName string `position:"Query" name:"InstanceName"` }
UpdateInstanceAttributeRequest is the request struct for api UpdateInstanceAttribute
func CreateUpdateInstanceAttributeRequest ¶
func CreateUpdateInstanceAttributeRequest() (request *UpdateInstanceAttributeRequest)
CreateUpdateInstanceAttributeRequest creates a request to invoke UpdateInstanceAttribute API
type UpdateInstanceAttributeResponse ¶
type UpdateInstanceAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateInstanceAttributeResponse is the response struct for api UpdateInstanceAttribute
func CreateUpdateInstanceAttributeResponse ¶
func CreateUpdateInstanceAttributeResponse() (response *UpdateInstanceAttributeResponse)
CreateUpdateInstanceAttributeResponse creates a response to parse from UpdateInstanceAttribute response
type UpgradeInstanceRequest ¶
type UpgradeInstanceRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` InstanceId string `position:"Query" name:"InstanceId"` PlanId string `position:"Query" name:"PlanId"` }
UpgradeInstanceRequest is the request struct for api UpgradeInstance
func CreateUpgradeInstanceRequest ¶
func CreateUpgradeInstanceRequest() (request *UpgradeInstanceRequest)
CreateUpgradeInstanceRequest creates a request to invoke UpgradeInstance API
type UpgradeInstanceResponse ¶
type UpgradeInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpgradeInstanceResponse is the response struct for api UpgradeInstance
func CreateUpgradeInstanceResponse ¶
func CreateUpgradeInstanceResponse() (response *UpgradeInstanceResponse)
CreateUpgradeInstanceResponse creates a response to parse from UpgradeInstance response
Source Files ¶
- allocate_public_connection.go
- client.go
- create_custom_image.go
- create_firewall_rule.go
- create_instances.go
- create_snapshot.go
- delete_custom_image.go
- delete_firewall_rule.go
- delete_snapshot.go
- describe_cloud_assistant_status.go
- describe_database_error_logs.go
- describe_database_instance_metric_data.go
- describe_database_instance_parameters.go
- describe_database_instances.go
- describe_database_slow_log_records.go
- describe_invocation_result.go
- describe_invocations.go
- install_cloud_assistant.go
- list_disks.go
- list_firewall_rules.go
- list_images.go
- list_instance_plans_modification.go
- list_instances.go
- list_instances_traffic_packages.go
- list_plans.go
- list_regions.go
- list_snapshots.go
- login_instance.go
- modify_database_instance_description.go
- modify_database_instance_parameter.go
- modify_image_share_status.go
- reboot_instance.go
- release_public_connection.go
- renew_instance.go
- reset_database_account_password.go
- reset_disk.go
- reset_system.go
- restart_database_instance.go
- run_command.go
- start_database_instance.go
- start_instance.go
- stop_database_instance.go
- stop_instance.go
- struct_cloud_assistant_status.go
- struct_config_parameter.go
- struct_config_parameters.go
- struct_database_instance.go
- struct_database_instances.go
- struct_disk.go
- struct_disks.go
- struct_error_log.go
- struct_error_logs.go
- struct_firewall_rule.go
- struct_firewall_rules.go
- struct_image.go
- struct_images.go
- struct_instance.go
- struct_instance_ids.go
- struct_instance_traffic_package_usage.go
- struct_instance_traffic_package_usages.go
- struct_instances.go
- struct_invocation.go
- struct_invocation_result.go
- struct_invocations.go
- struct_plan.go
- struct_plans_in_list_instance_plans_modification.go
- struct_plans_in_list_plans.go
- struct_region.go
- struct_regions.go
- struct_running_parameter.go
- struct_running_parameters.go
- struct_slow_log.go
- struct_slow_logs.go
- struct_snapshot.go
- struct_snapshots.go
- struct_status.go
- update_instance_attribute.go
- upgrade_instance.go