Documentation ¶
Index ¶
- Constants
- type AccountInfo
- type AddDBInstanceToReadOnlyGroupRequest
- type AddDBInstanceToReadOnlyGroupResponse
- type AnalysisItems
- type BackupPlan
- type Client
- func (c *Client) AddDBInstanceToReadOnlyGroup(request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
- func (c *Client) AddDBInstanceToReadOnlyGroupWithContext(ctx context.Context, request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
- func (c *Client) CloneDBInstance(request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
- func (c *Client) CloneDBInstanceWithContext(ctx context.Context, request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
- func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
- func (c *Client) CloseDBExtranetAccessWithContext(ctx context.Context, request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
- func (c *Client) CloseServerlessDBExtranetAccess(request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
- func (c *Client) CloseServerlessDBExtranetAccessWithContext(ctx context.Context, request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
- func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
- func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
- func (c *Client) CreateReadOnlyDBInstanceWithContext(ctx context.Context, request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
- func (c *Client) CreateReadOnlyGroup(request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
- func (c *Client) CreateReadOnlyGroupWithContext(ctx context.Context, request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
- func (c *Client) CreateServerlessDBInstance(request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
- func (c *Client) CreateServerlessDBInstanceWithContext(ctx context.Context, request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
- func (c *Client) DeleteReadOnlyGroup(request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
- func (c *Client) DeleteReadOnlyGroupWithContext(ctx context.Context, request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
- func (c *Client) DeleteServerlessDBInstance(request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
- func (c *Client) DeleteServerlessDBInstanceWithContext(ctx context.Context, request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, 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) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
- func (c *Client) DescribeAvailableRecoveryTimeWithContext(ctx context.Context, request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
- func (c *Client) DescribeBackupPlans(request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
- func (c *Client) DescribeBackupPlansWithContext(ctx context.Context, request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
- func (c *Client) DescribeCloneDBInstanceSpec(request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
- func (c *Client) DescribeCloneDBInstanceSpecWithContext(ctx context.Context, request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
- func (c *Client) DescribeDBBackups(request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
- func (c *Client) DescribeDBBackupsWithContext(ctx context.Context, request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
- func (c *Client) DescribeDBErrlogs(request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
- func (c *Client) DescribeDBErrlogsWithContext(ctx context.Context, request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
- func (c *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
- func (c *Client) DescribeDBInstanceAttributeWithContext(ctx context.Context, request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
- func (c *Client) DescribeDBInstanceParameters(request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
- func (c *Client) DescribeDBInstanceParametersWithContext(ctx context.Context, request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
- func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBSlowlogs(request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
- func (c *Client) DescribeDBSlowlogsWithContext(ctx context.Context, request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
- func (c *Client) DescribeDBXlogs(request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
- func (c *Client) DescribeDBXlogsWithContext(ctx context.Context, request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
- func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
- func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
- func (c *Client) DescribeParamsEvent(request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
- func (c *Client) DescribeParamsEventWithContext(ctx context.Context, request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
- func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
- func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
- func (c *Client) DescribeReadOnlyGroups(request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
- func (c *Client) DescribeReadOnlyGroupsWithContext(ctx context.Context, request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeServerlessDBInstances(request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
- func (c *Client) DescribeServerlessDBInstancesWithContext(ctx context.Context, request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
- func (c *Client) DescribeSlowQueryAnalysis(request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
- func (c *Client) DescribeSlowQueryAnalysisWithContext(ctx context.Context, request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
- func (c *Client) DescribeSlowQueryList(request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
- func (c *Client) DescribeSlowQueryListWithContext(ctx context.Context, request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, 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) DestroyDBInstance(request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
- func (c *Client) DestroyDBInstanceWithContext(ctx context.Context, request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
- func (c *Client) DisIsolateDBInstances(request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
- func (c *Client) DisIsolateDBInstancesWithContext(ctx context.Context, request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
- func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
- func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
- func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
- func (c *Client) InquiryPriceRenewDBInstanceWithContext(ctx context.Context, request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
- func (c *Client) IsolateDBInstances(request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
- func (c *Client) IsolateDBInstancesWithContext(ctx context.Context, request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
- func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
- func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
- func (c *Client) ModifyBackupPlan(request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
- func (c *Client) ModifyBackupPlanWithContext(ctx context.Context, request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
- func (c *Client) ModifyDBInstanceDeployment(request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
- func (c *Client) ModifyDBInstanceDeploymentWithContext(ctx context.Context, request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
- func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceParameters(request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
- func (c *Client) ModifyDBInstanceParametersWithContext(ctx context.Context, request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
- func (c *Client) ModifyDBInstanceReadOnlyGroup(request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
- func (c *Client) ModifyDBInstanceReadOnlyGroupWithContext(ctx context.Context, request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
- func (c *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
- func (c *Client) ModifyDBInstanceSpecWithContext(ctx context.Context, request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
- func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
- func (c *Client) ModifyDBInstancesProjectWithContext(ctx context.Context, request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
- func (c *Client) ModifyReadOnlyGroupConfig(request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
- func (c *Client) ModifyReadOnlyGroupConfigWithContext(ctx context.Context, request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
- func (c *Client) ModifySwitchTimePeriod(request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
- func (c *Client) ModifySwitchTimePeriodWithContext(ctx context.Context, request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
- func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
- func (c *Client) OpenDBExtranetAccessWithContext(ctx context.Context, request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
- func (c *Client) OpenServerlessDBExtranetAccess(request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
- func (c *Client) OpenServerlessDBExtranetAccessWithContext(ctx context.Context, request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
- func (c *Client) RebalanceReadOnlyGroup(request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
- func (c *Client) RebalanceReadOnlyGroupWithContext(ctx context.Context, request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
- func (c *Client) RemoveDBInstanceFromReadOnlyGroup(request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
- func (c *Client) RemoveDBInstanceFromReadOnlyGroupWithContext(ctx context.Context, request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, 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) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
- func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
- func (c *Client) SetAutoRenewFlag(request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
- func (c *Client) SetAutoRenewFlagWithContext(ctx context.Context, request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
- func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- type CloneDBInstanceRequest
- type CloneDBInstanceResponse
- type CloseDBExtranetAccessRequest
- type CloseDBExtranetAccessResponse
- type CloseServerlessDBExtranetAccessRequest
- type CloseServerlessDBExtranetAccessResponse
- type CreateDBInstancesRequest
- type CreateDBInstancesResponse
- type CreateInstancesRequest
- type CreateInstancesResponse
- type CreateReadOnlyDBInstanceRequest
- type CreateReadOnlyDBInstanceResponse
- type CreateReadOnlyGroupRequest
- type CreateReadOnlyGroupResponse
- type CreateServerlessDBInstanceRequest
- type CreateServerlessDBInstanceResponse
- type DBBackup
- type DBInstance
- type DBInstanceNetInfo
- type DBNode
- type DeleteReadOnlyGroupRequest
- type DeleteReadOnlyGroupResponse
- type DeleteServerlessDBInstanceRequest
- type DeleteServerlessDBInstanceResponse
- type DescribeAccountsRequest
- type DescribeAccountsResponse
- type DescribeAvailableRecoveryTimeRequest
- type DescribeAvailableRecoveryTimeResponse
- type DescribeBackupPlansRequest
- type DescribeBackupPlansResponse
- type DescribeCloneDBInstanceSpecRequest
- type DescribeCloneDBInstanceSpecResponse
- type DescribeDBBackupsRequest
- type DescribeDBBackupsResponse
- type DescribeDBErrlogsRequest
- type DescribeDBErrlogsResponse
- type DescribeDBInstanceAttributeRequest
- type DescribeDBInstanceAttributeResponse
- type DescribeDBInstanceParametersRequest
- type DescribeDBInstanceParametersResponse
- type DescribeDBInstancesRequest
- type DescribeDBInstancesResponse
- type DescribeDBSlowlogsRequest
- type DescribeDBSlowlogsResponse
- type DescribeDBXlogsRequest
- type DescribeDBXlogsResponse
- type DescribeDatabasesRequest
- type DescribeDatabasesResponse
- type DescribeOrdersRequest
- type DescribeOrdersResponse
- type DescribeParamsEventRequest
- type DescribeParamsEventResponse
- type DescribeProductConfigRequest
- type DescribeProductConfigResponse
- type DescribeReadOnlyGroupsRequest
- type DescribeReadOnlyGroupsResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeServerlessDBInstancesRequest
- type DescribeServerlessDBInstancesResponse
- type DescribeSlowQueryAnalysisRequest
- type DescribeSlowQueryAnalysisResponse
- type DescribeSlowQueryListRequest
- type DescribeSlowQueryListResponse
- type DescribeZonesRequest
- type DescribeZonesResponse
- type DestroyDBInstanceRequest
- type DestroyDBInstanceResponse
- type Detail
- type DisIsolateDBInstancesRequest
- type DisIsolateDBInstancesResponse
- type DurationAnalysis
- type ErrLogDetail
- type EventInfo
- type EventItem
- type Filter
- type InitDBInstancesRequest
- type InitDBInstancesResponse
- type InquiryPriceCreateDBInstancesRequest
- type InquiryPriceCreateDBInstancesResponse
- type InquiryPriceRenewDBInstanceRequest
- type InquiryPriceRenewDBInstanceResponse
- type InquiryPriceUpgradeDBInstanceRequest
- type InquiryPriceUpgradeDBInstanceResponse
- type IsolateDBInstancesRequest
- type IsolateDBInstancesResponse
- type ModifyAccountRemarkRequest
- type ModifyAccountRemarkResponse
- type ModifyBackupPlanRequest
- type ModifyBackupPlanResponse
- type ModifyDBInstanceDeploymentRequest
- type ModifyDBInstanceDeploymentResponse
- type ModifyDBInstanceNameRequest
- type ModifyDBInstanceNameResponse
- type ModifyDBInstanceParametersRequest
- type ModifyDBInstanceParametersResponse
- type ModifyDBInstanceReadOnlyGroupRequest
- type ModifyDBInstanceReadOnlyGroupResponse
- type ModifyDBInstanceSpecRequest
- type ModifyDBInstanceSpecResponse
- type ModifyDBInstancesProjectRequest
- type ModifyDBInstancesProjectResponse
- type ModifyReadOnlyGroupConfigRequest
- type ModifyReadOnlyGroupConfigResponse
- type ModifySwitchTimePeriodRequest
- type ModifySwitchTimePeriodResponse
- type NetworkAccess
- type NormalQueryItem
- type OpenDBExtranetAccessRequest
- type OpenDBExtranetAccessResponse
- type OpenServerlessDBExtranetAccessRequest
- type OpenServerlessDBExtranetAccessResponse
- type ParamEntry
- type ParamInfo
- type PgDeal
- type RawSlowQuery
- type ReadOnlyGroup
- type RebalanceReadOnlyGroupRequest
- type RebalanceReadOnlyGroupResponse
- type RegionInfo
- type RemoveDBInstanceFromReadOnlyGroupRequest
- type RemoveDBInstanceFromReadOnlyGroupResponse
- type RenewInstanceRequest
- type RenewInstanceResponse
- type ResetAccountPasswordRequest
- type ResetAccountPasswordResponse
- type RestartDBInstanceRequest
- type RestartDBInstanceResponse
- type ServerlessDBAccount
- type ServerlessDBInstance
- type ServerlessDBInstanceNetInfo
- type SetAutoRenewFlagRequest
- type SetAutoRenewFlagResponse
- type SlowlogDetail
- type SpecInfo
- type SpecItemInfo
- type Tag
- type UpgradeDBInstanceRequest
- type UpgradeDBInstanceResponse
- type Xlog
- type ZoneInfo
Constants ¶
const ( // The current account does not exist. ACCOUNTNOTEXIST = "AccountNotExist" // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Backend database execution error. DBERROR = "DBError" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to access classic network. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" // Failed to access CMQ. FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" // CAM authentication failed. FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" // Failed to get permissions. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" // Failed to check resource permissions through CAM. FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" // Authentication failed. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" // Failed to get project information. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" // Classic network creation is unsupported. FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" // Failed to create the renewal order. FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" // Failed to access database management service. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" // Failed to delete VPC routes. FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" // Failed to unbind resources from a project. FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" // Failed to unbind the resource from the tag. FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" // Failed to access ES. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" // Failed to query ES. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" // Operation failed. Please try again later. FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" // Failed to create a task. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" // Failed to query the instance information. Please try again later. FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" // Failed to get the purchase record. FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" // Failed to query VPC subnets. FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" // Failed to query VPC information. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" // Invalid number of read-only replicas. FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" // The account status is incorrect, so the operation is not allowed. FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" // Billing error. Corresponding purchase/renewal/configuration change operations are not allowed for the current instance. FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" // Operations are not allowed on the instance. FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" // Failed to query the primary instance information. FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" // Failed to modify RO group configuration. FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" // Failed to access database management service. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" // Failed to request the backend API. FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" // Failed to make order payment. FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" // Failed to unfreeze the account of a pay-as-you-go instance. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" // An error occurred while getting the pre-signed authorization URL. FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" // Failed to query the order information. FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" // Failed to query instance information in batches. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" // Failed to query the price. FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" // Failed to query specifications. FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" // Failed to query specifications. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" // Failed to query the order status. FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" // Failed to query VPC. FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" // Failed to get VPC details. FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" // This RO group has at least one read-only replica, so it cannot be deleted. FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" // The primary instance information of the RO group is not matched. FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" // The RO group does not exist. FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" // The maximum number of RO groups has been reached. FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" // This read-only replica already belongs to another RO group. FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" // Failed to access internal service. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" // Failed to set the auto-renewal flag. FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" // The memory and storage capacity to which an instance is upgraded should be higher than its original memory and storage capacity. FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" // Incorrect storage path format FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" // Failed to access the billing platform. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" // Failed to request the billing platform to create an order. FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" // Failed to request to pay for the order. FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" // Failed to query order information. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" // Failed to query pricing information. Please try again later. If the problem persists, please contact customer service. FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" // Failed to modify the resource tag. FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" // Failed to configure the VPC. FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" // Failed to update VPC routes. FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" // Failed to create the task. FLOWERROR = "FlowError" // The current instance does not exist. INSTANCENOTEXIST = "InstanceNotExist" // `ACTION` input error. INTERFACENAMENOTFOUND = "InterfaceNameNotFound" // Internal error. INTERNALERROR = "InternalError" // CGW error. INTERNALERROR_CGWERROR = "InternalError.CgwError" // Basic network error. INTERNALERROR_CNSERROR = "InternalError.CnsError" // Backend database execution error. INTERNALERROR_DBERROR = "InternalError.DBError" // DFW error. INTERNALERROR_DFWERROR = "InternalError.DfwError" // Failed to create the flow. INTERNALERROR_FLOWERROR = "InternalError.FlowError" // Failed to access database management service. Please contact customer service. INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" // System error. When this error occurs, please contact customer service for assistance. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Unknown error. When this error occurs, please contact customer service for assistance. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // VPC error. INTERNALERROR_VPCERROR = "InternalError.VpcError" // Incorrect account password. INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" // The current account status is incorrect, so the operation is not allowed. INVALIDACCOUNTSTATUS = "InvalidAccountStatus" // Incorrect instance status. INVALIDINSTANCESTATUS = "InvalidInstanceStatus" // Billing error: invalid order type ID. INVALIDORDERNUM = "InvalidOrderNum" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // The instance name already exists. INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" // Failed to check the parameter. INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" // Incorrect PID INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" // Failed to query VPC information. INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The current account already exists. INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" // The current account does not exist. INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" // The account does not exist. INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" // The instance specification to upgrade to is not purchasable. INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" // Incorrect database character set INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" // Failed to convert data format. Please contact customer service. INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" // Unsupported billing type. INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" // Incorrect billing mode. INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" // Invalid `ProjectId`. INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" // Invalid `Region` parameter. INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" // Invalid `Zone` parameter. INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" // The account already exists. INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" // The current instance does not exist. INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" // Incorrect `ACTION`. INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" // Invalid account. The account name is case-insensitive, must contain 1-16 characters comprised of letters, digits, underscores, and should neither be "postgres" nor start with a digit or "pg_". INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" // Incorrect account format. INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" // The current account name cannot be a reserved character. INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" // Incorrect database character set. Currently, only `UTF8` and `LATIN1` are supported. INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" // The number of purchased instances exceeds the limit. INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" // The instance specification to upgrade to cannot be lower than the current instance specification. INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" // Billing error. Invalid order type ID. INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" // Incorrect parameter value INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // Incorrect password format. INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" // Invalid password. The password length does not meet the requirements. INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" // Invalid password. The password must contain uppercase letters, lowercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;'<>,.?/), and cannot start with a slash (/). INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" // Incorrect `PID` parameter. INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" // RO group in incorrect status INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" // Invalid availability zone. INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" // Empty order name. INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" // Invalid parameter. The parameter can contain only letters, digits, underscores, and hyphens. INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" // The parameter is invalid. Please modify it and try again. INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" // The parameter prefix is invalid. Please modify it and try again. INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" // Failed to process the parameter. Please check if the parameter value is valid. INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" // The length of parameter exceeds the limit. INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" // Invalid parameter values. INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" // The maximum value of the parameter has been reached. INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" // The RO group does not exist. INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" // The current region is not supported. INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" // Failed to identify the specification ({{1}}). INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" // An error occurred while parsing parameters. INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" // Incorrect `PID` parameter. INVALIDPID = "InvalidPid" // Billing error: such operations as purchase, renewal, and configuration change are not allowed for the instance. INVALIDTRADEOPERATE = "InvalidTradeOperate" // Billing error: the specified voucher is invalid. INVALIDVOUCHERID = "InvalidVoucherId" // Quota limit exceeded. LIMITEXCEEDED = "LimitExceeded" // Operations are not allowed on the instance. LIMITOPERATION = "LimitOperation" // Missing parameters. MISSINGPARAMETER = "MissingParameter" // This operation cannot be performed. OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" // The target instance failed the status check. OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" // You do not have the permission to operate this resource. OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" // This operation cannot be performed on an instance in this status. OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" // This operation cannot be performed on an instance in this status. OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" // This operation cannot be performed on an instance in this status. OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" // Serverless is not supported in this availability zone. OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" // Unsupported billing mode OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" // Pay-as-you-go instances cannot be renewed. OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" // This operation cannot be performed on an RO group in this status. OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" // The total number of read-only nodes should not exceed the upper limit. OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" // You need to verify your identity to make a purchase. OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" // Serverless is not supported on this version of PostgreSQL. OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" // You do not have the permission to operate the VPC. OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" // The region is not supported. REGIONNOTSUPPORTED = "RegionNotSupported" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // There are not enough resources to purchase instances of this specification in the current region. RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" // Resource not found. RESOURCENOTFOUND = "ResourceNotFound" // The instance does not exist. RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" // Incorrect instance status. RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" // No permission for the VPC. RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" // Failed to get the information of the VPC where the instance resides. RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" // An error occurred while parsing parameters. STRUCTPARSEFAILED = "StructParseFailed" // System error. When this error occurs, please contact customer service for assistance. SYSTEMERROR = "SystemError" // Unverified user. UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" // Unknown error. When this error occurs, please contact customer service for assistance. UNKNOWNERROR = "UnknownError" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // VPC error VPCERROR = "VpcError" )
const APIVersion = "2017-03-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { // Instance ID in the format of postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Account UserName *string `json:"UserName,omitempty" name:"UserName"` // Account remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Account status. 1: creating, 2: normal, 3: modifying, 4: resetting password, -1: deleting Status *int64 `json:"Status,omitempty" name:"Status"` // Account creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Account last modified time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type AddDBInstanceToReadOnlyGroupRequest ¶
type AddDBInstanceToReadOnlyGroupRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` }
func NewAddDBInstanceToReadOnlyGroupRequest ¶
func NewAddDBInstanceToReadOnlyGroupRequest() (request *AddDBInstanceToReadOnlyGroupRequest)
func (*AddDBInstanceToReadOnlyGroupRequest) FromJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDBInstanceToReadOnlyGroupRequest) ToJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupRequest) ToJsonString() string
type AddDBInstanceToReadOnlyGroupResponse ¶
type AddDBInstanceToReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // Task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAddDBInstanceToReadOnlyGroupResponse ¶
func NewAddDBInstanceToReadOnlyGroupResponse() (response *AddDBInstanceToReadOnlyGroupResponse)
func (*AddDBInstanceToReadOnlyGroupResponse) FromJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDBInstanceToReadOnlyGroupResponse) ToJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupResponse) ToJsonString() string
type AnalysisItems ¶
type AnalysisItems struct { // The name of the database queried by the slow query statement DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // The name of the user who executes the slow query statement UserName *string `json:"UserName,omitempty" name:"UserName"` // The slow query statement whose parameter values are abstracted NormalQuery *string `json:"NormalQuery,omitempty" name:"NormalQuery"` // The address of the client that executes the slow query statement ClientAddr *string `json:"ClientAddr,omitempty" name:"ClientAddr"` // The number of executions of the slow query statement during the specified period of time CallNum *uint64 `json:"CallNum,omitempty" name:"CallNum"` // The ratio (in decimal form) of the number of executions of the slow query statement to that of all slow query statements during the specified period of time CallPercent *float64 `json:"CallPercent,omitempty" name:"CallPercent"` // The total execution time of the slow query statement during the specified period of time CostTime *float64 `json:"CostTime,omitempty" name:"CostTime"` // The ratio (in decimal form) of the total execution time of the slow query statement to that of all slow query statements during the specified period of time CostPercent *float64 `json:"CostPercent,omitempty" name:"CostPercent"` // The shortest execution time (in ms) of the slow query statement during the specified period of time MinCostTime *float64 `json:"MinCostTime,omitempty" name:"MinCostTime"` // The longest execution time (in ms) of the slow query statement during the specified period of time MaxCostTime *float64 `json:"MaxCostTime,omitempty" name:"MaxCostTime"` // The average execution time (in ms) of the slow query statement during the specified period of time AvgCostTime *float64 `json:"AvgCostTime,omitempty" name:"AvgCostTime"` // The timestamp when the slow query statement starts to execute for the first time during the specified period of time FirstTime *string `json:"FirstTime,omitempty" name:"FirstTime"` // The timestamp when the slow query statement starts to execute for the last time during the specified period of time LastTime *string `json:"LastTime,omitempty" name:"LastTime"` }
type BackupPlan ¶
type BackupPlan struct { // Backup cycle BackupPeriod *string `json:"BackupPeriod,omitempty" name:"BackupPeriod"` // Retention period of basic backups BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitempty" name:"BaseBackupRetentionPeriod"` // The earliest time to start a backup MinBackupStartTime *string `json:"MinBackupStartTime,omitempty" name:"MinBackupStartTime"` // The latest time to start a backup MaxBackupStartTime *string `json:"MaxBackupStartTime,omitempty" name:"MaxBackupStartTime"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddDBInstanceToReadOnlyGroup ¶
func (c *Client) AddDBInstanceToReadOnlyGroup(request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
AddDBInstanceToReadOnlyGroup This API is used to add a read-only replica to an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) AddDBInstanceToReadOnlyGroupWithContext ¶
func (c *Client) AddDBInstanceToReadOnlyGroupWithContext(ctx context.Context, request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
AddDBInstanceToReadOnlyGroup This API is used to add a read-only replica to an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloneDBInstance ¶
func (c *Client) CloneDBInstance(request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
CloneDBInstance This API is used to clone an instance by specifying a backup set or a point in time.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) CloneDBInstanceWithContext ¶
func (c *Client) CloneDBInstanceWithContext(ctx context.Context, request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
CloneDBInstance This API is used to clone an instance by specifying a backup set or a point in time.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) CloseDBExtranetAccess ¶
func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
CloseDBExtranetAccess This API is used to disable the public network link to an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloseDBExtranetAccessWithContext ¶
func (c *Client) CloseDBExtranetAccessWithContext(ctx context.Context, request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
CloseDBExtranetAccess This API is used to disable the public network link to an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloseServerlessDBExtranetAccess ¶
func (c *Client) CloseServerlessDBExtranetAccess(request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
CloseServerlessDBExtranetAccess This API is used to disable public network access for a PostgreSQL for Serverless instance.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) CloseServerlessDBExtranetAccessWithContext ¶
func (c *Client) CloseServerlessDBExtranetAccessWithContext(ctx context.Context, request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
CloseServerlessDBExtranetAccess This API is used to disable public network access for a PostgreSQL for Serverless instance.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) CreateDBInstances ¶
func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances This API is used to create (but not initialize) one or more TencentDB for PostgreSQL instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateDBInstancesWithContext ¶
func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances This API is used to create (but not initialize) one or more TencentDB for PostgreSQL instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateInstances ¶
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances This API is used to create and initialize one or more TencentDB for PostgreSQL instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateInstancesWithContext ¶
func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances This API is used to create and initialize one or more TencentDB for PostgreSQL instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyDBInstance ¶
func (c *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
CreateReadOnlyDBInstance This API is used to create read-only replicas.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyDBInstanceWithContext ¶
func (c *Client) CreateReadOnlyDBInstanceWithContext(ctx context.Context, request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
CreateReadOnlyDBInstance This API is used to create read-only replicas.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyGroup ¶
func (c *Client) CreateReadOnlyGroup(request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
CreateReadOnlyGroup This API is used to create an RO group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" STRUCTPARSEFAILED = "StructParseFailed" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyGroupWithContext ¶
func (c *Client) CreateReadOnlyGroupWithContext(ctx context.Context, request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
CreateReadOnlyGroup This API is used to create an RO group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" STRUCTPARSEFAILED = "StructParseFailed" UNKNOWNERROR = "UnknownError"
func (*Client) CreateServerlessDBInstance ¶
func (c *Client) CreateServerlessDBInstance(request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
CreateServerlessDBInstance This API is used to create a PostgreSQL for Serverless instance. If the creation succeeds, the instance ID will be returned.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FLOWERROR = "FlowError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
func (*Client) CreateServerlessDBInstanceWithContext ¶
func (c *Client) CreateServerlessDBInstanceWithContext(ctx context.Context, request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
CreateServerlessDBInstance This API is used to create a PostgreSQL for Serverless instance. If the creation succeeds, the instance ID will be returned.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FLOWERROR = "FlowError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
func (*Client) DeleteReadOnlyGroup ¶
func (c *Client) DeleteReadOnlyGroup(request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
DeleteReadOnlyGroup This API is used to delete an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" SYSTEMERROR = "SystemError"
func (*Client) DeleteReadOnlyGroupWithContext ¶
func (c *Client) DeleteReadOnlyGroupWithContext(ctx context.Context, request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
DeleteReadOnlyGroup This API is used to delete an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" SYSTEMERROR = "SystemError"
func (*Client) DeleteServerlessDBInstance ¶
func (c *Client) DeleteServerlessDBInstance(request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
DeleteServerlessDBInstance This API is used to delete a PostgreSQL for Serverless instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DeleteServerlessDBInstanceWithContext ¶
func (c *Client) DeleteServerlessDBInstanceWithContext(ctx context.Context, request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
DeleteServerlessDBInstance This API is used to delete a PostgreSQL for Serverless instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to get the instance user list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAccountsWithContext ¶
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to get the instance user list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAvailableRecoveryTime ¶
func (c *Client) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
DescribeAvailableRecoveryTime This API is used to query the available restoration time of an instance.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAvailableRecoveryTimeWithContext ¶
func (c *Client) DescribeAvailableRecoveryTimeWithContext(ctx context.Context, request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
DescribeAvailableRecoveryTime This API is used to query the available restoration time of an instance.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupPlans ¶
func (c *Client) DescribeBackupPlans(request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
DescribeBackupPlans This API is used to query all backup plans of an instance.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupPlansWithContext ¶
func (c *Client) DescribeBackupPlansWithContext(ctx context.Context, request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
DescribeBackupPlans This API is used to query all backup plans of an instance.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeCloneDBInstanceSpec ¶
func (c *Client) DescribeCloneDBInstanceSpec(request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
DescribeCloneDBInstanceSpec This API is used to query the minimum specification required by a cloned instance, including `SpecCode` and disk specification.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) DescribeCloneDBInstanceSpecWithContext ¶
func (c *Client) DescribeCloneDBInstanceSpecWithContext(ctx context.Context, request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
DescribeCloneDBInstanceSpec This API is used to query the minimum specification required by a cloned instance, including `SpecCode` and disk specification.
error code that may be returned:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) DescribeDBBackups ¶
func (c *Client) DescribeDBBackups(request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
DescribeDBBackups This API is used to query the instance backup list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBBackupsWithContext ¶
func (c *Client) DescribeDBBackupsWithContext(ctx context.Context, request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
DescribeDBBackups This API is used to query the instance backup list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBErrlogs ¶
func (c *Client) DescribeDBErrlogs(request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
DescribeDBErrlogs This API is used to get error logs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBErrlogsWithContext ¶
func (c *Client) DescribeDBErrlogsWithContext(ctx context.Context, request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
DescribeDBErrlogs This API is used to get error logs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceAttribute ¶
func (c *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
DescribeDBInstanceAttribute This API is used to query the details of one instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceAttributeWithContext ¶
func (c *Client) DescribeDBInstanceAttributeWithContext(ctx context.Context, request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
DescribeDBInstanceAttribute This API is used to query the details of one instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceParameters ¶
func (c *Client) DescribeDBInstanceParameters(request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
DescribeDBInstanceParameters This API is used to get the list of modifiable parameters of an instance.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBInstanceParametersWithContext ¶
func (c *Client) DescribeDBInstanceParametersWithContext(ctx context.Context, request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
DescribeDBInstanceParameters This API is used to get the list of modifiable parameters of an instance.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API is used to query the details of one or more instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeDBInstancesWithContext ¶
func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API is used to query the details of one or more instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeDBSlowlogs ¶
func (c *Client) DescribeDBSlowlogs(request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
DescribeDBSlowlogs This API was used to get slow query logs. Since it was deprecated on September 1, 2021, it has no longer returned data. Please use the [DescribeSlowQueryList](https://intl.cloud.tencent.com/document/product/409/60540?from_cn_redirect=1) API instead to get slow query logs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBSlowlogsWithContext ¶
func (c *Client) DescribeDBSlowlogsWithContext(ctx context.Context, request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
DescribeDBSlowlogs This API was used to get slow query logs. Since it was deprecated on September 1, 2021, it has no longer returned data. Please use the [DescribeSlowQueryList](https://intl.cloud.tencent.com/document/product/409/60540?from_cn_redirect=1) API instead to get slow query logs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBXlogs ¶
func (c *Client) DescribeDBXlogs(request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
DescribeDBXlogs This API is used to get the instance Xlog list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBXlogsWithContext ¶
func (c *Client) DescribeDBXlogsWithContext(ctx context.Context, request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
DescribeDBXlogs This API is used to get the instance Xlog list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDatabases ¶
func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases This API is used to pull the list of databases.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeDatabasesWithContext ¶
func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases This API is used to pull the list of databases.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeOrders ¶
func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders This API is used to get order information.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeOrdersWithContext ¶
func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders This API is used to get order information.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeParamsEvent ¶
func (c *Client) DescribeParamsEvent(request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
DescribeParamsEvent This API is used to get the details of parameter modification events.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeParamsEventWithContext ¶
func (c *Client) DescribeParamsEventWithContext(ctx context.Context, request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
DescribeParamsEvent This API is used to get the details of parameter modification events.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeProductConfig ¶
func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig This API is used to query the purchasable specification configuration.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeProductConfigWithContext ¶
func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig This API is used to query the purchasable specification configuration.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeReadOnlyGroups ¶
func (c *Client) DescribeReadOnlyGroups(request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
DescribeReadOnlyGroups This API is used to query RO group information by specifying the primary instance IDs.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeReadOnlyGroupsWithContext ¶
func (c *Client) DescribeReadOnlyGroupsWithContext(ctx context.Context, request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
DescribeReadOnlyGroups This API is used to query RO group information by specifying the primary instance IDs.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query the purchasable regions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeRegionsWithContext ¶
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query the purchasable regions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeServerlessDBInstances ¶
func (c *Client) DescribeServerlessDBInstances(request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
DescribeServerlessDBInstances This API is used to query the details of one or more PostgreSQL for Serverless instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeServerlessDBInstancesWithContext ¶
func (c *Client) DescribeServerlessDBInstancesWithContext(ctx context.Context, request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
DescribeServerlessDBInstances This API is used to query the details of one or more PostgreSQL for Serverless instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeSlowQueryAnalysis ¶
func (c *Client) DescribeSlowQueryAnalysis(request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
DescribeSlowQueryAnalysis This API is used to count and analyze slow query statements during the specified period of time and return aggregated statistical analysis results which are classified by statement with abstract parameter values.
error code that may be returned:
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryAnalysisWithContext ¶
func (c *Client) DescribeSlowQueryAnalysisWithContext(ctx context.Context, request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
DescribeSlowQueryAnalysis This API is used to count and analyze slow query statements during the specified period of time and return aggregated statistical analysis results which are classified by statement with abstract parameter values.
error code that may be returned:
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryList ¶
func (c *Client) DescribeSlowQueryList(request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
DescribeSlowQueryList This API is used to get the slow queries during the specified period of time.
error code that may be returned:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryListWithContext ¶
func (c *Client) DescribeSlowQueryListWithContext(ctx context.Context, request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
DescribeSlowQueryList This API is used to get the slow queries during the specified period of time.
error code that may be returned:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the supported AZs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the supported AZs.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DestroyDBInstance ¶
func (c *Client) DestroyDBInstance(request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
DestroyDBInstance This API is used to eliminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an eliminated instance will be deleted and cannot be recovered.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DestroyDBInstanceWithContext ¶
func (c *Client) DestroyDBInstanceWithContext(ctx context.Context, request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
DestroyDBInstance This API is used to eliminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an eliminated instance will be deleted and cannot be recovered.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DisIsolateDBInstances ¶
func (c *Client) DisIsolateDBInstances(request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
DisIsolateDBInstances This API is used to remove one or more instances from isolation.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDORDERNUM = "InvalidOrderNum" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDTRADEOPERATE = "InvalidTradeOperate" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DisIsolateDBInstancesWithContext ¶
func (c *Client) DisIsolateDBInstancesWithContext(ctx context.Context, request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
DisIsolateDBInstances This API is used to remove one or more instances from isolation.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDORDERNUM = "InvalidOrderNum" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDTRADEOPERATE = "InvalidTradeOperate" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) InitDBInstances ¶
func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances This API is used to initialize a TencentDB for PostgreSQL instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InitDBInstancesWithContext ¶
func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances This API is used to initialize a TencentDB for PostgreSQL instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InquiryPriceCreateDBInstances ¶
func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances This API is used to query the purchase price of one or multiple instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
func (*Client) InquiryPriceCreateDBInstancesWithContext ¶
func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances This API is used to query the purchase price of one or multiple instances.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
func (*Client) InquiryPriceRenewDBInstance ¶
func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
InquiryPriceRenewDBInstance This API is used to query the renewal price of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) InquiryPriceRenewDBInstanceWithContext ¶
func (c *Client) InquiryPriceRenewDBInstanceWithContext(ctx context.Context, request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
InquiryPriceRenewDBInstance This API is used to query the renewal price of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) InquiryPriceUpgradeDBInstance ¶
func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
InquiryPriceUpgradeDBInstance This API is used to query the upgrade price of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InquiryPriceUpgradeDBInstanceWithContext ¶
func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
InquiryPriceUpgradeDBInstance This API is used to query the upgrade price of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) IsolateDBInstances ¶
func (c *Client) IsolateDBInstances(request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
IsolateDBInstances This API is used to isolate one or more instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDVOUCHERID = "InvalidVoucherId" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) IsolateDBInstancesWithContext ¶
func (c *Client) IsolateDBInstancesWithContext(ctx context.Context, request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
IsolateDBInstances This API is used to isolate one or more instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDVOUCHERID = "InvalidVoucherId" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountRemark ¶
func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
ModifyAccountRemark This API is used to modify account remarks.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountRemarkWithContext ¶
func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
ModifyAccountRemark This API is used to modify account remarks.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBackupPlan ¶
func (c *Client) ModifyBackupPlan(request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
ModifyBackupPlan This API is used to modify the backup plan of an instance, such as modifying the backup start time. By default, a full backup starts at midnight every day and the generated backup files will be retained for seven days.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBackupPlanWithContext ¶
func (c *Client) ModifyBackupPlanWithContext(ctx context.Context, request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
ModifyBackupPlan This API is used to modify the backup plan of an instance, such as modifying the backup start time. By default, a full backup starts at midnight every day and the generated backup files will be retained for seven days.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceDeployment ¶
func (c *Client) ModifyDBInstanceDeployment(request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
ModifyDBInstanceDeployment This API is used to modify the AZs where the nodes of a source instance reside.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstanceDeploymentWithContext ¶
func (c *Client) ModifyDBInstanceDeploymentWithContext(ctx context.Context, request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
ModifyDBInstanceDeployment This API is used to modify the AZs where the nodes of a source instance reside.
error code that may be returned:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstanceName ¶
func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API is used to rename a TencentDB for PostgreSQL instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceNameWithContext ¶
func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API is used to rename a TencentDB for PostgreSQL instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceParameters ¶
func (c *Client) ModifyDBInstanceParameters(request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
ModifyDBInstanceParameters This API is used to modify parameters in batches.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceParametersWithContext ¶
func (c *Client) ModifyDBInstanceParametersWithContext(ctx context.Context, request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
ModifyDBInstanceParameters This API is used to modify parameters in batches.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceReadOnlyGroup ¶
func (c *Client) ModifyDBInstanceReadOnlyGroup(request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
ModifyDBInstanceReadOnlyGroup This API is used to modify the RO group of an instance.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyDBInstanceReadOnlyGroupWithContext ¶
func (c *Client) ModifyDBInstanceReadOnlyGroupWithContext(ctx context.Context, request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
ModifyDBInstanceReadOnlyGroup This API is used to modify the RO group of an instance.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyDBInstanceSpec ¶
func (c *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
ModifyDBInstanceSpec This API is used to modify instance specifications including memory and disk size.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstanceSpecWithContext ¶
func (c *Client) ModifyDBInstanceSpecWithContext(ctx context.Context, request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
ModifyDBInstanceSpec This API is used to modify instance specifications including memory and disk size.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstancesProject ¶
func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
ModifyDBInstancesProject This API is used to transfer an instance to another project.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstancesProjectWithContext ¶
func (c *Client) ModifyDBInstancesProjectWithContext(ctx context.Context, request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
ModifyDBInstancesProject This API is used to transfer an instance to another project.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyReadOnlyGroupConfig ¶
func (c *Client) ModifyReadOnlyGroupConfig(request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
ModifyReadOnlyGroupConfig This API is used to modify RO group configuration.
error code that may be returned:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyReadOnlyGroupConfigWithContext ¶
func (c *Client) ModifyReadOnlyGroupConfigWithContext(ctx context.Context, request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
ModifyReadOnlyGroupConfig This API is used to modify RO group configuration.
error code that may be returned:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifySwitchTimePeriod ¶
func (c *Client) ModifySwitchTimePeriod(request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
ModifySwitchTimePeriod This API is used to perform a primary-standby switch for an instance waiting for the switch after it is upgraded.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) ModifySwitchTimePeriodWithContext ¶
func (c *Client) ModifySwitchTimePeriodWithContext(ctx context.Context, request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
ModifySwitchTimePeriod This API is used to perform a primary-standby switch for an instance waiting for the switch after it is upgraded.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) OpenDBExtranetAccess ¶
func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
OpenDBExtranetAccess This API is used to enable public network access.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) OpenDBExtranetAccessWithContext ¶
func (c *Client) OpenDBExtranetAccessWithContext(ctx context.Context, request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
OpenDBExtranetAccess This API is used to enable public network access.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) OpenServerlessDBExtranetAccess ¶
func (c *Client) OpenServerlessDBExtranetAccess(request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
OpenServerlessDBExtranetAccess This API is used to enable public network access for a PostgreSQL for Serverless instance.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) OpenServerlessDBExtranetAccessWithContext ¶
func (c *Client) OpenServerlessDBExtranetAccessWithContext(ctx context.Context, request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
OpenServerlessDBExtranetAccess This API is used to enable public network access for a PostgreSQL for Serverless instance.
error code that may be returned:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) RebalanceReadOnlyGroup ¶
func (c *Client) RebalanceReadOnlyGroup(request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
RebalanceReadOnlyGroup This API is used to rebalance the loads of read-only replicas in an RO group. Please note that connections to those read-only replicas will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.
error code that may be returned:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" VPCERROR = "VpcError"
func (*Client) RebalanceReadOnlyGroupWithContext ¶
func (c *Client) RebalanceReadOnlyGroupWithContext(ctx context.Context, request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
RebalanceReadOnlyGroup This API is used to rebalance the loads of read-only replicas in an RO group. Please note that connections to those read-only replicas will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.
error code that may be returned:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" VPCERROR = "VpcError"
func (*Client) RemoveDBInstanceFromReadOnlyGroup ¶
func (c *Client) RemoveDBInstanceFromReadOnlyGroup(request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
RemoveDBInstanceFromReadOnlyGroup This API is used to remove a read-only replica from an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RemoveDBInstanceFromReadOnlyGroupWithContext ¶
func (c *Client) RemoveDBInstanceFromReadOnlyGroupWithContext(ctx context.Context, request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
RemoveDBInstanceFromReadOnlyGroup This API is used to remove a read-only replica from an RO group.
error code that may be returned:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RenewInstance ¶
func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance This API is used to renew an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
func (*Client) RenewInstanceWithContext ¶
func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance This API is used to renew an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
func (*Client) ResetAccountPassword ¶
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the account password of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ResetAccountPasswordWithContext ¶
func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the account password of an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) RestartDBInstance ¶
func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance This API is used to restart an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RestartDBInstanceWithContext ¶
func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance This API is used to restart an instance.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) SetAutoRenewFlag ¶
func (c *Client) SetAutoRenewFlag(request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
SetAutoRenewFlag This API is used to set auto-renewal.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) SetAutoRenewFlagWithContext ¶
func (c *Client) SetAutoRenewFlagWithContext(ctx context.Context, request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
SetAutoRenewFlag This API is used to set auto-renewal.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) UpgradeDBInstance ¶
func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade instance configurations.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) UpgradeDBInstanceWithContext ¶
func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade instance configurations.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
type CloneDBInstanceRequest ¶
type CloneDBInstanceRequest struct { *tchttp.BaseRequest // ID of the original instance to be cloned. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API. SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // Instance storage capacity in GB. Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used. Period *int64 `json:"Period,omitempty" name:"Period"` // Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // VPC ID. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ID of a subnet in the VPC specified by `VpcId`. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Name of the purchased instance. Name *string `json:"Name,omitempty" name:"Name"` // Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go). InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Security group ID. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // The information of tags to be bound with the purchased instance. This parameter is left empty by default. TagList []*Tag `json:"TagList,omitempty" name:"TagList"` // This parameter is required if you purchase a multi-AZ deployed instance. DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"` // Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`. AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list. VoucherIds *string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Campaign ID. ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"` // Basic backup set ID. BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"` // Restoration point in time. RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"` }
func NewCloneDBInstanceRequest ¶
func NewCloneDBInstanceRequest() (request *CloneDBInstanceRequest)
func (*CloneDBInstanceRequest) FromJsonString ¶
func (r *CloneDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBInstanceRequest) ToJsonString ¶
func (r *CloneDBInstanceRequest) ToJsonString() string
type CloneDBInstanceResponse ¶
type CloneDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Order ID. // Note: this field may return `null`, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitempty" name:"DealName"` // Bill ID. // Note: this field may return `null`, indicating that no valid values can be obtained. BillId *string `json:"BillId,omitempty" name:"BillId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCloneDBInstanceResponse ¶
func NewCloneDBInstanceResponse() (response *CloneDBInstanceResponse)
func (*CloneDBInstanceResponse) FromJsonString ¶
func (r *CloneDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBInstanceResponse) ToJsonString ¶
func (r *CloneDBInstanceResponse) ToJsonString() string
type CloseDBExtranetAccessRequest ¶
type CloseDBExtranetAccessRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Whether to disable public network access over IPv6 address. Valid values: 1 (yes), 0 (no) IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"` }
func NewCloseDBExtranetAccessRequest ¶
func NewCloseDBExtranetAccessRequest() (request *CloseDBExtranetAccessRequest)
func (*CloseDBExtranetAccessRequest) FromJsonString ¶
func (r *CloseDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseDBExtranetAccessRequest) ToJsonString ¶
func (r *CloseDBExtranetAccessRequest) ToJsonString() string
type CloseDBExtranetAccessResponse ¶
type CloseDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // Async task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCloseDBExtranetAccessResponse ¶
func NewCloseDBExtranetAccessResponse() (response *CloseDBExtranetAccessResponse)
func (*CloseDBExtranetAccessResponse) FromJsonString ¶
func (r *CloseDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseDBExtranetAccessResponse) ToJsonString ¶
func (r *CloseDBExtranetAccessResponse) ToJsonString() string
type CloseServerlessDBExtranetAccessRequest ¶
type CloseServerlessDBExtranetAccessRequest struct { *tchttp.BaseRequest // Unique ID of an instance DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance name DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` }
func NewCloseServerlessDBExtranetAccessRequest ¶
func NewCloseServerlessDBExtranetAccessRequest() (request *CloseServerlessDBExtranetAccessRequest)
func (*CloseServerlessDBExtranetAccessRequest) FromJsonString ¶
func (r *CloseServerlessDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseServerlessDBExtranetAccessRequest) ToJsonString ¶
func (r *CloseServerlessDBExtranetAccessRequest) ToJsonString() string
type CloseServerlessDBExtranetAccessResponse ¶
type CloseServerlessDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCloseServerlessDBExtranetAccessResponse ¶
func NewCloseServerlessDBExtranetAccessResponse() (response *CloseServerlessDBExtranetAccessResponse)
func (*CloseServerlessDBExtranetAccessResponse) FromJsonString ¶
func (r *CloseServerlessDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseServerlessDBExtranetAccessResponse) ToJsonString ¶
func (r *CloseServerlessDBExtranetAccessResponse) ToJsonString() string
type CreateDBInstancesRequest ¶
type CreateDBInstancesRequest struct { *tchttp.BaseRequest // Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API. SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // Instance capacity size in GB. Storage *uint64 `json:"Storage,omitempty" name:"Storage"` // Number of instances purchased at a time. Value range: 1-100. InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported. Period *uint64 `json:"Period,omitempty" name:"Period"` // AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // PostgreSQL version number. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Instance billing type. InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Whether to automatically use vouchers. 1: yes, 0: no. Default value: no. AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list (only one voucher can be specified currently). VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // VPC ID. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Renewal flag. 0: normal renewal (default), 1: auto-renewal. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Activity ID ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"` // Instance name (which will be supported in the future) Name *string `json:"Name,omitempty" name:"Name"` // Whether to support IPv6 address access. Valid values: 1 (yes), 0 (no) NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"` // The information of tags to be associated with instances. This parameter is left empty by default. TagList []*Tag `json:"TagList,omitempty" name:"TagList"` // Security group ID SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // PostgreSQL major version number. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"` // PostgreSQL kernel version number. If it is specified, an instance running kernel `DBKernelVersion` will be created. DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"` }
func NewCreateDBInstancesRequest ¶
func NewCreateDBInstancesRequest() (request *CreateDBInstancesRequest)
func (*CreateDBInstancesRequest) FromJsonString ¶
func (r *CreateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstancesRequest) ToJsonString ¶
func (r *CreateDBInstancesRequest) ToJsonString() string
type CreateDBInstancesResponse ¶
type CreateDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Order number list. Each instance corresponds to an order number. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // Bill ID of frozen fees BillId *string `json:"BillId,omitempty" name:"BillId"` // ID set of instances which have been created successfully. The parameter value will be returned only when the billing mode is postpaid. DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDBInstancesResponse ¶
func NewCreateDBInstancesResponse() (response *CreateDBInstancesResponse)
func (*CreateDBInstancesResponse) FromJsonString ¶
func (r *CreateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstancesResponse) ToJsonString ¶
func (r *CreateDBInstancesResponse) ToJsonString() string
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { *tchttp.BaseRequest // Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API. SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // Instance storage capacity in GB Storage *uint64 `json:"Storage,omitempty" name:"Storage"` // The number of instances purchased at a time. Value range: 1-10. InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used. Period *uint64 `json:"Period,omitempty" name:"Period"` // Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance character set. Valid values: `UTF8`, `LATIN1`. Charset *string `json:"Charset,omitempty" name:"Charset"` // Instance root account name AdminName *string `json:"AdminName,omitempty" name:"AdminName"` // Instance root account password AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // PostgreSQL version number. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go). InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`. AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list. Currently, you can specify only one voucher. VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ID of a subnet in the VPC specified by `VpcId` SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Campaign ID ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"` // Instance name Name *string `json:"Name,omitempty" name:"Name"` // Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no). Default value: `0` NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"` // The information of tags to be associated with instances. This parameter is left empty by default. TagList []*Tag `json:"TagList,omitempty" name:"TagList"` // Security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // PostgreSQL major version number. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"` // PostgreSQL kernel version number. If it is specified, an instance running kernel `DBKernelVersion` will be created. DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"` // Instance node information, which is required if you purchase a multi-AZ deployed instance. DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"` }
func NewCreateInstancesRequest ¶
func NewCreateInstancesRequest() (request *CreateInstancesRequest)
func (*CreateInstancesRequest) FromJsonString ¶
func (r *CreateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesRequest) ToJsonString ¶
func (r *CreateInstancesRequest) ToJsonString() string
type CreateInstancesResponse ¶
type CreateInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Order number list. Each instance corresponds to an order number. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // Bill ID of frozen fees BillId *string `json:"BillId,omitempty" name:"BillId"` // ID set of instances which have been created successfully. The parameter value will be returned only when the pay-as-you-go billing mode is used. DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateInstancesResponse ¶
func NewCreateInstancesResponse() (response *CreateInstancesResponse)
func (*CreateInstancesResponse) FromJsonString ¶
func (r *CreateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesResponse) ToJsonString ¶
func (r *CreateInstancesResponse) ToJsonString() string
type CreateReadOnlyDBInstanceRequest ¶
type CreateReadOnlyDBInstanceRequest struct { *tchttp.BaseRequest // Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API. SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // PostgreSQL kernel version, which must be the same as that of the primary instance DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Instance storage capacity in GB Storage *uint64 `json:"Storage,omitempty" name:"Storage"` // Number of instances purchased at a time. Value range: 1–100. InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used. Period *uint64 `json:"Period,omitempty" name:"Period"` // ID of the primary instance to which the read-only replica belongs MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"` // Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Project ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go). InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`. AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list. Currently, you can specify only one voucher. VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Special offer ID ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"` // Instance name (which will be supported in the future) Name *string `json:"Name,omitempty" name:"Name"` // Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no). NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"` // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` // The information of tags to be associated with instances. This parameter is left empty by default. TagList *Tag `json:"TagList,omitempty" name:"TagList"` // Security group ID SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` }
func NewCreateReadOnlyDBInstanceRequest ¶
func NewCreateReadOnlyDBInstanceRequest() (request *CreateReadOnlyDBInstanceRequest)
func (*CreateReadOnlyDBInstanceRequest) FromJsonString ¶
func (r *CreateReadOnlyDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyDBInstanceRequest) ToJsonString ¶
func (r *CreateReadOnlyDBInstanceRequest) ToJsonString() string
type CreateReadOnlyDBInstanceResponse ¶
type CreateReadOnlyDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Order number list. Each instance corresponds to an order number. DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // Bill ID of frozen fees BillId *string `json:"BillId,omitempty" name:"BillId"` // ID set of instances which have been created successfully. The parameter value will be returned only when the pay-as-you-go billing mode is used. DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateReadOnlyDBInstanceResponse ¶
func NewCreateReadOnlyDBInstanceResponse() (response *CreateReadOnlyDBInstanceResponse)
func (*CreateReadOnlyDBInstanceResponse) FromJsonString ¶
func (r *CreateReadOnlyDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyDBInstanceResponse) ToJsonString ¶
func (r *CreateReadOnlyDBInstanceResponse) ToJsonString() string
type CreateReadOnlyGroupRequest ¶
type CreateReadOnlyGroupRequest struct { *tchttp.BaseRequest // Primary instance ID MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"` // RO group name Name *string `json:"Name,omitempty" name:"Name"` // Project ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"` // Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"` // Delay threshold in ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"` // Delayed log size threshold in MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"` // The minimum number of read-only replicas that must be retained in an RO group MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"` // Security group ID SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` }
func NewCreateReadOnlyGroupRequest ¶
func NewCreateReadOnlyGroupRequest() (request *CreateReadOnlyGroupRequest)
func (*CreateReadOnlyGroupRequest) FromJsonString ¶
func (r *CreateReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupRequest) ToJsonString ¶
func (r *CreateReadOnlyGroupRequest) ToJsonString() string
type CreateReadOnlyGroupResponse ¶
type CreateReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` // Task ID // Note: this field may return `null`, indicating that no valid values can be obtained. FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateReadOnlyGroupResponse ¶
func NewCreateReadOnlyGroupResponse() (response *CreateReadOnlyGroupResponse)
func (*CreateReadOnlyGroupResponse) FromJsonString ¶
func (r *CreateReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupResponse) ToJsonString ¶
func (r *CreateReadOnlyGroupResponse) ToJsonString() string
type CreateServerlessDBInstanceRequest ¶
type CreateServerlessDBInstanceRequest struct { *tchttp.BaseRequest // Availability zone ID. Only ap-shanghai-2, ap-beijing-1, and ap-guangzhou-2 are supported during the beta test. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance name. The value must be unique for the same account. DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` // Kernel version of a PostgreSQL instance. Currently, only 10.4 is supported. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Database character set of a PostgreSQL instance. Currently, only UTF-8 is supported. DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // VPC ID. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Array of tags to be bound with the instance TagList []*Tag `json:"TagList,omitempty" name:"TagList"` }
func NewCreateServerlessDBInstanceRequest ¶
func NewCreateServerlessDBInstanceRequest() (request *CreateServerlessDBInstanceRequest)
func (*CreateServerlessDBInstanceRequest) FromJsonString ¶
func (r *CreateServerlessDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerlessDBInstanceRequest) ToJsonString ¶
func (r *CreateServerlessDBInstanceRequest) ToJsonString() string
type CreateServerlessDBInstanceResponse ¶
type CreateServerlessDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Instance ID, such as "postgres-xxxxx". The value must be globally unique. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateServerlessDBInstanceResponse ¶
func NewCreateServerlessDBInstanceResponse() (response *CreateServerlessDBInstanceResponse)
func (*CreateServerlessDBInstanceResponse) FromJsonString ¶
func (r *CreateServerlessDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerlessDBInstanceResponse) ToJsonString ¶
func (r *CreateServerlessDBInstanceResponse) ToJsonString() string
type DBBackup ¶
type DBBackup struct { // Unique backup file ID Id *int64 `json:"Id,omitempty" name:"Id"` // File generation start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // File generation end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // File size in KB Size *int64 `json:"Size,omitempty" name:"Size"` // Policy (0: instance backup, 1: multi-database backup) Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // Type (0: scheduled) Way *int64 `json:"Way,omitempty" name:"Way"` // Backup mode (1: full) Type *int64 `json:"Type,omitempty" name:"Type"` // Status (1: creating, 2: success, 3: failure) Status *int64 `json:"Status,omitempty" name:"Status"` // DB list DbList []*string `json:"DbList,omitempty" name:"DbList"` // Download address on private network InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"` // Download address on public network ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"` // Backup set ID // Note: this field may return `null`, indicating that no valid values can be obtained. SetId *string `json:"SetId,omitempty" name:"SetId"` }
type DBInstance ¶
type DBInstance struct { // Instance region such as ap-guangzhou, which corresponds to the `Region` field of `RegionSet` Region *string `json:"Region,omitempty" name:"Region"` // Instance AZ such as ap-guangzhou-3, which corresponds to the `Zone` field of `ZoneSet` Zone *string `json:"Zone,omitempty" name:"Zone"` // Project ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // SubnetId SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance name DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` // Instance status. Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`, `network changing` DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" name:"DBInstanceStatus"` // Assigned instance memory size in GB DBInstanceMemory *uint64 `json:"DBInstanceMemory,omitempty" name:"DBInstanceMemory"` // Assigned instance storage capacity in GB DBInstanceStorage *uint64 `json:"DBInstanceStorage,omitempty" name:"DBInstanceStorage"` // Number of assigned CPUs DBInstanceCpu *uint64 `json:"DBInstanceCpu,omitempty" name:"DBInstanceCpu"` // Purchasable specification ID DBInstanceClass *string `json:"DBInstanceClass,omitempty" name:"DBInstanceClass"` // Instance type. 1: primary (master instance), 2: readonly (read-only instance), 3: guard (disaster recovery instance), 4: temp (temp instance) DBInstanceType *string `json:"DBInstanceType,omitempty" name:"DBInstanceType"` // Instance edition. Currently, only `standard` edition (dual-server high-availability one-master-one-slave edition) is supported DBInstanceVersion *string `json:"DBInstanceVersion,omitempty" name:"DBInstanceVersion"` // Instance database character set DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"` // PostgreSQL version number DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Instance creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Instance last modified time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Instance expiration time ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Instance isolation time IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"` // Billing mode. postpaid: pay-as-you-go PayType *string `json:"PayType,omitempty" name:"PayType"` // Whether to renew automatically. 1: yes, 0: no AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"` // Instance network connection information DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"` // Machine type Type *string `json:"Type,omitempty" name:"Type"` // User `AppId` AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Instance `Uid` Uid *uint64 `json:"Uid,omitempty" name:"Uid"` // Whether the instance supports IPv6 address access. Valid values: 1 (yes), 0 (no) SupportIpv6 *uint64 `json:"SupportIpv6,omitempty" name:"SupportIpv6"` // The information of tags associated with instances. // Note: this field may return null, indicating that no valid values can be obtained. TagList []*Tag `json:"TagList,omitempty" name:"TagList"` // Primary instance information, which is returned only when the instance is read-only // Note: this field may return null, indicating that no valid values can be obtained. MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"` // Number of read-only instances // Note: this field may return null, indicating that no valid values can be obtained. ReadOnlyInstanceNum *int64 `json:"ReadOnlyInstanceNum,omitempty" name:"ReadOnlyInstanceNum"` // The status of a instance in a read-only group // Note: this field may return null, indicating that no valid values can be obtained. StatusInReadonlyGroup *string `json:"StatusInReadonlyGroup,omitempty" name:"StatusInReadonlyGroup"` // Elimination time // Note: this field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitempty" name:"OfflineTime"` // Database kernel version // Note: this field may return `null`, indicating that no valid values can be obtained. DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"` // Network access list of the instance (this field has been deprecated) // Note: this field may return `null`, indicating that no valid values can be obtained. NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"` // PostgreSQL major version number // Note: this field may return `null`, indicating that no valid values can be obtained. DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"` // Instance node information // Note: this field may return `null`, indicating that no valid values can be obtained. DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"` }
type DBInstanceNetInfo ¶
type DBInstanceNetInfo struct { // DNS domain name Address *string `json:"Address,omitempty" name:"Address"` // Ip Ip *string `json:"Ip,omitempty" name:"Ip"` // Connection port address Port *uint64 `json:"Port,omitempty" name:"Port"` // Network type. 1: inner (private network address), 2: public (public network address) NetType *string `json:"NetType,omitempty" name:"NetType"` // Network connection status. Valid values: `initing` (never enabled before), `opened` (enabled), `closed` (disabled), `opening` (enabling), `closing` (disabling) Status *string `json:"Status,omitempty" name:"Status"` // VPC ID // Note: this field may return `null`, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: this field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
type DeleteReadOnlyGroupRequest ¶
type DeleteReadOnlyGroupRequest struct { *tchttp.BaseRequest // ID of the RO group to be deleted ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` }
func NewDeleteReadOnlyGroupRequest ¶
func NewDeleteReadOnlyGroupRequest() (request *DeleteReadOnlyGroupRequest)
func (*DeleteReadOnlyGroupRequest) FromJsonString ¶
func (r *DeleteReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupRequest) ToJsonString ¶
func (r *DeleteReadOnlyGroupRequest) ToJsonString() string
type DeleteReadOnlyGroupResponse ¶
type DeleteReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // Task ID // Note: this field may return `null`, indicating that no valid values can be obtained. FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteReadOnlyGroupResponse ¶
func NewDeleteReadOnlyGroupResponse() (response *DeleteReadOnlyGroupResponse)
func (*DeleteReadOnlyGroupResponse) FromJsonString ¶
func (r *DeleteReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupResponse) ToJsonString ¶
func (r *DeleteReadOnlyGroupResponse) ToJsonString() string
type DeleteServerlessDBInstanceRequest ¶
type DeleteServerlessDBInstanceRequest struct { *tchttp.BaseRequest // Instance name. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail. DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` // Instance ID. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDeleteServerlessDBInstanceRequest ¶
func NewDeleteServerlessDBInstanceRequest() (request *DeleteServerlessDBInstanceRequest)
func (*DeleteServerlessDBInstanceRequest) FromJsonString ¶
func (r *DeleteServerlessDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServerlessDBInstanceRequest) ToJsonString ¶
func (r *DeleteServerlessDBInstanceRequest) ToJsonString() string
type DeleteServerlessDBInstanceResponse ¶
type DeleteServerlessDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteServerlessDBInstanceResponse ¶
func NewDeleteServerlessDBInstanceResponse() (response *DeleteServerlessDBInstanceResponse)
func (*DeleteServerlessDBInstanceResponse) FromJsonString ¶
func (r *DeleteServerlessDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServerlessDBInstanceResponse) ToJsonString ¶
func (r *DeleteServerlessDBInstanceResponse) ToJsonString() string
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Number of entries returned per page. Default value: 20. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number for data return in paged query. Pagination starts from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Whether to sort by creation time or username. Valid values: `createTime` (sort by creation time), `name` (sort by username) OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Whether returns are sorted in ascending or descending order. Valid values: `desc` (descending), `asc` (ascending) OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
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 DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *struct { // Number of date entries returned for this API call. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Account list details. Details []*AccountInfo `json:"Details,omitempty" name:"Details"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeAvailableRecoveryTimeRequest ¶
type DescribeAvailableRecoveryTimeRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDescribeAvailableRecoveryTimeRequest ¶
func NewDescribeAvailableRecoveryTimeRequest() (request *DescribeAvailableRecoveryTimeRequest)
func (*DescribeAvailableRecoveryTimeRequest) FromJsonString ¶
func (r *DescribeAvailableRecoveryTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableRecoveryTimeRequest) ToJsonString ¶
func (r *DescribeAvailableRecoveryTimeRequest) ToJsonString() string
type DescribeAvailableRecoveryTimeResponse ¶
type DescribeAvailableRecoveryTimeResponse struct { *tchttp.BaseResponse Response *struct { // The earliest restoration time (UTC+8). RecoveryBeginTime *string `json:"RecoveryBeginTime,omitempty" name:"RecoveryBeginTime"` // The latest restoration time (UTC+8). RecoveryEndTime *string `json:"RecoveryEndTime,omitempty" name:"RecoveryEndTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAvailableRecoveryTimeResponse ¶
func NewDescribeAvailableRecoveryTimeResponse() (response *DescribeAvailableRecoveryTimeResponse)
func (*DescribeAvailableRecoveryTimeResponse) FromJsonString ¶
func (r *DescribeAvailableRecoveryTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableRecoveryTimeResponse) ToJsonString ¶
func (r *DescribeAvailableRecoveryTimeResponse) ToJsonString() string
type DescribeBackupPlansRequest ¶
type DescribeBackupPlansRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDescribeBackupPlansRequest ¶
func NewDescribeBackupPlansRequest() (request *DescribeBackupPlansRequest)
func (*DescribeBackupPlansRequest) FromJsonString ¶
func (r *DescribeBackupPlansRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupPlansRequest) ToJsonString ¶
func (r *DescribeBackupPlansRequest) ToJsonString() string
type DescribeBackupPlansResponse ¶
type DescribeBackupPlansResponse struct { *tchttp.BaseResponse Response *struct { // The set of instance backup plans Plans []*BackupPlan `json:"Plans,omitempty" name:"Plans"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBackupPlansResponse ¶
func NewDescribeBackupPlansResponse() (response *DescribeBackupPlansResponse)
func (*DescribeBackupPlansResponse) FromJsonString ¶
func (r *DescribeBackupPlansResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupPlansResponse) ToJsonString ¶
func (r *DescribeBackupPlansResponse) ToJsonString() string
type DescribeCloneDBInstanceSpecRequest ¶
type DescribeCloneDBInstanceSpecRequest struct { *tchttp.BaseRequest // Instance ID. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Basic backup set ID. Either this parameter or `RecoveryTargetTime` must be passed in. If both are passed in, only this parameter takes effect. BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"` // Restoration time (UTC+8). Either this parameter or `BackupSetId` must be passed in. RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"` }
func NewDescribeCloneDBInstanceSpecRequest ¶
func NewDescribeCloneDBInstanceSpecRequest() (request *DescribeCloneDBInstanceSpecRequest)
func (*DescribeCloneDBInstanceSpecRequest) FromJsonString ¶
func (r *DescribeCloneDBInstanceSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloneDBInstanceSpecRequest) ToJsonString ¶
func (r *DescribeCloneDBInstanceSpecRequest) ToJsonString() string
type DescribeCloneDBInstanceSpecResponse ¶
type DescribeCloneDBInstanceSpecResponse struct { *tchttp.BaseResponse Response *struct { // Code of the minimum specification available for purchase. MinSpecCode *string `json:"MinSpecCode,omitempty" name:"MinSpecCode"` // The minimum disk capacity in GB available for purchase. MinStorage *int64 `json:"MinStorage,omitempty" name:"MinStorage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCloneDBInstanceSpecResponse ¶
func NewDescribeCloneDBInstanceSpecResponse() (response *DescribeCloneDBInstanceSpecResponse)
func (*DescribeCloneDBInstanceSpecResponse) FromJsonString ¶
func (r *DescribeCloneDBInstanceSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloneDBInstanceSpecResponse) ToJsonString ¶
func (r *DescribeCloneDBInstanceSpecResponse) ToJsonString() string
type DescribeDBBackupsRequest ¶
type DescribeDBBackupsRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-4wdeb0zv. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Backup mode (1: full). Currently, only full backup is supported. The value is 1. Type *int64 `json:"Type,omitempty" name:"Type"` // Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time in the format of 2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of entries to be returned per page for backup list. Default value: 20. Minimum value: 1. Maximum value: 100. (If this parameter is left empty or 0, the default value will be used) Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number for data return in paged query. Pagination starts from 0. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDBBackupsRequest ¶
func NewDescribeDBBackupsRequest() (request *DescribeDBBackupsRequest)
func (*DescribeDBBackupsRequest) FromJsonString ¶
func (r *DescribeDBBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBBackupsRequest) ToJsonString ¶
func (r *DescribeDBBackupsRequest) ToJsonString() string
type DescribeDBBackupsResponse ¶
type DescribeDBBackupsResponse struct { *tchttp.BaseResponse Response *struct { // Number of backup files in the returned backup list TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Backup list BackupList []*DBBackup `json:"BackupList,omitempty" name:"BackupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBBackupsResponse ¶
func NewDescribeDBBackupsResponse() (response *DescribeDBBackupsResponse)
func (*DescribeDBBackupsResponse) FromJsonString ¶
func (r *DescribeDBBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBBackupsResponse) ToJsonString ¶
func (r *DescribeDBBackupsResponse) ToJsonString() string
type DescribeDBErrlogsRequest ¶
type DescribeDBErrlogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-5bq3wfjd DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Query start time in the format of 2018-01-01 00:00:00, which cannot be more than 7 days ago StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time in the format of 2018-01-01 00:00:00 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Database name DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Search keyword SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys"` // Number of entries returned per page. Value range: 1-100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number for data return in paged query. Pagination starts from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDBErrlogsRequest ¶
func NewDescribeDBErrlogsRequest() (request *DescribeDBErrlogsRequest)
func (*DescribeDBErrlogsRequest) FromJsonString ¶
func (r *DescribeDBErrlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBErrlogsRequest) ToJsonString ¶
func (r *DescribeDBErrlogsRequest) ToJsonString() string
type DescribeDBErrlogsResponse ¶
type DescribeDBErrlogsResponse struct { *tchttp.BaseResponse Response *struct { // Number of date entries returned for this call TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Error log list Details []*ErrLogDetail `json:"Details,omitempty" name:"Details"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBErrlogsResponse ¶
func NewDescribeDBErrlogsResponse() (response *DescribeDBErrlogsResponse)
func (*DescribeDBErrlogsResponse) FromJsonString ¶
func (r *DescribeDBErrlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBErrlogsResponse) ToJsonString ¶
func (r *DescribeDBErrlogsResponse) ToJsonString() string
type DescribeDBInstanceAttributeRequest ¶
type DescribeDBInstanceAttributeRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDescribeDBInstanceAttributeRequest ¶
func NewDescribeDBInstanceAttributeRequest() (request *DescribeDBInstanceAttributeRequest)
func (*DescribeDBInstanceAttributeRequest) FromJsonString ¶
func (r *DescribeDBInstanceAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceAttributeRequest) ToJsonString ¶
func (r *DescribeDBInstanceAttributeRequest) ToJsonString() string
type DescribeDBInstanceAttributeResponse ¶
type DescribeDBInstanceAttributeResponse struct { *tchttp.BaseResponse Response *struct { // Instance details. DBInstance *DBInstance `json:"DBInstance,omitempty" name:"DBInstance"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBInstanceAttributeResponse ¶
func NewDescribeDBInstanceAttributeResponse() (response *DescribeDBInstanceAttributeResponse)
func (*DescribeDBInstanceAttributeResponse) FromJsonString ¶
func (r *DescribeDBInstanceAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceAttributeResponse) ToJsonString ¶
func (r *DescribeDBInstanceAttributeResponse) ToJsonString() string
type DescribeDBInstanceParametersRequest ¶
type DescribeDBInstanceParametersRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Name of the parameter to be queried. If `ParamName` is left empty or not passed in, the list of all parameters will be returned. ParamName *string `json:"ParamName,omitempty" name:"ParamName"` }
func NewDescribeDBInstanceParametersRequest ¶
func NewDescribeDBInstanceParametersRequest() (request *DescribeDBInstanceParametersRequest)
func (*DescribeDBInstanceParametersRequest) FromJsonString ¶
func (r *DescribeDBInstanceParametersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceParametersRequest) ToJsonString ¶
func (r *DescribeDBInstanceParametersRequest) ToJsonString() string
type DescribeDBInstanceParametersResponse ¶
type DescribeDBInstanceParametersResponse struct { *tchttp.BaseResponse Response *struct { // Total number of the parameters in the returned list TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of the returned parameter list Detail []*ParamInfo `json:"Detail,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBInstanceParametersResponse ¶
func NewDescribeDBInstanceParametersResponse() (response *DescribeDBInstanceParametersResponse)
func (*DescribeDBInstanceParametersResponse) FromJsonString ¶
func (r *DescribeDBInstanceParametersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceParametersResponse) ToJsonString ¶
func (r *DescribeDBInstanceParametersResponse) ToJsonString() string
type DescribeDBInstancesRequest ¶
type DescribeDBInstancesRequest struct { *tchttp.BaseRequest // Filter instances using one or more criteria. Valid filter names: // db-instance-id: filter by instance ID (in string format) // db-instance-name: filter by instance name (in string format) // db-project-id: filter by project ID (in integer format) // db-pay-mode: filter by billing mode (in string format) // db-tag-key: filter by tag key (in string format) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // The maximum number of results returned per page. Value range: 1-100. Default: `10` Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Pagination offset, starting from 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Sorting order. Valid values: `asc` (ascending), `desc` (descending) OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeDBInstancesRequest ¶
func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)
func (*DescribeDBInstancesRequest) FromJsonString ¶
func (r *DescribeDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstancesRequest) ToJsonString ¶
func (r *DescribeDBInstancesRequest) ToJsonString() string
type DescribeDBInstancesResponse ¶
type DescribeDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Number of instances found. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance details set. DBInstanceSet []*DBInstance `json:"DBInstanceSet,omitempty" name:"DBInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBInstancesResponse ¶
func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)
func (*DescribeDBInstancesResponse) FromJsonString ¶
func (r *DescribeDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstancesResponse) ToJsonString ¶
func (r *DescribeDBInstancesResponse) ToJsonString() string
type DescribeDBSlowlogsRequest ¶
type DescribeDBSlowlogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time in the format of 2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Database name DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Metric for sorting. Valid values: `sum_calls` (total number of calls), `sum_cost_time` (total time consumed) OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. desc: descending, asc: ascending OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Number of entries returned per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number for data return in paged query. Pagination starts from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDBSlowlogsRequest ¶
func NewDescribeDBSlowlogsRequest() (request *DescribeDBSlowlogsRequest)
func (*DescribeDBSlowlogsRequest) FromJsonString ¶
func (r *DescribeDBSlowlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSlowlogsRequest) ToJsonString ¶
func (r *DescribeDBSlowlogsRequest) ToJsonString() string
type DescribeDBSlowlogsResponse ¶
type DescribeDBSlowlogsResponse struct { *tchttp.BaseResponse Response *struct { // Number of date entries returned this time TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Slow query log details Detail *SlowlogDetail `json:"Detail,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBSlowlogsResponse ¶
func NewDescribeDBSlowlogsResponse() (response *DescribeDBSlowlogsResponse)
func (*DescribeDBSlowlogsResponse) FromJsonString ¶
func (r *DescribeDBSlowlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSlowlogsResponse) ToJsonString ¶
func (r *DescribeDBSlowlogsResponse) ToJsonString() string
type DescribeDBXlogsRequest ¶
type DescribeDBXlogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-4wdeb0zv. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time in the format of 2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Page number for data return in paged query. Pagination starts from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries returned per page in paged query. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDBXlogsRequest ¶
func NewDescribeDBXlogsRequest() (request *DescribeDBXlogsRequest)
func (*DescribeDBXlogsRequest) FromJsonString ¶
func (r *DescribeDBXlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBXlogsRequest) ToJsonString ¶
func (r *DescribeDBXlogsRequest) ToJsonString() string
type DescribeDBXlogsResponse ¶
type DescribeDBXlogsResponse struct { *tchttp.BaseResponse Response *struct { // Number of date entries returned this time. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Xlog list XlogList []*Xlog `json:"XlogList,omitempty" name:"XlogList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBXlogsResponse ¶
func NewDescribeDBXlogsResponse() (response *DescribeDBXlogsResponse)
func (*DescribeDBXlogsResponse) FromJsonString ¶
func (r *DescribeDBXlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBXlogsResponse) ToJsonString ¶
func (r *DescribeDBXlogsResponse) ToJsonString() string
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDescribeDatabasesRequest ¶
func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
func (*DescribeDatabasesRequest) FromJsonString ¶
func (r *DescribeDatabasesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabasesRequest) ToJsonString ¶
func (r *DescribeDatabasesRequest) ToJsonString() string
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *tchttp.BaseResponse Response *struct { // Database information Items []*string `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDatabasesResponse ¶
func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
func (*DescribeDatabasesResponse) FromJsonString ¶
func (r *DescribeDatabasesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabasesResponse) ToJsonString ¶
func (r *DescribeDatabasesResponse) ToJsonString() string
type DescribeOrdersRequest ¶
type DescribeOrdersRequest struct { *tchttp.BaseRequest // Order name set DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` }
func NewDescribeOrdersRequest ¶
func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)
func (*DescribeOrdersRequest) FromJsonString ¶
func (r *DescribeOrdersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOrdersRequest) ToJsonString ¶
func (r *DescribeOrdersRequest) ToJsonString() string
type DescribeOrdersResponse ¶
type DescribeOrdersResponse struct { *tchttp.BaseResponse Response *struct { // Number of orders TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Order array Deals []*PgDeal `json:"Deals,omitempty" name:"Deals"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeOrdersResponse ¶
func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)
func (*DescribeOrdersResponse) FromJsonString ¶
func (r *DescribeOrdersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOrdersResponse) ToJsonString ¶
func (r *DescribeOrdersResponse) ToJsonString() string
type DescribeParamsEventRequest ¶
type DescribeParamsEventRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDescribeParamsEventRequest ¶
func NewDescribeParamsEventRequest() (request *DescribeParamsEventRequest)
func (*DescribeParamsEventRequest) FromJsonString ¶
func (r *DescribeParamsEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamsEventRequest) ToJsonString ¶
func (r *DescribeParamsEventRequest) ToJsonString() string
type DescribeParamsEventResponse ¶
type DescribeParamsEventResponse struct { *tchttp.BaseResponse Response *struct { // Total number of modified parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of parameter modification events EventItems []*EventItem `json:"EventItems,omitempty" name:"EventItems"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeParamsEventResponse ¶
func NewDescribeParamsEventResponse() (response *DescribeParamsEventResponse)
func (*DescribeParamsEventResponse) FromJsonString ¶
func (r *DescribeParamsEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamsEventResponse) ToJsonString ¶
func (r *DescribeParamsEventResponse) ToJsonString() string
type DescribeProductConfigRequest ¶
type DescribeProductConfigRequest struct { *tchttp.BaseRequest // AZ name Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewDescribeProductConfigRequest ¶
func NewDescribeProductConfigRequest() (request *DescribeProductConfigRequest)
func (*DescribeProductConfigRequest) FromJsonString ¶
func (r *DescribeProductConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductConfigRequest) ToJsonString ¶
func (r *DescribeProductConfigRequest) ToJsonString() string
type DescribeProductConfigResponse ¶
type DescribeProductConfigResponse struct { *tchttp.BaseResponse Response *struct { // Purchasable specification list. SpecInfoList []*SpecInfo `json:"SpecInfoList,omitempty" name:"SpecInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProductConfigResponse ¶
func NewDescribeProductConfigResponse() (response *DescribeProductConfigResponse)
func (*DescribeProductConfigResponse) FromJsonString ¶
func (r *DescribeProductConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductConfigResponse) ToJsonString ¶
func (r *DescribeProductConfigResponse) ToJsonString() string
type DescribeReadOnlyGroupsRequest ¶
type DescribeReadOnlyGroupsRequest struct { *tchttp.BaseRequest // Filter condition. The primary ID must be specified in the format of `db-master-instance-id` to filter results, or else `null` will be returned. Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // The number of results per page. Default value: 10. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Specify which page is displayed. Default value: 1 (the first page). PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Sorting criterion. Valid values: `ROGroupId`, `CreateTime`, `Name`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `desc`, `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeReadOnlyGroupsRequest ¶
func NewDescribeReadOnlyGroupsRequest() (request *DescribeReadOnlyGroupsRequest)
func (*DescribeReadOnlyGroupsRequest) FromJsonString ¶
func (r *DescribeReadOnlyGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReadOnlyGroupsRequest) ToJsonString ¶
func (r *DescribeReadOnlyGroupsRequest) ToJsonString() string
type DescribeReadOnlyGroupsResponse ¶
type DescribeReadOnlyGroupsResponse struct { *tchttp.BaseResponse Response *struct { // RO group list ReadOnlyGroupList []*ReadOnlyGroup `json:"ReadOnlyGroupList,omitempty" name:"ReadOnlyGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeReadOnlyGroupsResponse ¶
func NewDescribeReadOnlyGroupsResponse() (response *DescribeReadOnlyGroupsResponse)
func (*DescribeReadOnlyGroupsResponse) FromJsonString ¶
func (r *DescribeReadOnlyGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReadOnlyGroupsResponse) ToJsonString ¶
func (r *DescribeReadOnlyGroupsResponse) ToJsonString() string
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRegionsRequest ¶
func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)
func (*DescribeRegionsRequest) FromJsonString ¶
func (r *DescribeRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsRequest) ToJsonString ¶
func (r *DescribeRegionsRequest) ToJsonString() string
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *struct { // Number of returned results. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Region information set. RegionSet []*RegionInfo `json:"RegionSet,omitempty" name:"RegionSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRegionsResponse ¶
func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)
func (*DescribeRegionsResponse) FromJsonString ¶
func (r *DescribeRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsResponse) ToJsonString ¶
func (r *DescribeRegionsResponse) ToJsonString() string
type DescribeServerlessDBInstancesRequest ¶
type DescribeServerlessDBInstancesRequest struct { *tchttp.BaseRequest // Query conditions Filter []*Filter `json:"Filter,omitempty" name:"Filter"` // The number of queries Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // The offset value Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Sorting metric. Currently, only "CreateTime" (instance creation time) is supported. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Ascending and descending are supported. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeServerlessDBInstancesRequest ¶
func NewDescribeServerlessDBInstancesRequest() (request *DescribeServerlessDBInstancesRequest)
func (*DescribeServerlessDBInstancesRequest) FromJsonString ¶
func (r *DescribeServerlessDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServerlessDBInstancesRequest) ToJsonString ¶
func (r *DescribeServerlessDBInstancesRequest) ToJsonString() string
type DescribeServerlessDBInstancesResponse ¶
type DescribeServerlessDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // The number of query results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Query results // Note: this field may return `null`, indicating that no valid values can be obtained. DBInstanceSet []*ServerlessDBInstance `json:"DBInstanceSet,omitempty" name:"DBInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeServerlessDBInstancesResponse ¶
func NewDescribeServerlessDBInstancesResponse() (response *DescribeServerlessDBInstancesResponse)
func (*DescribeServerlessDBInstancesResponse) FromJsonString ¶
func (r *DescribeServerlessDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServerlessDBInstancesResponse) ToJsonString ¶
func (r *DescribeServerlessDBInstancesResponse) ToJsonString() string
type DescribeSlowQueryAnalysisRequest ¶
type DescribeSlowQueryAnalysisRequest struct { *tchttp.BaseRequest // Instance ID. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter by database name. This parameter is optional. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Sort by field. Valid values: `CallNum`, `CostTime`, `AvgCostTime`. Default value: `CallNum`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Number of entries per page. Value range: [1,100]. Default value: `50`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Value range: [0,INF). Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeSlowQueryAnalysisRequest ¶
func NewDescribeSlowQueryAnalysisRequest() (request *DescribeSlowQueryAnalysisRequest)
func (*DescribeSlowQueryAnalysisRequest) FromJsonString ¶
func (r *DescribeSlowQueryAnalysisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryAnalysisRequest) ToJsonString ¶
func (r *DescribeSlowQueryAnalysisRequest) ToJsonString() string
type DescribeSlowQueryAnalysisResponse ¶
type DescribeSlowQueryAnalysisResponse struct { *tchttp.BaseResponse Response *struct { // The total number of query results. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Detailed analysis. Detail *Detail `json:"Detail,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSlowQueryAnalysisResponse ¶
func NewDescribeSlowQueryAnalysisResponse() (response *DescribeSlowQueryAnalysisResponse)
func (*DescribeSlowQueryAnalysisResponse) FromJsonString ¶
func (r *DescribeSlowQueryAnalysisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryAnalysisResponse) ToJsonString ¶
func (r *DescribeSlowQueryAnalysisResponse) ToJsonString() string
type DescribeSlowQueryListRequest ¶
type DescribeSlowQueryListRequest struct { *tchttp.BaseRequest // Instance ID. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter by database name. This parameter is optional. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Sort by field. Valid values: `SessionStartTime` (default), `Duration`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Number of entries per page. Value range: [1,100]. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Value range: [0,INF). Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeSlowQueryListRequest ¶
func NewDescribeSlowQueryListRequest() (request *DescribeSlowQueryListRequest)
func (*DescribeSlowQueryListRequest) FromJsonString ¶
func (r *DescribeSlowQueryListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryListRequest) ToJsonString ¶
func (r *DescribeSlowQueryListRequest) ToJsonString() string
type DescribeSlowQueryListResponse ¶
type DescribeSlowQueryListResponse struct { *tchttp.BaseResponse Response *struct { // The total number of slow query statements during the specified period of time. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Analysis of the execution time of slow query statements by classifying them to different time ranges. These slow query statements fall within the query range you specified in the request parameters. // Note: this field may return `null`, indicating that no valid values can be obtained. DurationAnalysis []*DurationAnalysis `json:"DurationAnalysis,omitempty" name:"DurationAnalysis"` // The list of slow query details during the specified period of time. // Note: this field may return `null`, indicating that no valid values can be obtained. RawSlowQueryList []*RawSlowQuery `json:"RawSlowQueryList,omitempty" name:"RawSlowQueryList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSlowQueryListResponse ¶
func NewDescribeSlowQueryListResponse() (response *DescribeSlowQueryListResponse)
func (*DescribeSlowQueryListResponse) FromJsonString ¶
func (r *DescribeSlowQueryListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryListResponse) ToJsonString ¶
func (r *DescribeSlowQueryListResponse) ToJsonString() string
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
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 ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *struct { // Number of returned results. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // AZ information set. ZoneSet []*ZoneInfo `json:"ZoneSet,omitempty" name:"ZoneSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
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 ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DestroyDBInstanceRequest ¶
type DestroyDBInstanceRequest struct { *tchttp.BaseRequest // The ID of the instance to be eliminated DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewDestroyDBInstanceRequest ¶
func NewDestroyDBInstanceRequest() (request *DestroyDBInstanceRequest)
func (*DestroyDBInstanceRequest) FromJsonString ¶
func (r *DestroyDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyDBInstanceRequest) ToJsonString ¶
func (r *DestroyDBInstanceRequest) ToJsonString() string
type DestroyDBInstanceResponse ¶
type DestroyDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDestroyDBInstanceResponse ¶
func NewDestroyDBInstanceResponse() (response *DestroyDBInstanceResponse)
func (*DestroyDBInstanceResponse) FromJsonString ¶
func (r *DestroyDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyDBInstanceResponse) ToJsonString ¶
func (r *DestroyDBInstanceResponse) ToJsonString() string
type Detail ¶
type Detail struct { // The total execution time (in ms) of all slow query statements during the specified period of time TotalTime *float64 `json:"TotalTime,omitempty" name:"TotalTime"` // The total number of all slow query statements during the specified period of time TotalCallNum *uint64 `json:"TotalCallNum,omitempty" name:"TotalCallNum"` // The statistical analysis list of slow queries // Note: this field may return `null`, indicating that no valid values can be obtained. AnalysisItems []*AnalysisItems `json:"AnalysisItems,omitempty" name:"AnalysisItems"` }
type DisIsolateDBInstancesRequest ¶
type DisIsolateDBInstancesRequest struct { *tchttp.BaseRequest // Resource ID list DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // The valid period (in months) of the monthly-subscribed instance when removing it from isolation Period *int64 `json:"Period,omitempty" name:"Period"` // Whether to use vouchers. Valid values: `true` (yes), `false` (no). Default value: `false`. AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` }
func NewDisIsolateDBInstancesRequest ¶
func NewDisIsolateDBInstancesRequest() (request *DisIsolateDBInstancesRequest)
func (*DisIsolateDBInstancesRequest) FromJsonString ¶
func (r *DisIsolateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisIsolateDBInstancesRequest) ToJsonString ¶
func (r *DisIsolateDBInstancesRequest) ToJsonString() string
type DisIsolateDBInstancesResponse ¶
type DisIsolateDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisIsolateDBInstancesResponse ¶
func NewDisIsolateDBInstancesResponse() (response *DisIsolateDBInstancesResponse)
func (*DisIsolateDBInstancesResponse) FromJsonString ¶
func (r *DisIsolateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisIsolateDBInstancesResponse) ToJsonString ¶
func (r *DisIsolateDBInstancesResponse) ToJsonString() string
type DurationAnalysis ¶
type ErrLogDetail ¶
type ErrLogDetail struct { // Username UserName *string `json:"UserName,omitempty" name:"UserName"` // Database name Database *string `json:"Database,omitempty" name:"Database"` // Error occurrence time ErrTime *string `json:"ErrTime,omitempty" name:"ErrTime"` // Error message ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` }
type EventInfo ¶
type EventInfo struct { // Parameter name // Note: this field may return `null`, indicating that no valid values can be obtained. ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Original parameter value // Note: this field may return `null`, indicating that no valid values can be obtained. OldValue *string `json:"OldValue,omitempty" name:"OldValue"` // New parameter value in this modification event // Note: this field may return `null`, indicating that no valid values can be obtained. NewValue *string `json:"NewValue,omitempty" name:"NewValue"` // Start time of parameter modification // Note: this field may return `null`, indicating that no valid values can be obtained. ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // Start time when the modified parameter takes effect // Note: this field may return `null`, indicating that no valid values can be obtained. EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"` // Modification status // Note: this field may return `null`, indicating that no valid values can be obtained. State *string `json:"State,omitempty" name:"State"` // Operator (generally, the value is the UIN of a sub-user) // Note: this field may return `null`, indicating that no valid values can be obtained. Operator *string `json:"Operator,omitempty" name:"Operator"` // Event log // Note: this field may return `null`, indicating that no valid values can be obtained. EventLog *string `json:"EventLog,omitempty" name:"EventLog"` }
type EventItem ¶
type EventItem struct { // Parameter name // Note: this field may return `null`, indicating that no valid values can be obtained. ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // The number of modification events // Note: this field may return `null`, indicating that no valid values can be obtained. EventCount *int64 `json:"EventCount,omitempty" name:"EventCount"` // Modification event details // Note: this field may return `null`, indicating that no valid values can be obtained. EventDetail []*EventInfo `json:"EventDetail,omitempty" name:"EventDetail"` }
type InitDBInstancesRequest ¶
type InitDBInstancesRequest struct { *tchttp.BaseRequest // Instance ID set. DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // Instance admin account username. AdminName *string `json:"AdminName,omitempty" name:"AdminName"` // Password corresponding to instance root account username. AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"` // Instance character set. Valid values: UTF8, LATIN1. Charset *string `json:"Charset,omitempty" name:"Charset"` }
func NewInitDBInstancesRequest ¶
func NewInitDBInstancesRequest() (request *InitDBInstancesRequest)
func (*InitDBInstancesRequest) FromJsonString ¶
func (r *InitDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitDBInstancesRequest) ToJsonString ¶
func (r *InitDBInstancesRequest) ToJsonString() string
type InitDBInstancesResponse ¶
type InitDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Instance ID set. DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInitDBInstancesResponse ¶
func NewInitDBInstancesResponse() (response *InitDBInstancesResponse)
func (*InitDBInstancesResponse) FromJsonString ¶
func (r *InitDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitDBInstancesResponse) ToJsonString ¶
func (r *InitDBInstancesResponse) ToJsonString() string
type InquiryPriceCreateDBInstancesRequest ¶
type InquiryPriceCreateDBInstancesRequest struct { *tchttp.BaseRequest // AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API. SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // Storage capacity size in GB. Storage *uint64 `json:"Storage,omitempty" name:"Storage"` // Number of instances. Maximum value: 100. If you need to create more instances at a time, please contact customer service. InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported. Period *uint64 `json:"Period,omitempty" name:"Period"` // Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API. Pid *uint64 `json:"Pid,omitempty" name:"Pid"` // Instance billing type. Valid value: POSTPAID_BY_HOUR (pay-as-you-go) InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
func NewInquiryPriceCreateDBInstancesRequest ¶
func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)
func (*InquiryPriceCreateDBInstancesRequest) FromJsonString ¶
func (r *InquiryPriceCreateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateDBInstancesRequest) ToJsonString ¶
func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string
type InquiryPriceCreateDBInstancesResponse ¶
type InquiryPriceCreateDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Original price in 0.01 CNY. OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // Discounted price in 0.01 CNY. Price *uint64 `json:"Price,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceCreateDBInstancesResponse ¶
func NewInquiryPriceCreateDBInstancesResponse() (response *InquiryPriceCreateDBInstancesResponse)
func (*InquiryPriceCreateDBInstancesResponse) FromJsonString ¶
func (r *InquiryPriceCreateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateDBInstancesResponse) ToJsonString ¶
func (r *InquiryPriceCreateDBInstancesResponse) ToJsonString() string
type InquiryPriceRenewDBInstanceRequest ¶
type InquiryPriceRenewDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Renewal duration in months. Maximum value: 48 Period *int64 `json:"Period,omitempty" name:"Period"` }
func NewInquiryPriceRenewDBInstanceRequest ¶
func NewInquiryPriceRenewDBInstanceRequest() (request *InquiryPriceRenewDBInstanceRequest)
func (*InquiryPriceRenewDBInstanceRequest) FromJsonString ¶
func (r *InquiryPriceRenewDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewDBInstanceRequest) ToJsonString ¶
func (r *InquiryPriceRenewDBInstanceRequest) ToJsonString() string
type InquiryPriceRenewDBInstanceResponse ¶
type InquiryPriceRenewDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Total cost before discount; for example, 24650 indicates 246.5 CNY OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // Actual amount payable; for example, 24650 indicates 246.5 CNY Price *int64 `json:"Price,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceRenewDBInstanceResponse ¶
func NewInquiryPriceRenewDBInstanceResponse() (response *InquiryPriceRenewDBInstanceResponse)
func (*InquiryPriceRenewDBInstanceResponse) FromJsonString ¶
func (r *InquiryPriceRenewDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewDBInstanceResponse) ToJsonString ¶
func (r *InquiryPriceRenewDBInstanceResponse) ToJsonString() string
type InquiryPriceUpgradeDBInstanceRequest ¶
type InquiryPriceUpgradeDBInstanceRequest struct { *tchttp.BaseRequest // Instance disk size in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance ID in the format of postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance billing type. Valid value: `POSTPAID_BY_HOUR` (pay-as-you-go hourly) InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
func NewInquiryPriceUpgradeDBInstanceRequest ¶
func NewInquiryPriceUpgradeDBInstanceRequest() (request *InquiryPriceUpgradeDBInstanceRequest)
func (*InquiryPriceUpgradeDBInstanceRequest) FromJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpgradeDBInstanceRequest) ToJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceRequest) ToJsonString() string
type InquiryPriceUpgradeDBInstanceResponse ¶
type InquiryPriceUpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Total cost before discount. OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // Actual amount payable Price *int64 `json:"Price,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceUpgradeDBInstanceResponse ¶
func NewInquiryPriceUpgradeDBInstanceResponse() (response *InquiryPriceUpgradeDBInstanceResponse)
func (*InquiryPriceUpgradeDBInstanceResponse) FromJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpgradeDBInstanceResponse) ToJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceResponse) ToJsonString() string
type IsolateDBInstancesRequest ¶
type IsolateDBInstancesRequest struct { *tchttp.BaseRequest // Instance ID set DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` }
func NewIsolateDBInstancesRequest ¶
func NewIsolateDBInstancesRequest() (request *IsolateDBInstancesRequest)
func (*IsolateDBInstancesRequest) FromJsonString ¶
func (r *IsolateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDBInstancesRequest) ToJsonString ¶
func (r *IsolateDBInstancesRequest) ToJsonString() string
type IsolateDBInstancesResponse ¶
type IsolateDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewIsolateDBInstancesResponse ¶
func NewIsolateDBInstancesResponse() (response *IsolateDBInstancesResponse)
func (*IsolateDBInstancesResponse) FromJsonString ¶
func (r *IsolateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDBInstancesResponse) ToJsonString ¶
func (r *IsolateDBInstancesResponse) ToJsonString() string
type ModifyAccountRemarkRequest ¶
type ModifyAccountRemarkRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance username UserName *string `json:"UserName,omitempty" name:"UserName"` // New remarks corresponding to user `UserName` Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewModifyAccountRemarkRequest ¶
func NewModifyAccountRemarkRequest() (request *ModifyAccountRemarkRequest)
func (*ModifyAccountRemarkRequest) FromJsonString ¶
func (r *ModifyAccountRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountRemarkRequest) ToJsonString ¶
func (r *ModifyAccountRemarkRequest) ToJsonString() string
type ModifyAccountRemarkResponse ¶
type ModifyAccountRemarkResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAccountRemarkResponse ¶
func NewModifyAccountRemarkResponse() (response *ModifyAccountRemarkResponse)
func (*ModifyAccountRemarkResponse) FromJsonString ¶
func (r *ModifyAccountRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountRemarkResponse) ToJsonString ¶
func (r *ModifyAccountRemarkResponse) ToJsonString() string
type ModifyBackupPlanRequest ¶
type ModifyBackupPlanRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // The earliest time to start a backup MinBackupStartTime *string `json:"MinBackupStartTime,omitempty" name:"MinBackupStartTime"` // The latest time to start a backup MaxBackupStartTime *string `json:"MaxBackupStartTime,omitempty" name:"MaxBackupStartTime"` // Backup retention period in days. Value range: 3-7 BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitempty" name:"BaseBackupRetentionPeriod"` // Backup cycle, which means on which days each week the instance will be backed up. The parameter value should be the lowercase names of the days of the week. BackupPeriod []*string `json:"BackupPeriod,omitempty" name:"BackupPeriod"` }
func NewModifyBackupPlanRequest ¶
func NewModifyBackupPlanRequest() (request *ModifyBackupPlanRequest)
func (*ModifyBackupPlanRequest) FromJsonString ¶
func (r *ModifyBackupPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupPlanRequest) ToJsonString ¶
func (r *ModifyBackupPlanRequest) ToJsonString() string
type ModifyBackupPlanResponse ¶
type ModifyBackupPlanResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyBackupPlanResponse ¶
func NewModifyBackupPlanResponse() (response *ModifyBackupPlanResponse)
func (*ModifyBackupPlanResponse) FromJsonString ¶
func (r *ModifyBackupPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupPlanResponse) ToJsonString ¶
func (r *ModifyBackupPlanResponse) ToJsonString() string
type ModifyDBInstanceDeploymentRequest ¶
type ModifyDBInstanceDeploymentRequest struct { *tchttp.BaseRequest // Instance ID. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance node information. DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"` // Switch time. Valid values: `0` (switch immediately), `1` (switch at a specified time). Default value: `0`. SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"` // The earliest time to start a switch in the format of "HH:MM:SS", such as "01:00:00". SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"` // The latest time to start a switch in the format of "HH:MM:SS", such as "01:30:00". SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"` }
func NewModifyDBInstanceDeploymentRequest ¶
func NewModifyDBInstanceDeploymentRequest() (request *ModifyDBInstanceDeploymentRequest)
func (*ModifyDBInstanceDeploymentRequest) FromJsonString ¶
func (r *ModifyDBInstanceDeploymentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceDeploymentRequest) ToJsonString ¶
func (r *ModifyDBInstanceDeploymentRequest) ToJsonString() string
type ModifyDBInstanceDeploymentResponse ¶
type ModifyDBInstanceDeploymentResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceDeploymentResponse ¶
func NewModifyDBInstanceDeploymentResponse() (response *ModifyDBInstanceDeploymentResponse)
func (*ModifyDBInstanceDeploymentResponse) FromJsonString ¶
func (r *ModifyDBInstanceDeploymentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceDeploymentResponse) ToJsonString ¶
func (r *ModifyDBInstanceDeploymentResponse) ToJsonString() string
type ModifyDBInstanceNameRequest ¶
type ModifyDBInstanceNameRequest struct { *tchttp.BaseRequest // Database instance ID in the format of postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // New name of database instance InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewModifyDBInstanceNameRequest ¶
func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)
func (*ModifyDBInstanceNameRequest) FromJsonString ¶
func (r *ModifyDBInstanceNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNameRequest) ToJsonString ¶
func (r *ModifyDBInstanceNameRequest) ToJsonString() string
type ModifyDBInstanceNameResponse ¶
type ModifyDBInstanceNameResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceNameResponse ¶
func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)
func (*ModifyDBInstanceNameResponse) FromJsonString ¶
func (r *ModifyDBInstanceNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNameResponse) ToJsonString ¶
func (r *ModifyDBInstanceNameResponse) ToJsonString() string
type ModifyDBInstanceParametersRequest ¶
type ModifyDBInstanceParametersRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Parameters to be modified and their new values ParamList []*ParamEntry `json:"ParamList,omitempty" name:"ParamList"` }
func NewModifyDBInstanceParametersRequest ¶
func NewModifyDBInstanceParametersRequest() (request *ModifyDBInstanceParametersRequest)
func (*ModifyDBInstanceParametersRequest) FromJsonString ¶
func (r *ModifyDBInstanceParametersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceParametersRequest) ToJsonString ¶
func (r *ModifyDBInstanceParametersRequest) ToJsonString() string
type ModifyDBInstanceParametersResponse ¶
type ModifyDBInstanceParametersResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceParametersResponse ¶
func NewModifyDBInstanceParametersResponse() (response *ModifyDBInstanceParametersResponse)
func (*ModifyDBInstanceParametersResponse) FromJsonString ¶
func (r *ModifyDBInstanceParametersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceParametersResponse) ToJsonString ¶
func (r *ModifyDBInstanceParametersResponse) ToJsonString() string
type ModifyDBInstanceReadOnlyGroupRequest ¶
type ModifyDBInstanceReadOnlyGroupRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // ID of the RO group to which the read-only replica belongs ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` // ID of the new RO group into which the read-only replica will move NewReadOnlyGroupId *string `json:"NewReadOnlyGroupId,omitempty" name:"NewReadOnlyGroupId"` }
func NewModifyDBInstanceReadOnlyGroupRequest ¶
func NewModifyDBInstanceReadOnlyGroupRequest() (request *ModifyDBInstanceReadOnlyGroupRequest)
func (*ModifyDBInstanceReadOnlyGroupRequest) FromJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceReadOnlyGroupRequest) ToJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupRequest) ToJsonString() string
type ModifyDBInstanceReadOnlyGroupResponse ¶
type ModifyDBInstanceReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // Task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceReadOnlyGroupResponse ¶
func NewModifyDBInstanceReadOnlyGroupResponse() (response *ModifyDBInstanceReadOnlyGroupResponse)
func (*ModifyDBInstanceReadOnlyGroupResponse) FromJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceReadOnlyGroupResponse) ToJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupResponse) ToJsonString() string
type ModifyDBInstanceSpecRequest ¶
type ModifyDBInstanceSpecRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-6bwgamo3. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance memory size in GiB after modification. Memory *uint64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GiB after modification. Storage *uint64 `json:"Storage,omitempty" name:"Storage"` // Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`. AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list. Currently, you can specify only one voucher. VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Campaign ID. ActivityId *uint64 `json:"ActivityId,omitempty" name:"ActivityId"` // Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at a specified time). Default value: `0`. SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"` // The earliest time to start a switch in the format of "HH:MM:SS", such as "01:00:00". SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"` // The latest time to start a switch in the format of "HH:MM:SS", such as "01:30:00". SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"` }
func NewModifyDBInstanceSpecRequest ¶
func NewModifyDBInstanceSpecRequest() (request *ModifyDBInstanceSpecRequest)
func (*ModifyDBInstanceSpecRequest) FromJsonString ¶
func (r *ModifyDBInstanceSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSpecRequest) ToJsonString ¶
func (r *ModifyDBInstanceSpecRequest) ToJsonString() string
type ModifyDBInstanceSpecResponse ¶
type ModifyDBInstanceSpecResponse struct { *tchttp.BaseResponse Response *struct { // Order ID. DealName *string `json:"DealName,omitempty" name:"DealName"` // Bill ID of frozen fees. BillId *string `json:"BillId,omitempty" name:"BillId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceSpecResponse ¶
func NewModifyDBInstanceSpecResponse() (response *ModifyDBInstanceSpecResponse)
func (*ModifyDBInstanceSpecResponse) FromJsonString ¶
func (r *ModifyDBInstanceSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSpecResponse) ToJsonString ¶
func (r *ModifyDBInstanceSpecResponse) ToJsonString() string
type ModifyDBInstancesProjectRequest ¶
type ModifyDBInstancesProjectRequest struct { *tchttp.BaseRequest // TencentDB for PostgreSQL instance ID array DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // New project ID of TencentDB for PostgreSQL instance ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewModifyDBInstancesProjectRequest ¶
func NewModifyDBInstancesProjectRequest() (request *ModifyDBInstancesProjectRequest)
func (*ModifyDBInstancesProjectRequest) FromJsonString ¶
func (r *ModifyDBInstancesProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstancesProjectRequest) ToJsonString ¶
func (r *ModifyDBInstancesProjectRequest) ToJsonString() string
type ModifyDBInstancesProjectResponse ¶
type ModifyDBInstancesProjectResponse struct { *tchttp.BaseResponse Response *struct { // Number of successfully transferred instances Count *int64 `json:"Count,omitempty" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstancesProjectResponse ¶
func NewModifyDBInstancesProjectResponse() (response *ModifyDBInstancesProjectResponse)
func (*ModifyDBInstancesProjectResponse) FromJsonString ¶
func (r *ModifyDBInstancesProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstancesProjectResponse) ToJsonString ¶
func (r *ModifyDBInstancesProjectResponse) ToJsonString() string
type ModifyReadOnlyGroupConfigRequest ¶
type ModifyReadOnlyGroupConfigRequest struct { *tchttp.BaseRequest // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` // RO group name ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitempty" name:"ReadOnlyGroupName"` // Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"` // Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"` // Delayed log size threshold in MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"` // Delay threshold in ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"` // Whether to enable automatic load balancing. Valid values: `0` (disable), `1` (enable). Rebalance *uint64 `json:"Rebalance,omitempty" name:"Rebalance"` // The minimum number of read-only replicas that must be retained in an RO group MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"` }
func NewModifyReadOnlyGroupConfigRequest ¶
func NewModifyReadOnlyGroupConfigRequest() (request *ModifyReadOnlyGroupConfigRequest)
func (*ModifyReadOnlyGroupConfigRequest) FromJsonString ¶
func (r *ModifyReadOnlyGroupConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyReadOnlyGroupConfigRequest) ToJsonString ¶
func (r *ModifyReadOnlyGroupConfigRequest) ToJsonString() string
type ModifyReadOnlyGroupConfigResponse ¶
type ModifyReadOnlyGroupConfigResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyReadOnlyGroupConfigResponse ¶
func NewModifyReadOnlyGroupConfigResponse() (response *ModifyReadOnlyGroupConfigResponse)
func (*ModifyReadOnlyGroupConfigResponse) FromJsonString ¶
func (r *ModifyReadOnlyGroupConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyReadOnlyGroupConfigResponse) ToJsonString ¶
func (r *ModifyReadOnlyGroupConfigResponse) ToJsonString() string
type ModifySwitchTimePeriodRequest ¶
type ModifySwitchTimePeriodRequest struct { *tchttp.BaseRequest // The ID of the instance waiting for a switch DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Valid value: `0` (switch immediately) SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"` }
func NewModifySwitchTimePeriodRequest ¶
func NewModifySwitchTimePeriodRequest() (request *ModifySwitchTimePeriodRequest)
func (*ModifySwitchTimePeriodRequest) FromJsonString ¶
func (r *ModifySwitchTimePeriodRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySwitchTimePeriodRequest) ToJsonString ¶
func (r *ModifySwitchTimePeriodRequest) ToJsonString() string
type ModifySwitchTimePeriodResponse ¶
type ModifySwitchTimePeriodResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifySwitchTimePeriodResponse ¶
func NewModifySwitchTimePeriodResponse() (response *ModifySwitchTimePeriodResponse)
func (*ModifySwitchTimePeriodResponse) FromJsonString ¶
func (r *ModifySwitchTimePeriodResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySwitchTimePeriodResponse) ToJsonString ¶
func (r *ModifySwitchTimePeriodResponse) ToJsonString() string
type NetworkAccess ¶
type NetworkAccess struct { // Network resource ID, instance ID, or RO group ID // Note: this field may return `null`, indicating that no valid values can be obtained. ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Resource type. Valid values: `1` (instance), `2` (RO group) // Note: this field may return `null`, indicating that no valid values can be obtained. ResourceType *uint64 `json:"ResourceType,omitempty" name:"ResourceType"` // VPC ID // Note: this field may return `null`, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // IPv4 address // Note: this field may return `null`, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // IPv6 address // Note: this field may return `null`, indicating that no valid values can be obtained. Vip6 *string `json:"Vip6,omitempty" name:"Vip6"` // Access port // Note: this field may return `null`, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Subnet ID // Note: this field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Network status. Valid values: `1` (applying), `2` (in use), `3` (deleting), `4` (deleted) // Note: this field may return `null`, indicating that no valid values can be obtained. VpcStatus *int64 `json:"VpcStatus,omitempty" name:"VpcStatus"` }
type NormalQueryItem ¶
type NormalQueryItem struct { // Username UserName *string `json:"UserName,omitempty" name:"UserName"` // Number of calls Calls *int64 `json:"Calls,omitempty" name:"Calls"` // Granularity CallsGrids []*int64 `json:"CallsGrids,omitempty" name:"CallsGrids"` // Total time consumed CostTime *float64 `json:"CostTime,omitempty" name:"CostTime"` // Number of affected rows Rows *int64 `json:"Rows,omitempty" name:"Rows"` // Minimum time consumed MinCostTime *float64 `json:"MinCostTime,omitempty" name:"MinCostTime"` // Maximum time consumed MaxCostTime *float64 `json:"MaxCostTime,omitempty" name:"MaxCostTime"` // Time of the earliest slow SQL statement FirstTime *string `json:"FirstTime,omitempty" name:"FirstTime"` // Time of the latest slow SQL statement LastTime *string `json:"LastTime,omitempty" name:"LastTime"` SharedReadBlks *int64 `json:"SharedReadBlks,omitempty" name:"SharedReadBlks"` SharedWriteBlks *int64 `json:"SharedWriteBlks,omitempty" name:"SharedWriteBlks"` // Total IO read time ReadCostTime *int64 `json:"ReadCostTime,omitempty" name:"ReadCostTime"` // Total IO write time WriteCostTime *int64 `json:"WriteCostTime,omitempty" name:"WriteCostTime"` // Database name DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Slow SQL statement after desensitization NormalQuery *string `json:"NormalQuery,omitempty" name:"NormalQuery"` }
type OpenDBExtranetAccessRequest ¶
type OpenDBExtranetAccessRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Whether to enable public network access over IPv6 address. Valid values: 1 (yes), 0 (no) IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"` }
func NewOpenDBExtranetAccessRequest ¶
func NewOpenDBExtranetAccessRequest() (request *OpenDBExtranetAccessRequest)
func (*OpenDBExtranetAccessRequest) FromJsonString ¶
func (r *OpenDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenDBExtranetAccessRequest) ToJsonString ¶
func (r *OpenDBExtranetAccessRequest) ToJsonString() string
type OpenDBExtranetAccessResponse ¶
type OpenDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // Async task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewOpenDBExtranetAccessResponse ¶
func NewOpenDBExtranetAccessResponse() (response *OpenDBExtranetAccessResponse)
func (*OpenDBExtranetAccessResponse) FromJsonString ¶
func (r *OpenDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenDBExtranetAccessResponse) ToJsonString ¶
func (r *OpenDBExtranetAccessResponse) ToJsonString() string
type OpenServerlessDBExtranetAccessRequest ¶
type OpenServerlessDBExtranetAccessRequest struct { *tchttp.BaseRequest // Unique ID of an instance DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance name DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` }
func NewOpenServerlessDBExtranetAccessRequest ¶
func NewOpenServerlessDBExtranetAccessRequest() (request *OpenServerlessDBExtranetAccessRequest)
func (*OpenServerlessDBExtranetAccessRequest) FromJsonString ¶
func (r *OpenServerlessDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenServerlessDBExtranetAccessRequest) ToJsonString ¶
func (r *OpenServerlessDBExtranetAccessRequest) ToJsonString() string
type OpenServerlessDBExtranetAccessResponse ¶
type OpenServerlessDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewOpenServerlessDBExtranetAccessResponse ¶
func NewOpenServerlessDBExtranetAccessResponse() (response *OpenServerlessDBExtranetAccessResponse)
func (*OpenServerlessDBExtranetAccessResponse) FromJsonString ¶
func (r *OpenServerlessDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenServerlessDBExtranetAccessResponse) ToJsonString ¶
func (r *OpenServerlessDBExtranetAccessResponse) ToJsonString() string
type ParamEntry ¶
type ParamEntry struct { // Parameter name Name *string `json:"Name,omitempty" name:"Name"` // The new value to which the parameter will be modified. When this parameter is used as an input parameter, its value must be a string, such as `0.1` (decimal), `1000` (integer), and `replica` (enum). ExpectedValue *string `json:"ExpectedValue,omitempty" name:"ExpectedValue"` }
type ParamInfo ¶
type ParamInfo struct { // Parameter ID // Note: this field may return `null`, indicating that no valid values can be obtained. ID *int64 `json:"ID,omitempty" name:"ID"` // Parameter name // Note: this field may return `null`, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Value type of the parameter. Valid values: `integer`, `real` (floating-point), `bool`, `enum`, `mutil_enum` (this type of parameter can be set to multiple enumerated values). // For an `integer` or `real` parameter, the `Min` field represents the minimum value and the `Max` field the maximum value. // For a `bool` parameter, the valid values include `true` and `false`; // For an `enum` or `mutil_enum` parameter, the `EnumValue` field represents the valid values. // Note: this field may return `null`, indicating that no valid values can be obtained. ParamValueType *string `json:"ParamValueType,omitempty" name:"ParamValueType"` // Value unit of the parameter. If the parameter has no unit, this field will return an empty string. // Note: this field may return `null`, indicating that no valid values can be obtained. Unit *string `json:"Unit,omitempty" name:"Unit"` // Default value of the parameter, which is returned as a string // Note: this field may return `null`, indicating that no valid values can be obtained. DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"` // Current value of the parameter, which is returned as a string // Note: this field may return `null`, indicating that no valid values can be obtained. CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Value range of the enum parameter // Note: this field may return `null`, indicating that no valid values can be obtained. EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // The maximum value of the `integer` or `real` parameter // Note: this field may return `null`, indicating that no valid values can be obtained. Max *float64 `json:"Max,omitempty" name:"Max"` // The minimum value of the `integer` or `real` parameter // Note: this field may return `null`, indicating that no valid values can be obtained. Min *float64 `json:"Min,omitempty" name:"Min"` // Parameter description in Chinese // Note: this field may return `null`, indicating that no valid values can be obtained. ParamDescriptionCH *string `json:"ParamDescriptionCH,omitempty" name:"ParamDescriptionCH"` // Parameter description in English // Note: this field may return `null`, indicating that no valid values can be obtained. ParamDescriptionEN *string `json:"ParamDescriptionEN,omitempty" name:"ParamDescriptionEN"` // Whether to restart the instance for the modified parameter to take effect. Valid values: `true` (yes), `false` (no) // Note: this field may return `null`, indicating that no valid values can be obtained. NeedReboot *bool `json:"NeedReboot,omitempty" name:"NeedReboot"` // Parameter category in Chinese // Note: this field may return `null`, indicating that no valid values can be obtained. ClassificationCN *string `json:"ClassificationCN,omitempty" name:"ClassificationCN"` // Parameter category in English // Note: this field may return `null`, indicating that no valid values can be obtained. ClassificationEN *string `json:"ClassificationEN,omitempty" name:"ClassificationEN"` // Whether the parameter is related to specifications. Valid values: `true` (yes), `false` (no) // Note: this field may return `null`, indicating that no valid values can be obtained. SpecRelated *bool `json:"SpecRelated,omitempty" name:"SpecRelated"` // Whether it is a key parameter. Valid values: `true` (yes, and modifying it may affect instance performance), `false` (no) // Note: this field may return `null`, indicating that no valid values can be obtained. Advanced *bool `json:"Advanced,omitempty" name:"Advanced"` // The last modified time of the parameter // Note: this field may return `null`, indicating that no valid values can be obtained. LastModifyTime *string `json:"LastModifyTime,omitempty" name:"LastModifyTime"` }
type PgDeal ¶
type PgDeal struct { // Order name DealName *string `json:"DealName,omitempty" name:"DealName"` // User OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"` // Number of instances involved in order Count *int64 `json:"Count,omitempty" name:"Count"` // Billing mode. 0: pay-as-you-go PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Async task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // Instance ID array DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` }
type RawSlowQuery ¶
type RawSlowQuery struct { // Slow query statement RawQuery *string `json:"RawQuery,omitempty" name:"RawQuery"` // The database queried by the slow query statement DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // The execution time of the slow query statement Duration *float64 `json:"Duration,omitempty" name:"Duration"` // The client that executes the slow query statement ClientAddr *string `json:"ClientAddr,omitempty" name:"ClientAddr"` // The name of the user who executes the slow query statement UserName *string `json:"UserName,omitempty" name:"UserName"` // The time when the slow query statement starts to execute SessionStartTime *string `json:"SessionStartTime,omitempty" name:"SessionStartTime"` }
type ReadOnlyGroup ¶
type ReadOnlyGroup struct { // RO group identifier // Note: this field may return `null`, indicating that no valid values can be obtained. ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` // RO group name // Note: this field may return `null`, indicating that no valid values can be obtained. ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitempty" name:"ReadOnlyGroupName"` // Project ID // Note: this field may return `null`, indicating that no valid values can be obtained. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Primary instance ID // Note: this field may return `null`, indicating that no valid values can be obtained. MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"` // The minimum number of read-only replicas that must be retained in an RO group // Note: this field may return `null`, indicating that no valid values can be obtained. MinDelayEliminateReserve *int64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"` // Delayed log size threshold MaxReplayLatency *int64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"` // Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLatencyEliminate *int64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"` // Delay threshold MaxReplayLag *float64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"` // Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes). ReplayLagEliminate *int64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: this field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Region ID Region *string `json:"Region,omitempty" name:"Region"` // Availability zone ID Zone *string `json:"Zone,omitempty" name:"Zone"` // Status Status *string `json:"Status,omitempty" name:"Status"` // Instance details ReadOnlyDBInstanceList []*DBInstance `json:"ReadOnlyDBInstanceList,omitempty" name:"ReadOnlyDBInstanceList"` // Whether to enable automatic load balancing Rebalance *int64 `json:"Rebalance,omitempty" name:"Rebalance"` // Network information DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"` // Network access list of the RO group (this field has been deprecated) // Note: this field may return `null`, indicating that no valid values can be obtained. NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"` }
type RebalanceReadOnlyGroupRequest ¶
type RebalanceReadOnlyGroupRequest struct { *tchttp.BaseRequest // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` }
func NewRebalanceReadOnlyGroupRequest ¶
func NewRebalanceReadOnlyGroupRequest() (request *RebalanceReadOnlyGroupRequest)
func (*RebalanceReadOnlyGroupRequest) FromJsonString ¶
func (r *RebalanceReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebalanceReadOnlyGroupRequest) ToJsonString ¶
func (r *RebalanceReadOnlyGroupRequest) ToJsonString() string
type RebalanceReadOnlyGroupResponse ¶
type RebalanceReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRebalanceReadOnlyGroupResponse ¶
func NewRebalanceReadOnlyGroupResponse() (response *RebalanceReadOnlyGroupResponse)
func (*RebalanceReadOnlyGroupResponse) FromJsonString ¶
func (r *RebalanceReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebalanceReadOnlyGroupResponse) ToJsonString ¶
func (r *RebalanceReadOnlyGroupResponse) ToJsonString() string
type RegionInfo ¶
type RegionInfo struct { // Region abbreviation Region *string `json:"Region,omitempty" name:"Region"` // Region name RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Region number RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"` // Availability status. UNAVAILABLE: unavailable, AVAILABLE: available RegionState *string `json:"RegionState,omitempty" name:"RegionState"` // Whether the resource can be purchased in this region. Valid values: `0` (no), `1` (yes). // Note: this field may return `null`, indicating that no valid values can be obtained. SupportInternational *uint64 `json:"SupportInternational,omitempty" name:"SupportInternational"` }
type RemoveDBInstanceFromReadOnlyGroupRequest ¶
type RemoveDBInstanceFromReadOnlyGroupRequest struct { *tchttp.BaseRequest // Instance ID DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // RO group ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"` }
func NewRemoveDBInstanceFromReadOnlyGroupRequest ¶
func NewRemoveDBInstanceFromReadOnlyGroupRequest() (request *RemoveDBInstanceFromReadOnlyGroupRequest)
func (*RemoveDBInstanceFromReadOnlyGroupRequest) FromJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDBInstanceFromReadOnlyGroupRequest) ToJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupRequest) ToJsonString() string
type RemoveDBInstanceFromReadOnlyGroupResponse ¶
type RemoveDBInstanceFromReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *struct { // Task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRemoveDBInstanceFromReadOnlyGroupResponse ¶
func NewRemoveDBInstanceFromReadOnlyGroupResponse() (response *RemoveDBInstanceFromReadOnlyGroupResponse)
func (*RemoveDBInstanceFromReadOnlyGroupResponse) FromJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDBInstanceFromReadOnlyGroupResponse) ToJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupResponse) ToJsonString() string
type RenewInstanceRequest ¶
type RenewInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of `postgres-6fego161` DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Renewal duration in months Period *int64 `json:"Period,omitempty" name:"Period"` // Whether to automatically use vouchers. 1: yes, 0: no. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list (only one voucher can be specified currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` }
func NewRenewInstanceRequest ¶
func NewRenewInstanceRequest() (request *RenewInstanceRequest)
func (*RenewInstanceRequest) FromJsonString ¶
func (r *RenewInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstanceRequest) ToJsonString ¶
func (r *RenewInstanceRequest) ToJsonString() string
type RenewInstanceResponse ¶
type RenewInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Order name DealName *string `json:"DealName,omitempty" name:"DealName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRenewInstanceResponse ¶
func NewRenewInstanceResponse() (response *RenewInstanceResponse)
func (*RenewInstanceResponse) FromJsonString ¶
func (r *RenewInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstanceResponse) ToJsonString ¶
func (r *RenewInstanceResponse) ToJsonString() string
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance account name UserName *string `json:"UserName,omitempty" name:"UserName"` // New password corresponding to `UserName` account Password *string `json:"Password,omitempty" name:"Password"` }
func NewResetAccountPasswordRequest ¶
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶
func (r *ResetAccountPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordRequest) ToJsonString ¶
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetAccountPasswordResponse ¶
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶
func (r *ResetAccountPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordResponse) ToJsonString ¶
func (r *ResetAccountPasswordResponse) ToJsonString() string
type RestartDBInstanceRequest ¶
type RestartDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` }
func NewRestartDBInstanceRequest ¶
func NewRestartDBInstanceRequest() (request *RestartDBInstanceRequest)
func (*RestartDBInstanceRequest) FromJsonString ¶
func (r *RestartDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDBInstanceRequest) ToJsonString ¶
func (r *RestartDBInstanceRequest) ToJsonString() string
type RestartDBInstanceResponse ¶
type RestartDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Async flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRestartDBInstanceResponse ¶
func NewRestartDBInstanceResponse() (response *RestartDBInstanceResponse)
func (*RestartDBInstanceResponse) FromJsonString ¶
func (r *RestartDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDBInstanceResponse) ToJsonString ¶
func (r *RestartDBInstanceResponse) ToJsonString() string
type ServerlessDBAccount ¶
type ServerlessDBAccount struct { // Username // Note: this field may return `null`, indicating that no valid values can be obtained. DBUser *string `json:"DBUser,omitempty" name:"DBUser"` // Password // Note: this field may return `null`, indicating that no valid values can be obtained. DBPassword *string `json:"DBPassword,omitempty" name:"DBPassword"` // The maximum number of connections // Note: this field may return `null`, indicating that no valid values can be obtained. DBConnLimit *int64 `json:"DBConnLimit,omitempty" name:"DBConnLimit"` }
type ServerlessDBInstance ¶
type ServerlessDBInstance struct { // Instance ID, which is the unique identifier // Note: this field may return `null`, indicating that no valid values can be obtained. DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Instance name // Note: this field may return `null`, indicating that no valid values can be obtained. DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"` // Instance status // Note: this field may return `null`, indicating that no valid values can be obtained. DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" name:"DBInstanceStatus"` // Region // Note: this field may return `null`, indicating that no valid values can be obtained. Region *string `json:"Region,omitempty" name:"Region"` // Availability zone // Note: this field may return `null`, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitempty" name:"Zone"` // Project ID // Note: this field may return `null`, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // VPC ID // Note: this field may return `null`, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: this field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Character set // Note: this field may return `null`, indicating that no valid values can be obtained. DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"` // Database version // Note: this field may return `null`, indicating that no valid values can be obtained. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Creation time // Note: this field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Instance network information // Note: this field may return `null`, indicating that no valid values can be obtained. DBInstanceNetInfo []*ServerlessDBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"` // Instance account information // Note: this field may return `null`, indicating that no valid values can be obtained. DBAccountSet []*ServerlessDBAccount `json:"DBAccountSet,omitempty" name:"DBAccountSet"` // Information of the databases in an instance // Note: this field may return `null`, indicating that no valid values can be obtained. DBDatabaseList []*string `json:"DBDatabaseList,omitempty" name:"DBDatabaseList"` // The array of tags bound to an instance // Note: this field may return `null`, indicating that no valid values can be obtained. TagList []*Tag `json:"TagList,omitempty" name:"TagList"` // Database kernel version // Note: this field may return `null`, indicating that no valid values can be obtained. DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"` // Database major version number // Note: this field may return `null`, indicating that no valid values can be obtained. DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"` }
type ServerlessDBInstanceNetInfo ¶
type ServerlessDBInstanceNetInfo struct { // Address // Note: this field may return `null`, indicating that no valid values can be obtained. Address *string `json:"Address,omitempty" name:"Address"` // IP address // Note: this field may return `null`, indicating that no valid values can be obtained. Ip *string `json:"Ip,omitempty" name:"Ip"` // Port number // Note: this field may return `null`, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitempty" name:"Port"` // Status // Note: this field may return `null`, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Network type // Note: this field may return `null`, indicating that no valid values can be obtained. NetType *string `json:"NetType,omitempty" name:"NetType"` }
type SetAutoRenewFlagRequest ¶
type SetAutoRenewFlagRequest struct { *tchttp.BaseRequest // Instance ID array DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"` // Renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal upon expiration AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` }
func NewSetAutoRenewFlagRequest ¶
func NewSetAutoRenewFlagRequest() (request *SetAutoRenewFlagRequest)
func (*SetAutoRenewFlagRequest) FromJsonString ¶
func (r *SetAutoRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAutoRenewFlagRequest) ToJsonString ¶
func (r *SetAutoRenewFlagRequest) ToJsonString() string
type SetAutoRenewFlagResponse ¶
type SetAutoRenewFlagResponse struct { *tchttp.BaseResponse Response *struct { // Number of successfully set instances Count *int64 `json:"Count,omitempty" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSetAutoRenewFlagResponse ¶
func NewSetAutoRenewFlagResponse() (response *SetAutoRenewFlagResponse)
func (*SetAutoRenewFlagResponse) FromJsonString ¶
func (r *SetAutoRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAutoRenewFlagResponse) ToJsonString ¶
func (r *SetAutoRenewFlagResponse) ToJsonString() string
type SlowlogDetail ¶
type SlowlogDetail struct { // Total time consumed TotalTime *float64 `json:"TotalTime,omitempty" name:"TotalTime"` // Total number of calls TotalCalls *int64 `json:"TotalCalls,omitempty" name:"TotalCalls"` // List of slow SQL statements after desensitization NormalQueries []*NormalQueryItem `json:"NormalQueries,omitempty" name:"NormalQueries"` }
type SpecInfo ¶
type SpecInfo struct { // Region abbreviation, which corresponds to the `Region` field of `RegionSet` Region *string `json:"Region,omitempty" name:"Region"` // AZ abbreviate, which corresponds to the `Zone` field of `ZoneSet` Zone *string `json:"Zone,omitempty" name:"Zone"` // Specification details list SpecItemInfoList []*SpecItemInfo `json:"SpecItemInfoList,omitempty" name:"SpecItemInfoList"` }
type SpecItemInfo ¶
type SpecItemInfo struct { // Specification ID SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"` // PostgerSQL version number Version *string `json:"Version,omitempty" name:"Version"` // Full version name corresponding to kernel number VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Number of CPU cores Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` // Memory size in MB Memory *uint64 `json:"Memory,omitempty" name:"Memory"` // Maximum storage capacity in GB supported by this specification MaxStorage *uint64 `json:"MaxStorage,omitempty" name:"MaxStorage"` // Minimum storage capacity in GB supported by this specification MinStorage *uint64 `json:"MinStorage,omitempty" name:"MinStorage"` // Estimated QPS for this specification Qps *uint64 `json:"Qps,omitempty" name:"Qps"` // Billing ID for this specification Pid *uint64 `json:"Pid,omitempty" name:"Pid"` // Machine type Type *string `json:"Type,omitempty" name:"Type"` // PostgreSQL major version number // Note: this field may return `null`, indicating that no valid values can be obtained. MajorVersion *string `json:"MajorVersion,omitempty" name:"MajorVersion"` // PostgreSQL kernel version number // Note: this field may return `null`, indicating that no valid values can be obtained. KernelVersion *string `json:"KernelVersion,omitempty" name:"KernelVersion"` }
type UpgradeDBInstanceRequest ¶
type UpgradeDBInstanceRequest struct { *tchttp.BaseRequest // Instance memory size in GB after upgrade Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GB after upgrade Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Instance ID in the format of postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"` // Whether to automatically use vouchers. 1: yes, 0: no. Default value: no AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID list (only one voucher can be specified currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Activity ID ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"` // Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at specified time). Default value: `0` SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"` // The earliest time to start a switch SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"` // The latest time to start a switch SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"` }
func NewUpgradeDBInstanceRequest ¶
func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)
func (*UpgradeDBInstanceRequest) FromJsonString ¶
func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceRequest) ToJsonString ¶
func (r *UpgradeDBInstanceRequest) ToJsonString() string
type UpgradeDBInstanceResponse ¶
type UpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Transaction name. DealName *string `json:"DealName,omitempty" name:"DealName"` // Bill ID of frozen fees BillId *string `json:"BillId,omitempty" name:"BillId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpgradeDBInstanceResponse ¶
func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)
func (*UpgradeDBInstanceResponse) FromJsonString ¶
func (r *UpgradeDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceResponse) ToJsonString ¶
func (r *UpgradeDBInstanceResponse) ToJsonString() string
type Xlog ¶
type Xlog struct { // Unique backup file ID Id *int64 `json:"Id,omitempty" name:"Id"` // File generation start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // File generation end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Download address on private network InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"` // Download address on public network ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"` // Backup file size Size *int64 `json:"Size,omitempty" name:"Size"` }
type ZoneInfo ¶
type ZoneInfo struct { // AZ abbreviation Zone *string `json:"Zone,omitempty" name:"Zone"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // AZ number ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Availability status. Valid values: `UNAVAILABLE`, `AVAILABLE`, `SELLOUT` ZoneState *string `json:"ZoneState,omitempty" name:"ZoneState"` // Whether the AZ supports IPv6 address access ZoneSupportIpv6 *uint64 `json:"ZoneSupportIpv6,omitempty" name:"ZoneSupportIpv6"` // AZs that can be used as standby when this AZ is primary // Note: this field may return `null`, indicating that no valid values can be obtained. StandbyZoneSet []*string `json:"StandbyZoneSet,omitempty" name:"StandbyZoneSet"` }