Documentation ¶
Index ¶
- Constants
- type Ability
- type Account
- type AccountParam
- 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 AssociateSecurityGroupsRequest
- type AssociateSecurityGroupsRequestParams
- type AssociateSecurityGroupsResponse
- type AssociateSecurityGroupsResponseParams
- type AuditInstanceFilters
- type AuditInstanceInfo
- type AuditLog
- type AuditLogFile
- type AuditLogFilter
- type AuditRuleFilters
- type AuditRuleTemplateInfo
- type BackupFileInfo
- type BillingResourceInfo
- type BindClusterResourcePackagesRequest
- type BindClusterResourcePackagesRequestParams
- type BindClusterResourcePackagesResponse
- type BindClusterResourcePackagesResponseParams
- type BindInstanceInfo
- type BinlogItem
- type BizTaskInfo
- type BizTaskModifyInstanceParam
- type BizTaskModifyParamsData
- type CLSInfo
- 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) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) BindClusterResourcePackages(request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, err error)
- func (c *Client) BindClusterResourcePackagesWithContext(ctx context.Context, request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, 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) CloseClusterPasswordComplexity(request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)
- func (c *Client) CloseClusterPasswordComplexityWithContext(ctx context.Context, request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)
- func (c *Client) CloseProxy(request *CloseProxyRequest) (response *CloseProxyResponse, err error)
- func (c *Client) CloseProxyWithContext(ctx context.Context, request *CloseProxyRequest) (response *CloseProxyResponse, err error)
- func (c *Client) CloseWan(request *CloseWanRequest) (response *CloseWanResponse, err error)
- func (c *Client) CloseWanWithContext(ctx context.Context, request *CloseWanRequest) (response *CloseWanResponse, err error)
- func (c *Client) CopyClusterPasswordComplexity(request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, err error)
- func (c *Client) CopyClusterPasswordComplexityWithContext(ctx context.Context, request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, 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) CreateAuditLogFile(request *CreateAuditLogFileRequest) (response *CreateAuditLogFileResponse, err error)
- func (c *Client) CreateAuditLogFileWithContext(ctx context.Context, request *CreateAuditLogFileRequest) (response *CreateAuditLogFileResponse, 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) CreateCLSDelivery(request *CreateCLSDeliveryRequest) (response *CreateCLSDeliveryResponse, err error)
- func (c *Client) CreateCLSDeliveryWithContext(ctx context.Context, request *CreateCLSDeliveryRequest) (response *CreateCLSDeliveryResponse, err error)
- func (c *Client) CreateClusterDatabase(request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, err error)
- func (c *Client) CreateClusterDatabaseWithContext(ctx context.Context, request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, 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) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)
- func (c *Client) CreateProxyEndPoint(request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)
- func (c *Client) CreateProxyEndPointWithContext(ctx context.Context, request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)
- func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, err error)
- func (c *Client) CreateResourcePackage(request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)
- func (c *Client) CreateResourcePackageWithContext(ctx context.Context, request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)
- func (c *Client) DeleteAccounts(request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
- func (c *Client) DeleteAccountsWithContext(ctx context.Context, request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
- func (c *Client) DeleteAuditLogFile(request *DeleteAuditLogFileRequest) (response *DeleteAuditLogFileResponse, err error)
- func (c *Client) DeleteAuditLogFileWithContext(ctx context.Context, request *DeleteAuditLogFileRequest) (response *DeleteAuditLogFileResponse, 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) DeleteCLSDelivery(request *DeleteCLSDeliveryRequest) (response *DeleteCLSDeliveryResponse, err error)
- func (c *Client) DeleteCLSDeliveryWithContext(ctx context.Context, request *DeleteCLSDeliveryRequest) (response *DeleteCLSDeliveryResponse, err error)
- func (c *Client) DeleteClusterDatabase(request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)
- func (c *Client) DeleteClusterDatabaseWithContext(ctx context.Context, request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)
- func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DescribeAccountAllGrantPrivileges(request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error)
- func (c *Client) DescribeAccountAllGrantPrivilegesWithContext(ctx context.Context, request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error)
- func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, 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) DescribeAuditInstanceList(request *DescribeAuditInstanceListRequest) (response *DescribeAuditInstanceListResponse, err error)
- func (c *Client) DescribeAuditInstanceListWithContext(ctx context.Context, request *DescribeAuditInstanceListRequest) (response *DescribeAuditInstanceListResponse, err error)
- func (c *Client) DescribeAuditLogFiles(request *DescribeAuditLogFilesRequest) (response *DescribeAuditLogFilesResponse, err error)
- func (c *Client) DescribeAuditLogFilesWithContext(ctx context.Context, request *DescribeAuditLogFilesRequest) (response *DescribeAuditLogFilesResponse, err error)
- func (c *Client) DescribeAuditLogs(request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error)
- func (c *Client) DescribeAuditLogsWithContext(ctx context.Context, request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, 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) DescribeChangedParamsAfterUpgrade(request *DescribeChangedParamsAfterUpgradeRequest) (response *DescribeChangedParamsAfterUpgradeResponse, err error)
- func (c *Client) DescribeChangedParamsAfterUpgradeWithContext(ctx context.Context, request *DescribeChangedParamsAfterUpgradeRequest) (response *DescribeChangedParamsAfterUpgradeResponse, err error)
- func (c *Client) DescribeClusterDatabases(request *DescribeClusterDatabasesRequest) (response *DescribeClusterDatabasesResponse, err error)
- func (c *Client) DescribeClusterDatabasesWithContext(ctx context.Context, request *DescribeClusterDatabasesRequest) (response *DescribeClusterDatabasesResponse, err error)
- func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusterDetailDatabases(request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)
- func (c *Client) DescribeClusterDetailDatabasesWithContext(ctx context.Context, request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)
- func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusterInstanceGroups(request *DescribeClusterInstanceGroupsRequest) (response *DescribeClusterInstanceGroupsResponse, err error)
- func (c *Client) DescribeClusterInstanceGroupsWithContext(ctx context.Context, request *DescribeClusterInstanceGroupsRequest) (response *DescribeClusterInstanceGroupsResponse, 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) DescribeClusterParamLogs(request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, err error)
- func (c *Client) DescribeClusterParamLogsWithContext(ctx context.Context, request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, 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) DescribeClusterPasswordComplexity(request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, err error)
- func (c *Client) DescribeClusterPasswordComplexityWithContext(ctx context.Context, request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, 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) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
- func (c *Client) DescribeFlowWithContext(ctx context.Context, request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
- func (c *Client) DescribeInstanceCLSLogDelivery(request *DescribeInstanceCLSLogDeliveryRequest) (response *DescribeInstanceCLSLogDeliveryResponse, err error)
- func (c *Client) DescribeInstanceCLSLogDeliveryWithContext(ctx context.Context, request *DescribeInstanceCLSLogDeliveryRequest) (response *DescribeInstanceCLSLogDeliveryResponse, 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) DescribeInstanceErrorLogs(request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)
- func (c *Client) DescribeInstanceErrorLogsWithContext(ctx context.Context, request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)
- func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, 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) DescribeParamTemplateDetail(request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, err error)
- func (c *Client) DescribeParamTemplateDetailWithContext(ctx context.Context, request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, 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) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
- func (c *Client) DescribeProxiesWithContext(ctx context.Context, request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
- func (c *Client) DescribeProxyNodes(request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)
- func (c *Client) DescribeProxyNodesWithContext(ctx context.Context, request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)
- func (c *Client) DescribeProxySpecs(request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)
- func (c *Client) DescribeProxySpecsWithContext(ctx context.Context, request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)
- func (c *Client) DescribeResourcePackageDetail(request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)
- func (c *Client) DescribeResourcePackageDetailWithContext(ctx context.Context, request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)
- func (c *Client) DescribeResourcePackageList(request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)
- func (c *Client) DescribeResourcePackageListWithContext(ctx context.Context, request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)
- func (c *Client) DescribeResourcePackageSaleSpec(request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, err error)
- func (c *Client) DescribeResourcePackageSaleSpecWithContext(ctx context.Context, request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, 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) DescribeSupportProxyVersion(request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)
- func (c *Client) DescribeSupportProxyVersionWithContext(ctx context.Context, request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) ExportInstanceErrorLogs(request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, err error)
- func (c *Client) ExportInstanceErrorLogsWithContext(ctx context.Context, request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, 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) GrantAccountPrivileges(request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error)
- func (c *Client) GrantAccountPrivilegesWithContext(ctx context.Context, request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, 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) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (c *Client) ModifyAccountDescriptionWithContext(ctx context.Context, request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (c *Client) ModifyAccountHost(request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)
- func (c *Client) ModifyAccountHostWithContext(ctx context.Context, request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)
- func (c *Client) ModifyAccountParams(request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error)
- func (c *Client) ModifyAccountParamsWithContext(ctx context.Context, request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error)
- func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
- func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, 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) ModifyBinlogSaveDays(request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)
- func (c *Client) ModifyBinlogSaveDaysWithContext(ctx context.Context, request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)
- func (c *Client) ModifyClusterDatabase(request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, err error)
- func (c *Client) ModifyClusterDatabaseWithContext(ctx context.Context, request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, 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) ModifyClusterPasswordComplexity(request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, err error)
- func (c *Client) ModifyClusterPasswordComplexityWithContext(ctx context.Context, request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, 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) ModifyClusterStorage(request *ModifyClusterStorageRequest) (response *ModifyClusterStorageResponse, err error)
- func (c *Client) ModifyClusterStorageWithContext(ctx context.Context, request *ModifyClusterStorageRequest) (response *ModifyClusterStorageResponse, 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) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyInstanceUpgradeLimitDays(request *ModifyInstanceUpgradeLimitDaysRequest) (response *ModifyInstanceUpgradeLimitDaysResponse, err error)
- func (c *Client) ModifyInstanceUpgradeLimitDaysWithContext(ctx context.Context, request *ModifyInstanceUpgradeLimitDaysRequest) (response *ModifyInstanceUpgradeLimitDaysResponse, 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) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) ModifyProxyDesc(request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)
- func (c *Client) ModifyProxyDescWithContext(ctx context.Context, request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)
- func (c *Client) ModifyProxyRwSplit(request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)
- func (c *Client) ModifyProxyRwSplitWithContext(ctx context.Context, request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)
- func (c *Client) ModifyResourcePackageClusters(request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)
- func (c *Client) ModifyResourcePackageClustersWithContext(ctx context.Context, request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)
- func (c *Client) ModifyResourcePackageName(request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)
- func (c *Client) ModifyResourcePackageNameWithContext(ctx context.Context, request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)
- func (c *Client) ModifyVipVport(request *ModifyVipVportRequest) (response *ModifyVipVportResponse, err error)
- func (c *Client) ModifyVipVportWithContext(ctx context.Context, request *ModifyVipVportRequest) (response *ModifyVipVportResponse, 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) OpenClusterPasswordComplexity(request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)
- func (c *Client) OpenClusterPasswordComplexityWithContext(ctx context.Context, request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)
- func (c *Client) OpenClusterReadOnlyInstanceGroupAccess(request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)
- func (c *Client) OpenClusterReadOnlyInstanceGroupAccessWithContext(ctx context.Context, request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)
- func (c *Client) OpenReadOnlyInstanceExclusiveAccess(request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)
- func (c *Client) OpenReadOnlyInstanceExclusiveAccessWithContext(ctx context.Context, request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)
- func (c *Client) OpenWan(request *OpenWanRequest) (response *OpenWanResponse, err error)
- func (c *Client) OpenWanWithContext(ctx context.Context, request *OpenWanRequest) (response *OpenWanResponse, 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) RefundResourcePackage(request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)
- func (c *Client) RefundResourcePackageWithContext(ctx context.Context, request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)
- func (c *Client) ReloadBalanceProxyNode(request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
- func (c *Client) ReloadBalanceProxyNodeWithContext(ctx context.Context, request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, 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) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
- func (c *Client) RestartInstanceWithContext(ctx context.Context, request *RestartInstanceRequest) (response *RestartInstanceResponse, 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) RevokeAccountPrivileges(request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error)
- func (c *Client) RevokeAccountPrivilegesWithContext(ctx context.Context, request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error)
- func (c *Client) RollBackCluster(request *RollBackClusterRequest) (response *RollBackClusterResponse, err error)
- func (c *Client) RollBackClusterWithContext(ctx context.Context, request *RollBackClusterRequest) (response *RollBackClusterResponse, err error)
- func (c *Client) RollbackToNewCluster(request *RollbackToNewClusterRequest) (response *RollbackToNewClusterResponse, err error)
- func (c *Client) RollbackToNewClusterWithContext(ctx context.Context, request *RollbackToNewClusterRequest) (response *RollbackToNewClusterResponse, 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) StartCLSDelivery(request *StartCLSDeliveryRequest) (response *StartCLSDeliveryResponse, err error)
- func (c *Client) StartCLSDeliveryWithContext(ctx context.Context, request *StartCLSDeliveryRequest) (response *StartCLSDeliveryResponse, err error)
- func (c *Client) StopCLSDelivery(request *StopCLSDeliveryRequest) (response *StopCLSDeliveryResponse, err error)
- func (c *Client) StopCLSDeliveryWithContext(ctx context.Context, request *StopCLSDeliveryRequest) (response *StopCLSDeliveryResponse, err error)
- func (c *Client) SwitchClusterVpc(request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, err error)
- func (c *Client) SwitchClusterVpcWithContext(ctx context.Context, request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, 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) UnbindClusterResourcePackages(request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)
- func (c *Client) UnbindClusterResourcePackagesWithContext(ctx context.Context, request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)
- func (c *Client) UpgradeClusterVersion(request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, err error)
- func (c *Client) UpgradeClusterVersionWithContext(ctx context.Context, request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, 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)
- func (c *Client) UpgradeProxy(request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)
- func (c *Client) UpgradeProxyVersion(request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)
- func (c *Client) UpgradeProxyVersionWithContext(ctx context.Context, request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)
- func (c *Client) UpgradeProxyWithContext(ctx context.Context, request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)
- type CloseAuditServiceRequest
- type CloseAuditServiceRequestParams
- type CloseAuditServiceResponse
- type CloseAuditServiceResponseParams
- type CloseClusterPasswordComplexityRequest
- type CloseClusterPasswordComplexityRequestParams
- type CloseClusterPasswordComplexityResponse
- type CloseClusterPasswordComplexityResponseParams
- type CloseProxyRequest
- type CloseProxyRequestParams
- type CloseProxyResponse
- type CloseProxyResponseParams
- type CloseWanRequest
- type CloseWanRequestParams
- type CloseWanResponse
- type CloseWanResponseParams
- type ClusterInstanceDetail
- type ClusterParamModifyLog
- type ClusterSlaveData
- type CopyClusterPasswordComplexityRequest
- type CopyClusterPasswordComplexityRequestParams
- type CopyClusterPasswordComplexityResponse
- type CopyClusterPasswordComplexityResponseParams
- type CreateAccountsRequest
- type CreateAccountsRequestParams
- type CreateAccountsResponse
- type CreateAccountsResponseParams
- type CreateAuditLogFileRequest
- type CreateAuditLogFileRequestParams
- type CreateAuditLogFileResponse
- type CreateAuditLogFileResponseParams
- type CreateAuditRuleTemplateRequest
- type CreateAuditRuleTemplateRequestParams
- type CreateAuditRuleTemplateResponse
- type CreateAuditRuleTemplateResponseParams
- type CreateBackupRequest
- type CreateBackupRequestParams
- type CreateBackupResponse
- type CreateBackupResponseParams
- type CreateCLSDeliveryRequest
- type CreateCLSDeliveryRequestParams
- type CreateCLSDeliveryResponse
- type CreateCLSDeliveryResponseParams
- type CreateClusterDatabaseRequest
- type CreateClusterDatabaseRequestParams
- type CreateClusterDatabaseResponse
- type CreateClusterDatabaseResponseParams
- type CreateClustersData
- type CreateClustersRequest
- type CreateClustersRequestParams
- type CreateClustersResponse
- type CreateClustersResponseParams
- type CreateParamTemplateRequest
- type CreateParamTemplateRequestParams
- type CreateParamTemplateResponse
- type CreateParamTemplateResponseParams
- type CreateProxyEndPointRequest
- type CreateProxyEndPointRequestParams
- type CreateProxyEndPointResponse
- type CreateProxyEndPointResponseParams
- type CreateProxyRequest
- type CreateProxyRequestParams
- type CreateProxyResponse
- type CreateProxyResponseParams
- type CreateResourcePackageRequest
- type CreateResourcePackageRequestParams
- type CreateResourcePackageResponse
- type CreateResourcePackageResponseParams
- type CynosdbCluster
- type CynosdbClusterDetail
- type CynosdbErrorLogItem
- type CynosdbInstance
- type CynosdbInstanceDetail
- type CynosdbInstanceGroup
- type CynosdbInstanceGrp
- type DatabasePrivileges
- type DatabaseTables
- type DbInfo
- type DbTable
- type DeleteAccountsRequest
- type DeleteAccountsRequestParams
- type DeleteAccountsResponse
- type DeleteAccountsResponseParams
- type DeleteAuditLogFileRequest
- type DeleteAuditLogFileRequestParams
- type DeleteAuditLogFileResponse
- type DeleteAuditLogFileResponseParams
- type DeleteAuditRuleTemplatesRequest
- type DeleteAuditRuleTemplatesRequestParams
- type DeleteAuditRuleTemplatesResponse
- type DeleteAuditRuleTemplatesResponseParams
- type DeleteBackupRequest
- type DeleteBackupRequestParams
- type DeleteBackupResponse
- type DeleteBackupResponseParams
- type DeleteCLSDeliveryRequest
- type DeleteCLSDeliveryRequestParams
- type DeleteCLSDeliveryResponse
- type DeleteCLSDeliveryResponseParams
- type DeleteClusterDatabaseRequest
- type DeleteClusterDatabaseRequestParams
- type DeleteClusterDatabaseResponse
- type DeleteClusterDatabaseResponseParams
- type DeleteParamTemplateRequest
- type DeleteParamTemplateRequestParams
- type DeleteParamTemplateResponse
- type DeleteParamTemplateResponseParams
- type DescribeAccountAllGrantPrivilegesRequest
- type DescribeAccountAllGrantPrivilegesRequestParams
- type DescribeAccountAllGrantPrivilegesResponse
- type DescribeAccountAllGrantPrivilegesResponseParams
- type DescribeAccountPrivilegesRequest
- type DescribeAccountPrivilegesRequestParams
- type DescribeAccountPrivilegesResponse
- type DescribeAccountPrivilegesResponseParams
- type DescribeAccountsRequest
- type DescribeAccountsRequestParams
- type DescribeAccountsResponse
- type DescribeAccountsResponseParams
- type DescribeAuditInstanceListRequest
- type DescribeAuditInstanceListRequestParams
- type DescribeAuditInstanceListResponse
- type DescribeAuditInstanceListResponseParams
- type DescribeAuditLogFilesRequest
- type DescribeAuditLogFilesRequestParams
- type DescribeAuditLogFilesResponse
- type DescribeAuditLogFilesResponseParams
- type DescribeAuditLogsRequest
- type DescribeAuditLogsRequestParams
- type DescribeAuditLogsResponse
- type DescribeAuditLogsResponseParams
- 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 DescribeChangedParamsAfterUpgradeRequest
- type DescribeChangedParamsAfterUpgradeRequestParams
- type DescribeChangedParamsAfterUpgradeResponse
- type DescribeChangedParamsAfterUpgradeResponseParams
- type DescribeClusterDatabasesRequest
- type DescribeClusterDatabasesRequestParams
- type DescribeClusterDatabasesResponse
- type DescribeClusterDatabasesResponseParams
- type DescribeClusterDetailDatabasesRequest
- type DescribeClusterDetailDatabasesRequestParams
- type DescribeClusterDetailDatabasesResponse
- type DescribeClusterDetailDatabasesResponseParams
- type DescribeClusterDetailRequest
- type DescribeClusterDetailRequestParams
- type DescribeClusterDetailResponse
- type DescribeClusterDetailResponseParams
- type DescribeClusterInstanceGroupsRequest
- type DescribeClusterInstanceGroupsRequestParams
- type DescribeClusterInstanceGroupsResponse
- type DescribeClusterInstanceGroupsResponseParams
- type DescribeClusterInstanceGrpsRequest
- type DescribeClusterInstanceGrpsRequestParams
- type DescribeClusterInstanceGrpsResponse
- type DescribeClusterInstanceGrpsResponseParams
- type DescribeClusterParamLogsRequest
- type DescribeClusterParamLogsRequestParams
- type DescribeClusterParamLogsResponse
- type DescribeClusterParamLogsResponseParams
- type DescribeClusterParamsRequest
- type DescribeClusterParamsRequestParams
- type DescribeClusterParamsResponse
- type DescribeClusterParamsResponseParams
- type DescribeClusterPasswordComplexityRequest
- type DescribeClusterPasswordComplexityRequestParams
- type DescribeClusterPasswordComplexityResponse
- type DescribeClusterPasswordComplexityResponseParams
- type DescribeClustersRequest
- type DescribeClustersRequestParams
- type DescribeClustersResponse
- type DescribeClustersResponseParams
- type DescribeDBSecurityGroupsRequest
- type DescribeDBSecurityGroupsRequestParams
- type DescribeDBSecurityGroupsResponse
- type DescribeDBSecurityGroupsResponseParams
- type DescribeFlowRequest
- type DescribeFlowRequestParams
- type DescribeFlowResponse
- type DescribeFlowResponseParams
- type DescribeInstanceCLSLogDeliveryRequest
- type DescribeInstanceCLSLogDeliveryRequestParams
- type DescribeInstanceCLSLogDeliveryResponse
- type DescribeInstanceCLSLogDeliveryResponseParams
- type DescribeInstanceDetailRequest
- type DescribeInstanceDetailRequestParams
- type DescribeInstanceDetailResponse
- type DescribeInstanceDetailResponseParams
- type DescribeInstanceErrorLogsRequest
- type DescribeInstanceErrorLogsRequestParams
- type DescribeInstanceErrorLogsResponse
- type DescribeInstanceErrorLogsResponseParams
- type DescribeInstanceParamsRequest
- type DescribeInstanceParamsRequestParams
- type DescribeInstanceParamsResponse
- type DescribeInstanceParamsResponseParams
- 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 DescribeParamTemplateDetailRequest
- type DescribeParamTemplateDetailRequestParams
- type DescribeParamTemplateDetailResponse
- type DescribeParamTemplateDetailResponseParams
- type DescribeParamTemplatesRequest
- type DescribeParamTemplatesRequestParams
- type DescribeParamTemplatesResponse
- type DescribeParamTemplatesResponseParams
- type DescribeProjectSecurityGroupsRequest
- type DescribeProjectSecurityGroupsRequestParams
- type DescribeProjectSecurityGroupsResponse
- type DescribeProjectSecurityGroupsResponseParams
- type DescribeProxiesRequest
- type DescribeProxiesRequestParams
- type DescribeProxiesResponse
- type DescribeProxiesResponseParams
- type DescribeProxyNodesRequest
- type DescribeProxyNodesRequestParams
- type DescribeProxyNodesResponse
- type DescribeProxyNodesResponseParams
- type DescribeProxySpecsRequest
- type DescribeProxySpecsRequestParams
- type DescribeProxySpecsResponse
- type DescribeProxySpecsResponseParams
- type DescribeResourcePackageDetailRequest
- type DescribeResourcePackageDetailRequestParams
- type DescribeResourcePackageDetailResponse
- type DescribeResourcePackageDetailResponseParams
- type DescribeResourcePackageListRequest
- type DescribeResourcePackageListRequestParams
- type DescribeResourcePackageListResponse
- type DescribeResourcePackageListResponseParams
- type DescribeResourcePackageSaleSpecRequest
- type DescribeResourcePackageSaleSpecRequestParams
- type DescribeResourcePackageSaleSpecResponse
- type DescribeResourcePackageSaleSpecResponseParams
- 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 DescribeSupportProxyVersionRequest
- type DescribeSupportProxyVersionRequestParams
- type DescribeSupportProxyVersionResponse
- type DescribeSupportProxyVersionResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DisassociateSecurityGroupsRequest
- type DisassociateSecurityGroupsRequestParams
- type DisassociateSecurityGroupsResponse
- type DisassociateSecurityGroupsResponseParams
- type ErrorLogItemExport
- type ExportInstanceErrorLogsRequest
- type ExportInstanceErrorLogsRequestParams
- type ExportInstanceErrorLogsResponse
- type ExportInstanceErrorLogsResponseParams
- type ExportInstanceSlowQueriesRequest
- type ExportInstanceSlowQueriesRequestParams
- type ExportInstanceSlowQueriesResponse
- type ExportInstanceSlowQueriesResponseParams
- type GrantAccountPrivilegesRequest
- type GrantAccountPrivilegesRequestParams
- type GrantAccountPrivilegesResponse
- type GrantAccountPrivilegesResponseParams
- type InputAccount
- type InquirePriceCreateRequest
- type InquirePriceCreateRequestParams
- type InquirePriceCreateResponse
- type InquirePriceCreateResponseParams
- type InquirePriceRenewRequest
- type InquirePriceRenewRequestParams
- type InquirePriceRenewResponse
- type InquirePriceRenewResponseParams
- type InstanceAbility
- type InstanceAuditLogFilter
- type InstanceAuditRule
- type InstanceAuditStatus
- type InstanceCLSDeliveryInfo
- type InstanceInitInfo
- type InstanceNetInfo
- type InstanceParamItem
- type InstanceSpec
- type IsolateClusterRequest
- type IsolateClusterRequestParams
- type IsolateClusterResponse
- type IsolateClusterResponseParams
- type IsolateInstanceRequest
- type IsolateInstanceRequestParams
- type IsolateInstanceResponse
- type IsolateInstanceResponseParams
- type LogRuleTemplateInfo
- type LogicBackupConfigInfo
- type ManualBackupData
- type ModifiableInfo
- type ModifyAccountDescriptionRequest
- type ModifyAccountDescriptionRequestParams
- type ModifyAccountDescriptionResponse
- type ModifyAccountDescriptionResponseParams
- type ModifyAccountHostRequest
- type ModifyAccountHostRequestParams
- type ModifyAccountHostResponse
- type ModifyAccountHostResponseParams
- type ModifyAccountParamsRequest
- type ModifyAccountParamsRequestParams
- type ModifyAccountParamsResponse
- type ModifyAccountParamsResponseParams
- type ModifyAccountPrivilegesRequest
- type ModifyAccountPrivilegesRequestParams
- type ModifyAccountPrivilegesResponse
- type ModifyAccountPrivilegesResponseParams
- 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 ModifyBinlogSaveDaysRequest
- type ModifyBinlogSaveDaysRequestParams
- type ModifyBinlogSaveDaysResponse
- type ModifyBinlogSaveDaysResponseParams
- type ModifyClusterDatabaseRequest
- type ModifyClusterDatabaseRequestParams
- type ModifyClusterDatabaseResponse
- type ModifyClusterDatabaseResponseParams
- type ModifyClusterNameRequest
- type ModifyClusterNameRequestParams
- type ModifyClusterNameResponse
- type ModifyClusterNameResponseParams
- type ModifyClusterParamRequest
- type ModifyClusterParamRequestParams
- type ModifyClusterParamResponse
- type ModifyClusterParamResponseParams
- type ModifyClusterPasswordComplexityRequest
- type ModifyClusterPasswordComplexityRequestParams
- type ModifyClusterPasswordComplexityResponse
- type ModifyClusterPasswordComplexityResponseParams
- type ModifyClusterSlaveZoneRequest
- type ModifyClusterSlaveZoneRequestParams
- type ModifyClusterSlaveZoneResponse
- type ModifyClusterSlaveZoneResponseParams
- type ModifyClusterStorageRequest
- type ModifyClusterStorageRequestParams
- type ModifyClusterStorageResponse
- type ModifyClusterStorageResponseParams
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsRequestParams
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyDBInstanceSecurityGroupsResponseParams
- type ModifyDbVersionData
- type ModifyInstanceData
- type ModifyInstanceNameRequest
- type ModifyInstanceNameRequestParams
- type ModifyInstanceNameResponse
- type ModifyInstanceNameResponseParams
- type ModifyInstanceParamRequest
- type ModifyInstanceParamRequestParams
- type ModifyInstanceParamResponse
- type ModifyInstanceParamResponseParams
- type ModifyInstanceUpgradeLimitDaysRequest
- type ModifyInstanceUpgradeLimitDaysRequestParams
- type ModifyInstanceUpgradeLimitDaysResponse
- type ModifyInstanceUpgradeLimitDaysResponseParams
- type ModifyMaintainPeriodConfigRequest
- type ModifyMaintainPeriodConfigRequestParams
- type ModifyMaintainPeriodConfigResponse
- type ModifyMaintainPeriodConfigResponseParams
- type ModifyParamItem
- type ModifyParamTemplateRequest
- type ModifyParamTemplateRequestParams
- type ModifyParamTemplateResponse
- type ModifyParamTemplateResponseParams
- type ModifyParamsData
- type ModifyProxyDescRequest
- type ModifyProxyDescRequestParams
- type ModifyProxyDescResponse
- type ModifyProxyDescResponseParams
- type ModifyProxyRwSplitRequest
- type ModifyProxyRwSplitRequestParams
- type ModifyProxyRwSplitResponse
- type ModifyProxyRwSplitResponseParams
- type ModifyResourcePackageClustersRequest
- type ModifyResourcePackageClustersRequestParams
- type ModifyResourcePackageClustersResponse
- type ModifyResourcePackageClustersResponseParams
- type ModifyResourcePackageNameRequest
- type ModifyResourcePackageNameRequestParams
- type ModifyResourcePackageNameResponse
- type ModifyResourcePackageNameResponseParams
- type ModifyVipVportRequest
- type ModifyVipVportRequestParams
- type ModifyVipVportResponse
- type ModifyVipVportResponseParams
- type Module
- 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 OpenClusterPasswordComplexityRequest
- type OpenClusterPasswordComplexityRequestParams
- type OpenClusterPasswordComplexityResponse
- type OpenClusterPasswordComplexityResponseParams
- type OpenClusterReadOnlyInstanceGroupAccessRequest
- type OpenClusterReadOnlyInstanceGroupAccessRequestParams
- type OpenClusterReadOnlyInstanceGroupAccessResponse
- type OpenClusterReadOnlyInstanceGroupAccessResponseParams
- type OpenReadOnlyInstanceExclusiveAccessRequest
- type OpenReadOnlyInstanceExclusiveAccessRequestParams
- type OpenReadOnlyInstanceExclusiveAccessResponse
- type OpenReadOnlyInstanceExclusiveAccessResponseParams
- type OpenWanRequest
- type OpenWanRequestParams
- type OpenWanResponse
- type OpenWanResponseParams
- type Package
- type PackageDetail
- type ParamDetail
- type ParamInfo
- type ParamItem
- type ParamItemDetail
- type ParamItemInfo
- type ParamTemplateListInfo
- type PauseServerlessRequest
- type PauseServerlessRequestParams
- type PauseServerlessResponse
- type PauseServerlessResponseParams
- type PolicyRule
- type ProxyConnectionPoolInfo
- type ProxyGroup
- type ProxyGroupInfo
- type ProxyGroupRwInfo
- type ProxyInstanceWeight
- type ProxyNodeInfo
- type ProxySpec
- type ProxyZone
- type QueryFilter
- type QueryParamFilter
- type RefundResourcePackageRequest
- type RefundResourcePackageRequestParams
- type RefundResourcePackageResponse
- type RefundResourcePackageResponseParams
- type ReloadBalanceProxyNodeRequest
- type ReloadBalanceProxyNodeRequestParams
- type ReloadBalanceProxyNodeResponse
- type ReloadBalanceProxyNodeResponseParams
- type RemoveClusterSlaveZoneRequest
- type RemoveClusterSlaveZoneRequestParams
- type RemoveClusterSlaveZoneResponse
- type RemoveClusterSlaveZoneResponseParams
- type ResetAccountPasswordRequest
- type ResetAccountPasswordRequestParams
- type ResetAccountPasswordResponse
- type ResetAccountPasswordResponseParams
- type ResourcePackage
- type RestartInstanceRequest
- type RestartInstanceRequestParams
- type RestartInstanceResponse
- type RestartInstanceResponseParams
- type ResumeServerlessRequest
- type ResumeServerlessRequestParams
- type ResumeServerlessResponse
- type ResumeServerlessResponseParams
- type RevokeAccountPrivilegesRequest
- type RevokeAccountPrivilegesRequestParams
- type RevokeAccountPrivilegesResponse
- type RevokeAccountPrivilegesResponseParams
- type RollBackClusterRequest
- type RollBackClusterRequestParams
- type RollBackClusterResponse
- type RollBackClusterResponseParams
- type RollbackData
- type RollbackDatabase
- type RollbackTable
- type RollbackTableInfo
- type RollbackTimeRange
- type RollbackToNewClusterRequest
- type RollbackToNewClusterRequestParams
- type RollbackToNewClusterResponse
- type RollbackToNewClusterResponseParams
- type RuleFilters
- type RuleTemplateInfo
- type SalePackageSpec
- type SaleRegion
- type SaleZone
- 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 SlaveZoneAttrItem
- type SlaveZoneStockInfo
- type SlowQueriesItem
- type StartCLSDeliveryRequest
- type StartCLSDeliveryRequestParams
- type StartCLSDeliveryResponse
- type StartCLSDeliveryResponseParams
- type StopCLSDeliveryRequest
- type StopCLSDeliveryRequestParams
- type StopCLSDeliveryResponse
- type StopCLSDeliveryResponseParams
- type SwitchClusterLogBin
- type SwitchClusterVpcRequest
- type SwitchClusterVpcRequestParams
- type SwitchClusterVpcResponse
- type SwitchClusterVpcResponseParams
- type SwitchClusterZoneRequest
- type SwitchClusterZoneRequestParams
- type SwitchClusterZoneResponse
- type SwitchClusterZoneResponseParams
- type SwitchProxyVpcRequest
- type SwitchProxyVpcRequestParams
- type SwitchProxyVpcResponse
- type SwitchProxyVpcResponseParams
- type TablePrivileges
- type Tag
- type TaskMaintainInfo
- type TemplateParamInfo
- type TradePrice
- type UnbindClusterResourcePackagesRequest
- type UnbindClusterResourcePackagesRequestParams
- type UnbindClusterResourcePackagesResponse
- type UnbindClusterResourcePackagesResponseParams
- type UpgradeClusterVersionRequest
- type UpgradeClusterVersionRequestParams
- type UpgradeClusterVersionResponse
- type UpgradeClusterVersionResponseParams
- type UpgradeInstanceRequest
- type UpgradeInstanceRequestParams
- type UpgradeInstanceResponse
- type UpgradeInstanceResponseParams
- type UpgradeProxy
- type UpgradeProxyRequest
- type UpgradeProxyRequestParams
- type UpgradeProxyResponse
- type UpgradeProxyResponseParams
- type UpgradeProxyVersionRequest
- type UpgradeProxyVersionRequestParams
- type UpgradeProxyVersionResponse
- type UpgradeProxyVersionResponseParams
- type UserHostPrivilege
- type ZoneStockInfo
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 批量查询失败。 FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError" // 绑定资源包失败 FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" // 获取权限失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" // 鉴权失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" // 创建并支付订单失败。 FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" // 创建资源包失败 FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError" // 设置备份策略失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy" // 数据库访问失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" // 修改账号权限失败。 FAILEDOPERATION_DESCRIBEACCOUNTPRIVILEGESERROR = "FailedOperation.DescribeAccountPrivilegesError" // 创建流程失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" // Flow不存在。 FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" // 获取备份策略失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" // 查询接入组网络信息失败。 FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError" // 查询主实例详情失败。 FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError" // 账号余额不足。 FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" // 操作失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" // 查询资源包消耗明细失败 FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError" // 查询资源包失败 FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" // 规格信息查询失败。 FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" // 资源包退款失败 FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError" // 创建并支付订单失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" // 解绑资源包失败 FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" // 内部错误。 INTERNALERROR = "InternalError" // 查询数据库失败。 INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" // 客户未授权 INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" // 获取安全组信息失败。 INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" // 获取子网失败。 INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" // 获取VPC失败。 INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" // 网络错误 INTERNALERROR_HTTPERROR = "InternalError.HttpError" // http请求执行异常。 INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // 安全组查询实例失败。 INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" // 操作外网失败。 INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" // 操作不支持。 INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" // 查询数据库失败。 INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" // 内部服务错误。 INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" // 系统内部错误。 INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // 未知的内部错误。 INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 未找到该接口。 INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" // 参数传参错误。 INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" // 未知参数,请检查参数是否有效。 INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" // 当前实例不可隔离。 INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 账号已存在。 INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError" // 账号已存在。 INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" // 实例不存在账号。 INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" // 未查询到集群。 INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" // 不支持的实例类型。 INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" // 集群类型必须为serverless。 INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" // 未查询到订单id。 INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" // 任务流ID不存在。 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_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" // 无效的地域。 INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" // 实例规格非法。 INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" // 无效的可用区。 INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" // 该两个参数不可以同时设定。 INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" // 参数错误。 INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" // 参数值无效,超过允许范围。 INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" // 预付费类型不允许该操作。 INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" // 找不到该ProjectId INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" // 所选地域和可用区不可用。 INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" // 未找到相关存储pool。 INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" // 找不到所选子网。 INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" // 未找到该数据。 INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound" // 找不到所选VPC网络。 INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 集群中节点数超过最大限制。 LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit" // 用户实例个数超出限制。 LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 审计规则不存在 OPERATIONDENIED_AUDITPOLICYNOTEXISTERROR = "OperationDenied.AuditPolicyNotExistError" // 权限校验失败。 OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" // 由于操作禁止,当前集群不允许该操作。 OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" // 集群当前状态不允许该操作。 OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" // 您没有权限操作资源。 OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" // 实例当前状态不允许该操作。 OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" // 实例未处于运行状态 OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" // 账号余额不足。 OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" // serverless集群当前状态不允许该操作。 OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" // serverless实例当前状态不允许该操作。 OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" // 任务冲突检查不通过。 OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError" // 不支持该类型规格售卖 OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError" // 用户未进行实名认证,请先进行实名认证才可购买。 OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" // Serverless不支持该版本。 OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" // 集群不存在。 RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" // 实例不存在。 RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" // 参数对应资源不存在。 RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" // 锁定实例失败,暂时不可操作。 RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" // 实例状态异常,暂时不可操作。 RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" // 非实名用户禁止购买。 UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" // CAM鉴权不通过。 UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" )
const APIVersion = "2019-01-07"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ability ¶ added in v1.0.569
type Ability struct { // 是否支持从可用区 IsSupportSlaveZone *string `json:"IsSupportSlaveZone,omitnil,omitempty" name:"IsSupportSlaveZone"` // 不支持从可用区的原因 // 注意:此字段可能返回 null,表示取不到有效值。 NonsupportSlaveZoneReason *string `json:"NonsupportSlaveZoneReason,omitnil,omitempty" name:"NonsupportSlaveZoneReason"` // 是否支持RO实例 IsSupportRo *string `json:"IsSupportRo,omitnil,omitempty" name:"IsSupportRo"` // 不支持RO实例的原因 // 注意:此字段可能返回 null,表示取不到有效值。 NonsupportRoReason *string `json:"NonsupportRoReason,omitnil,omitempty" name:"NonsupportRoReason"` // 是否支持手动发起快照备份 // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportManualSnapshot *string `json:"IsSupportManualSnapshot,omitnil,omitempty" name:"IsSupportManualSnapshot"` }
type Account ¶
type Account struct { // 数据库账号名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 数据库账号描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 主机 Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 用户最大连接数 MaxUserConnections *int64 `json:"MaxUserConnections,omitnil,omitempty" name:"MaxUserConnections"` }
type AccountParam ¶ added in v1.0.349
type ActivateInstanceRequest ¶ added in v1.0.349
type ActivateInstanceRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例 ID 列表,单个实例 ID 格式如:cynosdbmysql-ins-n7ocdslw,与TDSQL-C MySQL数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。 InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` }
func NewActivateInstanceRequest ¶ added in v1.0.349
func NewActivateInstanceRequest() (request *ActivateInstanceRequest)
func (*ActivateInstanceRequest) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *ActivateInstanceRequest) ToJsonString() string
type ActivateInstanceRequestParams ¶ added in v1.0.426
type ActivateInstanceRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例 ID 列表,单个实例 ID 格式如:cynosdbmysql-ins-n7ocdslw,与TDSQL-C MySQL数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。 InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` }
Predefined struct for user
type ActivateInstanceResponse ¶ added in v1.0.349
type ActivateInstanceResponse struct { *tchttp.BaseResponse Response *ActivateInstanceResponseParams `json:"Response"` }
func NewActivateInstanceResponse ¶ added in v1.0.349
func NewActivateInstanceResponse() (response *ActivateInstanceResponse)
func (*ActivateInstanceResponse) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *ActivateInstanceResponse) ToJsonString() string
type ActivateInstanceResponseParams ¶ added in v1.0.426
type ActivateInstanceResponseParams struct { // 任务流id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddClusterSlaveZoneRequest ¶ added in v1.0.482
type AddClusterSlaveZoneRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 从可用区 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // binlog同步方式。默认值:async。可选值:sync、semisync、async BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"` }
func NewAddClusterSlaveZoneRequest ¶ added in v1.0.482
func NewAddClusterSlaveZoneRequest() (request *AddClusterSlaveZoneRequest)
func (*AddClusterSlaveZoneRequest) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *AddClusterSlaveZoneRequest) ToJsonString() string
type AddClusterSlaveZoneRequestParams ¶ added in v1.0.482
type AddClusterSlaveZoneRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 从可用区 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // binlog同步方式。默认值:async。可选值:sync、semisync、async BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"` }
Predefined struct for user
type AddClusterSlaveZoneResponse ¶ added in v1.0.482
type AddClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *AddClusterSlaveZoneResponseParams `json:"Response"` }
func NewAddClusterSlaveZoneResponse ¶ added in v1.0.482
func NewAddClusterSlaveZoneResponse() (response *AddClusterSlaveZoneResponse)
func (*AddClusterSlaveZoneResponse) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *AddClusterSlaveZoneResponse) ToJsonString() string
type AddClusterSlaveZoneResponseParams ¶ added in v1.0.482
type AddClusterSlaveZoneResponseParams struct { // 异步FlowId FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddInstancesRequest ¶
type AddInstancesRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存,单位为GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 新增只读实例数,取值范围为(0,15] ReadOnlyCount *int64 `json:"ReadOnlyCount,omitnil,omitempty" name:"ReadOnlyCount"` // 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。 InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 所属VPC网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 所属子网ID,如果设置了VpcId,则SubnetId必填。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 新增RO组时使用的Port,取值范围为[0,65535) Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 实例名称,字符串长度范围为[0,64),取值范围为大小写字母,0-9数字,'_','-','.' InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 订单来源,字符串长度范围为[0,64) OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 参数列表,ParamTemplateId 传入时InstanceParams才有效 InstanceParams []*ModifyParamItem `json:"InstanceParams,omitnil,omitempty" name:"InstanceParams"` // 安全组ID,新建只读实例时可以指定安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // proxy同步升级 UpgradeProxy *UpgradeProxy `json:"UpgradeProxy,omitnil,omitempty" name:"UpgradeProxy"` }
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 ¶ added in v1.0.426
type AddInstancesRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存,单位为GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 新增只读实例数,取值范围为(0,15] ReadOnlyCount *int64 `json:"ReadOnlyCount,omitnil,omitempty" name:"ReadOnlyCount"` // 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。 // // Deprecated: InstanceGrpId is deprecated. InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 所属VPC网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 所属子网ID,如果设置了VpcId,则SubnetId必填。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 新增RO组时使用的Port,取值范围为[0,65535) Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 实例名称,字符串长度范围为[0,64),取值范围为大小写字母,0-9数字,'_','-','.' InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 订单来源,字符串长度范围为[0,64) OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 参数列表,ParamTemplateId 传入时InstanceParams才有效 InstanceParams []*ModifyParamItem `json:"InstanceParams,omitnil,omitempty" name:"InstanceParams"` // 安全组ID,新建只读实例时可以指定安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // proxy同步升级 UpgradeProxy *UpgradeProxy `json:"UpgradeProxy,omitnil,omitempty" name:"UpgradeProxy"` }
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 ¶ added in v1.0.426
type AddInstancesResponseParams struct { // 冻结流水,一次开通一个冻结流水。 // 注意:此字段可能返回 null,表示取不到有效值。 TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // 后付费订单号。 // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 发货资源id列表。 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // 大订单号 // 注意:此字段可能返回 null,表示取不到有效值。 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociateSecurityGroupsRequest ¶ added in v1.0.349
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例组ID数组 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
func NewAssociateSecurityGroupsRequest ¶ added in v1.0.349
func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)
func (*AssociateSecurityGroupsRequest) FromJsonString ¶ added in v1.0.349
func (r *AssociateSecurityGroupsRequest) 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 (*AssociateSecurityGroupsRequest) ToJsonString ¶ added in v1.0.349
func (r *AssociateSecurityGroupsRequest) ToJsonString() string
type AssociateSecurityGroupsRequestParams ¶ added in v1.0.426
type AssociateSecurityGroupsRequestParams struct { // 实例组ID数组 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
Predefined struct for user
type AssociateSecurityGroupsResponse ¶ added in v1.0.349
type AssociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *AssociateSecurityGroupsResponseParams `json:"Response"` }
func NewAssociateSecurityGroupsResponse ¶ added in v1.0.349
func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)
func (*AssociateSecurityGroupsResponse) FromJsonString ¶ added in v1.0.349
func (r *AssociateSecurityGroupsResponse) 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 (*AssociateSecurityGroupsResponse) ToJsonString ¶ added in v1.0.349
func (r *AssociateSecurityGroupsResponse) ToJsonString() string
type AssociateSecurityGroupsResponseParams ¶ added in v1.0.426
type AssociateSecurityGroupsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AuditInstanceFilters ¶ added in v1.0.849
type AuditInstanceFilters struct { // 过滤条件值。支持InstanceId-实例ID,InstanceName-实例名称,ProjectId-项目ID,TagKey-标签键,Tag-标签(以竖线分割,例:Tagkey|Tagvalue)。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // true表示精确查找,false表示模糊匹配。 ExactMatch *bool `json:"ExactMatch,omitnil,omitempty" name:"ExactMatch"` // 筛选值 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type AuditInstanceInfo ¶ added in v1.0.849
type AuditLog ¶ added in v1.0.515
type AuditLog struct { // 影响行数。 AffectRows *int64 `json:"AffectRows,omitnil,omitempty" name:"AffectRows"` // 错误码。 ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // SQL类型。 SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // 表名称。 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // 实例名称。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 审计策略名称。 PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 数据库名称。 DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"` // SQL语句。 Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // 客户端地址。 Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 用户名。 User *string `json:"User,omitnil,omitempty" name:"User"` // 执行时间,微秒。 ExecTime *int64 `json:"ExecTime,omitnil,omitempty" name:"ExecTime"` // 时间。 Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 返回行数。 SentRows *int64 `json:"SentRows,omitnil,omitempty" name:"SentRows"` // 执行线程ID。 ThreadId *int64 `json:"ThreadId,omitnil,omitempty" name:"ThreadId"` // 扫描行数。 // 注意:此字段可能返回 null,表示取不到有效值。 CheckRows *int64 `json:"CheckRows,omitnil,omitempty" name:"CheckRows"` // cpu执行时间,微秒。 // 注意:此字段可能返回 null,表示取不到有效值。 CpuTime *float64 `json:"CpuTime,omitnil,omitempty" name:"CpuTime"` // IO等待时间,微秒。 // 注意:此字段可能返回 null,表示取不到有效值。 IoWaitTime *int64 `json:"IoWaitTime,omitnil,omitempty" name:"IoWaitTime"` // 锁等待时间,微秒。 // 注意:此字段可能返回 null,表示取不到有效值。 LockWaitTime *int64 `json:"LockWaitTime,omitnil,omitempty" name:"LockWaitTime"` // 事物持续等待时间,微秒。 // 注意:此字段可能返回 null,表示取不到有效值。 TrxLivingTime *int64 `json:"TrxLivingTime,omitnil,omitempty" name:"TrxLivingTime"` // 开始时间,与timestamp构成一个精确到纳秒的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 NsTime *int64 `json:"NsTime,omitnil,omitempty" name:"NsTime"` // 日志命中规则模板的基本信息 // 注意:此字段可能返回 null,表示取不到有效值。 TemplateInfo []*LogRuleTemplateInfo `json:"TemplateInfo,omitnil,omitempty" name:"TemplateInfo"` }
type AuditLogFile ¶ added in v1.0.515
type AuditLogFile struct { // 审计日志文件名称 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 文件状态值。可能返回的值为: // "creating" - 生成中; // "failed" - 创建失败; // "success" - 已生成; Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 文件大小,单位为 KB。 // 注意:此字段可能返回 null,表示取不到有效值。 FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"` // 审计日志下载地址。 // 注意:此字段可能返回 null,表示取不到有效值。 DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // 错误信息。 // 注意:此字段可能返回 null,表示取不到有效值。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` }
type AuditLogFilter ¶ added in v1.0.515
type AuditLogFilter struct { // 客户端地址。 Host []*string `json:"Host,omitnil,omitempty" name:"Host"` // 用户名。 User []*string `json:"User,omitnil,omitempty" name:"User"` // 数据库名称。 DBName []*string `json:"DBName,omitnil,omitempty" name:"DBName"` // 表名称。 TableName []*string `json:"TableName,omitnil,omitempty" name:"TableName"` // 审计策略名称。 PolicyName []*string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // SQL 语句。支持模糊匹配。 Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。 SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。 ExecTime *int64 `json:"ExecTime,omitnil,omitempty" name:"ExecTime"` // 影响行数。表示筛选影响行数大于该值的审计日志。 AffectRows *int64 `json:"AffectRows,omitnil,omitempty" name:"AffectRows"` // SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。 SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // SQL 语句。支持传递多个sql语句。 Sqls []*string `json:"Sqls,omitnil,omitempty" name:"Sqls"` // 返回行数。 SentRows *uint64 `json:"SentRows,omitnil,omitempty" name:"SentRows"` // 线程ID。 ThreadId []*string `json:"ThreadId,omitnil,omitempty" name:"ThreadId"` }
type AuditRuleFilters ¶ added in v1.0.571
type AuditRuleFilters struct { // 单条审计规则。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` }
type AuditRuleTemplateInfo ¶ added in v1.0.571
type AuditRuleTemplateInfo struct { // 规则模板ID。 RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"` // 规则模板名称。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 规则模板的过滤条件 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 规则模板描述。 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 规则模板创建时间。 CreateAt *string `json:"CreateAt,omitnil,omitempty" name:"CreateAt"` // 规则模板修改时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateAt *string `json:"UpdateAt,omitnil,omitempty" name:"UpdateAt"` // 告警等级。1-低风险,2-中风险,3-高风险。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` // 模板状态。0-无任务 ,1-修改中。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 规则模板应用在哪些在实例。 // 注意:此字段可能返回 null,表示取不到有效值。 AffectedInstances []*string `json:"AffectedInstances,omitnil,omitempty" name:"AffectedInstances"` }
type BackupFileInfo ¶
type BackupFileInfo struct { // 快照文件ID,已废弃,请使用BackupId SnapshotId *uint64 `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 备份文件名 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 备份文件大小 FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"` // 备份开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 备份完成时间 FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"` // 备份类型:snapshot,快照备份;logic,逻辑备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份方式:auto,自动备份;manual,手动备份 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 备份文件状态:success:备份成功;fail:备份失败;creating:备份文件创建中;deleting:备份文件删除中 BackupStatus *string `json:"BackupStatus,omitnil,omitempty" name:"BackupStatus"` // 备份文件时间 SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"` // 备份ID // 注意:此字段可能返回 null,表示取不到有效值。 BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"` // 快照类型,可选值:full,全量;increment,增量 // 注意:此字段可能返回 null,表示取不到有效值。 SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"` // 备份文件备注 // 注意:此字段可能返回 null,表示取不到有效值。 BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"` }
type BillingResourceInfo ¶
type BindClusterResourcePackagesRequest ¶ added in v1.0.668
type BindClusterResourcePackagesRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewBindClusterResourcePackagesRequest ¶ added in v1.0.668
func NewBindClusterResourcePackagesRequest() (request *BindClusterResourcePackagesRequest)
func (*BindClusterResourcePackagesRequest) FromJsonString ¶ added in v1.0.668
func (r *BindClusterResourcePackagesRequest) 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 (*BindClusterResourcePackagesRequest) ToJsonString ¶ added in v1.0.668
func (r *BindClusterResourcePackagesRequest) ToJsonString() string
type BindClusterResourcePackagesRequestParams ¶ added in v1.0.668
type BindClusterResourcePackagesRequestParams struct { // 资源包唯一ID PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type BindClusterResourcePackagesResponse ¶ added in v1.0.668
type BindClusterResourcePackagesResponse struct { *tchttp.BaseResponse Response *BindClusterResourcePackagesResponseParams `json:"Response"` }
func NewBindClusterResourcePackagesResponse ¶ added in v1.0.668
func NewBindClusterResourcePackagesResponse() (response *BindClusterResourcePackagesResponse)
func (*BindClusterResourcePackagesResponse) FromJsonString ¶ added in v1.0.668
func (r *BindClusterResourcePackagesResponse) 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 (*BindClusterResourcePackagesResponse) ToJsonString ¶ added in v1.0.668
func (r *BindClusterResourcePackagesResponse) ToJsonString() string
type BindClusterResourcePackagesResponseParams ¶ added in v1.0.668
type BindClusterResourcePackagesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BindInstanceInfo ¶ added in v1.0.668
type BindInstanceInfo struct { // 绑定的集群ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 绑定的实例所在的地域 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"` // 绑定的实例类型 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 绑定集群下的实例ID // 注意:此字段可能返回 null,表示取不到有效值。 ExtendIds []*string `json:"ExtendIds,omitnil,omitempty" name:"ExtendIds"` }
type BinlogItem ¶ added in v1.0.434
type BinlogItem struct { // Binlog文件名称 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 文件大小,单位:字节 FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"` // 事务最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 事务最晚时间 FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"` // Binlog文件ID BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"` }
type BizTaskInfo ¶ added in v1.0.859
type BizTaskInfo struct { // 任务id ID *int64 `json:"ID,omitnil,omitempty" name:"ID"` // 用户appid AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 任务创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 延迟执行时间 // 注意:此字段可能返回 null,表示取不到有效值。 DelayTime *string `json:"DelayTime,omitnil,omitempty" name:"DelayTime"` // 任务失败信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` // 异步任务流id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 任务输入信息 Input *string `json:"Input,omitnil,omitempty" name:"Input"` // 实例组id // // Deprecated: InstanceGrpId is deprecated. InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 任务操作对象id ObjectId *string `json:"ObjectId,omitnil,omitempty" name:"ObjectId"` // 任务操作对象类型 ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` // 操作者uin Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 任务输出信息 Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 任务状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 任务类型 TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 触发本任务的父任务ID TriggerTaskId *int64 `json:"TriggerTaskId,omitnil,omitempty" name:"TriggerTaskId"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 任务开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 任务结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 任务进度 Process *int64 `json:"Process,omitnil,omitempty" name:"Process"` // 修改参数任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyParamsData []*ModifyParamsData `json:"ModifyParamsData,omitnil,omitempty" name:"ModifyParamsData"` // 创建集群任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 CreateClustersData *CreateClustersData `json:"CreateClustersData,omitnil,omitempty" name:"CreateClustersData"` // 集群回档任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 RollbackData *RollbackData `json:"RollbackData,omitnil,omitempty" name:"RollbackData"` // 实例变配任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyInstanceData *ModifyInstanceData `json:"ModifyInstanceData,omitnil,omitempty" name:"ModifyInstanceData"` // 手动备份任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 ManualBackupData *ManualBackupData `json:"ManualBackupData,omitnil,omitempty" name:"ManualBackupData"` // 修改内核版本任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyDbVersionData *ModifyDbVersionData `json:"ModifyDbVersionData,omitnil,omitempty" name:"ModifyDbVersionData"` // 集群可用区信息 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterSlaveData *ClusterSlaveData `json:"ClusterSlaveData,omitnil,omitempty" name:"ClusterSlaveData"` // 转换集群日志 // 注意:此字段可能返回 null,表示取不到有效值。 SwitchClusterLogBin *SwitchClusterLogBin `json:"SwitchClusterLogBin,omitnil,omitempty" name:"SwitchClusterLogBin"` // 修改实例参数数据 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyInstanceParamsData *BizTaskModifyParamsData `json:"ModifyInstanceParamsData,omitnil,omitempty" name:"ModifyInstanceParamsData"` // 维护时间 // 注意:此字段可能返回 null,表示取不到有效值。 TaskMaintainInfo *TaskMaintainInfo `json:"TaskMaintainInfo,omitnil,omitempty" name:"TaskMaintainInfo"` }
type BizTaskModifyInstanceParam ¶ added in v1.0.859
type BizTaskModifyInstanceParam struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例参数修改任务详情 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyInstanceParamList []*ModifyParamItem `json:"ModifyInstanceParamList,omitnil,omitempty" name:"ModifyInstanceParamList"` }
type BizTaskModifyParamsData ¶ added in v1.0.859
type BizTaskModifyParamsData struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群参数修改数据 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterParamList []*ModifyParamItem `json:"ClusterParamList,omitnil,omitempty" name:"ClusterParamList"` // 实例参数修改数据 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyInstanceParams []*BizTaskModifyInstanceParam `json:"ModifyInstanceParams,omitnil,omitempty" name:"ModifyInstanceParams"` }
type CLSInfo ¶ added in v1.0.919
type CLSInfo struct { // 日志主题操作:可选create,reuse。 // create:新增日志主题,使用TopicName创建日志主题。 // reuse:使用已有日志主题,使用TopicId指定日志主题。 // 不允许使用已有日志主题且新建日志集的组合。 TopicOperation *string `json:"TopicOperation,omitnil,omitempty" name:"TopicOperation"` // 日志集操作:可选create,reuse。 // create:新增日志集,使用GroupName创建日志集。 // reuse:使用已有日志集,使用GroupId指定日志集。 // 不允许使用已有日志主题且新建日志集的组合。 GroupOperation *string `json:"GroupOperation,omitnil,omitempty" name:"GroupOperation"` // 日志投递地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 日志集id GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 日志集name GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ActivateInstance ¶ added in v1.0.349
func (c *Client) ActivateInstance(request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
ActivateInstance 本接口(ActivateInstance)用于恢复已隔离的实例访问。
可能返回的错误码:
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 ¶ added in v1.0.349
func (c *Client) ActivateInstanceWithContext(ctx context.Context, request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)
ActivateInstance 本接口(ActivateInstance)用于恢复已隔离的实例访问。
可能返回的错误码:
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 ¶ added in v1.0.482
func (c *Client) AddClusterSlaveZone(request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
AddClusterSlaveZone 开启多可用区部署
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AddClusterSlaveZoneWithContext ¶ added in v1.0.482
func (c *Client) AddClusterSlaveZoneWithContext(ctx context.Context, request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)
AddClusterSlaveZone 开启多可用区部署
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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 本接口(AddInstances)用于集群添加实例
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) AddInstancesWithContext(ctx context.Context, request *AddInstancesRequest) (response *AddInstancesResponse, err error)
AddInstances 本接口(AddInstances)用于集群添加实例
可能返回的错误码:
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) AssociateSecurityGroups ¶ added in v1.0.349
func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups 安全组批量绑定云资源
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) AssociateSecurityGroupsWithContext ¶ added in v1.0.349
func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups 安全组批量绑定云资源
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) BindClusterResourcePackages ¶ added in v1.0.668
func (c *Client) BindClusterResourcePackages(request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, err error)
BindClusterResourcePackages 为集群绑定资源包
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) BindClusterResourcePackagesWithContext ¶ added in v1.0.668
func (c *Client) BindClusterResourcePackagesWithContext(ctx context.Context, request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, err error)
BindClusterResourcePackages 为集群绑定资源包
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseAuditService ¶ added in v1.0.571
func (c *Client) CloseAuditService(request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
CloseAuditService TDSQL-C for MySQL实例关闭审计服务
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) CloseAuditServiceWithContext ¶ added in v1.0.571
func (c *Client) CloseAuditServiceWithContext(ctx context.Context, request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)
CloseAuditService TDSQL-C for MySQL实例关闭审计服务
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) CloseClusterPasswordComplexity ¶ added in v1.0.664
func (c *Client) CloseClusterPasswordComplexity(request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)
CloseClusterPasswordComplexity 本接口(CloseClusterPasswordComplexity)用于关闭集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseClusterPasswordComplexityWithContext ¶ added in v1.0.664
func (c *Client) CloseClusterPasswordComplexityWithContext(ctx context.Context, request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)
CloseClusterPasswordComplexity 本接口(CloseClusterPasswordComplexity)用于关闭集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseProxy ¶ added in v1.0.683
func (c *Client) CloseProxy(request *CloseProxyRequest) (response *CloseProxyResponse, err error)
CloseProxy 关闭数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseProxyWithContext ¶ added in v1.0.683
func (c *Client) CloseProxyWithContext(ctx context.Context, request *CloseProxyRequest) (response *CloseProxyResponse, err error)
CloseProxy 关闭数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseWan ¶ added in v1.0.664
func (c *Client) CloseWan(request *CloseWanRequest) (response *CloseWanResponse, err error)
CloseWan 本接口(CloseWan)用于关闭外网
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseWanWithContext ¶ added in v1.0.664
func (c *Client) CloseWanWithContext(ctx context.Context, request *CloseWanRequest) (response *CloseWanResponse, err error)
CloseWan 本接口(CloseWan)用于关闭外网
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CopyClusterPasswordComplexity ¶ added in v1.0.664
func (c *Client) CopyClusterPasswordComplexity(request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, err error)
CopyClusterPasswordComplexity 本接口(CopyClusterPasswordComplexity)用于复制集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CopyClusterPasswordComplexityWithContext ¶ added in v1.0.664
func (c *Client) CopyClusterPasswordComplexityWithContext(ctx context.Context, request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, err error)
CopyClusterPasswordComplexity 本接口(CopyClusterPasswordComplexity)用于复制集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAccounts ¶ added in v1.0.373
func (c *Client) CreateAccounts(request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
CreateAccounts 创建用户账号
可能返回的错误码:
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 ¶ added in v1.0.373
func (c *Client) CreateAccountsWithContext(ctx context.Context, request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)
CreateAccounts 创建用户账号
可能返回的错误码:
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) CreateAuditLogFile ¶ added in v1.0.515
func (c *Client) CreateAuditLogFile(request *CreateAuditLogFileRequest) (response *CreateAuditLogFileResponse, err error)
CreateAuditLogFile 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
可能返回的错误码:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_AUDITPOLICYNOTEXISTERROR = "OperationDenied.AuditPolicyNotExistError"
func (*Client) CreateAuditLogFileWithContext ¶ added in v1.0.515
func (c *Client) CreateAuditLogFileWithContext(ctx context.Context, request *CreateAuditLogFileRequest) (response *CreateAuditLogFileResponse, err error)
CreateAuditLogFile 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
可能返回的错误码:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_AUDITPOLICYNOTEXISTERROR = "OperationDenied.AuditPolicyNotExistError"
func (*Client) CreateAuditRuleTemplate ¶ added in v1.0.571
func (c *Client) CreateAuditRuleTemplate(request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
CreateAuditRuleTemplate 创建审计规则模板
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) CreateAuditRuleTemplateWithContext ¶ added in v1.0.571
func (c *Client) CreateAuditRuleTemplateWithContext(ctx context.Context, request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)
CreateAuditRuleTemplate 创建审计规则模板
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) CreateBackup ¶ added in v1.0.493
func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup 为集群创建手动备份
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackupWithContext ¶ added in v1.0.493
func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup 为集群创建手动备份
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateCLSDelivery ¶ added in v1.0.918
func (c *Client) CreateCLSDelivery(request *CreateCLSDeliveryRequest) (response *CreateCLSDeliveryResponse, err error)
CreateCLSDelivery 创建日志投递
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateCLSDeliveryWithContext ¶ added in v1.0.918
func (c *Client) CreateCLSDeliveryWithContext(ctx context.Context, request *CreateCLSDeliveryRequest) (response *CreateCLSDeliveryResponse, err error)
CreateCLSDelivery 创建日志投递
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateClusterDatabase ¶ added in v1.0.664
func (c *Client) CreateClusterDatabase(request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, err error)
CreateClusterDatabase 创建数据库
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateClusterDatabaseWithContext ¶ added in v1.0.664
func (c *Client) CreateClusterDatabaseWithContext(ctx context.Context, request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, err error)
CreateClusterDatabase 创建数据库
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateClusters ¶
func (c *Client) CreateClusters(request *CreateClustersRequest) (response *CreateClustersResponse, err error)
CreateClusters 购买新集群
可能返回的错误码:
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_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" 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 ¶ added in v1.0.324
func (c *Client) CreateClustersWithContext(ctx context.Context, request *CreateClustersRequest) (response *CreateClustersResponse, err error)
CreateClusters 购买新集群
可能返回的错误码:
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_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" 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) CreateParamTemplate ¶ added in v1.0.664
func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
CreateParamTemplate 本接口(CreateParamTemplate)用于创建参数模板
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateParamTemplateWithContext ¶ added in v1.0.664
func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
CreateParamTemplate 本接口(CreateParamTemplate)用于创建参数模板
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateProxy ¶ added in v1.0.683
func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)
CreateProxy 创建数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateProxyEndPoint ¶ added in v1.0.683
func (c *Client) CreateProxyEndPoint(request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)
CreateProxyEndPoint 创建数据库代理连接点
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateProxyEndPointWithContext ¶ added in v1.0.683
func (c *Client) CreateProxyEndPointWithContext(ctx context.Context, request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)
CreateProxyEndPoint 创建数据库代理连接点
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateProxyWithContext ¶ added in v1.0.683
func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, err error)
CreateProxy 创建数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateResourcePackage ¶ added in v1.0.668
func (c *Client) CreateResourcePackage(request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)
CreateResourcePackage 新购资源包
可能返回的错误码:
FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateResourcePackageWithContext ¶ added in v1.0.668
func (c *Client) CreateResourcePackageWithContext(ctx context.Context, request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)
CreateResourcePackage 新购资源包
可能返回的错误码:
FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAccounts ¶ added in v1.0.664
func (c *Client) DeleteAccounts(request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
DeleteAccounts 删除用户账号
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAccountsWithContext ¶ added in v1.0.664
func (c *Client) DeleteAccountsWithContext(ctx context.Context, request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
DeleteAccounts 删除用户账号
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAuditLogFile ¶ added in v1.0.515
func (c *Client) DeleteAuditLogFile(request *DeleteAuditLogFileRequest) (response *DeleteAuditLogFileResponse, err error)
DeleteAuditLogFile 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAuditLogFileWithContext ¶ added in v1.0.515
func (c *Client) DeleteAuditLogFileWithContext(ctx context.Context, request *DeleteAuditLogFileRequest) (response *DeleteAuditLogFileResponse, err error)
DeleteAuditLogFile 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAuditRuleTemplates ¶ added in v1.0.571
func (c *Client) DeleteAuditRuleTemplates(request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
DeleteAuditRuleTemplates 删除审计规则模板
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DeleteAuditRuleTemplatesWithContext ¶ added in v1.0.571
func (c *Client) DeleteAuditRuleTemplatesWithContext(ctx context.Context, request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)
DeleteAuditRuleTemplates 删除审计规则模板
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DeleteBackup ¶ added in v1.0.527
func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup 为集群删除手动备份,无法删除自动备份
可能返回的错误码:
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 ¶ added in v1.0.527
func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup 为集群删除手动备份,无法删除自动备份
可能返回的错误码:
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) DeleteCLSDelivery ¶ added in v1.0.918
func (c *Client) DeleteCLSDelivery(request *DeleteCLSDeliveryRequest) (response *DeleteCLSDeliveryResponse, err error)
DeleteCLSDelivery 删除日志投递
可能返回的错误码:
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteCLSDeliveryWithContext ¶ added in v1.0.918
func (c *Client) DeleteCLSDeliveryWithContext(ctx context.Context, request *DeleteCLSDeliveryRequest) (response *DeleteCLSDeliveryResponse, err error)
DeleteCLSDelivery 删除日志投递
可能返回的错误码:
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteClusterDatabase ¶ added in v1.0.664
func (c *Client) DeleteClusterDatabase(request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)
DeleteClusterDatabase 删除数据库
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteClusterDatabaseWithContext ¶ added in v1.0.664
func (c *Client) DeleteClusterDatabaseWithContext(ctx context.Context, request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)
DeleteClusterDatabase 删除数据库
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteParamTemplate ¶ added in v1.0.664
func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
DeleteParamTemplate 本接口(DeleteParamTemplate)用于删除用户创建的参数模板。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DeleteParamTemplateWithContext ¶ added in v1.0.664
func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
DeleteParamTemplate 本接口(DeleteParamTemplate)用于删除用户创建的参数模板。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeAccountAllGrantPrivileges ¶ added in v1.0.349
func (c *Client) DescribeAccountAllGrantPrivileges(request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error)
DescribeAccountAllGrantPrivileges 查询账号所有可授予权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_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_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccountAllGrantPrivilegesWithContext ¶ added in v1.0.349
func (c *Client) DescribeAccountAllGrantPrivilegesWithContext(ctx context.Context, request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error)
DescribeAccountAllGrantPrivileges 查询账号所有可授予权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_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_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccountPrivileges ¶ added in v1.0.664
func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges 查询账号已有权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccountPrivilegesWithContext ¶ added in v1.0.664
func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges 查询账号已有权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 本接口(DescribeAccounts)用于查询数据库账号列表
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 本接口(DescribeAccounts)用于查询数据库账号列表
可能返回的错误码:
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) DescribeAuditInstanceList ¶ added in v1.0.849
func (c *Client) DescribeAuditInstanceList(request *DescribeAuditInstanceListRequest) (response *DescribeAuditInstanceListResponse, err error)
DescribeAuditInstanceList 获取审计实例列表
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) DescribeAuditInstanceListWithContext ¶ added in v1.0.849
func (c *Client) DescribeAuditInstanceListWithContext(ctx context.Context, request *DescribeAuditInstanceListRequest) (response *DescribeAuditInstanceListResponse, err error)
DescribeAuditInstanceList 获取审计实例列表
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) DescribeAuditLogFiles ¶ added in v1.0.515
func (c *Client) DescribeAuditLogFiles(request *DescribeAuditLogFilesRequest) (response *DescribeAuditLogFilesResponse, err error)
DescribeAuditLogFiles 本接口(DescribeAuditLogFiles)用于查询云数据库实例的审计日志文件。
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) DescribeAuditLogFilesWithContext ¶ added in v1.0.515
func (c *Client) DescribeAuditLogFilesWithContext(ctx context.Context, request *DescribeAuditLogFilesRequest) (response *DescribeAuditLogFilesResponse, err error)
DescribeAuditLogFiles 本接口(DescribeAuditLogFiles)用于查询云数据库实例的审计日志文件。
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) DescribeAuditLogs ¶ added in v1.0.515
func (c *Client) DescribeAuditLogs(request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error)
DescribeAuditLogs 本接口(DescribeAuditLogs)用于查询数据库审计日志。
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeAuditLogsWithContext ¶ added in v1.0.515
func (c *Client) DescribeAuditLogsWithContext(ctx context.Context, request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error)
DescribeAuditLogs 本接口(DescribeAuditLogs)用于查询数据库审计日志。
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeAuditRuleTemplates ¶ added in v1.0.571
func (c *Client) DescribeAuditRuleTemplates(request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
DescribeAuditRuleTemplates 查询审计规则模板信息
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeAuditRuleTemplatesWithContext ¶ added in v1.0.571
func (c *Client) DescribeAuditRuleTemplatesWithContext(ctx context.Context, request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)
DescribeAuditRuleTemplates 查询审计规则模板信息
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeAuditRuleWithInstanceIds ¶ added in v1.0.571
func (c *Client) DescribeAuditRuleWithInstanceIds(request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
DescribeAuditRuleWithInstanceIds 获取实例的审计规则
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DescribeAuditRuleWithInstanceIdsWithContext ¶ added in v1.0.571
func (c *Client) DescribeAuditRuleWithInstanceIdsWithContext(ctx context.Context, request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)
DescribeAuditRuleWithInstanceIds 获取实例的审计规则
可能返回的错误码:
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) DescribeBackupConfig ¶
func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
可能返回的错误码:
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 ¶ added in v1.0.434
func (c *Client) DescribeBackupDownloadUrl(request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
DescribeBackupDownloadUrl 此接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupDownloadUrlWithContext ¶ added in v1.0.434
func (c *Client) DescribeBackupDownloadUrlWithContext(ctx context.Context, request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)
DescribeBackupDownloadUrl 此接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupList ¶
func (c *Client) DescribeBackupList(request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
DescribeBackupList 查询备份文件列表
可能返回的错误码:
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupListWithContext ¶ added in v1.0.324
func (c *Client) DescribeBackupListWithContext(ctx context.Context, request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)
DescribeBackupList 查询备份文件列表
可能返回的错误码:
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogDownloadUrl ¶ added in v1.0.434
func (c *Client) DescribeBinlogDownloadUrl(request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
DescribeBinlogDownloadUrl 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogDownloadUrlWithContext ¶ added in v1.0.434
func (c *Client) DescribeBinlogDownloadUrlWithContext(ctx context.Context, request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)
DescribeBinlogDownloadUrl 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogSaveDays ¶ added in v1.0.434
func (c *Client) DescribeBinlogSaveDays(request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
DescribeBinlogSaveDays 此接口(DescribeBinlogSaveDays)用于查询集群的Binlog保留天数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogSaveDaysWithContext ¶ added in v1.0.434
func (c *Client) DescribeBinlogSaveDaysWithContext(ctx context.Context, request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)
DescribeBinlogSaveDays 此接口(DescribeBinlogSaveDays)用于查询集群的Binlog保留天数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogs ¶ added in v1.0.434
func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs 此接口(DescribeBinlogs)用来查询集群Binlog日志列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBinlogsWithContext ¶ added in v1.0.434
func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs 此接口(DescribeBinlogs)用来查询集群Binlog日志列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeChangedParamsAfterUpgrade ¶ added in v1.0.910
func (c *Client) DescribeChangedParamsAfterUpgrade(request *DescribeChangedParamsAfterUpgradeRequest) (response *DescribeChangedParamsAfterUpgradeResponse, err error)
DescribeChangedParamsAfterUpgrade 本接口(DescribeChangedParamsAfterUpgrade)用于查询升降配运行参数对比
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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) DescribeChangedParamsAfterUpgradeWithContext ¶ added in v1.0.910
func (c *Client) DescribeChangedParamsAfterUpgradeWithContext(ctx context.Context, request *DescribeChangedParamsAfterUpgradeRequest) (response *DescribeChangedParamsAfterUpgradeResponse, err error)
DescribeChangedParamsAfterUpgrade 本接口(DescribeChangedParamsAfterUpgrade)用于查询升降配运行参数对比
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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) DescribeClusterDatabases ¶ added in v1.0.792
func (c *Client) DescribeClusterDatabases(request *DescribeClusterDatabasesRequest) (response *DescribeClusterDatabasesResponse, err error)
DescribeClusterDatabases 获取集群数据库列表
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDatabasesWithContext ¶ added in v1.0.792
func (c *Client) DescribeClusterDatabasesWithContext(ctx context.Context, request *DescribeClusterDatabasesRequest) (response *DescribeClusterDatabasesResponse, err error)
DescribeClusterDatabases 获取集群数据库列表
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDetail ¶
func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail 该接口(DescribeClusterDetail)显示集群详情
可能返回的错误码:
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) DescribeClusterDetailDatabases ¶ added in v1.0.664
func (c *Client) DescribeClusterDetailDatabases(request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)
DescribeClusterDetailDatabases 查询数据库列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDetailDatabasesWithContext ¶ added in v1.0.664
func (c *Client) DescribeClusterDetailDatabasesWithContext(ctx context.Context, request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)
DescribeClusterDetailDatabases 查询数据库列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail 该接口(DescribeClusterDetail)显示集群详情
可能返回的错误码:
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) DescribeClusterInstanceGroups ¶ added in v1.0.862
func (c *Client) DescribeClusterInstanceGroups(request *DescribeClusterInstanceGroupsRequest) (response *DescribeClusterInstanceGroupsResponse, err error)
DescribeClusterInstanceGroups 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterInstanceGroupsWithContext ¶ added in v1.0.862
func (c *Client) DescribeClusterInstanceGroupsWithContext(ctx context.Context, request *DescribeClusterInstanceGroupsRequest) (response *DescribeClusterInstanceGroupsResponse, err error)
DescribeClusterInstanceGroups 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterInstanceGrps ¶
func (c *Client) DescribeClusterInstanceGrps(request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
DescribeClusterInstanceGrps 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。 该接口已废弃,推荐使用DescribeClusterInstanceGroups
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterInstanceGrpsWithContext ¶ added in v1.0.324
func (c *Client) DescribeClusterInstanceGrpsWithContext(ctx context.Context, request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)
DescribeClusterInstanceGrps 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。 该接口已废弃,推荐使用DescribeClusterInstanceGroups
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterParamLogs ¶ added in v1.0.349
func (c *Client) DescribeClusterParamLogs(request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, err error)
DescribeClusterParamLogs 本接口(DescribeClusterParamLogs)查询参数修改记录
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterParamLogsWithContext ¶ added in v1.0.349
func (c *Client) DescribeClusterParamLogsWithContext(ctx context.Context, request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, err error)
DescribeClusterParamLogs 本接口(DescribeClusterParamLogs)查询参数修改记录
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterParams ¶ added in v1.0.482
func (c *Client) DescribeClusterParams(request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
DescribeClusterParams 本接口(DescribeClusterParams)用于查询集群参数
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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 ¶ added in v1.0.482
func (c *Client) DescribeClusterParamsWithContext(ctx context.Context, request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)
DescribeClusterParams 本接口(DescribeClusterParams)用于查询集群参数
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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) DescribeClusterPasswordComplexity ¶ added in v1.0.664
func (c *Client) DescribeClusterPasswordComplexity(request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, err error)
DescribeClusterPasswordComplexity 本接口(DescribeClusterPasswordComplexity)用于查看集群密码复杂度详情
可能返回的错误码:
FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusterPasswordComplexityWithContext ¶ added in v1.0.664
func (c *Client) DescribeClusterPasswordComplexityWithContext(ctx context.Context, request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, err error)
DescribeClusterPasswordComplexity 本接口(DescribeClusterPasswordComplexity)用于查看集群密码复杂度详情
可能返回的错误码:
FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters 查询集群列表
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeClustersWithContext ¶ added in v1.0.324
func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters 查询集群列表
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" 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 查询实例安全组信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups 查询实例安全组信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeFlow ¶ added in v1.0.589
func (c *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
DescribeFlow 本接口(DescribeFlow)用于查询任务流信息
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeFlowWithContext ¶ added in v1.0.589
func (c *Client) DescribeFlowWithContext(ctx context.Context, request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
DescribeFlow 本接口(DescribeFlow)用于查询任务流信息
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceCLSLogDelivery ¶ added in v1.0.918
func (c *Client) DescribeInstanceCLSLogDelivery(request *DescribeInstanceCLSLogDeliveryRequest) (response *DescribeInstanceCLSLogDeliveryResponse, err error)
DescribeInstanceCLSLogDelivery 查询实例日志投递信息
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceCLSLogDeliveryWithContext ¶ added in v1.0.918
func (c *Client) DescribeInstanceCLSLogDeliveryWithContext(ctx context.Context, request *DescribeInstanceCLSLogDeliveryRequest) (response *DescribeInstanceCLSLogDeliveryResponse, err error)
DescribeInstanceCLSLogDelivery 查询实例日志投递信息
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceDetail ¶
func (c *Client) DescribeInstanceDetail(request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
DescribeInstanceDetail 本接口(DescribeInstanceDetail)用于查询实例详情。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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 ¶ added in v1.0.324
func (c *Client) DescribeInstanceDetailWithContext(ctx context.Context, request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)
DescribeInstanceDetail 本接口(DescribeInstanceDetail)用于查询实例详情。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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) DescribeInstanceErrorLogs ¶ added in v1.0.654
func (c *Client) DescribeInstanceErrorLogs(request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)
DescribeInstanceErrorLogs 查询实例错误日志列表
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceErrorLogsWithContext ¶ added in v1.0.654
func (c *Client) DescribeInstanceErrorLogsWithContext(ctx context.Context, request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)
DescribeInstanceErrorLogs 查询实例错误日志列表
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParams ¶ added in v1.0.664
func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams 该接口(DescribeInstanceParams)查询实例参数列表
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParamsWithContext ¶ added in v1.0.664
func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams 该接口(DescribeInstanceParams)查询实例参数列表
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSlowQueries ¶ added in v1.0.434
func (c *Client) DescribeInstanceSlowQueries(request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
DescribeInstanceSlowQueries 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSlowQueriesWithContext ¶ added in v1.0.434
func (c *Client) DescribeInstanceSlowQueriesWithContext(ctx context.Context, request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)
DescribeInstanceSlowQueries 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSpecs ¶
func (c *Client) DescribeInstanceSpecs(request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
DescribeInstanceSpecs 本接口(DescribeInstanceSpecs)用于查询购买页可购买的实例规格
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceSpecsWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstanceSpecsWithContext(ctx context.Context, request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)
DescribeInstanceSpecs 本接口(DescribeInstanceSpecs)用于查询购买页可购买的实例规格
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 本接口(DescribeInstances)用于查询实例列表。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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 ¶ added in v1.0.324
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 本接口(DescribeInstances)用于查询实例列表。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" 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 查询实例维护时间窗
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMaintainPeriodWithContext ¶ added in v1.0.324
func (c *Client) DescribeMaintainPeriodWithContext(ctx context.Context, request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)
DescribeMaintainPeriod 查询实例维护时间窗
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplateDetail ¶ added in v1.0.664
func (c *Client) DescribeParamTemplateDetail(request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, err error)
DescribeParamTemplateDetail 本接口(DescribeParamTemplateDetail)用于查询用户参数模板详情
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplateDetailWithContext ¶ added in v1.0.664
func (c *Client) DescribeParamTemplateDetailWithContext(ctx context.Context, request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, err error)
DescribeParamTemplateDetail 本接口(DescribeParamTemplateDetail)用于查询用户参数模板详情
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplates ¶ added in v1.0.450
func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates 查询用户指定产品下的所有参数模板信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeParamTemplatesWithContext ¶ added in v1.0.450
func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates 查询用户指定产品下的所有参数模板信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProjectSecurityGroups ¶
func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups 查询项目安全组信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR = "InternalError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProjectSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups 查询项目安全组信息
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR = "InternalError" INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProxies ¶ added in v1.0.683
func (c *Client) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
DescribeProxies 查询数据库代理列表
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" 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) DescribeProxiesWithContext ¶ added in v1.0.683
func (c *Client) DescribeProxiesWithContext(ctx context.Context, request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
DescribeProxies 查询数据库代理列表
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" 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) DescribeProxyNodes ¶ added in v1.0.683
func (c *Client) DescribeProxyNodes(request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)
DescribeProxyNodes 本接口(DescribeProxyNodes)用于查询代理节点列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProxyNodesWithContext ¶ added in v1.0.683
func (c *Client) DescribeProxyNodesWithContext(ctx context.Context, request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)
DescribeProxyNodes 本接口(DescribeProxyNodes)用于查询代理节点列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProxySpecs ¶ added in v1.0.686
func (c *Client) DescribeProxySpecs(request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)
DescribeProxySpecs 查询数据库代理规格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
func (*Client) DescribeProxySpecsWithContext ¶ added in v1.0.686
func (c *Client) DescribeProxySpecsWithContext(ctx context.Context, request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)
DescribeProxySpecs 查询数据库代理规格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
func (*Client) DescribeResourcePackageDetail ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageDetail(request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)
DescribeResourcePackageDetail 查询资源包使用详情
可能返回的错误码:
FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcePackageDetailWithContext ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageDetailWithContext(ctx context.Context, request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)
DescribeResourcePackageDetail 查询资源包使用详情
可能返回的错误码:
FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcePackageList ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageList(request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)
DescribeResourcePackageList 查询资源包列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcePackageListWithContext ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageListWithContext(ctx context.Context, request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)
DescribeResourcePackageList 查询资源包列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcePackageSaleSpec ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageSaleSpec(request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, err error)
DescribeResourcePackageSaleSpec 查询资源包规格
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcePackageSaleSpecWithContext ¶ added in v1.0.668
func (c *Client) DescribeResourcePackageSaleSpecWithContext(ctx context.Context, request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, err error)
DescribeResourcePackageSaleSpec 查询资源包规格
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcesByDealName ¶
func (c *Client) DescribeResourcesByDealName(request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
DescribeResourcesByDealName 查询订单关联实例
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeResourcesByDealNameWithContext ¶ added in v1.0.324
func (c *Client) DescribeResourcesByDealNameWithContext(ctx context.Context, request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)
DescribeResourcesByDealName 查询订单关联实例
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeRange ¶
func (c *Client) DescribeRollbackTimeRange(request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
DescribeRollbackTimeRange 查询回档时间范围
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeRangeWithContext ¶ added in v1.0.324
func (c *Client) DescribeRollbackTimeRangeWithContext(ctx context.Context, request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)
DescribeRollbackTimeRange 查询回档时间范围
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" 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 指定时间和集群查询是否可回滚
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeValidityWithContext ¶ added in v1.0.324
func (c *Client) DescribeRollbackTimeValidityWithContext(ctx context.Context, request *DescribeRollbackTimeValidityRequest) (response *DescribeRollbackTimeValidityResponse, err error)
DescribeRollbackTimeValidity 指定时间和集群查询是否可回滚
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeSupportProxyVersion ¶ added in v1.0.687
func (c *Client) DescribeSupportProxyVersion(request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)
DescribeSupportProxyVersion 查询支持的数据库代理版本
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeSupportProxyVersionWithContext ¶ added in v1.0.687
func (c *Client) DescribeSupportProxyVersionWithContext(ctx context.Context, request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)
DescribeSupportProxyVersion 查询支持的数据库代理版本
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeTasks ¶ added in v1.0.859
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 查询任务列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeTasksWithContext ¶ added in v1.0.859
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 查询任务列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeZones ¶ added in v1.0.595
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 本接口(DescribeZones)用于查询可售卖地域可用区信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeZonesWithContext ¶ added in v1.0.595
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 本接口(DescribeZones)用于查询可售卖地域可用区信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DisassociateSecurityGroups ¶ added in v1.0.349
func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups 安全组批量解绑云资源
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DisassociateSecurityGroupsWithContext ¶ added in v1.0.349
func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups 安全组批量解绑云资源
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceErrorLogs ¶ added in v1.0.654
func (c *Client) ExportInstanceErrorLogs(request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, err error)
ExportInstanceErrorLogs 此接口(ExportInstanceErrorLogs)用于导出实例错误日志。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceErrorLogsWithContext ¶ added in v1.0.654
func (c *Client) ExportInstanceErrorLogsWithContext(ctx context.Context, request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, err error)
ExportInstanceErrorLogs 此接口(ExportInstanceErrorLogs)用于导出实例错误日志。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceSlowQueries ¶ added in v1.0.434
func (c *Client) ExportInstanceSlowQueries(request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
ExportInstanceSlowQueries 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ExportInstanceSlowQueriesWithContext ¶ added in v1.0.434
func (c *Client) ExportInstanceSlowQueriesWithContext(ctx context.Context, request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)
ExportInstanceSlowQueries 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) GrantAccountPrivileges ¶ added in v1.0.349
func (c *Client) GrantAccountPrivileges(request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error)
GrantAccountPrivileges 批量授权账号权限
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DESCRIBEACCOUNTPRIVILEGESERROR = "FailedOperation.DescribeAccountPrivilegesError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) GrantAccountPrivilegesWithContext ¶ added in v1.0.349
func (c *Client) GrantAccountPrivilegesWithContext(ctx context.Context, request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error)
GrantAccountPrivileges 批量授权账号权限
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DESCRIBEACCOUNTPRIVILEGESERROR = "FailedOperation.DescribeAccountPrivilegesError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) InquirePriceCreate ¶ added in v1.0.449
func (c *Client) InquirePriceCreate(request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
InquirePriceCreate 查询新购集群价格
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceCreateWithContext ¶ added in v1.0.449
func (c *Client) InquirePriceCreateWithContext(ctx context.Context, request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)
InquirePriceCreate 查询新购集群价格
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquirePriceRenew ¶ added in v1.0.450
func (c *Client) InquirePriceRenew(request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
InquirePriceRenew 查询续费集群价格
可能返回的错误码:
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 ¶ added in v1.0.450
func (c *Client) InquirePriceRenewWithContext(ctx context.Context, request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)
InquirePriceRenew 查询续费集群价格
可能返回的错误码:
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 隔离集群
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) IsolateClusterWithContext(ctx context.Context, request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)
IsolateCluster 隔离集群
可能返回的错误码:
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 本接口(IsolateInstance)用于隔离实例。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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 ¶ added in v1.0.324
func (c *Client) IsolateInstanceWithContext(ctx context.Context, request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)
IsolateInstance 本接口(IsolateInstance)用于隔离实例。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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) ModifyAccountDescription ¶ added in v1.0.664
func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
ModifyAccountDescription 本接口(ModifyAccountDescription)用于修改数据库账号描述信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountDescriptionWithContext ¶ added in v1.0.664
func (c *Client) ModifyAccountDescriptionWithContext(ctx context.Context, request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
ModifyAccountDescription 本接口(ModifyAccountDescription)用于修改数据库账号描述信息。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountHost ¶ added in v1.0.664
func (c *Client) ModifyAccountHost(request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)
ModifyAccountHost 修改账号主机
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountHostWithContext ¶ added in v1.0.664
func (c *Client) ModifyAccountHostWithContext(ctx context.Context, request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)
ModifyAccountHost 修改账号主机
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountParams ¶ added in v1.0.349
func (c *Client) ModifyAccountParams(request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error)
ModifyAccountParams 修改账号配置
可能返回的错误码:
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_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_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) ModifyAccountParamsWithContext ¶ added in v1.0.349
func (c *Client) ModifyAccountParamsWithContext(ctx context.Context, request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error)
ModifyAccountParams 修改账号配置
可能返回的错误码:
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_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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_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) ModifyAccountPrivileges ¶ added in v1.0.664
func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges 修改账号库表权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) ModifyAccountPrivilegesWithContext ¶ added in v1.0.664
func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges 修改账号库表权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) ModifyAuditRuleTemplates ¶ added in v1.0.571
func (c *Client) ModifyAuditRuleTemplates(request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
ModifyAuditRuleTemplates 修改审计规则模板
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) ModifyAuditRuleTemplatesWithContext ¶ added in v1.0.571
func (c *Client) ModifyAuditRuleTemplatesWithContext(ctx context.Context, request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)
ModifyAuditRuleTemplates 修改审计规则模板
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) ModifyAuditService ¶ added in v1.0.571
func (c *Client) ModifyAuditService(request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
ModifyAuditService 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置。
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) ModifyAuditServiceWithContext ¶ added in v1.0.571
func (c *Client) ModifyAuditServiceWithContext(ctx context.Context, request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)
ModifyAuditService 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置。
可能返回的错误码:
INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) ModifyBackupConfig ¶
func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig 修改指定集群的备份配置
可能返回的错误码:
FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig 修改指定集群的备份配置
可能返回的错误码:
FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupName ¶ added in v1.0.434
func (c *Client) ModifyBackupName(request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
ModifyBackupName 此接口(ModifyBackupName)用于修改备份文件备注名。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupNameWithContext ¶ added in v1.0.434
func (c *Client) ModifyBackupNameWithContext(ctx context.Context, request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)
ModifyBackupName 此接口(ModifyBackupName)用于修改备份文件备注名。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBinlogSaveDays ¶ added in v1.0.664
func (c *Client) ModifyBinlogSaveDays(request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)
ModifyBinlogSaveDays 此接口(ModifyBinlogSaveDays)用于修改集群Binlog保留天数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBinlogSaveDaysWithContext ¶ added in v1.0.664
func (c *Client) ModifyBinlogSaveDaysWithContext(ctx context.Context, request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)
ModifyBinlogSaveDays 此接口(ModifyBinlogSaveDays)用于修改集群Binlog保留天数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterDatabase ¶ added in v1.0.664
func (c *Client) ModifyClusterDatabase(request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, err error)
ModifyClusterDatabase 修改数据库
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterDatabaseWithContext ¶ added in v1.0.664
func (c *Client) ModifyClusterDatabaseWithContext(ctx context.Context, request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, err error)
ModifyClusterDatabase 修改数据库
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterName ¶ added in v1.0.375
func (c *Client) ModifyClusterName(request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
ModifyClusterName 修改集群名称
可能返回的错误码:
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 ¶ added in v1.0.375
func (c *Client) ModifyClusterNameWithContext(ctx context.Context, request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
ModifyClusterName 修改集群名称
可能返回的错误码:
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 ¶ added in v1.0.278
func (c *Client) ModifyClusterParam(request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
ModifyClusterParam 修改集群参数
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyClusterParamWithContext(ctx context.Context, request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)
ModifyClusterParam 修改集群参数
可能返回的错误码:
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) ModifyClusterPasswordComplexity ¶ added in v1.0.664
func (c *Client) ModifyClusterPasswordComplexity(request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, err error)
ModifyClusterPasswordComplexity 本接口(ModifyClusterPasswordComplexity)用于修改/开启集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterPasswordComplexityWithContext ¶ added in v1.0.664
func (c *Client) ModifyClusterPasswordComplexityWithContext(ctx context.Context, request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, err error)
ModifyClusterPasswordComplexity 本接口(ModifyClusterPasswordComplexity)用于修改/开启集群密码复杂度
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterSlaveZone ¶ added in v1.0.482
func (c *Client) ModifyClusterSlaveZone(request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
ModifyClusterSlaveZone 变更备可用区
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterSlaveZoneWithContext ¶ added in v1.0.482
func (c *Client) ModifyClusterSlaveZoneWithContext(ctx context.Context, request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)
ModifyClusterSlaveZone 变更备可用区
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterStorage ¶ added in v1.0.493
func (c *Client) ModifyClusterStorage(request *ModifyClusterStorageRequest) (response *ModifyClusterStorageResponse, err error)
ModifyClusterStorage 调整包年包月存储容量
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyClusterStorageWithContext ¶ added in v1.0.493
func (c *Client) ModifyClusterStorageWithContext(ctx context.Context, request *ModifyClusterStorageRequest) (response *ModifyClusterStorageResponse, err error)
ModifyClusterStorage 调整包年包月存储容量
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceSecurityGroups ¶
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
可能返回的错误码:
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 ¶ added in v1.0.375
func (c *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
ModifyInstanceName 本接口(ModifyInstanceName)用于修改实例名称。
可能返回的错误码:
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 ¶ added in v1.0.375
func (c *Client) ModifyInstanceNameWithContext(ctx context.Context, request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
ModifyInstanceName 本接口(ModifyInstanceName)用于修改实例名称。
可能返回的错误码:
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) ModifyInstanceParam ¶ added in v1.0.664
func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam 本接口(ModifyInstanceParam)用于修改实例参数。
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyInstanceParamWithContext ¶ added in v1.0.664
func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam 本接口(ModifyInstanceParam)用于修改实例参数。
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyInstanceUpgradeLimitDays ¶ added in v1.0.907
func (c *Client) ModifyInstanceUpgradeLimitDays(request *ModifyInstanceUpgradeLimitDaysRequest) (response *ModifyInstanceUpgradeLimitDaysResponse, err error)
ModifyInstanceUpgradeLimitDays 修改实例小版本升级限制时间
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyInstanceUpgradeLimitDaysWithContext ¶ added in v1.0.907
func (c *Client) ModifyInstanceUpgradeLimitDaysWithContext(ctx context.Context, request *ModifyInstanceUpgradeLimitDaysRequest) (response *ModifyInstanceUpgradeLimitDaysResponse, err error)
ModifyInstanceUpgradeLimitDays 修改实例小版本升级限制时间
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyMaintainPeriodConfig ¶
func (c *Client) ModifyMaintainPeriodConfig(request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
ModifyMaintainPeriodConfig 修改维护时间配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyMaintainPeriodConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyMaintainPeriodConfigWithContext(ctx context.Context, request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)
ModifyMaintainPeriodConfig 修改维护时间配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyParamTemplate ¶ added in v1.0.664
func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate 本接口(ModifyParamTemplate)用于修改用户参数模板。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyParamTemplateWithContext ¶ added in v1.0.664
func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate 本接口(ModifyParamTemplate)用于修改用户参数模板。
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyProxyDesc ¶ added in v1.0.683
func (c *Client) ModifyProxyDesc(request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)
ModifyProxyDesc 修改数据库代理描述
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyProxyDescWithContext ¶ added in v1.0.683
func (c *Client) ModifyProxyDescWithContext(ctx context.Context, request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)
ModifyProxyDesc 修改数据库代理描述
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyProxyRwSplit ¶ added in v1.0.683
func (c *Client) ModifyProxyRwSplit(request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)
ModifyProxyRwSplit 配置数据库代理读写分离
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyProxyRwSplitWithContext ¶ added in v1.0.683
func (c *Client) ModifyProxyRwSplitWithContext(ctx context.Context, request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)
ModifyProxyRwSplit 配置数据库代理读写分离
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyResourcePackageClusters ¶ added in v1.0.668
func (c *Client) ModifyResourcePackageClusters(request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)
ModifyResourcePackageClusters 给资源包绑定集群
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyResourcePackageClustersWithContext ¶ added in v1.0.668
func (c *Client) ModifyResourcePackageClustersWithContext(ctx context.Context, request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)
ModifyResourcePackageClusters 给资源包绑定集群
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyResourcePackageName ¶ added in v1.0.668
func (c *Client) ModifyResourcePackageName(request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)
ModifyResourcePackageName 修改资源包名称
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyResourcePackageNameWithContext ¶ added in v1.0.668
func (c *Client) ModifyResourcePackageNameWithContext(ctx context.Context, request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)
ModifyResourcePackageName 修改资源包名称
可能返回的错误码:
FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyVipVport ¶ added in v1.0.599
func (c *Client) ModifyVipVport(request *ModifyVipVportRequest) (response *ModifyVipVportResponse, err error)
ModifyVipVport 修改实例组ip,端口
可能返回的错误码:
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) ModifyVipVportWithContext ¶ added in v1.0.599
func (c *Client) ModifyVipVportWithContext(ctx context.Context, request *ModifyVipVportRequest) (response *ModifyVipVportResponse, err error)
ModifyVipVport 修改实例组ip,端口
可能返回的错误码:
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) OfflineCluster ¶
func (c *Client) OfflineCluster(request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
OfflineCluster 销毁集群
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) OfflineClusterWithContext(ctx context.Context, request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)
OfflineCluster 销毁集群
可能返回的错误码:
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 销毁实例
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) OfflineInstanceWithContext(ctx context.Context, request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)
OfflineInstance 销毁实例
可能返回的错误码:
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 ¶ added in v1.0.571
func (c *Client) OpenAuditService(request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
OpenAuditService TDSQL-C for MySQL实例开通审计服务
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) OpenAuditServiceWithContext ¶ added in v1.0.571
func (c *Client) OpenAuditServiceWithContext(ctx context.Context, request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)
OpenAuditService TDSQL-C for MySQL实例开通审计服务
可能返回的错误码:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) OpenClusterPasswordComplexity ¶ added in v1.0.664
func (c *Client) OpenClusterPasswordComplexity(request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)
OpenClusterPasswordComplexity 本接口(OpenClusterPasswordComplexity)用于开启自定义密码复杂度功能
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenClusterPasswordComplexityWithContext ¶ added in v1.0.664
func (c *Client) OpenClusterPasswordComplexityWithContext(ctx context.Context, request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)
OpenClusterPasswordComplexity 本接口(OpenClusterPasswordComplexity)用于开启自定义密码复杂度功能
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenClusterReadOnlyInstanceGroupAccess ¶ added in v1.0.713
func (c *Client) OpenClusterReadOnlyInstanceGroupAccess(request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)
OpenClusterReadOnlyInstanceGroupAccess 开启只读实例组接入
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenClusterReadOnlyInstanceGroupAccessWithContext ¶ added in v1.0.713
func (c *Client) OpenClusterReadOnlyInstanceGroupAccessWithContext(ctx context.Context, request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)
OpenClusterReadOnlyInstanceGroupAccess 开启只读实例组接入
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenReadOnlyInstanceExclusiveAccess ¶ added in v1.0.653
func (c *Client) OpenReadOnlyInstanceExclusiveAccess(request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)
OpenReadOnlyInstanceExclusiveAccess 开通只读实例独有访问接入组
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenReadOnlyInstanceExclusiveAccessWithContext ¶ added in v1.0.653
func (c *Client) OpenReadOnlyInstanceExclusiveAccessWithContext(ctx context.Context, request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)
OpenReadOnlyInstanceExclusiveAccess 开通只读实例独有访问接入组
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenWan ¶ added in v1.0.664
func (c *Client) OpenWan(request *OpenWanRequest) (response *OpenWanResponse, err error)
OpenWan 本接口(OpenWan)用于开通外网
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenWanWithContext ¶ added in v1.0.664
func (c *Client) OpenWanWithContext(ctx context.Context, request *OpenWanRequest) (response *OpenWanResponse, err error)
OpenWan 本接口(OpenWan)用于开通外网
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) PauseServerless ¶ added in v1.0.349
func (c *Client) PauseServerless(request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
PauseServerless 暂停serverless集群
可能返回的错误码:
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" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) PauseServerlessWithContext ¶ added in v1.0.349
func (c *Client) PauseServerlessWithContext(ctx context.Context, request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)
PauseServerless 暂停serverless集群
可能返回的错误码:
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" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RefundResourcePackage ¶ added in v1.0.668
func (c *Client) RefundResourcePackage(request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)
RefundResourcePackage 退款资源包
可能返回的错误码:
FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RefundResourcePackageWithContext ¶ added in v1.0.668
func (c *Client) RefundResourcePackageWithContext(ctx context.Context, request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)
RefundResourcePackage 退款资源包
可能返回的错误码:
FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ReloadBalanceProxyNode ¶ added in v1.0.683
func (c *Client) ReloadBalanceProxyNode(request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
ReloadBalanceProxyNode 负载均衡数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ReloadBalanceProxyNodeWithContext ¶ added in v1.0.683
func (c *Client) ReloadBalanceProxyNodeWithContext(ctx context.Context, request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
ReloadBalanceProxyNode 负载均衡数据库代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) RemoveClusterSlaveZone ¶ added in v1.0.482
func (c *Client) RemoveClusterSlaveZone(request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
RemoveClusterSlaveZone 关闭多可用区部署
可能返回的错误码:
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) RemoveClusterSlaveZoneWithContext ¶ added in v1.0.482
func (c *Client) RemoveClusterSlaveZoneWithContext(ctx context.Context, request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)
RemoveClusterSlaveZone 关闭多可用区部署
可能返回的错误码:
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) ResetAccountPassword ¶ added in v1.0.551
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword 本接口(ResetAccountPassword)用于修改数据库账号密码
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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 ¶ added in v1.0.551
func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword 本接口(ResetAccountPassword)用于修改数据库账号密码
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) RestartInstance ¶ added in v1.0.586
func (c *Client) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
RestartInstance 重启实例
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RestartInstanceWithContext ¶ added in v1.0.586
func (c *Client) RestartInstanceWithContext(ctx context.Context, request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
RestartInstance 重启实例
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResumeServerless ¶ added in v1.0.349
func (c *Client) ResumeServerless(request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
ResumeServerless 恢复serverless集群
可能返回的错误码:
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 ¶ added in v1.0.349
func (c *Client) ResumeServerlessWithContext(ctx context.Context, request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)
ResumeServerless 恢复serverless集群
可能返回的错误码:
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) RevokeAccountPrivileges ¶ added in v1.0.349
func (c *Client) RevokeAccountPrivileges(request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error)
RevokeAccountPrivileges 批量回收账号权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) RevokeAccountPrivilegesWithContext ¶ added in v1.0.349
func (c *Client) RevokeAccountPrivilegesWithContext(ctx context.Context, request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error)
RevokeAccountPrivileges 批量回收账号权限
可能返回的错误码:
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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" 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) RollBackCluster ¶ added in v1.0.349
func (c *Client) RollBackCluster(request *RollBackClusterRequest) (response *RollBackClusterResponse, err error)
RollBackCluster 本接口(RollBackCluster)用于集群回档
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RollBackClusterWithContext ¶ added in v1.0.349
func (c *Client) RollBackClusterWithContext(ctx context.Context, request *RollBackClusterRequest) (response *RollBackClusterResponse, err error)
RollBackCluster 本接口(RollBackCluster)用于集群回档
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RollbackToNewCluster ¶ added in v1.0.889
func (c *Client) RollbackToNewCluster(request *RollbackToNewClusterRequest) (response *RollbackToNewClusterResponse, err error)
RollbackToNewCluster 回档到新集群
可能返回的错误码:
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_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" 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) RollbackToNewClusterWithContext ¶ added in v1.0.889
func (c *Client) RollbackToNewClusterWithContext(ctx context.Context, request *RollbackToNewClusterRequest) (response *RollbackToNewClusterResponse, err error)
RollbackToNewCluster 回档到新集群
可能返回的错误码:
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_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" 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) SearchClusterDatabases ¶ added in v1.0.551
func (c *Client) SearchClusterDatabases(request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
SearchClusterDatabases 本接口(SearchClusterDatabases)搜索集群数据库列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterDatabasesWithContext ¶ added in v1.0.551
func (c *Client) SearchClusterDatabasesWithContext(ctx context.Context, request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)
SearchClusterDatabases 本接口(SearchClusterDatabases)搜索集群数据库列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterTables ¶ added in v1.0.551
func (c *Client) SearchClusterTables(request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
SearchClusterTables 本接口(SearchClusterTables)搜索集群数据表列表
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
func (*Client) SearchClusterTablesWithContext ¶ added in v1.0.551
func (c *Client) SearchClusterTablesWithContext(ctx context.Context, request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)
SearchClusterTables 本接口(SearchClusterTables)搜索集群数据表列表
可能返回的错误码:
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 SetRenewFlag设置实例的自动续费功能
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) SetRenewFlagWithContext(ctx context.Context, request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)
SetRenewFlag SetRenewFlag设置实例的自动续费功能
可能返回的错误码:
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) StartCLSDelivery ¶ added in v1.0.918
func (c *Client) StartCLSDelivery(request *StartCLSDeliveryRequest) (response *StartCLSDeliveryResponse, err error)
StartCLSDelivery 开启日志投递
可能返回的错误码:
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StartCLSDeliveryWithContext ¶ added in v1.0.918
func (c *Client) StartCLSDeliveryWithContext(ctx context.Context, request *StartCLSDeliveryRequest) (response *StartCLSDeliveryResponse, err error)
StartCLSDelivery 开启日志投递
可能返回的错误码:
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StopCLSDelivery ¶ added in v1.0.918
func (c *Client) StopCLSDelivery(request *StopCLSDeliveryRequest) (response *StopCLSDeliveryResponse, err error)
StopCLSDelivery 停止日志投递
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StopCLSDeliveryWithContext ¶ added in v1.0.918
func (c *Client) StopCLSDeliveryWithContext(ctx context.Context, request *StopCLSDeliveryRequest) (response *StopCLSDeliveryResponse, err error)
StopCLSDelivery 停止日志投递
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterVpc ¶ added in v1.0.597
func (c *Client) SwitchClusterVpc(request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, err error)
SwitchClusterVpc 更换集群vpc
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterVpcWithContext ¶ added in v1.0.597
func (c *Client) SwitchClusterVpcWithContext(ctx context.Context, request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, err error)
SwitchClusterVpc 更换集群vpc
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterZone ¶ added in v1.0.482
func (c *Client) SwitchClusterZone(request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
SwitchClusterZone 主备可用区切换
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchClusterZoneWithContext ¶ added in v1.0.482
func (c *Client) SwitchClusterZoneWithContext(ctx context.Context, request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)
SwitchClusterZone 主备可用区切换
可能返回的错误码:
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) SwitchProxyVpc ¶ added in v1.0.551
func (c *Client) SwitchProxyVpc(request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
SwitchProxyVpc 本接口(SwitchProxyVpc)更换数据库代理vpc
可能返回的错误码:
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 ¶ added in v1.0.551
func (c *Client) SwitchProxyVpcWithContext(ctx context.Context, request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)
SwitchProxyVpc 本接口(SwitchProxyVpc)更换数据库代理vpc
可能返回的错误码:
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) UnbindClusterResourcePackages ¶ added in v1.0.668
func (c *Client) UnbindClusterResourcePackages(request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)
UnbindClusterResourcePackages cynos解绑资源包
可能返回的错误码:
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UnbindClusterResourcePackagesWithContext ¶ added in v1.0.668
func (c *Client) UnbindClusterResourcePackagesWithContext(ctx context.Context, request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)
UnbindClusterResourcePackages cynos解绑资源包
可能返回的错误码:
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError" FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeClusterVersion ¶ added in v1.0.664
func (c *Client) UpgradeClusterVersion(request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, err error)
UpgradeClusterVersion 更新内核小版本
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeClusterVersionWithContext ¶ added in v1.0.664
func (c *Client) UpgradeClusterVersionWithContext(ctx context.Context, request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, err error)
UpgradeClusterVersion 更新内核小版本
可能返回的错误码:
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" 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_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" 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_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit" LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeInstance ¶
func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance 实例变配
可能返回的错误码:
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" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeInstanceWithContext ¶ added in v1.0.324
func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance 实例变配
可能返回的错误码:
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" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeProxy ¶ added in v1.0.683
func (c *Client) UpgradeProxy(request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)
UpgradeProxy 升级数据库代理配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeProxyVersion ¶ added in v1.0.683
func (c *Client) UpgradeProxyVersion(request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)
UpgradeProxyVersion 升级数据库代理版本
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
func (*Client) UpgradeProxyVersionWithContext ¶ added in v1.0.683
func (c *Client) UpgradeProxyVersionWithContext(ctx context.Context, request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)
UpgradeProxyVersion 升级数据库代理版本
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
func (*Client) UpgradeProxyWithContext ¶ added in v1.0.683
func (c *Client) UpgradeProxyWithContext(ctx context.Context, request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)
UpgradeProxy 升级数据库代理配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
type CloseAuditServiceRequest ¶ added in v1.0.571
type CloseAuditServiceRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewCloseAuditServiceRequest ¶ added in v1.0.571
func NewCloseAuditServiceRequest() (request *CloseAuditServiceRequest)
func (*CloseAuditServiceRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *CloseAuditServiceRequest) ToJsonString() string
type CloseAuditServiceRequestParams ¶ added in v1.0.571
type CloseAuditServiceRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type CloseAuditServiceResponse ¶ added in v1.0.571
type CloseAuditServiceResponse struct { *tchttp.BaseResponse Response *CloseAuditServiceResponseParams `json:"Response"` }
func NewCloseAuditServiceResponse ¶ added in v1.0.571
func NewCloseAuditServiceResponse() (response *CloseAuditServiceResponse)
func (*CloseAuditServiceResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *CloseAuditServiceResponse) ToJsonString() string
type CloseAuditServiceResponseParams ¶ added in v1.0.571
type CloseAuditServiceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseClusterPasswordComplexityRequest ¶ added in v1.0.664
type CloseClusterPasswordComplexityRequest struct { *tchttp.BaseRequest // 集群ID数组 ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
func NewCloseClusterPasswordComplexityRequest ¶ added in v1.0.664
func NewCloseClusterPasswordComplexityRequest() (request *CloseClusterPasswordComplexityRequest)
func (*CloseClusterPasswordComplexityRequest) FromJsonString ¶ added in v1.0.664
func (r *CloseClusterPasswordComplexityRequest) 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 (*CloseClusterPasswordComplexityRequest) ToJsonString ¶ added in v1.0.664
func (r *CloseClusterPasswordComplexityRequest) ToJsonString() string
type CloseClusterPasswordComplexityRequestParams ¶ added in v1.0.664
type CloseClusterPasswordComplexityRequestParams struct { // 集群ID数组 ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
Predefined struct for user
type CloseClusterPasswordComplexityResponse ¶ added in v1.0.664
type CloseClusterPasswordComplexityResponse struct { *tchttp.BaseResponse Response *CloseClusterPasswordComplexityResponseParams `json:"Response"` }
func NewCloseClusterPasswordComplexityResponse ¶ added in v1.0.664
func NewCloseClusterPasswordComplexityResponse() (response *CloseClusterPasswordComplexityResponse)
func (*CloseClusterPasswordComplexityResponse) FromJsonString ¶ added in v1.0.664
func (r *CloseClusterPasswordComplexityResponse) 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 (*CloseClusterPasswordComplexityResponse) ToJsonString ¶ added in v1.0.664
func (r *CloseClusterPasswordComplexityResponse) ToJsonString() string
type CloseClusterPasswordComplexityResponseParams ¶ added in v1.0.664
type CloseClusterPasswordComplexityResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseProxyRequest ¶ added in v1.0.683
type CloseProxyRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 是否只关闭读写分离,取值:是 "true","false" OnlyCloseRW *bool `json:"OnlyCloseRW,omitnil,omitempty" name:"OnlyCloseRW"` }
func NewCloseProxyRequest ¶ added in v1.0.683
func NewCloseProxyRequest() (request *CloseProxyRequest)
func (*CloseProxyRequest) FromJsonString ¶ added in v1.0.683
func (r *CloseProxyRequest) 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 (*CloseProxyRequest) ToJsonString ¶ added in v1.0.683
func (r *CloseProxyRequest) ToJsonString() string
type CloseProxyRequestParams ¶ added in v1.0.683
type CloseProxyRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 是否只关闭读写分离,取值:是 "true","false" OnlyCloseRW *bool `json:"OnlyCloseRW,omitnil,omitempty" name:"OnlyCloseRW"` }
Predefined struct for user
type CloseProxyResponse ¶ added in v1.0.683
type CloseProxyResponse struct { *tchttp.BaseResponse Response *CloseProxyResponseParams `json:"Response"` }
func NewCloseProxyResponse ¶ added in v1.0.683
func NewCloseProxyResponse() (response *CloseProxyResponse)
func (*CloseProxyResponse) FromJsonString ¶ added in v1.0.683
func (r *CloseProxyResponse) 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 (*CloseProxyResponse) ToJsonString ¶ added in v1.0.683
func (r *CloseProxyResponse) ToJsonString() string
type CloseProxyResponseParams ¶ added in v1.0.683
type CloseProxyResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseWanRequest ¶ added in v1.0.664
type CloseWanRequest struct { *tchttp.BaseRequest // 实例组id InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewCloseWanRequest ¶ added in v1.0.664
func NewCloseWanRequest() (request *CloseWanRequest)
func (*CloseWanRequest) FromJsonString ¶ added in v1.0.664
func (r *CloseWanRequest) 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 (*CloseWanRequest) ToJsonString ¶ added in v1.0.664
func (r *CloseWanRequest) ToJsonString() string
type CloseWanRequestParams ¶ added in v1.0.664
type CloseWanRequestParams struct { // 实例组id // // Deprecated: InstanceGrpId is deprecated. InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type CloseWanResponse ¶ added in v1.0.664
type CloseWanResponse struct { *tchttp.BaseResponse Response *CloseWanResponseParams `json:"Response"` }
func NewCloseWanResponse ¶ added in v1.0.664
func NewCloseWanResponse() (response *CloseWanResponse)
func (*CloseWanResponse) FromJsonString ¶ added in v1.0.664
func (r *CloseWanResponse) 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 (*CloseWanResponse) ToJsonString ¶ added in v1.0.664
func (r *CloseWanResponse) ToJsonString() string
type CloseWanResponseParams ¶ added in v1.0.664
type CloseWanResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ClusterInstanceDetail ¶
type ClusterInstanceDetail struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 引擎类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 实例状态 InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"` // 实例状态描述 InstanceStatusDesc *string `json:"InstanceStatusDesc,omitnil,omitempty" name:"InstanceStatusDesc"` // cpu核数 InstanceCpu *int64 `json:"InstanceCpu,omitnil,omitempty" name:"InstanceCpu"` // 内存 InstanceMemory *int64 `json:"InstanceMemory,omitnil,omitempty" name:"InstanceMemory"` // 硬盘 InstanceStorage *int64 `json:"InstanceStorage,omitnil,omitempty" name:"InstanceStorage"` // 实例角色 InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // 执行开始时间(距离0点的秒数) // 注意:此字段可能返回 null,表示取不到有效值。 MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 持续的时间(单位:秒) // 注意:此字段可能返回 null,表示取不到有效值。 MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 可以执行的时间,枚举值:["Mon","Tue","Wed","Thu","Fri", "Sat", "Sun"] // 注意:此字段可能返回 null,表示取不到有效值。 MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` // serverless实例子状态 // 注意:此字段可能返回 null,表示取不到有效值。 ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"` }
type ClusterParamModifyLog ¶ added in v1.0.349
type ClusterParamModifyLog struct { // 参数名称 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 修改后的值 UpdateValue *string `json:"UpdateValue,omitnil,omitempty" name:"UpdateValue"` // 修改状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
type ClusterSlaveData ¶ added in v1.0.859
type ClusterSlaveData struct { // 旧主可用区 // 注意:此字段可能返回 null,表示取不到有效值。 OldMasterZone *string `json:"OldMasterZone,omitnil,omitempty" name:"OldMasterZone"` // 旧从可用区 // 注意:此字段可能返回 null,表示取不到有效值。 OldSlaveZone []*string `json:"OldSlaveZone,omitnil,omitempty" name:"OldSlaveZone"` // 新主可用区 // 注意:此字段可能返回 null,表示取不到有效值。 NewMasterZone *string `json:"NewMasterZone,omitnil,omitempty" name:"NewMasterZone"` // 新从可用区 // 注意:此字段可能返回 null,表示取不到有效值。 NewSlaveZone []*string `json:"NewSlaveZone,omitnil,omitempty" name:"NewSlaveZone"` // 新从可用区属性 // 注意:此字段可能返回 null,表示取不到有效值。 NewSlaveZoneAttr []*SlaveZoneAttrItem `json:"NewSlaveZoneAttr,omitnil,omitempty" name:"NewSlaveZoneAttr"` // 旧可用区属性 // 注意:此字段可能返回 null,表示取不到有效值。 OldSlaveZoneAttr []*SlaveZoneAttrItem `json:"OldSlaveZoneAttr,omitnil,omitempty" name:"OldSlaveZoneAttr"` }
type CopyClusterPasswordComplexityRequest ¶ added in v1.0.664
type CopyClusterPasswordComplexityRequest struct { *tchttp.BaseRequest // 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"] ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 集群id,例如"cynosdbmysql-bzxxrmtq" SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"` }
func NewCopyClusterPasswordComplexityRequest ¶ added in v1.0.664
func NewCopyClusterPasswordComplexityRequest() (request *CopyClusterPasswordComplexityRequest)
func (*CopyClusterPasswordComplexityRequest) FromJsonString ¶ added in v1.0.664
func (r *CopyClusterPasswordComplexityRequest) 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 (*CopyClusterPasswordComplexityRequest) ToJsonString ¶ added in v1.0.664
func (r *CopyClusterPasswordComplexityRequest) ToJsonString() string
type CopyClusterPasswordComplexityRequestParams ¶ added in v1.0.664
type CopyClusterPasswordComplexityRequestParams struct { // 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"] ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 集群id,例如"cynosdbmysql-bzxxrmtq" SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"` }
Predefined struct for user
type CopyClusterPasswordComplexityResponse ¶ added in v1.0.664
type CopyClusterPasswordComplexityResponse struct { *tchttp.BaseResponse Response *CopyClusterPasswordComplexityResponseParams `json:"Response"` }
func NewCopyClusterPasswordComplexityResponse ¶ added in v1.0.664
func NewCopyClusterPasswordComplexityResponse() (response *CopyClusterPasswordComplexityResponse)
func (*CopyClusterPasswordComplexityResponse) FromJsonString ¶ added in v1.0.664
func (r *CopyClusterPasswordComplexityResponse) 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 (*CopyClusterPasswordComplexityResponse) ToJsonString ¶ added in v1.0.664
func (r *CopyClusterPasswordComplexityResponse) ToJsonString() string
type CopyClusterPasswordComplexityResponseParams ¶ added in v1.0.664
type CopyClusterPasswordComplexityResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAccountsRequest ¶ added in v1.0.373
type CreateAccountsRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 新账户列表 Accounts []*NewAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"` }
func NewCreateAccountsRequest ¶ added in v1.0.373
func NewCreateAccountsRequest() (request *CreateAccountsRequest)
func (*CreateAccountsRequest) FromJsonString ¶ added in v1.0.373
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 ¶ added in v1.0.373
func (r *CreateAccountsRequest) ToJsonString() string
type CreateAccountsRequestParams ¶ added in v1.0.426
type CreateAccountsRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 新账户列表 Accounts []*NewAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"` }
Predefined struct for user
type CreateAccountsResponse ¶ added in v1.0.373
type CreateAccountsResponse struct { *tchttp.BaseResponse Response *CreateAccountsResponseParams `json:"Response"` }
func NewCreateAccountsResponse ¶ added in v1.0.373
func NewCreateAccountsResponse() (response *CreateAccountsResponse)
func (*CreateAccountsResponse) FromJsonString ¶ added in v1.0.373
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 ¶ added in v1.0.373
func (r *CreateAccountsResponse) ToJsonString() string
type CreateAccountsResponseParams ¶ added in v1.0.426
type CreateAccountsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAuditLogFileRequest ¶ added in v1.0.515
type CreateAuditLogFileRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开始时间,格式为:"2017-07-12 10:29:20"。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,格式为:"2017-07-12 10:29:20"。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段。支持值包括: // "timestamp" - 时间戳; // "affectRows" - 影响行数; // "execTime" - 执行时间。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 已废弃。 Filter *AuditLogFilter `json:"Filter,omitnil,omitempty" name:"Filter"` // 审计日志过滤条件 LogFilter []*InstanceAuditLogFilter `json:"LogFilter,omitnil,omitempty" name:"LogFilter"` }
func NewCreateAuditLogFileRequest ¶ added in v1.0.515
func NewCreateAuditLogFileRequest() (request *CreateAuditLogFileRequest)
func (*CreateAuditLogFileRequest) FromJsonString ¶ added in v1.0.515
func (r *CreateAuditLogFileRequest) 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 (*CreateAuditLogFileRequest) ToJsonString ¶ added in v1.0.515
func (r *CreateAuditLogFileRequest) ToJsonString() string
type CreateAuditLogFileRequestParams ¶ added in v1.0.515
type CreateAuditLogFileRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开始时间,格式为:"2017-07-12 10:29:20"。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,格式为:"2017-07-12 10:29:20"。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段。支持值包括: // "timestamp" - 时间戳; // "affectRows" - 影响行数; // "execTime" - 执行时间。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 已废弃。 Filter *AuditLogFilter `json:"Filter,omitnil,omitempty" name:"Filter"` // 审计日志过滤条件 LogFilter []*InstanceAuditLogFilter `json:"LogFilter,omitnil,omitempty" name:"LogFilter"` }
Predefined struct for user
type CreateAuditLogFileResponse ¶ added in v1.0.515
type CreateAuditLogFileResponse struct { *tchttp.BaseResponse Response *CreateAuditLogFileResponseParams `json:"Response"` }
func NewCreateAuditLogFileResponse ¶ added in v1.0.515
func NewCreateAuditLogFileResponse() (response *CreateAuditLogFileResponse)
func (*CreateAuditLogFileResponse) FromJsonString ¶ added in v1.0.515
func (r *CreateAuditLogFileResponse) 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 (*CreateAuditLogFileResponse) ToJsonString ¶ added in v1.0.515
func (r *CreateAuditLogFileResponse) ToJsonString() string
type CreateAuditLogFileResponseParams ¶ added in v1.0.515
type CreateAuditLogFileResponseParams struct { // 审计日志文件名称。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAuditRuleTemplateRequest ¶ added in v1.0.571
type CreateAuditRuleTemplateRequest struct { *tchttp.BaseRequest // 审计规则。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 规则模板名称。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 规则模板描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 告警等级。1-低风险,2-中风险,3-高风险 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
func NewCreateAuditRuleTemplateRequest ¶ added in v1.0.571
func NewCreateAuditRuleTemplateRequest() (request *CreateAuditRuleTemplateRequest)
func (*CreateAuditRuleTemplateRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *CreateAuditRuleTemplateRequest) ToJsonString() string
type CreateAuditRuleTemplateRequestParams ¶ added in v1.0.571
type CreateAuditRuleTemplateRequestParams struct { // 审计规则。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 规则模板名称。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 规则模板描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 告警等级。1-低风险,2-中风险,3-高风险 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
Predefined struct for user
type CreateAuditRuleTemplateResponse ¶ added in v1.0.571
type CreateAuditRuleTemplateResponse struct { *tchttp.BaseResponse Response *CreateAuditRuleTemplateResponseParams `json:"Response"` }
func NewCreateAuditRuleTemplateResponse ¶ added in v1.0.571
func NewCreateAuditRuleTemplateResponse() (response *CreateAuditRuleTemplateResponse)
func (*CreateAuditRuleTemplateResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *CreateAuditRuleTemplateResponse) ToJsonString() string
type CreateAuditRuleTemplateResponseParams ¶ added in v1.0.571
type CreateAuditRuleTemplateResponseParams struct { // 生成的规则模板ID。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBackupRequest ¶ added in v1.0.493
type CreateBackupRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份类型, 可选值:logic,逻辑备份;snapshot,物理备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份的库, 只在 BackupType 为 logic 时有效 BackupDatabases []*string `json:"BackupDatabases,omitnil,omitempty" name:"BackupDatabases"` // 备份的表, 只在 BackupType 为 logic 时有效 BackupTables []*DatabaseTables `json:"BackupTables,omitnil,omitempty" name:"BackupTables"` // 备注名 BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"` }
func NewCreateBackupRequest ¶ added in v1.0.493
func NewCreateBackupRequest() (request *CreateBackupRequest)
func (*CreateBackupRequest) FromJsonString ¶ added in v1.0.493
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 ¶ added in v1.0.493
func (r *CreateBackupRequest) ToJsonString() string
type CreateBackupRequestParams ¶ added in v1.0.493
type CreateBackupRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份类型, 可选值:logic,逻辑备份;snapshot,物理备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份的库, 只在 BackupType 为 logic 时有效 BackupDatabases []*string `json:"BackupDatabases,omitnil,omitempty" name:"BackupDatabases"` // 备份的表, 只在 BackupType 为 logic 时有效 BackupTables []*DatabaseTables `json:"BackupTables,omitnil,omitempty" name:"BackupTables"` // 备注名 BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"` }
Predefined struct for user
type CreateBackupResponse ¶ added in v1.0.493
type CreateBackupResponse struct { *tchttp.BaseResponse Response *CreateBackupResponseParams `json:"Response"` }
func NewCreateBackupResponse ¶ added in v1.0.493
func NewCreateBackupResponse() (response *CreateBackupResponse)
func (*CreateBackupResponse) FromJsonString ¶ added in v1.0.493
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 ¶ added in v1.0.493
func (r *CreateBackupResponse) ToJsonString() string
type CreateBackupResponseParams ¶ added in v1.0.493
type CreateBackupResponseParams struct { // 异步任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCLSDeliveryRequest ¶ added in v1.0.918
type CreateCLSDeliveryRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志投递配置 CLSInfoList []*CLSInfo `json:"CLSInfoList,omitnil,omitempty" name:"CLSInfoList"` }
func NewCreateCLSDeliveryRequest ¶ added in v1.0.918
func NewCreateCLSDeliveryRequest() (request *CreateCLSDeliveryRequest)
func (*CreateCLSDeliveryRequest) FromJsonString ¶ added in v1.0.918
func (r *CreateCLSDeliveryRequest) 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 (*CreateCLSDeliveryRequest) ToJsonString ¶ added in v1.0.918
func (r *CreateCLSDeliveryRequest) ToJsonString() string
type CreateCLSDeliveryRequestParams ¶ added in v1.0.918
type CreateCLSDeliveryRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志投递配置 CLSInfoList []*CLSInfo `json:"CLSInfoList,omitnil,omitempty" name:"CLSInfoList"` }
Predefined struct for user
type CreateCLSDeliveryResponse ¶ added in v1.0.918
type CreateCLSDeliveryResponse struct { *tchttp.BaseResponse Response *CreateCLSDeliveryResponseParams `json:"Response"` }
func NewCreateCLSDeliveryResponse ¶ added in v1.0.918
func NewCreateCLSDeliveryResponse() (response *CreateCLSDeliveryResponse)
func (*CreateCLSDeliveryResponse) FromJsonString ¶ added in v1.0.918
func (r *CreateCLSDeliveryResponse) 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 (*CreateCLSDeliveryResponse) ToJsonString ¶ added in v1.0.918
func (r *CreateCLSDeliveryResponse) ToJsonString() string
type CreateCLSDeliveryResponseParams ¶ added in v1.0.918
type CreateCLSDeliveryResponseParams struct { // 异步任务id TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterDatabaseRequest ¶ added in v1.0.664
type CreateClusterDatabaseRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // 字符集类型 CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"` // 排序规则 CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"` // 授权用户主机权限 UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateClusterDatabaseRequest ¶ added in v1.0.664
func NewCreateClusterDatabaseRequest() (request *CreateClusterDatabaseRequest)
func (*CreateClusterDatabaseRequest) FromJsonString ¶ added in v1.0.664
func (r *CreateClusterDatabaseRequest) 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 (*CreateClusterDatabaseRequest) ToJsonString ¶ added in v1.0.664
func (r *CreateClusterDatabaseRequest) ToJsonString() string
type CreateClusterDatabaseRequestParams ¶ added in v1.0.664
type CreateClusterDatabaseRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // 字符集类型 CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"` // 排序规则 CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"` // 授权用户主机权限 UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateClusterDatabaseResponse ¶ added in v1.0.664
type CreateClusterDatabaseResponse struct { *tchttp.BaseResponse Response *CreateClusterDatabaseResponseParams `json:"Response"` }
func NewCreateClusterDatabaseResponse ¶ added in v1.0.664
func NewCreateClusterDatabaseResponse() (response *CreateClusterDatabaseResponse)
func (*CreateClusterDatabaseResponse) FromJsonString ¶ added in v1.0.664
func (r *CreateClusterDatabaseResponse) 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 (*CreateClusterDatabaseResponse) ToJsonString ¶ added in v1.0.664
func (r *CreateClusterDatabaseResponse) ToJsonString() string
type CreateClusterDatabaseResponseParams ¶ added in v1.0.664
type CreateClusterDatabaseResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClustersData ¶ added in v1.0.859
type CreateClustersRequest ¶
type CreateClustersRequest struct { *tchttp.BaseRequest // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 所属VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 所属子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 数据库版本,取值范围: // <li> MYSQL可选值:5.7,8.0 </li> DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // 所属项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 当DbMode为NORMAL或不填时必选 // 普通实例Cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 当DbMode为NORMAL或不填时必选 // 普通实例内存,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 该参数无实际意义,已废弃。 // 存储大小,单位GB。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.') ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种) AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // 端口,默认3306,取值范围[0, 65535) Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 计费模式,按量计费:0,包年包月:1。默认按量计费。 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 购买集群数,可选值范围[1,50],默认为1 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 回档类型: // noneRollback:不回档; // snapRollback,快照回档; // timeRollback,时间点回档 RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"` // 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 回档时,传入源集群ID,用于查找源poolId OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"` // 时间点回档,指定时间;快照回档,快照时间 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 该参数无实际意义,已废弃。 // 时间点回档,指定时间允许范围 ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"` // 普通实例存储上限,单位GB // 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 实例数量,数量范围为(0,16] InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 包年包月购买时长 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 包年包月购买时长单位,['s','d','m','y'] TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // 包年包月购买是否自动续费,默认为0。 // 0标识默认续费方式,1表示自动续费,2表示手不自动续费。 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 实例数量(该参数已不再使用,只做存量兼容处理) HaCount *int64 `json:"HaCount,omitnil,omitempty" name:"HaCount"` // 订单来源 OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"` // 集群创建需要绑定的tag数组信息 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // Db类型 // 当DbType为MYSQL时可选(默认NORMAL): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 当DbMode为SERVERLESS时必填 // cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // 当DbMode为SERVERLESS时必填: // cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围 // <li>yes</li> // <li>no</li> // 默认值:yes AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"` // 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200] // 默认值:600 AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"` // 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费 // 当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费 // 回档与克隆均不支持包年包月存储 StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // 安全组id数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 告警策略Id数组 AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"` // 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感 ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"` // 交易模式,0-下单且支付,1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 多可用区地址 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // 实例初始化配置信息,主要用于购买集群时选不同规格实例 InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,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 ¶ added in v1.0.426
type CreateClustersRequestParams struct { // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 所属VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 所属子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 数据库版本,取值范围: // <li> MYSQL可选值:5.7,8.0 </li> DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // 所属项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 当DbMode为NORMAL或不填时必选 // 普通实例Cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 当DbMode为NORMAL或不填时必选 // 普通实例内存,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 该参数无实际意义,已废弃。 // 存储大小,单位GB。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.') ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种) AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // 端口,默认3306,取值范围[0, 65535) Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 计费模式,按量计费:0,包年包月:1。默认按量计费。 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 购买集群数,可选值范围[1,50],默认为1 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 回档类型: // noneRollback:不回档; // snapRollback,快照回档; // timeRollback,时间点回档 RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"` // 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 回档时,传入源集群ID,用于查找源poolId OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"` // 时间点回档,指定时间;快照回档,快照时间 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 该参数无实际意义,已废弃。 // 时间点回档,指定时间允许范围 ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"` // 普通实例存储上限,单位GB // 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 实例数量,数量范围为(0,16] InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 包年包月购买时长 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 包年包月购买时长单位,['s','d','m','y'] TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // 包年包月购买是否自动续费,默认为0。 // 0标识默认续费方式,1表示自动续费,2表示手不自动续费。 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 实例数量(该参数已不再使用,只做存量兼容处理) HaCount *int64 `json:"HaCount,omitnil,omitempty" name:"HaCount"` // 订单来源 OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"` // 集群创建需要绑定的tag数组信息 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // Db类型 // 当DbType为MYSQL时可选(默认NORMAL): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 当DbMode为SERVERLESS时必填 // cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // 当DbMode为SERVERLESS时必填: // cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // 当DbMode为SERVERLESS时,指定集群是否自动暂停,可选范围 // <li>yes</li> // <li>no</li> // 默认值:yes AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"` // 当DbMode为SERVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200] // 默认值:600 AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"` // 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费 // 当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费 // 回档与克隆均不支持包年包月存储 StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // 安全组id数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 告警策略Id数组 AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"` // 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感 ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"` // 交易模式,0-下单且支付,1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 多可用区地址 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // 实例初始化配置信息,主要用于购买集群时选不同规格实例 InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,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 ¶ added in v1.0.426
type CreateClustersResponseParams struct { // 冻结流水ID // 注意:此字段可能返回 null,表示取不到有效值。 TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // 订单号 // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID) // 注意:此字段可能返回 null,表示取不到有效值。 ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID) // 注意:此字段可能返回 null,表示取不到有效值。 ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 大订单号 // 注意:此字段可能返回 null,表示取不到有效值。 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateParamTemplateRequest ¶ added in v1.0.664
type CreateParamTemplateRequest struct { *tchttp.BaseRequest // 模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // mysql版本号 EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // 模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 可选参数,需要复制的模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 数据库类型,可选值:NORMAL(默认值),SERVERLESS DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 参数列表 ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
func NewCreateParamTemplateRequest ¶ added in v1.0.664
func NewCreateParamTemplateRequest() (request *CreateParamTemplateRequest)
func (*CreateParamTemplateRequest) FromJsonString ¶ added in v1.0.664
func (r *CreateParamTemplateRequest) 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 (*CreateParamTemplateRequest) ToJsonString ¶ added in v1.0.664
func (r *CreateParamTemplateRequest) ToJsonString() string
type CreateParamTemplateRequestParams ¶ added in v1.0.664
type CreateParamTemplateRequestParams struct { // 模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // mysql版本号 EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // 模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 可选参数,需要复制的模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 数据库类型,可选值:NORMAL(默认值),SERVERLESS DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 参数列表 ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
Predefined struct for user
type CreateParamTemplateResponse ¶ added in v1.0.664
type CreateParamTemplateResponse struct { *tchttp.BaseResponse Response *CreateParamTemplateResponseParams `json:"Response"` }
func NewCreateParamTemplateResponse ¶ added in v1.0.664
func NewCreateParamTemplateResponse() (response *CreateParamTemplateResponse)
func (*CreateParamTemplateResponse) FromJsonString ¶ added in v1.0.664
func (r *CreateParamTemplateResponse) 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 (*CreateParamTemplateResponse) ToJsonString ¶ added in v1.0.664
func (r *CreateParamTemplateResponse) ToJsonString() string
type CreateParamTemplateResponseParams ¶ added in v1.0.664
type CreateParamTemplateResponseParams struct { // 模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProxyEndPointRequest ¶ added in v1.0.683
type CreateProxyEndPointRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 私有网络ID,默认与集群私有网络ID保持一致 UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"` // 私有网络子网ID,默认与集群子网ID保持一致 UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"` // 连接池类型:SessionConnectionPool(会话级别连接池 ) ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 是否开启连接池,yes-开启,no-不开启 OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池阈值:单位(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` // 绑定的安全组ID数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 描述说明 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 想要绑定的vip信息,需与UniqueVpcId对应。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 权重模式: // system-系统分配,custom-自定义 WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"` // 是否自动添加只读实例,yes-是,no-不自动添加 AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"` // 是否开启故障转移。 // yes:开启 // no:不开启。 // 数据库代理出现故障时,链接地址将会路由到主实例 FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"` // 一致性类型: // eventual,global,session ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"` // 读写属性: // READWRITE,READONLY RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"` // 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待 ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"` // 是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行 TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"` // 连接模式: // nearby,balance AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` // 实例权重 InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"` }
func NewCreateProxyEndPointRequest ¶ added in v1.0.683
func NewCreateProxyEndPointRequest() (request *CreateProxyEndPointRequest)
func (*CreateProxyEndPointRequest) FromJsonString ¶ added in v1.0.683
func (r *CreateProxyEndPointRequest) 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 (*CreateProxyEndPointRequest) ToJsonString ¶ added in v1.0.683
func (r *CreateProxyEndPointRequest) ToJsonString() string
type CreateProxyEndPointRequestParams ¶ added in v1.0.683
type CreateProxyEndPointRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 私有网络ID,默认与集群私有网络ID保持一致 UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"` // 私有网络子网ID,默认与集群子网ID保持一致 UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"` // 连接池类型:SessionConnectionPool(会话级别连接池 ) ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 是否开启连接池,yes-开启,no-不开启 OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池阈值:单位(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` // 绑定的安全组ID数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 描述说明 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 想要绑定的vip信息,需与UniqueVpcId对应。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 权重模式: // system-系统分配,custom-自定义 WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"` // 是否自动添加只读实例,yes-是,no-不自动添加 AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"` // 是否开启故障转移。 // yes:开启 // no:不开启。 // 数据库代理出现故障时,链接地址将会路由到主实例 FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"` // 一致性类型: // eventual,global,session ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"` // 读写属性: // READWRITE,READONLY RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"` // 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待 ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"` // 是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行 TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"` // 连接模式: // nearby,balance AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` // 实例权重 InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"` }
Predefined struct for user
type CreateProxyEndPointResponse ¶ added in v1.0.683
type CreateProxyEndPointResponse struct { *tchttp.BaseResponse Response *CreateProxyEndPointResponseParams `json:"Response"` }
func NewCreateProxyEndPointResponse ¶ added in v1.0.683
func NewCreateProxyEndPointResponse() (response *CreateProxyEndPointResponse)
func (*CreateProxyEndPointResponse) FromJsonString ¶ added in v1.0.683
func (r *CreateProxyEndPointResponse) 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 (*CreateProxyEndPointResponse) ToJsonString ¶ added in v1.0.683
func (r *CreateProxyEndPointResponse) ToJsonString() string
type CreateProxyEndPointResponseParams ¶ added in v1.0.683
type CreateProxyEndPointResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProxyRequest ¶ added in v1.0.683
type CreateProxyRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存 Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 私有网络ID,默认与集群私有网络ID保持一致 UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"` // 私有网络子网ID,默认与集群子网ID保持一致 UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"` // 数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones) ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"` // 连接池类型:SessionConnectionPool(会话级别连接池 ) ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 是否开启连接池,yes-开启,no-不开启 OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池阈值:单位(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` // 安全组ID数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 描述说明 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 数据库节点信息(该参数与ProxyCount需要任选一个输入) ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"` }
func NewCreateProxyRequest ¶ added in v1.0.683
func NewCreateProxyRequest() (request *CreateProxyRequest)
func (*CreateProxyRequest) FromJsonString ¶ added in v1.0.683
func (r *CreateProxyRequest) 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 (*CreateProxyRequest) ToJsonString ¶ added in v1.0.683
func (r *CreateProxyRequest) ToJsonString() string
type CreateProxyRequestParams ¶ added in v1.0.683
type CreateProxyRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存 Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 私有网络ID,默认与集群私有网络ID保持一致 UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"` // 私有网络子网ID,默认与集群子网ID保持一致 UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"` // 数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones) ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"` // 连接池类型:SessionConnectionPool(会话级别连接池 ) ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 是否开启连接池,yes-开启,no-不开启 OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池阈值:单位(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` // 安全组ID数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 描述说明 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 数据库节点信息(该参数与ProxyCount需要任选一个输入) ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"` }
Predefined struct for user
type CreateProxyResponse ¶ added in v1.0.683
type CreateProxyResponse struct { *tchttp.BaseResponse Response *CreateProxyResponseParams `json:"Response"` }
func NewCreateProxyResponse ¶ added in v1.0.683
func NewCreateProxyResponse() (response *CreateProxyResponse)
func (*CreateProxyResponse) FromJsonString ¶ added in v1.0.683
func (r *CreateProxyResponse) 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 (*CreateProxyResponse) ToJsonString ¶ added in v1.0.683
func (r *CreateProxyResponse) ToJsonString() string
type CreateProxyResponseParams ¶ added in v1.0.683
type CreateProxyResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateResourcePackageRequest ¶ added in v1.0.668
type CreateResourcePackageRequest struct { *tchttp.BaseRequest // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包类型:CCU-计算资源包,DISK-存储资源包 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包版本 // base-基础版本,common-通用版本,enterprise-企业版本 PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"` // 资源包大小,计算资源单位:万个;存储资源:GB PackageSpec *float64 `json:"PackageSpec,omitnil,omitempty" name:"PackageSpec"` // 资源包有效期,单位:天 ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"` // 购买资源包个数 PackageCount *int64 `json:"PackageCount,omitnil,omitempty" name:"PackageCount"` // 资源包名称 PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` }
func NewCreateResourcePackageRequest ¶ added in v1.0.668
func NewCreateResourcePackageRequest() (request *CreateResourcePackageRequest)
func (*CreateResourcePackageRequest) FromJsonString ¶ added in v1.0.668
func (r *CreateResourcePackageRequest) 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 (*CreateResourcePackageRequest) ToJsonString ¶ added in v1.0.668
func (r *CreateResourcePackageRequest) ToJsonString() string
type CreateResourcePackageRequestParams ¶ added in v1.0.668
type CreateResourcePackageRequestParams struct { // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包类型:CCU-计算资源包,DISK-存储资源包 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包版本 // base-基础版本,common-通用版本,enterprise-企业版本 PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"` // 资源包大小,计算资源单位:万个;存储资源:GB PackageSpec *float64 `json:"PackageSpec,omitnil,omitempty" name:"PackageSpec"` // 资源包有效期,单位:天 ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"` // 购买资源包个数 PackageCount *int64 `json:"PackageCount,omitnil,omitempty" name:"PackageCount"` // 资源包名称 PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` }
Predefined struct for user
type CreateResourcePackageResponse ¶ added in v1.0.668
type CreateResourcePackageResponse struct { *tchttp.BaseResponse Response *CreateResourcePackageResponseParams `json:"Response"` }
func NewCreateResourcePackageResponse ¶ added in v1.0.668
func NewCreateResourcePackageResponse() (response *CreateResourcePackageResponse)
func (*CreateResourcePackageResponse) FromJsonString ¶ added in v1.0.668
func (r *CreateResourcePackageResponse) 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 (*CreateResourcePackageResponse) ToJsonString ¶ added in v1.0.668
func (r *CreateResourcePackageResponse) ToJsonString() string
type CreateResourcePackageResponseParams ¶ added in v1.0.668
type CreateResourcePackageResponseParams struct { // 付费总订单号 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 每个物品对应一个dealName,业务需要根据dealName保证发货接口幂等 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CynosdbCluster ¶
type CynosdbCluster struct { // 集群状态, 可选值如下: // creating: 创建中 // running:运行中 // isolating:隔离中 // isolated:已隔离 // activating:解隔离中 // offlining:下线中 // offlined:已下线 // deleting:删除中 // deleted:已删除 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 数据库版本 DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例数 InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"` // 用户uin // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 引擎类型 // 注意:此字段可能返回 null,表示取不到有效值。 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 用户appid // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群状态描述 // 注意:此字段可能返回 null,表示取不到有效值。 StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // 集群创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 付费模式。0-按量计费,1-包年包月 // 注意:此字段可能返回 null,表示取不到有效值。 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 截止时间 // 注意:此字段可能返回 null,表示取不到有效值。 PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"` // 集群读写vip // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 集群读写vport // 注意:此字段可能返回 null,表示取不到有效值。 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 项目id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectID *int64 `json:"ProjectID,omitnil,omitempty" name:"ProjectID"` // 私有网络ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // cynos内核版本 // 注意:此字段可能返回 null,表示取不到有效值。 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 存储容量 // 注意:此字段可能返回 null,表示取不到有效值。 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 续费标志 // 注意:此字段可能返回 null,表示取不到有效值。 RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 正在处理的任务 // 注意:此字段可能返回 null,表示取不到有效值。 ProcessingTask *string `json:"ProcessingTask,omitnil,omitempty" name:"ProcessingTask"` // 集群的任务数组 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 集群绑定的tag数组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // Db类型(NORMAL, SERVERLESS) // 注意:此字段可能返回 null,表示取不到有效值。 DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 当Db类型为SERVERLESS时,serverless集群状态,可选值: // resume // pause // 注意:此字段可能返回 null,表示取不到有效值。 ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"` // 集群预付费存储值大小 // 注意:此字段可能返回 null,表示取不到有效值。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 集群存储为预付费时的存储ID,用于预付费存储变配 // 注意:此字段可能返回 null,表示取不到有效值。 StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"` // 集群存储付费模式。0-按量计费,1-包年包月 // 注意:此字段可能返回 null,表示取不到有效值。 StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // 集群计算规格对应的最小存储值 // 注意:此字段可能返回 null,表示取不到有效值。 MinStorageSize *int64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"` // 集群计算规格对应的最大存储值 // 注意:此字段可能返回 null,表示取不到有效值。 MaxStorageSize *int64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"` // 集群网络信息 // 注意:此字段可能返回 null,表示取不到有效值。 NetAddrs []*NetAddr `json:"NetAddrs,omitnil,omitempty" name:"NetAddrs"` // 物理可用区 // 注意:此字段可能返回 null,表示取不到有效值。 PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"` // 主可用区 // 注意:此字段可能返回 null,表示取不到有效值。 MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // 是否有从可用区 // 注意:此字段可能返回 null,表示取不到有效值。 HasSlaveZone *string `json:"HasSlaveZone,omitnil,omitempty" name:"HasSlaveZone"` // 从可用区 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"` // 商业类型 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"` // 是否冻结 // 注意:此字段可能返回 null,表示取不到有效值。 IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"` // 订单来源 // 注意:此字段可能返回 null,表示取不到有效值。 OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"` // 能力 // 注意:此字段可能返回 null,表示取不到有效值。 Ability *Ability `json:"Ability,omitnil,omitempty" name:"Ability"` // 实例绑定资源包信息(此处只返回存储资源包,即packageType=DISK) // 注意:此字段可能返回 null,表示取不到有效值。 ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"` }
type CynosdbClusterDetail ¶
type CynosdbClusterDetail struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 物理可用区 // 注意:此字段可能返回 null,表示取不到有效值。 PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 状态描述 StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // 当Db类型为SERVERLESS时,serverless集群状态,可选值: // resume // resuming // pause // pausing ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"` // 存储Id // 注意:此字段可能返回 null,表示取不到有效值。 StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"` // 存储大小,单位为G // 注意:此字段可能返回 null,表示取不到有效值。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 最大存储规格,单位为G // 注意:此字段可能返回 null,表示取不到有效值。 MaxStorageSize *int64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"` // 最小存储规格,单位为G // 注意:此字段可能返回 null,表示取不到有效值。 MinStorageSize *int64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"` // 存储付费类型,1为包年包月,0为按量计费 // 注意:此字段可能返回 null,表示取不到有效值。 StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // VPC名称 VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // vpc唯一id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网名称 SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 字符集 Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 数据库类型 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 数据库类型,normal,serverless // 注意:此字段可能返回 null,表示取不到有效值。 DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 数据库版本 DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // 存储空间上限 // 注意:此字段可能返回 null,表示取不到有效值。 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 使用容量 UsedStorage *int64 `json:"UsedStorage,omitnil,omitempty" name:"UsedStorage"` // vip地址 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // vport端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 集群只读实例的vip地址和vport端口 RoAddr []*Addr `json:"RoAddr,omitnil,omitempty" name:"RoAddr"` // 集群支持的功能 // 注意:此字段可能返回 null,表示取不到有效值。 Ability *Ability `json:"Ability,omitnil,omitempty" name:"Ability"` // cynos版本 // 注意:此字段可能返回 null,表示取不到有效值。 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 商业类型 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"` // 是否有从可用区 // 注意:此字段可能返回 null,表示取不到有效值。 HasSlaveZone *string `json:"HasSlaveZone,omitnil,omitempty" name:"HasSlaveZone"` // 是否冻结 // 注意:此字段可能返回 null,表示取不到有效值。 IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"` // 任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 主可用区 // 注意:此字段可能返回 null,表示取不到有效值。 MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // 从可用区列表 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"` // 实例信息 InstanceSet []*ClusterInstanceDetail `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // 付费模式 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 到期时间 PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"` // 项目id ProjectID *int64 `json:"ProjectID,omitnil,omitempty" name:"ProjectID"` // 实例绑定的tag数组信息 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // Proxy状态 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyStatus *string `json:"ProxyStatus,omitnil,omitempty" name:"ProxyStatus"` // binlog开关,可选值:ON, OFF // 注意:此字段可能返回 null,表示取不到有效值。 LogBin *string `json:"LogBin,omitnil,omitempty" name:"LogBin"` // 是否跳过交易 // 注意:此字段可能返回 null,表示取不到有效值。 IsSkipTrade *string `json:"IsSkipTrade,omitnil,omitempty" name:"IsSkipTrade"` // pitr类型,可选值:normal, redo_pitr // 注意:此字段可能返回 null,表示取不到有效值。 PitrType *string `json:"PitrType,omitnil,omitempty" name:"PitrType"` // 是否打开密码复杂度 // 注意:此字段可能返回 null,表示取不到有效值。 IsOpenPasswordComplexity *string `json:"IsOpenPasswordComplexity,omitnil,omitempty" name:"IsOpenPasswordComplexity"` // 网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 NetworkStatus *string `json:"NetworkStatus,omitnil,omitempty" name:"NetworkStatus"` // 集群绑定的资源包信息 // 注意:此字段可能返回 null,表示取不到有效值。 ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"` // 自动续费标识,1为自动续费,0为到期不续 // 注意:此字段可能返回 null,表示取不到有效值。 RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 节点网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 备可用区属性 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZoneAttr []*SlaveZoneAttrItem `json:"SlaveZoneAttr,omitnil,omitempty" name:"SlaveZoneAttr"` }
type CynosdbErrorLogItem ¶ added in v1.0.654
type CynosdbErrorLogItem struct { // 日志时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 日志等级 // 注意:此字段可能返回 null,表示取不到有效值。 Level *string `json:"Level,omitnil,omitempty" name:"Level"` // 日志内容 // 注意:此字段可能返回 null,表示取不到有效值。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
type CynosdbInstance ¶
type CynosdbInstance struct { // 用户Uin Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 用户AppId AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 实例状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例状态中文描述 StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // 实例形态,是否为serverless实例 DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 数据库类型 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 数据库版本 DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // Cpu,单位:核 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存,单位:GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 存储量,单位:GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 实例当前角色 InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例内网IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 实例内网端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 付费模式 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 实例过期时间 PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"` // 销毁期限 DestroyDeadlineText *string `json:"DestroyDeadlineText,omitnil,omitempty" name:"DestroyDeadlineText"` // 隔离时间 IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // 网络类型 NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"` // 外网域名 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 外网IP WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"` // 外网端口 WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` // 外网状态 WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"` // 实例销毁时间 DestroyTime *string `json:"DestroyTime,omitnil,omitempty" name:"DestroyTime"` // Cynos内核版本 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 正在处理的任务 ProcessingTask *string `json:"ProcessingTask,omitnil,omitempty" name:"ProcessingTask"` // 续费标志 RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // serverless实例cpu下限 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // serverless实例cpu上限 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // serverless实例状态, 可选值: // resume // pause ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"` // 预付费存储Id // 注意:此字段可能返回 null,表示取不到有效值。 StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"` // 存储付费类型 StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // 物理区 PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"` // 商业类型 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"` // 任务 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 是否冻结 // 注意:此字段可能返回 null,表示取不到有效值。 IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"` // 资源标签 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // 主可用区 // 注意:此字段可能返回 null,表示取不到有效值。 MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // 备可用区 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"` // 实例网络信息 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceNetInfo []*InstanceNetInfo `json:"InstanceNetInfo,omitnil,omitempty" name:"InstanceNetInfo"` // 实例绑定资源包信息(此处只返回计算资源包,即packageType=CCU) // 注意:此字段可能返回 null,表示取不到有效值。 ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"` // 实例索引形态,可选值【mixedRowColumn(行列混存),onlyRowIndex(仅行存)】 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceIndexMode *string `json:"InstanceIndexMode,omitnil,omitempty" name:"InstanceIndexMode"` // 当前实例支持的能力 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceAbility *InstanceAbility `json:"InstanceAbility,omitnil,omitempty" name:"InstanceAbility"` }
type CynosdbInstanceDetail ¶
type CynosdbInstanceDetail struct { // 用户Uin Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 用户AppId AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 实例状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例状态中文描述 StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // 数据库类型 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 数据库版本 DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"` // Cpu,单位:核 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存,单位:GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 存储量,单位:GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 实例当前角色 InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 付费模式 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 实例过期时间 PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"` // 网络类型 NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"` // VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例内网IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 实例内网端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 实例外网域名 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 字符集 Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // Cynos内核版本 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 续费标志 RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // serverless实例cpu下限 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // serverless实例cpu上限 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // serverless实例状态, 可能值: // resume // pause ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"` }
type CynosdbInstanceGroup ¶ added in v1.0.845
type CynosdbInstanceGroup struct { // 用户appId AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 创建时间 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 删除时间 DeletedTime *string `json:"DeletedTime,omitnil,omitempty" name:"DeletedTime"` // 实例组ID InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例组类型。ha-ha组;ro-只读组 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 更新时间 UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"` // 内网IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 内网端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 外网域名 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 外网ip WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"` // 外网端口 WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` // 外网状态 WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"` // 实例组包含实例信息 InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // VPC的ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 正在回收IP信息 // 注意:此字段可能返回 null,表示取不到有效值。 OldAddrInfo *OldAddrInfo `json:"OldAddrInfo,omitnil,omitempty" name:"OldAddrInfo"` // 正在进行的任务 ProcessingTasks []*string `json:"ProcessingTasks,omitnil,omitempty" name:"ProcessingTasks"` // 任务列表 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // biz_net_service表id NetServiceId *int64 `json:"NetServiceId,omitnil,omitempty" name:"NetServiceId"` }
type CynosdbInstanceGrp ¶
type CynosdbInstanceGrp struct { // 用户appId AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 创建时间 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 删除时间 DeletedTime *string `json:"DeletedTime,omitnil,omitempty" name:"DeletedTime"` // 实例组ID InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例组类型。ha-ha组;ro-只读组 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 更新时间 UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"` // 内网IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 内网端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 外网域名 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 外网ip WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"` // 外网端口 WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` // 外网状态 WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"` // 实例组包含实例信息 InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // VPC的ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 正在回收IP信息 // 注意:此字段可能返回 null,表示取不到有效值。 OldAddrInfo *OldAddrInfo `json:"OldAddrInfo,omitnil,omitempty" name:"OldAddrInfo"` // 正在进行的任务 ProcessingTasks []*string `json:"ProcessingTasks,omitnil,omitempty" name:"ProcessingTasks"` // 任务列表 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` // biz_net_service表id NetServiceId *int64 `json:"NetServiceId,omitnil,omitempty" name:"NetServiceId"` }
type DatabasePrivileges ¶ added in v1.0.349
type DatabaseTables ¶ added in v1.0.493
type DbInfo ¶ added in v1.0.664
type DbInfo struct { // 数据库名称 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // 字符集类型 CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"` // 数据库状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 排序规则 CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"` // 数据库备注 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 用户权限 // 注意:此字段可能返回 null,表示取不到有效值。 UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"` // 数据库ID // 注意:此字段可能返回 null,表示取不到有效值。 DbId *int64 `json:"DbId,omitnil,omitempty" name:"DbId"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 用户appid // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 用户Uin // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 集群Id // 注意:此字段可能返回 null,表示取不到有效值。 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
type DeleteAccountsRequest ¶ added in v1.0.664
type DeleteAccountsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号数组,包含account和host Accounts []*InputAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"` }
func NewDeleteAccountsRequest ¶ added in v1.0.664
func NewDeleteAccountsRequest() (request *DeleteAccountsRequest)
func (*DeleteAccountsRequest) FromJsonString ¶ added in v1.0.664
func (r *DeleteAccountsRequest) 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 (*DeleteAccountsRequest) ToJsonString ¶ added in v1.0.664
func (r *DeleteAccountsRequest) ToJsonString() string
type DeleteAccountsRequestParams ¶ added in v1.0.664
type DeleteAccountsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号数组,包含account和host Accounts []*InputAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"` }
Predefined struct for user
type DeleteAccountsResponse ¶ added in v1.0.664
type DeleteAccountsResponse struct { *tchttp.BaseResponse Response *DeleteAccountsResponseParams `json:"Response"` }
func NewDeleteAccountsResponse ¶ added in v1.0.664
func NewDeleteAccountsResponse() (response *DeleteAccountsResponse)
func (*DeleteAccountsResponse) FromJsonString ¶ added in v1.0.664
func (r *DeleteAccountsResponse) 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 (*DeleteAccountsResponse) ToJsonString ¶ added in v1.0.664
func (r *DeleteAccountsResponse) ToJsonString() string
type DeleteAccountsResponseParams ¶ added in v1.0.664
type DeleteAccountsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAuditLogFileRequest ¶ added in v1.0.515
type DeleteAuditLogFileRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 审计日志文件名称。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` }
func NewDeleteAuditLogFileRequest ¶ added in v1.0.515
func NewDeleteAuditLogFileRequest() (request *DeleteAuditLogFileRequest)
func (*DeleteAuditLogFileRequest) FromJsonString ¶ added in v1.0.515
func (r *DeleteAuditLogFileRequest) 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 (*DeleteAuditLogFileRequest) ToJsonString ¶ added in v1.0.515
func (r *DeleteAuditLogFileRequest) ToJsonString() string
type DeleteAuditLogFileRequestParams ¶ added in v1.0.515
type DeleteAuditLogFileRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 审计日志文件名称。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` }
Predefined struct for user
type DeleteAuditLogFileResponse ¶ added in v1.0.515
type DeleteAuditLogFileResponse struct { *tchttp.BaseResponse Response *DeleteAuditLogFileResponseParams `json:"Response"` }
func NewDeleteAuditLogFileResponse ¶ added in v1.0.515
func NewDeleteAuditLogFileResponse() (response *DeleteAuditLogFileResponse)
func (*DeleteAuditLogFileResponse) FromJsonString ¶ added in v1.0.515
func (r *DeleteAuditLogFileResponse) 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 (*DeleteAuditLogFileResponse) ToJsonString ¶ added in v1.0.515
func (r *DeleteAuditLogFileResponse) ToJsonString() string
type DeleteAuditLogFileResponseParams ¶ added in v1.0.515
type DeleteAuditLogFileResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAuditRuleTemplatesRequest ¶ added in v1.0.571
type DeleteAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // 审计规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` }
func NewDeleteAuditRuleTemplatesRequest ¶ added in v1.0.571
func NewDeleteAuditRuleTemplatesRequest() (request *DeleteAuditRuleTemplatesRequest)
func (*DeleteAuditRuleTemplatesRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DeleteAuditRuleTemplatesRequest) ToJsonString() string
type DeleteAuditRuleTemplatesRequestParams ¶ added in v1.0.571
type DeleteAuditRuleTemplatesRequestParams struct { // 审计规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` }
Predefined struct for user
type DeleteAuditRuleTemplatesResponse ¶ added in v1.0.571
type DeleteAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *DeleteAuditRuleTemplatesResponseParams `json:"Response"` }
func NewDeleteAuditRuleTemplatesResponse ¶ added in v1.0.571
func NewDeleteAuditRuleTemplatesResponse() (response *DeleteAuditRuleTemplatesResponse)
func (*DeleteAuditRuleTemplatesResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DeleteAuditRuleTemplatesResponse) ToJsonString() string
type DeleteAuditRuleTemplatesResponseParams ¶ added in v1.0.571
type DeleteAuditRuleTemplatesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBackupRequest ¶ added in v1.0.527
type DeleteBackupRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份文件ID,旧版本使用的字段,不推荐使用 SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"` // 备份文件ID,推荐使用 BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"` }
func NewDeleteBackupRequest ¶ added in v1.0.527
func NewDeleteBackupRequest() (request *DeleteBackupRequest)
func (*DeleteBackupRequest) FromJsonString ¶ added in v1.0.527
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 ¶ added in v1.0.527
func (r *DeleteBackupRequest) ToJsonString() string
type DeleteBackupRequestParams ¶ added in v1.0.527
type DeleteBackupRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份文件ID,旧版本使用的字段,不推荐使用 SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"` // 备份文件ID,推荐使用 BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"` }
Predefined struct for user
type DeleteBackupResponse ¶ added in v1.0.527
type DeleteBackupResponse struct { *tchttp.BaseResponse Response *DeleteBackupResponseParams `json:"Response"` }
func NewDeleteBackupResponse ¶ added in v1.0.527
func NewDeleteBackupResponse() (response *DeleteBackupResponse)
func (*DeleteBackupResponse) FromJsonString ¶ added in v1.0.527
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 ¶ added in v1.0.527
func (r *DeleteBackupResponse) ToJsonString() string
type DeleteBackupResponseParams ¶ added in v1.0.527
type DeleteBackupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCLSDeliveryRequest ¶ added in v1.0.918
type DeleteCLSDeliveryRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
func NewDeleteCLSDeliveryRequest ¶ added in v1.0.918
func NewDeleteCLSDeliveryRequest() (request *DeleteCLSDeliveryRequest)
func (*DeleteCLSDeliveryRequest) FromJsonString ¶ added in v1.0.918
func (r *DeleteCLSDeliveryRequest) 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 (*DeleteCLSDeliveryRequest) ToJsonString ¶ added in v1.0.918
func (r *DeleteCLSDeliveryRequest) ToJsonString() string
type DeleteCLSDeliveryRequestParams ¶ added in v1.0.918
type DeleteCLSDeliveryRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
Predefined struct for user
type DeleteCLSDeliveryResponse ¶ added in v1.0.918
type DeleteCLSDeliveryResponse struct { *tchttp.BaseResponse Response *DeleteCLSDeliveryResponseParams `json:"Response"` }
func NewDeleteCLSDeliveryResponse ¶ added in v1.0.918
func NewDeleteCLSDeliveryResponse() (response *DeleteCLSDeliveryResponse)
func (*DeleteCLSDeliveryResponse) FromJsonString ¶ added in v1.0.918
func (r *DeleteCLSDeliveryResponse) 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 (*DeleteCLSDeliveryResponse) ToJsonString ¶ added in v1.0.918
func (r *DeleteCLSDeliveryResponse) ToJsonString() string
type DeleteCLSDeliveryResponseParams ¶ added in v1.0.918
type DeleteCLSDeliveryResponseParams struct { // 异步任务id TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterDatabaseRequest ¶ added in v1.0.664
type DeleteClusterDatabaseRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` }
func NewDeleteClusterDatabaseRequest ¶ added in v1.0.664
func NewDeleteClusterDatabaseRequest() (request *DeleteClusterDatabaseRequest)
func (*DeleteClusterDatabaseRequest) FromJsonString ¶ added in v1.0.664
func (r *DeleteClusterDatabaseRequest) 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 (*DeleteClusterDatabaseRequest) ToJsonString ¶ added in v1.0.664
func (r *DeleteClusterDatabaseRequest) ToJsonString() string
type DeleteClusterDatabaseRequestParams ¶ added in v1.0.664
type DeleteClusterDatabaseRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` }
Predefined struct for user
type DeleteClusterDatabaseResponse ¶ added in v1.0.664
type DeleteClusterDatabaseResponse struct { *tchttp.BaseResponse Response *DeleteClusterDatabaseResponseParams `json:"Response"` }
func NewDeleteClusterDatabaseResponse ¶ added in v1.0.664
func NewDeleteClusterDatabaseResponse() (response *DeleteClusterDatabaseResponse)
func (*DeleteClusterDatabaseResponse) FromJsonString ¶ added in v1.0.664
func (r *DeleteClusterDatabaseResponse) 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 (*DeleteClusterDatabaseResponse) ToJsonString ¶ added in v1.0.664
func (r *DeleteClusterDatabaseResponse) ToJsonString() string
type DeleteClusterDatabaseResponseParams ¶ added in v1.0.664
type DeleteClusterDatabaseResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteParamTemplateRequest ¶ added in v1.0.664
type DeleteParamTemplateRequest struct { *tchttp.BaseRequest // 参数模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDeleteParamTemplateRequest ¶ added in v1.0.664
func NewDeleteParamTemplateRequest() (request *DeleteParamTemplateRequest)
func (*DeleteParamTemplateRequest) FromJsonString ¶ added in v1.0.664
func (r *DeleteParamTemplateRequest) 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 (*DeleteParamTemplateRequest) ToJsonString ¶ added in v1.0.664
func (r *DeleteParamTemplateRequest) ToJsonString() string
type DeleteParamTemplateRequestParams ¶ added in v1.0.664
type DeleteParamTemplateRequestParams struct { // 参数模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteParamTemplateResponse ¶ added in v1.0.664
type DeleteParamTemplateResponse struct { *tchttp.BaseResponse Response *DeleteParamTemplateResponseParams `json:"Response"` }
func NewDeleteParamTemplateResponse ¶ added in v1.0.664
func NewDeleteParamTemplateResponse() (response *DeleteParamTemplateResponse)
func (*DeleteParamTemplateResponse) FromJsonString ¶ added in v1.0.664
func (r *DeleteParamTemplateResponse) 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 (*DeleteParamTemplateResponse) ToJsonString ¶ added in v1.0.664
func (r *DeleteParamTemplateResponse) ToJsonString() string
type DeleteParamTemplateResponseParams ¶ added in v1.0.664
type DeleteParamTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountAllGrantPrivilegesRequest ¶ added in v1.0.349
type DescribeAccountAllGrantPrivilegesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` }
func NewDescribeAccountAllGrantPrivilegesRequest ¶ added in v1.0.349
func NewDescribeAccountAllGrantPrivilegesRequest() (request *DescribeAccountAllGrantPrivilegesRequest)
func (*DescribeAccountAllGrantPrivilegesRequest) FromJsonString ¶ added in v1.0.349
func (r *DescribeAccountAllGrantPrivilegesRequest) 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 (*DescribeAccountAllGrantPrivilegesRequest) ToJsonString ¶ added in v1.0.349
func (r *DescribeAccountAllGrantPrivilegesRequest) ToJsonString() string
type DescribeAccountAllGrantPrivilegesRequestParams ¶ added in v1.0.426
type DescribeAccountAllGrantPrivilegesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` }
Predefined struct for user
type DescribeAccountAllGrantPrivilegesResponse ¶ added in v1.0.349
type DescribeAccountAllGrantPrivilegesResponse struct { *tchttp.BaseResponse Response *DescribeAccountAllGrantPrivilegesResponseParams `json:"Response"` }
func NewDescribeAccountAllGrantPrivilegesResponse ¶ added in v1.0.349
func NewDescribeAccountAllGrantPrivilegesResponse() (response *DescribeAccountAllGrantPrivilegesResponse)
func (*DescribeAccountAllGrantPrivilegesResponse) FromJsonString ¶ added in v1.0.349
func (r *DescribeAccountAllGrantPrivilegesResponse) 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 (*DescribeAccountAllGrantPrivilegesResponse) ToJsonString ¶ added in v1.0.349
func (r *DescribeAccountAllGrantPrivilegesResponse) ToJsonString() string
type DescribeAccountAllGrantPrivilegesResponseParams ¶ added in v1.0.426
type DescribeAccountAllGrantPrivilegesResponseParams struct { // 权限语句 // 注意:此字段可能返回 null,表示取不到有效值。 PrivilegeStatements []*string `json:"PrivilegeStatements,omitnil,omitempty" name:"PrivilegeStatements"` // 全局权限 // 注意:此字段可能返回 null,表示取不到有效值。 GlobalPrivileges []*string `json:"GlobalPrivileges,omitnil,omitempty" name:"GlobalPrivileges"` // 数据库权限 // 注意:此字段可能返回 null,表示取不到有效值。 DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitnil,omitempty" name:"DatabasePrivileges"` // 数据库表权限 // 注意:此字段可能返回 null,表示取不到有效值。 TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitnil,omitempty" name:"TablePrivileges"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountPrivilegesRequest ¶ added in v1.0.664
type DescribeAccountPrivilegesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账户名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 主机 Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名,为*时,忽略Type/TableName, 表示修改用户全局权限; Db *string `json:"Db,omitnil,omitempty" name:"Db"` // 指定数据库下的对象类型,可选"table","*" Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 当Type="table"时,用来指定表名 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
func NewDescribeAccountPrivilegesRequest ¶ added in v1.0.664
func NewDescribeAccountPrivilegesRequest() (request *DescribeAccountPrivilegesRequest)
func (*DescribeAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.664
func (r *DescribeAccountPrivilegesRequest) 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 (*DescribeAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.664
func (r *DescribeAccountPrivilegesRequest) ToJsonString() string
type DescribeAccountPrivilegesRequestParams ¶ added in v1.0.664
type DescribeAccountPrivilegesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账户名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 主机 Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名,为*时,忽略Type/TableName, 表示修改用户全局权限; Db *string `json:"Db,omitnil,omitempty" name:"Db"` // 指定数据库下的对象类型,可选"table","*" Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 当Type="table"时,用来指定表名 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
Predefined struct for user
type DescribeAccountPrivilegesResponse ¶ added in v1.0.664
type DescribeAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *DescribeAccountPrivilegesResponseParams `json:"Response"` }
func NewDescribeAccountPrivilegesResponse ¶ added in v1.0.664
func NewDescribeAccountPrivilegesResponse() (response *DescribeAccountPrivilegesResponse)
func (*DescribeAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.664
func (r *DescribeAccountPrivilegesResponse) 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 (*DescribeAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.664
func (r *DescribeAccountPrivilegesResponse) ToJsonString() string
type DescribeAccountPrivilegesResponseParams ¶ added in v1.0.664
type DescribeAccountPrivilegesResponseParams struct { // 权限列表,示例值为:["","select","update","delete","create","drop","references","index","alter","show_db","create_tmp_table","lock_tables","execute","create_view","show_view","create_routine","alter_routine","event","trigger"] Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 需要过滤的账户列表 AccountNames []*string `json:"AccountNames,omitnil,omitempty" name:"AccountNames"` // 数据库类型,取值范围: // <li> MYSQL </li> // 该参数已废用 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 需要过滤的账户列表 Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"` // 限制量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 模糊匹配关键字(同时匹配AccountName和AccountHost,返回并集结果,支持正则) AccountRegular *string `json:"AccountRegular,omitnil,omitempty" name:"AccountRegular"` }
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 ¶ added in v1.0.426
type DescribeAccountsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 需要过滤的账户列表 AccountNames []*string `json:"AccountNames,omitnil,omitempty" name:"AccountNames"` // 数据库类型,取值范围: // <li> MYSQL </li> // 该参数已废用 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 需要过滤的账户列表 Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"` // 限制量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 模糊匹配关键字(同时匹配AccountName和AccountHost,返回并集结果,支持正则) AccountRegular *string `json:"AccountRegular,omitnil,omitempty" name:"AccountRegular"` }
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 ¶ added in v1.0.426
type DescribeAccountsResponseParams struct { // 数据库账号列表 // 注意:此字段可能返回 null,表示取不到有效值。 AccountSet []*Account `json:"AccountSet,omitnil,omitempty" name:"AccountSet"` // 账号总数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditInstanceListRequest ¶ added in v1.0.849
type DescribeAuditInstanceListRequest struct { *tchttp.BaseRequest // 实例审计开启的状态。1-已开启审计;0-未开启审计。 AuditSwitch *int64 `json:"AuditSwitch,omitnil,omitempty" name:"AuditSwitch"` // 查询实例列表的过滤条件。 Filters []*AuditInstanceFilters `json:"Filters,omitnil,omitempty" name:"Filters"` // 实例的审计规则模式。1-规则审计;0-全审计。 AuditMode *int64 `json:"AuditMode,omitnil,omitempty" name:"AuditMode"` // 单次请求返回的数量。默认值为30,最大值为 100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认值为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeAuditInstanceListRequest ¶ added in v1.0.849
func NewDescribeAuditInstanceListRequest() (request *DescribeAuditInstanceListRequest)
func (*DescribeAuditInstanceListRequest) FromJsonString ¶ added in v1.0.849
func (r *DescribeAuditInstanceListRequest) 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 (*DescribeAuditInstanceListRequest) ToJsonString ¶ added in v1.0.849
func (r *DescribeAuditInstanceListRequest) ToJsonString() string
type DescribeAuditInstanceListRequestParams ¶ added in v1.0.849
type DescribeAuditInstanceListRequestParams struct { // 实例审计开启的状态。1-已开启审计;0-未开启审计。 AuditSwitch *int64 `json:"AuditSwitch,omitnil,omitempty" name:"AuditSwitch"` // 查询实例列表的过滤条件。 Filters []*AuditInstanceFilters `json:"Filters,omitnil,omitempty" name:"Filters"` // 实例的审计规则模式。1-规则审计;0-全审计。 AuditMode *int64 `json:"AuditMode,omitnil,omitempty" name:"AuditMode"` // 单次请求返回的数量。默认值为30,最大值为 100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认值为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeAuditInstanceListResponse ¶ added in v1.0.849
type DescribeAuditInstanceListResponse struct { *tchttp.BaseResponse Response *DescribeAuditInstanceListResponseParams `json:"Response"` }
func NewDescribeAuditInstanceListResponse ¶ added in v1.0.849
func NewDescribeAuditInstanceListResponse() (response *DescribeAuditInstanceListResponse)
func (*DescribeAuditInstanceListResponse) FromJsonString ¶ added in v1.0.849
func (r *DescribeAuditInstanceListResponse) 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 (*DescribeAuditInstanceListResponse) ToJsonString ¶ added in v1.0.849
func (r *DescribeAuditInstanceListResponse) ToJsonString() string
type DescribeAuditInstanceListResponseParams ¶ added in v1.0.849
type DescribeAuditInstanceListResponseParams struct { // 符合查询条件的实例总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 审计实例详细信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*InstanceAuditStatus `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditLogFilesRequest ¶ added in v1.0.515
type DescribeAuditLogFilesRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 分页大小参数。默认值为 20,最小值为 1,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移量。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 审计日志文件名。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` }
func NewDescribeAuditLogFilesRequest ¶ added in v1.0.515
func NewDescribeAuditLogFilesRequest() (request *DescribeAuditLogFilesRequest)
func (*DescribeAuditLogFilesRequest) FromJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogFilesRequest) 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 (*DescribeAuditLogFilesRequest) ToJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogFilesRequest) ToJsonString() string
type DescribeAuditLogFilesRequestParams ¶ added in v1.0.515
type DescribeAuditLogFilesRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 分页大小参数。默认值为 20,最小值为 1,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移量。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 审计日志文件名。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` }
Predefined struct for user
type DescribeAuditLogFilesResponse ¶ added in v1.0.515
type DescribeAuditLogFilesResponse struct { *tchttp.BaseResponse Response *DescribeAuditLogFilesResponseParams `json:"Response"` }
func NewDescribeAuditLogFilesResponse ¶ added in v1.0.515
func NewDescribeAuditLogFilesResponse() (response *DescribeAuditLogFilesResponse)
func (*DescribeAuditLogFilesResponse) FromJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogFilesResponse) 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 (*DescribeAuditLogFilesResponse) ToJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogFilesResponse) ToJsonString() string
type DescribeAuditLogFilesResponseParams ¶ added in v1.0.515
type DescribeAuditLogFilesResponseParams struct { // 符合条件的审计日志文件个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 审计日志文件详情。 Items []*AuditLogFile `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditLogsRequest ¶ added in v1.0.515
type DescribeAuditLogsRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开始时间,格式为:"2017-07-12 10:29:20"。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,格式为:"2017-07-12 10:29:20"。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段。支持值包括: // "timestamp" - 时间戳; // "affectRows" - 影响行数; // "execTime" - 执行时间。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 已废弃。 Filter *AuditLogFilter `json:"Filter,omitnil,omitempty" name:"Filter"` // 分页参数,单次返回的数据条数。默认值为100,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移量。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 过滤条件。多个值之前是且的关系。 LogFilter []*InstanceAuditLogFilter `json:"LogFilter,omitnil,omitempty" name:"LogFilter"` }
func NewDescribeAuditLogsRequest ¶ added in v1.0.515
func NewDescribeAuditLogsRequest() (request *DescribeAuditLogsRequest)
func (*DescribeAuditLogsRequest) FromJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogsRequest) 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 (*DescribeAuditLogsRequest) ToJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogsRequest) ToJsonString() string
type DescribeAuditLogsRequestParams ¶ added in v1.0.515
type DescribeAuditLogsRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开始时间,格式为:"2017-07-12 10:29:20"。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,格式为:"2017-07-12 10:29:20"。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段。支持值包括: // "timestamp" - 时间戳; // "affectRows" - 影响行数; // "execTime" - 执行时间。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 已废弃。 Filter *AuditLogFilter `json:"Filter,omitnil,omitempty" name:"Filter"` // 分页参数,单次返回的数据条数。默认值为100,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移量。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 过滤条件。多个值之前是且的关系。 LogFilter []*InstanceAuditLogFilter `json:"LogFilter,omitnil,omitempty" name:"LogFilter"` }
Predefined struct for user
type DescribeAuditLogsResponse ¶ added in v1.0.515
type DescribeAuditLogsResponse struct { *tchttp.BaseResponse Response *DescribeAuditLogsResponseParams `json:"Response"` }
func NewDescribeAuditLogsResponse ¶ added in v1.0.515
func NewDescribeAuditLogsResponse() (response *DescribeAuditLogsResponse)
func (*DescribeAuditLogsResponse) FromJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogsResponse) 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 (*DescribeAuditLogsResponse) ToJsonString ¶ added in v1.0.515
func (r *DescribeAuditLogsResponse) ToJsonString() string
type DescribeAuditLogsResponseParams ¶ added in v1.0.515
type DescribeAuditLogsResponseParams struct { // 符合条件的审计日志条数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 审计日志详情。 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*AuditLog `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditRuleTemplatesRequest ¶ added in v1.0.571
type DescribeAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // 规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 规则模板名称 RuleTemplateNames []*string `json:"RuleTemplateNames,omitnil,omitempty" name:"RuleTemplateNames"` // 单次请求返回的数量。默认值20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认值为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 告警等级。1-低风险,2-中风险,3-高风险。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
func NewDescribeAuditRuleTemplatesRequest ¶ added in v1.0.571
func NewDescribeAuditRuleTemplatesRequest() (request *DescribeAuditRuleTemplatesRequest)
func (*DescribeAuditRuleTemplatesRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DescribeAuditRuleTemplatesRequest) ToJsonString() string
type DescribeAuditRuleTemplatesRequestParams ¶ added in v1.0.571
type DescribeAuditRuleTemplatesRequestParams struct { // 规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 规则模板名称 RuleTemplateNames []*string `json:"RuleTemplateNames,omitnil,omitempty" name:"RuleTemplateNames"` // 单次请求返回的数量。默认值20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认值为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 告警等级。1-低风险,2-中风险,3-高风险。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
Predefined struct for user
type DescribeAuditRuleTemplatesResponse ¶ added in v1.0.571
type DescribeAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAuditRuleTemplatesResponseParams `json:"Response"` }
func NewDescribeAuditRuleTemplatesResponse ¶ added in v1.0.571
func NewDescribeAuditRuleTemplatesResponse() (response *DescribeAuditRuleTemplatesResponse)
func (*DescribeAuditRuleTemplatesResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DescribeAuditRuleTemplatesResponse) ToJsonString() string
type DescribeAuditRuleTemplatesResponseParams ¶ added in v1.0.571
type DescribeAuditRuleTemplatesResponseParams struct { // 符合查询条件的实例总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 规则模板详细信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*AuditRuleTemplateInfo `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditRuleWithInstanceIdsRequest ¶ added in v1.0.571
type DescribeAuditRuleWithInstanceIdsRequest struct { *tchttp.BaseRequest // 实例ID。目前仅支持单个实例的查询。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeAuditRuleWithInstanceIdsRequest ¶ added in v1.0.571
func NewDescribeAuditRuleWithInstanceIdsRequest() (request *DescribeAuditRuleWithInstanceIdsRequest)
func (*DescribeAuditRuleWithInstanceIdsRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DescribeAuditRuleWithInstanceIdsRequest) ToJsonString() string
type DescribeAuditRuleWithInstanceIdsRequestParams ¶ added in v1.0.571
type DescribeAuditRuleWithInstanceIdsRequestParams struct { // 实例ID。目前仅支持单个实例的查询。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeAuditRuleWithInstanceIdsResponse ¶ added in v1.0.571
type DescribeAuditRuleWithInstanceIdsResponse struct { *tchttp.BaseResponse Response *DescribeAuditRuleWithInstanceIdsResponseParams `json:"Response"` }
func NewDescribeAuditRuleWithInstanceIdsResponse ¶ added in v1.0.571
func NewDescribeAuditRuleWithInstanceIdsResponse() (response *DescribeAuditRuleWithInstanceIdsResponse)
func (*DescribeAuditRuleWithInstanceIdsResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *DescribeAuditRuleWithInstanceIdsResponse) ToJsonString() string
type DescribeAuditRuleWithInstanceIdsResponseParams ¶ added in v1.0.571
type DescribeAuditRuleWithInstanceIdsResponseParams struct { // 无 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例审计规则信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*InstanceAuditRule `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupConfigRequest ¶
type DescribeBackupConfigRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeBackupConfigRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeBackupConfigResponseParams struct { // 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"` // 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"` // 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800 ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"` // 备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份 // 注意:此字段可能返回 null,表示取不到有效值。 BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"` // 备份方式,logic-逻辑备份,snapshot-快照备份 // 注意:此字段可能返回 null,表示取不到有效值。 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 跨地域逻辑备份配置修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LogicCrossRegionsConfigUpdateTime *string `json:"LogicCrossRegionsConfigUpdateTime,omitnil,omitempty" name:"LogicCrossRegionsConfigUpdateTime"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupDownloadUrlRequest ¶ added in v1.0.434
type DescribeBackupDownloadUrlRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份ID BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"` }
func NewDescribeBackupDownloadUrlRequest ¶ added in v1.0.434
func NewDescribeBackupDownloadUrlRequest() (request *DescribeBackupDownloadUrlRequest)
func (*DescribeBackupDownloadUrlRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBackupDownloadUrlRequest) ToJsonString() string
type DescribeBackupDownloadUrlRequestParams ¶ added in v1.0.434
type DescribeBackupDownloadUrlRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份ID BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"` }
Predefined struct for user
type DescribeBackupDownloadUrlResponse ¶ added in v1.0.434
type DescribeBackupDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeBackupDownloadUrlResponseParams `json:"Response"` }
func NewDescribeBackupDownloadUrlResponse ¶ added in v1.0.434
func NewDescribeBackupDownloadUrlResponse() (response *DescribeBackupDownloadUrlResponse)
func (*DescribeBackupDownloadUrlResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBackupDownloadUrlResponse) ToJsonString() string
type DescribeBackupDownloadUrlResponseParams ¶ added in v1.0.434
type DescribeBackupDownloadUrlResponseParams struct { // 备份下载地址 DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupListRequest ¶
type DescribeBackupListRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 返回数量,取值范围(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,取值范围[0,INF) Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 备份ID BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"` // 备份类型,可选值:snapshot,快照备份; logic,逻辑备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份方式,可选值:auto,自动备份;manual,手动备份 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 快照类型,可选值:full,全量;increment,增量 SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"` // 备份开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 备份结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 备份文件名,模糊查询 FileNames []*string `json:"FileNames,omitnil,omitempty" name:"FileNames"` // 备份备注名,模糊查询 BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"` // 快照备份Id列表 SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"` // 备份地域 BackupRegion *string `json:"BackupRegion,omitnil,omitempty" name:"BackupRegion"` // 是否跨地域备份 IsCrossRegionsBackup *string `json:"IsCrossRegionsBackup,omitnil,omitempty" name:"IsCrossRegionsBackup"` }
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 ¶ added in v1.0.426
type DescribeBackupListRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 返回数量,取值范围(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,取值范围[0,INF) Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 备份ID BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"` // 备份类型,可选值:snapshot,快照备份; logic,逻辑备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份方式,可选值:auto,自动备份;manual,手动备份 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 快照类型,可选值:full,全量;increment,增量 SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"` // 备份开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 备份结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 备份文件名,模糊查询 FileNames []*string `json:"FileNames,omitnil,omitempty" name:"FileNames"` // 备份备注名,模糊查询 BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"` // 快照备份Id列表 SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"` // 备份地域 BackupRegion *string `json:"BackupRegion,omitnil,omitempty" name:"BackupRegion"` // 是否跨地域备份 IsCrossRegionsBackup *string `json:"IsCrossRegionsBackup,omitnil,omitempty" name:"IsCrossRegionsBackup"` }
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 ¶ added in v1.0.426
type DescribeBackupListResponseParams struct { // 总共备份文件个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 备份文件列表 BackupList []*BackupFileInfo `json:"BackupList,omitnil,omitempty" name:"BackupList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogDownloadUrlRequest ¶ added in v1.0.434
type DescribeBinlogDownloadUrlRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Binlog文件ID BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"` }
func NewDescribeBinlogDownloadUrlRequest ¶ added in v1.0.434
func NewDescribeBinlogDownloadUrlRequest() (request *DescribeBinlogDownloadUrlRequest)
func (*DescribeBinlogDownloadUrlRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogDownloadUrlRequest) ToJsonString() string
type DescribeBinlogDownloadUrlRequestParams ¶ added in v1.0.434
type DescribeBinlogDownloadUrlRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Binlog文件ID BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"` }
Predefined struct for user
type DescribeBinlogDownloadUrlResponse ¶ added in v1.0.434
type DescribeBinlogDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeBinlogDownloadUrlResponseParams `json:"Response"` }
func NewDescribeBinlogDownloadUrlResponse ¶ added in v1.0.434
func NewDescribeBinlogDownloadUrlResponse() (response *DescribeBinlogDownloadUrlResponse)
func (*DescribeBinlogDownloadUrlResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogDownloadUrlResponse) ToJsonString() string
type DescribeBinlogDownloadUrlResponseParams ¶ added in v1.0.434
type DescribeBinlogDownloadUrlResponseParams struct { // 下载地址 DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogSaveDaysRequest ¶ added in v1.0.434
type DescribeBinlogSaveDaysRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeBinlogSaveDaysRequest ¶ added in v1.0.434
func NewDescribeBinlogSaveDaysRequest() (request *DescribeBinlogSaveDaysRequest)
func (*DescribeBinlogSaveDaysRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogSaveDaysRequest) ToJsonString() string
type DescribeBinlogSaveDaysRequestParams ¶ added in v1.0.434
type DescribeBinlogSaveDaysRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeBinlogSaveDaysResponse ¶ added in v1.0.434
type DescribeBinlogSaveDaysResponse struct { *tchttp.BaseResponse Response *DescribeBinlogSaveDaysResponseParams `json:"Response"` }
func NewDescribeBinlogSaveDaysResponse ¶ added in v1.0.434
func NewDescribeBinlogSaveDaysResponse() (response *DescribeBinlogSaveDaysResponse)
func (*DescribeBinlogSaveDaysResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogSaveDaysResponse) ToJsonString() string
type DescribeBinlogSaveDaysResponseParams ¶ added in v1.0.434
type DescribeBinlogSaveDaysResponseParams struct { // Binlog保留天数 BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogsRequest ¶ added in v1.0.434
type DescribeBinlogsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeBinlogsRequest ¶ added in v1.0.434
func NewDescribeBinlogsRequest() (request *DescribeBinlogsRequest)
func (*DescribeBinlogsRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogsRequest) ToJsonString() string
type DescribeBinlogsRequestParams ¶ added in v1.0.434
type DescribeBinlogsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeBinlogsResponse ¶ added in v1.0.434
type DescribeBinlogsResponse struct { *tchttp.BaseResponse Response *DescribeBinlogsResponseParams `json:"Response"` }
func NewDescribeBinlogsResponse ¶ added in v1.0.434
func NewDescribeBinlogsResponse() (response *DescribeBinlogsResponse)
func (*DescribeBinlogsResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeBinlogsResponse) ToJsonString() string
type DescribeBinlogsResponseParams ¶ added in v1.0.434
type DescribeBinlogsResponseParams struct { // 记录总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Binlog列表 // 注意:此字段可能返回 null,表示取不到有效值。 Binlogs []*BinlogItem `json:"Binlogs,omitnil,omitempty" name:"Binlogs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeChangedParamsAfterUpgradeRequest ¶ added in v1.0.910
type DescribeChangedParamsAfterUpgradeRequest struct { *tchttp.BaseRequest // 集群ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 变配后的CPU DstCpu *int64 `json:"DstCpu,omitnil,omitempty" name:"DstCpu"` // 变配后的MEM,单位G DstMem *int64 `json:"DstMem,omitnil,omitempty" name:"DstMem"` }
func NewDescribeChangedParamsAfterUpgradeRequest ¶ added in v1.0.910
func NewDescribeChangedParamsAfterUpgradeRequest() (request *DescribeChangedParamsAfterUpgradeRequest)
func (*DescribeChangedParamsAfterUpgradeRequest) FromJsonString ¶ added in v1.0.910
func (r *DescribeChangedParamsAfterUpgradeRequest) 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 (*DescribeChangedParamsAfterUpgradeRequest) ToJsonString ¶ added in v1.0.910
func (r *DescribeChangedParamsAfterUpgradeRequest) ToJsonString() string
type DescribeChangedParamsAfterUpgradeRequestParams ¶ added in v1.0.910
type DescribeChangedParamsAfterUpgradeRequestParams struct { // 集群ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 变配后的CPU DstCpu *int64 `json:"DstCpu,omitnil,omitempty" name:"DstCpu"` // 变配后的MEM,单位G DstMem *int64 `json:"DstMem,omitnil,omitempty" name:"DstMem"` }
Predefined struct for user
type DescribeChangedParamsAfterUpgradeResponse ¶ added in v1.0.910
type DescribeChangedParamsAfterUpgradeResponse struct { *tchttp.BaseResponse Response *DescribeChangedParamsAfterUpgradeResponseParams `json:"Response"` }
func NewDescribeChangedParamsAfterUpgradeResponse ¶ added in v1.0.910
func NewDescribeChangedParamsAfterUpgradeResponse() (response *DescribeChangedParamsAfterUpgradeResponse)
func (*DescribeChangedParamsAfterUpgradeResponse) FromJsonString ¶ added in v1.0.910
func (r *DescribeChangedParamsAfterUpgradeResponse) 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 (*DescribeChangedParamsAfterUpgradeResponse) ToJsonString ¶ added in v1.0.910
func (r *DescribeChangedParamsAfterUpgradeResponse) ToJsonString() string
type DescribeChangedParamsAfterUpgradeResponseParams ¶ added in v1.0.910
type DescribeChangedParamsAfterUpgradeResponseParams struct { // 参数个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例参数列表 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*ParamItemInfo `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterDatabasesRequest ¶ added in v1.0.792
type DescribeClusterDatabasesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 分页偏移 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页限制数量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeClusterDatabasesRequest ¶ added in v1.0.792
func NewDescribeClusterDatabasesRequest() (request *DescribeClusterDatabasesRequest)
func (*DescribeClusterDatabasesRequest) FromJsonString ¶ added in v1.0.792
func (r *DescribeClusterDatabasesRequest) 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 (*DescribeClusterDatabasesRequest) ToJsonString ¶ added in v1.0.792
func (r *DescribeClusterDatabasesRequest) ToJsonString() string
type DescribeClusterDatabasesRequestParams ¶ added in v1.0.792
type DescribeClusterDatabasesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 分页偏移 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页限制数量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeClusterDatabasesResponse ¶ added in v1.0.792
type DescribeClusterDatabasesResponse struct { *tchttp.BaseResponse Response *DescribeClusterDatabasesResponseParams `json:"Response"` }
func NewDescribeClusterDatabasesResponse ¶ added in v1.0.792
func NewDescribeClusterDatabasesResponse() (response *DescribeClusterDatabasesResponse)
func (*DescribeClusterDatabasesResponse) FromJsonString ¶ added in v1.0.792
func (r *DescribeClusterDatabasesResponse) 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 (*DescribeClusterDatabasesResponse) ToJsonString ¶ added in v1.0.792
func (r *DescribeClusterDatabasesResponse) ToJsonString() string
type DescribeClusterDatabasesResponseParams ¶ added in v1.0.792
type DescribeClusterDatabasesResponseParams struct { // 总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 分页偏移 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 数据库列表 Databases []*string `json:"Databases,omitnil,omitempty" name:"Databases"` // 分页限制数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterDetailDatabasesRequest ¶ added in v1.0.664
type DescribeClusterDetailDatabasesRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 偏移量,默认0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认20,最大100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据库名称 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` }
func NewDescribeClusterDetailDatabasesRequest ¶ added in v1.0.664
func NewDescribeClusterDetailDatabasesRequest() (request *DescribeClusterDetailDatabasesRequest)
func (*DescribeClusterDetailDatabasesRequest) FromJsonString ¶ added in v1.0.664
func (r *DescribeClusterDetailDatabasesRequest) 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 (*DescribeClusterDetailDatabasesRequest) ToJsonString ¶ added in v1.0.664
func (r *DescribeClusterDetailDatabasesRequest) ToJsonString() string
type DescribeClusterDetailDatabasesRequestParams ¶ added in v1.0.664
type DescribeClusterDetailDatabasesRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 偏移量,默认0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认20,最大100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据库名称 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` }
Predefined struct for user
type DescribeClusterDetailDatabasesResponse ¶ added in v1.0.664
type DescribeClusterDetailDatabasesResponse struct { *tchttp.BaseResponse Response *DescribeClusterDetailDatabasesResponseParams `json:"Response"` }
func NewDescribeClusterDetailDatabasesResponse ¶ added in v1.0.664
func NewDescribeClusterDetailDatabasesResponse() (response *DescribeClusterDetailDatabasesResponse)
func (*DescribeClusterDetailDatabasesResponse) FromJsonString ¶ added in v1.0.664
func (r *DescribeClusterDetailDatabasesResponse) 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 (*DescribeClusterDetailDatabasesResponse) ToJsonString ¶ added in v1.0.664
func (r *DescribeClusterDetailDatabasesResponse) ToJsonString() string
type DescribeClusterDetailDatabasesResponseParams ¶ added in v1.0.664
type DescribeClusterDetailDatabasesResponseParams struct { // 数据库信息 // 注意:此字段可能返回 null,表示取不到有效值。 DbInfos []*DbInfo `json:"DbInfos,omitnil,omitempty" name:"DbInfos"` // 总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterDetailRequest ¶
type DescribeClusterDetailRequest struct { *tchttp.BaseRequest // 集群Id ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeClusterDetailRequestParams struct { // 集群Id ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeClusterDetailResponseParams struct { // 集群详细信息 Detail *CynosdbClusterDetail `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterInstanceGroupsRequest ¶ added in v1.0.862
type DescribeClusterInstanceGroupsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterInstanceGroupsRequest ¶ added in v1.0.862
func NewDescribeClusterInstanceGroupsRequest() (request *DescribeClusterInstanceGroupsRequest)
func (*DescribeClusterInstanceGroupsRequest) FromJsonString ¶ added in v1.0.862
func (r *DescribeClusterInstanceGroupsRequest) 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 (*DescribeClusterInstanceGroupsRequest) ToJsonString ¶ added in v1.0.862
func (r *DescribeClusterInstanceGroupsRequest) ToJsonString() string
type DescribeClusterInstanceGroupsRequestParams ¶ added in v1.0.862
type DescribeClusterInstanceGroupsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterInstanceGroupsResponse ¶ added in v1.0.862
type DescribeClusterInstanceGroupsResponse struct { *tchttp.BaseResponse Response *DescribeClusterInstanceGroupsResponseParams `json:"Response"` }
func NewDescribeClusterInstanceGroupsResponse ¶ added in v1.0.862
func NewDescribeClusterInstanceGroupsResponse() (response *DescribeClusterInstanceGroupsResponse)
func (*DescribeClusterInstanceGroupsResponse) FromJsonString ¶ added in v1.0.862
func (r *DescribeClusterInstanceGroupsResponse) 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 (*DescribeClusterInstanceGroupsResponse) ToJsonString ¶ added in v1.0.862
func (r *DescribeClusterInstanceGroupsResponse) ToJsonString() string
type DescribeClusterInstanceGroupsResponseParams ¶ added in v1.0.862
type DescribeClusterInstanceGroupsResponseParams struct { // 实例组个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例组列表 InstanceGroupInfoList []*CynosdbInstanceGroup `json:"InstanceGroupInfoList,omitnil,omitempty" name:"InstanceGroupInfoList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterInstanceGrpsRequest ¶
type DescribeClusterInstanceGrpsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeClusterInstanceGrpsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeClusterInstanceGrpsResponseParams struct { // 实例组个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例组列表 // // Deprecated: InstanceGrpInfoList is deprecated. InstanceGrpInfoList []*CynosdbInstanceGrp `json:"InstanceGrpInfoList,omitnil,omitempty" name:"InstanceGrpInfoList"` // 实例组列表 InstanceGroupInfoList []*CynosdbInstanceGroup `json:"InstanceGroupInfoList,omitnil,omitempty" name:"InstanceGroupInfoList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterParamLogsRequest ¶ added in v1.0.349
type DescribeClusterParamLogsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID列表,用来记录具体操作哪些实例 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 排序字段,定义在回返结果的基于哪个字段进行排序 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 定义具体的排序规则,限定为desc,asc,DESC,ASC其中之一 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 返回数量,默认为 20,取值范围为(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0,取值范围为[0,INF) Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeClusterParamLogsRequest ¶ added in v1.0.349
func NewDescribeClusterParamLogsRequest() (request *DescribeClusterParamLogsRequest)
func (*DescribeClusterParamLogsRequest) FromJsonString ¶ added in v1.0.349
func (r *DescribeClusterParamLogsRequest) 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 (*DescribeClusterParamLogsRequest) ToJsonString ¶ added in v1.0.349
func (r *DescribeClusterParamLogsRequest) ToJsonString() string
type DescribeClusterParamLogsRequestParams ¶ added in v1.0.426
type DescribeClusterParamLogsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID列表,用来记录具体操作哪些实例 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 排序字段,定义在回返结果的基于哪个字段进行排序 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 定义具体的排序规则,限定为desc,asc,DESC,ASC其中之一 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 返回数量,默认为 20,取值范围为(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0,取值范围为[0,INF) Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeClusterParamLogsResponse ¶ added in v1.0.349
type DescribeClusterParamLogsResponse struct { *tchttp.BaseResponse Response *DescribeClusterParamLogsResponseParams `json:"Response"` }
func NewDescribeClusterParamLogsResponse ¶ added in v1.0.349
func NewDescribeClusterParamLogsResponse() (response *DescribeClusterParamLogsResponse)
func (*DescribeClusterParamLogsResponse) FromJsonString ¶ added in v1.0.349
func (r *DescribeClusterParamLogsResponse) 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 (*DescribeClusterParamLogsResponse) ToJsonString ¶ added in v1.0.349
func (r *DescribeClusterParamLogsResponse) ToJsonString() string
type DescribeClusterParamLogsResponseParams ¶ added in v1.0.426
type DescribeClusterParamLogsResponseParams struct { // 记录总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数修改记录 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterParamLogs []*ClusterParamModifyLog `json:"ClusterParamLogs,omitnil,omitempty" name:"ClusterParamLogs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterParamsRequest ¶ added in v1.0.482
type DescribeClusterParamsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 参数名字 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 是否为全局参数 IsGlobal *string `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
func NewDescribeClusterParamsRequest ¶ added in v1.0.482
func NewDescribeClusterParamsRequest() (request *DescribeClusterParamsRequest)
func (*DescribeClusterParamsRequest) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *DescribeClusterParamsRequest) ToJsonString() string
type DescribeClusterParamsRequestParams ¶ added in v1.0.482
type DescribeClusterParamsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 参数名字 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 是否为全局参数 IsGlobal *string `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
Predefined struct for user
type DescribeClusterParamsResponse ¶ added in v1.0.482
type DescribeClusterParamsResponse struct { *tchttp.BaseResponse Response *DescribeClusterParamsResponseParams `json:"Response"` }
func NewDescribeClusterParamsResponse ¶ added in v1.0.482
func NewDescribeClusterParamsResponse() (response *DescribeClusterParamsResponse)
func (*DescribeClusterParamsResponse) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *DescribeClusterParamsResponse) ToJsonString() string
type DescribeClusterParamsResponseParams ¶ added in v1.0.482
type DescribeClusterParamsResponseParams struct { // 参数个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例参数列表 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*ParamInfo `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterPasswordComplexityRequest ¶ added in v1.0.664
type DescribeClusterPasswordComplexityRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterPasswordComplexityRequest ¶ added in v1.0.664
func NewDescribeClusterPasswordComplexityRequest() (request *DescribeClusterPasswordComplexityRequest)
func (*DescribeClusterPasswordComplexityRequest) FromJsonString ¶ added in v1.0.664
func (r *DescribeClusterPasswordComplexityRequest) 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 (*DescribeClusterPasswordComplexityRequest) ToJsonString ¶ added in v1.0.664
func (r *DescribeClusterPasswordComplexityRequest) ToJsonString() string
type DescribeClusterPasswordComplexityRequestParams ¶ added in v1.0.664
type DescribeClusterPasswordComplexityRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterPasswordComplexityResponse ¶ added in v1.0.664
type DescribeClusterPasswordComplexityResponse struct { *tchttp.BaseResponse Response *DescribeClusterPasswordComplexityResponseParams `json:"Response"` }
func NewDescribeClusterPasswordComplexityResponse ¶ added in v1.0.664
func NewDescribeClusterPasswordComplexityResponse() (response *DescribeClusterPasswordComplexityResponse)
func (*DescribeClusterPasswordComplexityResponse) FromJsonString ¶ added in v1.0.664
func (r *DescribeClusterPasswordComplexityResponse) 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 (*DescribeClusterPasswordComplexityResponse) ToJsonString ¶ added in v1.0.664
func (r *DescribeClusterPasswordComplexityResponse) ToJsonString() string
type DescribeClusterPasswordComplexityResponseParams ¶ added in v1.0.664
type DescribeClusterPasswordComplexityResponseParams struct { // 数据字典参数 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordDictionary *ParamInfo `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"` // 密码长度 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordLength *ParamInfo `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"` // 大小写敏感字符个数 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordMixedCaseCount *ParamInfo `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"` // 数字个数 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordNumberCount *ParamInfo `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"` // 密码等级 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordPolicy *ParamInfo `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"` // 特殊字符个数 // 注意:此字段可能返回 null,表示取不到有效值。 ValidatePasswordSpecialCharCount *ParamInfo `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { *tchttp.BaseRequest // 引擎类型:目前支持“MYSQL”, “POSTGRESQL” DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,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 ¶ added in v1.0.426
type DescribeClustersRequestParams struct { // 引擎类型:目前支持“MYSQL”, “POSTGRESQL” DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,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 ¶ added in v1.0.426
type DescribeClustersResponseParams struct { // 集群数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 集群列表 ClusterSet []*CynosdbCluster `json:"ClusterSet,omitnil,omitempty" name:"ClusterSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBSecurityGroupsRequest ¶
type DescribeDBSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例组ID InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` }
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 ¶ added in v1.0.426
type DescribeDBSecurityGroupsRequestParams struct { // 实例ID // // Deprecated: InstanceId is deprecated. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例组ID InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` }
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 ¶ added in v1.0.426
type DescribeDBSecurityGroupsResponseParams struct { // 安全组信息 Groups []*SecurityGroup `json:"Groups,omitnil,omitempty" name:"Groups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFlowRequest ¶ added in v1.0.589
type DescribeFlowRequest struct { *tchttp.BaseRequest // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` }
func NewDescribeFlowRequest ¶ added in v1.0.589
func NewDescribeFlowRequest() (request *DescribeFlowRequest)
func (*DescribeFlowRequest) FromJsonString ¶ added in v1.0.589
func (r *DescribeFlowRequest) 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 (*DescribeFlowRequest) ToJsonString ¶ added in v1.0.589
func (r *DescribeFlowRequest) ToJsonString() string
type DescribeFlowRequestParams ¶ added in v1.0.589
type DescribeFlowRequestParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` }
Predefined struct for user
type DescribeFlowResponse ¶ added in v1.0.589
type DescribeFlowResponse struct { *tchttp.BaseResponse Response *DescribeFlowResponseParams `json:"Response"` }
func NewDescribeFlowResponse ¶ added in v1.0.589
func NewDescribeFlowResponse() (response *DescribeFlowResponse)
func (*DescribeFlowResponse) FromJsonString ¶ added in v1.0.589
func (r *DescribeFlowResponse) 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 (*DescribeFlowResponse) ToJsonString ¶ added in v1.0.589
func (r *DescribeFlowResponse) ToJsonString() string
type DescribeFlowResponseParams ¶ added in v1.0.589
type DescribeFlowResponseParams struct { // 任务流状态。0-成功,1-失败,2-处理中 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceCLSLogDeliveryRequest ¶ added in v1.0.918
type DescribeInstanceCLSLogDeliveryRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceCLSLogDeliveryRequest ¶ added in v1.0.918
func NewDescribeInstanceCLSLogDeliveryRequest() (request *DescribeInstanceCLSLogDeliveryRequest)
func (*DescribeInstanceCLSLogDeliveryRequest) FromJsonString ¶ added in v1.0.918
func (r *DescribeInstanceCLSLogDeliveryRequest) 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 (*DescribeInstanceCLSLogDeliveryRequest) ToJsonString ¶ added in v1.0.918
func (r *DescribeInstanceCLSLogDeliveryRequest) ToJsonString() string
type DescribeInstanceCLSLogDeliveryRequestParams ¶ added in v1.0.918
type DescribeInstanceCLSLogDeliveryRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceCLSLogDeliveryResponse ¶ added in v1.0.918
type DescribeInstanceCLSLogDeliveryResponse struct { *tchttp.BaseResponse Response *DescribeInstanceCLSLogDeliveryResponseParams `json:"Response"` }
func NewDescribeInstanceCLSLogDeliveryResponse ¶ added in v1.0.918
func NewDescribeInstanceCLSLogDeliveryResponse() (response *DescribeInstanceCLSLogDeliveryResponse)
func (*DescribeInstanceCLSLogDeliveryResponse) FromJsonString ¶ added in v1.0.918
func (r *DescribeInstanceCLSLogDeliveryResponse) 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 (*DescribeInstanceCLSLogDeliveryResponse) ToJsonString ¶ added in v1.0.918
func (r *DescribeInstanceCLSLogDeliveryResponse) ToJsonString() string
type DescribeInstanceCLSLogDeliveryResponseParams ¶ added in v1.0.918
type DescribeInstanceCLSLogDeliveryResponseParams struct { // 总数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例投递信息 InstanceCLSDeliveryInfos []*InstanceCLSDeliveryInfo `json:"InstanceCLSDeliveryInfos,omitnil,omitempty" name:"InstanceCLSDeliveryInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceDetailRequest ¶
type DescribeInstanceDetailRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,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 ¶ added in v1.0.426
type DescribeInstanceDetailRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,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 ¶ added in v1.0.426
type DescribeInstanceDetailResponseParams struct { // 实例详情 Detail *CynosdbInstanceDetail `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceErrorLogsRequest ¶ added in v1.0.654
type DescribeInstanceErrorLogsRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志条数限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 日志条数偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序字段,有Timestamp枚举值 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,有ASC,DESC枚举值 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 日志等级,有error、warning、note三种,支持多个等级同时搜索 LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"` // 关键字,支持模糊搜索 KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"` }
func NewDescribeInstanceErrorLogsRequest ¶ added in v1.0.654
func NewDescribeInstanceErrorLogsRequest() (request *DescribeInstanceErrorLogsRequest)
func (*DescribeInstanceErrorLogsRequest) FromJsonString ¶ added in v1.0.654
func (r *DescribeInstanceErrorLogsRequest) 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 (*DescribeInstanceErrorLogsRequest) ToJsonString ¶ added in v1.0.654
func (r *DescribeInstanceErrorLogsRequest) ToJsonString() string
type DescribeInstanceErrorLogsRequestParams ¶ added in v1.0.654
type DescribeInstanceErrorLogsRequestParams struct { // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志条数限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 日志条数偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 排序字段,有Timestamp枚举值 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,有ASC,DESC枚举值 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 日志等级,有error、warning、note三种,支持多个等级同时搜索 LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"` // 关键字,支持模糊搜索 KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"` }
Predefined struct for user
type DescribeInstanceErrorLogsResponse ¶ added in v1.0.654
type DescribeInstanceErrorLogsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceErrorLogsResponseParams `json:"Response"` }
func NewDescribeInstanceErrorLogsResponse ¶ added in v1.0.654
func NewDescribeInstanceErrorLogsResponse() (response *DescribeInstanceErrorLogsResponse)
func (*DescribeInstanceErrorLogsResponse) FromJsonString ¶ added in v1.0.654
func (r *DescribeInstanceErrorLogsResponse) 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 (*DescribeInstanceErrorLogsResponse) ToJsonString ¶ added in v1.0.654
func (r *DescribeInstanceErrorLogsResponse) ToJsonString() string
type DescribeInstanceErrorLogsResponseParams ¶ added in v1.0.654
type DescribeInstanceErrorLogsResponseParams struct { // 日志条数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 错误日志列表 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorLogs []*CynosdbErrorLogItem `json:"ErrorLogs,omitnil,omitempty" name:"ErrorLogs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceParamsRequest ¶ added in v1.0.664
type DescribeInstanceParamsRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID,支持批量查询 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 参数名搜索条件,支持模糊匹配 ParamKeyword *string `json:"ParamKeyword,omitnil,omitempty" name:"ParamKeyword"` // 是否为全局参数 IsGlobal *string `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
func NewDescribeInstanceParamsRequest ¶ added in v1.0.664
func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)
func (*DescribeInstanceParamsRequest) FromJsonString ¶ added in v1.0.664
func (r *DescribeInstanceParamsRequest) 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 (*DescribeInstanceParamsRequest) ToJsonString ¶ added in v1.0.664
func (r *DescribeInstanceParamsRequest) ToJsonString() string
type DescribeInstanceParamsRequestParams ¶ added in v1.0.664
type DescribeInstanceParamsRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID,支持批量查询 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 参数名搜索条件,支持模糊匹配 ParamKeyword *string `json:"ParamKeyword,omitnil,omitempty" name:"ParamKeyword"` // 是否为全局参数 IsGlobal *string `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
Predefined struct for user
type DescribeInstanceParamsResponse ¶ added in v1.0.664
type DescribeInstanceParamsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceParamsResponseParams `json:"Response"` }
func NewDescribeInstanceParamsResponse ¶ added in v1.0.664
func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)
func (*DescribeInstanceParamsResponse) FromJsonString ¶ added in v1.0.664
func (r *DescribeInstanceParamsResponse) 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 (*DescribeInstanceParamsResponse) ToJsonString ¶ added in v1.0.664
func (r *DescribeInstanceParamsResponse) ToJsonString() string
type DescribeInstanceParamsResponseParams ¶ added in v1.0.664
type DescribeInstanceParamsResponseParams struct { // 实例参数列表 Items []*InstanceParamItem `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceSlowQueriesRequest ¶ added in v1.0.434
type DescribeInstanceSlowQueriesRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 事务开始最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 事务开始最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 用户名 Username *string `json:"Username,omitnil,omitempty" name:"Username"` // 客户端host Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,可选值:asc,desc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeInstanceSlowQueriesRequest ¶ added in v1.0.434
func NewDescribeInstanceSlowQueriesRequest() (request *DescribeInstanceSlowQueriesRequest)
func (*DescribeInstanceSlowQueriesRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeInstanceSlowQueriesRequest) ToJsonString() string
type DescribeInstanceSlowQueriesRequestParams ¶ added in v1.0.434
type DescribeInstanceSlowQueriesRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 事务开始最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 事务开始最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 用户名 Username *string `json:"Username,omitnil,omitempty" name:"Username"` // 客户端host Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,可选值:asc,desc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeInstanceSlowQueriesResponse ¶ added in v1.0.434
type DescribeInstanceSlowQueriesResponse struct { *tchttp.BaseResponse Response *DescribeInstanceSlowQueriesResponseParams `json:"Response"` }
func NewDescribeInstanceSlowQueriesResponse ¶ added in v1.0.434
func NewDescribeInstanceSlowQueriesResponse() (response *DescribeInstanceSlowQueriesResponse)
func (*DescribeInstanceSlowQueriesResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *DescribeInstanceSlowQueriesResponse) ToJsonString() string
type DescribeInstanceSlowQueriesResponseParams ¶ added in v1.0.434
type DescribeInstanceSlowQueriesResponseParams struct { // 总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 慢查询记录 SlowQueries []*SlowQueriesItem `json:"SlowQueries,omitnil,omitempty" name:"SlowQueries"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceSpecsRequest ¶
type DescribeInstanceSpecsRequest struct { *tchttp.BaseRequest // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 是否需要返回可用区信息 IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitnil,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 ¶ added in v1.0.426
type DescribeInstanceSpecsRequestParams struct { // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 是否需要返回可用区信息 IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitnil,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 ¶ added in v1.0.426
type DescribeInstanceSpecsResponseParams struct { // 规格信息 InstanceSpecSet []*InstanceSpec `json:"InstanceSpecSet,omitnil,omitempty" name:"InstanceSpecSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // 返回数量,默认为 20,取值范围为(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 引擎类型:目前支持“MYSQL” DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例状态, 可选值: // creating 创建中 // running 运行中 // isolating 隔离中 // isolated 已隔离 // activating 恢复中 // offlining 下线中 // offlined 已下线 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例id列表 InstanceIds []*string `json:"InstanceIds,omitnil,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 ¶ added in v1.0.426
type DescribeInstancesRequestParams struct { // 返回数量,默认为 20,取值范围为(0,100] Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 引擎类型:目前支持“MYSQL” DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例状态, 可选值: // creating 创建中 // running 运行中 // isolating 隔离中 // isolated 已隔离 // activating 恢复中 // offlining 下线中 // offlined 已下线 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例id列表 InstanceIds []*string `json:"InstanceIds,omitnil,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 ¶ added in v1.0.426
type DescribeInstancesResponseParams struct { // 实例个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例列表 InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMaintainPeriodRequest ¶
type DescribeMaintainPeriodRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,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 ¶ added in v1.0.426
type DescribeMaintainPeriodRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,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 ¶ added in v1.0.426
type DescribeMaintainPeriodResponseParams struct { // 维护week days MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` // 维护开始时间,单位秒 MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护时长,单位秒 MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamTemplateDetailRequest ¶ added in v1.0.664
type DescribeParamTemplateDetailRequest struct { *tchttp.BaseRequest // 参数模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDescribeParamTemplateDetailRequest ¶ added in v1.0.664
func NewDescribeParamTemplateDetailRequest() (request *DescribeParamTemplateDetailRequest)
func (*DescribeParamTemplateDetailRequest) FromJsonString ¶ added in v1.0.664
func (r *DescribeParamTemplateDetailRequest) 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 (*DescribeParamTemplateDetailRequest) ToJsonString ¶ added in v1.0.664
func (r *DescribeParamTemplateDetailRequest) ToJsonString() string
type DescribeParamTemplateDetailRequestParams ¶ added in v1.0.664
type DescribeParamTemplateDetailRequestParams struct { // 参数模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeParamTemplateDetailResponse ¶ added in v1.0.664
type DescribeParamTemplateDetailResponse struct { *tchttp.BaseResponse Response *DescribeParamTemplateDetailResponseParams `json:"Response"` }
func NewDescribeParamTemplateDetailResponse ¶ added in v1.0.664
func NewDescribeParamTemplateDetailResponse() (response *DescribeParamTemplateDetailResponse)
func (*DescribeParamTemplateDetailResponse) FromJsonString ¶ added in v1.0.664
func (r *DescribeParamTemplateDetailResponse) 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 (*DescribeParamTemplateDetailResponse) ToJsonString ¶ added in v1.0.664
func (r *DescribeParamTemplateDetailResponse) ToJsonString() string
type DescribeParamTemplateDetailResponseParams ¶ added in v1.0.664
type DescribeParamTemplateDetailResponseParams struct { // 参数模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 参数模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 引擎版本 EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // 参数总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数列表 Items []*ParamDetail `json:"Items,omitnil,omitempty" name:"Items"` // 数据库类型,可选值:NORMAL,SERVERLESS DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamTemplatesRequest ¶ added in v1.0.450
type DescribeParamTemplatesRequest struct { *tchttp.BaseRequest // 数据库引擎版本号 EngineVersions []*string `json:"EngineVersions,omitnil,omitempty" name:"EngineVersions"` // 模板名称 TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"` // 模板ID TemplateIds []*int64 `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"` // 数据库类型,可选值:NORMAL,SERVERLESS DbModes []*string `json:"DbModes,omitnil,omitempty" name:"DbModes"` // 查询偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 查询限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 查询的模板对应的产品类型 Products []*string `json:"Products,omitnil,omitempty" name:"Products"` // 模板类型 TemplateTypes []*string `json:"TemplateTypes,omitnil,omitempty" name:"TemplateTypes"` // 版本类型 EngineTypes []*string `json:"EngineTypes,omitnil,omitempty" name:"EngineTypes"` // 返回结果的排序字段 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式(asc、desc) OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` }
func NewDescribeParamTemplatesRequest ¶ added in v1.0.450
func NewDescribeParamTemplatesRequest() (request *DescribeParamTemplatesRequest)
func (*DescribeParamTemplatesRequest) FromJsonString ¶ added in v1.0.450
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 ¶ added in v1.0.450
func (r *DescribeParamTemplatesRequest) ToJsonString() string
type DescribeParamTemplatesRequestParams ¶ added in v1.0.450
type DescribeParamTemplatesRequestParams struct { // 数据库引擎版本号 EngineVersions []*string `json:"EngineVersions,omitnil,omitempty" name:"EngineVersions"` // 模板名称 TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"` // 模板ID TemplateIds []*int64 `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"` // 数据库类型,可选值:NORMAL,SERVERLESS DbModes []*string `json:"DbModes,omitnil,omitempty" name:"DbModes"` // 查询偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 查询限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 查询的模板对应的产品类型 Products []*string `json:"Products,omitnil,omitempty" name:"Products"` // 模板类型 TemplateTypes []*string `json:"TemplateTypes,omitnil,omitempty" name:"TemplateTypes"` // 版本类型 EngineTypes []*string `json:"EngineTypes,omitnil,omitempty" name:"EngineTypes"` // 返回结果的排序字段 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式(asc、desc) OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` }
Predefined struct for user
type DescribeParamTemplatesResponse ¶ added in v1.0.450
type DescribeParamTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeParamTemplatesResponseParams `json:"Response"` }
func NewDescribeParamTemplatesResponse ¶ added in v1.0.450
func NewDescribeParamTemplatesResponse() (response *DescribeParamTemplatesResponse)
func (*DescribeParamTemplatesResponse) FromJsonString ¶ added in v1.0.450
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 ¶ added in v1.0.450
func (r *DescribeParamTemplatesResponse) ToJsonString() string
type DescribeParamTemplatesResponseParams ¶ added in v1.0.450
type DescribeParamTemplatesResponseParams struct { // 参数模板数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数模板信息 Items []*ParamTemplateListInfo `json:"Items,omitnil,omitempty" name:"Items"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectSecurityGroupsRequest ¶
type DescribeProjectSecurityGroupsRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 限制量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 搜索关键字 SearchKey *string `json:"SearchKey,omitnil,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 ¶ added in v1.0.426
type DescribeProjectSecurityGroupsRequestParams struct { // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 限制量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 搜索关键字 SearchKey *string `json:"SearchKey,omitnil,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 ¶ added in v1.0.426
type DescribeProjectSecurityGroupsResponseParams struct { // 安全组详情 Groups []*SecurityGroup `json:"Groups,omitnil,omitempty" name:"Groups"` // 总数量 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxiesRequest ¶ added in v1.0.683
type DescribeProxiesRequest struct { *tchttp.BaseRequest // 集群ID(该参数必传,例如cynosdbmysql-xxxxxx) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryParamFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeProxiesRequest ¶ added in v1.0.683
func NewDescribeProxiesRequest() (request *DescribeProxiesRequest)
func (*DescribeProxiesRequest) FromJsonString ¶ added in v1.0.683
func (r *DescribeProxiesRequest) 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 (*DescribeProxiesRequest) ToJsonString ¶ added in v1.0.683
func (r *DescribeProxiesRequest) ToJsonString() string
type DescribeProxiesRequestParams ¶ added in v1.0.683
type DescribeProxiesRequestParams struct { // 集群ID(该参数必传,例如cynosdbmysql-xxxxxx) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryParamFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeProxiesResponse ¶ added in v1.0.683
type DescribeProxiesResponse struct { *tchttp.BaseResponse Response *DescribeProxiesResponseParams `json:"Response"` }
func NewDescribeProxiesResponse ¶ added in v1.0.683
func NewDescribeProxiesResponse() (response *DescribeProxiesResponse)
func (*DescribeProxiesResponse) FromJsonString ¶ added in v1.0.683
func (r *DescribeProxiesResponse) 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 (*DescribeProxiesResponse) ToJsonString ¶ added in v1.0.683
func (r *DescribeProxiesResponse) ToJsonString() string
type DescribeProxiesResponseParams ¶ added in v1.0.683
type DescribeProxiesResponseParams struct { // 数据库代理组数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 数据库代理组列表 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyGroupInfos []*ProxyGroupInfo `json:"ProxyGroupInfos,omitnil,omitempty" name:"ProxyGroupInfos"` // 数据库代理节点 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyNodeInfos []*ProxyNodeInfo `json:"ProxyNodeInfos,omitnil,omitempty" name:"ProxyNodeInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyNodesRequest ¶ added in v1.0.683
type DescribeProxyNodesRequest struct { *tchttp.BaseRequest // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeProxyNodesRequest ¶ added in v1.0.683
func NewDescribeProxyNodesRequest() (request *DescribeProxyNodesRequest)
func (*DescribeProxyNodesRequest) FromJsonString ¶ added in v1.0.683
func (r *DescribeProxyNodesRequest) 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 (*DescribeProxyNodesRequest) ToJsonString ¶ added in v1.0.683
func (r *DescribeProxyNodesRequest) ToJsonString() string
type DescribeProxyNodesRequestParams ¶ added in v1.0.683
type DescribeProxyNodesRequestParams struct { // 返回数量,默认为 20,最大值为 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 记录偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,取值范围: // <li> CREATETIME:创建时间</li> // <li> PERIODENDTIME:过期时间</li> OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,取值范围: // <li> ASC:升序排序 </li> // <li> DESC:降序排序 </li> OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeProxyNodesResponse ¶ added in v1.0.683
type DescribeProxyNodesResponse struct { *tchttp.BaseResponse Response *DescribeProxyNodesResponseParams `json:"Response"` }
func NewDescribeProxyNodesResponse ¶ added in v1.0.683
func NewDescribeProxyNodesResponse() (response *DescribeProxyNodesResponse)
func (*DescribeProxyNodesResponse) FromJsonString ¶ added in v1.0.683
func (r *DescribeProxyNodesResponse) 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 (*DescribeProxyNodesResponse) ToJsonString ¶ added in v1.0.683
func (r *DescribeProxyNodesResponse) ToJsonString() string
type DescribeProxyNodesResponseParams ¶ added in v1.0.683
type DescribeProxyNodesResponseParams struct { // 数据库代理节点总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 数据库代理节点列表 ProxyNodeInfos []*ProxyNodeInfo `json:"ProxyNodeInfos,omitnil,omitempty" name:"ProxyNodeInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxySpecsRequest ¶ added in v1.0.686
type DescribeProxySpecsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeProxySpecsRequest ¶ added in v1.0.686
func NewDescribeProxySpecsRequest() (request *DescribeProxySpecsRequest)
func (*DescribeProxySpecsRequest) FromJsonString ¶ added in v1.0.686
func (r *DescribeProxySpecsRequest) 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 (*DescribeProxySpecsRequest) ToJsonString ¶ added in v1.0.686
func (r *DescribeProxySpecsRequest) ToJsonString() string
type DescribeProxySpecsRequestParams ¶ added in v1.0.686
type DescribeProxySpecsRequestParams struct { }
Predefined struct for user
type DescribeProxySpecsResponse ¶ added in v1.0.686
type DescribeProxySpecsResponse struct { *tchttp.BaseResponse Response *DescribeProxySpecsResponseParams `json:"Response"` }
func NewDescribeProxySpecsResponse ¶ added in v1.0.686
func NewDescribeProxySpecsResponse() (response *DescribeProxySpecsResponse)
func (*DescribeProxySpecsResponse) FromJsonString ¶ added in v1.0.686
func (r *DescribeProxySpecsResponse) 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 (*DescribeProxySpecsResponse) ToJsonString ¶ added in v1.0.686
func (r *DescribeProxySpecsResponse) ToJsonString() string
type DescribeProxySpecsResponseParams ¶ added in v1.0.686
type DescribeProxySpecsResponseParams struct { // 数据库代理规格列表 ProxySpecs []*ProxySpec `json:"ProxySpecs,omitnil,omitempty" name:"ProxySpecs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcePackageDetailRequest ¶ added in v1.0.668
type DescribeResourcePackageDetailRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 集群ID ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 偏移量 Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"` // 实例D InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeResourcePackageDetailRequest ¶ added in v1.0.668
func NewDescribeResourcePackageDetailRequest() (request *DescribeResourcePackageDetailRequest)
func (*DescribeResourcePackageDetailRequest) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageDetailRequest) 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 (*DescribeResourcePackageDetailRequest) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageDetailRequest) ToJsonString() string
type DescribeResourcePackageDetailRequestParams ¶ added in v1.0.668
type DescribeResourcePackageDetailRequestParams struct { // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 集群ID ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 偏移量 Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"` // 实例D InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeResourcePackageDetailResponse ¶ added in v1.0.668
type DescribeResourcePackageDetailResponse struct { *tchttp.BaseResponse Response *DescribeResourcePackageDetailResponseParams `json:"Response"` }
func NewDescribeResourcePackageDetailResponse ¶ added in v1.0.668
func NewDescribeResourcePackageDetailResponse() (response *DescribeResourcePackageDetailResponse)
func (*DescribeResourcePackageDetailResponse) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageDetailResponse) 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 (*DescribeResourcePackageDetailResponse) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageDetailResponse) ToJsonString() string
type DescribeResourcePackageDetailResponseParams ¶ added in v1.0.668
type DescribeResourcePackageDetailResponseParams struct { // 资源包抵扣总数 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 资源包明细说明 Detail []*PackageDetail `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcePackageListRequest ¶ added in v1.0.668
type DescribeResourcePackageListRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageId []*string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 资源包名称 PackageName []*string `json:"PackageName,omitnil,omitempty" name:"PackageName"` // 资源包类型 // CCU-计算资源包,DISK-存储资源包 PackageType []*string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion []*string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包状态 // creating-创建中; // using-使用中; // expired-已过期; // normal_finish-使用完; // apply_refund-申请退费中; // refund-已退费。 Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // 排序条件,支持排序条件:startTime-生效时间, // expireTime-过期时间,packageUsedSpec-使用容量,packageTotalSpec-总存储量。 // 按照数组顺序排列; OrderBy []*string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,DESC-降序,ASC-升序 OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeResourcePackageListRequest ¶ added in v1.0.668
func NewDescribeResourcePackageListRequest() (request *DescribeResourcePackageListRequest)
func (*DescribeResourcePackageListRequest) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageListRequest) 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 (*DescribeResourcePackageListRequest) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageListRequest) ToJsonString() string
type DescribeResourcePackageListRequestParams ¶ added in v1.0.668
type DescribeResourcePackageListRequestParams struct { // 资源包唯一ID PackageId []*string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 资源包名称 PackageName []*string `json:"PackageName,omitnil,omitempty" name:"PackageName"` // 资源包类型 // CCU-计算资源包,DISK-存储资源包 PackageType []*string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion []*string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包状态 // creating-创建中; // using-使用中; // expired-已过期; // normal_finish-使用完; // apply_refund-申请退费中; // refund-已退费。 Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // 排序条件,支持排序条件:startTime-生效时间, // expireTime-过期时间,packageUsedSpec-使用容量,packageTotalSpec-总存储量。 // 按照数组顺序排列; OrderBy []*string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,DESC-降序,ASC-升序 OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeResourcePackageListResponse ¶ added in v1.0.668
type DescribeResourcePackageListResponse struct { *tchttp.BaseResponse Response *DescribeResourcePackageListResponseParams `json:"Response"` }
func NewDescribeResourcePackageListResponse ¶ added in v1.0.668
func NewDescribeResourcePackageListResponse() (response *DescribeResourcePackageListResponse)
func (*DescribeResourcePackageListResponse) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageListResponse) 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 (*DescribeResourcePackageListResponse) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageListResponse) ToJsonString() string
type DescribeResourcePackageListResponseParams ¶ added in v1.0.668
type DescribeResourcePackageListResponseParams struct { // 资源包总数 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 资源包明细 // 注意:此字段可能返回 null,表示取不到有效值。 Detail []*Package `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcePackageSaleSpecRequest ¶ added in v1.0.668
type DescribeResourcePackageSaleSpecRequest struct { *tchttp.BaseRequest // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包类型 // CCU-计算资源包 // DISK-存储资源包 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeResourcePackageSaleSpecRequest ¶ added in v1.0.668
func NewDescribeResourcePackageSaleSpecRequest() (request *DescribeResourcePackageSaleSpecRequest)
func (*DescribeResourcePackageSaleSpecRequest) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageSaleSpecRequest) 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 (*DescribeResourcePackageSaleSpecRequest) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageSaleSpecRequest) ToJsonString() string
type DescribeResourcePackageSaleSpecRequestParams ¶ added in v1.0.668
type DescribeResourcePackageSaleSpecRequestParams struct { // 实例类型 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包类型 // CCU-计算资源包 // DISK-存储资源包 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeResourcePackageSaleSpecResponse ¶ added in v1.0.668
type DescribeResourcePackageSaleSpecResponse struct { *tchttp.BaseResponse Response *DescribeResourcePackageSaleSpecResponseParams `json:"Response"` }
func NewDescribeResourcePackageSaleSpecResponse ¶ added in v1.0.668
func NewDescribeResourcePackageSaleSpecResponse() (response *DescribeResourcePackageSaleSpecResponse)
func (*DescribeResourcePackageSaleSpecResponse) FromJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageSaleSpecResponse) 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 (*DescribeResourcePackageSaleSpecResponse) ToJsonString ¶ added in v1.0.668
func (r *DescribeResourcePackageSaleSpecResponse) ToJsonString() string
type DescribeResourcePackageSaleSpecResponseParams ¶ added in v1.0.668
type DescribeResourcePackageSaleSpecResponseParams struct { // 可售卖资源包规格总数 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 资源包明细说明 // 注意:此字段可能返回 null,表示取不到有效值。 Detail []*SalePackageSpec `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesByDealNameRequest ¶
type DescribeResourcesByDealNameRequest struct { *tchttp.BaseRequest // 计费订单ID(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)。 // DealName与DealNames至少应输入一项,两者都传时以DealName为准。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 计费订单ID列表,可以一次查询若干条订单ID对应资源信息(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)。 // DealName与DealNames至少应输入一项,两者都传时以DealName为准。 DealNames []*string `json:"DealNames,omitnil,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 ¶ added in v1.0.426
type DescribeResourcesByDealNameRequestParams struct { // 计费订单ID(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)。 // DealName与DealNames至少应输入一项,两者都传时以DealName为准。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 计费订单ID列表,可以一次查询若干条订单ID对应资源信息(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)。 // DealName与DealNames至少应输入一项,两者都传时以DealName为准。 DealNames []*string `json:"DealNames,omitnil,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 ¶ added in v1.0.426
type DescribeResourcesByDealNameResponseParams struct { // 计费资源id信息数组 BillingResourceInfos []*BillingResourceInfo `json:"BillingResourceInfos,omitnil,omitempty" name:"BillingResourceInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackTimeRangeRequest ¶
type DescribeRollbackTimeRangeRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeRollbackTimeRangeRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type DescribeRollbackTimeRangeResponseParams struct { // 有效回归时间范围开始时间点(已废弃) // 注意:此字段可能返回 null,表示取不到有效值。 TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"` // 有效回归时间范围结束时间点(已废弃) // 注意:此字段可能返回 null,表示取不到有效值。 TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"` // 可回档时间范围 RollbackTimeRanges []*RollbackTimeRange `json:"RollbackTimeRanges,omitnil,omitempty" name:"RollbackTimeRanges"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackTimeValidityRequest ¶
type DescribeRollbackTimeValidityRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 期望回滚的时间点 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 回滚时间点的允许误差范围 ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,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 ¶ added in v1.0.426
type DescribeRollbackTimeValidityRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 期望回滚的时间点 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 回滚时间点的允许误差范围 ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,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 ¶ added in v1.0.426
type DescribeRollbackTimeValidityResponseParams struct { // 存储poolID PoolId *uint64 `json:"PoolId,omitnil,omitempty" name:"PoolId"` // 回滚任务ID,后续按该时间点回滚时,需要传入 QueryId *uint64 `json:"QueryId,omitnil,omitempty" name:"QueryId"` // 时间点是否有效:pass,检测通过;fail,检测失败 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 建议时间点,在Status为fail时,该值才有效 SuggestTime *string `json:"SuggestTime,omitnil,omitempty" name:"SuggestTime"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSupportProxyVersionRequest ¶ added in v1.0.687
type DescribeSupportProxyVersionRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
func NewDescribeSupportProxyVersionRequest ¶ added in v1.0.687
func NewDescribeSupportProxyVersionRequest() (request *DescribeSupportProxyVersionRequest)
func (*DescribeSupportProxyVersionRequest) FromJsonString ¶ added in v1.0.687
func (r *DescribeSupportProxyVersionRequest) 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 (*DescribeSupportProxyVersionRequest) ToJsonString ¶ added in v1.0.687
func (r *DescribeSupportProxyVersionRequest) ToJsonString() string
type DescribeSupportProxyVersionRequestParams ¶ added in v1.0.687
type DescribeSupportProxyVersionRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type DescribeSupportProxyVersionResponse ¶ added in v1.0.687
type DescribeSupportProxyVersionResponse struct { *tchttp.BaseResponse Response *DescribeSupportProxyVersionResponseParams `json:"Response"` }
func NewDescribeSupportProxyVersionResponse ¶ added in v1.0.687
func NewDescribeSupportProxyVersionResponse() (response *DescribeSupportProxyVersionResponse)
func (*DescribeSupportProxyVersionResponse) FromJsonString ¶ added in v1.0.687
func (r *DescribeSupportProxyVersionResponse) 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 (*DescribeSupportProxyVersionResponse) ToJsonString ¶ added in v1.0.687
func (r *DescribeSupportProxyVersionResponse) ToJsonString() string
type DescribeSupportProxyVersionResponseParams ¶ added in v1.0.687
type DescribeSupportProxyVersionResponseParams struct { // 支持的数据库代理版本集合 // 注意:此字段可能返回 null,表示取不到有效值。 SupportProxyVersions []*string `json:"SupportProxyVersions,omitnil,omitempty" name:"SupportProxyVersions"` // 当前proxy版本号 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶ added in v1.0.859
type DescribeTasksRequest struct { *tchttp.BaseRequest // 任务开始时间起始值 StartTimeBegin *string `json:"StartTimeBegin,omitnil,omitempty" name:"StartTimeBegin"` // 任务开始时间结束值 StartTimeEnd *string `json:"StartTimeEnd,omitnil,omitempty" name:"StartTimeEnd"` // 过滤条件 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询列表长度 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 查询列表偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeTasksRequest ¶ added in v1.0.859
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶ added in v1.0.859
func (r *DescribeTasksRequest) 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 (*DescribeTasksRequest) ToJsonString ¶ added in v1.0.859
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶ added in v1.0.859
type DescribeTasksRequestParams struct { // 任务开始时间起始值 StartTimeBegin *string `json:"StartTimeBegin,omitnil,omitempty" name:"StartTimeBegin"` // 任务开始时间结束值 StartTimeEnd *string `json:"StartTimeEnd,omitnil,omitempty" name:"StartTimeEnd"` // 过滤条件 Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询列表长度 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 查询列表偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeTasksResponse ¶ added in v1.0.859
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶ added in v1.0.859
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶ added in v1.0.859
func (r *DescribeTasksResponse) 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 (*DescribeTasksResponse) ToJsonString ¶ added in v1.0.859
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶ added in v1.0.859
type DescribeTasksResponseParams struct { // 任务列表总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 任务列表 TaskList []*BizTaskInfo `json:"TaskList,omitnil,omitempty" name:"TaskList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶ added in v1.0.595
type DescribeZonesRequest struct { *tchttp.BaseRequest // 是否包含虚拟区 IncludeVirtualZones *bool `json:"IncludeVirtualZones,omitnil,omitempty" name:"IncludeVirtualZones"` // 是否展示地域下所有可用区,并显示用户每个可用区权限 ShowPermission *bool `json:"ShowPermission,omitnil,omitempty" name:"ShowPermission"` }
func NewDescribeZonesRequest ¶ added in v1.0.595
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶ added in v1.0.595
func (r *DescribeZonesRequest) 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 (*DescribeZonesRequest) ToJsonString ¶ added in v1.0.595
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶ added in v1.0.595
type DescribeZonesRequestParams struct { // 是否包含虚拟区 IncludeVirtualZones *bool `json:"IncludeVirtualZones,omitnil,omitempty" name:"IncludeVirtualZones"` // 是否展示地域下所有可用区,并显示用户每个可用区权限 ShowPermission *bool `json:"ShowPermission,omitnil,omitempty" name:"ShowPermission"` }
Predefined struct for user
type DescribeZonesResponse ¶ added in v1.0.595
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `json:"Response"` }
func NewDescribeZonesResponse ¶ added in v1.0.595
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶ added in v1.0.595
func (r *DescribeZonesResponse) 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 (*DescribeZonesResponse) ToJsonString ¶ added in v1.0.595
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶ added in v1.0.595
type DescribeZonesResponseParams struct { // 地域信息 RegionSet []*SaleRegion `json:"RegionSet,omitnil,omitempty" name:"RegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateSecurityGroupsRequest ¶ added in v1.0.349
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例组ID数组 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
func NewDisassociateSecurityGroupsRequest ¶ added in v1.0.349
func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)
func (*DisassociateSecurityGroupsRequest) FromJsonString ¶ added in v1.0.349
func (r *DisassociateSecurityGroupsRequest) 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 (*DisassociateSecurityGroupsRequest) ToJsonString ¶ added in v1.0.349
func (r *DisassociateSecurityGroupsRequest) ToJsonString() string
type DisassociateSecurityGroupsRequestParams ¶ added in v1.0.426
type DisassociateSecurityGroupsRequestParams struct { // 实例组ID数组 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
Predefined struct for user
type DisassociateSecurityGroupsResponse ¶ added in v1.0.349
type DisassociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DisassociateSecurityGroupsResponseParams `json:"Response"` }
func NewDisassociateSecurityGroupsResponse ¶ added in v1.0.349
func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)
func (*DisassociateSecurityGroupsResponse) FromJsonString ¶ added in v1.0.349
func (r *DisassociateSecurityGroupsResponse) 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 (*DisassociateSecurityGroupsResponse) ToJsonString ¶ added in v1.0.349
func (r *DisassociateSecurityGroupsResponse) ToJsonString() string
type DisassociateSecurityGroupsResponseParams ¶ added in v1.0.426
type DisassociateSecurityGroupsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ErrorLogItemExport ¶ added in v1.0.654
type ErrorLogItemExport struct { // 时间 // 注意:此字段可能返回 null,表示取不到有效值。 Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 日志等级,可选值note, warning,error // 注意:此字段可能返回 null,表示取不到有效值。 Level *string `json:"Level,omitnil,omitempty" name:"Level"` // 日志内容 // 注意:此字段可能返回 null,表示取不到有效值。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
type ExportInstanceErrorLogsRequest ¶ added in v1.0.654
type ExportInstanceErrorLogsRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 日志最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 日志等级 LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"` // 关键字 KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"` // 文件类型,可选值:csv, original FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // 可选值Timestamp OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // ASC或DESC OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewExportInstanceErrorLogsRequest ¶ added in v1.0.654
func NewExportInstanceErrorLogsRequest() (request *ExportInstanceErrorLogsRequest)
func (*ExportInstanceErrorLogsRequest) FromJsonString ¶ added in v1.0.654
func (r *ExportInstanceErrorLogsRequest) 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 (*ExportInstanceErrorLogsRequest) ToJsonString ¶ added in v1.0.654
func (r *ExportInstanceErrorLogsRequest) ToJsonString() string
type ExportInstanceErrorLogsRequestParams ¶ added in v1.0.654
type ExportInstanceErrorLogsRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 日志最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 日志等级 LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"` // 关键字 KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"` // 文件类型,可选值:csv, original FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // 可选值Timestamp OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // ASC或DESC OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type ExportInstanceErrorLogsResponse ¶ added in v1.0.654
type ExportInstanceErrorLogsResponse struct { *tchttp.BaseResponse Response *ExportInstanceErrorLogsResponseParams `json:"Response"` }
func NewExportInstanceErrorLogsResponse ¶ added in v1.0.654
func NewExportInstanceErrorLogsResponse() (response *ExportInstanceErrorLogsResponse)
func (*ExportInstanceErrorLogsResponse) FromJsonString ¶ added in v1.0.654
func (r *ExportInstanceErrorLogsResponse) 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 (*ExportInstanceErrorLogsResponse) ToJsonString ¶ added in v1.0.654
func (r *ExportInstanceErrorLogsResponse) ToJsonString() string
type ExportInstanceErrorLogsResponseParams ¶ added in v1.0.654
type ExportInstanceErrorLogsResponseParams struct { // 错误日志导出内容 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorLogItems []*ErrorLogItemExport `json:"ErrorLogItems,omitnil,omitempty" name:"ErrorLogItems"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExportInstanceSlowQueriesRequest ¶ added in v1.0.434
type ExportInstanceSlowQueriesRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 事务开始最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 事务开始最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 用户名 Username *string `json:"Username,omitnil,omitempty" name:"Username"` // 客户端host Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 文件类型,可选值:csv, original FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // 排序字段,可选值: QueryTime,LockTime,RowsExamined,RowsSent OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,可选值:asc,desc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewExportInstanceSlowQueriesRequest ¶ added in v1.0.434
func NewExportInstanceSlowQueriesRequest() (request *ExportInstanceSlowQueriesRequest)
func (*ExportInstanceSlowQueriesRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *ExportInstanceSlowQueriesRequest) ToJsonString() string
type ExportInstanceSlowQueriesRequestParams ¶ added in v1.0.434
type ExportInstanceSlowQueriesRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 事务开始最早时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 事务开始最晚时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 限制条数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 用户名 Username *string `json:"Username,omitnil,omitempty" name:"Username"` // 客户端host Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 文件类型,可选值:csv, original FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // 排序字段,可选值: QueryTime,LockTime,RowsExamined,RowsSent OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序类型,可选值:asc,desc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type ExportInstanceSlowQueriesResponse ¶ added in v1.0.434
type ExportInstanceSlowQueriesResponse struct { *tchttp.BaseResponse Response *ExportInstanceSlowQueriesResponseParams `json:"Response"` }
func NewExportInstanceSlowQueriesResponse ¶ added in v1.0.434
func NewExportInstanceSlowQueriesResponse() (response *ExportInstanceSlowQueriesResponse)
func (*ExportInstanceSlowQueriesResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *ExportInstanceSlowQueriesResponse) ToJsonString() string
type ExportInstanceSlowQueriesResponseParams ¶ added in v1.0.434
type ExportInstanceSlowQueriesResponseParams struct { // 慢查询导出内容 FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GrantAccountPrivilegesRequest ¶ added in v1.0.349
type GrantAccountPrivilegesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限码数组 DbTablePrivileges []*string `json:"DbTablePrivileges,omitnil,omitempty" name:"DbTablePrivileges"` // 数据库表信息 DbTables []*DbTable `json:"DbTables,omitnil,omitempty" name:"DbTables"` }
func NewGrantAccountPrivilegesRequest ¶ added in v1.0.349
func NewGrantAccountPrivilegesRequest() (request *GrantAccountPrivilegesRequest)
func (*GrantAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.349
func (r *GrantAccountPrivilegesRequest) 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 (*GrantAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.349
func (r *GrantAccountPrivilegesRequest) ToJsonString() string
type GrantAccountPrivilegesRequestParams ¶ added in v1.0.426
type GrantAccountPrivilegesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限码数组 DbTablePrivileges []*string `json:"DbTablePrivileges,omitnil,omitempty" name:"DbTablePrivileges"` // 数据库表信息 DbTables []*DbTable `json:"DbTables,omitnil,omitempty" name:"DbTables"` }
Predefined struct for user
type GrantAccountPrivilegesResponse ¶ added in v1.0.349
type GrantAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *GrantAccountPrivilegesResponseParams `json:"Response"` }
func NewGrantAccountPrivilegesResponse ¶ added in v1.0.349
func NewGrantAccountPrivilegesResponse() (response *GrantAccountPrivilegesResponse)
func (*GrantAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.349
func (r *GrantAccountPrivilegesResponse) 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 (*GrantAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.349
func (r *GrantAccountPrivilegesResponse) ToJsonString() string
type GrantAccountPrivilegesResponseParams ¶ added in v1.0.426
type GrantAccountPrivilegesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InputAccount ¶ added in v1.0.349
type InquirePriceCreateRequest ¶ added in v1.0.449
type InquirePriceCreateRequest struct { *tchttp.BaseRequest // 可用区,每个地域提供最佳实践 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 购买计算节点个数 GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"` // 实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS InstancePayMode *string `json:"InstancePayMode,omitnil,omitempty" name:"InstancePayMode"` // 存储购买类型,可选值为:PREPAID, POSTPAID StoragePayMode *string `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // CPU核数,PREPAID与POSTPAID实例类型必传 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存大小,单位G,PREPAID与POSTPAID实例类型必传 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Ccu大小,serverless类型必传 Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"` // 存储大小,PREPAID存储类型必传 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 购买时长,PREPAID购买类型必传 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 时长单位,可选值为:m,d。PREPAID购买类型必传 TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
func NewInquirePriceCreateRequest ¶ added in v1.0.449
func NewInquirePriceCreateRequest() (request *InquirePriceCreateRequest)
func (*InquirePriceCreateRequest) FromJsonString ¶ added in v1.0.449
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 ¶ added in v1.0.449
func (r *InquirePriceCreateRequest) ToJsonString() string
type InquirePriceCreateRequestParams ¶ added in v1.0.449
type InquirePriceCreateRequestParams struct { // 可用区,每个地域提供最佳实践 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 购买计算节点个数 GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"` // 实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS InstancePayMode *string `json:"InstancePayMode,omitnil,omitempty" name:"InstancePayMode"` // 存储购买类型,可选值为:PREPAID, POSTPAID StoragePayMode *string `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"` // CPU核数,PREPAID与POSTPAID实例类型必传 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存大小,单位G,PREPAID与POSTPAID实例类型必传 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Ccu大小,serverless类型必传 Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"` // 存储大小,PREPAID存储类型必传 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 购买时长,PREPAID购买类型必传 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 时长单位,可选值为:m,d。PREPAID购买类型必传 TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
Predefined struct for user
type InquirePriceCreateResponse ¶ added in v1.0.449
type InquirePriceCreateResponse struct { *tchttp.BaseResponse Response *InquirePriceCreateResponseParams `json:"Response"` }
func NewInquirePriceCreateResponse ¶ added in v1.0.449
func NewInquirePriceCreateResponse() (response *InquirePriceCreateResponse)
func (*InquirePriceCreateResponse) FromJsonString ¶ added in v1.0.449
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 ¶ added in v1.0.449
func (r *InquirePriceCreateResponse) ToJsonString() string
type InquirePriceCreateResponseParams ¶ added in v1.0.449
type InquirePriceCreateResponseParams struct { // 实例价格 InstancePrice *TradePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"` // 存储价格 StoragePrice *TradePrice `json:"StoragePrice,omitnil,omitempty" name:"StoragePrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceRenewRequest ¶ added in v1.0.450
type InquirePriceRenewRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 购买时长,与TimeUnit组合才能生效 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 购买时长单位, 与TimeSpan组合生效,可选:日:d,月:m TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
func NewInquirePriceRenewRequest ¶ added in v1.0.450
func NewInquirePriceRenewRequest() (request *InquirePriceRenewRequest)
func (*InquirePriceRenewRequest) FromJsonString ¶ added in v1.0.450
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 ¶ added in v1.0.450
func (r *InquirePriceRenewRequest) ToJsonString() string
type InquirePriceRenewRequestParams ¶ added in v1.0.450
type InquirePriceRenewRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 购买时长,与TimeUnit组合才能生效 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 购买时长单位, 与TimeSpan组合生效,可选:日:d,月:m TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
Predefined struct for user
type InquirePriceRenewResponse ¶ added in v1.0.450
type InquirePriceRenewResponse struct { *tchttp.BaseResponse Response *InquirePriceRenewResponseParams `json:"Response"` }
func NewInquirePriceRenewResponse ¶ added in v1.0.450
func NewInquirePriceRenewResponse() (response *InquirePriceRenewResponse)
func (*InquirePriceRenewResponse) FromJsonString ¶ added in v1.0.450
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 ¶ added in v1.0.450
func (r *InquirePriceRenewResponse) ToJsonString() string
type InquirePriceRenewResponseParams ¶ added in v1.0.450
type InquirePriceRenewResponseParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID列表 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 对应的询价结果数组 Prices []*TradePrice `json:"Prices,omitnil,omitempty" name:"Prices"` // 续费计算节点的总价格 InstanceRealTotalPrice *int64 `json:"InstanceRealTotalPrice,omitnil,omitempty" name:"InstanceRealTotalPrice"` // 续费存储节点的总价格 StorageRealTotalPrice *int64 `json:"StorageRealTotalPrice,omitnil,omitempty" name:"StorageRealTotalPrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InstanceAbility ¶ added in v1.0.837
type InstanceAbility struct { // 实例是否支持强制重启,可选值:yes:支持,no:不支持 // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportForceRestart *string `json:"IsSupportForceRestart,omitnil,omitempty" name:"IsSupportForceRestart"` // 不支持强制重启的原因 // 注意:此字段可能返回 null,表示取不到有效值。 NonsupportForceRestartReason *string `json:"NonsupportForceRestartReason,omitnil,omitempty" name:"NonsupportForceRestartReason"` }
type InstanceAuditLogFilter ¶ added in v1.0.700
type InstanceAuditLogFilter struct { // 过滤项。目前支持以下搜索条件: // // 包含、不包含、包含(分词维度)、不包含(分词维度): sql - SQL详情;alarmLevel - 告警等级;ruleTemplateId - 规则模板Id // // 等于、不等于、包含、不包含: host - 客户端地址; user - 用户名; dbName - 数据库名称; // // 等于、不等于: sqlType - SQL类型; errCode - 错误码; threadId - 线程ID; // // 范围搜索(时间类型统一为微秒): execTime - 执行时间; lockWaitTime - 执行时间; ioWaitTime - IO等待时间; trxLivingTime - 事物持续时间; cpuTime - cpu时间; checkRows - 扫描行数; affectRows - 影响行数; sentRows - 返回行数。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 过滤条件。支持以下条件: // WINC-包含(分词维度), // WEXC-不包含(分词维度), // INC - 包含, // EXC - 不包含, // EQS - 等于, // NEQ - 不等于, // RA - 范围。 Compare *string `json:"Compare,omitnil,omitempty" name:"Compare"` // 过滤的值。反向查询时,多个值之前是且的关系,正向查询多个值是或的关系。 Value []*string `json:"Value,omitnil,omitempty" name:"Value"` }
type InstanceAuditRule ¶ added in v1.0.571
type InstanceAuditRule struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 是否是规则审计。true-规则审计,false-全审计。 // 注意:此字段可能返回 null,表示取不到有效值。 AuditRule *bool `json:"AuditRule,omitnil,omitempty" name:"AuditRule"` // 审计规则详情。仅当AuditRule=true时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"` // 是否是审计策略 // 注意:此字段可能返回 null,表示取不到有效值。 OldRule *bool `json:"OldRule,omitnil,omitempty" name:"OldRule"` // 实例应用的规则模板详情 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplates []*RuleTemplateInfo `json:"RuleTemplates,omitnil,omitempty" name:"RuleTemplates"` }
type InstanceAuditStatus ¶ added in v1.0.849
type InstanceAuditStatus struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 审计状态。ON-表示审计已开启,OFF-表示审计关闭。 AuditStatus *string `json:"AuditStatus,omitnil,omitempty" name:"AuditStatus"` // 日志保留时长。 // 注意:此字段可能返回 null,表示取不到有效值。 LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"` // 高频存储时长。 // 注意:此字段可能返回 null,表示取不到有效值。 HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"` // 低频存储时长。 // 注意:此字段可能返回 null,表示取不到有效值。 LowLogExpireDay *uint64 `json:"LowLogExpireDay,omitnil,omitempty" name:"LowLogExpireDay"` // 日志存储量。 // 注意:此字段可能返回 null,表示取不到有效值。 BillingAmount *float64 `json:"BillingAmount,omitnil,omitempty" name:"BillingAmount"` // 高频存储量。 // 注意:此字段可能返回 null,表示取不到有效值。 HighRealStorage *float64 `json:"HighRealStorage,omitnil,omitempty" name:"HighRealStorage"` // 低频存储量。 // 注意:此字段可能返回 null,表示取不到有效值。 LowRealStorage *float64 `json:"LowRealStorage,omitnil,omitempty" name:"LowRealStorage"` // 是否为全审计。true-表示全审计。 // 注意:此字段可能返回 null,表示取不到有效值。 AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"` // 审计开通时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateAt *string `json:"CreateAt,omitnil,omitempty" name:"CreateAt"` // 实例相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceInfo *AuditInstanceInfo `json:"InstanceInfo,omitnil,omitempty" name:"InstanceInfo"` // 总存储量。 // 注意:此字段可能返回 null,表示取不到有效值。 RealStorage *float64 `json:"RealStorage,omitnil,omitempty" name:"RealStorage"` // 实例所应用的规则模板。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` }
type InstanceCLSDeliveryInfo ¶ added in v1.0.919
type InstanceCLSDeliveryInfo struct { // 实例id // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例name // // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 日志主题id // // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题name // 注意:此字段可能返回 null,表示取不到有效值。 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 日志集id // // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 日志集name // // 注意:此字段可能返回 null,表示取不到有效值。 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 日志投递地域 // // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 投递状态creating,running,offlining,offlined // // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type InstanceInitInfo ¶ added in v1.0.565
type InstanceInitInfo struct { // 实例cpu Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 实例内存 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 实例类型 rw/ro InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 实例个数,范围[1,15] InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // Serverless实例个数最小值,范围[1,15] MinRoCount *int64 `json:"MinRoCount,omitnil,omitempty" name:"MinRoCount"` // Serverless实例个数最大值,范围[1,15] MaxRoCount *int64 `json:"MaxRoCount,omitnil,omitempty" name:"MaxRoCount"` // Serverless实例最小规格 MinRoCpu *float64 `json:"MinRoCpu,omitnil,omitempty" name:"MinRoCpu"` // Serverless实例最大规格 MaxRoCpu *float64 `json:"MaxRoCpu,omitnil,omitempty" name:"MaxRoCpu"` }
type InstanceNetInfo ¶ added in v1.0.617
type InstanceNetInfo struct { // 网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceGroupType *string `json:"InstanceGroupType,omitnil,omitempty" name:"InstanceGroupType"` // 实例组ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 私有网络ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 网络类型, 0-基础网络, 1-vpc网络, 2-黑石网络 // 注意:此字段可能返回 null,表示取不到有效值。 NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"` // 私有网络IP // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 私有网络端口 // 注意:此字段可能返回 null,表示取不到有效值。 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 外网域名 // 注意:此字段可能返回 null,表示取不到有效值。 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 外网IP // 注意:此字段可能返回 null,表示取不到有效值。 WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"` // 外网端口 // 注意:此字段可能返回 null,表示取不到有效值。 WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` // 外网开启状态 // 注意:此字段可能返回 null,表示取不到有效值。 WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"` }
type InstanceParamItem ¶ added in v1.0.664
type InstanceParamItem struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例参数列表 ParamsItems []*ParamItemDetail `json:"ParamsItems,omitnil,omitempty" name:"ParamsItems"` }
type InstanceSpec ¶
type InstanceSpec struct { // 实例CPU,单位:核 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 实例内存,单位:GB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 实例最大可用存储,单位:GB MaxStorageSize *uint64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"` // 实例最小可用存储,单位:GB MinStorageSize *uint64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"` // 是否有库存 HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"` // 机器类型 MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"` // 最大IOPS MaxIops *int64 `json:"MaxIops,omitnil,omitempty" name:"MaxIops"` // 最大IO带宽 MaxIoBandWidth *int64 `json:"MaxIoBandWidth,omitnil,omitempty" name:"MaxIoBandWidth"` // 地域库存信息 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneStockInfos []*ZoneStockInfo `json:"ZoneStockInfos,omitnil,omitempty" name:"ZoneStockInfos"` // 库存数量 // 注意:此字段可能返回 null,表示取不到有效值。 StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"` }
type IsolateClusterRequest ¶
type IsolateClusterRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 该参数已废用 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例退还原因类型 IsolateReasonTypes []*int64 `json:"IsolateReasonTypes,omitnil,omitempty" name:"IsolateReasonTypes"` // 实例退还原因补充 IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` }
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 ¶ added in v1.0.426
type IsolateClusterRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 该参数已废用 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例退还原因类型 IsolateReasonTypes []*int64 `json:"IsolateReasonTypes,omitnil,omitempty" name:"IsolateReasonTypes"` // 实例退还原因补充 IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` }
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 ¶ added in v1.0.426
type IsolateClusterResponseParams struct { // 任务流ID // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 退款订单号 // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateInstanceRequest ¶
type IsolateInstanceRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID数组,例如["cynosdbbmysql-ins-asd","cynosdbmysql-ins-zxc"] InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` // 该参数已废弃 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例退还原因类型 IsolateReasonTypes []*int64 `json:"IsolateReasonTypes,omitnil,omitempty" name:"IsolateReasonTypes"` // 实例退还原因补充 IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` }
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 ¶ added in v1.0.426
type IsolateInstanceRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID数组,例如["cynosdbbmysql-ins-asd","cynosdbmysql-ins-zxc"] InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` // 该参数已废弃 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 实例退还原因类型 IsolateReasonTypes []*int64 `json:"IsolateReasonTypes,omitnil,omitempty" name:"IsolateReasonTypes"` // 实例退还原因补充 IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` }
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 ¶ added in v1.0.426
type IsolateInstanceResponseParams struct { // 任务流id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 隔离实例的订单id(预付费实例) // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LogRuleTemplateInfo ¶ added in v1.0.749
type LogRuleTemplateInfo struct { // 模板ID // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"` // 规则模板名 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 告警等级。1-低风险,2-中风险,3-高风险。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *string `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 规则模板变更状态:0-未变更;1-已变更;2-已删除 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateStatus *int64 `json:"RuleTemplateStatus,omitnil,omitempty" name:"RuleTemplateStatus"` }
type LogicBackupConfigInfo ¶ added in v1.0.752
type LogicBackupConfigInfo struct { // 是否开启自动逻辑备份 // 注意:此字段可能返回 null,表示取不到有效值。 LogicBackupEnable *string `json:"LogicBackupEnable,omitnil,omitempty" name:"LogicBackupEnable"` // 自动逻辑备份开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 LogicBackupTimeBeg *uint64 `json:"LogicBackupTimeBeg,omitnil,omitempty" name:"LogicBackupTimeBeg"` // 自动逻辑备份结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 LogicBackupTimeEnd *uint64 `json:"LogicBackupTimeEnd,omitnil,omitempty" name:"LogicBackupTimeEnd"` // 自动逻辑备份保留时间 // 注意:此字段可能返回 null,表示取不到有效值。 LogicReserveDuration *uint64 `json:"LogicReserveDuration,omitnil,omitempty" name:"LogicReserveDuration"` // 是否开启跨地域逻辑备份 // 注意:此字段可能返回 null,表示取不到有效值。 LogicCrossRegionsEnable *string `json:"LogicCrossRegionsEnable,omitnil,omitempty" name:"LogicCrossRegionsEnable"` // 逻辑备份所跨地域 // 注意:此字段可能返回 null,表示取不到有效值。 LogicCrossRegions []*string `json:"LogicCrossRegions,omitnil,omitempty" name:"LogicCrossRegions"` }
type ManualBackupData ¶ added in v1.0.859
type ManualBackupData struct { // 备份类型。snapshot-快照备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份方式。auto-自动备份,manual-手动 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 备份时间 SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"` }
type ModifiableInfo ¶ added in v1.0.552
type ModifiableInfo struct { // 参数是否可被修改, 1:可以 0:不可以 IsModifiable *int64 `json:"IsModifiable,omitnil,omitempty" name:"IsModifiable"` }
type ModifyAccountDescriptionRequest ¶ added in v1.0.664
type ModifyAccountDescriptionRequest struct { *tchttp.BaseRequest // 数据库账号名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 数据库账号描述信息 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 主机,默认为"%" Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
func NewModifyAccountDescriptionRequest ¶ added in v1.0.664
func NewModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest)
func (*ModifyAccountDescriptionRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountDescriptionRequest) 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 (*ModifyAccountDescriptionRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountDescriptionRequest) ToJsonString() string
type ModifyAccountDescriptionRequestParams ¶ added in v1.0.664
type ModifyAccountDescriptionRequestParams struct { // 数据库账号名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 数据库账号描述信息 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 主机,默认为"%" Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
Predefined struct for user
type ModifyAccountDescriptionResponse ¶ added in v1.0.664
type ModifyAccountDescriptionResponse struct { *tchttp.BaseResponse Response *ModifyAccountDescriptionResponseParams `json:"Response"` }
func NewModifyAccountDescriptionResponse ¶ added in v1.0.664
func NewModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse)
func (*ModifyAccountDescriptionResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountDescriptionResponse) 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 (*ModifyAccountDescriptionResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountDescriptionResponse) ToJsonString() string
type ModifyAccountDescriptionResponseParams ¶ added in v1.0.664
type ModifyAccountDescriptionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountHostRequest ¶ added in v1.0.664
type ModifyAccountHostRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 新主机 NewHost *string `json:"NewHost,omitnil,omitempty" name:"NewHost"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` }
func NewModifyAccountHostRequest ¶ added in v1.0.664
func NewModifyAccountHostRequest() (request *ModifyAccountHostRequest)
func (*ModifyAccountHostRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountHostRequest) 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 (*ModifyAccountHostRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountHostRequest) ToJsonString() string
type ModifyAccountHostRequestParams ¶ added in v1.0.664
type ModifyAccountHostRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 新主机 NewHost *string `json:"NewHost,omitnil,omitempty" name:"NewHost"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` }
Predefined struct for user
type ModifyAccountHostResponse ¶ added in v1.0.664
type ModifyAccountHostResponse struct { *tchttp.BaseResponse Response *ModifyAccountHostResponseParams `json:"Response"` }
func NewModifyAccountHostResponse ¶ added in v1.0.664
func NewModifyAccountHostResponse() (response *ModifyAccountHostResponse)
func (*ModifyAccountHostResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountHostResponse) 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 (*ModifyAccountHostResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountHostResponse) ToJsonString() string
type ModifyAccountHostResponseParams ¶ added in v1.0.664
type ModifyAccountHostResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountParamsRequest ¶ added in v1.0.349
type ModifyAccountParamsRequest struct { *tchttp.BaseRequest // 集群id,不超过32个字符 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限数组,当前仅支持参数:max_user_connections,max_user_connections不能大于10240 AccountParams []*AccountParam `json:"AccountParams,omitnil,omitempty" name:"AccountParams"` }
func NewModifyAccountParamsRequest ¶ added in v1.0.349
func NewModifyAccountParamsRequest() (request *ModifyAccountParamsRequest)
func (*ModifyAccountParamsRequest) FromJsonString ¶ added in v1.0.349
func (r *ModifyAccountParamsRequest) 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 (*ModifyAccountParamsRequest) ToJsonString ¶ added in v1.0.349
func (r *ModifyAccountParamsRequest) ToJsonString() string
type ModifyAccountParamsRequestParams ¶ added in v1.0.426
type ModifyAccountParamsRequestParams struct { // 集群id,不超过32个字符 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限数组,当前仅支持参数:max_user_connections,max_user_connections不能大于10240 AccountParams []*AccountParam `json:"AccountParams,omitnil,omitempty" name:"AccountParams"` }
Predefined struct for user
type ModifyAccountParamsResponse ¶ added in v1.0.349
type ModifyAccountParamsResponse struct { *tchttp.BaseResponse Response *ModifyAccountParamsResponseParams `json:"Response"` }
func NewModifyAccountParamsResponse ¶ added in v1.0.349
func NewModifyAccountParamsResponse() (response *ModifyAccountParamsResponse)
func (*ModifyAccountParamsResponse) FromJsonString ¶ added in v1.0.349
func (r *ModifyAccountParamsResponse) 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 (*ModifyAccountParamsResponse) ToJsonString ¶ added in v1.0.349
func (r *ModifyAccountParamsResponse) ToJsonString() string
type ModifyAccountParamsResponseParams ¶ added in v1.0.426
type ModifyAccountParamsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountPrivilegesRequest ¶ added in v1.0.664
type ModifyAccountPrivilegesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 全局权限数组 GlobalPrivileges []*string `json:"GlobalPrivileges,omitnil,omitempty" name:"GlobalPrivileges"` // 数据库权限数组 DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitnil,omitempty" name:"DatabasePrivileges"` // 表权限数组 TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitnil,omitempty" name:"TablePrivileges"` }
func NewModifyAccountPrivilegesRequest ¶ added in v1.0.664
func NewModifyAccountPrivilegesRequest() (request *ModifyAccountPrivilegesRequest)
func (*ModifyAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountPrivilegesRequest) 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 (*ModifyAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountPrivilegesRequest) ToJsonString() string
type ModifyAccountPrivilegesRequestParams ¶ added in v1.0.664
type ModifyAccountPrivilegesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 全局权限数组 GlobalPrivileges []*string `json:"GlobalPrivileges,omitnil,omitempty" name:"GlobalPrivileges"` // 数据库权限数组 DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitnil,omitempty" name:"DatabasePrivileges"` // 表权限数组 TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitnil,omitempty" name:"TablePrivileges"` }
Predefined struct for user
type ModifyAccountPrivilegesResponse ¶ added in v1.0.664
type ModifyAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *ModifyAccountPrivilegesResponseParams `json:"Response"` }
func NewModifyAccountPrivilegesResponse ¶ added in v1.0.664
func NewModifyAccountPrivilegesResponse() (response *ModifyAccountPrivilegesResponse)
func (*ModifyAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyAccountPrivilegesResponse) 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 (*ModifyAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyAccountPrivilegesResponse) ToJsonString() string
type ModifyAccountPrivilegesResponseParams ¶ added in v1.0.664
type ModifyAccountPrivilegesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAuditRuleTemplatesRequest ¶ added in v1.0.571
type ModifyAuditRuleTemplatesRequest struct { *tchttp.BaseRequest // 审计规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 修改后的审计规则。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 修改后的规则模板名称。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 修改后的规则模板描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 告警等级。1-低风险,2-中风险,3-高风险。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
func NewModifyAuditRuleTemplatesRequest ¶ added in v1.0.571
func NewModifyAuditRuleTemplatesRequest() (request *ModifyAuditRuleTemplatesRequest)
func (*ModifyAuditRuleTemplatesRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *ModifyAuditRuleTemplatesRequest) ToJsonString() string
type ModifyAuditRuleTemplatesRequestParams ¶ added in v1.0.571
type ModifyAuditRuleTemplatesRequestParams struct { // 审计规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 修改后的审计规则。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 修改后的规则模板名称。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 修改后的规则模板描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 告警等级。1-低风险,2-中风险,3-高风险。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` }
Predefined struct for user
type ModifyAuditRuleTemplatesResponse ¶ added in v1.0.571
type ModifyAuditRuleTemplatesResponse struct { *tchttp.BaseResponse Response *ModifyAuditRuleTemplatesResponseParams `json:"Response"` }
func NewModifyAuditRuleTemplatesResponse ¶ added in v1.0.571
func NewModifyAuditRuleTemplatesResponse() (response *ModifyAuditRuleTemplatesResponse)
func (*ModifyAuditRuleTemplatesResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *ModifyAuditRuleTemplatesResponse) ToJsonString() string
type ModifyAuditRuleTemplatesResponseParams ¶ added in v1.0.571
type ModifyAuditRuleTemplatesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAuditServiceRequest ¶ added in v1.0.571
type ModifyAuditServiceRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志保留时长。 LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"` // 高频日志保留时长。 HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"` // 修改实例审计规则为全审计。 AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"` // 规则审计。 AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"` // 规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` }
func NewModifyAuditServiceRequest ¶ added in v1.0.571
func NewModifyAuditServiceRequest() (request *ModifyAuditServiceRequest)
func (*ModifyAuditServiceRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *ModifyAuditServiceRequest) ToJsonString() string
type ModifyAuditServiceRequestParams ¶ added in v1.0.571
type ModifyAuditServiceRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志保留时长。 LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"` // 高频日志保留时长。 HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"` // 修改实例审计规则为全审计。 AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"` // 规则审计。 AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"` // 规则模板ID。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` }
Predefined struct for user
type ModifyAuditServiceResponse ¶ added in v1.0.571
type ModifyAuditServiceResponse struct { *tchttp.BaseResponse Response *ModifyAuditServiceResponseParams `json:"Response"` }
func NewModifyAuditServiceResponse ¶ added in v1.0.571
func NewModifyAuditServiceResponse() (response *ModifyAuditServiceResponse)
func (*ModifyAuditServiceResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *ModifyAuditServiceResponse) ToJsonString() string
type ModifyAuditServiceResponseParams ¶ added in v1.0.571
type ModifyAuditServiceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupConfigRequest ¶
type ModifyBackupConfigRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"` // 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"` // 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000 ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"` // 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份 BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"` // 该参数目前不支持修改,无需填写。备份方式,logic-逻辑备份,snapshot-快照备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 逻辑备份配置 LogicBackupConfig *LogicBackupConfigInfo `json:"LogicBackupConfig,omitnil,omitempty" name:"LogicBackupConfig"` // 是否删除自动逻辑备份 DeleteAutoLogicBackup *bool `json:"DeleteAutoLogicBackup,omitnil,omitempty" name:"DeleteAutoLogicBackup"` }
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 ¶ added in v1.0.426
type ModifyBackupConfigRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"` // 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200 BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"` // 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000 ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"` // 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份 BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"` // 该参数目前不支持修改,无需填写。备份方式,logic-逻辑备份,snapshot-快照备份 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 逻辑备份配置 LogicBackupConfig *LogicBackupConfigInfo `json:"LogicBackupConfig,omitnil,omitempty" name:"LogicBackupConfig"` // 是否删除自动逻辑备份 DeleteAutoLogicBackup *bool `json:"DeleteAutoLogicBackup,omitnil,omitempty" name:"DeleteAutoLogicBackup"` }
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 ¶ added in v1.0.426
type ModifyBackupConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupNameRequest ¶ added in v1.0.434
type ModifyBackupNameRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份文件ID BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"` // 备注名,长度不能超过60个字符 BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"` }
func NewModifyBackupNameRequest ¶ added in v1.0.434
func NewModifyBackupNameRequest() (request *ModifyBackupNameRequest)
func (*ModifyBackupNameRequest) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *ModifyBackupNameRequest) ToJsonString() string
type ModifyBackupNameRequestParams ¶ added in v1.0.434
type ModifyBackupNameRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 备份文件ID BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"` // 备注名,长度不能超过60个字符 BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"` }
Predefined struct for user
type ModifyBackupNameResponse ¶ added in v1.0.434
type ModifyBackupNameResponse struct { *tchttp.BaseResponse Response *ModifyBackupNameResponseParams `json:"Response"` }
func NewModifyBackupNameResponse ¶ added in v1.0.434
func NewModifyBackupNameResponse() (response *ModifyBackupNameResponse)
func (*ModifyBackupNameResponse) FromJsonString ¶ added in v1.0.434
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 ¶ added in v1.0.434
func (r *ModifyBackupNameResponse) ToJsonString() string
type ModifyBackupNameResponseParams ¶ added in v1.0.434
type ModifyBackupNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBinlogSaveDaysRequest ¶ added in v1.0.664
type ModifyBinlogSaveDaysRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Binlog保留天数 BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"` }
func NewModifyBinlogSaveDaysRequest ¶ added in v1.0.664
func NewModifyBinlogSaveDaysRequest() (request *ModifyBinlogSaveDaysRequest)
func (*ModifyBinlogSaveDaysRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyBinlogSaveDaysRequest) 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 (*ModifyBinlogSaveDaysRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyBinlogSaveDaysRequest) ToJsonString() string
type ModifyBinlogSaveDaysRequestParams ¶ added in v1.0.664
type ModifyBinlogSaveDaysRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Binlog保留天数 BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"` }
Predefined struct for user
type ModifyBinlogSaveDaysResponse ¶ added in v1.0.664
type ModifyBinlogSaveDaysResponse struct { *tchttp.BaseResponse Response *ModifyBinlogSaveDaysResponseParams `json:"Response"` }
func NewModifyBinlogSaveDaysResponse ¶ added in v1.0.664
func NewModifyBinlogSaveDaysResponse() (response *ModifyBinlogSaveDaysResponse)
func (*ModifyBinlogSaveDaysResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyBinlogSaveDaysResponse) 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 (*ModifyBinlogSaveDaysResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyBinlogSaveDaysResponse) ToJsonString() string
type ModifyBinlogSaveDaysResponseParams ¶ added in v1.0.664
type ModifyBinlogSaveDaysResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterDatabaseRequest ¶ added in v1.0.664
type ModifyClusterDatabaseRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // 新授权用户主机权限 NewUserHostPrivileges []*UserHostPrivilege `json:"NewUserHostPrivileges,omitnil,omitempty" name:"NewUserHostPrivileges"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 历史授权用户主机权限 OldUserHostPrivileges []*UserHostPrivilege `json:"OldUserHostPrivileges,omitnil,omitempty" name:"OldUserHostPrivileges"` }
func NewModifyClusterDatabaseRequest ¶ added in v1.0.664
func NewModifyClusterDatabaseRequest() (request *ModifyClusterDatabaseRequest)
func (*ModifyClusterDatabaseRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyClusterDatabaseRequest) 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 (*ModifyClusterDatabaseRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyClusterDatabaseRequest) ToJsonString() string
type ModifyClusterDatabaseRequestParams ¶ added in v1.0.664
type ModifyClusterDatabaseRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // 新授权用户主机权限 NewUserHostPrivileges []*UserHostPrivilege `json:"NewUserHostPrivileges,omitnil,omitempty" name:"NewUserHostPrivileges"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 历史授权用户主机权限 OldUserHostPrivileges []*UserHostPrivilege `json:"OldUserHostPrivileges,omitnil,omitempty" name:"OldUserHostPrivileges"` }
Predefined struct for user
type ModifyClusterDatabaseResponse ¶ added in v1.0.664
type ModifyClusterDatabaseResponse struct { *tchttp.BaseResponse Response *ModifyClusterDatabaseResponseParams `json:"Response"` }
func NewModifyClusterDatabaseResponse ¶ added in v1.0.664
func NewModifyClusterDatabaseResponse() (response *ModifyClusterDatabaseResponse)
func (*ModifyClusterDatabaseResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyClusterDatabaseResponse) 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 (*ModifyClusterDatabaseResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyClusterDatabaseResponse) ToJsonString() string
type ModifyClusterDatabaseResponseParams ¶ added in v1.0.664
type ModifyClusterDatabaseResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterNameRequest ¶ added in v1.0.375
type ModifyClusterNameRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群名 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` }
func NewModifyClusterNameRequest ¶ added in v1.0.375
func NewModifyClusterNameRequest() (request *ModifyClusterNameRequest)
func (*ModifyClusterNameRequest) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *ModifyClusterNameRequest) ToJsonString() string
type ModifyClusterNameRequestParams ¶ added in v1.0.426
type ModifyClusterNameRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群名 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` }
Predefined struct for user
type ModifyClusterNameResponse ¶ added in v1.0.375
type ModifyClusterNameResponse struct { *tchttp.BaseResponse Response *ModifyClusterNameResponseParams `json:"Response"` }
func NewModifyClusterNameResponse ¶ added in v1.0.375
func NewModifyClusterNameResponse() (response *ModifyClusterNameResponse)
func (*ModifyClusterNameResponse) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *ModifyClusterNameResponse) ToJsonString() string
type ModifyClusterNameResponseParams ¶ added in v1.0.426
type ModifyClusterNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterParamRequest ¶ added in v1.0.278
type ModifyClusterParamRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验 ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` // 维护期间执行-yes,立即执行-no IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
func NewModifyClusterParamRequest ¶ added in v1.0.278
func NewModifyClusterParamRequest() (request *ModifyClusterParamRequest)
func (*ModifyClusterParamRequest) FromJsonString ¶ added in v1.0.278
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 ¶ added in v1.0.278
func (r *ModifyClusterParamRequest) ToJsonString() string
type ModifyClusterParamRequestParams ¶ added in v1.0.426
type ModifyClusterParamRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验 ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` // 维护期间执行-yes,立即执行-no IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type ModifyClusterParamResponse ¶ added in v1.0.278
type ModifyClusterParamResponse struct { *tchttp.BaseResponse Response *ModifyClusterParamResponseParams `json:"Response"` }
func NewModifyClusterParamResponse ¶ added in v1.0.278
func NewModifyClusterParamResponse() (response *ModifyClusterParamResponse)
func (*ModifyClusterParamResponse) FromJsonString ¶ added in v1.0.278
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 ¶ added in v1.0.278
func (r *ModifyClusterParamResponse) ToJsonString() string
type ModifyClusterParamResponseParams ¶ added in v1.0.426
type ModifyClusterParamResponseParams struct { // 异步请求Id,用于查询结果 AsyncRequestId *string `json:"AsyncRequestId,omitnil,omitempty" name:"AsyncRequestId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterPasswordComplexityRequest ¶ added in v1.0.664
type ModifyClusterPasswordComplexityRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 密码长度 ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"` // 大小写字符个数 ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"` // 特殊字符个数 ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"` // 数字个数 ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"` // 密码强度("MEDIUM", "STRONG") ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"` // 数据字典 ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"` }
func NewModifyClusterPasswordComplexityRequest ¶ added in v1.0.664
func NewModifyClusterPasswordComplexityRequest() (request *ModifyClusterPasswordComplexityRequest)
func (*ModifyClusterPasswordComplexityRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyClusterPasswordComplexityRequest) 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 (*ModifyClusterPasswordComplexityRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyClusterPasswordComplexityRequest) ToJsonString() string
type ModifyClusterPasswordComplexityRequestParams ¶ added in v1.0.664
type ModifyClusterPasswordComplexityRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 密码长度 ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"` // 大小写字符个数 ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"` // 特殊字符个数 ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"` // 数字个数 ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"` // 密码强度("MEDIUM", "STRONG") ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"` // 数据字典 ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"` }
Predefined struct for user
type ModifyClusterPasswordComplexityResponse ¶ added in v1.0.664
type ModifyClusterPasswordComplexityResponse struct { *tchttp.BaseResponse Response *ModifyClusterPasswordComplexityResponseParams `json:"Response"` }
func NewModifyClusterPasswordComplexityResponse ¶ added in v1.0.664
func NewModifyClusterPasswordComplexityResponse() (response *ModifyClusterPasswordComplexityResponse)
func (*ModifyClusterPasswordComplexityResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyClusterPasswordComplexityResponse) 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 (*ModifyClusterPasswordComplexityResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyClusterPasswordComplexityResponse) ToJsonString() string
type ModifyClusterPasswordComplexityResponseParams ¶ added in v1.0.664
type ModifyClusterPasswordComplexityResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterSlaveZoneRequest ¶ added in v1.0.482
type ModifyClusterSlaveZoneRequest struct { *tchttp.BaseRequest // 集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 旧从可用区 OldSlaveZone *string `json:"OldSlaveZone,omitnil,omitempty" name:"OldSlaveZone"` // 新从可用区 NewSlaveZone *string `json:"NewSlaveZone,omitnil,omitempty" name:"NewSlaveZone"` // binlog同步方式。默认值:async。可选值:sync、semisync、async BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"` }
func NewModifyClusterSlaveZoneRequest ¶ added in v1.0.482
func NewModifyClusterSlaveZoneRequest() (request *ModifyClusterSlaveZoneRequest)
func (*ModifyClusterSlaveZoneRequest) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *ModifyClusterSlaveZoneRequest) ToJsonString() string
type ModifyClusterSlaveZoneRequestParams ¶ added in v1.0.482
type ModifyClusterSlaveZoneRequestParams struct { // 集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 旧从可用区 OldSlaveZone *string `json:"OldSlaveZone,omitnil,omitempty" name:"OldSlaveZone"` // 新从可用区 NewSlaveZone *string `json:"NewSlaveZone,omitnil,omitempty" name:"NewSlaveZone"` // binlog同步方式。默认值:async。可选值:sync、semisync、async BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"` }
Predefined struct for user
type ModifyClusterSlaveZoneResponse ¶ added in v1.0.482
type ModifyClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *ModifyClusterSlaveZoneResponseParams `json:"Response"` }
func NewModifyClusterSlaveZoneResponse ¶ added in v1.0.482
func NewModifyClusterSlaveZoneResponse() (response *ModifyClusterSlaveZoneResponse)
func (*ModifyClusterSlaveZoneResponse) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *ModifyClusterSlaveZoneResponse) ToJsonString() string
type ModifyClusterSlaveZoneResponseParams ¶ added in v1.0.482
type ModifyClusterSlaveZoneResponseParams struct { // 异步FlowId FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterStorageRequest ¶ added in v1.0.493
type ModifyClusterStorageRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群新存储大小(单位G) NewStorageLimit *int64 `json:"NewStorageLimit,omitnil,omitempty" name:"NewStorageLimit"` // 集群原存储大小(单位G) OldStorageLimit *int64 `json:"OldStorageLimit,omitnil,omitempty" name:"OldStorageLimit"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` }
func NewModifyClusterStorageRequest ¶ added in v1.0.493
func NewModifyClusterStorageRequest() (request *ModifyClusterStorageRequest)
func (*ModifyClusterStorageRequest) FromJsonString ¶ added in v1.0.493
func (r *ModifyClusterStorageRequest) 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 (*ModifyClusterStorageRequest) ToJsonString ¶ added in v1.0.493
func (r *ModifyClusterStorageRequest) ToJsonString() string
type ModifyClusterStorageRequestParams ¶ added in v1.0.493
type ModifyClusterStorageRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 集群新存储大小(单位G) NewStorageLimit *int64 `json:"NewStorageLimit,omitnil,omitempty" name:"NewStorageLimit"` // 集群原存储大小(单位G) OldStorageLimit *int64 `json:"OldStorageLimit,omitnil,omitempty" name:"OldStorageLimit"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` }
Predefined struct for user
type ModifyClusterStorageResponse ¶ added in v1.0.493
type ModifyClusterStorageResponse struct { *tchttp.BaseResponse Response *ModifyClusterStorageResponseParams `json:"Response"` }
func NewModifyClusterStorageResponse ¶ added in v1.0.493
func NewModifyClusterStorageResponse() (response *ModifyClusterStorageResponse)
func (*ModifyClusterStorageResponse) FromJsonString ¶ added in v1.0.493
func (r *ModifyClusterStorageResponse) 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 (*ModifyClusterStorageResponse) ToJsonString ¶ added in v1.0.493
func (r *ModifyClusterStorageResponse) ToJsonString() string
type ModifyClusterStorageResponseParams ¶ added in v1.0.493
type ModifyClusterStorageResponseParams struct { // 冻结流水ID // 注意:此字段可能返回 null,表示取不到有效值。 TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // 大订单号 // 注意:此字段可能返回 null,表示取不到有效值。 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 订单号 // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsRequest ¶
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例组ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,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 ¶ added in v1.0.426
type ModifyDBInstanceSecurityGroupsRequestParams struct { // 实例组ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 可用区 Zone *string `json:"Zone,omitnil,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 ¶ added in v1.0.426
type ModifyDBInstanceSecurityGroupsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDbVersionData ¶ added in v1.0.859
type ModifyInstanceData ¶ added in v1.0.859
type ModifyInstanceData struct { // 变配后CPU Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 变配后内存 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 变配后存储上限 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 变配前CPU OldCpu *int64 `json:"OldCpu,omitnil,omitempty" name:"OldCpu"` // 变配前内存 OldMemory *int64 `json:"OldMemory,omitnil,omitempty" name:"OldMemory"` // 变配前存储上限 OldStorageLimit *int64 `json:"OldStorageLimit,omitnil,omitempty" name:"OldStorageLimit"` // 升级方式。升级完成后切换或维护时间内切换 UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` }
type ModifyInstanceNameRequest ¶ added in v1.0.375
type ModifyInstanceNameRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
func NewModifyInstanceNameRequest ¶ added in v1.0.375
func NewModifyInstanceNameRequest() (request *ModifyInstanceNameRequest)
func (*ModifyInstanceNameRequest) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *ModifyInstanceNameRequest) ToJsonString() string
type ModifyInstanceNameRequestParams ¶ added in v1.0.426
type ModifyInstanceNameRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyInstanceNameResponse ¶ added in v1.0.375
type ModifyInstanceNameResponse struct { *tchttp.BaseResponse Response *ModifyInstanceNameResponseParams `json:"Response"` }
func NewModifyInstanceNameResponse ¶ added in v1.0.375
func NewModifyInstanceNameResponse() (response *ModifyInstanceNameResponse)
func (*ModifyInstanceNameResponse) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *ModifyInstanceNameResponse) ToJsonString() string
type ModifyInstanceNameResponseParams ¶ added in v1.0.426
type ModifyInstanceNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceParamRequest ¶ added in v1.0.664
type ModifyInstanceParamRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 集群参数列表,例如 [{ "CurrentValue":"2", "ParamName":"auto_increment_increment"}] ClusterParamList []*ModifyParamItem `json:"ClusterParamList,omitnil,omitempty" name:"ClusterParamList"` // 实例参数列表,例如[{ "CurrentValue":"2", "ParamName":"innodb_stats_transient_sample_pages"}] InstanceParamList []*ModifyParamItem `json:"InstanceParamList,omitnil,omitempty" name:"InstanceParamList"` // yes:在运维时间窗内修改,no:立即执行(默认值) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
func NewModifyInstanceParamRequest ¶ added in v1.0.664
func NewModifyInstanceParamRequest() (request *ModifyInstanceParamRequest)
func (*ModifyInstanceParamRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyInstanceParamRequest) 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 (*ModifyInstanceParamRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyInstanceParamRequest) ToJsonString() string
type ModifyInstanceParamRequestParams ¶ added in v1.0.664
type ModifyInstanceParamRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 集群参数列表,例如 [{ "CurrentValue":"2", "ParamName":"auto_increment_increment"}] ClusterParamList []*ModifyParamItem `json:"ClusterParamList,omitnil,omitempty" name:"ClusterParamList"` // 实例参数列表,例如[{ "CurrentValue":"2", "ParamName":"innodb_stats_transient_sample_pages"}] InstanceParamList []*ModifyParamItem `json:"InstanceParamList,omitnil,omitempty" name:"InstanceParamList"` // yes:在运维时间窗内修改,no:立即执行(默认值) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type ModifyInstanceParamResponse ¶ added in v1.0.664
type ModifyInstanceParamResponse struct { *tchttp.BaseResponse Response *ModifyInstanceParamResponseParams `json:"Response"` }
func NewModifyInstanceParamResponse ¶ added in v1.0.664
func NewModifyInstanceParamResponse() (response *ModifyInstanceParamResponse)
func (*ModifyInstanceParamResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyInstanceParamResponse) 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 (*ModifyInstanceParamResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyInstanceParamResponse) ToJsonString() string
type ModifyInstanceParamResponseParams ¶ added in v1.0.664
type ModifyInstanceParamResponseParams struct { // 任务ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceUpgradeLimitDaysRequest ¶ added in v1.0.907
type ModifyInstanceUpgradeLimitDaysRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 升级限制时间 UpgradeLimitDays *int64 `json:"UpgradeLimitDays,omitnil,omitempty" name:"UpgradeLimitDays"` }
func NewModifyInstanceUpgradeLimitDaysRequest ¶ added in v1.0.907
func NewModifyInstanceUpgradeLimitDaysRequest() (request *ModifyInstanceUpgradeLimitDaysRequest)
func (*ModifyInstanceUpgradeLimitDaysRequest) FromJsonString ¶ added in v1.0.907
func (r *ModifyInstanceUpgradeLimitDaysRequest) 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 (*ModifyInstanceUpgradeLimitDaysRequest) ToJsonString ¶ added in v1.0.907
func (r *ModifyInstanceUpgradeLimitDaysRequest) ToJsonString() string
type ModifyInstanceUpgradeLimitDaysRequestParams ¶ added in v1.0.907
type ModifyInstanceUpgradeLimitDaysRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 升级限制时间 UpgradeLimitDays *int64 `json:"UpgradeLimitDays,omitnil,omitempty" name:"UpgradeLimitDays"` }
Predefined struct for user
type ModifyInstanceUpgradeLimitDaysResponse ¶ added in v1.0.907
type ModifyInstanceUpgradeLimitDaysResponse struct { *tchttp.BaseResponse Response *ModifyInstanceUpgradeLimitDaysResponseParams `json:"Response"` }
func NewModifyInstanceUpgradeLimitDaysResponse ¶ added in v1.0.907
func NewModifyInstanceUpgradeLimitDaysResponse() (response *ModifyInstanceUpgradeLimitDaysResponse)
func (*ModifyInstanceUpgradeLimitDaysResponse) FromJsonString ¶ added in v1.0.907
func (r *ModifyInstanceUpgradeLimitDaysResponse) 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 (*ModifyInstanceUpgradeLimitDaysResponse) ToJsonString ¶ added in v1.0.907
func (r *ModifyInstanceUpgradeLimitDaysResponse) ToJsonString() string
type ModifyInstanceUpgradeLimitDaysResponseParams ¶ added in v1.0.907
type ModifyInstanceUpgradeLimitDaysResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMaintainPeriodConfigRequest ¶
type ModifyMaintainPeriodConfigRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 维护开始时间,单位为秒,如3:00为10800 MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护持续时间,单位为秒,如1小时为3600 MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 每周维护日期,日期取值范围[Mon, Tue, Wed, Thu, Fri, Sat, Sun] MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,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 ¶ added in v1.0.426
type ModifyMaintainPeriodConfigRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 维护开始时间,单位为秒,如3:00为10800 MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护持续时间,单位为秒,如1小时为3600 MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 每周维护日期,日期取值范围[Mon, Tue, Wed, Thu, Fri, Sat, Sun] MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,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 ¶ added in v1.0.426
type ModifyMaintainPeriodConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyParamItem ¶ added in v1.0.570
type ModifyParamItem struct { // 参数名 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 参数当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 参数旧值(只在出参时有用) // 注意:此字段可能返回 null,表示取不到有效值。 OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"` }
type ModifyParamTemplateRequest ¶ added in v1.0.664
type ModifyParamTemplateRequest struct { *tchttp.BaseRequest // 模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 模板名 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 参数列表 ParamList []*ModifyParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
func NewModifyParamTemplateRequest ¶ added in v1.0.664
func NewModifyParamTemplateRequest() (request *ModifyParamTemplateRequest)
func (*ModifyParamTemplateRequest) FromJsonString ¶ added in v1.0.664
func (r *ModifyParamTemplateRequest) 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 (*ModifyParamTemplateRequest) ToJsonString ¶ added in v1.0.664
func (r *ModifyParamTemplateRequest) ToJsonString() string
type ModifyParamTemplateRequestParams ¶ added in v1.0.664
type ModifyParamTemplateRequestParams struct { // 模板ID TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 模板名 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 参数列表 ParamList []*ModifyParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
Predefined struct for user
type ModifyParamTemplateResponse ¶ added in v1.0.664
type ModifyParamTemplateResponse struct { *tchttp.BaseResponse Response *ModifyParamTemplateResponseParams `json:"Response"` }
func NewModifyParamTemplateResponse ¶ added in v1.0.664
func NewModifyParamTemplateResponse() (response *ModifyParamTemplateResponse)
func (*ModifyParamTemplateResponse) FromJsonString ¶ added in v1.0.664
func (r *ModifyParamTemplateResponse) 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 (*ModifyParamTemplateResponse) ToJsonString ¶ added in v1.0.664
func (r *ModifyParamTemplateResponse) ToJsonString() string
type ModifyParamTemplateResponseParams ¶ added in v1.0.664
type ModifyParamTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyParamsData ¶ added in v1.0.859
type ModifyProxyDescRequest ¶ added in v1.0.683
type ModifyProxyDescRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 数据库代理描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewModifyProxyDescRequest ¶ added in v1.0.683
func NewModifyProxyDescRequest() (request *ModifyProxyDescRequest)
func (*ModifyProxyDescRequest) FromJsonString ¶ added in v1.0.683
func (r *ModifyProxyDescRequest) 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 (*ModifyProxyDescRequest) ToJsonString ¶ added in v1.0.683
func (r *ModifyProxyDescRequest) ToJsonString() string
type ModifyProxyDescRequestParams ¶ added in v1.0.683
type ModifyProxyDescRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 数据库代理描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type ModifyProxyDescResponse ¶ added in v1.0.683
type ModifyProxyDescResponse struct { *tchttp.BaseResponse Response *ModifyProxyDescResponseParams `json:"Response"` }
func NewModifyProxyDescResponse ¶ added in v1.0.683
func NewModifyProxyDescResponse() (response *ModifyProxyDescResponse)
func (*ModifyProxyDescResponse) FromJsonString ¶ added in v1.0.683
func (r *ModifyProxyDescResponse) 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 (*ModifyProxyDescResponse) ToJsonString ¶ added in v1.0.683
func (r *ModifyProxyDescResponse) ToJsonString() string
type ModifyProxyDescResponseParams ¶ added in v1.0.683
type ModifyProxyDescResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProxyRwSplitRequest ¶ added in v1.0.683
type ModifyProxyRwSplitRequest struct { *tchttp.BaseRequest // 集群ID,例如cynosdbmysql-asd123 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID,例如cynosdbmysql-proxy-qwe123 ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性 ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"` // 一致性超时时间。 // 取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。 ConsistencyTimeOut *string `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"` // 读写权重分配模式;系统自动分配:"system", 自定义:"custom" WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"` // 实例只读权重。 // 该参数必填。 InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"` // 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no" FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"` // 是否自动添加只读实例,取值:"yes" , "no" AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"` // 是否打开读写分离。 // 该参数已废弃,请通过RwType设置读写属性。 OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"` // 读写类型: // READWRITE,READONLY RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"` // 事务拆分。 // 在一个事务中拆分读和写到不同的实例上去执行。 TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"` // 连接模式: // nearby,balance AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` // 是否打开连接池: // yes,no OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池类型: // SessionConnectionPool ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 连接池时间。 // 可选范围:0~300(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` }
func NewModifyProxyRwSplitRequest ¶ added in v1.0.683
func NewModifyProxyRwSplitRequest() (request *ModifyProxyRwSplitRequest)
func (*ModifyProxyRwSplitRequest) FromJsonString ¶ added in v1.0.683
func (r *ModifyProxyRwSplitRequest) 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 (*ModifyProxyRwSplitRequest) ToJsonString ¶ added in v1.0.683
func (r *ModifyProxyRwSplitRequest) ToJsonString() string
type ModifyProxyRwSplitRequestParams ¶ added in v1.0.683
type ModifyProxyRwSplitRequestParams struct { // 集群ID,例如cynosdbmysql-asd123 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID,例如cynosdbmysql-proxy-qwe123 ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性 ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"` // 一致性超时时间。 // 取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。 ConsistencyTimeOut *string `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"` // 读写权重分配模式;系统自动分配:"system", 自定义:"custom" WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"` // 实例只读权重。 // 该参数必填。 InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"` // 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no" FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"` // 是否自动添加只读实例,取值:"yes" , "no" AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"` // 是否打开读写分离。 // 该参数已废弃,请通过RwType设置读写属性。 OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"` // 读写类型: // READWRITE,READONLY RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"` // 事务拆分。 // 在一个事务中拆分读和写到不同的实例上去执行。 TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"` // 连接模式: // nearby,balance AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` // 是否打开连接池: // yes,no OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池类型: // SessionConnectionPool ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` // 连接池时间。 // 可选范围:0~300(秒) ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` }
Predefined struct for user
type ModifyProxyRwSplitResponse ¶ added in v1.0.683
type ModifyProxyRwSplitResponse struct { *tchttp.BaseResponse Response *ModifyProxyRwSplitResponseParams `json:"Response"` }
func NewModifyProxyRwSplitResponse ¶ added in v1.0.683
func NewModifyProxyRwSplitResponse() (response *ModifyProxyRwSplitResponse)
func (*ModifyProxyRwSplitResponse) FromJsonString ¶ added in v1.0.683
func (r *ModifyProxyRwSplitResponse) 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 (*ModifyProxyRwSplitResponse) ToJsonString ¶ added in v1.0.683
func (r *ModifyProxyRwSplitResponse) ToJsonString() string
type ModifyProxyRwSplitResponseParams ¶ added in v1.0.683
type ModifyProxyRwSplitResponseParams struct { // 异步FlowId FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourcePackageClustersRequest ¶ added in v1.0.668
type ModifyResourcePackageClustersRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 需要建立绑定关系的集群ID BindClusterIds []*string `json:"BindClusterIds,omitnil,omitempty" name:"BindClusterIds"` // 需要解除绑定关系的集群ID UnbindClusterIds []*string `json:"UnbindClusterIds,omitnil,omitempty" name:"UnbindClusterIds"` }
func NewModifyResourcePackageClustersRequest ¶ added in v1.0.668
func NewModifyResourcePackageClustersRequest() (request *ModifyResourcePackageClustersRequest)
func (*ModifyResourcePackageClustersRequest) FromJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageClustersRequest) 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 (*ModifyResourcePackageClustersRequest) ToJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageClustersRequest) ToJsonString() string
type ModifyResourcePackageClustersRequestParams ¶ added in v1.0.668
type ModifyResourcePackageClustersRequestParams struct { // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 需要建立绑定关系的集群ID BindClusterIds []*string `json:"BindClusterIds,omitnil,omitempty" name:"BindClusterIds"` // 需要解除绑定关系的集群ID UnbindClusterIds []*string `json:"UnbindClusterIds,omitnil,omitempty" name:"UnbindClusterIds"` }
Predefined struct for user
type ModifyResourcePackageClustersResponse ¶ added in v1.0.668
type ModifyResourcePackageClustersResponse struct { *tchttp.BaseResponse Response *ModifyResourcePackageClustersResponseParams `json:"Response"` }
func NewModifyResourcePackageClustersResponse ¶ added in v1.0.668
func NewModifyResourcePackageClustersResponse() (response *ModifyResourcePackageClustersResponse)
func (*ModifyResourcePackageClustersResponse) FromJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageClustersResponse) 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 (*ModifyResourcePackageClustersResponse) ToJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageClustersResponse) ToJsonString() string
type ModifyResourcePackageClustersResponseParams ¶ added in v1.0.668
type ModifyResourcePackageClustersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourcePackageNameRequest ¶ added in v1.0.668
type ModifyResourcePackageNameRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 自定义的资源包名称,最长支持120个字符 PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` }
func NewModifyResourcePackageNameRequest ¶ added in v1.0.668
func NewModifyResourcePackageNameRequest() (request *ModifyResourcePackageNameRequest)
func (*ModifyResourcePackageNameRequest) FromJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageNameRequest) 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 (*ModifyResourcePackageNameRequest) ToJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageNameRequest) ToJsonString() string
type ModifyResourcePackageNameRequestParams ¶ added in v1.0.668
type ModifyResourcePackageNameRequestParams struct { // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 自定义的资源包名称,最长支持120个字符 PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` }
Predefined struct for user
type ModifyResourcePackageNameResponse ¶ added in v1.0.668
type ModifyResourcePackageNameResponse struct { *tchttp.BaseResponse Response *ModifyResourcePackageNameResponseParams `json:"Response"` }
func NewModifyResourcePackageNameResponse ¶ added in v1.0.668
func NewModifyResourcePackageNameResponse() (response *ModifyResourcePackageNameResponse)
func (*ModifyResourcePackageNameResponse) FromJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageNameResponse) 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 (*ModifyResourcePackageNameResponse) ToJsonString ¶ added in v1.0.668
func (r *ModifyResourcePackageNameResponse) ToJsonString() string
type ModifyResourcePackageNameResponseParams ¶ added in v1.0.668
type ModifyResourcePackageNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyVipVportRequest ¶ added in v1.0.599
type ModifyVipVportRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例组id InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 需要修改的目的ip Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 需要修改的目的端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 旧ip回收前的保留时间,单位小时,0表示立即回收 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` }
func NewModifyVipVportRequest ¶ added in v1.0.599
func NewModifyVipVportRequest() (request *ModifyVipVportRequest)
func (*ModifyVipVportRequest) FromJsonString ¶ added in v1.0.599
func (r *ModifyVipVportRequest) 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 (*ModifyVipVportRequest) ToJsonString ¶ added in v1.0.599
func (r *ModifyVipVportRequest) ToJsonString() string
type ModifyVipVportRequestParams ¶ added in v1.0.599
type ModifyVipVportRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例组id // // Deprecated: InstanceGrpId is deprecated. InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` // 需要修改的目的ip Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 需要修改的目的端口 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 数据库类型,取值范围: // <li> MYSQL </li> DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 旧ip回收前的保留时间,单位小时,0表示立即回收 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` }
Predefined struct for user
type ModifyVipVportResponse ¶ added in v1.0.599
type ModifyVipVportResponse struct { *tchttp.BaseResponse Response *ModifyVipVportResponseParams `json:"Response"` }
func NewModifyVipVportResponse ¶ added in v1.0.599
func NewModifyVipVportResponse() (response *ModifyVipVportResponse)
func (*ModifyVipVportResponse) FromJsonString ¶ added in v1.0.599
func (r *ModifyVipVportResponse) 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 (*ModifyVipVportResponse) ToJsonString ¶ added in v1.0.599
func (r *ModifyVipVportResponse) ToJsonString() string
type ModifyVipVportResponseParams ¶ added in v1.0.599
type ModifyVipVportResponseParams struct { // 异步任务id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NetAddr ¶ added in v1.0.277
type NetAddr struct { // 内网ip // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 内网端口号 // 注意:此字段可能返回 null,表示取不到有效值。 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 外网域名 // 注意:此字段可能返回 null,表示取不到有效值。 WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` // 外网端口号 // 注意:此字段可能返回 null,表示取不到有效值。 WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` // 网络类型(ro-只读,rw/ha-读写) // 注意:此字段可能返回 null,表示取不到有效值。 NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 私有网络ID // 注意:此字段可能返回 null,表示取不到有效值。 UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 外网IP // 注意:此字段可能返回 null,表示取不到有效值。 WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"` // 外网状态 // 注意:此字段可能返回 null,表示取不到有效值。 WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"` // 实例组ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` }
type NewAccount ¶ added in v1.0.373
type NewAccount struct { // 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 密码,密码长度范围为8到64个字符 AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"` // 主机(%或ipv4地址) Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 用户最大连接数,不能大于10240 MaxUserConnections *int64 `json:"MaxUserConnections,omitnil,omitempty" name:"MaxUserConnections"` }
type ObjectTask ¶
type ObjectTask struct { // 任务自增ID // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 任务类型 // 注意:此字段可能返回 null,表示取不到有效值。 TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 任务状态 // 注意:此字段可能返回 null,表示取不到有效值。 TaskStatus *string `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"` // 任务ID(集群ID|实例组ID|实例ID) // 注意:此字段可能返回 null,表示取不到有效值。 ObjectId *string `json:"ObjectId,omitnil,omitempty" name:"ObjectId"` // 任务类型 // 注意:此字段可能返回 null,表示取不到有效值。 ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` }
type OfflineClusterRequest ¶
type OfflineClusterRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type OfflineClusterRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,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 ¶ added in v1.0.426
type OfflineClusterResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OfflineInstanceRequest ¶
type OfflineInstanceRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID数组 InstanceIdList []*string `json:"InstanceIdList,omitnil,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 ¶ added in v1.0.426
type OfflineInstanceRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 实例ID数组 InstanceIdList []*string `json:"InstanceIdList,omitnil,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 ¶ added in v1.0.426
type OfflineInstanceResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OldAddrInfo ¶ added in v1.0.571
type OldAddrInfo struct { // IP // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 端口 // 注意:此字段可能返回 null,表示取不到有效值。 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 期望执行回收时间 // 注意:此字段可能返回 null,表示取不到有效值。 ReturnTime *string `json:"ReturnTime,omitnil,omitempty" name:"ReturnTime"` }
type OpenAuditServiceRequest ¶ added in v1.0.571
type OpenAuditServiceRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志保留时长。 LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"` // 高频日志保留时长。 HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"` // 审计规则。同RuleTemplateIds都不填是全审计。 AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"` // 规则模板ID。同AuditRuleFilters都不填是全审计。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 审计类型。true-全审计;默认false-规则审计。 AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"` }
func NewOpenAuditServiceRequest ¶ added in v1.0.571
func NewOpenAuditServiceRequest() (request *OpenAuditServiceRequest)
func (*OpenAuditServiceRequest) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *OpenAuditServiceRequest) ToJsonString() string
type OpenAuditServiceRequestParams ¶ added in v1.0.571
type OpenAuditServiceRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志保留时长。 LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"` // 高频日志保留时长。 HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"` // 审计规则。同RuleTemplateIds都不填是全审计。 AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"` // 规则模板ID。同AuditRuleFilters都不填是全审计。 RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"` // 审计类型。true-全审计;默认false-规则审计。 AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"` }
Predefined struct for user
type OpenAuditServiceResponse ¶ added in v1.0.571
type OpenAuditServiceResponse struct { *tchttp.BaseResponse Response *OpenAuditServiceResponseParams `json:"Response"` }
func NewOpenAuditServiceResponse ¶ added in v1.0.571
func NewOpenAuditServiceResponse() (response *OpenAuditServiceResponse)
func (*OpenAuditServiceResponse) FromJsonString ¶ added in v1.0.571
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 ¶ added in v1.0.571
func (r *OpenAuditServiceResponse) ToJsonString() string
type OpenAuditServiceResponseParams ¶ added in v1.0.571
type OpenAuditServiceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenClusterPasswordComplexityRequest ¶ added in v1.0.664
type OpenClusterPasswordComplexityRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 密码长度 ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"` // 大小写字符个数 ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"` // 特殊字符个数 ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"` // 数字个数 ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"` // 密码强度("MEDIUM", "STRONG") ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"` // 数据字典 ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"` }
func NewOpenClusterPasswordComplexityRequest ¶ added in v1.0.664
func NewOpenClusterPasswordComplexityRequest() (request *OpenClusterPasswordComplexityRequest)
func (*OpenClusterPasswordComplexityRequest) FromJsonString ¶ added in v1.0.664
func (r *OpenClusterPasswordComplexityRequest) 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 (*OpenClusterPasswordComplexityRequest) ToJsonString ¶ added in v1.0.664
func (r *OpenClusterPasswordComplexityRequest) ToJsonString() string
type OpenClusterPasswordComplexityRequestParams ¶ added in v1.0.664
type OpenClusterPasswordComplexityRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 密码长度 ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"` // 大小写字符个数 ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"` // 特殊字符个数 ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"` // 数字个数 ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"` // 密码强度("MEDIUM", "STRONG") ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"` // 数据字典 ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"` }
Predefined struct for user
type OpenClusterPasswordComplexityResponse ¶ added in v1.0.664
type OpenClusterPasswordComplexityResponse struct { *tchttp.BaseResponse Response *OpenClusterPasswordComplexityResponseParams `json:"Response"` }
func NewOpenClusterPasswordComplexityResponse ¶ added in v1.0.664
func NewOpenClusterPasswordComplexityResponse() (response *OpenClusterPasswordComplexityResponse)
func (*OpenClusterPasswordComplexityResponse) FromJsonString ¶ added in v1.0.664
func (r *OpenClusterPasswordComplexityResponse) 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 (*OpenClusterPasswordComplexityResponse) ToJsonString ¶ added in v1.0.664
func (r *OpenClusterPasswordComplexityResponse) ToJsonString() string
type OpenClusterPasswordComplexityResponseParams ¶ added in v1.0.664
type OpenClusterPasswordComplexityResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenClusterReadOnlyInstanceGroupAccessRequest ¶ added in v1.0.713
type OpenClusterReadOnlyInstanceGroupAccessRequest struct {
*tchttp.BaseRequest
}
func NewOpenClusterReadOnlyInstanceGroupAccessRequest ¶ added in v1.0.713
func NewOpenClusterReadOnlyInstanceGroupAccessRequest() (request *OpenClusterReadOnlyInstanceGroupAccessRequest)
func (*OpenClusterReadOnlyInstanceGroupAccessRequest) FromJsonString ¶ added in v1.0.713
func (r *OpenClusterReadOnlyInstanceGroupAccessRequest) 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 (*OpenClusterReadOnlyInstanceGroupAccessRequest) ToJsonString ¶ added in v1.0.713
func (r *OpenClusterReadOnlyInstanceGroupAccessRequest) ToJsonString() string
type OpenClusterReadOnlyInstanceGroupAccessRequestParams ¶ added in v1.0.713
type OpenClusterReadOnlyInstanceGroupAccessRequestParams struct { }
Predefined struct for user
type OpenClusterReadOnlyInstanceGroupAccessResponse ¶ added in v1.0.713
type OpenClusterReadOnlyInstanceGroupAccessResponse struct { *tchttp.BaseResponse Response *OpenClusterReadOnlyInstanceGroupAccessResponseParams `json:"Response"` }
func NewOpenClusterReadOnlyInstanceGroupAccessResponse ¶ added in v1.0.713
func NewOpenClusterReadOnlyInstanceGroupAccessResponse() (response *OpenClusterReadOnlyInstanceGroupAccessResponse)
func (*OpenClusterReadOnlyInstanceGroupAccessResponse) FromJsonString ¶ added in v1.0.713
func (r *OpenClusterReadOnlyInstanceGroupAccessResponse) 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 (*OpenClusterReadOnlyInstanceGroupAccessResponse) ToJsonString ¶ added in v1.0.713
func (r *OpenClusterReadOnlyInstanceGroupAccessResponse) ToJsonString() string
type OpenClusterReadOnlyInstanceGroupAccessResponseParams ¶ added in v1.0.713
type OpenClusterReadOnlyInstanceGroupAccessResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenReadOnlyInstanceExclusiveAccessRequest ¶ added in v1.0.653
type OpenReadOnlyInstanceExclusiveAccessRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 需要开通独有访问的只读实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 指定的vpc ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 指定的子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 端口 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 安全组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
func NewOpenReadOnlyInstanceExclusiveAccessRequest ¶ added in v1.0.653
func NewOpenReadOnlyInstanceExclusiveAccessRequest() (request *OpenReadOnlyInstanceExclusiveAccessRequest)
func (*OpenReadOnlyInstanceExclusiveAccessRequest) FromJsonString ¶ added in v1.0.653
func (r *OpenReadOnlyInstanceExclusiveAccessRequest) 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 (*OpenReadOnlyInstanceExclusiveAccessRequest) ToJsonString ¶ added in v1.0.653
func (r *OpenReadOnlyInstanceExclusiveAccessRequest) ToJsonString() string
type OpenReadOnlyInstanceExclusiveAccessRequestParams ¶ added in v1.0.653
type OpenReadOnlyInstanceExclusiveAccessRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 需要开通独有访问的只读实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 指定的vpc ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 指定的子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 端口 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 安全组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
Predefined struct for user
type OpenReadOnlyInstanceExclusiveAccessResponse ¶ added in v1.0.653
type OpenReadOnlyInstanceExclusiveAccessResponse struct { *tchttp.BaseResponse Response *OpenReadOnlyInstanceExclusiveAccessResponseParams `json:"Response"` }
func NewOpenReadOnlyInstanceExclusiveAccessResponse ¶ added in v1.0.653
func NewOpenReadOnlyInstanceExclusiveAccessResponse() (response *OpenReadOnlyInstanceExclusiveAccessResponse)
func (*OpenReadOnlyInstanceExclusiveAccessResponse) FromJsonString ¶ added in v1.0.653
func (r *OpenReadOnlyInstanceExclusiveAccessResponse) 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 (*OpenReadOnlyInstanceExclusiveAccessResponse) ToJsonString ¶ added in v1.0.653
func (r *OpenReadOnlyInstanceExclusiveAccessResponse) ToJsonString() string
type OpenReadOnlyInstanceExclusiveAccessResponseParams ¶ added in v1.0.653
type OpenReadOnlyInstanceExclusiveAccessResponseParams struct { // 开通流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenWanRequest ¶ added in v1.0.664
type OpenWanRequest struct { *tchttp.BaseRequest // 实例组id InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` }
func NewOpenWanRequest ¶ added in v1.0.664
func NewOpenWanRequest() (request *OpenWanRequest)
func (*OpenWanRequest) FromJsonString ¶ added in v1.0.664
func (r *OpenWanRequest) 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 (*OpenWanRequest) ToJsonString ¶ added in v1.0.664
func (r *OpenWanRequest) ToJsonString() string
type OpenWanRequestParams ¶ added in v1.0.664
type OpenWanRequestParams struct { // 实例组id // // Deprecated: InstanceGrpId is deprecated. InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例组id InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"` }
Predefined struct for user
type OpenWanResponse ¶ added in v1.0.664
type OpenWanResponse struct { *tchttp.BaseResponse Response *OpenWanResponseParams `json:"Response"` }
func NewOpenWanResponse ¶ added in v1.0.664
func NewOpenWanResponse() (response *OpenWanResponse)
func (*OpenWanResponse) FromJsonString ¶ added in v1.0.664
func (r *OpenWanResponse) 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 (*OpenWanResponse) ToJsonString ¶ added in v1.0.664
func (r *OpenWanResponse) ToJsonString() string
type OpenWanResponseParams ¶ added in v1.0.664
type OpenWanResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Package ¶ added in v1.0.668
type Package struct { // AppID // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 资源包唯一ID // 注意:此字段可能返回 null,表示取不到有效值。 PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 资源包名称 // 注意:此字段可能返回 null,表示取不到有效值。 PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` // 资源包类型 // CCU-计算资源包,DISK-存储资源包 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包使用地域 // china-中国内地通用,overseas-港澳台及海外通用 // 注意:此字段可能返回 null,表示取不到有效值。 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包状态 // creating-创建中; // using-使用中; // expired-已过期; // normal_finish-使用完; // apply_refund-申请退费中; // refund-已退费。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 资源包总量 // 注意:此字段可能返回 null,表示取不到有效值。 PackageTotalSpec *float64 `json:"PackageTotalSpec,omitnil,omitempty" name:"PackageTotalSpec"` // 资源包已使用量 // 注意:此字段可能返回 null,表示取不到有效值。 PackageUsedSpec *float64 `json:"PackageUsedSpec,omitnil,omitempty" name:"PackageUsedSpec"` // 是否还有库存余量 // 注意:此字段可能返回 null,表示取不到有效值。 HasQuota *bool `json:"HasQuota,omitnil,omitempty" name:"HasQuota"` // 绑定实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 BindInstanceInfos []*BindInstanceInfo `json:"BindInstanceInfos,omitnil,omitempty" name:"BindInstanceInfos"` // 生效时间:2022-07-01 00:00:00 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 失效时间:2022-08-01 00:00:00 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 资源包历史绑定(已解绑)实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 HistoryBindResourceInfos []*BindInstanceInfo `json:"HistoryBindResourceInfos,omitnil,omitempty" name:"HistoryBindResourceInfos"` }
type PackageDetail ¶ added in v1.0.668
type PackageDetail struct { // AppId账户ID // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 资源包唯一ID // 注意:此字段可能返回 null,表示取不到有效值。 PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 成功抵扣容量 // 注意:此字段可能返回 null,表示取不到有效值。 SuccessDeductSpec *float64 `json:"SuccessDeductSpec,omitnil,omitempty" name:"SuccessDeductSpec"` // 截止当前,资源包已使用的容量 // 注意:此字段可能返回 null,表示取不到有效值。 PackageTotalUsedSpec *float64 `json:"PackageTotalUsedSpec,omitnil,omitempty" name:"PackageTotalUsedSpec"` // 抵扣开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 抵扣结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 扩展信息 // 注意:此字段可能返回 null,表示取不到有效值。 ExtendInfo *string `json:"ExtendInfo,omitnil,omitempty" name:"ExtendInfo"` }
type ParamDetail ¶ added in v1.0.664
type ParamDetail struct { // 参数名称 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 参数类型:integer,enum,float,string,func ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"` // true-支持"func",false-不支持公式 SupportFunc *bool `json:"SupportFunc,omitnil,omitempty" name:"SupportFunc"` // 默认值 Default *string `json:"Default,omitnil,omitempty" name:"Default"` // 参数描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 参数当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。 NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"` // 参数容许的最大值 Max *string `json:"Max,omitnil,omitempty" name:"Max"` // 参数容许的最小值 Min *string `json:"Min,omitnil,omitempty" name:"Min"` // 参数的可选枚举值。如果为非枚举值,则为空 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` // 1:全局参数,0:非全局参数 IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` // 匹配类型,multiVal MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"` // 匹配目标值,当multiVal时,各个key用,分割 MatchValue *string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"` // true-为公式,false-非公式 // 注意:此字段可能返回 null,表示取不到有效值。 IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"` // 参数设置为公式时,Func返回设置的公式内容 // 注意:此字段可能返回 null,表示取不到有效值。 Func *string `json:"Func,omitnil,omitempty" name:"Func"` // 参数是否可修改 // 注意:此字段可能返回 null,表示取不到有效值。 ModifiableInfo *ModifiableInfo `json:"ModifiableInfo,omitnil,omitempty" name:"ModifiableInfo"` }
type ParamInfo ¶ added in v1.0.482
type ParamInfo struct { // 当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 默认值 Default *string `json:"Default,omitnil,omitempty" name:"Default"` // 参数为enum/string/bool时,可选值列表 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` // 参数类型为float/integer时的最大值 Max *string `json:"Max,omitnil,omitempty" name:"Max"` // 参数类型为float/integer时的最小值 Min *string `json:"Min,omitnil,omitempty" name:"Min"` // 参数名称 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 是否需要重启生效 NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"` // 参数类型:integer/float/string/enum/bool ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"` // 匹配类型,multiVal, regex在参数类型是string时使用 MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"` // 匹配目标值,当multiVal时,各个key用;分割 MatchValue *string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"` // 参数描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 是否为全局参数 // 注意:此字段可能返回 null,表示取不到有效值。 IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` // 参数是否可修改 // 注意:此字段可能返回 null,表示取不到有效值。 ModifiableInfo *ModifiableInfo `json:"ModifiableInfo,omitnil,omitempty" name:"ModifiableInfo"` // 是否为函数 // 注意:此字段可能返回 null,表示取不到有效值。 IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"` // 函数 // 注意:此字段可能返回 null,表示取不到有效值。 Func *string `json:"Func,omitnil,omitempty" name:"Func"` }
type ParamItemDetail ¶ added in v1.0.664
type ParamItemDetail struct { // 当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 默认值 Default *string `json:"Default,omitnil,omitempty" name:"Default"` // 参数的可选枚举值。如果为非枚举值,则为空 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` // 1:全局参数,0:非全局参数 IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` // 最大值 Max *string `json:"Max,omitnil,omitempty" name:"Max"` // 最小值 Min *string `json:"Min,omitnil,omitempty" name:"Min"` // 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。 NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"` // 参数名称 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 参数类型:integer,enum,float,string,func ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"` // 参数描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 类型是否为公式 // 注意:此字段可能返回 null,表示取不到有效值。 IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"` // 参数配置公式 // 注意:此字段可能返回 null,表示取不到有效值。 Func *string `json:"Func,omitnil,omitempty" name:"Func"` }
type ParamItemInfo ¶ added in v1.0.910
type ParamItemInfo struct { // 参数名字 // 注意:此字段可能返回 null,表示取不到有效值。 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 参数新值 // // 注意:此字段可能返回 null,表示取不到有效值。 NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"` // 参数旧值 // // 注意:此字段可能返回 null,表示取不到有效值。 OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"` // 参数公式 // // 注意:此字段可能返回 null,表示取不到有效值。 ValueFunction *string `json:"ValueFunction,omitnil,omitempty" name:"ValueFunction"` }
type ParamTemplateListInfo ¶ added in v1.0.450
type ParamTemplateListInfo struct { // 参数模板ID Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 参数模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 引擎版本 EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // 数据库类型,可选值:NORMAL,SERVERLESS DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 参数模板详情 // 注意:此字段可能返回 null,表示取不到有效值。 ParamInfoSet []*TemplateParamInfo `json:"ParamInfoSet,omitnil,omitempty" name:"ParamInfoSet"` }
type PauseServerlessRequest ¶ added in v1.0.349
type PauseServerlessRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 是否强制暂停,忽略当前的用户链接 0:不强制 1:强制, 默认为1 ForcePause *int64 `json:"ForcePause,omitnil,omitempty" name:"ForcePause"` }
func NewPauseServerlessRequest ¶ added in v1.0.349
func NewPauseServerlessRequest() (request *PauseServerlessRequest)
func (*PauseServerlessRequest) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *PauseServerlessRequest) ToJsonString() string
type PauseServerlessRequestParams ¶ added in v1.0.426
type PauseServerlessRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 是否强制暂停,忽略当前的用户链接 0:不强制 1:强制, 默认为1 ForcePause *int64 `json:"ForcePause,omitnil,omitempty" name:"ForcePause"` }
Predefined struct for user
type PauseServerlessResponse ¶ added in v1.0.349
type PauseServerlessResponse struct { *tchttp.BaseResponse Response *PauseServerlessResponseParams `json:"Response"` }
func NewPauseServerlessResponse ¶ added in v1.0.349
func NewPauseServerlessResponse() (response *PauseServerlessResponse)
func (*PauseServerlessResponse) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *PauseServerlessResponse) ToJsonString() string
type PauseServerlessResponseParams ¶ added in v1.0.426
type PauseServerlessResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PolicyRule ¶
type PolicyRule struct { // 策略,ACCEPT或者DROP Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 来源Ip或Ip段,例如192.168.0.0/16 CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"` // 端口 PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"` // 网络协议,支持udp、tcp等 IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"` // 协议端口ID或者协议端口组ID。 ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"` // IP地址ID或者ID地址组ID。 AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"` // id Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 描述 Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` }
type ProxyConnectionPoolInfo ¶ added in v1.0.683
type ProxyConnectionPoolInfo struct { // 连接池保持阈值:单位(秒) // 注意:此字段可能返回 null,表示取不到有效值。 ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"` // 是否开启了连接池 // 注意:此字段可能返回 null,表示取不到有效值。 OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"` // 连接池类型:SessionConnectionPool(会话级别连接池) // 注意:此字段可能返回 null,表示取不到有效值。 ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"` }
type ProxyGroup ¶ added in v1.0.683
type ProxyGroup struct { // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 数据库代理组节点个数 ProxyNodeCount *int64 `json:"ProxyNodeCount,omitnil,omitempty" name:"ProxyNodeCount"` // 数据库代理组状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 当前代理版本 CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"` // 集群ID // 注意:此字段可能返回 null,表示取不到有效值。 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 用户AppId // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 读写节点开通数据库代理 // 注意:此字段可能返回 null,表示取不到有效值。 OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"` }
type ProxyGroupInfo ¶ added in v1.0.683
type ProxyGroupInfo struct { // 数据库代理组 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyGroup *ProxyGroup `json:"ProxyGroup,omitnil,omitempty" name:"ProxyGroup"` // 数据库代理组读写分离信息 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyGroupRwInfo *ProxyGroupRwInfo `json:"ProxyGroupRwInfo,omitnil,omitempty" name:"ProxyGroupRwInfo"` // 数据库代理节点信息 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyNodes []*ProxyNodeInfo `json:"ProxyNodes,omitnil,omitempty" name:"ProxyNodes"` // 数据库代理连接池信息 // 注意:此字段可能返回 null,表示取不到有效值。 ConnectionPool *ProxyConnectionPoolInfo `json:"ConnectionPool,omitnil,omitempty" name:"ConnectionPool"` // 数据库代理网络信息 // 注意:此字段可能返回 null,表示取不到有效值。 NetAddrInfos []*NetAddr `json:"NetAddrInfos,omitnil,omitempty" name:"NetAddrInfos"` // 数据库代理任务集 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"` }
type ProxyGroupRwInfo ¶ added in v1.0.683
type ProxyGroupRwInfo struct { // 一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性 ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"` // 一致性超时时间 ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"` // 权重模式 system-系统分配,custom-自定义 WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"` // 是否开启故障转移 FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"` // 是否自动添加只读实例,yes-是,no-不自动添加 AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"` // 实例权重数组 InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"` // 是否开通读写节点,yse-是,no-否 // 注意:此字段可能返回 null,表示取不到有效值。 OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"` // 读写属性,可选值:READWRITE,READONLY RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"` // 事务拆分 TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"` // 连接模式,可选值:balance,nearby AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` }
type ProxyInstanceWeight ¶ added in v1.0.683
type ProxyNodeInfo ¶ added in v1.0.683
type ProxyNodeInfo struct { // 数据库代理节点ID ProxyNodeId *string `json:"ProxyNodeId,omitnil,omitempty" name:"ProxyNodeId"` // 节点当前连接数, DescribeProxyNodes接口此字段值不返回 ProxyNodeConnections *int64 `json:"ProxyNodeConnections,omitnil,omitempty" name:"ProxyNodeConnections"` // 数据库代理节点cpu Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 数据库代理节点内存 Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 数据库代理节点状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 用户AppID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 数据库代理节点名字 OssProxyNodeName *string `json:"OssProxyNodeName,omitnil,omitempty" name:"OssProxyNodeName"` }
type QueryFilter ¶
type QueryFilter struct { // 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip" Names []*string `json:"Names,omitnil,omitempty" name:"Names"` // 搜索字符串 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 是否精确匹配 ExactMatch *bool `json:"ExactMatch,omitnil,omitempty" name:"ExactMatch"` // 搜索字段 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 操作符 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
type QueryParamFilter ¶ added in v1.0.683
type QueryParamFilter struct { // 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip" Names []*string `json:"Names,omitnil,omitempty" name:"Names"` // 搜索字符串 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 是否精确匹配 ExactMatch *bool `json:"ExactMatch,omitnil,omitempty" name:"ExactMatch"` }
type RefundResourcePackageRequest ¶ added in v1.0.668
type RefundResourcePackageRequest struct { *tchttp.BaseRequest // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` }
func NewRefundResourcePackageRequest ¶ added in v1.0.668
func NewRefundResourcePackageRequest() (request *RefundResourcePackageRequest)
func (*RefundResourcePackageRequest) FromJsonString ¶ added in v1.0.668
func (r *RefundResourcePackageRequest) 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 (*RefundResourcePackageRequest) ToJsonString ¶ added in v1.0.668
func (r *RefundResourcePackageRequest) ToJsonString() string
type RefundResourcePackageRequestParams ¶ added in v1.0.668
type RefundResourcePackageRequestParams struct { // 资源包唯一ID PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` }
Predefined struct for user
type RefundResourcePackageResponse ¶ added in v1.0.668
type RefundResourcePackageResponse struct { *tchttp.BaseResponse Response *RefundResourcePackageResponseParams `json:"Response"` }
func NewRefundResourcePackageResponse ¶ added in v1.0.668
func NewRefundResourcePackageResponse() (response *RefundResourcePackageResponse)
func (*RefundResourcePackageResponse) FromJsonString ¶ added in v1.0.668
func (r *RefundResourcePackageResponse) 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 (*RefundResourcePackageResponse) ToJsonString ¶ added in v1.0.668
func (r *RefundResourcePackageResponse) ToJsonString() string
type RefundResourcePackageResponseParams ¶ added in v1.0.668
type RefundResourcePackageResponseParams struct { // 每个物品对应一个dealName,业务需要根据dealName保证发货接口幂等 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ReloadBalanceProxyNodeRequest ¶ added in v1.0.683
type ReloadBalanceProxyNodeRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
func NewReloadBalanceProxyNodeRequest ¶ added in v1.0.683
func NewReloadBalanceProxyNodeRequest() (request *ReloadBalanceProxyNodeRequest)
func (*ReloadBalanceProxyNodeRequest) FromJsonString ¶ added in v1.0.683
func (r *ReloadBalanceProxyNodeRequest) 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 (*ReloadBalanceProxyNodeRequest) ToJsonString ¶ added in v1.0.683
func (r *ReloadBalanceProxyNodeRequest) ToJsonString() string
type ReloadBalanceProxyNodeRequestParams ¶ added in v1.0.683
type ReloadBalanceProxyNodeRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type ReloadBalanceProxyNodeResponse ¶ added in v1.0.683
type ReloadBalanceProxyNodeResponse struct { *tchttp.BaseResponse Response *ReloadBalanceProxyNodeResponseParams `json:"Response"` }
func NewReloadBalanceProxyNodeResponse ¶ added in v1.0.683
func NewReloadBalanceProxyNodeResponse() (response *ReloadBalanceProxyNodeResponse)
func (*ReloadBalanceProxyNodeResponse) FromJsonString ¶ added in v1.0.683
func (r *ReloadBalanceProxyNodeResponse) 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 (*ReloadBalanceProxyNodeResponse) ToJsonString ¶ added in v1.0.683
func (r *ReloadBalanceProxyNodeResponse) ToJsonString() string
type ReloadBalanceProxyNodeResponseParams ¶ added in v1.0.683
type ReloadBalanceProxyNodeResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RemoveClusterSlaveZoneRequest ¶ added in v1.0.482
type RemoveClusterSlaveZoneRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 从可用区 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` }
func NewRemoveClusterSlaveZoneRequest ¶ added in v1.0.482
func NewRemoveClusterSlaveZoneRequest() (request *RemoveClusterSlaveZoneRequest)
func (*RemoveClusterSlaveZoneRequest) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *RemoveClusterSlaveZoneRequest) ToJsonString() string
type RemoveClusterSlaveZoneRequestParams ¶ added in v1.0.482
type RemoveClusterSlaveZoneRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 从可用区 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` }
Predefined struct for user
type RemoveClusterSlaveZoneResponse ¶ added in v1.0.482
type RemoveClusterSlaveZoneResponse struct { *tchttp.BaseResponse Response *RemoveClusterSlaveZoneResponseParams `json:"Response"` }
func NewRemoveClusterSlaveZoneResponse ¶ added in v1.0.482
func NewRemoveClusterSlaveZoneResponse() (response *RemoveClusterSlaveZoneResponse)
func (*RemoveClusterSlaveZoneResponse) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *RemoveClusterSlaveZoneResponse) ToJsonString() string
type RemoveClusterSlaveZoneResponseParams ¶ added in v1.0.482
type RemoveClusterSlaveZoneResponseParams struct { // 异步FlowId FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetAccountPasswordRequest ¶ added in v1.0.551
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // 数据库账号名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 数据库账号新密码 AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 主机,不填默认为"%" Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
func NewResetAccountPasswordRequest ¶ added in v1.0.551
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordRequestParams ¶ added in v1.0.551
type ResetAccountPasswordRequestParams struct { // 数据库账号名 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // 数据库账号新密码 AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"` // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 主机,不填默认为"%" Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
Predefined struct for user
type ResetAccountPasswordResponse ¶ added in v1.0.551
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *ResetAccountPasswordResponseParams `json:"Response"` }
func NewResetAccountPasswordResponse ¶ added in v1.0.551
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *ResetAccountPasswordResponse) ToJsonString() string
type ResetAccountPasswordResponseParams ¶ added in v1.0.551
type ResetAccountPasswordResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResourcePackage ¶ added in v1.0.668
type ResourcePackage struct { // 资源包的唯一ID // 注意:此字段可能返回 null,表示取不到有效值。 PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` // 资源包类型:CCU:计算资源包 // DISK:存储资源包 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 当前资源包绑定在当前实例下的抵扣优先级 // 注意:此字段可能返回 null,表示取不到有效值。 DeductionPriority *int64 `json:"DeductionPriority,omitnil,omitempty" name:"DeductionPriority"` }
type RestartInstanceRequest ¶ added in v1.0.586
type RestartInstanceRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewRestartInstanceRequest ¶ added in v1.0.586
func NewRestartInstanceRequest() (request *RestartInstanceRequest)
func (*RestartInstanceRequest) FromJsonString ¶ added in v1.0.586
func (r *RestartInstanceRequest) 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 (*RestartInstanceRequest) ToJsonString ¶ added in v1.0.586
func (r *RestartInstanceRequest) ToJsonString() string
type RestartInstanceRequestParams ¶ added in v1.0.586
type RestartInstanceRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type RestartInstanceResponse ¶ added in v1.0.586
type RestartInstanceResponse struct { *tchttp.BaseResponse Response *RestartInstanceResponseParams `json:"Response"` }
func NewRestartInstanceResponse ¶ added in v1.0.586
func NewRestartInstanceResponse() (response *RestartInstanceResponse)
func (*RestartInstanceResponse) FromJsonString ¶ added in v1.0.586
func (r *RestartInstanceResponse) 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 (*RestartInstanceResponse) ToJsonString ¶ added in v1.0.586
func (r *RestartInstanceResponse) ToJsonString() string
type RestartInstanceResponseParams ¶ added in v1.0.586
type RestartInstanceResponseParams struct { // 异步任务id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeServerlessRequest ¶ added in v1.0.349
type ResumeServerlessRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewResumeServerlessRequest ¶ added in v1.0.349
func NewResumeServerlessRequest() (request *ResumeServerlessRequest)
func (*ResumeServerlessRequest) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *ResumeServerlessRequest) ToJsonString() string
type ResumeServerlessRequestParams ¶ added in v1.0.426
type ResumeServerlessRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type ResumeServerlessResponse ¶ added in v1.0.349
type ResumeServerlessResponse struct { *tchttp.BaseResponse Response *ResumeServerlessResponseParams `json:"Response"` }
func NewResumeServerlessResponse ¶ added in v1.0.349
func NewResumeServerlessResponse() (response *ResumeServerlessResponse)
func (*ResumeServerlessResponse) FromJsonString ¶ added in v1.0.349
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 ¶ added in v1.0.349
func (r *ResumeServerlessResponse) ToJsonString() string
type ResumeServerlessResponseParams ¶ added in v1.0.426
type ResumeServerlessResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RevokeAccountPrivilegesRequest ¶ added in v1.0.349
type RevokeAccountPrivilegesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限数组 DbTablePrivileges []*string `json:"DbTablePrivileges,omitnil,omitempty" name:"DbTablePrivileges"` // 数据库表信息 DbTables []*DbTable `json:"DbTables,omitnil,omitempty" name:"DbTables"` }
func NewRevokeAccountPrivilegesRequest ¶ added in v1.0.349
func NewRevokeAccountPrivilegesRequest() (request *RevokeAccountPrivilegesRequest)
func (*RevokeAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.349
func (r *RevokeAccountPrivilegesRequest) 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 (*RevokeAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.349
func (r *RevokeAccountPrivilegesRequest) ToJsonString() string
type RevokeAccountPrivilegesRequestParams ¶ added in v1.0.426
type RevokeAccountPrivilegesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 账号信息 Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"` // 数据库表权限数组 DbTablePrivileges []*string `json:"DbTablePrivileges,omitnil,omitempty" name:"DbTablePrivileges"` // 数据库表信息 DbTables []*DbTable `json:"DbTables,omitnil,omitempty" name:"DbTables"` }
Predefined struct for user
type RevokeAccountPrivilegesResponse ¶ added in v1.0.349
type RevokeAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *RevokeAccountPrivilegesResponseParams `json:"Response"` }
func NewRevokeAccountPrivilegesResponse ¶ added in v1.0.349
func NewRevokeAccountPrivilegesResponse() (response *RevokeAccountPrivilegesResponse)
func (*RevokeAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.349
func (r *RevokeAccountPrivilegesResponse) 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 (*RevokeAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.349
func (r *RevokeAccountPrivilegesResponse) ToJsonString() string
type RevokeAccountPrivilegesResponseParams ¶ added in v1.0.426
type RevokeAccountPrivilegesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RollBackClusterRequest ¶ added in v1.0.349
type RollBackClusterRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档 RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"` // 备份文件ID。 // 回档策略为按备份文件回档时必填。 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 期望回档时间。 // 回档策略为timeRollback按时间点回档时必填。 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 期望阈值(已废弃) ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"` // 回档数据库列表 RollbackDatabases []*RollbackDatabase `json:"RollbackDatabases,omitnil,omitempty" name:"RollbackDatabases"` // 回档数据库表列表 RollbackTables []*RollbackTable `json:"RollbackTables,omitnil,omitempty" name:"RollbackTables"` // 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通) RollbackMode *string `json:"RollbackMode,omitnil,omitempty" name:"RollbackMode"` }
func NewRollBackClusterRequest ¶ added in v1.0.349
func NewRollBackClusterRequest() (request *RollBackClusterRequest)
func (*RollBackClusterRequest) FromJsonString ¶ added in v1.0.349
func (r *RollBackClusterRequest) 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 (*RollBackClusterRequest) ToJsonString ¶ added in v1.0.349
func (r *RollBackClusterRequest) ToJsonString() string
type RollBackClusterRequestParams ¶ added in v1.0.426
type RollBackClusterRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档 RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"` // 备份文件ID。 // 回档策略为按备份文件回档时必填。 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 期望回档时间。 // 回档策略为timeRollback按时间点回档时必填。 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` // 期望阈值(已废弃) ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"` // 回档数据库列表 RollbackDatabases []*RollbackDatabase `json:"RollbackDatabases,omitnil,omitempty" name:"RollbackDatabases"` // 回档数据库表列表 RollbackTables []*RollbackTable `json:"RollbackTables,omitnil,omitempty" name:"RollbackTables"` // 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通) RollbackMode *string `json:"RollbackMode,omitnil,omitempty" name:"RollbackMode"` }
Predefined struct for user
type RollBackClusterResponse ¶ added in v1.0.349
type RollBackClusterResponse struct { *tchttp.BaseResponse Response *RollBackClusterResponseParams `json:"Response"` }
func NewRollBackClusterResponse ¶ added in v1.0.349
func NewRollBackClusterResponse() (response *RollBackClusterResponse)
func (*RollBackClusterResponse) FromJsonString ¶ added in v1.0.349
func (r *RollBackClusterResponse) 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 (*RollBackClusterResponse) ToJsonString ¶ added in v1.0.349
func (r *RollBackClusterResponse) ToJsonString() string
type RollBackClusterResponseParams ¶ added in v1.0.426
type RollBackClusterResponseParams struct { // 任务流ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RollbackData ¶ added in v1.0.859
type RollbackData struct { // 实例CPU Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 实例内存 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 集群存储上限 StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 原集群id OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"` // 原集群名 OriginalClusterName *string `json:"OriginalClusterName,omitnil,omitempty" name:"OriginalClusterName"` // 回档方式 RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"` // 快照时间 SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"` // 回档到serverlessls集群时最小CPU // 注意:此字段可能返回 null,表示取不到有效值。 MinCpu *int64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // 回档到serverlessls集群时最大CPU // 注意:此字段可能返回 null,表示取不到有效值。 MaxCpu *int64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // 快照ID // 注意:此字段可能返回 null,表示取不到有效值。 SnapShotId *uint64 `json:"SnapShotId,omitnil,omitempty" name:"SnapShotId"` // 回档数据库 // 注意:此字段可能返回 null,表示取不到有效值。 RollbackDatabases []*RollbackDatabase `json:"RollbackDatabases,omitnil,omitempty" name:"RollbackDatabases"` // 回档数据表 // 注意:此字段可能返回 null,表示取不到有效值。 RollbackTables []*RollbackTable `json:"RollbackTables,omitnil,omitempty" name:"RollbackTables"` // 备份文件名称 // 注意:此字段可能返回 null,表示取不到有效值。 BackupFileName *string `json:"BackupFileName,omitnil,omitempty" name:"BackupFileName"` }
type RollbackDatabase ¶ added in v1.0.349
type RollbackTable ¶ added in v1.0.349
type RollbackTable struct { // 数据库名称 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 数据库表 Tables []*RollbackTableInfo `json:"Tables,omitnil,omitempty" name:"Tables"` }
type RollbackTableInfo ¶ added in v1.0.349
type RollbackTimeRange ¶ added in v1.0.482
type RollbackToNewClusterRequest ¶ added in v1.0.889
type RollbackToNewClusterRequest struct { *tchttp.BaseRequest // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 回档时,传入源集群ID,用于查找源poolId OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"` // 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.') ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 所属VPC网络ID UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 所属子网ID UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // Db类型 // 当DbType为MYSQL时可选(默认NORMAL): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 当DbMode为SEVERLESS时必填 // cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // 当DbMode为SEVERLESS时必填: // cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // 当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围 // <li>yes</li> // <li>no</li> // 默认值:yes AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"` // 当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200] // 默认值:600 AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"` // 安全组id数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 告警策略Id数组 AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"` // 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感 ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"` // 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 集群创建需要绑定的tag数组信息 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // 实例初始化配置信息,主要用于购买集群时选不同规格实例 InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,omitempty" name:"InstanceInitInfos"` // 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 时间点回档,指定时间;快照回档,快照时间 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` }
func NewRollbackToNewClusterRequest ¶ added in v1.0.889
func NewRollbackToNewClusterRequest() (request *RollbackToNewClusterRequest)
func (*RollbackToNewClusterRequest) FromJsonString ¶ added in v1.0.889
func (r *RollbackToNewClusterRequest) 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 (*RollbackToNewClusterRequest) ToJsonString ¶ added in v1.0.889
func (r *RollbackToNewClusterRequest) ToJsonString() string
type RollbackToNewClusterRequestParams ¶ added in v1.0.889
type RollbackToNewClusterRequestParams struct { // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 回档时,传入源集群ID,用于查找源poolId OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"` // 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.') ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 所属VPC网络ID UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 所属子网ID UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // Db类型 // 当DbType为MYSQL时可选(默认NORMAL): // <li>NORMAL</li> // <li>SERVERLESS</li> DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // 当DbMode为SEVERLESS时必填 // cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"` // 当DbMode为SEVERLESS时必填: // cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回 MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"` // 当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围 // <li>yes</li> // <li>no</li> // 默认值:yes AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"` // 当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200] // 默认值:600 AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"` // 安全组id数组 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 告警策略Id数组 AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"` // 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感 ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"` // 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"` // 集群创建需要绑定的tag数组信息 ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // 实例初始化配置信息,主要用于购买集群时选不同规格实例 InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,omitempty" name:"InstanceInitInfos"` // 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效 RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"` // 时间点回档,指定时间;快照回档,快照时间 ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"` }
Predefined struct for user
type RollbackToNewClusterResponse ¶ added in v1.0.889
type RollbackToNewClusterResponse struct { *tchttp.BaseResponse Response *RollbackToNewClusterResponseParams `json:"Response"` }
func NewRollbackToNewClusterResponse ¶ added in v1.0.889
func NewRollbackToNewClusterResponse() (response *RollbackToNewClusterResponse)
func (*RollbackToNewClusterResponse) FromJsonString ¶ added in v1.0.889
func (r *RollbackToNewClusterResponse) 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 (*RollbackToNewClusterResponse) ToJsonString ¶ added in v1.0.889
func (r *RollbackToNewClusterResponse) ToJsonString() string
type RollbackToNewClusterResponseParams ¶ added in v1.0.889
type RollbackToNewClusterResponseParams struct { // 冻结流水ID // 注意:此字段可能返回 null,表示取不到有效值。 TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // 订单号 // 注意:此字段可能返回 null,表示取不到有效值。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID) // 注意:此字段可能返回 null,表示取不到有效值。 ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID) // 注意:此字段可能返回 null,表示取不到有效值。 ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // 大订单号 // 注意:此字段可能返回 null,表示取不到有效值。 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RuleFilters ¶ added in v1.0.571
type RuleFilters struct { // 审计规则过滤条件的参数名称。可选值:host – 客户端 IP;user – 数据库账户;dbName – 数据库名称;sqlType-SQL类型;sql-sql语句;affectRows -影响行数;sentRows-返回行数;checkRows-扫描行数;execTime-执行时间。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 审计规则过滤条件的匹配类型。可选值:INC – 包含;EXC – 不包含;EQS – 等于;NEQ – 不等于;REG-正则;GT-大于;LT-小于。 Compare *string `json:"Compare,omitnil,omitempty" name:"Compare"` // 审计规则过滤条件的匹配值。 Value []*string `json:"Value,omitnil,omitempty" name:"Value"` }
type RuleTemplateInfo ¶ added in v1.0.749
type RuleTemplateInfo struct { // 规则模板ID。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"` // 规则模板名称。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"` // 规则内容。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"` // 告警等级。1-低风险,2-中风险,3-高风险。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 告警策略。0-不告警,1-告警。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmPolicy *int64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"` // 规则描述。 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
type SalePackageSpec ¶ added in v1.0.668
type SalePackageSpec struct { // 资源包使用地域 // 注意:此字段可能返回 null,表示取不到有效值。 PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` // 资源包类型 // CCU-计算资源包 // DISK-存储资源包 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 资源包版本 // base-基础版本,common-通用版本,enterprise-企业版本 // 注意:此字段可能返回 null,表示取不到有效值。 PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"` // 当前版本资源包最小资源数,计算资源单位:个;存储资源:GB // 注意:此字段可能返回 null,表示取不到有效值。 MinPackageSpec *float64 `json:"MinPackageSpec,omitnil,omitempty" name:"MinPackageSpec"` // 当前版本资源包最大资源数,计算资源单位:个;存储资源:GB // 注意:此字段可能返回 null,表示取不到有效值。 MaxPackageSpec *float64 `json:"MaxPackageSpec,omitnil,omitempty" name:"MaxPackageSpec"` // 资源包有效期,单位:天 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"` }
type SaleRegion ¶ added in v1.0.595
type SaleRegion struct { // 地域英文名 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 地域数字ID RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 地域中文名 RegionZh *string `json:"RegionZh,omitnil,omitempty" name:"RegionZh"` // 可售卖可用区列表 ZoneSet []*SaleZone `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"` // 引擎类型 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 地域模块支持情况 Modules []*Module `json:"Modules,omitnil,omitempty" name:"Modules"` }
type SaleZone ¶ added in v1.0.595
type SaleZone struct { // 可用区英文名 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 可用区数字ID ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 可用区中文名 ZoneZh *string `json:"ZoneZh,omitnil,omitempty" name:"ZoneZh"` // 是否支持serverless集群<br> // 0:不支持<br> // 1:支持 IsSupportServerless *int64 `json:"IsSupportServerless,omitnil,omitempty" name:"IsSupportServerless"` // 是否支持普通集群<br> // 0:不支持<br> // 1:支持 IsSupportNormal *int64 `json:"IsSupportNormal,omitnil,omitempty" name:"IsSupportNormal"` // 物理区 PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"` // 用户是否有可用区权限 // 注意:此字段可能返回 null,表示取不到有效值。 HasPermission *bool `json:"HasPermission,omitnil,omitempty" name:"HasPermission"` // 是否为全链路RDMA可用区 IsWholeRdmaZone *string `json:"IsWholeRdmaZone,omitnil,omitempty" name:"IsWholeRdmaZone"` }
type SearchClusterDatabasesRequest ¶ added in v1.0.551
type SearchClusterDatabasesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 是否精确搜索。 // 0: 模糊搜索 1:精确搜索 // 默认为0 MatchType *int64 `json:"MatchType,omitnil,omitempty" name:"MatchType"` }
func NewSearchClusterDatabasesRequest ¶ added in v1.0.551
func NewSearchClusterDatabasesRequest() (request *SearchClusterDatabasesRequest)
func (*SearchClusterDatabasesRequest) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SearchClusterDatabasesRequest) ToJsonString() string
type SearchClusterDatabasesRequestParams ¶ added in v1.0.551
type SearchClusterDatabasesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 是否精确搜索。 // 0: 模糊搜索 1:精确搜索 // 默认为0 MatchType *int64 `json:"MatchType,omitnil,omitempty" name:"MatchType"` }
Predefined struct for user
type SearchClusterDatabasesResponse ¶ added in v1.0.551
type SearchClusterDatabasesResponse struct { *tchttp.BaseResponse Response *SearchClusterDatabasesResponseParams `json:"Response"` }
func NewSearchClusterDatabasesResponse ¶ added in v1.0.551
func NewSearchClusterDatabasesResponse() (response *SearchClusterDatabasesResponse)
func (*SearchClusterDatabasesResponse) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SearchClusterDatabasesResponse) ToJsonString() string
type SearchClusterDatabasesResponseParams ¶ added in v1.0.551
type SearchClusterDatabasesResponseParams struct { // 数据库列表 // 注意:此字段可能返回 null,表示取不到有效值。 Databases []*string `json:"Databases,omitnil,omitempty" name:"Databases"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchClusterTablesRequest ¶ added in v1.0.551
type SearchClusterTablesRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 数据表名 Table *string `json:"Table,omitnil,omitempty" name:"Table"` // 数据表类型: // view:只返回 view, // base_table: 只返回基本表, // all:返回 view 和表 TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"` }
func NewSearchClusterTablesRequest ¶ added in v1.0.551
func NewSearchClusterTablesRequest() (request *SearchClusterTablesRequest)
func (*SearchClusterTablesRequest) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SearchClusterTablesRequest) ToJsonString() string
type SearchClusterTablesRequestParams ¶ added in v1.0.551
type SearchClusterTablesRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 数据表名 Table *string `json:"Table,omitnil,omitempty" name:"Table"` // 数据表类型: // view:只返回 view, // base_table: 只返回基本表, // all:返回 view 和表 TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"` }
Predefined struct for user
type SearchClusterTablesResponse ¶ added in v1.0.551
type SearchClusterTablesResponse struct { *tchttp.BaseResponse Response *SearchClusterTablesResponseParams `json:"Response"` }
func NewSearchClusterTablesResponse ¶ added in v1.0.551
func NewSearchClusterTablesResponse() (response *SearchClusterTablesResponse)
func (*SearchClusterTablesResponse) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SearchClusterTablesResponse) ToJsonString() string
type SearchClusterTablesResponseParams ¶ added in v1.0.551
type SearchClusterTablesResponseParams struct { // 数据表列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tables []*DatabaseTables `json:"Tables,omitnil,omitempty" name:"Tables"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SecurityGroup ¶
type SecurityGroup struct { // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 创建时间,时间格式:yyyy-mm-dd hh:mm:ss CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 入站规则 Inbound []*PolicyRule `json:"Inbound,omitnil,omitempty" name:"Inbound"` // 出站规则 Outbound []*PolicyRule `json:"Outbound,omitnil,omitempty" name:"Outbound"` // 安全组ID SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"` // 安全组名称 SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"` // 安全组备注 SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"` }
type SetRenewFlagRequest ¶
type SetRenewFlagRequest struct { *tchttp.BaseRequest // 需操作的集群ID ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // 自动续费标志位,续费标记 0:正常续费 1:自动续费 2:到期不续 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,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 ¶ added in v1.0.426
type SetRenewFlagRequestParams struct { // 需操作的集群ID ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // 自动续费标志位,续费标记 0:正常续费 1:自动续费 2:到期不续 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,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 ¶ added in v1.0.426
type SetRenewFlagResponseParams struct { // 操作成功实例数 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SlaveZoneAttrItem ¶ added in v1.0.905
type SlaveZoneStockInfo ¶ added in v1.0.837
type SlaveZoneStockInfo struct { // 备可用区 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // 备可用区的库存数量 // 注意:此字段可能返回 null,表示取不到有效值。 StockCount *uint64 `json:"StockCount,omitnil,omitempty" name:"StockCount"` // 备可用区是否有库存 // 注意:此字段可能返回 null,表示取不到有效值。 HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"` }
type SlowQueriesItem ¶ added in v1.0.434
type SlowQueriesItem struct { // 执行时间戳 Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 执行时长,单位秒 QueryTime *float64 `json:"QueryTime,omitnil,omitempty" name:"QueryTime"` // sql语句 SqlText *string `json:"SqlText,omitnil,omitempty" name:"SqlText"` // 客户端host UserHost *string `json:"UserHost,omitnil,omitempty" name:"UserHost"` // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 锁时长,单位秒 LockTime *float64 `json:"LockTime,omitnil,omitempty" name:"LockTime"` // 扫描行数 RowsExamined *int64 `json:"RowsExamined,omitnil,omitempty" name:"RowsExamined"` // 返回行数 RowsSent *int64 `json:"RowsSent,omitnil,omitempty" name:"RowsSent"` // sql模板 SqlTemplate *string `json:"SqlTemplate,omitnil,omitempty" name:"SqlTemplate"` // sql语句md5 SqlMd5 *string `json:"SqlMd5,omitnil,omitempty" name:"SqlMd5"` // 远程读取次数 // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncReadCountRemote *int64 `json:"SyncReadCountRemote,omitnil,omitempty" name:"SyncReadCountRemote"` // 远程读取的字节数 // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncReadBytesRemote *int64 `json:"SyncReadBytesRemote,omitnil,omitempty" name:"SyncReadBytesRemote"` // 远程读取所花费的时间(微秒) // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncReadTimeRemote *int64 `json:"SyncReadTimeRemote,omitnil,omitempty" name:"SyncReadTimeRemote"` // 远程写入次数 // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncWriteCountRemote *int64 `json:"SyncWriteCountRemote,omitnil,omitempty" name:"SyncWriteCountRemote"` // 远程写入的字节数。 // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncWriteBytesRemote *int64 `json:"SyncWriteBytesRemote,omitnil,omitempty" name:"SyncWriteBytesRemote"` // 远程写入所花费的时间(微秒)。 // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 SyncWriteTimeRemote *int64 `json:"SyncWriteTimeRemote,omitnil,omitempty" name:"SyncWriteTimeRemote"` // 事务提交延迟(微秒) // 数据库内核版本大于3.1.12 // 注意:此字段可能返回 null,表示取不到有效值。 TrxCommitDelay *int64 `json:"TrxCommitDelay,omitnil,omitempty" name:"TrxCommitDelay"` }
type StartCLSDeliveryRequest ¶ added in v1.0.918
type StartCLSDeliveryRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开通的日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
func NewStartCLSDeliveryRequest ¶ added in v1.0.918
func NewStartCLSDeliveryRequest() (request *StartCLSDeliveryRequest)
func (*StartCLSDeliveryRequest) FromJsonString ¶ added in v1.0.918
func (r *StartCLSDeliveryRequest) 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 (*StartCLSDeliveryRequest) ToJsonString ¶ added in v1.0.918
func (r *StartCLSDeliveryRequest) ToJsonString() string
type StartCLSDeliveryRequestParams ¶ added in v1.0.918
type StartCLSDeliveryRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 开通的日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
Predefined struct for user
type StartCLSDeliveryResponse ¶ added in v1.0.918
type StartCLSDeliveryResponse struct { *tchttp.BaseResponse Response *StartCLSDeliveryResponseParams `json:"Response"` }
func NewStartCLSDeliveryResponse ¶ added in v1.0.918
func NewStartCLSDeliveryResponse() (response *StartCLSDeliveryResponse)
func (*StartCLSDeliveryResponse) FromJsonString ¶ added in v1.0.918
func (r *StartCLSDeliveryResponse) 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 (*StartCLSDeliveryResponse) ToJsonString ¶ added in v1.0.918
func (r *StartCLSDeliveryResponse) ToJsonString() string
type StartCLSDeliveryResponseParams ¶ added in v1.0.918
type StartCLSDeliveryResponseParams struct { // 异步任务id TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopCLSDeliveryRequest ¶ added in v1.0.918
type StopCLSDeliveryRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
func NewStopCLSDeliveryRequest ¶ added in v1.0.918
func NewStopCLSDeliveryRequest() (request *StopCLSDeliveryRequest)
func (*StopCLSDeliveryRequest) FromJsonString ¶ added in v1.0.918
func (r *StopCLSDeliveryRequest) 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 (*StopCLSDeliveryRequest) ToJsonString ¶ added in v1.0.918
func (r *StopCLSDeliveryRequest) ToJsonString() string
type StopCLSDeliveryRequestParams ¶ added in v1.0.918
type StopCLSDeliveryRequestParams struct { // 实例id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 日志主题id CLSTopicIds []*string `json:"CLSTopicIds,omitnil,omitempty" name:"CLSTopicIds"` }
Predefined struct for user
type StopCLSDeliveryResponse ¶ added in v1.0.918
type StopCLSDeliveryResponse struct { *tchttp.BaseResponse Response *StopCLSDeliveryResponseParams `json:"Response"` }
func NewStopCLSDeliveryResponse ¶ added in v1.0.918
func NewStopCLSDeliveryResponse() (response *StopCLSDeliveryResponse)
func (*StopCLSDeliveryResponse) FromJsonString ¶ added in v1.0.918
func (r *StopCLSDeliveryResponse) 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 (*StopCLSDeliveryResponse) ToJsonString ¶ added in v1.0.918
func (r *StopCLSDeliveryResponse) ToJsonString() string
type StopCLSDeliveryResponseParams ¶ added in v1.0.918
type StopCLSDeliveryResponseParams struct { // 异步任务id TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchClusterLogBin ¶ added in v1.0.859
type SwitchClusterLogBin struct { // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type SwitchClusterVpcRequest ¶ added in v1.0.597
type SwitchClusterVpcRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 字符串vpc id UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 字符串子网id UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 旧地址回收时间 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` }
func NewSwitchClusterVpcRequest ¶ added in v1.0.597
func NewSwitchClusterVpcRequest() (request *SwitchClusterVpcRequest)
func (*SwitchClusterVpcRequest) FromJsonString ¶ added in v1.0.597
func (r *SwitchClusterVpcRequest) 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 (*SwitchClusterVpcRequest) ToJsonString ¶ added in v1.0.597
func (r *SwitchClusterVpcRequest) ToJsonString() string
type SwitchClusterVpcRequestParams ¶ added in v1.0.597
type SwitchClusterVpcRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 字符串vpc id UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 字符串子网id UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 旧地址回收时间 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` }
Predefined struct for user
type SwitchClusterVpcResponse ¶ added in v1.0.597
type SwitchClusterVpcResponse struct { *tchttp.BaseResponse Response *SwitchClusterVpcResponseParams `json:"Response"` }
func NewSwitchClusterVpcResponse ¶ added in v1.0.597
func NewSwitchClusterVpcResponse() (response *SwitchClusterVpcResponse)
func (*SwitchClusterVpcResponse) FromJsonString ¶ added in v1.0.597
func (r *SwitchClusterVpcResponse) 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 (*SwitchClusterVpcResponse) ToJsonString ¶ added in v1.0.597
func (r *SwitchClusterVpcResponse) ToJsonString() string
type SwitchClusterVpcResponseParams ¶ added in v1.0.597
type SwitchClusterVpcResponseParams struct { // 异步任务id。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchClusterZoneRequest ¶ added in v1.0.482
type SwitchClusterZoneRequest struct { *tchttp.BaseRequest // 集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 当前可用区 OldZone *string `json:"OldZone,omitnil,omitempty" name:"OldZone"` // 要切换到的可用区 NewZone *string `json:"NewZone,omitnil,omitempty" name:"NewZone"` // 维护期间执行-yes,立即执行-no IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
func NewSwitchClusterZoneRequest ¶ added in v1.0.482
func NewSwitchClusterZoneRequest() (request *SwitchClusterZoneRequest)
func (*SwitchClusterZoneRequest) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *SwitchClusterZoneRequest) ToJsonString() string
type SwitchClusterZoneRequestParams ¶ added in v1.0.482
type SwitchClusterZoneRequestParams struct { // 集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 当前可用区 OldZone *string `json:"OldZone,omitnil,omitempty" name:"OldZone"` // 要切换到的可用区 NewZone *string `json:"NewZone,omitnil,omitempty" name:"NewZone"` // 维护期间执行-yes,立即执行-no IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type SwitchClusterZoneResponse ¶ added in v1.0.482
type SwitchClusterZoneResponse struct { *tchttp.BaseResponse Response *SwitchClusterZoneResponseParams `json:"Response"` }
func NewSwitchClusterZoneResponse ¶ added in v1.0.482
func NewSwitchClusterZoneResponse() (response *SwitchClusterZoneResponse)
func (*SwitchClusterZoneResponse) FromJsonString ¶ added in v1.0.482
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 ¶ added in v1.0.482
func (r *SwitchClusterZoneResponse) ToJsonString() string
type SwitchClusterZoneResponseParams ¶ added in v1.0.482
type SwitchClusterZoneResponseParams struct { // 异步FlowId FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchProxyVpcRequest ¶ added in v1.0.551
type SwitchProxyVpcRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 字符串vpc id UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 字符串子网id UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 旧地址回收时间 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` // 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得) ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
func NewSwitchProxyVpcRequest ¶ added in v1.0.551
func NewSwitchProxyVpcRequest() (request *SwitchProxyVpcRequest)
func (*SwitchProxyVpcRequest) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SwitchProxyVpcRequest) ToJsonString() string
type SwitchProxyVpcRequestParams ¶ added in v1.0.551
type SwitchProxyVpcRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 字符串vpc id UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // 字符串子网id UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // 旧地址回收时间 OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"` // 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得) ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type SwitchProxyVpcResponse ¶ added in v1.0.551
type SwitchProxyVpcResponse struct { *tchttp.BaseResponse Response *SwitchProxyVpcResponseParams `json:"Response"` }
func NewSwitchProxyVpcResponse ¶ added in v1.0.551
func NewSwitchProxyVpcResponse() (response *SwitchProxyVpcResponse)
func (*SwitchProxyVpcResponse) FromJsonString ¶ added in v1.0.551
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 ¶ added in v1.0.551
func (r *SwitchProxyVpcResponse) ToJsonString() string
type SwitchProxyVpcResponseParams ¶ added in v1.0.551
type SwitchProxyVpcResponseParams struct { // 异步任务id。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TablePrivileges ¶ added in v1.0.349
type TablePrivileges struct { // 数据库名 // 注意:此字段可能返回 null,表示取不到有效值。 Db *string `json:"Db,omitnil,omitempty" name:"Db"` // 表名 // 注意:此字段可能返回 null,表示取不到有效值。 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // 权限列表 // 注意:此字段可能返回 null,表示取不到有效值。 Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"` }
type TaskMaintainInfo ¶ added in v1.0.859
type TaskMaintainInfo struct { // 执行开始时间(距离0点的秒数) // 注意:此字段可能返回 null,表示取不到有效值。 MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 持续的时间(单位:秒) // 注意:此字段可能返回 null,表示取不到有效值。 MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 可以执行的时间,枚举值:["Mon","Tue","Wed","Thu","Fri", "Sat", "Sun"] // 注意:此字段可能返回 null,表示取不到有效值。 MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` }
type TemplateParamInfo ¶ added in v1.0.543
type TemplateParamInfo struct { // 当前值 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 默认值 Default *string `json:"Default,omitnil,omitempty" name:"Default"` // 参数类型为enum时可选的值类型集合 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` // 参数类型为float/integer时的最大值 // 注意:此字段可能返回 null,表示取不到有效值。 Max *string `json:"Max,omitnil,omitempty" name:"Max"` // 参数类型为float/integer时的最小值 // 注意:此字段可能返回 null,表示取不到有效值。 Min *string `json:"Min,omitnil,omitempty" name:"Min"` // 参数名称 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 是否需要重启 NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"` // 参数描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 参数类型,integer/float/string/enum ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"` }
type TradePrice ¶ added in v1.0.449
type TradePrice struct { // 预付费模式下资源总价,不包含优惠,单位:分 // 注意:此字段可能返回 null,表示取不到有效值。 TotalPrice *int64 `json:"TotalPrice,omitnil,omitempty" name:"TotalPrice"` // 总的折扣,100表示100%不打折 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 预付费模式下的优惠后总价, 单位: 分,例如用户享有折扣 =TotalPrice × Discount // 注意:此字段可能返回 null,表示取不到有效值。 TotalPriceDiscount *int64 `json:"TotalPriceDiscount,omitnil,omitempty" name:"TotalPriceDiscount"` // 后付费模式下的单位资源价格,不包含优惠,单位:分 // 注意:此字段可能返回 null,表示取不到有效值。 UnitPrice *int64 `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"` // 优惠后后付费模式下的单位资源价格, 单位: 分,例如用户享有折扣=UnitPricet × Discount // 注意:此字段可能返回 null,表示取不到有效值。 UnitPriceDiscount *int64 `json:"UnitPriceDiscount,omitnil,omitempty" name:"UnitPriceDiscount"` // 计费价格单位 ChargeUnit *string `json:"ChargeUnit,omitnil,omitempty" name:"ChargeUnit"` }
type UnbindClusterResourcePackagesRequest ¶ added in v1.0.668
type UnbindClusterResourcePackagesRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 资源包唯一ID,如果不传,解绑该实例绑定的所有资源包 PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"` }
func NewUnbindClusterResourcePackagesRequest ¶ added in v1.0.668
func NewUnbindClusterResourcePackagesRequest() (request *UnbindClusterResourcePackagesRequest)
func (*UnbindClusterResourcePackagesRequest) FromJsonString ¶ added in v1.0.668
func (r *UnbindClusterResourcePackagesRequest) 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 (*UnbindClusterResourcePackagesRequest) ToJsonString ¶ added in v1.0.668
func (r *UnbindClusterResourcePackagesRequest) ToJsonString() string
type UnbindClusterResourcePackagesRequestParams ¶ added in v1.0.668
type UnbindClusterResourcePackagesRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 资源包唯一ID,如果不传,解绑该实例绑定的所有资源包 PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"` }
Predefined struct for user
type UnbindClusterResourcePackagesResponse ¶ added in v1.0.668
type UnbindClusterResourcePackagesResponse struct { *tchttp.BaseResponse Response *UnbindClusterResourcePackagesResponseParams `json:"Response"` }
func NewUnbindClusterResourcePackagesResponse ¶ added in v1.0.668
func NewUnbindClusterResourcePackagesResponse() (response *UnbindClusterResourcePackagesResponse)
func (*UnbindClusterResourcePackagesResponse) FromJsonString ¶ added in v1.0.668
func (r *UnbindClusterResourcePackagesResponse) 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 (*UnbindClusterResourcePackagesResponse) ToJsonString ¶ added in v1.0.668
func (r *UnbindClusterResourcePackagesResponse) ToJsonString() string
type UnbindClusterResourcePackagesResponseParams ¶ added in v1.0.668
type UnbindClusterResourcePackagesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeClusterVersionRequest ¶ added in v1.0.664
type UpgradeClusterVersionRequest struct { *tchttp.BaseRequest // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 内核版本 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 升级时间类型,可选:upgradeImmediate,upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` }
func NewUpgradeClusterVersionRequest ¶ added in v1.0.664
func NewUpgradeClusterVersionRequest() (request *UpgradeClusterVersionRequest)
func (*UpgradeClusterVersionRequest) FromJsonString ¶ added in v1.0.664
func (r *UpgradeClusterVersionRequest) 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 (*UpgradeClusterVersionRequest) ToJsonString ¶ added in v1.0.664
func (r *UpgradeClusterVersionRequest) ToJsonString() string
type UpgradeClusterVersionRequestParams ¶ added in v1.0.664
type UpgradeClusterVersionRequestParams struct { // 集群id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 内核版本 CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"` // 升级时间类型,可选:upgradeImmediate,upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` }
Predefined struct for user
type UpgradeClusterVersionResponse ¶ added in v1.0.664
type UpgradeClusterVersionResponse struct { *tchttp.BaseResponse Response *UpgradeClusterVersionResponseParams `json:"Response"` }
func NewUpgradeClusterVersionResponse ¶ added in v1.0.664
func NewUpgradeClusterVersionResponse() (response *UpgradeClusterVersionResponse)
func (*UpgradeClusterVersionResponse) FromJsonString ¶ added in v1.0.664
func (r *UpgradeClusterVersionResponse) 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 (*UpgradeClusterVersionResponse) ToJsonString ¶ added in v1.0.664
func (r *UpgradeClusterVersionResponse) ToJsonString() string
type UpgradeClusterVersionResponseParams ¶ added in v1.0.664
type UpgradeClusterVersionResponseParams struct { // 异步任务id FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeInstanceRequest ¶
type UpgradeInstanceRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 数据库CPU Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 数据库内存,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 升级类型:upgradeImmediate,upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // 该参数已废弃 StorageLimit *uint64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 该参数已废弃 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。 UpgradeMode *string `json:"UpgradeMode,omitnil,omitempty" name:"UpgradeMode"` // proxy同步升级 UpgradeProxy *UpgradeProxy `json:"UpgradeProxy,omitnil,omitempty" name:"UpgradeProxy"` }
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 ¶ added in v1.0.426
type UpgradeInstanceRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 数据库CPU Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 数据库内存,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 升级类型:upgradeImmediate,upgradeInMaintain UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // 该参数已废弃 StorageLimit *uint64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"` // 是否自动选择代金券 1是 0否 默认为0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 该参数已废弃 DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"` // 交易模式 0-下单并支付 1-下单 DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"` // NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。 UpgradeMode *string `json:"UpgradeMode,omitnil,omitempty" name:"UpgradeMode"` // proxy同步升级 UpgradeProxy *UpgradeProxy `json:"UpgradeProxy,omitnil,omitempty" name:"UpgradeProxy"` }
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 ¶ added in v1.0.426
type UpgradeInstanceResponseParams struct { // 冻结流水ID // 注意:此字段可能返回 null,表示取不到有效值。 TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"` // 大订单号 // 注意:此字段可能返回 null,表示取不到有效值。 BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"` // 订单号 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeProxy ¶ added in v1.0.878
type UpgradeProxy struct { // cpu Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // memory Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 代理节点信息 ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"` // 重新负载均衡 ReloadBalance *string `json:"ReloadBalance,omitnil,omitempty" name:"ReloadBalance"` }
type UpgradeProxyRequest ¶ added in v1.0.683
type UpgradeProxyRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存 Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 数据库代理组节点个数 ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"` // 数据库代理组ID(已废弃) ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 重新负载均衡:auto(自动),manual(手动) ReloadBalance *string `json:"ReloadBalance,omitnil,omitempty" name:"ReloadBalance"` // 升级时间 :no(升级完成时)yes(实例维护时间) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` // 数据库代理节点信息 ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"` }
func NewUpgradeProxyRequest ¶ added in v1.0.683
func NewUpgradeProxyRequest() (request *UpgradeProxyRequest)
func (*UpgradeProxyRequest) FromJsonString ¶ added in v1.0.683
func (r *UpgradeProxyRequest) 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 (*UpgradeProxyRequest) ToJsonString ¶ added in v1.0.683
func (r *UpgradeProxyRequest) ToJsonString() string
type UpgradeProxyRequestParams ¶ added in v1.0.683
type UpgradeProxyRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // cpu核数 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存 Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // 数据库代理组节点个数 ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"` // 数据库代理组ID(已废弃) ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 重新负载均衡:auto(自动),manual(手动) ReloadBalance *string `json:"ReloadBalance,omitnil,omitempty" name:"ReloadBalance"` // 升级时间 :no(升级完成时)yes(实例维护时间) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` // 数据库代理节点信息 ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"` }
Predefined struct for user
type UpgradeProxyResponse ¶ added in v1.0.683
type UpgradeProxyResponse struct { *tchttp.BaseResponse Response *UpgradeProxyResponseParams `json:"Response"` }
func NewUpgradeProxyResponse ¶ added in v1.0.683
func NewUpgradeProxyResponse() (response *UpgradeProxyResponse)
func (*UpgradeProxyResponse) FromJsonString ¶ added in v1.0.683
func (r *UpgradeProxyResponse) 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 (*UpgradeProxyResponse) ToJsonString ¶ added in v1.0.683
func (r *UpgradeProxyResponse) ToJsonString() string
type UpgradeProxyResponseParams ¶ added in v1.0.683
type UpgradeProxyResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务ID TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeProxyVersionRequest ¶ added in v1.0.683
type UpgradeProxyVersionRequest struct { *tchttp.BaseRequest // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理当前版本 SrcProxyVersion *string `json:"SrcProxyVersion,omitnil,omitempty" name:"SrcProxyVersion"` // 数据库代理升级版本 DstProxyVersion *string `json:"DstProxyVersion,omitnil,omitempty" name:"DstProxyVersion"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 升级时间 :no(升级完成时)yes(实例维护时间) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
func NewUpgradeProxyVersionRequest ¶ added in v1.0.683
func NewUpgradeProxyVersionRequest() (request *UpgradeProxyVersionRequest)
func (*UpgradeProxyVersionRequest) FromJsonString ¶ added in v1.0.683
func (r *UpgradeProxyVersionRequest) 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 (*UpgradeProxyVersionRequest) ToJsonString ¶ added in v1.0.683
func (r *UpgradeProxyVersionRequest) ToJsonString() string
type UpgradeProxyVersionRequestParams ¶ added in v1.0.683
type UpgradeProxyVersionRequestParams struct { // 集群ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 数据库代理当前版本 SrcProxyVersion *string `json:"SrcProxyVersion,omitnil,omitempty" name:"SrcProxyVersion"` // 数据库代理升级版本 DstProxyVersion *string `json:"DstProxyVersion,omitnil,omitempty" name:"DstProxyVersion"` // 数据库代理组ID ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"` // 升级时间 :no(升级完成时)yes(实例维护时间) IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"` }
Predefined struct for user
type UpgradeProxyVersionResponse ¶ added in v1.0.683
type UpgradeProxyVersionResponse struct { *tchttp.BaseResponse Response *UpgradeProxyVersionResponseParams `json:"Response"` }
func NewUpgradeProxyVersionResponse ¶ added in v1.0.683
func NewUpgradeProxyVersionResponse() (response *UpgradeProxyVersionResponse)
func (*UpgradeProxyVersionResponse) FromJsonString ¶ added in v1.0.683
func (r *UpgradeProxyVersionResponse) 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 (*UpgradeProxyVersionResponse) ToJsonString ¶ added in v1.0.683
func (r *UpgradeProxyVersionResponse) ToJsonString() string
type UpgradeProxyVersionResponseParams ¶ added in v1.0.683
type UpgradeProxyVersionResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 异步任务id TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UserHostPrivilege ¶ added in v1.0.664
type UserHostPrivilege struct { // 授权用户 DbUserName *string `json:"DbUserName,omitnil,omitempty" name:"DbUserName"` // 客户端ip // 注意:此字段可能返回 null,表示取不到有效值。 DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"` // 用户权限 // 注意:此字段可能返回 null,表示取不到有效值。 DbPrivilege *string `json:"DbPrivilege,omitnil,omitempty" name:"DbPrivilege"` }
type ZoneStockInfo ¶ added in v1.0.486
type ZoneStockInfo struct { // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 是否有库存 HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"` // 库存数量 StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"` // 备可用区库存信息 // 注意:此字段可能返回 null,表示取不到有效值。 SlaveZoneStockInfos []*SlaveZoneStockInfo `json:"SlaveZoneStockInfos,omitnil,omitempty" name:"SlaveZoneStockInfos"` }