Documentation ¶
Index ¶
- Constants
- type Ability
- type Account
- type ActivateInstanceRequest
- type ActivateInstanceRequestParams
- type ActivateInstanceResponse
- type ActivateInstanceResponseParams
- type AddClusterSlaveZoneRequest
- type AddClusterSlaveZoneRequestParams
- type AddClusterSlaveZoneResponse
- type AddClusterSlaveZoneResponseParams
- type AddInstancesRequest
- type AddInstancesRequestParams
- type AddInstancesResponse
- type AddInstancesResponseParams
- type Addr
- type AuditRuleFilters
- type AuditRuleTemplateInfo
- type BackupFileInfo
- type BillingResourceInfo
- type BinlogItem
- type Client
- func (c *Client) ActivateInstance(request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
- func (c *Client) ActivateInstanceWithContext(ctx context.Context, request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
- func (c *Client) AddClusterSlaveZone(request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
- func (c *Client) AddClusterSlaveZoneWithContext(ctx context.Context, request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
- func (c *Client) AddInstances(request *AddInstancesRequest) (response *AddInstancesResponse, err error)
- func (c *Client) AddInstancesWithContext(ctx context.Context, request *AddInstancesRequest) (response *AddInstancesResponse, err error)
- func (c *Client) CloseAuditService(request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
- func (c *Client) CloseAuditServiceWithContext(ctx context.Context, request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
- func (c *Client) CreateAccounts(request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
- func (c *Client) CreateAccountsWithContext(ctx context.Context, request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
- func (c *Client) CreateAuditRuleTemplate(request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
- func (c *Client) CreateAuditRuleTemplateWithContext(ctx context.Context, request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
- func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateClusters(request *CreateClustersRequest) (response *CreateClustersResponse, err error)
- func (c *Client) CreateClustersWithContext(ctx context.Context, request *CreateClustersRequest) (response *CreateClustersResponse, err error)
- func (c *Client) DeleteAuditRuleTemplates(request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
- func (c *Client) DeleteAuditRuleTemplatesWithContext(ctx context.Context, request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
- func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
- func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
- func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAuditRuleTemplates(request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
- func (c *Client) DescribeAuditRuleTemplatesWithContext(ctx context.Context, request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
- func (c *Client) DescribeAuditRuleWithInstanceIds(request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
- func (c *Client) DescribeAuditRuleWithInstanceIdsWithContext(ctx context.Context, request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
- func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
- func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
- func (c *Client) DescribeBackupDownloadUrl(request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
- func (c *Client) DescribeBackupDownloadUrlWithContext(ctx context.Context, request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
- func (c *Client) DescribeBackupList(request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
- func (c *Client) DescribeBackupListWithContext(ctx context.Context, request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
- func (c *Client) DescribeBinlogDownloadUrl(request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
- func (c *Client) DescribeBinlogDownloadUrlWithContext(ctx context.Context, request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
- func (c *Client) DescribeBinlogSaveDays(request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
- func (c *Client) DescribeBinlogSaveDaysWithContext(ctx context.Context, request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
- func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
- func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
- func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusterInstanceGrps(request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
- func (c *Client) DescribeClusterInstanceGrpsWithContext(ctx context.Context, request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
- func (c *Client) DescribeClusterParams(request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
- func (c *Client) DescribeClusterParamsWithContext(ctx context.Context, request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
- func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeInstanceDetail(request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
- func (c *Client) DescribeInstanceDetailWithContext(ctx context.Context, request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
- func (c *Client) DescribeInstanceSlowQueries(request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
- func (c *Client) DescribeInstanceSlowQueriesWithContext(ctx context.Context, request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
- func (c *Client) DescribeInstanceSpecs(request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
- func (c *Client) DescribeInstanceSpecsWithContext(ctx context.Context, request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeMaintainPeriod(request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)
- func (c *Client) DescribeMaintainPeriodWithContext(ctx context.Context, request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)
- func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
- func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
- func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeResourcesByDealName(request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
- func (c *Client) DescribeResourcesByDealNameWithContext(ctx context.Context, request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
- func (c *Client) DescribeRollbackTimeRange(request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
- func (c *Client) DescribeRollbackTimeRangeWithContext(ctx context.Context, request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
- func (c *Client) DescribeRollbackTimeValidity(request *DescribeRollbackTimeValidityRequest) (response *DescribeRollbackTimeValidityResponse, err error)
- func (c *Client) DescribeRollbackTimeValidityWithContext(ctx context.Context, request *DescribeRollbackTimeValidityRequest) (response *DescribeRollbackTimeValidityResponse, err error)
- func (c *Client) ExportInstanceSlowQueries(request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
- func (c *Client) ExportInstanceSlowQueriesWithContext(ctx context.Context, request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
- func (c *Client) InquirePriceCreate(request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
- func (c *Client) InquirePriceCreateWithContext(ctx context.Context, request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
- func (c *Client) InquirePriceRenew(request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
- func (c *Client) InquirePriceRenewWithContext(ctx context.Context, request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
- func (c *Client) IsolateCluster(request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)
- func (c *Client) IsolateClusterWithContext(ctx context.Context, request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)
- func (c *Client) IsolateInstance(request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)
- func (c *Client) IsolateInstanceWithContext(ctx context.Context, request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)
- func (c *Client) ModifyAuditRuleTemplates(request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
- func (c *Client) ModifyAuditRuleTemplatesWithContext(ctx context.Context, request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
- func (c *Client) ModifyAuditService(request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
- func (c *Client) ModifyAuditServiceWithContext(ctx context.Context, request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
- func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
- func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
- func (c *Client) ModifyBackupName(request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
- func (c *Client) ModifyBackupNameWithContext(ctx context.Context, request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
- func (c *Client) ModifyClusterName(request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
- func (c *Client) ModifyClusterNameWithContext(ctx context.Context, request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
- func (c *Client) ModifyClusterParam(request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
- func (c *Client) ModifyClusterParamWithContext(ctx context.Context, request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
- func (c *Client) ModifyClusterSlaveZone(request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
- func (c *Client) ModifyClusterSlaveZoneWithContext(ctx context.Context, request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
- func (c *Client) ModifyInstanceNameWithContext(ctx context.Context, request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
- func (c *Client) ModifyMaintainPeriodConfig(request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
- func (c *Client) ModifyMaintainPeriodConfigWithContext(ctx context.Context, request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
- func (c *Client) OfflineCluster(request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
- func (c *Client) OfflineClusterWithContext(ctx context.Context, request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
- func (c *Client) OfflineInstance(request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)
- func (c *Client) OfflineInstanceWithContext(ctx context.Context, request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)
- func (c *Client) OpenAuditService(request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
- func (c *Client) OpenAuditServiceWithContext(ctx context.Context, request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
- func (c *Client) PauseServerless(request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
- func (c *Client) PauseServerlessWithContext(ctx context.Context, request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
- func (c *Client) RemoveClusterSlaveZone(request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
- func (c *Client) RemoveClusterSlaveZoneWithContext(ctx context.Context, request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
- func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (c *Client) ResumeServerless(request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
- func (c *Client) ResumeServerlessWithContext(ctx context.Context, request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
- func (c *Client) SearchClusterDatabases(request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
- func (c *Client) SearchClusterDatabasesWithContext(ctx context.Context, request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
- func (c *Client) SearchClusterTables(request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
- func (c *Client) SearchClusterTablesWithContext(ctx context.Context, request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
- func (c *Client) SetRenewFlag(request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)
- func (c *Client) SetRenewFlagWithContext(ctx context.Context, request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)
- func (c *Client) SwitchClusterZone(request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
- func (c *Client) SwitchClusterZoneWithContext(ctx context.Context, request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
- func (c *Client) SwitchProxyVpc(request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
- func (c *Client) SwitchProxyVpcWithContext(ctx context.Context, request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
- func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- type CloseAuditServiceRequest
- type CloseAuditServiceRequestParams
- type CloseAuditServiceResponse
- type CloseAuditServiceResponseParams
- type ClusterInstanceDetail
- type CreateAccountsRequest
- type CreateAccountsRequestParams
- type CreateAccountsResponse
- type CreateAccountsResponseParams
- type CreateAuditRuleTemplateRequest
- type CreateAuditRuleTemplateRequestParams
- type CreateAuditRuleTemplateResponse
- type CreateAuditRuleTemplateResponseParams
- type CreateBackupRequest
- type CreateBackupRequestParams
- type CreateBackupResponse
- type CreateBackupResponseParams
- type CreateClustersRequest
- type CreateClustersRequestParams
- type CreateClustersResponse
- type CreateClustersResponseParams
- type CynosdbCluster
- type CynosdbClusterDetail
- type CynosdbInstance
- type CynosdbInstanceDetail
- type CynosdbInstanceGrp
- type DatabaseTables
- type DeleteAuditRuleTemplatesRequest
- type DeleteAuditRuleTemplatesRequestParams
- type DeleteAuditRuleTemplatesResponse
- type DeleteAuditRuleTemplatesResponseParams
- type DeleteBackupRequest
- type DeleteBackupRequestParams
- type DeleteBackupResponse
- type DeleteBackupResponseParams
- type DescribeAccountsRequest
- type DescribeAccountsRequestParams
- type DescribeAccountsResponse
- type DescribeAccountsResponseParams
- type DescribeAuditRuleTemplatesRequest
- type DescribeAuditRuleTemplatesRequestParams
- type DescribeAuditRuleTemplatesResponse
- type DescribeAuditRuleTemplatesResponseParams
- type DescribeAuditRuleWithInstanceIdsRequest
- type DescribeAuditRuleWithInstanceIdsRequestParams
- type DescribeAuditRuleWithInstanceIdsResponse
- type DescribeAuditRuleWithInstanceIdsResponseParams
- type DescribeBackupConfigRequest
- type DescribeBackupConfigRequestParams
- type DescribeBackupConfigResponse
- type DescribeBackupConfigResponseParams
- type DescribeBackupDownloadUrlRequest
- type DescribeBackupDownloadUrlRequestParams
- type DescribeBackupDownloadUrlResponse
- type DescribeBackupDownloadUrlResponseParams
- type DescribeBackupListRequest
- type DescribeBackupListRequestParams
- type DescribeBackupListResponse
- type DescribeBackupListResponseParams
- type DescribeBinlogDownloadUrlRequest
- type DescribeBinlogDownloadUrlRequestParams
- type DescribeBinlogDownloadUrlResponse
- type DescribeBinlogDownloadUrlResponseParams
- type DescribeBinlogSaveDaysRequest
- type DescribeBinlogSaveDaysRequestParams
- type DescribeBinlogSaveDaysResponse
- type DescribeBinlogSaveDaysResponseParams
- type DescribeBinlogsRequest
- type DescribeBinlogsRequestParams
- type DescribeBinlogsResponse
- type DescribeBinlogsResponseParams
- type DescribeClusterDetailRequest
- type DescribeClusterDetailRequestParams
- type DescribeClusterDetailResponse
- type DescribeClusterDetailResponseParams
- type DescribeClusterInstanceGrpsRequest
- type DescribeClusterInstanceGrpsRequestParams
- type DescribeClusterInstanceGrpsResponse
- type DescribeClusterInstanceGrpsResponseParams
- type DescribeClusterParamsRequest
- type DescribeClusterParamsRequestParams
- type DescribeClusterParamsResponse
- type DescribeClusterParamsResponseParams
- type DescribeClustersRequest
- type DescribeClustersRequestParams
- type DescribeClustersResponse
- type DescribeClustersResponseParams
- type DescribeDBSecurityGroupsRequest
- type DescribeDBSecurityGroupsRequestParams
- type DescribeDBSecurityGroupsResponse
- type DescribeDBSecurityGroupsResponseParams
- type DescribeInstanceDetailRequest
- type DescribeInstanceDetailRequestParams
- type DescribeInstanceDetailResponse
- type DescribeInstanceDetailResponseParams
- type DescribeInstanceSlowQueriesRequest
- type DescribeInstanceSlowQueriesRequestParams
- type DescribeInstanceSlowQueriesResponse
- type DescribeInstanceSlowQueriesResponseParams
- type DescribeInstanceSpecsRequest
- type DescribeInstanceSpecsRequestParams
- type DescribeInstanceSpecsResponse
- type DescribeInstanceSpecsResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeMaintainPeriodRequest
- type DescribeMaintainPeriodRequestParams
- type DescribeMaintainPeriodResponse
- type DescribeMaintainPeriodResponseParams
- type DescribeParamTemplatesRequest
- type DescribeParamTemplatesRequestParams
- type DescribeParamTemplatesResponse
- type DescribeParamTemplatesResponseParams
- type DescribeProjectSecurityGroupsRequest
- type DescribeProjectSecurityGroupsRequestParams
- type DescribeProjectSecurityGroupsResponse
- type DescribeProjectSecurityGroupsResponseParams
- type DescribeResourcesByDealNameRequest
- type DescribeResourcesByDealNameRequestParams
- type DescribeResourcesByDealNameResponse
- type DescribeResourcesByDealNameResponseParams
- type DescribeRollbackTimeRangeRequest
- type DescribeRollbackTimeRangeRequestParams
- type DescribeRollbackTimeRangeResponse
- type DescribeRollbackTimeRangeResponseParams
- type DescribeRollbackTimeValidityRequest
- type DescribeRollbackTimeValidityRequestParams
- type DescribeRollbackTimeValidityResponse
- type DescribeRollbackTimeValidityResponseParams
- type ExportInstanceSlowQueriesRequest
- type ExportInstanceSlowQueriesRequestParams
- type ExportInstanceSlowQueriesResponse
- type ExportInstanceSlowQueriesResponseParams
- type InquirePriceCreateRequest
- type InquirePriceCreateRequestParams
- type InquirePriceCreateResponse
- type InquirePriceCreateResponseParams
- type InquirePriceRenewRequest
- type InquirePriceRenewRequestParams
- type InquirePriceRenewResponse
- type InquirePriceRenewResponseParams
- type InstanceAuditRule
- type InstanceInitInfo
- type InstanceSpec
- type IsolateClusterRequest
- type IsolateClusterRequestParams
- type IsolateClusterResponse
- type IsolateClusterResponseParams
- type IsolateInstanceRequest
- type IsolateInstanceRequestParams
- type IsolateInstanceResponse
- type IsolateInstanceResponseParams
- type ModifiableInfo
- type ModifyAuditRuleTemplatesRequest
- type ModifyAuditRuleTemplatesRequestParams
- type ModifyAuditRuleTemplatesResponse
- type ModifyAuditRuleTemplatesResponseParams
- type ModifyAuditServiceRequest
- type ModifyAuditServiceRequestParams
- type ModifyAuditServiceResponse
- type ModifyAuditServiceResponseParams
- type ModifyBackupConfigRequest
- type ModifyBackupConfigRequestParams
- type ModifyBackupConfigResponse
- type ModifyBackupConfigResponseParams
- type ModifyBackupNameRequest
- type ModifyBackupNameRequestParams
- type ModifyBackupNameResponse
- type ModifyBackupNameResponseParams
- type ModifyClusterNameRequest
- type ModifyClusterNameRequestParams
- type ModifyClusterNameResponse
- type ModifyClusterNameResponseParams
- type ModifyClusterParamRequest
- type ModifyClusterParamRequestParams
- type ModifyClusterParamResponse
- type ModifyClusterParamResponseParams
- type ModifyClusterSlaveZoneRequest
- type ModifyClusterSlaveZoneRequestParams
- type ModifyClusterSlaveZoneResponse
- type ModifyClusterSlaveZoneResponseParams
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsRequestParams
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyDBInstanceSecurityGroupsResponseParams
- type ModifyInstanceNameRequest
- type ModifyInstanceNameRequestParams
- type ModifyInstanceNameResponse
- type ModifyInstanceNameResponseParams
- type ModifyMaintainPeriodConfigRequest
- type ModifyMaintainPeriodConfigRequestParams
- type ModifyMaintainPeriodConfigResponse
- type ModifyMaintainPeriodConfigResponseParams
- type ModifyParamItem
- type NetAddr
- type NewAccount
- type ObjectTask
- type OfflineClusterRequest
- type OfflineClusterRequestParams
- type OfflineClusterResponse
- type OfflineClusterResponseParams
- type OfflineInstanceRequest
- type OfflineInstanceRequestParams
- type OfflineInstanceResponse
- type OfflineInstanceResponseParams
- type OldAddrInfo
- type OpenAuditServiceRequest
- type OpenAuditServiceRequestParams
- type OpenAuditServiceResponse
- type OpenAuditServiceResponseParams
- type ParamInfo
- type ParamItem
- type ParamTemplateListInfo
- type PauseServerlessRequest
- type PauseServerlessRequestParams
- type PauseServerlessResponse
- type PauseServerlessResponseParams
- type PolicyRule
- type QueryFilter
- type RemoveClusterSlaveZoneRequest
- type RemoveClusterSlaveZoneRequestParams
- type RemoveClusterSlaveZoneResponse
- type RemoveClusterSlaveZoneResponseParams
- type ResetAccountPasswordRequest
- type ResetAccountPasswordRequestParams
- type ResetAccountPasswordResponse
- type ResetAccountPasswordResponseParams
- type ResumeServerlessRequest
- type ResumeServerlessRequestParams
- type ResumeServerlessResponse
- type ResumeServerlessResponseParams
- type RollbackTimeRange
- type RuleFilters
- type SearchClusterDatabasesRequest
- type SearchClusterDatabasesRequestParams
- type SearchClusterDatabasesResponse
- type SearchClusterDatabasesResponseParams
- type SearchClusterTablesRequest
- type SearchClusterTablesRequestParams
- type SearchClusterTablesResponse
- type SearchClusterTablesResponseParams
- type SecurityGroup
- type SetRenewFlagRequest
- type SetRenewFlagRequestParams
- type SetRenewFlagResponse
- type SetRenewFlagResponseParams
- type SlowQueriesItem
- type SwitchClusterZoneRequest
- type SwitchClusterZoneRequestParams
- type SwitchClusterZoneResponse
- type SwitchClusterZoneResponseParams
- type SwitchProxyVpcRequest
- type SwitchProxyVpcRequestParams
- type SwitchProxyVpcResponse
- type SwitchProxyVpcResponseParams
- type Tag
- type TemplateParamInfo
- type TradePrice
- type UpgradeInstanceRequest
- type UpgradeInstanceRequestParams
- type UpgradeInstanceResponse
- type UpgradeInstanceResponseParams
- type ZoneStockInfo
Constants ¶
const ( // Batch query failed FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError" // Failed to get permissions. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" // Authentication failed. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" // Failed to create the order and make a payment. FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" // Failed to access the database. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" // Failed to create a task. Try again later. If the problem persists, contact customer service. FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" // Failed to query the backup policy. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" // Insufficient account balance FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" // Operation failed. Try again later. If the problem persists, contact customer service. FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" // Failed to query specifications. FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" // Failed to create the order and make a payment. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" // Internal error. INTERNALERROR = "InternalError" // Failed to query the database. INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" // Failed to get the security group information. INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" // Failed to get the subnet. INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" // Failed to get the VPC. INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" // An exception occurred while executing the HTTP request. INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // Failed to query instances by security group. INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" // Public network operation failed. INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" // Unsupported operation. INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" // Failed to query the database. INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" // Internal system error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Unknown internal error. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // This API was not found. INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" // Parameter passing error. INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" // Unknown parameter. Please check whether the parameter is valid. INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" // The current instance cannot be isolated. INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" // The account already exists. INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" // The account already exists. INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" // No cluster found. INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" // Unsupported instance type. INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" // The cluster type must be serverless. INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" // No order ID found. INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" // Taskflow ID doesn’t exist. INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" // The instance name contains invalid characters. INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" // Invalid sort by field. INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" // The password does not meet the requirement. INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" // The instance does not exist. INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" // The operation is not allowed for system account. INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" // Invalid instance version. INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" // Invalid parameter value. INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // The password is invalid. INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" // The region is invalid. INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" // Invalid instance specification. INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" // Invalid AZ INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" // These two parameters cannot be set at the same time. INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" // Incorrect parameter. INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" // Invalid parameter value INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" // This operation is not allowed for monthly-subscribed instances. INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" // The selected region and AZ are unavailable. INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" // No related storage pool found. INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" // The selected subnet could not be found. INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" // The selected VPC could not be found. INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" // The number of instances exceeds the limit. LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" // OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" // The current cluster does not allow the operation. OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" // For the cluster in this status, the operation is not allowed. OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" // For the instance in this status, the operation is not allowed. OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" // The instance is not running. OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" // Insufficient account balance. OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" // For the serverless cluster in this status, the operation is not allowed. OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" // For the serverless instance in this status, the operation is not allowed. OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" // The task conflict check failed. OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError" // You need to verify your identity to make a purchase. OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" // Serverless is not supported on this version. OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" // The cluster does not exist. RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" // The instance does not exist. RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" // The resource corresponding to the parameter does not exist. RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" // Failed to lock the instance, so the operation cannot be performed temporarily. RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" // The instance is exceptional, so the operation cannot be performed temporarily. RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" // Users who haven't completed identity verification can’t make purchases. UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" // CAM authentication failed. UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" )
const APIVersion = "2019-01-07"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ability ¶
type Ability struct { // Whether secondary AZ is supported IsSupportSlaveZone *string `json:"IsSupportSlaveZone,omitempty" name:"IsSupportSlaveZone"` // The reason why secondary AZ is not supported // Note: This field may return null, indicating that no valid values can be obtained. NonsupportSlaveZoneReason *string `json:"NonsupportSlaveZoneReason,omitempty" name:"NonsupportSlaveZoneReason"` // Whether read-only instance is supported IsSupportRo *string `json:"IsSupportRo,omitempty" name:"IsSupportRo"` // The reason why read-only instance is not supported // Note: This field may return null, indicating that no valid values can be obtained. NonsupportRoReason *string `json:"NonsupportRoReason,omitempty" name:"NonsupportRoReason"` }
type Account ¶
type Account struct { // Database account name AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // Database account description Description *string `json:"Description,omitempty" name:"Description"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Host Host *string `json:"Host,omitempty" name:"Host"` // The max connections MaxUserConnections *int64 `json:"MaxUserConnections,omitempty" name:"MaxUserConnections"` }
type ActivateInstanceRequest ¶
type ActivateInstanceRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of instance IDs in the format of `cynosdbmysql-ins-n7ocdslw` as displayed in the TDSQL-C for MySQL console. You can use the instance list querying API to query the ID, i.e., the `InstanceId` value in the output parameters. InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` }
func NewActivateInstanceRequest ¶
func NewActivateInstanceRequest() (request *ActivateInstanceRequest)
func (*ActivateInstanceRequest) FromJsonString ¶
func (r *ActivateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ActivateInstanceRequest) ToJsonString ¶
func (r *ActivateInstanceRequest) ToJsonString() string
type ActivateInstanceRequestParams ¶
type ActivateInstanceRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of instance IDs in the format of `cynosdbmysql-ins-n7ocdslw` as displayed in the TDSQL-C for MySQL console. You can use the instance list querying API to query the ID, i.e., the `InstanceId` value in the output parameters. InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` }
Predefined struct for user
type ActivateInstanceResponse ¶
type ActivateInstanceResponse struct { *tchttp.BaseResponse Response *ActivateInstanceResponseParams `json:"Response"` }
func NewActivateInstanceResponse ¶
func NewActivateInstanceResponse() (response *ActivateInstanceResponse)
func (*ActivateInstanceResponse) FromJsonString ¶
func (r *ActivateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ActivateInstanceResponse) ToJsonString ¶
func (r *ActivateInstanceResponse) ToJsonString() string
type ActivateInstanceResponseParams ¶
type ActivateInstanceResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddClusterSlaveZoneRequest ¶
type AddClusterSlaveZoneRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Replica AZ SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` }
func NewAddClusterSlaveZoneRequest ¶
func NewAddClusterSlaveZoneRequest() (request *AddClusterSlaveZoneRequest)
func (*AddClusterSlaveZoneRequest) FromJsonString ¶
func (r *AddClusterSlaveZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddClusterSlaveZoneRequest) ToJsonString ¶
func (r *AddClusterSlaveZoneRequest) ToJsonString() string
type AddClusterSlaveZoneRequestParams ¶
type AddClusterSlaveZoneRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Replica AZ SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` }
Predefined struct for user
type AddClusterSlaveZoneResponse ¶
type AddClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *AddClusterSlaveZoneResponseParams `json:"Response"` }
func NewAddClusterSlaveZoneResponse ¶
func NewAddClusterSlaveZoneResponse() (response *AddClusterSlaveZoneResponse)
func (*AddClusterSlaveZoneResponse) FromJsonString ¶
func (r *AddClusterSlaveZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddClusterSlaveZoneResponse) ToJsonString ¶
func (r *AddClusterSlaveZoneResponse) ToJsonString() string
type AddClusterSlaveZoneResponseParams ¶
type AddClusterSlaveZoneResponseParams struct { // Async FlowId FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddInstancesRequest ¶
type AddInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Number of CPU cores Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Number of added read-only instances. Value range: (0,16]. ReadOnlyCount *int64 `json:"ReadOnlyCount,omitempty" name:"ReadOnlyCount"` // Instance group ID, which is used when you add an instance to an existing RO group. If this parameter is left empty, an RO group will be created. We recommend you not pass in this value on the current version. InstanceGrpId *string `json:"InstanceGrpId,omitempty" name:"InstanceGrpId"` // VPC ID. This parameter has been disused. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. If `VpcId` is set, `SubnetId` is required. This parameter has been disused. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // The port used when adding an RO group. Value range: [0,65535). Port *int64 `json:"Port,omitempty" name:"Port"` // Instance name. String length range: [0,64). InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Order source. String length range: [0,64). OrderSource *string `json:"OrderSource,omitempty" name:"OrderSource"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Parameter template ID ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // Parameter list, which is valid only if `InstanceParams` is passed in to `ParamTemplateId`. InstanceParams []*ModifyParamItem `json:"InstanceParams,omitempty" name:"InstanceParams"` }
func NewAddInstancesRequest ¶
func NewAddInstancesRequest() (request *AddInstancesRequest)
func (*AddInstancesRequest) FromJsonString ¶
func (r *AddInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddInstancesRequest) ToJsonString ¶
func (r *AddInstancesRequest) ToJsonString() string
type AddInstancesRequestParams ¶
type AddInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Number of CPU cores Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Number of added read-only instances. Value range: (0,16]. ReadOnlyCount *int64 `json:"ReadOnlyCount,omitempty" name:"ReadOnlyCount"` // Instance group ID, which is used when you add an instance to an existing RO group. If this parameter is left empty, an RO group will be created. We recommend you not pass in this value on the current version. InstanceGrpId *string `json:"InstanceGrpId,omitempty" name:"InstanceGrpId"` // VPC ID. This parameter has been disused. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. If `VpcId` is set, `SubnetId` is required. This parameter has been disused. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // The port used when adding an RO group. Value range: [0,65535). Port *int64 `json:"Port,omitempty" name:"Port"` // Instance name. String length range: [0,64). InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Order source. String length range: [0,64). OrderSource *string `json:"OrderSource,omitempty" name:"OrderSource"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Parameter template ID ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // Parameter list, which is valid only if `InstanceParams` is passed in to `ParamTemplateId`. InstanceParams []*ModifyParamItem `json:"InstanceParams,omitempty" name:"InstanceParams"` }
Predefined struct for user
type AddInstancesResponse ¶
type AddInstancesResponse struct { *tchttp.BaseResponse Response *AddInstancesResponseParams `json:"Response"` }
func NewAddInstancesResponse ¶
func NewAddInstancesResponse() (response *AddInstancesResponse)
func (*AddInstancesResponse) FromJsonString ¶
func (r *AddInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddInstancesResponse) ToJsonString ¶
func (r *AddInstancesResponse) ToJsonString() string
type AddInstancesResponseParams ¶
type AddInstancesResponseParams struct { // Freezing transaction. One freezing transaction ID is generated each time an instance is added. // Note: this field may return null, indicating that no valid values can be obtained. TranId *string `json:"TranId,omitempty" name:"TranId"` // Pay-as-You-Go order ID. // Note: this field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // List of IDs of delivered resources // Note: this field may return null, indicating that no valid values can be obtained. ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Big order ID. // Note: this field may return null, indicating that no valid values can be obtained. BigDealIds []*string `json:"BigDealIds,omitempty" name:"BigDealIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AuditRuleFilters ¶
type AuditRuleFilters struct { // Audit rule RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` }
type AuditRuleTemplateInfo ¶
type AuditRuleTemplateInfo struct { // Rule template ID RuleTemplateId *string `json:"RuleTemplateId,omitempty" name:"RuleTemplateId"` // Rule template name RuleTemplateName *string `json:"RuleTemplateName,omitempty" name:"RuleTemplateName"` // Filter of the rule template RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` // Description of a rule template // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Creation time of a rule template CreateAt *string `json:"CreateAt,omitempty" name:"CreateAt"` }
type BackupFileInfo ¶
type BackupFileInfo struct { // Snapshot file ID, which is deprecated. You need to use `BackupId`. SnapshotId *uint64 `json:"SnapshotId,omitempty" name:"SnapshotId"` // Backup file name FileName *string `json:"FileName,omitempty" name:"FileName"` // Backup file size FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"` // Backup start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup end time FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup). BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Back mode. auto: auto backup; manual: manual backup BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Backup file status. success: backup succeeded; fail: backup failed; creating: creating backup file; deleting: deleting backup file BackupStatus *string `json:"BackupStatus,omitempty" name:"BackupStatus"` // Backup file time SnapshotTime *string `json:"SnapshotTime,omitempty" name:"SnapshotTime"` // Backup ID // Note: This field may return null, indicating that no valid values can be obtained. BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` SnapShotType *string `json:"SnapShotType,omitempty" name:"SnapShotType"` // Backup file alias // Note: This field may return null, indicating that no valid values can be obtained. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
type BillingResourceInfo ¶
type BinlogItem ¶
type BinlogItem struct { // Binlog filename FileName *string `json:"FileName,omitempty" name:"FileName"` // File size in bytes FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` // Transaction start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Transaction end time FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // Binlog file ID BinlogId *int64 `json:"BinlogId,omitempty" name:"BinlogId"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ActivateInstance ¶
func (c *Client) ActivateInstance(request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
ActivateInstance This API is used to remove the isolation of an instance to make it accessible again.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ActivateInstanceWithContext ¶
func (c *Client) ActivateInstanceWithContext(ctx context.Context, request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
ActivateInstance This API is used to remove the isolation of an instance to make it accessible again.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AddClusterSlaveZone ¶
func (c *Client) AddClusterSlaveZone(request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
AddClusterSlaveZone This API is used to add the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AddClusterSlaveZoneWithContext ¶
func (c *Client) AddClusterSlaveZoneWithContext(ctx context.Context, request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
AddClusterSlaveZone This API is used to add the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AddInstances ¶
func (c *Client) AddInstances(request *AddInstancesRequest) (response *AddInstancesResponse, err error)
AddInstances This API is used to add an instance in a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AddInstancesWithContext ¶
func (c *Client) AddInstancesWithContext(ctx context.Context, request *AddInstancesRequest) (response *AddInstancesResponse, err error)
AddInstances This API is used to add an instance in a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseAuditService ¶
func (c *Client) CloseAuditService(request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
CloseAuditService This API is used to disable the audit service for a TDSQL-C for MySQL instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseAuditServiceWithContext ¶
func (c *Client) CloseAuditServiceWithContext(ctx context.Context, request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
CloseAuditService This API is used to disable the audit service for a TDSQL-C for MySQL instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAccounts ¶
func (c *Client) CreateAccounts(request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
CreateAccounts This API is used to create an account.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAccountsWithContext ¶
func (c *Client) CreateAccountsWithContext(ctx context.Context, request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
CreateAccounts This API is used to create an account.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAuditRuleTemplate ¶
func (c *Client) CreateAuditRuleTemplate(request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
CreateAuditRuleTemplate This API is used to create an audit rule template.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAuditRuleTemplateWithContext ¶
func (c *Client) CreateAuditRuleTemplateWithContext(ctx context.Context, request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
CreateAuditRuleTemplate This API is used to create an audit rule template.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackup ¶
func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API is used to create manual backup.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackupWithContext ¶
func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API is used to create manual backup.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateClusters ¶
func (c *Client) CreateClusters(request *CreateClustersRequest) (response *CreateClustersResponse, err error)
CreateClusters This API is used to create a cluster.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateClustersWithContext ¶
func (c *Client) CreateClustersWithContext(ctx context.Context, request *CreateClustersRequest) (response *CreateClustersResponse, err error)
CreateClusters This API is used to create a cluster.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAuditRuleTemplates ¶
func (c *Client) DeleteAuditRuleTemplates(request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
DeleteAuditRuleTemplates This API is used to delete an audit rule template.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAuditRuleTemplatesWithContext ¶
func (c *Client) DeleteAuditRuleTemplatesWithContext(ctx context.Context, request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
DeleteAuditRuleTemplates This API is used to delete an audit rule template.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBackup ¶
func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup This API is used to delete the manual backup for a cluster. It cannot be used to delete the automatic backup.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBackupWithContext ¶
func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup This API is used to delete the manual backup for a cluster. It cannot be used to delete the automatic backup.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to query database management accounts.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccountsWithContext ¶
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to query database management accounts.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAuditRuleTemplates ¶
func (c *Client) DescribeAuditRuleTemplates(request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
DescribeAuditRuleTemplates This API is used to query audit rule templates.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAuditRuleTemplatesWithContext ¶
func (c *Client) DescribeAuditRuleTemplatesWithContext(ctx context.Context, request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
DescribeAuditRuleTemplates This API is used to query audit rule templates.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAuditRuleWithInstanceIds ¶
func (c *Client) DescribeAuditRuleWithInstanceIds(request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
DescribeAuditRuleWithInstanceIds This API is used to get the audit rule templates of an instance.
error code that may be returned:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DescribeAuditRuleWithInstanceIdsWithContext ¶
func (c *Client) DescribeAuditRuleWithInstanceIdsWithContext(ctx context.Context, request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
DescribeAuditRuleWithInstanceIds This API is used to get the audit rule templates of an instance.
error code that may be returned:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DescribeBackupConfig ¶
func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig This API is used to get the backup configuration information of the specified cluster, including the full backup time range and backup file retention period.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupConfigWithContext ¶
func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig This API is used to get the backup configuration information of the specified cluster, including the full backup time range and backup file retention period.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupDownloadUrl ¶
func (c *Client) DescribeBackupDownloadUrl(request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
DescribeBackupDownloadUrl This API is used to query the download address of a cluster backup file.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupDownloadUrlWithContext ¶
func (c *Client) DescribeBackupDownloadUrlWithContext(ctx context.Context, request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
DescribeBackupDownloadUrl This API is used to query the download address of a cluster backup file.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupList ¶
func (c *Client) DescribeBackupList(request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
DescribeBackupList This API is used to query the list of backup files.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupListWithContext ¶
func (c *Client) DescribeBackupListWithContext(ctx context.Context, request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
DescribeBackupList This API is used to query the list of backup files.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogDownloadUrl ¶
func (c *Client) DescribeBinlogDownloadUrl(request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
DescribeBinlogDownloadUrl This API is used to query the download address of a binlog.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogDownloadUrlWithContext ¶
func (c *Client) DescribeBinlogDownloadUrlWithContext(ctx context.Context, request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
DescribeBinlogDownloadUrl This API is used to query the download address of a binlog.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogSaveDays ¶
func (c *Client) DescribeBinlogSaveDays(request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
DescribeBinlogSaveDays This API is used to query the binlog retention period of a cluster in days.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogSaveDaysWithContext ¶
func (c *Client) DescribeBinlogSaveDaysWithContext(ctx context.Context, request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
DescribeBinlogSaveDays This API is used to query the binlog retention period of a cluster in days.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogs ¶
func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs This API is used to query the list of binlogs in a cluster.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogsWithContext ¶
func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs This API is used to query the list of binlogs in a cluster.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDetail ¶
func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail This API is used to show the details of an instance.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDetailWithContext ¶
func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail This API is used to show the details of an instance.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterInstanceGrps ¶
func (c *Client) DescribeClusterInstanceGrps(request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
DescribeClusterInstanceGrps This API is used to query instance groups.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterInstanceGrpsWithContext ¶
func (c *Client) DescribeClusterInstanceGrpsWithContext(ctx context.Context, request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
DescribeClusterInstanceGrps This API is used to query instance groups.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterParams ¶
func (c *Client) DescribeClusterParams(request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
DescribeClusterParams This API is used to query the parameters of a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterParamsWithContext ¶
func (c *Client) DescribeClusterParamsWithContext(ctx context.Context, request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
DescribeClusterParams This API is used to query the parameters of a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to the list of clusters.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClustersWithContext ¶
func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to the list of clusters.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBSecurityGroups ¶
func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups This API is used to query the security group information of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBSecurityGroupsWithContext ¶
func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups This API is used to query the security group information of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceDetail ¶
func (c *Client) DescribeInstanceDetail(request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
DescribeInstanceDetail This API is used to query instance details.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceDetailWithContext ¶
func (c *Client) DescribeInstanceDetailWithContext(ctx context.Context, request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
DescribeInstanceDetail This API is used to query instance details.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSlowQueries ¶
func (c *Client) DescribeInstanceSlowQueries(request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
DescribeInstanceSlowQueries This API is used to query the slow query logs of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSlowQueriesWithContext ¶
func (c *Client) DescribeInstanceSlowQueriesWithContext(ctx context.Context, request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
DescribeInstanceSlowQueries This API is used to query the slow query logs of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSpecs ¶
func (c *Client) DescribeInstanceSpecs(request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
DescribeInstanceSpecs This API is used to query instance specifications.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSpecsWithContext ¶
func (c *Client) DescribeInstanceSpecsWithContext(ctx context.Context, request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
DescribeInstanceSpecs This API is used to query instance specifications.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the list of instances.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the list of instances.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMaintainPeriod ¶
func (c *Client) DescribeMaintainPeriod(request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)
DescribeMaintainPeriod This API is used to query the instance maintenance window.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMaintainPeriodWithContext ¶
func (c *Client) DescribeMaintainPeriodWithContext(ctx context.Context, request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)
DescribeMaintainPeriod This API is used to query the instance maintenance window.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplates ¶
func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates This API is used to query all parameter templates information of a user-specified product.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplatesWithContext ¶
func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates This API is used to query all parameter templates information of a user-specified product.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProjectSecurityGroups ¶
func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups This API is used to query the security group information of a project.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR = "InternalError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProjectSecurityGroupsWithContext ¶
func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups This API is used to query the security group information of a project.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR = "InternalError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcesByDealName ¶
func (c *Client) DescribeResourcesByDealName(request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
DescribeResourcesByDealName This API is used to query the list of resources by billing order ID.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcesByDealNameWithContext ¶
func (c *Client) DescribeResourcesByDealNameWithContext(ctx context.Context, request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
DescribeResourcesByDealName This API is used to query the list of resources by billing order ID.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeRange ¶
func (c *Client) DescribeRollbackTimeRange(request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
DescribeRollbackTimeRange This API is used to query the valid rollback time range for the specified cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeRangeWithContext ¶
func (c *Client) DescribeRollbackTimeRangeWithContext(ctx context.Context, request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
DescribeRollbackTimeRange This API is used to query the valid rollback time range for the specified cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeValidity ¶
func (c *Client) DescribeRollbackTimeValidity(request *DescribeRollbackTimeValidityRequest) (response *DescribeRollbackTimeValidityResponse, err error)
DescribeRollbackTimeValidity This API is used to query whether rollback is possible based on the specified time and cluster.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeValidityWithContext ¶
func (c *Client) DescribeRollbackTimeValidityWithContext(ctx context.Context, request *DescribeRollbackTimeValidityRequest) (response *DescribeRollbackTimeValidityResponse, err error)
DescribeRollbackTimeValidity This API is used to query whether rollback is possible based on the specified time and cluster.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceSlowQueries ¶
func (c *Client) ExportInstanceSlowQueries(request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
ExportInstanceSlowQueries This API is used to export the slow logs of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceSlowQueriesWithContext ¶
func (c *Client) ExportInstanceSlowQueriesWithContext(ctx context.Context, request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
ExportInstanceSlowQueries This API is used to export the slow logs of an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceCreate ¶
func (c *Client) InquirePriceCreate(request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
InquirePriceCreate This API is used to query the purchasable price of a cluster.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceCreateWithContext ¶
func (c *Client) InquirePriceCreateWithContext(ctx context.Context, request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
InquirePriceCreate This API is used to query the purchasable price of a cluster.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceRenew ¶
func (c *Client) InquirePriceRenew(request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
InquirePriceRenew This API is used to query the renewal price of a cluster.
error code that may be returned:
FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceRenewWithContext ¶
func (c *Client) InquirePriceRenewWithContext(ctx context.Context, request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
InquirePriceRenew This API is used to query the renewal price of a cluster.
error code that may be returned:
FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) IsolateCluster ¶
func (c *Client) IsolateCluster(request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)
IsolateCluster This API is used to isolate a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) IsolateClusterWithContext ¶
func (c *Client) IsolateClusterWithContext(ctx context.Context, request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)
IsolateCluster This API is used to isolate a cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) IsolateInstance ¶
func (c *Client) IsolateInstance(request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)
IsolateInstance This API is used to isolate an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) IsolateInstanceWithContext ¶
func (c *Client) IsolateInstanceWithContext(ctx context.Context, request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)
IsolateInstance This API is used to isolate an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAuditRuleTemplates ¶
func (c *Client) ModifyAuditRuleTemplates(request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
ModifyAuditRuleTemplates This API is used to modify an audit rule template.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAuditRuleTemplatesWithContext ¶
func (c *Client) ModifyAuditRuleTemplatesWithContext(ctx context.Context, request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
ModifyAuditRuleTemplates This API is used to modify an audit rule template.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAuditService ¶
func (c *Client) ModifyAuditService(request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
ModifyAuditService This API is used to modify the audit configurations of an instance, such as audit log retention period and audit rule.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAuditServiceWithContext ¶
func (c *Client) ModifyAuditServiceWithContext(ctx context.Context, request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
ModifyAuditService This API is used to modify the audit configurations of an instance, such as audit log retention period and audit rule.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupConfig ¶
func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig This API is used to modify the backup configuration of the specified cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupConfigWithContext ¶
func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig This API is used to modify the backup configuration of the specified cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupName ¶
func (c *Client) ModifyBackupName(request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
ModifyBackupName This API is used to rename a backup file.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupNameWithContext ¶
func (c *Client) ModifyBackupNameWithContext(ctx context.Context, request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
ModifyBackupName This API is used to rename a backup file.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterName ¶
func (c *Client) ModifyClusterName(request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
ModifyClusterName This API is used to modify cluster name.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterNameWithContext ¶
func (c *Client) ModifyClusterNameWithContext(ctx context.Context, request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
ModifyClusterName This API is used to modify cluster name.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterParam ¶
func (c *Client) ModifyClusterParam(request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
ModifyClusterParam This API is used to modify the parameters of a cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterParamWithContext ¶
func (c *Client) ModifyClusterParamWithContext(ctx context.Context, request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
ModifyClusterParam This API is used to modify the parameters of a cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterSlaveZone ¶
func (c *Client) ModifyClusterSlaveZone(request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
ModifyClusterSlaveZone This API is used to modify the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterSlaveZoneWithContext ¶
func (c *Client) ModifyClusterSlaveZoneWithContext(ctx context.Context, request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
ModifyClusterSlaveZone This API is used to modify the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceSecurityGroups ¶
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API is used to modify the security groups bound to an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceSecurityGroupsWithContext ¶
func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API is used to modify the security groups bound to an instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyInstanceName ¶
func (c *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
ModifyInstanceName This API is used to modify instance name.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyInstanceNameWithContext ¶
func (c *Client) ModifyInstanceNameWithContext(ctx context.Context, request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
ModifyInstanceName This API is used to modify instance name.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyMaintainPeriodConfig ¶
func (c *Client) ModifyMaintainPeriodConfig(request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
ModifyMaintainPeriodConfig This API is used to modify the maintenance time configuration.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyMaintainPeriodConfigWithContext ¶
func (c *Client) ModifyMaintainPeriodConfigWithContext(ctx context.Context, request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
ModifyMaintainPeriodConfig This API is used to modify the maintenance time configuration.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OfflineCluster ¶
func (c *Client) OfflineCluster(request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
OfflineCluster This API is used to deactivate a cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OfflineClusterWithContext ¶
func (c *Client) OfflineClusterWithContext(ctx context.Context, request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
OfflineCluster This API is used to deactivate a cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OfflineInstance ¶
func (c *Client) OfflineInstance(request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)
OfflineInstance This API is used to deactivate an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OfflineInstanceWithContext ¶
func (c *Client) OfflineInstanceWithContext(ctx context.Context, request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)
OfflineInstance This API is used to deactivate an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenAuditService ¶
func (c *Client) OpenAuditService(request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
OpenAuditService This API is used to enable the audit service for a TDSQL-C for MySQL instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenAuditServiceWithContext ¶
func (c *Client) OpenAuditServiceWithContext(ctx context.Context, request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
OpenAuditService This API is used to enable the audit service for a TDSQL-C for MySQL instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) PauseServerless ¶
func (c *Client) PauseServerless(request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
PauseServerless This API is used to pause a serverless cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) PauseServerlessWithContext ¶
func (c *Client) PauseServerlessWithContext(ctx context.Context, request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
PauseServerless This API is used to pause a serverless cluster.
error code that may be returned:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) RemoveClusterSlaveZone ¶
func (c *Client) RemoveClusterSlaveZone(request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
RemoveClusterSlaveZone This API is used to delete the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RemoveClusterSlaveZoneWithContext ¶
func (c *Client) RemoveClusterSlaveZoneWithContext(ctx context.Context, request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
RemoveClusterSlaveZone This API is used to delete the replica AZ.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResetAccountPassword ¶
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the password of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResetAccountPasswordWithContext ¶
func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the password of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResumeServerless ¶
func (c *Client) ResumeServerless(request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
ResumeServerless This API is used to resume a serverless cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResumeServerlessWithContext ¶
func (c *Client) ResumeServerlessWithContext(ctx context.Context, request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
ResumeServerless This API is used to resume a serverless cluster.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SearchClusterDatabases ¶
func (c *Client) SearchClusterDatabases(request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
SearchClusterDatabases This API is used to search the list of cluster databases.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterDatabasesWithContext ¶
func (c *Client) SearchClusterDatabasesWithContext(ctx context.Context, request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
SearchClusterDatabases This API is used to search the list of cluster databases.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterTables ¶
func (c *Client) SearchClusterTables(request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
SearchClusterTables This API is used to search the list of cluster data tables.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterTablesWithContext ¶
func (c *Client) SearchClusterTablesWithContext(ctx context.Context, request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
SearchClusterTables This API is used to search the list of cluster data tables.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SetRenewFlag ¶
func (c *Client) SetRenewFlag(request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)
SetRenewFlag This API is used to set auto-renewal for an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SetRenewFlagWithContext ¶
func (c *Client) SetRenewFlagWithContext(ctx context.Context, request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)
SetRenewFlag This API is used to set auto-renewal for an instance.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR = "InternalError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterZone ¶
func (c *Client) SwitchClusterZone(request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
SwitchClusterZone This API is used to switch to the replica AZ.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterZoneWithContext ¶
func (c *Client) SwitchClusterZoneWithContext(ctx context.Context, request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
SwitchClusterZone This API is used to switch to the replica AZ.
error code that may be returned:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchProxyVpc ¶
func (c *Client) SwitchProxyVpc(request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
SwitchProxyVpc This API is used to modify the database proxy VPC.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchProxyVpcWithContext ¶
func (c *Client) SwitchProxyVpcWithContext(ctx context.Context, request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
SwitchProxyVpc This API is used to modify the database proxy VPC.
error code that may be returned:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeInstance ¶
func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance This API is used to upgrade an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeInstanceWithContext ¶
func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance This API is used to upgrade an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
type CloseAuditServiceRequest ¶
type CloseAuditServiceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewCloseAuditServiceRequest ¶
func NewCloseAuditServiceRequest() (request *CloseAuditServiceRequest)
func (*CloseAuditServiceRequest) FromJsonString ¶
func (r *CloseAuditServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseAuditServiceRequest) ToJsonString ¶
func (r *CloseAuditServiceRequest) ToJsonString() string
type CloseAuditServiceRequestParams ¶
type CloseAuditServiceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type CloseAuditServiceResponse ¶
type CloseAuditServiceResponse struct { *tchttp.BaseResponse Response *CloseAuditServiceResponseParams `json:"Response"` }
func NewCloseAuditServiceResponse ¶
func NewCloseAuditServiceResponse() (response *CloseAuditServiceResponse)
func (*CloseAuditServiceResponse) FromJsonString ¶
func (r *CloseAuditServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseAuditServiceResponse) ToJsonString ¶
func (r *CloseAuditServiceResponse) ToJsonString() string
type CloseAuditServiceResponseParams ¶
type CloseAuditServiceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ClusterInstanceDetail ¶
type ClusterInstanceDetail struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Engine type InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // Instance status InstanceStatus *string `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Instance status description InstanceStatusDesc *string `json:"InstanceStatusDesc,omitempty" name:"InstanceStatusDesc"` // Number of CPU cores InstanceCpu *int64 `json:"InstanceCpu,omitempty" name:"InstanceCpu"` // Memory InstanceMemory *int64 `json:"InstanceMemory,omitempty" name:"InstanceMemory"` // Disk InstanceStorage *int64 `json:"InstanceStorage,omitempty" name:"InstanceStorage"` // Instance role InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` }
type CreateAccountsRequest ¶
type CreateAccountsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of new accounts Accounts []*NewAccount `json:"Accounts,omitempty" name:"Accounts"` }
func NewCreateAccountsRequest ¶
func NewCreateAccountsRequest() (request *CreateAccountsRequest)
func (*CreateAccountsRequest) FromJsonString ¶
func (r *CreateAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountsRequest) ToJsonString ¶
func (r *CreateAccountsRequest) ToJsonString() string
type CreateAccountsRequestParams ¶
type CreateAccountsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of new accounts Accounts []*NewAccount `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type CreateAccountsResponse ¶
type CreateAccountsResponse struct { *tchttp.BaseResponse Response *CreateAccountsResponseParams `json:"Response"` }
func NewCreateAccountsResponse ¶
func NewCreateAccountsResponse() (response *CreateAccountsResponse)
func (*CreateAccountsResponse) FromJsonString ¶
func (r *CreateAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountsResponse) ToJsonString ¶
func (r *CreateAccountsResponse) ToJsonString() string
type CreateAccountsResponseParams ¶
type CreateAccountsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAuditRuleTemplateRequest ¶
type CreateAuditRuleTemplateRequest struct { *tchttp.BaseRequest // Audit rule RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` // Rule template name RuleTemplateName *string `json:"RuleTemplateName,omitempty" name:"RuleTemplateName"` // Rule template description. Description *string `json:"Description,omitempty" name:"Description"` }
func NewCreateAuditRuleTemplateRequest ¶
func NewCreateAuditRuleTemplateRequest() (request *CreateAuditRuleTemplateRequest)
func (*CreateAuditRuleTemplateRequest) FromJsonString ¶
func (r *CreateAuditRuleTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAuditRuleTemplateRequest) ToJsonString ¶
func (r *CreateAuditRuleTemplateRequest) ToJsonString() string
type CreateAuditRuleTemplateRequestParams ¶
type CreateAuditRuleTemplateRequestParams struct { // Audit rule RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` // Rule template name RuleTemplateName *string `json:"RuleTemplateName,omitempty" name:"RuleTemplateName"` // Rule template description. Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type CreateAuditRuleTemplateResponse ¶
type CreateAuditRuleTemplateResponse struct { *tchttp.BaseResponse Response *CreateAuditRuleTemplateResponseParams `json:"Response"` }
func NewCreateAuditRuleTemplateResponse ¶
func NewCreateAuditRuleTemplateResponse() (response *CreateAuditRuleTemplateResponse)
func (*CreateAuditRuleTemplateResponse) FromJsonString ¶
func (r *CreateAuditRuleTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAuditRuleTemplateResponse) ToJsonString ¶
func (r *CreateAuditRuleTemplateResponse) ToJsonString() string
type CreateAuditRuleTemplateResponseParams ¶
type CreateAuditRuleTemplateResponseParams struct { // The generated rule template ID // Note: This field may return null, indicating that no valid values can be obtained. RuleTemplateId *string `json:"RuleTemplateId,omitempty" name:"RuleTemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBackupRequest ¶
type CreateBackupRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup type. Valid values: `logic` (logic backup), `snapshot` (physical backup) BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Backup database, which is valid when `BackupType` is `logic`. BackupDatabases []*string `json:"BackupDatabases,omitempty" name:"BackupDatabases"` // Backup table, which is valid when `BackupType` is `logic`. BackupTables []*DatabaseTables `json:"BackupTables,omitempty" name:"BackupTables"` // Backup name BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
func NewCreateBackupRequest ¶
func NewCreateBackupRequest() (request *CreateBackupRequest)
func (*CreateBackupRequest) FromJsonString ¶
func (r *CreateBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupRequest) ToJsonString ¶
func (r *CreateBackupRequest) ToJsonString() string
type CreateBackupRequestParams ¶
type CreateBackupRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup type. Valid values: `logic` (logic backup), `snapshot` (physical backup) BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Backup database, which is valid when `BackupType` is `logic`. BackupDatabases []*string `json:"BackupDatabases,omitempty" name:"BackupDatabases"` // Backup table, which is valid when `BackupType` is `logic`. BackupTables []*DatabaseTables `json:"BackupTables,omitempty" name:"BackupTables"` // Backup name BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
Predefined struct for user
type CreateBackupResponse ¶
type CreateBackupResponse struct { *tchttp.BaseResponse Response *CreateBackupResponseParams `json:"Response"` }
func NewCreateBackupResponse ¶
func NewCreateBackupResponse() (response *CreateBackupResponse)
func (*CreateBackupResponse) FromJsonString ¶
func (r *CreateBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupResponse) ToJsonString ¶
func (r *CreateBackupResponse) ToJsonString() string
type CreateBackupResponseParams ¶
type CreateBackupResponseParams struct { // Async task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClustersRequest ¶
type CreateClustersRequest struct { *tchttp.BaseRequest // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Database version. Valid values: // <li> Valid values for `MYSQL`: 5.7 and 8.0 </li> DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // It is required when `DbMode` is set to `NORMAL` or left empty. // Number of CPU cores of normal instance Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // It is required when `DbMode` is set to `NORMAL` or left empty. // Memory of a non-serverless instance in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // This parameter has been deprecated. // Storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Cluster name, which can contain less than 64 letters, digits, or symbols (-_.). ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Account password, which must contain 8-64 characters in at least three of the following four types: uppercase letters, lowercase letters, digits, and symbols (~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/). AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"` // Port. Valid range: [0, 65535). Default value: 3306 Port *int64 `json:"Port,omitempty" name:"Port"` // Billing mode. `0`: pay-as-you-go; `1`: monthly subscription. Default value: `0` PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Number of purchased clusters. Valid range: [1,50]. Default value: 1 Count *int64 `json:"Count,omitempty" name:"Count"` // Rollback type: // noneRollback: no rollback; // snapRollback: rollback by snapshot; // timeRollback: rollback by time point RollbackStrategy *string `json:"RollbackStrategy,omitempty" name:"RollbackStrategy"` // `snapshotId` for snapshot rollback or `queryId` for time point rollback. 0 indicates to determine whether the time point is valid RollbackId *uint64 `json:"RollbackId,omitempty" name:"RollbackId"` // The source cluster ID passed in during rollback to find the source `poolId` OriginalClusterId *string `json:"OriginalClusterId,omitempty" name:"OriginalClusterId"` // Specified time for time point rollback or snapshot time for snapshot rollback ExpectTime *string `json:"ExpectTime,omitempty" name:"ExpectTime"` // This parameter has been deprecated. // Specified allowed time range for time point rollback ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitempty" name:"ExpectTimeThresh"` // Storage upper limit of normal instance in GB // If `DbType` is `MYSQL` and the storage billing mode is monthly subscription, the parameter value can’t exceed the maximum storage corresponding to the CPU and memory specifications. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Number of Instances. Valid range: (0,16] InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Purchase duration of monthly subscription plan TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Duration unit of monthly subscription. Valid values: `s`, `d`, `m`, `y` TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // Whether auto-renewal is enabled for monthly subscription plan. Default value: `0` AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Whether to automatically select a voucher. `1`: yes; `0`: no. Default value: `0` AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Number of instances (this parameter has been disused and is retained only for compatibility with existing instances) HaCount *int64 `json:"HaCount,omitempty" name:"HaCount"` // Order source OrderSource *string `json:"OrderSource,omitempty" name:"OrderSource"` // Array of tags to be bound to the created cluster ResourceTags []*Tag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Database type // Valid values when `DbType` is `MYSQL` (default value: `NORMAL`): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitempty" name:"DbMode"` // This parameter is required if `DbMode` is `SERVERLESS`. // Minimum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`. MinCpu *float64 `json:"MinCpu,omitempty" name:"MinCpu"` // This parameter is required if `DbMode` is `SERVERLESS`. // Maximum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`. MaxCpu *float64 `json:"MaxCpu,omitempty" name:"MaxCpu"` // This parameter specifies whether the cluster will be automatically paused if `DbMode` is `SERVERLESS`. Valid values: // <li>yes</li> // <li>no</li> // Default value: yes AutoPause *string `json:"AutoPause,omitempty" name:"AutoPause"` // This parameter specifies the delay for automatic cluster pause in seconds if `DbMode` is `SERVERLESS`. Value range: [600,691200] // Default value: `600` AutoPauseDelay *int64 `json:"AutoPauseDelay,omitempty" name:"AutoPauseDelay"` // The billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). Default value: `0`. // If `DbType` is `MYSQL` and the billing mode of cluster compute is pay-as-you-go (or the `DbMode` is `SERVERLESS`), the billing mode of cluster storage must be pay-as-you-go. // Clusters with storage billed in monthly subscription can’t be cloned or rolled back. StoragePayMode *int64 `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Array of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Array of alarm policy IDs AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitempty" name:"AlarmPolicyIds"` // Array of parameters. Valid values: `character_set_server` (utf8|latin1|gbk|utf8mb4), `lower_case_table_names`. 0: case-sensitive; 1: case-insensitive). ClusterParams []*ParamItem `json:"ClusterParams,omitempty" name:"ClusterParams"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Parameter template ID, which can be obtained by querying parameter template information “DescribeParamTemplates” ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // Multi-AZ address SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Instance initialization configuration information, which is used to select instances with different specifications when purchasing a cluster. InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitempty" name:"InstanceInitInfos"` }
func NewCreateClustersRequest ¶
func NewCreateClustersRequest() (request *CreateClustersRequest)
func (*CreateClustersRequest) FromJsonString ¶
func (r *CreateClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClustersRequest) ToJsonString ¶
func (r *CreateClustersRequest) ToJsonString() string
type CreateClustersRequestParams ¶
type CreateClustersRequestParams struct { // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Database version. Valid values: // <li> Valid values for `MYSQL`: 5.7 and 8.0 </li> DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // It is required when `DbMode` is set to `NORMAL` or left empty. // Number of CPU cores of normal instance Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // It is required when `DbMode` is set to `NORMAL` or left empty. // Memory of a non-serverless instance in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // This parameter has been deprecated. // Storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Cluster name, which can contain less than 64 letters, digits, or symbols (-_.). ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Account password, which must contain 8-64 characters in at least three of the following four types: uppercase letters, lowercase letters, digits, and symbols (~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/). AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"` // Port. Valid range: [0, 65535). Default value: 3306 Port *int64 `json:"Port,omitempty" name:"Port"` // Billing mode. `0`: pay-as-you-go; `1`: monthly subscription. Default value: `0` PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Number of purchased clusters. Valid range: [1,50]. Default value: 1 Count *int64 `json:"Count,omitempty" name:"Count"` // Rollback type: // noneRollback: no rollback; // snapRollback: rollback by snapshot; // timeRollback: rollback by time point RollbackStrategy *string `json:"RollbackStrategy,omitempty" name:"RollbackStrategy"` // `snapshotId` for snapshot rollback or `queryId` for time point rollback. 0 indicates to determine whether the time point is valid RollbackId *uint64 `json:"RollbackId,omitempty" name:"RollbackId"` // The source cluster ID passed in during rollback to find the source `poolId` OriginalClusterId *string `json:"OriginalClusterId,omitempty" name:"OriginalClusterId"` // Specified time for time point rollback or snapshot time for snapshot rollback ExpectTime *string `json:"ExpectTime,omitempty" name:"ExpectTime"` // This parameter has been deprecated. // Specified allowed time range for time point rollback ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitempty" name:"ExpectTimeThresh"` // Storage upper limit of normal instance in GB // If `DbType` is `MYSQL` and the storage billing mode is monthly subscription, the parameter value can’t exceed the maximum storage corresponding to the CPU and memory specifications. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Number of Instances. Valid range: (0,16] InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Purchase duration of monthly subscription plan TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Duration unit of monthly subscription. Valid values: `s`, `d`, `m`, `y` TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // Whether auto-renewal is enabled for monthly subscription plan. Default value: `0` AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Whether to automatically select a voucher. `1`: yes; `0`: no. Default value: `0` AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Number of instances (this parameter has been disused and is retained only for compatibility with existing instances) HaCount *int64 `json:"HaCount,omitempty" name:"HaCount"` // Order source OrderSource *string `json:"OrderSource,omitempty" name:"OrderSource"` // Array of tags to be bound to the created cluster ResourceTags []*Tag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Database type // Valid values when `DbType` is `MYSQL` (default value: `NORMAL`): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitempty" name:"DbMode"` // This parameter is required if `DbMode` is `SERVERLESS`. // Minimum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`. MinCpu *float64 `json:"MinCpu,omitempty" name:"MinCpu"` // This parameter is required if `DbMode` is `SERVERLESS`. // Maximum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`. MaxCpu *float64 `json:"MaxCpu,omitempty" name:"MaxCpu"` // This parameter specifies whether the cluster will be automatically paused if `DbMode` is `SERVERLESS`. Valid values: // <li>yes</li> // <li>no</li> // Default value: yes AutoPause *string `json:"AutoPause,omitempty" name:"AutoPause"` // This parameter specifies the delay for automatic cluster pause in seconds if `DbMode` is `SERVERLESS`. Value range: [600,691200] // Default value: `600` AutoPauseDelay *int64 `json:"AutoPauseDelay,omitempty" name:"AutoPauseDelay"` // The billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). Default value: `0`. // If `DbType` is `MYSQL` and the billing mode of cluster compute is pay-as-you-go (or the `DbMode` is `SERVERLESS`), the billing mode of cluster storage must be pay-as-you-go. // Clusters with storage billed in monthly subscription can’t be cloned or rolled back. StoragePayMode *int64 `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Array of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Array of alarm policy IDs AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitempty" name:"AlarmPolicyIds"` // Array of parameters. Valid values: `character_set_server` (utf8|latin1|gbk|utf8mb4), `lower_case_table_names`. 0: case-sensitive; 1: case-insensitive). ClusterParams []*ParamItem `json:"ClusterParams,omitempty" name:"ClusterParams"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Parameter template ID, which can be obtained by querying parameter template information “DescribeParamTemplates” ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // Multi-AZ address SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Instance initialization configuration information, which is used to select instances with different specifications when purchasing a cluster. InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitempty" name:"InstanceInitInfos"` }
Predefined struct for user
type CreateClustersResponse ¶
type CreateClustersResponse struct { *tchttp.BaseResponse Response *CreateClustersResponseParams `json:"Response"` }
func NewCreateClustersResponse ¶
func NewCreateClustersResponse() (response *CreateClustersResponse)
func (*CreateClustersResponse) FromJsonString ¶
func (r *CreateClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClustersResponse) ToJsonString ¶
func (r *CreateClustersResponse) ToJsonString() string
type CreateClustersResponseParams ¶
type CreateClustersResponseParams struct { // Freezing transaction ID // Note: This field may return null, indicating that no valid values can be obtained. TranId *string `json:"TranId,omitempty" name:"TranId"` // Order ID // Note: This field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // List of resource IDs (This field has been deprecated. You need to use `dealNames` in the `DescribeResourcesByDealName` API to get resource IDs.) // Note: This field may return null, indicating that no valid values can be obtained. ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // List of cluster IDs (This field has been deprecated. You need to use `dealNames` in the `DescribeResourcesByDealName` API to get cluster IDs.) // Note: This field may return null, indicating that no valid values can be obtained. ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // Big order ID // Note: This field may return null, indicating that no valid values can be obtained. BigDealIds []*string `json:"BigDealIds,omitempty" name:"BigDealIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CynosdbCluster ¶
type CynosdbCluster struct { // Cluster status. Valid values are as follows: // creating // running // isolating // isolated // activating (removing isolation) // offlining (deactivating) // offlined (deactivated) // deleting // deleted Status *string `json:"Status,omitempty" name:"Status"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Region Region *string `json:"Region,omitempty" name:"Region"` // Database version DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Number of instances InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"` // User UIN // Note: This field may return null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitempty" name:"Uin"` // Engine type // Note: This field may return null, indicating that no valid values can be obtained. DbType *string `json:"DbType,omitempty" name:"DbType"` // User `appid` // Note: This field may return null, indicating that no valid values can be obtained. AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Cluster status description // Note: This field may return null, indicating that no valid values can be obtained. StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // Cluster creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Billing mode. `0`: Pay-as-you-go; `1`: Monthly subscription. // Note: This field may return null, indicating that no valid values can be obtained. PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // End time // Note: This field may return null, indicating that no valid values can be obtained. PeriodEndTime *string `json:"PeriodEndTime,omitempty" name:"PeriodEndTime"` // Cluster read-write VIP // Note: This field may return null, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // Cluster read-write vport // Note: This field may return null, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Project ID // Note: This field may return null, indicating that no valid values can be obtained. ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` // VPC ID // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // TDSQL-C kernel version // Note: This field may return null, indicating that no valid values can be obtained. CynosVersion *string `json:"CynosVersion,omitempty" name:"CynosVersion"` // Storage capacity // Note: This field may return null, indicating that no valid values can be obtained. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Renewal flag // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // Task in progress // Note: This field may return null, indicating that no valid values can be obtained. ProcessingTask *string `json:"ProcessingTask,omitempty" name:"ProcessingTask"` // Array of tasks in the cluster // Note: This field may return null, indicating that no valid values can be obtained. Tasks []*ObjectTask `json:"Tasks,omitempty" name:"Tasks"` // Array of tags bound to the cluster // Note: This field may return null, indicating that no valid values can be obtained. ResourceTags []*Tag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Database type. Valid values: `NORMAL`, `SERVERLESS`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitempty" name:"DbMode"` // Serverless cluster status when the database type is `SERVERLESS`. Valid values: // `resume` // `pause` // Note: This field may return null, indicating that no valid values can be obtained. ServerlessStatus *string `json:"ServerlessStatus,omitempty" name:"ServerlessStatus"` // Prepaid cluster storage capacity // Note: This field may return null, indicating that no valid values can be obtained. Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Cluster storage ID used in prepaid storage modification // Note: This field may return null, indicating that no valid values can be obtained. StorageId *string `json:"StorageId,omitempty" name:"StorageId"` // Billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). // Note: This field may return null, indicating that no valid values can be obtained. StoragePayMode *int64 `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // The minimum storage corresponding to the compute specification of the cluster // Note: This field may return null, indicating that no valid values can be obtained. MinStorageSize *int64 `json:"MinStorageSize,omitempty" name:"MinStorageSize"` // The maximum storage corresponding to the compute specification of the cluster // Note: This field may return null, indicating that no valid values can be obtained. MaxStorageSize *int64 `json:"MaxStorageSize,omitempty" name:"MaxStorageSize"` // Network information of the cluster // Note: This field may return null, indicating that no valid values can be obtained. NetAddrs []*NetAddr `json:"NetAddrs,omitempty" name:"NetAddrs"` // Physical AZ // Note: This field may return null, indicating that no valid values can be obtained. PhysicalZone *string `json:"PhysicalZone,omitempty" name:"PhysicalZone"` // Primary AZ // Note: This field may return null, indicating that no valid values can be obtained. MasterZone *string `json:"MasterZone,omitempty" name:"MasterZone"` // Whether there is a secondary AZ // Note: This field may return null, indicating that no valid values can be obtained. HasSlaveZone *string `json:"HasSlaveZone,omitempty" name:"HasSlaveZone"` // Secondary AZ // Note: This field may return null, indicating that no valid values can be obtained. SlaveZones []*string `json:"SlaveZones,omitempty" name:"SlaveZones"` // Business type // Note: This field may return null, indicating that no valid values can be obtained. BusinessType *string `json:"BusinessType,omitempty" name:"BusinessType"` // Whether to freeze // Note: This field may return null, indicating that no valid values can be obtained. IsFreeze *string `json:"IsFreeze,omitempty" name:"IsFreeze"` // Order source // Note: This field may return null, indicating that no valid values can be obtained. OrderSource *string `json:"OrderSource,omitempty" name:"OrderSource"` // Capability // Note: This field may return null, indicating that no valid values can be obtained. Ability *Ability `json:"Ability,omitempty" name:"Ability"` }
type CynosdbClusterDetail ¶
type CynosdbClusterDetail struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Region Region *string `json:"Region,omitempty" name:"Region"` // Status Status *string `json:"Status,omitempty" name:"Status"` // Status description StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // VPC name VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // Unique VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet name SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Character set Charset *string `json:"Charset,omitempty" name:"Charset"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Database type DbType *string `json:"DbType,omitempty" name:"DbType"` // Database version DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Used capacity UsedStorage *int64 `json:"UsedStorage,omitempty" name:"UsedStorage"` // vport for read/write separation RoAddr []*Addr `json:"RoAddr,omitempty" name:"RoAddr"` // Instance information InstanceSet []*ClusterInstanceDetail `json:"InstanceSet,omitempty" name:"InstanceSet"` // Billing mode PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Expiration time PeriodEndTime *string `json:"PeriodEndTime,omitempty" name:"PeriodEndTime"` // VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // vport Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Project ID ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Array of tags bound to instance ResourceTags []*Tag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Serverless cluster status when the database type is `SERVERLESS`. Valid values: // resume // resuming // pause // pausing ServerlessStatus *string `json:"ServerlessStatus,omitempty" name:"ServerlessStatus"` // Binlog switch. Valid values: `ON`, `OFF`. // Note: This field may return null, indicating that no valid values can be obtained. LogBin *string `json:"LogBin,omitempty" name:"LogBin"` // PITR type. Valid values: `normal`, `redo_pitr`. // Note: This field may return null, indicating that no valid values can be obtained. PitrType *string `json:"PitrType,omitempty" name:"PitrType"` // Physical AZ // Note: This field may return null, indicating that no valid values can be obtained. PhysicalZone *string `json:"PhysicalZone,omitempty" name:"PhysicalZone"` // Storage ID // Note: This field may return null, indicating that no valid values can be obtained. StorageId *string `json:"StorageId,omitempty" name:"StorageId"` // Storage capacity in GB // Note: This field may return null, indicating that no valid values can be obtained. Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Maximum storage specification in GB // Note: This field may return null, indicating that no valid values can be obtained. MaxStorageSize *int64 `json:"MaxStorageSize,omitempty" name:"MaxStorageSize"` // Minimum storage specification in GB // Note: This field may return null, indicating that no valid values can be obtained. MinStorageSize *int64 `json:"MinStorageSize,omitempty" name:"MinStorageSize"` // Storage billing mode. Valid values: `1` (monthly subscription), `0` (pay-as-you-go). // Note: This field may return null, indicating that no valid values can be obtained. StoragePayMode *int64 `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Database type. Valid values: `normal`, `serverless`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitempty" name:"DbMode"` // Maximum storage space // Note: This field may return null, indicating that no valid values can be obtained. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Features supported by the cluster // Note: This field may return null, indicating that no valid values can be obtained. Ability *Ability `json:"Ability,omitempty" name:"Ability"` // TDSQL-C version // Note: This field may return null, indicating that no valid values can be obtained. CynosVersion *string `json:"CynosVersion,omitempty" name:"CynosVersion"` // Business type // Note: This field may return null, indicating that no valid values can be obtained. BusinessType *string `json:"BusinessType,omitempty" name:"BusinessType"` // Whether there is a secondary AZ // Note: This field may return null, indicating that no valid values can be obtained. HasSlaveZone *string `json:"HasSlaveZone,omitempty" name:"HasSlaveZone"` // Whether to freeze // Note: This field may return null, indicating that no valid values can be obtained. IsFreeze *string `json:"IsFreeze,omitempty" name:"IsFreeze"` // Task list // Note: This field may return null, indicating that no valid values can be obtained. Tasks []*ObjectTask `json:"Tasks,omitempty" name:"Tasks"` // Primary AZ // Note: This field may return null, indicating that no valid values can be obtained. MasterZone *string `json:"MasterZone,omitempty" name:"MasterZone"` // Secondary AZ list // Note: This field may return null, indicating that no valid values can be obtained. SlaveZones []*string `json:"SlaveZones,omitempty" name:"SlaveZones"` // Proxy status // Note: This field may return null, indicating that no valid values can be obtained. ProxyStatus *string `json:"ProxyStatus,omitempty" name:"ProxyStatus"` // Whether to skip the transaction // Note: This field may return null, indicating that no valid values can be obtained. IsSkipTrade *string `json:"IsSkipTrade,omitempty" name:"IsSkipTrade"` // Whether to enable password complexity // Note: This field may return null, indicating that no valid values can be obtained. IsOpenPasswordComplexity *string `json:"IsOpenPasswordComplexity,omitempty" name:"IsOpenPasswordComplexity"` // Network type // Note: This field may return null, indicating that no valid values can be obtained. NetworkStatus *string `json:"NetworkStatus,omitempty" name:"NetworkStatus"` }
type CynosdbInstance ¶
type CynosdbInstance struct { // User `Uin` Uin *string `json:"Uin,omitempty" name:"Uin"` // User `AppId` AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance status Status *string `json:"Status,omitempty" name:"Status"` // Instance status description StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // Database type DbType *string `json:"DbType,omitempty" name:"DbType"` // Database version DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Number of CPU cores Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Instance type InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // Current instance role InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Private IP of instance Vip *string `json:"Vip,omitempty" name:"Vip"` // Private port of instance Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Billing mode PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Instance expiration time PeriodEndTime *string `json:"PeriodEndTime,omitempty" name:"PeriodEndTime"` // Termination deadline DestroyDeadlineText *string `json:"DestroyDeadlineText,omitempty" name:"DestroyDeadlineText"` // Isolation time IsolateTime *string `json:"IsolateTime,omitempty" name:"IsolateTime"` // Network type NetType *int64 `json:"NetType,omitempty" name:"NetType"` // Public domain name WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // Public IP WanIP *string `json:"WanIP,omitempty" name:"WanIP"` // Public port WanPort *int64 `json:"WanPort,omitempty" name:"WanPort"` // Public network status WanStatus *string `json:"WanStatus,omitempty" name:"WanStatus"` // Instance termination time DestroyTime *string `json:"DestroyTime,omitempty" name:"DestroyTime"` // TDSQL-C kernel version CynosVersion *string `json:"CynosVersion,omitempty" name:"CynosVersion"` // Task in progress ProcessingTask *string `json:"ProcessingTask,omitempty" name:"ProcessingTask"` // Renewal flag RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // Minimum number of CPU cores for serverless instance MinCpu *float64 `json:"MinCpu,omitempty" name:"MinCpu"` // Maximum number of CPU cores for serverless instance MaxCpu *float64 `json:"MaxCpu,omitempty" name:"MaxCpu"` // Serverless instance status. Valid values: // resume // pause ServerlessStatus *string `json:"ServerlessStatus,omitempty" name:"ServerlessStatus"` // Prepaid storage ID // Note: this field may return `null`, indicating that no valid value can be obtained. StorageId *string `json:"StorageId,omitempty" name:"StorageId"` // Storage billing mode StoragePayMode *int64 `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Physical zone PhysicalZone *string `json:"PhysicalZone,omitempty" name:"PhysicalZone"` // Business type // Note: This field may return null, indicating that no valid value can be obtained. BusinessType *string `json:"BusinessType,omitempty" name:"BusinessType"` // Task // Note: This field may return null, indicating that no valid values can be obtained. Tasks []*ObjectTask `json:"Tasks,omitempty" name:"Tasks"` // Whether to freeze // Note: This field may return null, indicating that no valid values can be obtained. IsFreeze *string `json:"IsFreeze,omitempty" name:"IsFreeze"` // The resource tag // Note: This field may return null, indicating that no valid values can be obtained. ResourceTags []*Tag `json:"ResourceTags,omitempty" name:"ResourceTags"` }
type CynosdbInstanceDetail ¶
type CynosdbInstanceDetail struct { // User `Uin` Uin *string `json:"Uin,omitempty" name:"Uin"` // User `AppId` AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance status Status *string `json:"Status,omitempty" name:"Status"` // Instance status description StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // Database type DbType *string `json:"DbType,omitempty" name:"DbType"` // Database version DbVersion *string `json:"DbVersion,omitempty" name:"DbVersion"` // Number of CPU cores Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Instance type InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // Current instance role InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Billing mode PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Instance expiration time PeriodEndTime *string `json:"PeriodEndTime,omitempty" name:"PeriodEndTime"` // Network type NetType *int64 `json:"NetType,omitempty" name:"NetType"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Private IP of instance Vip *string `json:"Vip,omitempty" name:"Vip"` // Private port of instance Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Public domain name of instance WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // Character set Charset *string `json:"Charset,omitempty" name:"Charset"` // TDSQL-C kernel version CynosVersion *string `json:"CynosVersion,omitempty" name:"CynosVersion"` // Renewal flag RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // The minimum number of CPU cores for a serverless instance MinCpu *float64 `json:"MinCpu,omitempty" name:"MinCpu"` // The maximum number of CPU cores for a serverless instance MaxCpu *float64 `json:"MaxCpu,omitempty" name:"MaxCpu"` // Serverless instance status. Valid values: // resume // pause ServerlessStatus *string `json:"ServerlessStatus,omitempty" name:"ServerlessStatus"` }
type CynosdbInstanceGrp ¶
type CynosdbInstanceGrp struct { // User `appId` AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Creation time CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // Deletion time DeletedTime *string `json:"DeletedTime,omitempty" name:"DeletedTime"` // Instance group ID InstanceGrpId *string `json:"InstanceGrpId,omitempty" name:"InstanceGrpId"` // Status Status *string `json:"Status,omitempty" name:"Status"` // Instance group type. ha: HA group; ro: RO group Type *string `json:"Type,omitempty" name:"Type"` // Update time UpdatedTime *string `json:"UpdatedTime,omitempty" name:"UpdatedTime"` // Private IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Private port Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Public domain name WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // Public IP WanIP *string `json:"WanIP,omitempty" name:"WanIP"` // Public port WanPort *int64 `json:"WanPort,omitempty" name:"WanPort"` // Public network status WanStatus *string `json:"WanStatus,omitempty" name:"WanStatus"` // Information of instances contained in instance group InstanceSet []*CynosdbInstance `json:"InstanceSet,omitempty" name:"InstanceSet"` // VPC ID // Note: This field may return null, indicating that no valid values can be obtained. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Subnet ID // Note: This field may return null, indicating that no valid values can be obtained. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Information of the old IP // Note: This field may return null, indicating that no valid values can be obtained. OldAddrInfo *OldAddrInfo `json:"OldAddrInfo,omitempty" name:"OldAddrInfo"` // Task in progress ProcessingTasks []*string `json:"ProcessingTasks,omitempty" name:"ProcessingTasks"` // Task list Tasks []*ObjectTask `json:"Tasks,omitempty" name:"Tasks"` // biz_net_service table ID NetServiceId *int64 `json:"NetServiceId,omitempty" name:"NetServiceId"` }
type DatabaseTables ¶
type DatabaseTables struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitempty" name:"Database"` // Table name list // Note: This field may return null, indicating that no valid values can be obtained. Tables []*string `json:"Tables,omitempty" name:"Tables"` }
type DeleteAuditRuleTemplatesRequest ¶
type DeleteAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // Audit rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
func NewDeleteAuditRuleTemplatesRequest ¶
func NewDeleteAuditRuleTemplatesRequest() (request *DeleteAuditRuleTemplatesRequest)
func (*DeleteAuditRuleTemplatesRequest) FromJsonString ¶
func (r *DeleteAuditRuleTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAuditRuleTemplatesRequest) ToJsonString ¶
func (r *DeleteAuditRuleTemplatesRequest) ToJsonString() string
type DeleteAuditRuleTemplatesRequestParams ¶
type DeleteAuditRuleTemplatesRequestParams struct { // Audit rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
Predefined struct for user
type DeleteAuditRuleTemplatesResponse ¶
type DeleteAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *DeleteAuditRuleTemplatesResponseParams `json:"Response"` }
func NewDeleteAuditRuleTemplatesResponse ¶
func NewDeleteAuditRuleTemplatesResponse() (response *DeleteAuditRuleTemplatesResponse)
func (*DeleteAuditRuleTemplatesResponse) FromJsonString ¶
func (r *DeleteAuditRuleTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAuditRuleTemplatesResponse) ToJsonString ¶
func (r *DeleteAuditRuleTemplatesResponse) ToJsonString() string
type DeleteAuditRuleTemplatesResponseParams ¶
type DeleteAuditRuleTemplatesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup file ID. This field is used by legacy versions and thus not recommended. SnapshotIdList []*int64 `json:"SnapshotIdList,omitempty" name:"SnapshotIdList"` // Backup file ID. This field is recommended. BackupIds []*int64 `json:"BackupIds,omitempty" name:"BackupIds"` }
func NewDeleteBackupRequest ¶
func NewDeleteBackupRequest() (request *DeleteBackupRequest)
func (*DeleteBackupRequest) FromJsonString ¶
func (r *DeleteBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupRequest) ToJsonString ¶
func (r *DeleteBackupRequest) ToJsonString() string
type DeleteBackupRequestParams ¶
type DeleteBackupRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup file ID. This field is used by legacy versions and thus not recommended. SnapshotIdList []*int64 `json:"SnapshotIdList,omitempty" name:"SnapshotIdList"` // Backup file ID. This field is recommended. BackupIds []*int64 `json:"BackupIds,omitempty" name:"BackupIds"` }
Predefined struct for user
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { *tchttp.BaseResponse Response *DeleteBackupResponseParams `json:"Response"` }
func NewDeleteBackupResponse ¶
func NewDeleteBackupResponse() (response *DeleteBackupResponse)
func (*DeleteBackupResponse) FromJsonString ¶
func (r *DeleteBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupResponse) ToJsonString ¶
func (r *DeleteBackupResponse) ToJsonString() string
type DeleteBackupResponseParams ¶
type DeleteBackupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of accounts to be filtered AccountNames []*string `json:"AccountNames,omitempty" name:"AccountNames"` // Database type. Valid values: // <li> MYSQL </li> // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` // List of accounts to be filtered Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeAccountsRequest ¶
func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)
func (*DescribeAccountsRequest) FromJsonString ¶
func (r *DescribeAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountsRequest) ToJsonString ¶
func (r *DescribeAccountsRequest) ToJsonString() string
type DescribeAccountsRequestParams ¶
type DescribeAccountsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of accounts to be filtered AccountNames []*string `json:"AccountNames,omitempty" name:"AccountNames"` // Database type. Valid values: // <li> MYSQL </li> // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` // List of accounts to be filtered Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *DescribeAccountsResponseParams `json:"Response"` }
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeAccountsResponseParams ¶
type DescribeAccountsResponseParams struct { // Database account list // Note: This field may return null, indicating that no valid values can be obtained. AccountSet []*Account `json:"AccountSet,omitempty" name:"AccountSet"` // Total number of accounts TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditRuleTemplatesRequest ¶
type DescribeAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // Rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` // Rule template name RuleTemplateNames []*string `json:"RuleTemplateNames,omitempty" name:"RuleTemplateNames"` // Number of results returned per request. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeAuditRuleTemplatesRequest ¶
func NewDescribeAuditRuleTemplatesRequest() (request *DescribeAuditRuleTemplatesRequest)
func (*DescribeAuditRuleTemplatesRequest) FromJsonString ¶
func (r *DescribeAuditRuleTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditRuleTemplatesRequest) ToJsonString ¶
func (r *DescribeAuditRuleTemplatesRequest) ToJsonString() string
type DescribeAuditRuleTemplatesRequestParams ¶
type DescribeAuditRuleTemplatesRequestParams struct { // Rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` // Rule template name RuleTemplateNames []*string `json:"RuleTemplateNames,omitempty" name:"RuleTemplateNames"` // Number of results returned per request. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeAuditRuleTemplatesResponse ¶
type DescribeAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAuditRuleTemplatesResponseParams `json:"Response"` }
func NewDescribeAuditRuleTemplatesResponse ¶
func NewDescribeAuditRuleTemplatesResponse() (response *DescribeAuditRuleTemplatesResponse)
func (*DescribeAuditRuleTemplatesResponse) FromJsonString ¶
func (r *DescribeAuditRuleTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditRuleTemplatesResponse) ToJsonString ¶
func (r *DescribeAuditRuleTemplatesResponse) ToJsonString() string
type DescribeAuditRuleTemplatesResponseParams ¶
type DescribeAuditRuleTemplatesResponseParams struct { // Number of eligible instances TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of rule template details // Note: This field may return null, indicating that no valid values can be obtained. Items []*AuditRuleTemplateInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditRuleWithInstanceIdsRequest ¶
type DescribeAuditRuleWithInstanceIdsRequest struct { *tchttp.BaseRequest // Instance ID. Currently, only one single instance can be queried. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewDescribeAuditRuleWithInstanceIdsRequest ¶
func NewDescribeAuditRuleWithInstanceIdsRequest() (request *DescribeAuditRuleWithInstanceIdsRequest)
func (*DescribeAuditRuleWithInstanceIdsRequest) FromJsonString ¶
func (r *DescribeAuditRuleWithInstanceIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditRuleWithInstanceIdsRequest) ToJsonString ¶
func (r *DescribeAuditRuleWithInstanceIdsRequest) ToJsonString() string
type DescribeAuditRuleWithInstanceIdsRequestParams ¶
type DescribeAuditRuleWithInstanceIdsRequestParams struct { // Instance ID. Currently, only one single instance can be queried. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeAuditRuleWithInstanceIdsResponse ¶
type DescribeAuditRuleWithInstanceIdsResponse struct { *tchttp.BaseResponse Response *DescribeAuditRuleWithInstanceIdsResponseParams `json:"Response"` }
func NewDescribeAuditRuleWithInstanceIdsResponse ¶
func NewDescribeAuditRuleWithInstanceIdsResponse() (response *DescribeAuditRuleWithInstanceIdsResponse)
func (*DescribeAuditRuleWithInstanceIdsResponse) FromJsonString ¶
func (r *DescribeAuditRuleWithInstanceIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditRuleWithInstanceIdsResponse) ToJsonString ¶
func (r *DescribeAuditRuleWithInstanceIdsResponse) ToJsonString() string
type DescribeAuditRuleWithInstanceIdsResponseParams ¶
type DescribeAuditRuleWithInstanceIdsResponseParams struct { // None TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Audit rule information of the instance // Note: This field may return null, indicating that no valid values can be obtained. Items []*InstanceAuditRule `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupConfigRequest ¶
type DescribeBackupConfigRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeBackupConfigRequest ¶
func NewDescribeBackupConfigRequest() (request *DescribeBackupConfigRequest)
func (*DescribeBackupConfigRequest) FromJsonString ¶
func (r *DescribeBackupConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupConfigRequest) ToJsonString ¶
func (r *DescribeBackupConfigRequest) ToJsonString() string
type DescribeBackupConfigRequestParams ¶
type DescribeBackupConfigRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeBackupConfigResponse ¶
type DescribeBackupConfigResponse struct { *tchttp.BaseResponse Response *DescribeBackupConfigResponseParams `json:"Response"` }
func NewDescribeBackupConfigResponse ¶
func NewDescribeBackupConfigResponse() (response *DescribeBackupConfigResponse)
func (*DescribeBackupConfigResponse) FromJsonString ¶
func (r *DescribeBackupConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupConfigResponse) ToJsonString ¶
func (r *DescribeBackupConfigResponse) ToJsonString() string
type DescribeBackupConfigResponseParams ¶
type DescribeBackupConfigResponseParams struct { // Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitempty" name:"BackupTimeBeg"` // Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitempty" name:"BackupTimeEnd"` // Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800 ReserveDuration *uint64 `json:"ReserveDuration,omitempty" name:"ReserveDuration"` // Backup frequency. It is an array of 7 elements corresponding to Monday through Sunday. full: full backup; increment: incremental backup // Note: this field may return null, indicating that no valid values can be obtained. BackupFreq []*string `json:"BackupFreq,omitempty" name:"BackupFreq"` // Backup mode. logic: logic backup; snapshot: snapshot backup // Note: this field may return null, indicating that no valid values can be obtained. BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupDownloadUrlRequest ¶
type DescribeBackupDownloadUrlRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup ID BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` }
func NewDescribeBackupDownloadUrlRequest ¶
func NewDescribeBackupDownloadUrlRequest() (request *DescribeBackupDownloadUrlRequest)
func (*DescribeBackupDownloadUrlRequest) FromJsonString ¶
func (r *DescribeBackupDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadUrlRequest) ToJsonString ¶
func (r *DescribeBackupDownloadUrlRequest) ToJsonString() string
type DescribeBackupDownloadUrlRequestParams ¶
type DescribeBackupDownloadUrlRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup ID BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` }
Predefined struct for user
type DescribeBackupDownloadUrlResponse ¶
type DescribeBackupDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeBackupDownloadUrlResponseParams `json:"Response"` }
func NewDescribeBackupDownloadUrlResponse ¶
func NewDescribeBackupDownloadUrlResponse() (response *DescribeBackupDownloadUrlResponse)
func (*DescribeBackupDownloadUrlResponse) FromJsonString ¶
func (r *DescribeBackupDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadUrlResponse) ToJsonString ¶
func (r *DescribeBackupDownloadUrlResponse) ToJsonString() string
type DescribeBackupDownloadUrlResponseParams ¶
type DescribeBackupDownloadUrlResponseParams struct { // Backup download address DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupListRequest ¶
type DescribeBackupListRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The number of results to be returned. Value range: (0,100] Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Value range: [0,INF) Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Backup ID BackupIds []*int64 `json:"BackupIds,omitempty" name:"BackupIds"` // Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup). BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Back mode. Valid values: `auto` (automatic backup), `manual` (manual backup) BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` SnapShotType *string `json:"SnapShotType,omitempty" name:"SnapShotType"` // Backup start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` FileNames []*string `json:"FileNames,omitempty" name:"FileNames"` // Backup alias, which supports fuzzy query. BackupNames []*string `json:"BackupNames,omitempty" name:"BackupNames"` // ID list of the snapshot backup SnapshotIdList []*int64 `json:"SnapshotIdList,omitempty" name:"SnapshotIdList"` }
func NewDescribeBackupListRequest ¶
func NewDescribeBackupListRequest() (request *DescribeBackupListRequest)
func (*DescribeBackupListRequest) FromJsonString ¶
func (r *DescribeBackupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupListRequest) ToJsonString ¶
func (r *DescribeBackupListRequest) ToJsonString() string
type DescribeBackupListRequestParams ¶
type DescribeBackupListRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The number of results to be returned. Value range: (0,100] Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Value range: [0,INF) Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Backup ID BackupIds []*int64 `json:"BackupIds,omitempty" name:"BackupIds"` // Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup). BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Back mode. Valid values: `auto` (automatic backup), `manual` (manual backup) BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` SnapShotType *string `json:"SnapShotType,omitempty" name:"SnapShotType"` // Backup start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` FileNames []*string `json:"FileNames,omitempty" name:"FileNames"` // Backup alias, which supports fuzzy query. BackupNames []*string `json:"BackupNames,omitempty" name:"BackupNames"` // ID list of the snapshot backup SnapshotIdList []*int64 `json:"SnapshotIdList,omitempty" name:"SnapshotIdList"` }
Predefined struct for user
type DescribeBackupListResponse ¶
type DescribeBackupListResponse struct { *tchttp.BaseResponse Response *DescribeBackupListResponseParams `json:"Response"` }
func NewDescribeBackupListResponse ¶
func NewDescribeBackupListResponse() (response *DescribeBackupListResponse)
func (*DescribeBackupListResponse) FromJsonString ¶
func (r *DescribeBackupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupListResponse) ToJsonString ¶
func (r *DescribeBackupListResponse) ToJsonString() string
type DescribeBackupListResponseParams ¶
type DescribeBackupListResponseParams struct { // Total number of backup files TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Backup file list BackupList []*BackupFileInfo `json:"BackupList,omitempty" name:"BackupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogDownloadUrlRequest ¶
type DescribeBinlogDownloadUrlRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Binlog file ID BinlogId *int64 `json:"BinlogId,omitempty" name:"BinlogId"` }
func NewDescribeBinlogDownloadUrlRequest ¶
func NewDescribeBinlogDownloadUrlRequest() (request *DescribeBinlogDownloadUrlRequest)
func (*DescribeBinlogDownloadUrlRequest) FromJsonString ¶
func (r *DescribeBinlogDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogDownloadUrlRequest) ToJsonString ¶
func (r *DescribeBinlogDownloadUrlRequest) ToJsonString() string
type DescribeBinlogDownloadUrlRequestParams ¶
type DescribeBinlogDownloadUrlRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Binlog file ID BinlogId *int64 `json:"BinlogId,omitempty" name:"BinlogId"` }
Predefined struct for user
type DescribeBinlogDownloadUrlResponse ¶
type DescribeBinlogDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeBinlogDownloadUrlResponseParams `json:"Response"` }
func NewDescribeBinlogDownloadUrlResponse ¶
func NewDescribeBinlogDownloadUrlResponse() (response *DescribeBinlogDownloadUrlResponse)
func (*DescribeBinlogDownloadUrlResponse) FromJsonString ¶
func (r *DescribeBinlogDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogDownloadUrlResponse) ToJsonString ¶
func (r *DescribeBinlogDownloadUrlResponse) ToJsonString() string
type DescribeBinlogDownloadUrlResponseParams ¶
type DescribeBinlogDownloadUrlResponseParams struct { // Download address DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogSaveDaysRequest ¶
type DescribeBinlogSaveDaysRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeBinlogSaveDaysRequest ¶
func NewDescribeBinlogSaveDaysRequest() (request *DescribeBinlogSaveDaysRequest)
func (*DescribeBinlogSaveDaysRequest) FromJsonString ¶
func (r *DescribeBinlogSaveDaysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogSaveDaysRequest) ToJsonString ¶
func (r *DescribeBinlogSaveDaysRequest) ToJsonString() string
type DescribeBinlogSaveDaysRequestParams ¶
type DescribeBinlogSaveDaysRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeBinlogSaveDaysResponse ¶
type DescribeBinlogSaveDaysResponse struct { *tchttp.BaseResponse Response *DescribeBinlogSaveDaysResponseParams `json:"Response"` }
func NewDescribeBinlogSaveDaysResponse ¶
func NewDescribeBinlogSaveDaysResponse() (response *DescribeBinlogSaveDaysResponse)
func (*DescribeBinlogSaveDaysResponse) FromJsonString ¶
func (r *DescribeBinlogSaveDaysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogSaveDaysResponse) ToJsonString ¶
func (r *DescribeBinlogSaveDaysResponse) ToJsonString() string
type DescribeBinlogSaveDaysResponseParams ¶
type DescribeBinlogSaveDaysResponseParams struct { // Binlog retention period in days BinlogSaveDays *int64 `json:"BinlogSaveDays,omitempty" name:"BinlogSaveDays"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogsRequest ¶
type DescribeBinlogsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeBinlogsRequest ¶
func NewDescribeBinlogsRequest() (request *DescribeBinlogsRequest)
func (*DescribeBinlogsRequest) FromJsonString ¶
func (r *DescribeBinlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogsRequest) ToJsonString ¶
func (r *DescribeBinlogsRequest) ToJsonString() string
type DescribeBinlogsRequestParams ¶
type DescribeBinlogsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeBinlogsResponse ¶
type DescribeBinlogsResponse struct { *tchttp.BaseResponse Response *DescribeBinlogsResponseParams `json:"Response"` }
func NewDescribeBinlogsResponse ¶
func NewDescribeBinlogsResponse() (response *DescribeBinlogsResponse)
func (*DescribeBinlogsResponse) FromJsonString ¶
func (r *DescribeBinlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBinlogsResponse) ToJsonString ¶
func (r *DescribeBinlogsResponse) ToJsonString() string
type DescribeBinlogsResponseParams ¶
type DescribeBinlogsResponseParams struct { // Total number of records TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Binlog list // Note: This field may return null, indicating that no valid values can be obtained. Binlogs []*BinlogItem `json:"Binlogs,omitempty" name:"Binlogs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterDetailRequest ¶
type DescribeClusterDetailRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeClusterDetailRequest ¶
func NewDescribeClusterDetailRequest() (request *DescribeClusterDetailRequest)
func (*DescribeClusterDetailRequest) FromJsonString ¶
func (r *DescribeClusterDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterDetailRequest) ToJsonString ¶
func (r *DescribeClusterDetailRequest) ToJsonString() string
type DescribeClusterDetailRequestParams ¶
type DescribeClusterDetailRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterDetailResponse ¶
type DescribeClusterDetailResponse struct { *tchttp.BaseResponse Response *DescribeClusterDetailResponseParams `json:"Response"` }
func NewDescribeClusterDetailResponse ¶
func NewDescribeClusterDetailResponse() (response *DescribeClusterDetailResponse)
func (*DescribeClusterDetailResponse) FromJsonString ¶
func (r *DescribeClusterDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterDetailResponse) ToJsonString ¶
func (r *DescribeClusterDetailResponse) ToJsonString() string
type DescribeClusterDetailResponseParams ¶
type DescribeClusterDetailResponseParams struct { // Cluster details Detail *CynosdbClusterDetail `json:"Detail,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterInstanceGrpsRequest ¶
type DescribeClusterInstanceGrpsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeClusterInstanceGrpsRequest ¶
func NewDescribeClusterInstanceGrpsRequest() (request *DescribeClusterInstanceGrpsRequest)
func (*DescribeClusterInstanceGrpsRequest) FromJsonString ¶
func (r *DescribeClusterInstanceGrpsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterInstanceGrpsRequest) ToJsonString ¶
func (r *DescribeClusterInstanceGrpsRequest) ToJsonString() string
type DescribeClusterInstanceGrpsRequestParams ¶
type DescribeClusterInstanceGrpsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterInstanceGrpsResponse ¶
type DescribeClusterInstanceGrpsResponse struct { *tchttp.BaseResponse Response *DescribeClusterInstanceGrpsResponseParams `json:"Response"` }
func NewDescribeClusterInstanceGrpsResponse ¶
func NewDescribeClusterInstanceGrpsResponse() (response *DescribeClusterInstanceGrpsResponse)
func (*DescribeClusterInstanceGrpsResponse) FromJsonString ¶
func (r *DescribeClusterInstanceGrpsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterInstanceGrpsResponse) ToJsonString ¶
func (r *DescribeClusterInstanceGrpsResponse) ToJsonString() string
type DescribeClusterInstanceGrpsResponseParams ¶
type DescribeClusterInstanceGrpsResponseParams struct { // Number of instance groups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance group list InstanceGrpInfoList []*CynosdbInstanceGrp `json:"InstanceGrpInfoList,omitempty" name:"InstanceGrpInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterParamsRequest ¶
type DescribeClusterParamsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` }
func NewDescribeClusterParamsRequest ¶
func NewDescribeClusterParamsRequest() (request *DescribeClusterParamsRequest)
func (*DescribeClusterParamsRequest) FromJsonString ¶
func (r *DescribeClusterParamsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterParamsRequest) ToJsonString ¶
func (r *DescribeClusterParamsRequest) ToJsonString() string
type DescribeClusterParamsRequestParams ¶
type DescribeClusterParamsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` }
Predefined struct for user
type DescribeClusterParamsResponse ¶
type DescribeClusterParamsResponse struct { *tchttp.BaseResponse Response *DescribeClusterParamsResponseParams `json:"Response"` }
func NewDescribeClusterParamsResponse ¶
func NewDescribeClusterParamsResponse() (response *DescribeClusterParamsResponse)
func (*DescribeClusterParamsResponse) FromJsonString ¶
func (r *DescribeClusterParamsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterParamsResponse) ToJsonString ¶
func (r *DescribeClusterParamsResponse) ToJsonString() string
type DescribeClusterParamsResponseParams ¶
type DescribeClusterParamsResponseParams struct { // Number of parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance parameter list // Note: This field may return null, indicating that no valid values can be obtained. Items []*ParamInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { *tchttp.BaseRequest // Engine type. Currently, `MYSQL` is supported. DbType *string `json:"DbType,omitempty" name:"DbType"` // Number of returned results. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: // <li> CREATETIME: creation time</li> // <li> PERIODENDTIME: expiration time</li> OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: // <li> ASC: ascending</li> // <li> DESC: descending</li> OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Filter. If more than one filter exists, the logical relationship between these filters is `AND`. Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeClustersRequest ¶
func NewDescribeClustersRequest() (request *DescribeClustersRequest)
func (*DescribeClustersRequest) FromJsonString ¶
func (r *DescribeClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersRequest) ToJsonString ¶
func (r *DescribeClustersRequest) ToJsonString() string
type DescribeClustersRequestParams ¶
type DescribeClustersRequestParams struct { // Engine type. Currently, `MYSQL` is supported. DbType *string `json:"DbType,omitempty" name:"DbType"` // Number of returned results. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: // <li> CREATETIME: creation time</li> // <li> PERIODENDTIME: expiration time</li> OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: // <li> ASC: ascending</li> // <li> DESC: descending</li> OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Filter. If more than one filter exists, the logical relationship between these filters is `AND`. Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeClustersResponse ¶
type DescribeClustersResponse struct { *tchttp.BaseResponse Response *DescribeClustersResponseParams `json:"Response"` }
func NewDescribeClustersResponse ¶
func NewDescribeClustersResponse() (response *DescribeClustersResponse)
func (*DescribeClustersResponse) FromJsonString ¶
func (r *DescribeClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersResponse) ToJsonString ¶
func (r *DescribeClustersResponse) ToJsonString() string
type DescribeClustersResponseParams ¶
type DescribeClustersResponseParams struct { // Number of clusters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Cluster list ClusterSet []*CynosdbCluster `json:"ClusterSet,omitempty" name:"ClusterSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBSecurityGroupsRequest ¶
type DescribeDBSecurityGroupsRequest struct { *tchttp.BaseRequest // Instance group ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBSecurityGroupsRequest ¶
func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)
func (*DescribeDBSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string
type DescribeDBSecurityGroupsRequestParams ¶
type DescribeDBSecurityGroupsRequestParams struct { // Instance group ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBSecurityGroupsResponse ¶
type DescribeDBSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeDBSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeDBSecurityGroupsResponse ¶
func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)
func (*DescribeDBSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string
type DescribeDBSecurityGroupsResponseParams ¶
type DescribeDBSecurityGroupsResponseParams struct { // Security group information Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceDetailRequest ¶
type DescribeInstanceDetailRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceDetailRequest ¶
func NewDescribeInstanceDetailRequest() (request *DescribeInstanceDetailRequest)
func (*DescribeInstanceDetailRequest) FromJsonString ¶
func (r *DescribeInstanceDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceDetailRequest) ToJsonString ¶
func (r *DescribeInstanceDetailRequest) ToJsonString() string
type DescribeInstanceDetailRequestParams ¶
type DescribeInstanceDetailRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceDetailResponse ¶
type DescribeInstanceDetailResponse struct { *tchttp.BaseResponse Response *DescribeInstanceDetailResponseParams `json:"Response"` }
func NewDescribeInstanceDetailResponse ¶
func NewDescribeInstanceDetailResponse() (response *DescribeInstanceDetailResponse)
func (*DescribeInstanceDetailResponse) FromJsonString ¶
func (r *DescribeInstanceDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceDetailResponse) ToJsonString ¶
func (r *DescribeInstanceDetailResponse) ToJsonString() string
type DescribeInstanceDetailResponseParams ¶
type DescribeInstanceDetailResponseParams struct { // Instance details Detail *CynosdbInstanceDetail `json:"Detail,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceSlowQueriesRequest ¶
type DescribeInstanceSlowQueriesRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Transaction start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Transaction end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Username Username *string `json:"Username,omitempty" name:"Username"` // Client host Host *string `json:"Host,omitempty" name:"Host"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Sorting field. Valid values: QueryTime, LockTime, RowsExamined, RowsSent. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: asc, desc. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeInstanceSlowQueriesRequest ¶
func NewDescribeInstanceSlowQueriesRequest() (request *DescribeInstanceSlowQueriesRequest)
func (*DescribeInstanceSlowQueriesRequest) FromJsonString ¶
func (r *DescribeInstanceSlowQueriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceSlowQueriesRequest) ToJsonString ¶
func (r *DescribeInstanceSlowQueriesRequest) ToJsonString() string
type DescribeInstanceSlowQueriesRequestParams ¶
type DescribeInstanceSlowQueriesRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Transaction start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Transaction end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Username Username *string `json:"Username,omitempty" name:"Username"` // Client host Host *string `json:"Host,omitempty" name:"Host"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Sorting field. Valid values: QueryTime, LockTime, RowsExamined, RowsSent. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: asc, desc. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeInstanceSlowQueriesResponse ¶
type DescribeInstanceSlowQueriesResponse struct { *tchttp.BaseResponse Response *DescribeInstanceSlowQueriesResponseParams `json:"Response"` }
func NewDescribeInstanceSlowQueriesResponse ¶
func NewDescribeInstanceSlowQueriesResponse() (response *DescribeInstanceSlowQueriesResponse)
func (*DescribeInstanceSlowQueriesResponse) FromJsonString ¶
func (r *DescribeInstanceSlowQueriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceSlowQueriesResponse) ToJsonString ¶
func (r *DescribeInstanceSlowQueriesResponse) ToJsonString() string
type DescribeInstanceSlowQueriesResponseParams ¶
type DescribeInstanceSlowQueriesResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Slow query record SlowQueries []*SlowQueriesItem `json:"SlowQueries,omitempty" name:"SlowQueries"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceSpecsRequest ¶
type DescribeInstanceSpecsRequest struct { *tchttp.BaseRequest // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Whether to return the AZ information. IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitempty" name:"IncludeZoneStocks"` }
func NewDescribeInstanceSpecsRequest ¶
func NewDescribeInstanceSpecsRequest() (request *DescribeInstanceSpecsRequest)
func (*DescribeInstanceSpecsRequest) FromJsonString ¶
func (r *DescribeInstanceSpecsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceSpecsRequest) ToJsonString ¶
func (r *DescribeInstanceSpecsRequest) ToJsonString() string
type DescribeInstanceSpecsRequestParams ¶
type DescribeInstanceSpecsRequestParams struct { // Database type. Valid values: // <li> MYSQL </li> DbType *string `json:"DbType,omitempty" name:"DbType"` // Whether to return the AZ information. IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitempty" name:"IncludeZoneStocks"` }
Predefined struct for user
type DescribeInstanceSpecsResponse ¶
type DescribeInstanceSpecsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceSpecsResponseParams `json:"Response"` }
func NewDescribeInstanceSpecsResponse ¶
func NewDescribeInstanceSpecsResponse() (response *DescribeInstanceSpecsResponse)
func (*DescribeInstanceSpecsResponse) FromJsonString ¶
func (r *DescribeInstanceSpecsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceSpecsResponse) ToJsonString ¶
func (r *DescribeInstanceSpecsResponse) ToJsonString() string
type DescribeInstanceSpecsResponseParams ¶
type DescribeInstanceSpecsResponseParams struct { // Specification information InstanceSpecSet []*InstanceSpec `json:"InstanceSpecSet,omitempty" name:"InstanceSpecSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // Number of returned results. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: // <li> CREATETIME: creation time</li> // <li> PERIODENDTIME: expiration time</li> OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: // <li> ASC: ascending</li> // <li> DESC: descending</li> OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Filter. If more than one filter exists, the logical relationship between these filters is `AND`. Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Engine type. Currently, `MYSQL` is supported. DbType *string `json:"DbType,omitempty" name:"DbType"` // Instance status. Valid values: // creating // running // isolating // isolated // activating: Removing the instance from isolation // offlining: Eliminating the instance // offlined: Instance eliminated Status *string `json:"Status,omitempty" name:"Status"` // Instance ID list InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct { // Number of returned results. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Record offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: // <li> CREATETIME: creation time</li> // <li> PERIODENDTIME: expiration time</li> OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: // <li> ASC: ascending</li> // <li> DESC: descending</li> OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Filter. If more than one filter exists, the logical relationship between these filters is `AND`. Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Engine type. Currently, `MYSQL` is supported. DbType *string `json:"DbType,omitempty" name:"DbType"` // Instance status. Valid values: // creating // running // isolating // isolated // activating: Removing the instance from isolation // offlining: Eliminating the instance // offlined: Instance eliminated Status *string `json:"Status,omitempty" name:"Status"` // Instance ID list InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct { // Number of instances TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance list InstanceSet []*CynosdbInstance `json:"InstanceSet,omitempty" name:"InstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMaintainPeriodRequest ¶
type DescribeMaintainPeriodRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeMaintainPeriodRequest ¶
func NewDescribeMaintainPeriodRequest() (request *DescribeMaintainPeriodRequest)
func (*DescribeMaintainPeriodRequest) FromJsonString ¶
func (r *DescribeMaintainPeriodRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMaintainPeriodRequest) ToJsonString ¶
func (r *DescribeMaintainPeriodRequest) ToJsonString() string
type DescribeMaintainPeriodRequestParams ¶
type DescribeMaintainPeriodRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeMaintainPeriodResponse ¶
type DescribeMaintainPeriodResponse struct { *tchttp.BaseResponse Response *DescribeMaintainPeriodResponseParams `json:"Response"` }
func NewDescribeMaintainPeriodResponse ¶
func NewDescribeMaintainPeriodResponse() (response *DescribeMaintainPeriodResponse)
func (*DescribeMaintainPeriodResponse) FromJsonString ¶
func (r *DescribeMaintainPeriodResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMaintainPeriodResponse) ToJsonString ¶
func (r *DescribeMaintainPeriodResponse) ToJsonString() string
type DescribeMaintainPeriodResponseParams ¶
type DescribeMaintainPeriodResponseParams struct { // Maintenance days of the week MaintainWeekDays []*string `json:"MaintainWeekDays,omitempty" name:"MaintainWeekDays"` // Maintenance start time in seconds MaintainStartTime *int64 `json:"MaintainStartTime,omitempty" name:"MaintainStartTime"` // Maintenance duration in seconds MaintainDuration *int64 `json:"MaintainDuration,omitempty" name:"MaintainDuration"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamTemplatesRequest ¶
type DescribeParamTemplatesRequest struct { *tchttp.BaseRequest // Database engine version number EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` // Template name TemplateNames []*string `json:"TemplateNames,omitempty" name:"TemplateNames"` // Template ID TemplateIds []*int64 `json:"TemplateIds,omitempty" name:"TemplateIds"` // Database Type. Valid values: `NORMAL`, `SERVERLESS`. DbModes []*string `json:"DbModes,omitempty" name:"DbModes"` // Offset for query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on queries Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Product type of the queried template Products []*string `json:"Products,omitempty" name:"Products"` // Template type TemplateTypes []*string `json:"TemplateTypes,omitempty" name:"TemplateTypes"` // Version type EngineTypes []*string `json:"EngineTypes,omitempty" name:"EngineTypes"` // The sorting order of the returned results OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `desc`, `asc `. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeParamTemplatesRequest ¶
func NewDescribeParamTemplatesRequest() (request *DescribeParamTemplatesRequest)
func (*DescribeParamTemplatesRequest) FromJsonString ¶
func (r *DescribeParamTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamTemplatesRequest) ToJsonString ¶
func (r *DescribeParamTemplatesRequest) ToJsonString() string
type DescribeParamTemplatesRequestParams ¶
type DescribeParamTemplatesRequestParams struct { // Database engine version number EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` // Template name TemplateNames []*string `json:"TemplateNames,omitempty" name:"TemplateNames"` // Template ID TemplateIds []*int64 `json:"TemplateIds,omitempty" name:"TemplateIds"` // Database Type. Valid values: `NORMAL`, `SERVERLESS`. DbModes []*string `json:"DbModes,omitempty" name:"DbModes"` // Offset for query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on queries Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Product type of the queried template Products []*string `json:"Products,omitempty" name:"Products"` // Template type TemplateTypes []*string `json:"TemplateTypes,omitempty" name:"TemplateTypes"` // Version type EngineTypes []*string `json:"EngineTypes,omitempty" name:"EngineTypes"` // The sorting order of the returned results OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `desc`, `asc `. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
Predefined struct for user
type DescribeParamTemplatesResponse ¶
type DescribeParamTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeParamTemplatesResponseParams `json:"Response"` }
func NewDescribeParamTemplatesResponse ¶
func NewDescribeParamTemplatesResponse() (response *DescribeParamTemplatesResponse)
func (*DescribeParamTemplatesResponse) FromJsonString ¶
func (r *DescribeParamTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamTemplatesResponse) ToJsonString ¶
func (r *DescribeParamTemplatesResponse) ToJsonString() string
type DescribeParamTemplatesResponseParams ¶
type DescribeParamTemplatesResponseParams struct { // Number of parameter templates TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter template information Items []*ParamTemplateListInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectSecurityGroupsRequest ¶
type DescribeProjectSecurityGroupsRequest struct { *tchttp.BaseRequest // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Search by keyword SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` }
func NewDescribeProjectSecurityGroupsRequest ¶
func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)
func (*DescribeProjectSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string
type DescribeProjectSecurityGroupsRequestParams ¶
type DescribeProjectSecurityGroupsRequestParams struct { // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Search by keyword SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` }
Predefined struct for user
type DescribeProjectSecurityGroupsResponse ¶
type DescribeProjectSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeProjectSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeProjectSecurityGroupsResponse ¶
func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)
func (*DescribeProjectSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) ToJsonString() string
type DescribeProjectSecurityGroupsResponseParams ¶
type DescribeProjectSecurityGroupsResponseParams struct { // Security group details Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups"` // The total number of groups Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesByDealNameRequest ¶
type DescribeResourcesByDealNameRequest struct { *tchttp.BaseRequest // Order ID. (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.) DealName *string `json:"DealName,omitempty" name:"DealName"` // Order ID, which can be used to query the resource information of multiple orders ID (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.) DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` }
func NewDescribeResourcesByDealNameRequest ¶
func NewDescribeResourcesByDealNameRequest() (request *DescribeResourcesByDealNameRequest)
func (*DescribeResourcesByDealNameRequest) FromJsonString ¶
func (r *DescribeResourcesByDealNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByDealNameRequest) ToJsonString ¶
func (r *DescribeResourcesByDealNameRequest) ToJsonString() string
type DescribeResourcesByDealNameRequestParams ¶
type DescribeResourcesByDealNameRequestParams struct { // Order ID. (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.) DealName *string `json:"DealName,omitempty" name:"DealName"` // Order ID, which can be used to query the resource information of multiple orders ID (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.) DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` }
Predefined struct for user
type DescribeResourcesByDealNameResponse ¶
type DescribeResourcesByDealNameResponse struct { *tchttp.BaseResponse Response *DescribeResourcesByDealNameResponseParams `json:"Response"` }
func NewDescribeResourcesByDealNameResponse ¶
func NewDescribeResourcesByDealNameResponse() (response *DescribeResourcesByDealNameResponse)
func (*DescribeResourcesByDealNameResponse) FromJsonString ¶
func (r *DescribeResourcesByDealNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByDealNameResponse) ToJsonString ¶
func (r *DescribeResourcesByDealNameResponse) ToJsonString() string
type DescribeResourcesByDealNameResponseParams ¶
type DescribeResourcesByDealNameResponseParams struct { // Billable resource ID information array BillingResourceInfos []*BillingResourceInfo `json:"BillingResourceInfos,omitempty" name:"BillingResourceInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackTimeRangeRequest ¶
type DescribeRollbackTimeRangeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeRollbackTimeRangeRequest ¶
func NewDescribeRollbackTimeRangeRequest() (request *DescribeRollbackTimeRangeRequest)
func (*DescribeRollbackTimeRangeRequest) FromJsonString ¶
func (r *DescribeRollbackTimeRangeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeRangeRequest) ToJsonString ¶
func (r *DescribeRollbackTimeRangeRequest) ToJsonString() string
type DescribeRollbackTimeRangeRequestParams ¶
type DescribeRollbackTimeRangeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeRollbackTimeRangeResponse ¶
type DescribeRollbackTimeRangeResponse struct { *tchttp.BaseResponse Response *DescribeRollbackTimeRangeResponseParams `json:"Response"` }
func NewDescribeRollbackTimeRangeResponse ¶
func NewDescribeRollbackTimeRangeResponse() (response *DescribeRollbackTimeRangeResponse)
func (*DescribeRollbackTimeRangeResponse) FromJsonString ¶
func (r *DescribeRollbackTimeRangeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeRangeResponse) ToJsonString ¶
func (r *DescribeRollbackTimeRangeResponse) ToJsonString() string
type DescribeRollbackTimeRangeResponseParams ¶
type DescribeRollbackTimeRangeResponseParams struct { // Start time of valid rollback time range (disused) // Note: This field may return null, indicating that no valid values can be obtained. TimeRangeStart *string `json:"TimeRangeStart,omitempty" name:"TimeRangeStart"` // End time of valid rollback time range (disused) // Note: This field may return null, indicating that no valid values can be obtained. TimeRangeEnd *string `json:"TimeRangeEnd,omitempty" name:"TimeRangeEnd"` // Time range available for rollback RollbackTimeRanges []*RollbackTimeRange `json:"RollbackTimeRanges,omitempty" name:"RollbackTimeRanges"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackTimeValidityRequest ¶
type DescribeRollbackTimeValidityRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Expected time point to roll back to ExpectTime *string `json:"ExpectTime,omitempty" name:"ExpectTime"` // Error tolerance range for rollback time point ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitempty" name:"ExpectTimeThresh"` }
func NewDescribeRollbackTimeValidityRequest ¶
func NewDescribeRollbackTimeValidityRequest() (request *DescribeRollbackTimeValidityRequest)
func (*DescribeRollbackTimeValidityRequest) FromJsonString ¶
func (r *DescribeRollbackTimeValidityRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeValidityRequest) ToJsonString ¶
func (r *DescribeRollbackTimeValidityRequest) ToJsonString() string
type DescribeRollbackTimeValidityRequestParams ¶
type DescribeRollbackTimeValidityRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Expected time point to roll back to ExpectTime *string `json:"ExpectTime,omitempty" name:"ExpectTime"` // Error tolerance range for rollback time point ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitempty" name:"ExpectTimeThresh"` }
Predefined struct for user
type DescribeRollbackTimeValidityResponse ¶
type DescribeRollbackTimeValidityResponse struct { *tchttp.BaseResponse Response *DescribeRollbackTimeValidityResponseParams `json:"Response"` }
func NewDescribeRollbackTimeValidityResponse ¶
func NewDescribeRollbackTimeValidityResponse() (response *DescribeRollbackTimeValidityResponse)
func (*DescribeRollbackTimeValidityResponse) FromJsonString ¶
func (r *DescribeRollbackTimeValidityResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeValidityResponse) ToJsonString ¶
func (r *DescribeRollbackTimeValidityResponse) ToJsonString() string
type DescribeRollbackTimeValidityResponseParams ¶
type DescribeRollbackTimeValidityResponseParams struct { // Storage `poolID` PoolId *uint64 `json:"PoolId,omitempty" name:"PoolId"` // Rollback task ID, which needs to be passed in when rolling back to this time point QueryId *uint64 `json:"QueryId,omitempty" name:"QueryId"` // Whether the time point is valid. pass: check passed; fail: check failed Status *string `json:"Status,omitempty" name:"Status"` // Suggested time point. This value takes effect only if `Status` is `fail` SuggestTime *string `json:"SuggestTime,omitempty" name:"SuggestTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ExportInstanceSlowQueriesRequest ¶
type ExportInstanceSlowQueriesRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Transaction start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Transaction end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Username Username *string `json:"Username,omitempty" name:"Username"` // Client host Host *string `json:"Host,omitempty" name:"Host"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // File type. Valid values: csv, original. FileType *string `json:"FileType,omitempty" name:"FileType"` }
func NewExportInstanceSlowQueriesRequest ¶
func NewExportInstanceSlowQueriesRequest() (request *ExportInstanceSlowQueriesRequest)
func (*ExportInstanceSlowQueriesRequest) FromJsonString ¶
func (r *ExportInstanceSlowQueriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportInstanceSlowQueriesRequest) ToJsonString ¶
func (r *ExportInstanceSlowQueriesRequest) ToJsonString() string
type ExportInstanceSlowQueriesRequestParams ¶
type ExportInstanceSlowQueriesRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Transaction start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Transaction end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Maximum number Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Username Username *string `json:"Username,omitempty" name:"Username"` // Client host Host *string `json:"Host,omitempty" name:"Host"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // File type. Valid values: csv, original. FileType *string `json:"FileType,omitempty" name:"FileType"` }
Predefined struct for user
type ExportInstanceSlowQueriesResponse ¶
type ExportInstanceSlowQueriesResponse struct { *tchttp.BaseResponse Response *ExportInstanceSlowQueriesResponseParams `json:"Response"` }
func NewExportInstanceSlowQueriesResponse ¶
func NewExportInstanceSlowQueriesResponse() (response *ExportInstanceSlowQueriesResponse)
func (*ExportInstanceSlowQueriesResponse) FromJsonString ¶
func (r *ExportInstanceSlowQueriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportInstanceSlowQueriesResponse) ToJsonString ¶
func (r *ExportInstanceSlowQueriesResponse) ToJsonString() string
type ExportInstanceSlowQueriesResponseParams ¶
type ExportInstanceSlowQueriesResponseParams struct { // Slow query export content FileContent *string `json:"FileContent,omitempty" name:"FileContent"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceCreateRequest ¶
type InquirePriceCreateRequest struct { *tchttp.BaseRequest // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Number of compute node to purchase GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Instance type for purchase. Valid values: `PREPAID`, `POSTPAID`, `SERVERLESS`. InstancePayMode *string `json:"InstancePayMode,omitempty" name:"InstancePayMode"` // Storage type for purchase. Valid values: `PREPAID`, `POSTPAID`. StoragePayMode *string `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // CCU size, which is required when `InstancePayMode` is `SERVERLESS`. Ccu *float64 `json:"Ccu,omitempty" name:"Ccu"` // Storage size, which is required when `StoragePayMode` is `PREPAID`. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Validity period, which is required when `InstancePayMode` is `PREPAID`. TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Duration unit, which is required when `InstancePayMode` is `PREPAID`. Valid values: `m` (month), `d` (day). TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` }
func NewInquirePriceCreateRequest ¶
func NewInquirePriceCreateRequest() (request *InquirePriceCreateRequest)
func (*InquirePriceCreateRequest) FromJsonString ¶
func (r *InquirePriceCreateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateRequest) ToJsonString ¶
func (r *InquirePriceCreateRequest) ToJsonString() string
type InquirePriceCreateRequestParams ¶
type InquirePriceCreateRequestParams struct { // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Number of compute node to purchase GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Instance type for purchase. Valid values: `PREPAID`, `POSTPAID`, `SERVERLESS`. InstancePayMode *string `json:"InstancePayMode,omitempty" name:"InstancePayMode"` // Storage type for purchase. Valid values: `PREPAID`, `POSTPAID`. StoragePayMode *string `json:"StoragePayMode,omitempty" name:"StoragePayMode"` // Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // CCU size, which is required when `InstancePayMode` is `SERVERLESS`. Ccu *float64 `json:"Ccu,omitempty" name:"Ccu"` // Storage size, which is required when `StoragePayMode` is `PREPAID`. StorageLimit *int64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Validity period, which is required when `InstancePayMode` is `PREPAID`. TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Duration unit, which is required when `InstancePayMode` is `PREPAID`. Valid values: `m` (month), `d` (day). TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` }
Predefined struct for user
type InquirePriceCreateResponse ¶
type InquirePriceCreateResponse struct { *tchttp.BaseResponse Response *InquirePriceCreateResponseParams `json:"Response"` }
func NewInquirePriceCreateResponse ¶
func NewInquirePriceCreateResponse() (response *InquirePriceCreateResponse)
func (*InquirePriceCreateResponse) FromJsonString ¶
func (r *InquirePriceCreateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateResponse) ToJsonString ¶
func (r *InquirePriceCreateResponse) ToJsonString() string
type InquirePriceCreateResponseParams ¶
type InquirePriceCreateResponseParams struct { // Instance price InstancePrice *TradePrice `json:"InstancePrice,omitempty" name:"InstancePrice"` // Storage price StoragePrice *TradePrice `json:"StoragePrice,omitempty" name:"StoragePrice"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceRenewRequest ¶
type InquirePriceRenewRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Validity period, which needs to be used together with `TimeUnit`. TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Unit of validity period, which needs to be used together with `TimeSpan`. Valid values: `d` (day), `m` (month). TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` }
func NewInquirePriceRenewRequest ¶
func NewInquirePriceRenewRequest() (request *InquirePriceRenewRequest)
func (*InquirePriceRenewRequest) FromJsonString ¶
func (r *InquirePriceRenewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewRequest) ToJsonString ¶
func (r *InquirePriceRenewRequest) ToJsonString() string
type InquirePriceRenewRequestParams ¶
type InquirePriceRenewRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Validity period, which needs to be used together with `TimeUnit`. TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // Unit of validity period, which needs to be used together with `TimeSpan`. Valid values: `d` (day), `m` (month). TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` }
Predefined struct for user
type InquirePriceRenewResponse ¶
type InquirePriceRenewResponse struct { *tchttp.BaseResponse Response *InquirePriceRenewResponseParams `json:"Response"` }
func NewInquirePriceRenewResponse ¶
func NewInquirePriceRenewResponse() (response *InquirePriceRenewResponse)
func (*InquirePriceRenewResponse) FromJsonString ¶
func (r *InquirePriceRenewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewResponse) ToJsonString ¶
func (r *InquirePriceRenewResponse) ToJsonString() string
type InquirePriceRenewResponseParams ¶
type InquirePriceRenewResponseParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Instance ID list InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Price of instance specification in array Prices []*TradePrice `json:"Prices,omitempty" name:"Prices"` // Total renewal price of compute node InstanceRealTotalPrice *int64 `json:"InstanceRealTotalPrice,omitempty" name:"InstanceRealTotalPrice"` // Total renewal price of storage node StorageRealTotalPrice *int64 `json:"StorageRealTotalPrice,omitempty" name:"StorageRealTotalPrice"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type InstanceAuditRule ¶
type InstanceAuditRule struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether the audit is rule audit. Valid values: `true` (rule audit), `false` (full audit). // Note: This field may return null, indicating that no valid values can be obtained. AuditRule *bool `json:"AuditRule,omitempty" name:"AuditRule"` // Audit rule details, which is valid only when `AuditRule` is `true`. // Note: This field may return null, indicating that no valid values can be obtained. AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitempty" name:"AuditRuleFilters"` }
type InstanceInitInfo ¶
type InstanceInitInfo struct { // Instance CPU Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Instance memory Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance type. Valid values:`rw`, `ro`. InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // Number of the instances. Value range: 1-15. InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"` }
type InstanceSpec ¶
type InstanceSpec struct { // Number of instance CPU cores Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` // Instance memory in GB Memory *uint64 `json:"Memory,omitempty" name:"Memory"` // Maximum instance storage capacity GB MaxStorageSize *uint64 `json:"MaxStorageSize,omitempty" name:"MaxStorageSize"` // Minimum instance storage capacity GB MinStorageSize *uint64 `json:"MinStorageSize,omitempty" name:"MinStorageSize"` // Whether there is an inventory. HasStock *bool `json:"HasStock,omitempty" name:"HasStock"` // Machine type MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // Maximum IOPS MaxIops *int64 `json:"MaxIops,omitempty" name:"MaxIops"` // Maximum bandwidth MaxIoBandWidth *int64 `json:"MaxIoBandWidth,omitempty" name:"MaxIoBandWidth"` // Inventory information in a region // Note: This field may return null, indicating that no valid values can be obtained. ZoneStockInfos []*ZoneStockInfo `json:"ZoneStockInfos,omitempty" name:"ZoneStockInfos"` // Quantity in stock // Note: This field may return null, indicating that no valid values can be obtained. StockCount *int64 `json:"StockCount,omitempty" name:"StockCount"` }
type IsolateClusterRequest ¶
type IsolateClusterRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` }
func NewIsolateClusterRequest ¶
func NewIsolateClusterRequest() (request *IsolateClusterRequest)
func (*IsolateClusterRequest) FromJsonString ¶
func (r *IsolateClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateClusterRequest) ToJsonString ¶
func (r *IsolateClusterRequest) ToJsonString() string
type IsolateClusterRequestParams ¶
type IsolateClusterRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` }
Predefined struct for user
type IsolateClusterResponse ¶
type IsolateClusterResponse struct { *tchttp.BaseResponse Response *IsolateClusterResponseParams `json:"Response"` }
func NewIsolateClusterResponse ¶
func NewIsolateClusterResponse() (response *IsolateClusterResponse)
func (*IsolateClusterResponse) FromJsonString ¶
func (r *IsolateClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateClusterResponse) ToJsonString ¶
func (r *IsolateClusterResponse) ToJsonString() string
type IsolateClusterResponseParams ¶
type IsolateClusterResponseParams struct { // Task flow ID // Note: this field may return null, indicating that no valid values can be obtained. FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // Refund order ID // Note: this field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateInstanceRequest ¶
type IsolateInstanceRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Instance ID array InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` }
func NewIsolateInstanceRequest ¶
func NewIsolateInstanceRequest() (request *IsolateInstanceRequest)
func (*IsolateInstanceRequest) FromJsonString ¶
func (r *IsolateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateInstanceRequest) ToJsonString ¶
func (r *IsolateInstanceRequest) ToJsonString() string
type IsolateInstanceRequestParams ¶
type IsolateInstanceRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Instance ID array InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` }
Predefined struct for user
type IsolateInstanceResponse ¶
type IsolateInstanceResponse struct { *tchttp.BaseResponse Response *IsolateInstanceResponseParams `json:"Response"` }
func NewIsolateInstanceResponse ¶
func NewIsolateInstanceResponse() (response *IsolateInstanceResponse)
func (*IsolateInstanceResponse) FromJsonString ¶
func (r *IsolateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateInstanceResponse) ToJsonString ¶
func (r *IsolateInstanceResponse) ToJsonString() string
type IsolateInstanceResponseParams ¶
type IsolateInstanceResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // Order ID for isolated instance (prepaid instance) // Note: this field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifiableInfo ¶
type ModifiableInfo struct { }
type ModifyAuditRuleTemplatesRequest ¶
type ModifyAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // Audit rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` // Audit rule after modification RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` // New name of the rule template RuleTemplateName *string `json:"RuleTemplateName,omitempty" name:"RuleTemplateName"` // New description of the rule template Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyAuditRuleTemplatesRequest ¶
func NewModifyAuditRuleTemplatesRequest() (request *ModifyAuditRuleTemplatesRequest)
func (*ModifyAuditRuleTemplatesRequest) FromJsonString ¶
func (r *ModifyAuditRuleTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAuditRuleTemplatesRequest) ToJsonString ¶
func (r *ModifyAuditRuleTemplatesRequest) ToJsonString() string
type ModifyAuditRuleTemplatesRequestParams ¶
type ModifyAuditRuleTemplatesRequestParams struct { // Audit rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` // Audit rule after modification RuleFilters []*RuleFilters `json:"RuleFilters,omitempty" name:"RuleFilters"` // New name of the rule template RuleTemplateName *string `json:"RuleTemplateName,omitempty" name:"RuleTemplateName"` // New description of the rule template Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type ModifyAuditRuleTemplatesResponse ¶
type ModifyAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *ModifyAuditRuleTemplatesResponseParams `json:"Response"` }
func NewModifyAuditRuleTemplatesResponse ¶
func NewModifyAuditRuleTemplatesResponse() (response *ModifyAuditRuleTemplatesResponse)
func (*ModifyAuditRuleTemplatesResponse) FromJsonString ¶
func (r *ModifyAuditRuleTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAuditRuleTemplatesResponse) ToJsonString ¶
func (r *ModifyAuditRuleTemplatesResponse) ToJsonString() string
type ModifyAuditRuleTemplatesResponseParams ¶
type ModifyAuditRuleTemplatesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAuditServiceRequest ¶
type ModifyAuditServiceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log retention period LogExpireDay *uint64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` // Frequent log retention period HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitempty" name:"HighLogExpireDay"` // The parameter used to change the audit rule of the instance to full audit AuditAll *bool `json:"AuditAll,omitempty" name:"AuditAll"` // Rule audit AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitempty" name:"AuditRuleFilters"` // Rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
func NewModifyAuditServiceRequest ¶
func NewModifyAuditServiceRequest() (request *ModifyAuditServiceRequest)
func (*ModifyAuditServiceRequest) FromJsonString ¶
func (r *ModifyAuditServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAuditServiceRequest) ToJsonString ¶
func (r *ModifyAuditServiceRequest) ToJsonString() string
type ModifyAuditServiceRequestParams ¶
type ModifyAuditServiceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log retention period LogExpireDay *uint64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` // Frequent log retention period HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitempty" name:"HighLogExpireDay"` // The parameter used to change the audit rule of the instance to full audit AuditAll *bool `json:"AuditAll,omitempty" name:"AuditAll"` // Rule audit AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitempty" name:"AuditRuleFilters"` // Rule template ID RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
Predefined struct for user
type ModifyAuditServiceResponse ¶
type ModifyAuditServiceResponse struct { *tchttp.BaseResponse Response *ModifyAuditServiceResponseParams `json:"Response"` }
func NewModifyAuditServiceResponse ¶
func NewModifyAuditServiceResponse() (response *ModifyAuditServiceResponse)
func (*ModifyAuditServiceResponse) FromJsonString ¶
func (r *ModifyAuditServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAuditServiceResponse) ToJsonString ¶
func (r *ModifyAuditServiceResponse) ToJsonString() string
type ModifyAuditServiceResponseParams ¶
type ModifyAuditServiceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupConfigRequest ¶
type ModifyBackupConfigRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitempty" name:"BackupTimeBeg"` // Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively. BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitempty" name:"BackupTimeEnd"` // Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800. Maximum value: 158112000. ReserveDuration *uint64 `json:"ReserveDuration,omitempty" name:"ReserveDuration"` // Backup frequency. It is an array of 7 elements corresponding to Monday through Sunday. full: full backup; increment: incremental backup. This parameter cannot be modified currently and doesn't need to be entered. BackupFreq []*string `json:"BackupFreq,omitempty" name:"BackupFreq"` // Backup mode. logic: logic backup; snapshot: snapshot backup. This parameter cannot be modified currently and doesn't need to be entered. BackupType *string `json:"BackupType,omitempty" name:"BackupType"` }
func NewModifyBackupConfigRequest ¶
func NewModifyBackupConfigRequest() (request *ModifyBackupConfigRequest)
func (*ModifyBackupConfigRequest) FromJsonString ¶
func (r *ModifyBackupConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupConfigRequest) ToJsonString ¶
func (r *ModifyBackupConfigRequest) ToJsonString() string
type ModifyBackupConfigRequestParams ¶
type ModifyBackupConfigRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitempty" name:"BackupTimeBeg"` // Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively. BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitempty" name:"BackupTimeEnd"` // Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800. Maximum value: 158112000. ReserveDuration *uint64 `json:"ReserveDuration,omitempty" name:"ReserveDuration"` // Backup frequency. It is an array of 7 elements corresponding to Monday through Sunday. full: full backup; increment: incremental backup. This parameter cannot be modified currently and doesn't need to be entered. BackupFreq []*string `json:"BackupFreq,omitempty" name:"BackupFreq"` // Backup mode. logic: logic backup; snapshot: snapshot backup. This parameter cannot be modified currently and doesn't need to be entered. BackupType *string `json:"BackupType,omitempty" name:"BackupType"` }
Predefined struct for user
type ModifyBackupConfigResponse ¶
type ModifyBackupConfigResponse struct { *tchttp.BaseResponse Response *ModifyBackupConfigResponseParams `json:"Response"` }
func NewModifyBackupConfigResponse ¶
func NewModifyBackupConfigResponse() (response *ModifyBackupConfigResponse)
func (*ModifyBackupConfigResponse) FromJsonString ¶
func (r *ModifyBackupConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupConfigResponse) ToJsonString ¶
func (r *ModifyBackupConfigResponse) ToJsonString() string
type ModifyBackupConfigResponseParams ¶
type ModifyBackupConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupNameRequest ¶
type ModifyBackupNameRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup file ID BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` // Backup name, which can contain up to 60 characters. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
func NewModifyBackupNameRequest ¶
func NewModifyBackupNameRequest() (request *ModifyBackupNameRequest)
func (*ModifyBackupNameRequest) FromJsonString ¶
func (r *ModifyBackupNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupNameRequest) ToJsonString ¶
func (r *ModifyBackupNameRequest) ToJsonString() string
type ModifyBackupNameRequestParams ¶
type ModifyBackupNameRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Backup file ID BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` // Backup name, which can contain up to 60 characters. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
Predefined struct for user
type ModifyBackupNameResponse ¶
type ModifyBackupNameResponse struct { *tchttp.BaseResponse Response *ModifyBackupNameResponseParams `json:"Response"` }
func NewModifyBackupNameResponse ¶
func NewModifyBackupNameResponse() (response *ModifyBackupNameResponse)
func (*ModifyBackupNameResponse) FromJsonString ¶
func (r *ModifyBackupNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupNameResponse) ToJsonString ¶
func (r *ModifyBackupNameResponse) ToJsonString() string
type ModifyBackupNameResponseParams ¶
type ModifyBackupNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterNameRequest ¶
type ModifyClusterNameRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` }
func NewModifyClusterNameRequest ¶
func NewModifyClusterNameRequest() (request *ModifyClusterNameRequest)
func (*ModifyClusterNameRequest) FromJsonString ¶
func (r *ModifyClusterNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterNameRequest) ToJsonString ¶
func (r *ModifyClusterNameRequest) ToJsonString() string
type ModifyClusterNameRequestParams ¶
type ModifyClusterNameRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` }
Predefined struct for user
type ModifyClusterNameResponse ¶
type ModifyClusterNameResponse struct { *tchttp.BaseResponse Response *ModifyClusterNameResponseParams `json:"Response"` }
func NewModifyClusterNameResponse ¶
func NewModifyClusterNameResponse() (response *ModifyClusterNameResponse)
func (*ModifyClusterNameResponse) FromJsonString ¶
func (r *ModifyClusterNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterNameResponse) ToJsonString ¶
func (r *ModifyClusterNameResponse) ToJsonString() string
type ModifyClusterNameResponseParams ¶
type ModifyClusterNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterParamRequest ¶
type ModifyClusterParamRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of the parameters to be modified. Each element in the list is a combination of `ParamName`, `CurrentValue`, and `OldValue`. `ParamName` is the parameter name; `CurrentValue` is the current value; `OldValue` is the old value that doesn’t need to be verified. ParamList []*ParamItem `json:"ParamList,omitempty" name:"ParamList"` // Valid values: `yes` (execute during maintenance time), `no` (execute now) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitempty" name:"IsInMaintainPeriod"` }
func NewModifyClusterParamRequest ¶
func NewModifyClusterParamRequest() (request *ModifyClusterParamRequest)
func (*ModifyClusterParamRequest) FromJsonString ¶
func (r *ModifyClusterParamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterParamRequest) ToJsonString ¶
func (r *ModifyClusterParamRequest) ToJsonString() string
type ModifyClusterParamRequestParams ¶
type ModifyClusterParamRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of the parameters to be modified. Each element in the list is a combination of `ParamName`, `CurrentValue`, and `OldValue`. `ParamName` is the parameter name; `CurrentValue` is the current value; `OldValue` is the old value that doesn’t need to be verified. ParamList []*ParamItem `json:"ParamList,omitempty" name:"ParamList"` // Valid values: `yes` (execute during maintenance time), `no` (execute now) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type ModifyClusterParamResponse ¶
type ModifyClusterParamResponse struct { *tchttp.BaseResponse Response *ModifyClusterParamResponseParams `json:"Response"` }
func NewModifyClusterParamResponse ¶
func NewModifyClusterParamResponse() (response *ModifyClusterParamResponse)
func (*ModifyClusterParamResponse) FromJsonString ¶
func (r *ModifyClusterParamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterParamResponse) ToJsonString ¶
func (r *ModifyClusterParamResponse) ToJsonString() string
type ModifyClusterParamResponseParams ¶
type ModifyClusterParamResponseParams struct { // Async request ID used to query the result AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterSlaveZoneRequest ¶
type ModifyClusterSlaveZoneRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Old replica AZ OldSlaveZone *string `json:"OldSlaveZone,omitempty" name:"OldSlaveZone"` // New replica AZ NewSlaveZone *string `json:"NewSlaveZone,omitempty" name:"NewSlaveZone"` }
func NewModifyClusterSlaveZoneRequest ¶
func NewModifyClusterSlaveZoneRequest() (request *ModifyClusterSlaveZoneRequest)
func (*ModifyClusterSlaveZoneRequest) FromJsonString ¶
func (r *ModifyClusterSlaveZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterSlaveZoneRequest) ToJsonString ¶
func (r *ModifyClusterSlaveZoneRequest) ToJsonString() string
type ModifyClusterSlaveZoneRequestParams ¶
type ModifyClusterSlaveZoneRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Old replica AZ OldSlaveZone *string `json:"OldSlaveZone,omitempty" name:"OldSlaveZone"` // New replica AZ NewSlaveZone *string `json:"NewSlaveZone,omitempty" name:"NewSlaveZone"` }
Predefined struct for user
type ModifyClusterSlaveZoneResponse ¶
type ModifyClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *ModifyClusterSlaveZoneResponseParams `json:"Response"` }
func NewModifyClusterSlaveZoneResponse ¶
func NewModifyClusterSlaveZoneResponse() (response *ModifyClusterSlaveZoneResponse)
func (*ModifyClusterSlaveZoneResponse) FromJsonString ¶
func (r *ModifyClusterSlaveZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterSlaveZoneResponse) ToJsonString ¶
func (r *ModifyClusterSlaveZoneResponse) ToJsonString() string
type ModifyClusterSlaveZoneResponseParams ¶
type ModifyClusterSlaveZoneResponseParams struct { // Async FlowId FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsRequest ¶
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // Instance group ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of IDs of security groups to be modified, which is an array of one or more security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewModifyDBInstanceSecurityGroupsRequest ¶
func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)
func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) ToJsonString() string
type ModifyDBInstanceSecurityGroupsRequestParams ¶
type ModifyDBInstanceSecurityGroupsRequestParams struct { // Instance group ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of IDs of security groups to be modified, which is an array of one or more security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsResponse ¶
type ModifyDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"` }
func NewModifyDBInstanceSecurityGroupsResponse ¶
func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)
func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) ToJsonString() string
type ModifyDBInstanceSecurityGroupsResponseParams ¶
type ModifyDBInstanceSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceNameRequest ¶
type ModifyInstanceNameRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewModifyInstanceNameRequest ¶
func NewModifyInstanceNameRequest() (request *ModifyInstanceNameRequest)
func (*ModifyInstanceNameRequest) FromJsonString ¶
func (r *ModifyInstanceNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceNameRequest) ToJsonString ¶
func (r *ModifyInstanceNameRequest) ToJsonString() string
type ModifyInstanceNameRequestParams ¶
type ModifyInstanceNameRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyInstanceNameResponse ¶
type ModifyInstanceNameResponse struct { *tchttp.BaseResponse Response *ModifyInstanceNameResponseParams `json:"Response"` }
func NewModifyInstanceNameResponse ¶
func NewModifyInstanceNameResponse() (response *ModifyInstanceNameResponse)
func (*ModifyInstanceNameResponse) FromJsonString ¶
func (r *ModifyInstanceNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceNameResponse) ToJsonString ¶
func (r *ModifyInstanceNameResponse) ToJsonString() string
type ModifyInstanceNameResponseParams ¶
type ModifyInstanceNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMaintainPeriodConfigRequest ¶
type ModifyMaintainPeriodConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maintenance start time in seconds. For example, 03:00 AM is represented by 10800 MaintainStartTime *int64 `json:"MaintainStartTime,omitempty" name:"MaintainStartTime"` // Maintenance duration in seconds. For example, one hour is represented by 3600 MaintainDuration *int64 `json:"MaintainDuration,omitempty" name:"MaintainDuration"` // Maintenance days of the week. Valid values: [Mon, Tue, Wed, Thu, Fri, Sat, Sun]. MaintainWeekDays []*string `json:"MaintainWeekDays,omitempty" name:"MaintainWeekDays"` }
func NewModifyMaintainPeriodConfigRequest ¶
func NewModifyMaintainPeriodConfigRequest() (request *ModifyMaintainPeriodConfigRequest)
func (*ModifyMaintainPeriodConfigRequest) FromJsonString ¶
func (r *ModifyMaintainPeriodConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMaintainPeriodConfigRequest) ToJsonString ¶
func (r *ModifyMaintainPeriodConfigRequest) ToJsonString() string
type ModifyMaintainPeriodConfigRequestParams ¶
type ModifyMaintainPeriodConfigRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maintenance start time in seconds. For example, 03:00 AM is represented by 10800 MaintainStartTime *int64 `json:"MaintainStartTime,omitempty" name:"MaintainStartTime"` // Maintenance duration in seconds. For example, one hour is represented by 3600 MaintainDuration *int64 `json:"MaintainDuration,omitempty" name:"MaintainDuration"` // Maintenance days of the week. Valid values: [Mon, Tue, Wed, Thu, Fri, Sat, Sun]. MaintainWeekDays []*string `json:"MaintainWeekDays,omitempty" name:"MaintainWeekDays"` }
Predefined struct for user
type ModifyMaintainPeriodConfigResponse ¶
type ModifyMaintainPeriodConfigResponse struct { *tchttp.BaseResponse Response *ModifyMaintainPeriodConfigResponseParams `json:"Response"` }
func NewModifyMaintainPeriodConfigResponse ¶
func NewModifyMaintainPeriodConfigResponse() (response *ModifyMaintainPeriodConfigResponse)
func (*ModifyMaintainPeriodConfigResponse) FromJsonString ¶
func (r *ModifyMaintainPeriodConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMaintainPeriodConfigResponse) ToJsonString ¶
func (r *ModifyMaintainPeriodConfigResponse) ToJsonString() string
type ModifyMaintainPeriodConfigResponseParams ¶
type ModifyMaintainPeriodConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyParamItem ¶
type ModifyParamItem struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Current parameter value CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Old parameter value, which is used only in output parameters. // Note: This field may return null, indicating that no valid values can be obtained. OldValue *string `json:"OldValue,omitempty" name:"OldValue"` }
type NetAddr ¶
type NetAddr struct { // Private network IP // Note: this field may return `null`, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // Private network port number // Note: this field may return `null`, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Public network domain name // Note: this field may return `null`, indicating that no valid values can be obtained. WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // Public network port number // Note: this field may return `null`, indicating that no valid values can be obtained. WanPort *int64 `json:"WanPort,omitempty" name:"WanPort"` // Network type. Valid values: `ro` (read-only), `rw` or `ha` (read-write) // Note: this field may return `null`, indicating that no valid values can be obtained. NetType *string `json:"NetType,omitempty" name:"NetType"` // Subnet ID // Note: This field may return null, indicating that no valid values can be obtained. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // VPC ID // Note: This field may return null, indicating that no valid values can be obtained. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Description // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Public IP // Note: This field may return null, indicating that no valid values can be obtained. WanIP *string `json:"WanIP,omitempty" name:"WanIP"` // Public network status // Note: This field may return null, indicating that no valid values can be obtained. WanStatus *string `json:"WanStatus,omitempty" name:"WanStatus"` }
type NewAccount ¶
type NewAccount struct { // Account name, which can contain 1-16 letters, digits, and underscores. It must begin with a letter and end with a letter or digit. AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // Password, which can contain 8-64 characters. AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // Host Host *string `json:"Host,omitempty" name:"Host"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Maximum number of user connections, which cannot be above 10,240. MaxUserConnections *int64 `json:"MaxUserConnections,omitempty" name:"MaxUserConnections"` }
type ObjectTask ¶
type ObjectTask struct { // Auto-Incrementing task ID // Note: this field may return null, indicating that no valid values can be obtained. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // Task type // Note: this field may return null, indicating that no valid values can be obtained. TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Task status // Note: this field may return null, indicating that no valid values can be obtained. TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"` // Task ID (cluster ID | instance group ID | instance ID) // Note: this field may return null, indicating that no valid values can be obtained. ObjectId *string `json:"ObjectId,omitempty" name:"ObjectId"` // Task type // Note: this field may return null, indicating that no valid values can be obtained. ObjectType *string `json:"ObjectType,omitempty" name:"ObjectType"` }
type OfflineClusterRequest ¶
type OfflineClusterRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewOfflineClusterRequest ¶
func NewOfflineClusterRequest() (request *OfflineClusterRequest)
func (*OfflineClusterRequest) FromJsonString ¶
func (r *OfflineClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OfflineClusterRequest) ToJsonString ¶
func (r *OfflineClusterRequest) ToJsonString() string
type OfflineClusterRequestParams ¶
type OfflineClusterRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type OfflineClusterResponse ¶
type OfflineClusterResponse struct { *tchttp.BaseResponse Response *OfflineClusterResponseParams `json:"Response"` }
func NewOfflineClusterResponse ¶
func NewOfflineClusterResponse() (response *OfflineClusterResponse)
func (*OfflineClusterResponse) FromJsonString ¶
func (r *OfflineClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OfflineClusterResponse) ToJsonString ¶
func (r *OfflineClusterResponse) ToJsonString() string
type OfflineClusterResponseParams ¶
type OfflineClusterResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OfflineInstanceRequest ¶
type OfflineInstanceRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Instance ID array InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` }
func NewOfflineInstanceRequest ¶
func NewOfflineInstanceRequest() (request *OfflineInstanceRequest)
func (*OfflineInstanceRequest) FromJsonString ¶
func (r *OfflineInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OfflineInstanceRequest) ToJsonString ¶
func (r *OfflineInstanceRequest) ToJsonString() string
type OfflineInstanceRequestParams ¶
type OfflineInstanceRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Instance ID array InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` }
Predefined struct for user
type OfflineInstanceResponse ¶
type OfflineInstanceResponse struct { *tchttp.BaseResponse Response *OfflineInstanceResponseParams `json:"Response"` }
func NewOfflineInstanceResponse ¶
func NewOfflineInstanceResponse() (response *OfflineInstanceResponse)
func (*OfflineInstanceResponse) FromJsonString ¶
func (r *OfflineInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OfflineInstanceResponse) ToJsonString ¶
func (r *OfflineInstanceResponse) ToJsonString() string
type OfflineInstanceResponseParams ¶
type OfflineInstanceResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OldAddrInfo ¶
type OldAddrInfo struct { // IP // Note: This field may return null, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // Port // Note: This field may return null, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Expected valid hours of old IPs // Note: This field may return null, indicating that no valid values can be obtained. ReturnTime *string `json:"ReturnTime,omitempty" name:"ReturnTime"` }
type OpenAuditServiceRequest ¶
type OpenAuditServiceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log retention period LogExpireDay *uint64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` // Frequent log retention period HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitempty" name:"HighLogExpireDay"` // Audit rule. If both this parameter and `RuleTemplateIds` are left empty, full audit will be applied. AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitempty" name:"AuditRuleFilters"` // Rule template ID. If both this parameter and `AuditRuleFilters` are left empty, full audit will be applied. RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
func NewOpenAuditServiceRequest ¶
func NewOpenAuditServiceRequest() (request *OpenAuditServiceRequest)
func (*OpenAuditServiceRequest) FromJsonString ¶
func (r *OpenAuditServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenAuditServiceRequest) ToJsonString ¶
func (r *OpenAuditServiceRequest) ToJsonString() string
type OpenAuditServiceRequestParams ¶
type OpenAuditServiceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log retention period LogExpireDay *uint64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` // Frequent log retention period HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitempty" name:"HighLogExpireDay"` // Audit rule. If both this parameter and `RuleTemplateIds` are left empty, full audit will be applied. AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitempty" name:"AuditRuleFilters"` // Rule template ID. If both this parameter and `AuditRuleFilters` are left empty, full audit will be applied. RuleTemplateIds []*string `json:"RuleTemplateIds,omitempty" name:"RuleTemplateIds"` }
Predefined struct for user
type OpenAuditServiceResponse ¶
type OpenAuditServiceResponse struct { *tchttp.BaseResponse Response *OpenAuditServiceResponseParams `json:"Response"` }
func NewOpenAuditServiceResponse ¶
func NewOpenAuditServiceResponse() (response *OpenAuditServiceResponse)
func (*OpenAuditServiceResponse) FromJsonString ¶
func (r *OpenAuditServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenAuditServiceResponse) ToJsonString ¶
func (r *OpenAuditServiceResponse) ToJsonString() string
type OpenAuditServiceResponseParams ¶
type OpenAuditServiceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ParamInfo ¶
type ParamInfo struct { // Current value CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Default value Default *string `json:"Default,omitempty" name:"Default"` // List of valid values when parameter type is `enum`, `string` or `bool`. // Note: This field may return null, indicating that no valid values can be obtained. EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Maximum value when parameter type is `float` or `integer`. Max *string `json:"Max,omitempty" name:"Max"` // Minimum value when parameter type is `float` or `integer`. Min *string `json:"Min,omitempty" name:"Min"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Whether to restart the instance for the modified parameters to take effect. NeedReboot *int64 `json:"NeedReboot,omitempty" name:"NeedReboot"` // Parameter type: `integer`, `float`, `string`, `enum`, `bool`. ParamType *string `json:"ParamType,omitempty" name:"ParamType"` // Match type. Regex can be used when parameter type is `string`. Valid value: `multiVal`. MatchType *string `json:"MatchType,omitempty" name:"MatchType"` // Match values, which will be separated by semicolon when match type is `multiVal`. MatchValue *string `json:"MatchValue,omitempty" name:"MatchValue"` // Parameter description Description *string `json:"Description,omitempty" name:"Description"` // Whether it is global parameter // Note: This field may return null, indicating that no valid values can be obtained. IsGlobal *int64 `json:"IsGlobal,omitempty" name:"IsGlobal"` // Whether the parameter can be modified // Note: This field may return null, indicating that no valid values can be obtained. ModifiableInfo *ModifiableInfo `json:"ModifiableInfo,omitempty" name:"ModifiableInfo"` // Whether it is a function // Note: This field may return null, indicating that no valid values can be obtained. IsFunc *bool `json:"IsFunc,omitempty" name:"IsFunc"` // Function // Note: This field may return null, indicating that no valid values can be obtained. Func *string `json:"Func,omitempty" name:"Func"` }
type ParamTemplateListInfo ¶
type ParamTemplateListInfo struct { // Parameter template ID Id *int64 `json:"Id,omitempty" name:"Id"` // Parameter template name TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Parameter template description TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"` // Engine version EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Database Type. Valid values: `NORMAL`, `SERVERLESS`. DbMode *string `json:"DbMode,omitempty" name:"DbMode"` // Parameter template details // Note: This field may return null, indicating that no valid values can be obtained. ParamInfoSet []*TemplateParamInfo `json:"ParamInfoSet,omitempty" name:"ParamInfoSet"` }
type PauseServerlessRequest ¶
type PauseServerlessRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Whether to pause forcibly and ignore the current user connections. Valid values: `0` (no), `1` (yes). Default value: `1` ForcePause *int64 `json:"ForcePause,omitempty" name:"ForcePause"` }
func NewPauseServerlessRequest ¶
func NewPauseServerlessRequest() (request *PauseServerlessRequest)
func (*PauseServerlessRequest) FromJsonString ¶
func (r *PauseServerlessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseServerlessRequest) ToJsonString ¶
func (r *PauseServerlessRequest) ToJsonString() string
type PauseServerlessRequestParams ¶
type PauseServerlessRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Whether to pause forcibly and ignore the current user connections. Valid values: `0` (no), `1` (yes). Default value: `1` ForcePause *int64 `json:"ForcePause,omitempty" name:"ForcePause"` }
Predefined struct for user
type PauseServerlessResponse ¶
type PauseServerlessResponse struct { *tchttp.BaseResponse Response *PauseServerlessResponseParams `json:"Response"` }
func NewPauseServerlessResponse ¶
func NewPauseServerlessResponse() (response *PauseServerlessResponse)
func (*PauseServerlessResponse) FromJsonString ¶
func (r *PauseServerlessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseServerlessResponse) ToJsonString ¶
func (r *PauseServerlessResponse) ToJsonString() string
type PauseServerlessResponseParams ¶
type PauseServerlessResponseParams struct { // Async task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PolicyRule ¶
type PolicyRule struct { // Policy, which can be `ACCEPT` or `DROP` Action *string `json:"Action,omitempty" name:"Action"` // Source IP or IP range, such as 192.168.0.0/16 CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // Port PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // Network protocol, such as UDP and TCP IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // Protocol port ID or protocol port group ID. ServiceModule *string `json:"ServiceModule,omitempty" name:"ServiceModule"` // IP address ID or IP address group ID. AddressModule *string `json:"AddressModule,omitempty" name:"AddressModule"` // id Id *string `json:"Id,omitempty" name:"Id"` // Description Desc *string `json:"Desc,omitempty" name:"Desc"` }
type QueryFilter ¶
type QueryFilter struct { // Search field. Valid values: "InstanceId", "ProjectId", "InstanceName", "Vip" Names []*string `json:"Names,omitempty" name:"Names"` // Search string Values []*string `json:"Values,omitempty" name:"Values"` // Whether to use exact match ExactMatch *bool `json:"ExactMatch,omitempty" name:"ExactMatch"` // Search field Name *string `json:"Name,omitempty" name:"Name"` // Operator Operator *string `json:"Operator,omitempty" name:"Operator"` }
type RemoveClusterSlaveZoneRequest ¶
type RemoveClusterSlaveZoneRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Replica AZ SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` }
func NewRemoveClusterSlaveZoneRequest ¶
func NewRemoveClusterSlaveZoneRequest() (request *RemoveClusterSlaveZoneRequest)
func (*RemoveClusterSlaveZoneRequest) FromJsonString ¶
func (r *RemoveClusterSlaveZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveClusterSlaveZoneRequest) ToJsonString ¶
func (r *RemoveClusterSlaveZoneRequest) ToJsonString() string
type RemoveClusterSlaveZoneRequestParams ¶
type RemoveClusterSlaveZoneRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Replica AZ SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` }
Predefined struct for user
type RemoveClusterSlaveZoneResponse ¶
type RemoveClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *RemoveClusterSlaveZoneResponseParams `json:"Response"` }
func NewRemoveClusterSlaveZoneResponse ¶
func NewRemoveClusterSlaveZoneResponse() (response *RemoveClusterSlaveZoneResponse)
func (*RemoveClusterSlaveZoneResponse) FromJsonString ¶
func (r *RemoveClusterSlaveZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveClusterSlaveZoneResponse) ToJsonString ¶
func (r *RemoveClusterSlaveZoneResponse) ToJsonString() string
type RemoveClusterSlaveZoneResponseParams ¶
type RemoveClusterSlaveZoneResponseParams struct { // Async FlowId FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // Database account name AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // New password of the database account AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Host. Default value: `%` Host *string `json:"Host,omitempty" name:"Host"` }
func NewResetAccountPasswordRequest ¶
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶
func (r *ResetAccountPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordRequest) ToJsonString ¶
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordRequestParams ¶
type ResetAccountPasswordRequestParams struct { // Database account name AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // New password of the database account AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Host. Default value: `%` Host *string `json:"Host,omitempty" name:"Host"` }
Predefined struct for user
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *ResetAccountPasswordResponseParams `json:"Response"` }
func NewResetAccountPasswordResponse ¶
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶
func (r *ResetAccountPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordResponse) ToJsonString ¶
func (r *ResetAccountPasswordResponse) ToJsonString() string
type ResetAccountPasswordResponseParams ¶
type ResetAccountPasswordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeServerlessRequest ¶
type ResumeServerlessRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewResumeServerlessRequest ¶
func NewResumeServerlessRequest() (request *ResumeServerlessRequest)
func (*ResumeServerlessRequest) FromJsonString ¶
func (r *ResumeServerlessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeServerlessRequest) ToJsonString ¶
func (r *ResumeServerlessRequest) ToJsonString() string
type ResumeServerlessRequestParams ¶
type ResumeServerlessRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type ResumeServerlessResponse ¶
type ResumeServerlessResponse struct { *tchttp.BaseResponse Response *ResumeServerlessResponseParams `json:"Response"` }
func NewResumeServerlessResponse ¶
func NewResumeServerlessResponse() (response *ResumeServerlessResponse)
func (*ResumeServerlessResponse) FromJsonString ¶
func (r *ResumeServerlessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeServerlessResponse) ToJsonString ¶
func (r *ResumeServerlessResponse) ToJsonString() string
type ResumeServerlessResponseParams ¶
type ResumeServerlessResponseParams struct { // Async task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RollbackTimeRange ¶
type RuleFilters ¶
type RuleFilters struct { // Filter parameter name of the audit rule. Valid values: `host` (client IP), `user` (database account), `dbName` (database name), `sqlType` (SQL type), `sql` (SQL statement). Type *string `json:"Type,omitempty" name:"Type"` // Filter match type of the audit rule. Valid values: `INC` (including), `EXC` (excluding), `EQS` (equal to), `NEQ` (not equal to). Compare *string `json:"Compare,omitempty" name:"Compare"` // Filter match value of the audit rule Value []*string `json:"Value,omitempty" name:"Value"` }
type SearchClusterDatabasesRequest ¶
type SearchClusterDatabasesRequest struct { *tchttp.BaseRequest // The cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Whether to search exactly // Valid values: `0` (fuzzy search), `1` (exact search). // Default value: `0`. MatchType *int64 `json:"MatchType,omitempty" name:"MatchType"` }
func NewSearchClusterDatabasesRequest ¶
func NewSearchClusterDatabasesRequest() (request *SearchClusterDatabasesRequest)
func (*SearchClusterDatabasesRequest) FromJsonString ¶
func (r *SearchClusterDatabasesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchClusterDatabasesRequest) ToJsonString ¶
func (r *SearchClusterDatabasesRequest) ToJsonString() string
type SearchClusterDatabasesRequestParams ¶
type SearchClusterDatabasesRequestParams struct { // The cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Whether to search exactly // Valid values: `0` (fuzzy search), `1` (exact search). // Default value: `0`. MatchType *int64 `json:"MatchType,omitempty" name:"MatchType"` }
Predefined struct for user
type SearchClusterDatabasesResponse ¶
type SearchClusterDatabasesResponse struct { *tchttp.BaseResponse Response *SearchClusterDatabasesResponseParams `json:"Response"` }
func NewSearchClusterDatabasesResponse ¶
func NewSearchClusterDatabasesResponse() (response *SearchClusterDatabasesResponse)
func (*SearchClusterDatabasesResponse) FromJsonString ¶
func (r *SearchClusterDatabasesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchClusterDatabasesResponse) ToJsonString ¶
func (r *SearchClusterDatabasesResponse) ToJsonString() string
type SearchClusterDatabasesResponseParams ¶
type SearchClusterDatabasesResponseParams struct { // Database List // Note: This field may return null, indicating that no valid values can be obtained. Databases []*string `json:"Databases,omitempty" name:"Databases"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchClusterTablesRequest ¶
type SearchClusterTablesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Data table name Table *string `json:"Table,omitempty" name:"Table"` // Data table type. Valid values: // `view`: Only return to view, // `base_table`: Only return to basic table, // `all`: Return to view and table. TableType *string `json:"TableType,omitempty" name:"TableType"` }
func NewSearchClusterTablesRequest ¶
func NewSearchClusterTablesRequest() (request *SearchClusterTablesRequest)
func (*SearchClusterTablesRequest) FromJsonString ¶
func (r *SearchClusterTablesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchClusterTablesRequest) ToJsonString ¶
func (r *SearchClusterTablesRequest) ToJsonString() string
type SearchClusterTablesRequestParams ¶
type SearchClusterTablesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Data table name Table *string `json:"Table,omitempty" name:"Table"` // Data table type. Valid values: // `view`: Only return to view, // `base_table`: Only return to basic table, // `all`: Return to view and table. TableType *string `json:"TableType,omitempty" name:"TableType"` }
Predefined struct for user
type SearchClusterTablesResponse ¶
type SearchClusterTablesResponse struct { *tchttp.BaseResponse Response *SearchClusterTablesResponseParams `json:"Response"` }
func NewSearchClusterTablesResponse ¶
func NewSearchClusterTablesResponse() (response *SearchClusterTablesResponse)
func (*SearchClusterTablesResponse) FromJsonString ¶
func (r *SearchClusterTablesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchClusterTablesResponse) ToJsonString ¶
func (r *SearchClusterTablesResponse) ToJsonString() string
type SearchClusterTablesResponseParams ¶
type SearchClusterTablesResponseParams struct { // Data table list // Note: This field may return null, indicating that no valid values can be obtained. Tables []*DatabaseTables `json:"Tables,omitempty" name:"Tables"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SecurityGroup ¶
type SecurityGroup struct { // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Creation time in the format of yyyy-mm-dd hh:mm:ss CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Inbound rule Inbound []*PolicyRule `json:"Inbound,omitempty" name:"Inbound"` // Outbound rule Outbound []*PolicyRule `json:"Outbound,omitempty" name:"Outbound"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Security group name SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // Security group remarks SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"` }
type SetRenewFlagRequest ¶
type SetRenewFlagRequest struct { *tchttp.BaseRequest // ID of the instance to be manipulated ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Auto-renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` }
func NewSetRenewFlagRequest ¶
func NewSetRenewFlagRequest() (request *SetRenewFlagRequest)
func (*SetRenewFlagRequest) FromJsonString ¶
func (r *SetRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetRenewFlagRequest) ToJsonString ¶
func (r *SetRenewFlagRequest) ToJsonString() string
type SetRenewFlagRequestParams ¶
type SetRenewFlagRequestParams struct { // ID of the instance to be manipulated ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"` // Auto-renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` }
Predefined struct for user
type SetRenewFlagResponse ¶
type SetRenewFlagResponse struct { *tchttp.BaseResponse Response *SetRenewFlagResponseParams `json:"Response"` }
func NewSetRenewFlagResponse ¶
func NewSetRenewFlagResponse() (response *SetRenewFlagResponse)
func (*SetRenewFlagResponse) FromJsonString ¶
func (r *SetRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetRenewFlagResponse) ToJsonString ¶
func (r *SetRenewFlagResponse) ToJsonString() string
type SetRenewFlagResponseParams ¶
type SetRenewFlagResponseParams struct { // Number of successfully manipulated instances Count *int64 `json:"Count,omitempty" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SlowQueriesItem ¶
type SlowQueriesItem struct { // Execution timestamp Timestamp *int64 `json:"Timestamp,omitempty" name:"Timestamp"` // Execution duration in seconds QueryTime *float64 `json:"QueryTime,omitempty" name:"QueryTime"` // SQL statement SqlText *string `json:"SqlText,omitempty" name:"SqlText"` // Client host UserHost *string `json:"UserHost,omitempty" name:"UserHost"` // Username UserName *string `json:"UserName,omitempty" name:"UserName"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Lock duration in seconds LockTime *float64 `json:"LockTime,omitempty" name:"LockTime"` // Number of scanned rows RowsExamined *int64 `json:"RowsExamined,omitempty" name:"RowsExamined"` // Number of returned rows RowsSent *int64 `json:"RowsSent,omitempty" name:"RowsSent"` // SQL template SqlTemplate *string `json:"SqlTemplate,omitempty" name:"SqlTemplate"` // MD5 value of the SQL statement SqlMd5 *string `json:"SqlMd5,omitempty" name:"SqlMd5"` }
type SwitchClusterZoneRequest ¶
type SwitchClusterZoneRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The current AZ OldZone *string `json:"OldZone,omitempty" name:"OldZone"` // New AZ NewZone *string `json:"NewZone,omitempty" name:"NewZone"` // Valid values: `yes` (execute during maintenance time), `no` (execute now) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitempty" name:"IsInMaintainPeriod"` }
func NewSwitchClusterZoneRequest ¶
func NewSwitchClusterZoneRequest() (request *SwitchClusterZoneRequest)
func (*SwitchClusterZoneRequest) FromJsonString ¶
func (r *SwitchClusterZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchClusterZoneRequest) ToJsonString ¶
func (r *SwitchClusterZoneRequest) ToJsonString() string
type SwitchClusterZoneRequestParams ¶
type SwitchClusterZoneRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The current AZ OldZone *string `json:"OldZone,omitempty" name:"OldZone"` // New AZ NewZone *string `json:"NewZone,omitempty" name:"NewZone"` // Valid values: `yes` (execute during maintenance time), `no` (execute now) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type SwitchClusterZoneResponse ¶
type SwitchClusterZoneResponse struct { *tchttp.BaseResponse Response *SwitchClusterZoneResponseParams `json:"Response"` }
func NewSwitchClusterZoneResponse ¶
func NewSwitchClusterZoneResponse() (response *SwitchClusterZoneResponse)
func (*SwitchClusterZoneResponse) FromJsonString ¶
func (r *SwitchClusterZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchClusterZoneResponse) ToJsonString ¶
func (r *SwitchClusterZoneResponse) ToJsonString() string
type SwitchClusterZoneResponseParams ¶
type SwitchClusterZoneResponseParams struct { // Async FlowId FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchProxyVpcRequest ¶
type SwitchProxyVpcRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // VPC ID in string UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Subnet ID in string UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Valid hours of old IP OldIpReserveHours *int64 `json:"OldIpReserveHours,omitempty" name:"OldIpReserveHours"` // Database proxy group ID (required), which can be obtained through the `DescribeProxies` API. ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
func NewSwitchProxyVpcRequest ¶
func NewSwitchProxyVpcRequest() (request *SwitchProxyVpcRequest)
func (*SwitchProxyVpcRequest) FromJsonString ¶
func (r *SwitchProxyVpcRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchProxyVpcRequest) ToJsonString ¶
func (r *SwitchProxyVpcRequest) ToJsonString() string
type SwitchProxyVpcRequestParams ¶
type SwitchProxyVpcRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // VPC ID in string UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Subnet ID in string UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Valid hours of old IP OldIpReserveHours *int64 `json:"OldIpReserveHours,omitempty" name:"OldIpReserveHours"` // Database proxy group ID (required), which can be obtained through the `DescribeProxies` API. ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type SwitchProxyVpcResponse ¶
type SwitchProxyVpcResponse struct { *tchttp.BaseResponse Response *SwitchProxyVpcResponseParams `json:"Response"` }
func NewSwitchProxyVpcResponse ¶
func NewSwitchProxyVpcResponse() (response *SwitchProxyVpcResponse)
func (*SwitchProxyVpcResponse) FromJsonString ¶
func (r *SwitchProxyVpcResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchProxyVpcResponse) ToJsonString ¶
func (r *SwitchProxyVpcResponse) ToJsonString() string
type SwitchProxyVpcResponseParams ¶
type SwitchProxyVpcResponseParams struct { // Async task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TemplateParamInfo ¶
type TemplateParamInfo struct { // Current value CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Default value Default *string `json:"Default,omitempty" name:"Default"` // The collection of valid value types when parameter type is `enum`. // Note: This field may return null, indicating that no valid values can be obtained. EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Maximum value when parameter type is `float` or `integer`. // Note: This field may return null, indicating that no valid values can be obtained. Max *string `json:"Max,omitempty" name:"Max"` // Minimum value when parameter type is `float` or `integer`. // Note: This field may return null, indicating that no valid values can be obtained. Min *string `json:"Min,omitempty" name:"Min"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Whether to restart the instance for the parameter to take effect NeedReboot *int64 `json:"NeedReboot,omitempty" name:"NeedReboot"` // Parameter description Description *string `json:"Description,omitempty" name:"Description"` // Parameter type. Valid value: `integer`, `float`, `string`, `enum`. ParamType *string `json:"ParamType,omitempty" name:"ParamType"` }
type TradePrice ¶
type TradePrice struct { // The non-discounted total price of monthly subscribed resources (unit: US cent) // Note: This field may return null, indicating that no valid values can be obtained. TotalPrice *int64 `json:"TotalPrice,omitempty" name:"TotalPrice"` // Total discount. `100` means no discount. Discount *float64 `json:"Discount,omitempty" name:"Discount"` // The discounted total price of monthly subscribed resources (unit: US cent). If a discount is applied, `TotalPriceDiscount` will be the product of `TotalPrice` and `Discount`. // Note: This field may return null, indicating that no valid values can be obtained. TotalPriceDiscount *int64 `json:"TotalPriceDiscount,omitempty" name:"TotalPriceDiscount"` // The non-discounted unit price of pay-as-you-go resources (unit: US cent) // Note: This field may return null, indicating that no valid values can be obtained. UnitPrice *int64 `json:"UnitPrice,omitempty" name:"UnitPrice"` // The discounted unit price of pay-as-you-go resources (unit: US cent). If a discount is applied, `UnitPriceDiscount` will be the product of `UnitPrice` and `Discount`. // Note: This field may return null, indicating that no valid values can be obtained. UnitPriceDiscount *int64 `json:"UnitPriceDiscount,omitempty" name:"UnitPriceDiscount"` // Price unit ChargeUnit *string `json:"ChargeUnit,omitempty" name:"ChargeUnit"` }
type UpgradeInstanceRequest ¶
type UpgradeInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database CPU Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Database memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Upgrade type. Valid values: upgradeImmediate, upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"` // This parameter has been disused. StorageLimit *uint64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange). If the system detects that the configuration modification process will cause a momentary disconnection, the process will be terminated. UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"` }
func NewUpgradeInstanceRequest ¶
func NewUpgradeInstanceRequest() (request *UpgradeInstanceRequest)
func (*UpgradeInstanceRequest) FromJsonString ¶
func (r *UpgradeInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeInstanceRequest) ToJsonString ¶
func (r *UpgradeInstanceRequest) ToJsonString() string
type UpgradeInstanceRequestParams ¶
type UpgradeInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database CPU Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Database memory in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Upgrade type. Valid values: upgradeImmediate, upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"` // This parameter has been disused. StorageLimit *uint64 `json:"StorageLimit,omitempty" name:"StorageLimit"` // Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // This parameter has been disused. DbType *string `json:"DbType,omitempty" name:"DbType"` // Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order) DealMode *int64 `json:"DealMode,omitempty" name:"DealMode"` // Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange). If the system detects that the configuration modification process will cause a momentary disconnection, the process will be terminated. UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"` }
Predefined struct for user
type UpgradeInstanceResponse ¶
type UpgradeInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeInstanceResponseParams `json:"Response"` }
func NewUpgradeInstanceResponse ¶
func NewUpgradeInstanceResponse() (response *UpgradeInstanceResponse)
func (*UpgradeInstanceResponse) FromJsonString ¶
func (r *UpgradeInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeInstanceResponse) ToJsonString ¶
func (r *UpgradeInstanceResponse) ToJsonString() string
type UpgradeInstanceResponseParams ¶
type UpgradeInstanceResponseParams struct { // Freezing transaction ID // Note: this field may return null, indicating that no valid values can be obtained. TranId *string `json:"TranId,omitempty" name:"TranId"` // Big order ID. // Note: this field may return null, indicating that no valid values can be obtained. BigDealIds []*string `json:"BigDealIds,omitempty" name:"BigDealIds"` // Order ID DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user