Documentation ¶
Index ¶
- Constants
- type AccountCreateInfo
- type AccountDetail
- type AccountPassword
- type AccountPrivilege
- type AccountPrivilegeModifyInfo
- type AccountRemark
- type Backup
- type BackupFile
- type BusinessIntelligenceFile
- type Client
- func (c *Client) CloneDB(request *CloneDBRequest) (response *CloneDBResponse, err error)
- func (c *Client) CloneDBWithContext(ctx context.Context, request *CloneDBRequest) (response *CloneDBResponse, err error)
- func (c *Client) CloseInterCommunication(request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)
- func (c *Client) CloseInterCommunicationWithContext(ctx context.Context, request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)
- func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateBackupMigration(request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)
- func (c *Client) CreateBackupMigrationWithContext(ctx context.Context, request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)
- func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateBusinessDBInstances(request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)
- func (c *Client) CreateBusinessDBInstancesWithContext(ctx context.Context, request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)
- func (c *Client) CreateBusinessIntelligenceFile(request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)
- func (c *Client) CreateBusinessIntelligenceFileWithContext(ctx context.Context, request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)
- func (c *Client) CreateDB(request *CreateDBRequest) (response *CreateDBResponse, 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) CreateDBWithContext(ctx context.Context, request *CreateDBRequest) (response *CreateDBResponse, err error)
- func (c *Client) CreateIncrementalMigration(request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)
- func (c *Client) CreateIncrementalMigrationWithContext(ctx context.Context, request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)
- func (c *Client) CreateMigration(request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)
- func (c *Client) CreateMigrationWithContext(ctx context.Context, request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)
- func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (c *Client) DeleteBackupMigration(request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)
- func (c *Client) DeleteBackupMigrationWithContext(ctx context.Context, request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)
- func (c *Client) DeleteBusinessIntelligenceFile(request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)
- func (c *Client) DeleteBusinessIntelligenceFileWithContext(ctx context.Context, request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)
- func (c *Client) DeleteDB(request *DeleteDBRequest) (response *DeleteDBResponse, err error)
- func (c *Client) DeleteDBWithContext(ctx context.Context, request *DeleteDBRequest) (response *DeleteDBResponse, err error)
- func (c *Client) DeleteIncrementalMigration(request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)
- func (c *Client) DeleteIncrementalMigrationWithContext(ctx context.Context, request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)
- func (c *Client) DeleteMigration(request *DeleteMigrationRequest) (response *DeleteMigrationResponse, err error)
- func (c *Client) DeleteMigrationWithContext(ctx context.Context, request *DeleteMigrationRequest) (response *DeleteMigrationResponse, 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) DescribeBackupCommand(request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)
- func (c *Client) DescribeBackupCommandWithContext(ctx context.Context, request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)
- func (c *Client) DescribeBackupFiles(request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)
- func (c *Client) DescribeBackupFilesWithContext(ctx context.Context, request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)
- func (c *Client) DescribeBackupMigration(request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)
- func (c *Client) DescribeBackupMigrationWithContext(ctx context.Context, request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)
- func (c *Client) DescribeBackupUploadSize(request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)
- func (c *Client) DescribeBackupUploadSizeWithContext(ctx context.Context, request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)
- func (c *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
- func (c *Client) DescribeBackupsWithContext(ctx context.Context, request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
- func (c *Client) DescribeBusinessIntelligenceFile(request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)
- func (c *Client) DescribeBusinessIntelligenceFileWithContext(ctx context.Context, request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)
- func (c *Client) DescribeDBCharsets(request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)
- func (c *Client) DescribeDBCharsetsWithContext(ctx context.Context, request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)
- func (c *Client) DescribeDBInstanceInter(request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, err error)
- func (c *Client) DescribeDBInstanceInterWithContext(ctx context.Context, request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, 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) DescribeDBs(request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)
- func (c *Client) DescribeDBsNormal(request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)
- func (c *Client) DescribeDBsNormalWithContext(ctx context.Context, request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)
- func (c *Client) DescribeDBsWithContext(ctx context.Context, request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)
- func (c *Client) DescribeFlowStatus(request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)
- func (c *Client) DescribeFlowStatusWithContext(ctx context.Context, request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)
- func (c *Client) DescribeIncrementalMigration(request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)
- func (c *Client) DescribeIncrementalMigrationWithContext(ctx context.Context, request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)
- func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrations(request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, err error)
- func (c *Client) DescribeMigrationsWithContext(ctx context.Context, request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, 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) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
- func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, 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) DescribeRollbackTime(request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)
- func (c *Client) DescribeRollbackTimeWithContext(ctx context.Context, request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)
- func (c *Client) DescribeSlowlogs(request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)
- func (c *Client) DescribeSlowlogsWithContext(ctx context.Context, request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)
- func (c *Client) DescribeUploadBackupInfo(request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, err error)
- func (c *Client) DescribeUploadBackupInfoWithContext(ctx context.Context, request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, 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) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
- func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, 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) ModifyAccountPrivilege(request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, err error)
- func (c *Client) ModifyAccountPrivilegeWithContext(ctx context.Context, request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, 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) ModifyBackupMigration(request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)
- func (c *Client) ModifyBackupMigrationWithContext(ctx context.Context, request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)
- func (c *Client) ModifyBackupStrategy(request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, err error)
- func (c *Client) ModifyBackupStrategyWithContext(ctx context.Context, request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, 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) ModifyDBInstanceNetwork(request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)
- func (c *Client) ModifyDBInstanceNetworkWithContext(ctx context.Context, request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)
- func (c *Client) ModifyDBInstanceProject(request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
- func (c *Client) ModifyDBInstanceProjectWithContext(ctx context.Context, request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
- func (c *Client) ModifyDBName(request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)
- func (c *Client) ModifyDBNameWithContext(ctx context.Context, request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)
- func (c *Client) ModifyDBRemark(request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)
- func (c *Client) ModifyDBRemarkWithContext(ctx context.Context, request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)
- func (c *Client) ModifyDatabaseCDC(request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)
- func (c *Client) ModifyDatabaseCDCWithContext(ctx context.Context, request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)
- func (c *Client) ModifyDatabaseCT(request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)
- func (c *Client) ModifyDatabaseCTWithContext(ctx context.Context, request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)
- func (c *Client) ModifyDatabaseMdf(request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)
- func (c *Client) ModifyDatabaseMdfWithContext(ctx context.Context, request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)
- func (c *Client) ModifyIncrementalMigration(request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)
- func (c *Client) ModifyIncrementalMigrationWithContext(ctx context.Context, request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)
- func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyMigration(request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)
- func (c *Client) ModifyMigrationWithContext(ctx context.Context, request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)
- func (c *Client) OpenInterCommunication(request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)
- func (c *Client) OpenInterCommunicationWithContext(ctx context.Context, request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)
- func (c *Client) RecycleDBInstance(request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, err error)
- func (c *Client) RecycleDBInstanceWithContext(ctx context.Context, request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, 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) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
- func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
- func (c *Client) RollbackInstance(request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)
- func (c *Client) RollbackInstanceWithContext(ctx context.Context, request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)
- func (c *Client) RunMigration(request *RunMigrationRequest) (response *RunMigrationResponse, err error)
- func (c *Client) RunMigrationWithContext(ctx context.Context, request *RunMigrationRequest) (response *RunMigrationResponse, err error)
- func (c *Client) StartBackupMigration(request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)
- func (c *Client) StartBackupMigrationWithContext(ctx context.Context, request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)
- func (c *Client) StartIncrementalMigration(request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)
- func (c *Client) StartIncrementalMigrationWithContext(ctx context.Context, request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)
- func (c *Client) TerminateDBInstance(request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, err error)
- func (c *Client) TerminateDBInstanceWithContext(ctx context.Context, request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, 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 CloneDBRequest
- type CloneDBRequestParams
- type CloneDBResponse
- type CloneDBResponseParams
- type CloseInterCommunicationRequest
- type CloseInterCommunicationRequestParams
- type CloseInterCommunicationResponse
- type CloseInterCommunicationResponseParams
- type CosUploadBackupFile
- type CreateAccountRequest
- type CreateAccountRequestParams
- type CreateAccountResponse
- type CreateAccountResponseParams
- type CreateBackupMigrationRequest
- type CreateBackupMigrationRequestParams
- type CreateBackupMigrationResponse
- type CreateBackupMigrationResponseParams
- type CreateBackupRequest
- type CreateBackupRequestParams
- type CreateBackupResponse
- type CreateBackupResponseParams
- type CreateBusinessDBInstancesRequest
- type CreateBusinessDBInstancesRequestParams
- type CreateBusinessDBInstancesResponse
- type CreateBusinessDBInstancesResponseParams
- type CreateBusinessIntelligenceFileRequest
- type CreateBusinessIntelligenceFileRequestParams
- type CreateBusinessIntelligenceFileResponse
- type CreateBusinessIntelligenceFileResponseParams
- type CreateDBInstancesRequest
- type CreateDBInstancesRequestParams
- type CreateDBInstancesResponse
- type CreateDBInstancesResponseParams
- type CreateDBRequest
- type CreateDBRequestParams
- type CreateDBResponse
- type CreateDBResponseParams
- type CreateIncrementalMigrationRequest
- type CreateIncrementalMigrationRequestParams
- type CreateIncrementalMigrationResponse
- type CreateIncrementalMigrationResponseParams
- type CreateMigrationRequest
- type CreateMigrationRequestParams
- type CreateMigrationResponse
- type CreateMigrationResponseParams
- type CrossBackupAddr
- type CrossRegionStatus
- type DBCreateInfo
- type DBDetail
- type DBInstance
- type DBPrivilege
- type DBPrivilegeModifyInfo
- type DBRemark
- type DBRenameRes
- type DbNormalDetail
- type DbRollbackTimeInfo
- type DealInfo
- type DeleteAccountRequest
- type DeleteAccountRequestParams
- type DeleteAccountResponse
- type DeleteAccountResponseParams
- type DeleteBackupMigrationRequest
- type DeleteBackupMigrationRequestParams
- type DeleteBackupMigrationResponse
- type DeleteBackupMigrationResponseParams
- type DeleteBusinessIntelligenceFileRequest
- type DeleteBusinessIntelligenceFileRequestParams
- type DeleteBusinessIntelligenceFileResponse
- type DeleteBusinessIntelligenceFileResponseParams
- type DeleteDBRequest
- type DeleteDBRequestParams
- type DeleteDBResponse
- type DeleteDBResponseParams
- type DeleteIncrementalMigrationRequest
- type DeleteIncrementalMigrationRequestParams
- type DeleteIncrementalMigrationResponse
- type DeleteIncrementalMigrationResponseParams
- type DeleteMigrationRequest
- type DeleteMigrationRequestParams
- type DeleteMigrationResponse
- type DeleteMigrationResponseParams
- type DescribeAccountsRequest
- type DescribeAccountsRequestParams
- type DescribeAccountsResponse
- type DescribeAccountsResponseParams
- type DescribeBackupCommandRequest
- type DescribeBackupCommandRequestParams
- type DescribeBackupCommandResponse
- type DescribeBackupCommandResponseParams
- type DescribeBackupFilesRequest
- type DescribeBackupFilesRequestParams
- type DescribeBackupFilesResponse
- type DescribeBackupFilesResponseParams
- type DescribeBackupMigrationRequest
- type DescribeBackupMigrationRequestParams
- type DescribeBackupMigrationResponse
- type DescribeBackupMigrationResponseParams
- type DescribeBackupUploadSizeRequest
- type DescribeBackupUploadSizeRequestParams
- type DescribeBackupUploadSizeResponse
- type DescribeBackupUploadSizeResponseParams
- type DescribeBackupsRequest
- type DescribeBackupsRequestParams
- type DescribeBackupsResponse
- type DescribeBackupsResponseParams
- type DescribeBusinessIntelligenceFileRequest
- type DescribeBusinessIntelligenceFileRequestParams
- type DescribeBusinessIntelligenceFileResponse
- type DescribeBusinessIntelligenceFileResponseParams
- type DescribeDBCharsetsRequest
- type DescribeDBCharsetsRequestParams
- type DescribeDBCharsetsResponse
- type DescribeDBCharsetsResponseParams
- type DescribeDBInstanceInterRequest
- type DescribeDBInstanceInterRequestParams
- type DescribeDBInstanceInterResponse
- type DescribeDBInstanceInterResponseParams
- type DescribeDBInstancesRequest
- type DescribeDBInstancesRequestParams
- type DescribeDBInstancesResponse
- type DescribeDBInstancesResponseParams
- type DescribeDBsNormalRequest
- type DescribeDBsNormalRequestParams
- type DescribeDBsNormalResponse
- type DescribeDBsNormalResponseParams
- type DescribeDBsRequest
- type DescribeDBsRequestParams
- type DescribeDBsResponse
- type DescribeDBsResponseParams
- type DescribeFlowStatusRequest
- type DescribeFlowStatusRequestParams
- type DescribeFlowStatusResponse
- type DescribeFlowStatusResponseParams
- type DescribeIncrementalMigrationRequest
- type DescribeIncrementalMigrationRequestParams
- type DescribeIncrementalMigrationResponse
- type DescribeIncrementalMigrationResponseParams
- type DescribeInstanceParamRecordsRequest
- type DescribeInstanceParamRecordsRequestParams
- type DescribeInstanceParamRecordsResponse
- type DescribeInstanceParamRecordsResponseParams
- type DescribeInstanceParamsRequest
- type DescribeInstanceParamsRequestParams
- type DescribeInstanceParamsResponse
- type DescribeInstanceParamsResponseParams
- type DescribeMigrationDetailRequest
- type DescribeMigrationDetailRequestParams
- type DescribeMigrationDetailResponse
- type DescribeMigrationDetailResponseParams
- type DescribeMigrationsRequest
- type DescribeMigrationsRequestParams
- type DescribeMigrationsResponse
- type DescribeMigrationsResponseParams
- type DescribeOrdersRequest
- type DescribeOrdersRequestParams
- type DescribeOrdersResponse
- type DescribeOrdersResponseParams
- type DescribeProductConfigRequest
- type DescribeProductConfigRequestParams
- type DescribeProductConfigResponse
- type DescribeProductConfigResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- type DescribeRollbackTimeRequest
- type DescribeRollbackTimeRequestParams
- type DescribeRollbackTimeResponse
- type DescribeRollbackTimeResponseParams
- type DescribeSlowlogsRequest
- type DescribeSlowlogsRequestParams
- type DescribeSlowlogsResponse
- type DescribeSlowlogsResponseParams
- type DescribeUploadBackupInfoRequest
- type DescribeUploadBackupInfoRequestParams
- type DescribeUploadBackupInfoResponse
- type DescribeUploadBackupInfoResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type FileAction
- type InquiryPriceCreateDBInstancesRequest
- type InquiryPriceCreateDBInstancesRequestParams
- type InquiryPriceCreateDBInstancesResponse
- type InquiryPriceCreateDBInstancesResponseParams
- type InquiryPriceUpgradeDBInstanceRequest
- type InquiryPriceUpgradeDBInstanceRequestParams
- type InquiryPriceUpgradeDBInstanceResponse
- type InquiryPriceUpgradeDBInstanceResponseParams
- type InstanceDBDetail
- type InterInstance
- type InterInstanceFlow
- type MigrateDB
- type MigrateDetail
- type MigrateSource
- type MigrateTarget
- type MigrateTask
- type Migration
- type MigrationAction
- type MigrationDetail
- type MigrationStep
- type ModifyAccountPrivilegeRequest
- type ModifyAccountPrivilegeRequestParams
- type ModifyAccountPrivilegeResponse
- type ModifyAccountPrivilegeResponseParams
- type ModifyAccountRemarkRequest
- type ModifyAccountRemarkRequestParams
- type ModifyAccountRemarkResponse
- type ModifyAccountRemarkResponseParams
- type ModifyBackupMigrationRequest
- type ModifyBackupMigrationRequestParams
- type ModifyBackupMigrationResponse
- type ModifyBackupMigrationResponseParams
- type ModifyBackupStrategyRequest
- type ModifyBackupStrategyRequestParams
- type ModifyBackupStrategyResponse
- type ModifyBackupStrategyResponseParams
- type ModifyDBInstanceNameRequest
- type ModifyDBInstanceNameRequestParams
- type ModifyDBInstanceNameResponse
- type ModifyDBInstanceNameResponseParams
- type ModifyDBInstanceNetworkRequest
- type ModifyDBInstanceNetworkRequestParams
- type ModifyDBInstanceNetworkResponse
- type ModifyDBInstanceNetworkResponseParams
- type ModifyDBInstanceProjectRequest
- type ModifyDBInstanceProjectRequestParams
- type ModifyDBInstanceProjectResponse
- type ModifyDBInstanceProjectResponseParams
- type ModifyDBNameRequest
- type ModifyDBNameRequestParams
- type ModifyDBNameResponse
- type ModifyDBNameResponseParams
- type ModifyDBRemarkRequest
- type ModifyDBRemarkRequestParams
- type ModifyDBRemarkResponse
- type ModifyDBRemarkResponseParams
- type ModifyDatabaseCDCRequest
- type ModifyDatabaseCDCRequestParams
- type ModifyDatabaseCDCResponse
- type ModifyDatabaseCDCResponseParams
- type ModifyDatabaseCTRequest
- type ModifyDatabaseCTRequestParams
- type ModifyDatabaseCTResponse
- type ModifyDatabaseCTResponseParams
- type ModifyDatabaseMdfRequest
- type ModifyDatabaseMdfRequestParams
- type ModifyDatabaseMdfResponse
- type ModifyDatabaseMdfResponseParams
- type ModifyIncrementalMigrationRequest
- type ModifyIncrementalMigrationRequestParams
- type ModifyIncrementalMigrationResponse
- type ModifyIncrementalMigrationResponseParams
- type ModifyInstanceParamRequest
- type ModifyInstanceParamRequestParams
- type ModifyInstanceParamResponse
- type ModifyInstanceParamResponseParams
- type ModifyMigrationRequest
- type ModifyMigrationRequestParams
- type ModifyMigrationResponse
- type ModifyMigrationResponseParams
- type OpenInterCommunicationRequest
- type OpenInterCommunicationRequestParams
- type OpenInterCommunicationResponse
- type OpenInterCommunicationResponseParams
- type ParamRecord
- type Parameter
- type ParameterDetail
- type RecycleDBInstanceRequest
- type RecycleDBInstanceRequestParams
- type RecycleDBInstanceResponse
- type RecycleDBInstanceResponseParams
- type RegionInfo
- type RenameRestoreDatabase
- type ResetAccountPasswordRequest
- type ResetAccountPasswordRequestParams
- type ResetAccountPasswordResponse
- type ResetAccountPasswordResponseParams
- type ResourceTag
- type RestartDBInstanceRequest
- type RestartDBInstanceRequestParams
- type RestartDBInstanceResponse
- type RestartDBInstanceResponseParams
- type RestoreInstanceRequest
- type RestoreInstanceRequestParams
- type RestoreInstanceResponse
- type RestoreInstanceResponseParams
- type RollbackInstanceRequest
- type RollbackInstanceRequestParams
- type RollbackInstanceResponse
- type RollbackInstanceResponseParams
- type RunMigrationRequest
- type RunMigrationRequestParams
- type RunMigrationResponse
- type RunMigrationResponseParams
- type SlaveZones
- type SlowlogInfo
- type SpecInfo
- type StartBackupMigrationRequest
- type StartBackupMigrationRequestParams
- type StartBackupMigrationResponse
- type StartBackupMigrationResponseParams
- type StartIncrementalMigrationRequest
- type StartIncrementalMigrationRequestParams
- type StartIncrementalMigrationResponse
- type StartIncrementalMigrationResponseParams
- type TerminateDBInstanceRequest
- type TerminateDBInstanceRequestParams
- type TerminateDBInstanceResponse
- type TerminateDBInstanceResponseParams
- type UpgradeDBInstanceRequest
- type UpgradeDBInstanceRequestParams
- type UpgradeDBInstanceResponse
- type UpgradeDBInstanceResponseParams
- type ZoneInfo
Constants ¶
const ( // CAM signature/authentication error AUTHFAILURE = "AuthFailure" // Failed to access COS. FAILEDOPERATION_COSERROR = "FailedOperation.CosError" // Errors occurred while acquiring uploaded configuration information. FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError" // Failed to create order. FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" // Database error. FAILEDOPERATION_DBERROR = "FailedOperation.DBError" // The operation failed or the network timed out. FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" // Failed to get VPC information. FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" // Locking the backup import task failed. FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" // Failed to query order. FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed" // Billing error. Failed to query price. FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" // Failed to operate the network or the session timed out. FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError" // Internal error. INTERNALERROR = "InternalError" // CAM authentication request failed. INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed" // COS API error. INTERNALERROR_COSERROR = "InternalError.CosError" // Failed to create flow. INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" // Database connection error. INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" // Database error INTERNALERROR_DBERROR = "InternalError.DBError" // GCS API error. INTERNALERROR_GCSERROR = "InternalError.GcsError" // Errors occurred while acquiring temporary keys. INTERNALERROR_STSERROR = "InternalError.StsError" // System error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Unknown error. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // VPC error INTERNALERROR_VPCERROR = "InternalError.VPCError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Input error. INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" // The API does not exist. INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound" // An error occurred while converting parameter assertion. INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" // Failed to make order payment. INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" // The parameter value is invalid. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Account already exists. INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" // The account name is invalid. INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal" // The account name includes restricted contents. INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords" // The account remarks are invalid. INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal" // You can only apply for one admin account. INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique" // The backup name contains invalid characters. INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" // Invalid number of purchased instances. INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum" // The database character set is incorrectly set. INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal" // Wrong upload path. INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError" // Billing type error. INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported" // The database name contains invalid characters. INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" // The database already exists. INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" // The database name cannot contain reserved words. INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" // The database name is required. INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" // The new database name is the same as the old one. INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame" // The database remarks are invalid. INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal" // Invalid parameter. The value of `GRANT` is invalid. INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" // Invalid region. INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" // Incorrect instance specification information. INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" // Incorrect AZ ID. INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" // The expansion capacity of the instance is lower than the current capacity. INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow" // The instance name contains invalid characters. INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal" // The migration name contains invalid characters. INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" // Only `enable` and `disable` are valid values. INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" // Basic edition instances are not supported. INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported" // Incorrect parameter type. INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" // The account and password are invalid. INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal" // Incorrect database permission settings. INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal" // Invalid security group ID. INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal" // The database limit is exceeded. LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" // An incremental backup import task to be started already exists. RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist" // Resource not found. RESOURCENOTFOUND = "ResourceNotFound" // The account does not exist. RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" // The backup does not exist. RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound" // The database does not exist. RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit" // The database does not exist. RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" // The full backup import task does not exist. RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" // The incremental backup import task does not exist. RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist" // The instance does not exist. RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // Parameter not found. RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound" // The VPC does not exist. RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" // Invalid account status. RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" // The restoration type does not support incremental backup import. RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr" // A wrong status of offline restoration tasks. RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" // Invalid database status. RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" // Invalid instance migration region. RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal" // Invalid instance migration status. RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" // Invalid instance status. RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" // Read-Only instances are not supported. RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" // VPC not found. RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // CAM authentication error. UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" // Unknown parameter error UNKNOWNPARAMETER = "UnknownParameter" // Repeated operations are not supported. UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat" // A wrong upload type. UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError" )
const APIVersion = "2018-03-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreateInfo ¶
type AccountCreateInfo struct { // Instance username UserName *string `json:"UserName,omitempty" name:"UserName"` // Instance password Password *string `json:"Password,omitempty" name:"Password"` // List of database permissions DBPrivileges []*DBPrivilege `json:"DBPrivileges,omitempty" name:"DBPrivileges"` // Account remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether it is an admin account. Valid values: `true` (Yes. It is an admin account when the instance is a basic edition type and `AccountType` is `L0`; it is a privileged account when the instance is a dual-server high availability edition type and `AccountType` is `L1`.), `false` (No. It is a standard account when `AccountType` is `L3`.) IsAdmin *bool `json:"IsAdmin,omitempty" name:"IsAdmin"` // Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Default value: `sql-sqlserver authentication` Authentication *string `json:"Authentication,omitempty" name:"Authentication"` // Account type, which is an extension field of `IsAdmin`. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account, default) AccountType *string `json:"AccountType,omitempty" name:"AccountType"` }
type AccountDetail ¶
type AccountDetail struct { // Account name Name *string `json:"Name,omitempty" name:"Name"` // Account remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Account creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Account status. 1: creating, 2: normal, 3: modifying, 4: resetting password, -1: deleting Status *int64 `json:"Status,omitempty" name:"Status"` // Account update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Password update time PassTime *string `json:"PassTime,omitempty" name:"PassTime"` // Internal account status, which should be `enable` normally InternalStatus *string `json:"InternalStatus,omitempty" name:"InternalStatus"` // Information of read and write permissions of this account on relevant databases Dbs []*DBPrivilege `json:"Dbs,omitempty" name:"Dbs"` // Whether it is an admin account IsAdmin *bool `json:"IsAdmin,omitempty" name:"IsAdmin"` // Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Authentication *string `json:"Authentication,omitempty" name:"Authentication"` // The host required for `win-windows authentication` account Host *string `json:"Host,omitempty" name:"Host"` // Account type. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account). AccountType *string `json:"AccountType,omitempty" name:"AccountType"` }
type AccountPassword ¶
type AccountPrivilege ¶
type AccountPrivilege struct { // Database username UserName *string `json:"UserName,omitempty" name:"UserName"` // Database permission. Valid values: `ReadWrite` (read-write), `ReadOnly` (read-only), `Delete` (delete the database permissions of this account), `DBOwner` (owner). Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // Account name. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account). AccountType *string `json:"AccountType,omitempty" name:"AccountType"` }
type AccountPrivilegeModifyInfo ¶
type AccountPrivilegeModifyInfo struct { // Database username UserName *string `json:"UserName,omitempty" name:"UserName"` // Account permission change information DBPrivileges []*DBPrivilegeModifyInfo `json:"DBPrivileges,omitempty" name:"DBPrivileges"` // Whether the account has the admin permission. Valid values: `true` (Yes. It is an admin account when the instance is a basic edition type and `AccountType` is `L0`; it is a privileged account when the instance is a dual-server high availability edition type and `AccountType` is `L1`.), `false` (No. The admin permission is disabled by default). IsAdmin *bool `json:"IsAdmin,omitempty" name:"IsAdmin"` // Account type, which is an extension field of `IsAdmin`. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account, default) AccountType *string `json:"AccountType,omitempty" name:"AccountType"` }
type AccountRemark ¶
type Backup ¶
type Backup struct { // File name. The name of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter. FileName *string `json:"FileName,omitempty" name:"FileName"` // File size in KB. The size of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter. Size *int64 `json:"Size,omitempty" name:"Size"` // Backup start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Private network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter. InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"` // Public network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter. ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"` // Unique ID of a backup file, which is used by the `RestoreInstance` API. The unique ID of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter. Id *uint64 `json:"Id,omitempty" name:"Id"` // Backup file status (0: creating, 1: succeeded, 2: failed) Status *uint64 `json:"Status,omitempty" name:"Status"` // List of databases for multi-database backup DBs []*string `json:"DBs,omitempty" name:"DBs"` // Backup policy (0: instance backup, 1: multi-database backup) Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // Backup Mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). BackupWay *int64 `json:"BackupWay,omitempty" name:"BackupWay"` // Backup task name (customizable) BackupName *string `json:"BackupName,omitempty" name:"BackupName"` // Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group. This parameter is invalid for archived backup files. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Backup file format. Valid values:`pkg` (archive file), `single` (unarchived files). BackupFormat *string `json:"BackupFormat,omitempty" name:"BackupFormat"` // The code of current region where the instance resides Region *string `json:"Region,omitempty" name:"Region"` // The download address of cross-region backup in target region CrossBackupAddr []*CrossBackupAddr `json:"CrossBackupAddr,omitempty" name:"CrossBackupAddr"` // The target region and status of cross-region backup CrossBackupStatus []*CrossRegionStatus `json:"CrossBackupStatus,omitempty" name:"CrossBackupStatus"` }
type BackupFile ¶
type BackupFile struct { // Unique ID of a backup file Id *uint64 `json:"Id,omitempty" name:"Id"` // Backup file name FileName *string `json:"FileName,omitempty" name:"FileName"` // File size in KB Size *uint64 `json:"Size,omitempty" name:"Size"` // Name of the database corresponding to the backup file DBs []*string `json:"DBs,omitempty" name:"DBs"` // Download address DownloadLink *string `json:"DownloadLink,omitempty" name:"DownloadLink"` // The code of the region where current instance resides Region *string `json:"Region,omitempty" name:"Region"` // The target region and download address of cross-region backup CrossBackupAddr []*CrossBackupAddr `json:"CrossBackupAddr,omitempty" name:"CrossBackupAddr"` }
type BusinessIntelligenceFile ¶
type BusinessIntelligenceFile struct { // File name FileName *string `json:"FileName,omitempty" name:"FileName"` // File type FileType *string `json:"FileType,omitempty" name:"FileType"` // File COS_URL FileURL *string `json:"FileURL,omitempty" name:"FileURL"` // The file path on the server FilePath *string `json:"FilePath,omitempty" name:"FilePath"` // File size in bytes FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` // File MD5 value FileMd5 *string `json:"FileMd5,omitempty" name:"FileMd5"` // File deployment status. Valid values: `1`(Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed). Status *int64 `json:"Status,omitempty" name:"Status"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // File creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Start time of file deployment StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of file deployment EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Returned error message Message *string `json:"Message,omitempty" name:"Message"` // Business intelligence instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Operation information Action *FileAction `json:"Action,omitempty" name:"Action"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CloneDB ¶
func (c *Client) CloneDB(request *CloneDBRequest) (response *CloneDBResponse, err error)
CloneDB This API is used to clone and rename databases of an instance. The clones are still in the instance from which they are cloned.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloneDBWithContext ¶
func (c *Client) CloneDBWithContext(ctx context.Context, request *CloneDBRequest) (response *CloneDBResponse, err error)
CloneDB This API is used to clone and rename databases of an instance. The clones are still in the instance from which they are cloned.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseInterCommunication ¶
func (c *Client) CloseInterCommunication(request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)
CloseInterCommunication This API is used to disable instance interconnection.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CloseInterCommunicationWithContext ¶
func (c *Client) CloseInterCommunicationWithContext(ctx context.Context, request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)
CloseInterCommunication This API is used to disable instance interconnection.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount This API is used to create an instance account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal" INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords" INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal" INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateAccountWithContext ¶
func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount This API is used to create an instance account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal" INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords" INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal" INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackup ¶
func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API is used to create a backup.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackupMigration ¶
func (c *Client) CreateBackupMigration(request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)
CreateBackupMigration This API is used to create a backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackupMigrationWithContext ¶
func (c *Client) CreateBackupMigrationWithContext(ctx context.Context, request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)
CreateBackupMigration This API is used to create a backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBackupWithContext ¶
func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API is used to create a backup.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBusinessDBInstances ¶
func (c *Client) CreateBusinessDBInstances(request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)
CreateBusinessDBInstances This API is used to create a business intelligence service instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBusinessDBInstancesWithContext ¶
func (c *Client) CreateBusinessDBInstancesWithContext(ctx context.Context, request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)
CreateBusinessDBInstances This API is used to create a business intelligence service instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBusinessIntelligenceFile ¶
func (c *Client) CreateBusinessIntelligenceFile(request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)
CreateBusinessIntelligenceFile This API is used to add a business intelligence service file.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateBusinessIntelligenceFileWithContext ¶
func (c *Client) CreateBusinessIntelligenceFileWithContext(ctx context.Context, request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)
CreateBusinessIntelligenceFile This API is used to add a business intelligence service file.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateDB ¶
func (c *Client) CreateDB(request *CreateDBRequest) (response *CreateDBResponse, err error)
CreateDB This API is used to create a database.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateDBInstances ¶
func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances This API is used to create an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateDBInstancesWithContext ¶
func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances This API is used to create an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateDBWithContext ¶
func (c *Client) CreateDBWithContext(ctx context.Context, request *CreateDBRequest) (response *CreateDBResponse, err error)
CreateDB This API is used to create a database.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateIncrementalMigration ¶
func (c *Client) CreateIncrementalMigration(request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)
CreateIncrementalMigration This API is used to create an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateIncrementalMigrationWithContext ¶
func (c *Client) CreateIncrementalMigrationWithContext(ctx context.Context, request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)
CreateIncrementalMigration This API is used to create an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateMigration ¶
func (c *Client) CreateMigration(request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)
CreateMigration This API is used to create a migration task.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) CreateMigrationWithContext ¶
func (c *Client) CreateMigrationWithContext(ctx context.Context, request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)
CreateMigration This API is used to create a migration task.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAccount ¶
func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
DeleteAccount This API is used to delete an instance account.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteAccountWithContext ¶
func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
DeleteAccount This API is used to delete an instance account.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBackupMigration ¶
func (c *Client) DeleteBackupMigration(request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)
DeleteBackupMigration This API is used to delete a backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBackupMigrationWithContext ¶
func (c *Client) DeleteBackupMigrationWithContext(ctx context.Context, request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)
DeleteBackupMigration This API is used to delete a backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBusinessIntelligenceFile ¶
func (c *Client) DeleteBusinessIntelligenceFile(request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)
DeleteBusinessIntelligenceFile This API is used to delete a business intelligence service file.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteBusinessIntelligenceFileWithContext ¶
func (c *Client) DeleteBusinessIntelligenceFileWithContext(ctx context.Context, request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)
DeleteBusinessIntelligenceFile This API is used to delete a business intelligence service file.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteDB ¶
func (c *Client) DeleteDB(request *DeleteDBRequest) (response *DeleteDBResponse, err error)
DeleteDB This API is used to drop a database.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteDBWithContext ¶
func (c *Client) DeleteDBWithContext(ctx context.Context, request *DeleteDBRequest) (response *DeleteDBResponse, err error)
DeleteDB This API is used to drop a database.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteIncrementalMigration ¶
func (c *Client) DeleteIncrementalMigration(request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)
DeleteIncrementalMigration This API is used to delete an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteIncrementalMigrationWithContext ¶
func (c *Client) DeleteIncrementalMigrationWithContext(ctx context.Context, request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)
DeleteIncrementalMigration This API is used to delete an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteMigration ¶
func (c *Client) DeleteMigration(request *DeleteMigrationRequest) (response *DeleteMigrationResponse, err error)
DeleteMigration This API is used to delete a migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DeleteMigrationWithContext ¶
func (c *Client) DeleteMigrationWithContext(ctx context.Context, request *DeleteMigrationRequest) (response *DeleteMigrationResponse, err error)
DeleteMigration This API is used to delete a migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to pull the list of instance accounts.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeAccountsWithContext ¶
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts This API is used to pull the list of instance accounts.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupCommand ¶
func (c *Client) DescribeBackupCommand(request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)
DescribeBackupCommand This API is used to query the commands of creating backups canonically.
error code that may be returned:
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupCommandWithContext ¶
func (c *Client) DescribeBackupCommandWithContext(ctx context.Context, request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)
DescribeBackupCommand This API is used to query the commands of creating backups canonically.
error code that may be returned:
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupFiles ¶
func (c *Client) DescribeBackupFiles(request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)
DescribeBackupFiles This API is used to query the list of unarchived database backup files.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupFilesWithContext ¶
func (c *Client) DescribeBackupFilesWithContext(ctx context.Context, request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)
DescribeBackupFiles This API is used to query the list of unarchived database backup files.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupMigration ¶
func (c *Client) DescribeBackupMigration(request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)
DescribeBackupMigration This API is used to create an incremental backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupMigrationWithContext ¶
func (c *Client) DescribeBackupMigrationWithContext(ctx context.Context, request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)
DescribeBackupMigration This API is used to create an incremental backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupUploadSize ¶
func (c *Client) DescribeBackupUploadSize(request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)
DescribeBackupUploadSize This API is used to query the size of uploaded backup files. It is valid if the backup file type is `COS_UPLOAD` (the file is stored in COS).
error code that may be returned:
INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupUploadSizeWithContext ¶
func (c *Client) DescribeBackupUploadSizeWithContext(ctx context.Context, request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)
DescribeBackupUploadSize This API is used to query the size of uploaded backup files. It is valid if the backup file type is `COS_UPLOAD` (the file is stored in COS).
error code that may be returned:
INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackups ¶
func (c *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
DescribeBackups This API is used to query the list of backups.
error code that may be returned:
FAILEDOPERATION_COSERROR = "FailedOperation.CosError" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBackupsWithContext ¶
func (c *Client) DescribeBackupsWithContext(ctx context.Context, request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
DescribeBackups This API is used to query the list of backups.
error code that may be returned:
FAILEDOPERATION_COSERROR = "FailedOperation.CosError" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBusinessIntelligenceFile ¶
func (c *Client) DescribeBusinessIntelligenceFile(request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)
DescribeBusinessIntelligenceFile This API is used to query the files required by business intelligence service.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeBusinessIntelligenceFileWithContext ¶
func (c *Client) DescribeBusinessIntelligenceFileWithContext(ctx context.Context, request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)
DescribeBusinessIntelligenceFile This API is used to query the files required by business intelligence service.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBCharsets ¶
func (c *Client) DescribeDBCharsets(request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)
DescribeDBCharsets This API is used to query the database character sets supported by an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDBCharsetsWithContext ¶
func (c *Client) DescribeDBCharsetsWithContext(ctx context.Context, request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)
DescribeDBCharsets This API is used to query the database character sets supported by an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDBInstanceInter ¶
func (c *Client) DescribeDBInstanceInter(request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, err error)
DescribeDBInstanceInter This API is used to query the information of the interconnected instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBInstanceInterWithContext ¶
func (c *Client) DescribeDBInstanceInterWithContext(ctx context.Context, request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, err error)
DescribeDBInstanceInter This API is used to query the information of the interconnected instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API is used to query the list of instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBInstancesWithContext ¶
func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API is used to query the list of instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBs ¶
func (c *Client) DescribeDBs(request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)
DescribeDBs This API is used to query the list of databases
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBsNormal ¶
func (c *Client) DescribeDBsNormal(request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)
DescribeDBsNormal This API is used to query database configurations. It does not return information of the accounts that have permissions to operate the database.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBsNormalWithContext ¶
func (c *Client) DescribeDBsNormalWithContext(ctx context.Context, request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)
DescribeDBsNormal This API is used to query database configurations. It does not return information of the accounts that have permissions to operate the database.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeDBsWithContext ¶
func (c *Client) DescribeDBsWithContext(ctx context.Context, request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)
DescribeDBs This API is used to query the list of databases
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeFlowStatus ¶
func (c *Client) DescribeFlowStatus(request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)
DescribeFlowStatus This API is used to query flow status.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeFlowStatusWithContext ¶
func (c *Client) DescribeFlowStatusWithContext(ctx context.Context, request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)
DescribeFlowStatus This API is used to query flow status.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeIncrementalMigration ¶
func (c *Client) DescribeIncrementalMigration(request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)
DescribeIncrementalMigration This API is used to query an incremental backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeIncrementalMigrationWithContext ¶
func (c *Client) DescribeIncrementalMigrationWithContext(ctx context.Context, request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)
DescribeIncrementalMigration This API is used to query an incremental backup import task.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParamRecords ¶
func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
DescribeInstanceParamRecords This API is used to query the parameter modification records of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParamRecordsWithContext ¶
func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
DescribeInstanceParamRecords This API is used to query the parameter modification records of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParams ¶
func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams This API is used to query the parameter list of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeInstanceParamsWithContext ¶
func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams This API is used to query the parameter list of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMigrationDetail ¶
func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
DescribeMigrationDetail This API is used to query migration task details.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMigrationDetailWithContext ¶
func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
DescribeMigrationDetail This API is used to query migration task details.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMigrations ¶
func (c *Client) DescribeMigrations(request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, err error)
DescribeMigrations This API is used to query the list of eligible migration tasks based on the entered criteria.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeMigrationsWithContext ¶
func (c *Client) DescribeMigrationsWithContext(ctx context.Context, request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, err error)
DescribeMigrations This API is used to query the list of eligible migration tasks based on the entered criteria.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeOrders ¶
func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders This API is used to query order information.
error code that may be returned:
FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeOrdersWithContext ¶
func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders This API is used to query order information.
error code that may be returned:
FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProductConfig ¶
func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig This API is used to query purchasable specification configuration.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeProductConfigWithContext ¶
func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig This API is used to query purchasable specification configuration.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query purchasable regions.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRegionsWithContext ¶
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query purchasable regions.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTime ¶
func (c *Client) DescribeRollbackTime(request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)
DescribeRollbackTime This API is used to query the time range available for instance rollback.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeRollbackTimeWithContext ¶
func (c *Client) DescribeRollbackTimeWithContext(ctx context.Context, request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)
DescribeRollbackTime This API is used to query the time range available for instance rollback.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeSlowlogs ¶
func (c *Client) DescribeSlowlogs(request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)
DescribeSlowlogs This API is used to get file information of slow query logs.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeSlowlogsWithContext ¶
func (c *Client) DescribeSlowlogsWithContext(ctx context.Context, request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)
DescribeSlowlogs This API is used to get file information of slow query logs.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeUploadBackupInfo ¶
func (c *Client) DescribeUploadBackupInfo(request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, err error)
DescribeUploadBackupInfo This API is used to query a backup upload permission.
error code that may be returned:
FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError" FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_STSERROR = "InternalError.StsError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError"
func (*Client) DescribeUploadBackupInfoWithContext ¶
func (c *Client) DescribeUploadBackupInfoWithContext(ctx context.Context, request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, err error)
DescribeUploadBackupInfo This API is used to query a backup upload permission.
error code that may be returned:
FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError" FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_STSERROR = "InternalError.StsError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query currently purchasable AZs.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query currently purchasable AZs.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquiryPriceCreateDBInstances ¶
func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances This API is used to query the price of requested instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) InquiryPriceCreateDBInstancesWithContext ¶
func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances This API is used to query the price of requested instances.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
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:
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
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:
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow" INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountPrivilege ¶
func (c *Client) ModifyAccountPrivilege(request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, err error)
ModifyAccountPrivilege This API is used to modify instance account permissions.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyAccountPrivilegeWithContext ¶
func (c *Client) ModifyAccountPrivilegeWithContext(ctx context.Context, request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, err error)
ModifyAccountPrivilege This API is used to modify instance account permissions.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique" INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
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:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
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:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupMigration ¶
func (c *Client) ModifyBackupMigration(request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)
ModifyBackupMigration This API is used to modify a backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupMigrationWithContext ¶
func (c *Client) ModifyBackupMigrationWithContext(ctx context.Context, request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)
ModifyBackupMigration This API is used to modify a backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupStrategy ¶
func (c *Client) ModifyBackupStrategy(request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, err error)
ModifyBackupStrategy This API is used to modify the backup policy.
error code that may be returned:
INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyBackupStrategyWithContext ¶
func (c *Client) ModifyBackupStrategyWithContext(ctx context.Context, request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, err error)
ModifyBackupStrategy This API is used to modify the backup policy.
error code that may be returned:
INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceName ¶
func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API is used to rename an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceNameWithContext ¶
func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API is used to rename an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceNetwork ¶
func (c *Client) ModifyDBInstanceNetwork(request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)
ModifyDBInstanceNetwork This API is used to switch a running instance from a VPC to another.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError" INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VPCError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"
func (*Client) ModifyDBInstanceNetworkWithContext ¶
func (c *Client) ModifyDBInstanceNetworkWithContext(ctx context.Context, request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)
ModifyDBInstanceNetwork This API is used to switch a running instance from a VPC to another.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed" FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError" INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VPCError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"
func (*Client) ModifyDBInstanceProject ¶
func (c *Client) ModifyDBInstanceProject(request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
ModifyDBInstanceProject This API is used to modify the project to which a database instance belongs.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBInstanceProjectWithContext ¶
func (c *Client) ModifyDBInstanceProjectWithContext(ctx context.Context, request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
ModifyDBInstanceProject This API is used to modify the project to which a database instance belongs.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBName ¶
func (c *Client) ModifyDBName(request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)
ModifyDBName This API is used to rename a database.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBNameWithContext ¶
func (c *Client) ModifyDBNameWithContext(ctx context.Context, request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)
ModifyDBName This API is used to rename a database.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods" INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBRemark ¶
func (c *Client) ModifyDBRemark(request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)
ModifyDBRemark This API is used to modify database remarks.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDBRemarkWithContext ¶
func (c *Client) ModifyDBRemarkWithContext(ctx context.Context, request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)
ModifyDBRemark This API is used to modify database remarks.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDatabaseCDC ¶
func (c *Client) ModifyDatabaseCDC(request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)
ModifyDatabaseCDC This API is used to enable or disable the change data capture (CDC) feature.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDatabaseCDCWithContext ¶
func (c *Client) ModifyDatabaseCDCWithContext(ctx context.Context, request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)
ModifyDatabaseCDC This API is used to enable or disable the change data capture (CDC) feature.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDatabaseCT ¶
func (c *Client) ModifyDatabaseCT(request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)
ModifyDatabaseCT This API is used to enable or disable the change tracking (CT) feature.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"
func (*Client) ModifyDatabaseCTWithContext ¶
func (c *Client) ModifyDatabaseCTWithContext(ctx context.Context, request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)
ModifyDatabaseCT This API is used to enable or disable the change tracking (CT) feature.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"
func (*Client) ModifyDatabaseMdf ¶
func (c *Client) ModifyDatabaseMdf(request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)
ModifyDatabaseMdf This API is used to shrink database MDF files.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyDatabaseMdfWithContext ¶
func (c *Client) ModifyDatabaseMdfWithContext(ctx context.Context, request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)
ModifyDatabaseMdf This API is used to shrink database MDF files.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull" INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid" RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyIncrementalMigration ¶
func (c *Client) ModifyIncrementalMigration(request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)
ModifyIncrementalMigration This API is used to modify an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyIncrementalMigrationWithContext ¶
func (c *Client) ModifyIncrementalMigrationWithContext(ctx context.Context, request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)
ModifyIncrementalMigration This API is used to modify an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyInstanceParam ¶
func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam This API is used to modify instance parameters.
<b>Note</b>: if <b>the instance needs to be restarted</b> for the modified parameter to take effect, <b>it will be restarted</b> immediately or during the maintenance time according to the `WaitSwitch` parameter.
Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyInstanceParamWithContext ¶
func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam This API is used to modify instance parameters.
<b>Note</b>: if <b>the instance needs to be restarted</b> for the modified parameter to take effect, <b>it will be restarted</b> immediately or during the maintenance time according to the `WaitSwitch` parameter.
Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyMigration ¶
func (c *Client) ModifyMigration(request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)
ModifyMigration This API is used to modify an existing migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ModifyMigrationWithContext ¶
func (c *Client) ModifyMigrationWithContext(ctx context.Context, request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)
ModifyMigration This API is used to modify an existing migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed" INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal" RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenInterCommunication ¶
func (c *Client) OpenInterCommunication(request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)
OpenInterCommunication This API is used to enable instance interconnection, which can interconnect business intelligence services.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) OpenInterCommunicationWithContext ¶
func (c *Client) OpenInterCommunicationWithContext(ctx context.Context, request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)
OpenInterCommunication This API is used to enable instance interconnection, which can interconnect business intelligence services.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RecycleDBInstance ¶
func (c *Client) RecycleDBInstance(request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, err error)
RecycleDBInstance This API is used to return a deactivated SQL Server instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RecycleDBInstanceWithContext ¶
func (c *Client) RecycleDBInstanceWithContext(ctx context.Context, request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, err error)
RecycleDBInstance This API is used to return a deactivated SQL Server instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResetAccountPassword ¶
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the account password of an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) ResetAccountPasswordWithContext ¶
func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword This API is used to reset the account password of an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal" RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RestartDBInstance ¶
func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance This API is used to restart a database instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RestartDBInstanceWithContext ¶
func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance This API is used to restart a database instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RestoreInstance ¶
func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
RestoreInstance This API is used to restore an instance from a backup file.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RestoreInstanceWithContext ¶
func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
RestoreInstance This API is used to restore an instance from a backup file.
error code that may be returned:
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RollbackInstance ¶
func (c *Client) RollbackInstance(request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)
RollbackInstance This API is used to roll back an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RollbackInstanceWithContext ¶
func (c *Client) RollbackInstanceWithContext(ctx context.Context, request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)
RollbackInstance This API is used to roll back an instance.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_GCSERROR = "InternalError.GcsError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RunMigration ¶
func (c *Client) RunMigration(request *RunMigrationRequest) (response *RunMigrationResponse, err error)
RunMigration This API is used to start running a migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) RunMigrationWithContext ¶
func (c *Client) RunMigrationWithContext(ctx context.Context, request *RunMigrationRequest) (response *RunMigrationResponse, err error)
RunMigration This API is used to start running a migration task.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StartBackupMigration ¶
func (c *Client) StartBackupMigration(request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)
StartBackupMigration This API is used to start a backup import task.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StartBackupMigrationWithContext ¶
func (c *Client) StartBackupMigrationWithContext(ctx context.Context, request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)
StartBackupMigration This API is used to start a backup import task.
error code that may be returned:
FAILEDOPERATION_DBERROR = "FailedOperation.DBError" FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StartIncrementalMigration ¶
func (c *Client) StartIncrementalMigration(request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)
StartIncrementalMigration This API is used to start an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) StartIncrementalMigrationWithContext ¶
func (c *Client) StartIncrementalMigrationWithContext(ctx context.Context, request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)
StartIncrementalMigration This API is used to start an incremental backup import task.
error code that may be returned:
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal" RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound" RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist" RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) TerminateDBInstance ¶
func (c *Client) TerminateDBInstance(request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, err error)
TerminateDBInstance This API is used to isolate an instance to move it into a recycle bin.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) TerminateDBInstanceWithContext ¶
func (c *Client) TerminateDBInstanceWithContext(ctx context.Context, request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, err error)
TerminateDBInstance This API is used to isolate an instance to move it into a recycle bin.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeDBInstance ¶
func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
func (*Client) UpgradeDBInstanceWithContext ¶
func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade an instance.
error code that may be returned:
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal" INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed" INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed" INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
type CloneDBRequest ¶
type CloneDBRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Clone and rename the databases specified in `ReNameRestoreDatabase`. Please note that the clones must be renamed. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
func NewCloneDBRequest ¶
func NewCloneDBRequest() (request *CloneDBRequest)
func (*CloneDBRequest) FromJsonString ¶
func (r *CloneDBRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBRequest) ToJsonString ¶
func (r *CloneDBRequest) ToJsonString() string
type CloneDBRequestParams ¶
type CloneDBRequestParams struct { // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Clone and rename the databases specified in `ReNameRestoreDatabase`. Please note that the clones must be renamed. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
Predefined struct for user
type CloneDBResponse ¶
type CloneDBResponse struct { *tchttp.BaseResponse Response *CloneDBResponseParams `json:"Response"` }
func NewCloneDBResponse ¶
func NewCloneDBResponse() (response *CloneDBResponse)
func (*CloneDBResponse) FromJsonString ¶
func (r *CloneDBResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBResponse) ToJsonString ¶
func (r *CloneDBResponse) ToJsonString() string
type CloneDBResponseParams ¶
type CloneDBResponseParams struct { // Async task request ID, which can be used in the `DescribeFlowStatus` API to query the execution result of an async task FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseInterCommunicationRequest ¶
type CloseInterCommunicationRequest struct { *tchttp.BaseRequest // IDs of instances with interconnection disabled InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
func NewCloseInterCommunicationRequest ¶
func NewCloseInterCommunicationRequest() (request *CloseInterCommunicationRequest)
func (*CloseInterCommunicationRequest) FromJsonString ¶
func (r *CloseInterCommunicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseInterCommunicationRequest) ToJsonString ¶
func (r *CloseInterCommunicationRequest) ToJsonString() string
type CloseInterCommunicationRequestParams ¶
type CloseInterCommunicationRequestParams struct { // IDs of instances with interconnection disabled InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
Predefined struct for user
type CloseInterCommunicationResponse ¶
type CloseInterCommunicationResponse struct { *tchttp.BaseResponse Response *CloseInterCommunicationResponseParams `json:"Response"` }
func NewCloseInterCommunicationResponse ¶
func NewCloseInterCommunicationResponse() (response *CloseInterCommunicationResponse)
func (*CloseInterCommunicationResponse) FromJsonString ¶
func (r *CloseInterCommunicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseInterCommunicationResponse) ToJsonString ¶
func (r *CloseInterCommunicationResponse) ToJsonString() string
type CloseInterCommunicationResponseParams ¶
type CloseInterCommunicationResponseParams struct { // IDs of instance and async task InterInstanceFlowSet []*InterInstanceFlow `json:"InterInstanceFlowSet,omitempty" name:"InterInstanceFlowSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CosUploadBackupFile ¶
type CreateAccountRequest ¶
type CreateAccountRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database instance account information Accounts []*AccountCreateInfo `json:"Accounts,omitempty" name:"Accounts"` }
func NewCreateAccountRequest ¶
func NewCreateAccountRequest() (request *CreateAccountRequest)
func (*CreateAccountRequest) FromJsonString ¶
func (r *CreateAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountRequest) ToJsonString ¶
func (r *CreateAccountRequest) ToJsonString() string
type CreateAccountRequestParams ¶
type CreateAccountRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database instance account information Accounts []*AccountCreateInfo `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type CreateAccountResponse ¶
type CreateAccountResponse struct { *tchttp.BaseResponse Response *CreateAccountResponseParams `json:"Response"` }
func NewCreateAccountResponse ¶
func NewCreateAccountResponse() (response *CreateAccountResponse)
func (*CreateAccountResponse) FromJsonString ¶
func (r *CreateAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountResponse) ToJsonString ¶
func (r *CreateAccountResponse) ToJsonString() string
type CreateAccountResponseParams ¶
type CreateAccountResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBackupMigrationRequest ¶
type CreateBackupMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restoration RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // Backup upload type. COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // Task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` }
func NewCreateBackupMigrationRequest ¶
func NewCreateBackupMigrationRequest() (request *CreateBackupMigrationRequest)
func (*CreateBackupMigrationRequest) FromJsonString ¶
func (r *CreateBackupMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupMigrationRequest) ToJsonString ¶
func (r *CreateBackupMigrationRequest) ToJsonString() string
type CreateBackupMigrationRequestParams ¶
type CreateBackupMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restoration RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // Backup upload type. COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // Task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` }
Predefined struct for user
type CreateBackupMigrationResponse ¶
type CreateBackupMigrationResponse struct { *tchttp.BaseResponse Response *CreateBackupMigrationResponseParams `json:"Response"` }
func NewCreateBackupMigrationResponse ¶
func NewCreateBackupMigrationResponse() (response *CreateBackupMigrationResponse)
func (*CreateBackupMigrationResponse) FromJsonString ¶
func (r *CreateBackupMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupMigrationResponse) ToJsonString ¶
func (r *CreateBackupMigrationResponse) ToJsonString() string
type CreateBackupMigrationResponseParams ¶
type CreateBackupMigrationResponseParams struct { // Backup import task ID BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBackupRequest ¶
type CreateBackupRequest struct { *tchttp.BaseRequest // Backup policy (0: instance backup, 1: multi-database backup) Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // List of names of databases to be backed up (required only for multi-database backup) DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Instance ID in the format of mssql-i1z41iwd InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup name. If this parameter is left empty, a backup name in the format of "[Instance ID]_[Backup start timestamp]" will be automatically generated. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
func NewCreateBackupRequest ¶
func NewCreateBackupRequest() (request *CreateBackupRequest)
func (*CreateBackupRequest) FromJsonString ¶
func (r *CreateBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupRequest) ToJsonString ¶
func (r *CreateBackupRequest) ToJsonString() string
type CreateBackupRequestParams ¶
type CreateBackupRequestParams struct { // Backup policy (0: instance backup, 1: multi-database backup) Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // List of names of databases to be backed up (required only for multi-database backup) DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Instance ID in the format of mssql-i1z41iwd InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup name. If this parameter is left empty, a backup name in the format of "[Instance ID]_[Backup start timestamp]" will be automatically generated. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` }
Predefined struct for user
type CreateBackupResponse ¶
type CreateBackupResponse struct { *tchttp.BaseResponse Response *CreateBackupResponseParams `json:"Response"` }
func NewCreateBackupResponse ¶
func NewCreateBackupResponse() (response *CreateBackupResponse)
func (*CreateBackupResponse) FromJsonString ¶
func (r *CreateBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupResponse) ToJsonString ¶
func (r *CreateBackupResponse) ToJsonString() string
type CreateBackupResponseParams ¶
type CreateBackupResponseParams struct { // The async job ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBusinessDBInstancesRequest ¶
type CreateBusinessDBInstancesRequest struct { *tchttp.BaseRequest // Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // The number of CPU cores of the instance you want to purchase. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // The host type of purchased instance. Valid values: `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD). MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Number of instances purchased this time. Default value: `1`. GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // VPC subnet ID in the format of subnet-bdoe83fa. Both `SubnetId` and `VpcId` need to be set or unset at the same time. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID in the format of vpc-dsp338hz. Both `SubnetId` and `VpcId` need to be set or unset at the same time. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // - Supported versions of business intelligence server. Valid values: `201603` (SQL Server 2016 Integration Services), `201703` (SQL Server 2017 Integration Services), `201903` (SQL Server 2019 Integration Services). Default value: `201903`. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Security group list, which contains security group IDs in the format of sg-xxx. SecurityGroupList []*string `json:"SecurityGroupList,omitempty" name:"SecurityGroupList"` // Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday). Weekly []*int64 `json:"Weekly,omitempty" name:"Weekly"` // Configuration of the maintenance window, which specifies the start time of daily maintenance. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Configuration of the maintenance window, which specifies the maintenance duration in hours. Span *int64 `json:"Span,omitempty" name:"Span"` // Tags associated with the instances to be created ResourceTags []*ResourceTag `json:"ResourceTags,omitempty" name:"ResourceTags"` }
func NewCreateBusinessDBInstancesRequest ¶
func NewCreateBusinessDBInstancesRequest() (request *CreateBusinessDBInstancesRequest)
func (*CreateBusinessDBInstancesRequest) FromJsonString ¶
func (r *CreateBusinessDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBusinessDBInstancesRequest) ToJsonString ¶
func (r *CreateBusinessDBInstancesRequest) ToJsonString() string
type CreateBusinessDBInstancesRequestParams ¶
type CreateBusinessDBInstancesRequestParams struct { // Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // The number of CPU cores of the instance you want to purchase. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // The host type of purchased instance. Valid values: `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD). MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Number of instances purchased this time. Default value: `1`. GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // VPC subnet ID in the format of subnet-bdoe83fa. Both `SubnetId` and `VpcId` need to be set or unset at the same time. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID in the format of vpc-dsp338hz. Both `SubnetId` and `VpcId` need to be set or unset at the same time. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // - Supported versions of business intelligence server. Valid values: `201603` (SQL Server 2016 Integration Services), `201703` (SQL Server 2017 Integration Services), `201903` (SQL Server 2019 Integration Services). Default value: `201903`. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Security group list, which contains security group IDs in the format of sg-xxx. SecurityGroupList []*string `json:"SecurityGroupList,omitempty" name:"SecurityGroupList"` // Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday). Weekly []*int64 `json:"Weekly,omitempty" name:"Weekly"` // Configuration of the maintenance window, which specifies the start time of daily maintenance. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Configuration of the maintenance window, which specifies the maintenance duration in hours. Span *int64 `json:"Span,omitempty" name:"Span"` // Tags associated with the instances to be created ResourceTags []*ResourceTag `json:"ResourceTags,omitempty" name:"ResourceTags"` }
Predefined struct for user
type CreateBusinessDBInstancesResponse ¶
type CreateBusinessDBInstancesResponse struct { *tchttp.BaseResponse Response *CreateBusinessDBInstancesResponseParams `json:"Response"` }
func NewCreateBusinessDBInstancesResponse ¶
func NewCreateBusinessDBInstancesResponse() (response *CreateBusinessDBInstancesResponse)
func (*CreateBusinessDBInstancesResponse) FromJsonString ¶
func (r *CreateBusinessDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBusinessDBInstancesResponse) ToJsonString ¶
func (r *CreateBusinessDBInstancesResponse) ToJsonString() string
type CreateBusinessDBInstancesResponseParams ¶
type CreateBusinessDBInstancesResponseParams 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"` }
Predefined struct for user
type CreateBusinessIntelligenceFileRequest ¶
type CreateBusinessIntelligenceFileRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` FileURL *string `json:"FileURL,omitempty" name:"FileURL"` // File type. Valid values: `FLAT` (flat file as data source), `SSIS` (.ispac SSIS package file) FileType *string `json:"FileType,omitempty" name:"FileType"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewCreateBusinessIntelligenceFileRequest ¶
func NewCreateBusinessIntelligenceFileRequest() (request *CreateBusinessIntelligenceFileRequest)
func (*CreateBusinessIntelligenceFileRequest) FromJsonString ¶
func (r *CreateBusinessIntelligenceFileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBusinessIntelligenceFileRequest) ToJsonString ¶
func (r *CreateBusinessIntelligenceFileRequest) ToJsonString() string
type CreateBusinessIntelligenceFileRequestParams ¶
type CreateBusinessIntelligenceFileRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` FileURL *string `json:"FileURL,omitempty" name:"FileURL"` // File type. Valid values: `FLAT` (flat file as data source), `SSIS` (.ispac SSIS package file) FileType *string `json:"FileType,omitempty" name:"FileType"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` }
Predefined struct for user
type CreateBusinessIntelligenceFileResponse ¶
type CreateBusinessIntelligenceFileResponse struct { *tchttp.BaseResponse Response *CreateBusinessIntelligenceFileResponseParams `json:"Response"` }
func NewCreateBusinessIntelligenceFileResponse ¶
func NewCreateBusinessIntelligenceFileResponse() (response *CreateBusinessIntelligenceFileResponse)
func (*CreateBusinessIntelligenceFileResponse) FromJsonString ¶
func (r *CreateBusinessIntelligenceFileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBusinessIntelligenceFileResponse) ToJsonString ¶
func (r *CreateBusinessIntelligenceFileResponse) ToJsonString() string
type CreateBusinessIntelligenceFileResponseParams ¶
type CreateBusinessIntelligenceFileResponseParams struct { // File name FileTaskId *string `json:"FileTaskId,omitempty" name:"FileTaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBInstancesRequest ¶
type CreateDBInstancesRequest struct { *tchttp.BaseRequest // Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Billing mode. Valid value: POSTPAID (pay-as-you-go). InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Number of instances purchased this time. Default value: 1. Maximum value: 10 GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48 Period *int64 `json:"Period,omitempty" name:"Period"` // Whether to automatically use voucher. 0: no, 1: yes. Default value: no AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Array of voucher IDs (currently, only one voucher can be used per order) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Security group list, which contains security group IDs in the format of sg-xxx. SecurityGroupList []*string `json:"SecurityGroupList,omitempty" name:"SecurityGroupList"` // Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday). Weekly []*int64 `json:"Weekly,omitempty" name:"Weekly"` // Configuration of the maintenance window, which specifies the start time of daily maintenance. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Configuration of the maintenance window, which specifies the maintenance duration in hours. Span *int64 `json:"Span,omitempty" name:"Span"` // The type of purchased high-availability instance. Valid values: DUAL (dual-server high availability), CLUSTER (cluster). Default value: DUAL. HAType *string `json:"HAType,omitempty" name:"HAType"` // Whether to deploy across availability zones. Default value: false. MultiZones *bool `json:"MultiZones,omitempty" name:"MultiZones"` // Tags associated with the instances to be created ResourceTags []*ResourceTag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Collation of system character sets. Default value: `Chinese_PRC_CI_AS`. Collation *string `json:"Collation,omitempty" name:"Collation"` // System time zone. Default value: `China Standard Time`. TimeZone *string `json:"TimeZone,omitempty" name:"TimeZone"` }
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 CreateDBInstancesRequestParams ¶
type CreateDBInstancesRequestParams struct { // Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Billing mode. Valid value: POSTPAID (pay-as-you-go). InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Number of instances purchased this time. Default value: 1. Maximum value: 10 GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48 Period *int64 `json:"Period,omitempty" name:"Period"` // Whether to automatically use voucher. 0: no, 1: yes. Default value: no AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Array of voucher IDs (currently, only one voucher can be used per order) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Security group list, which contains security group IDs in the format of sg-xxx. SecurityGroupList []*string `json:"SecurityGroupList,omitempty" name:"SecurityGroupList"` // Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday). Weekly []*int64 `json:"Weekly,omitempty" name:"Weekly"` // Configuration of the maintenance window, which specifies the start time of daily maintenance. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Configuration of the maintenance window, which specifies the maintenance duration in hours. Span *int64 `json:"Span,omitempty" name:"Span"` // The type of purchased high-availability instance. Valid values: DUAL (dual-server high availability), CLUSTER (cluster). Default value: DUAL. HAType *string `json:"HAType,omitempty" name:"HAType"` // Whether to deploy across availability zones. Default value: false. MultiZones *bool `json:"MultiZones,omitempty" name:"MultiZones"` // Tags associated with the instances to be created ResourceTags []*ResourceTag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Collation of system character sets. Default value: `Chinese_PRC_CI_AS`. Collation *string `json:"Collation,omitempty" name:"Collation"` // System time zone. Default value: `China Standard Time`. TimeZone *string `json:"TimeZone,omitempty" name:"TimeZone"` }
Predefined struct for user
type CreateDBInstancesResponse ¶
type CreateDBInstancesResponse struct { *tchttp.BaseResponse Response *CreateDBInstancesResponseParams `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 CreateDBInstancesResponseParams ¶
type CreateDBInstancesResponseParams struct { // Order name DealName *string `json:"DealName,omitempty" name:"DealName"` // Order name array DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBRequest ¶
type CreateDBRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database creation information DBs []*DBCreateInfo `json:"DBs,omitempty" name:"DBs"` }
func NewCreateDBRequest ¶
func NewCreateDBRequest() (request *CreateDBRequest)
func (*CreateDBRequest) FromJsonString ¶
func (r *CreateDBRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBRequest) ToJsonString ¶
func (r *CreateDBRequest) ToJsonString() string
type CreateDBRequestParams ¶
type CreateDBRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database creation information DBs []*DBCreateInfo `json:"DBs,omitempty" name:"DBs"` }
Predefined struct for user
type CreateDBResponse ¶
type CreateDBResponse struct { *tchttp.BaseResponse Response *CreateDBResponseParams `json:"Response"` }
func NewCreateDBResponse ¶
func NewCreateDBResponse() (response *CreateDBResponse)
func (*CreateDBResponse) FromJsonString ¶
func (r *CreateDBResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBResponse) ToJsonString ¶
func (r *CreateDBResponse) ToJsonString() string
type CreateDBResponseParams ¶
type CreateDBResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateIncrementalMigrationRequest ¶
type CreateIncrementalMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup file. If the UploadType of a full backup file is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` // Whether restoration is required. No: not required. Yes: required. Not required by default. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` }
func NewCreateIncrementalMigrationRequest ¶
func NewCreateIncrementalMigrationRequest() (request *CreateIncrementalMigrationRequest)
func (*CreateIncrementalMigrationRequest) FromJsonString ¶
func (r *CreateIncrementalMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIncrementalMigrationRequest) ToJsonString ¶
func (r *CreateIncrementalMigrationRequest) ToJsonString() string
type CreateIncrementalMigrationRequestParams ¶
type CreateIncrementalMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup file. If the UploadType of a full backup file is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` // Whether restoration is required. No: not required. Yes: required. Not required by default. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` }
Predefined struct for user
type CreateIncrementalMigrationResponse ¶
type CreateIncrementalMigrationResponse struct { *tchttp.BaseResponse Response *CreateIncrementalMigrationResponseParams `json:"Response"` }
func NewCreateIncrementalMigrationResponse ¶
func NewCreateIncrementalMigrationResponse() (response *CreateIncrementalMigrationResponse)
func (*CreateIncrementalMigrationResponse) FromJsonString ¶
func (r *CreateIncrementalMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIncrementalMigrationResponse) ToJsonString ¶
func (r *CreateIncrementalMigrationResponse) ToJsonString() string
type CreateIncrementalMigrationResponseParams ¶
type CreateIncrementalMigrationResponseParams struct { // ID of an incremental backup import task IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrationRequest ¶
type CreateMigrationRequest struct { *tchttp.BaseRequest // Migration task name MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // Migration type (1: structure migration, 2: data migration, 3: incremental sync) MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode) SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Migration source Source *MigrateSource `json:"Source,omitempty" name:"Source"` // Migration target Target *MigrateTarget `json:"Target,omitempty" name:"Target"` // Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5) MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet"` // Restore and rename the databases listed in `ReNameRestoreDatabase`. If this parameter is left empty, all restored databases will be renamed in the default format. This parameter takes effect only when `SourceType=5`. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
func NewCreateMigrationRequest ¶
func NewCreateMigrationRequest() (request *CreateMigrationRequest)
func (*CreateMigrationRequest) FromJsonString ¶
func (r *CreateMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrationRequest) ToJsonString ¶
func (r *CreateMigrationRequest) ToJsonString() string
type CreateMigrationRequestParams ¶
type CreateMigrationRequestParams struct { // Migration task name MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // Migration type (1: structure migration, 2: data migration, 3: incremental sync) MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode) SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Migration source Source *MigrateSource `json:"Source,omitempty" name:"Source"` // Migration target Target *MigrateTarget `json:"Target,omitempty" name:"Target"` // Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5) MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet"` // Restore and rename the databases listed in `ReNameRestoreDatabase`. If this parameter is left empty, all restored databases will be renamed in the default format. This parameter takes effect only when `SourceType=5`. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
Predefined struct for user
type CreateMigrationResponse ¶
type CreateMigrationResponse struct { *tchttp.BaseResponse Response *CreateMigrationResponseParams `json:"Response"` }
func NewCreateMigrationResponse ¶
func NewCreateMigrationResponse() (response *CreateMigrationResponse)
func (*CreateMigrationResponse) FromJsonString ¶
func (r *CreateMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrationResponse) ToJsonString ¶
func (r *CreateMigrationResponse) ToJsonString() string
type CreateMigrationResponseParams ¶
type CreateMigrationResponseParams struct { // Migration task ID MigrateId *int64 `json:"MigrateId,omitempty" name:"MigrateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CrossBackupAddr ¶
type CrossBackupAddr struct { // The target region of cross-region backup CrossRegion *string `json:"CrossRegion,omitempty" name:"CrossRegion"` // The address used to download the cross-region backup over a private network CrossInternalAddr *string `json:"CrossInternalAddr,omitempty" name:"CrossInternalAddr"` // The address used to download the cross-region backup over a public network CrossExternalAddr *string `json:"CrossExternalAddr,omitempty" name:"CrossExternalAddr"` }
type CrossRegionStatus ¶
type CrossRegionStatus struct { // The target region of cross-region backup CrossRegion *string `json:"CrossRegion,omitempty" name:"CrossRegion"` // Synchronization status of cross-region backup. Valid values: `0` (creating), `1` (succeeded), `2`: (failed), `4` (syncing) CrossStatus *int64 `json:"CrossStatus,omitempty" name:"CrossStatus"` }
type DBCreateInfo ¶
type DBCreateInfo struct { // Database name DBName *string `json:"DBName,omitempty" name:"DBName"` // Character set, which can be queried by the `DescribeDBCharsets` API. Default value: `Chinese_PRC_CI_AS`. Charset *string `json:"Charset,omitempty" name:"Charset"` // Database account permission information Accounts []*AccountPrivilege `json:"Accounts,omitempty" name:"Accounts"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` }
type DBDetail ¶
type DBDetail struct { // Database name Name *string `json:"Name,omitempty" name:"Name"` // Character set Charset *string `json:"Charset,omitempty" name:"Charset"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Database creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Database status. 1: creating, 2: running, 3: modifying, -1: dropping Status *int64 `json:"Status,omitempty" name:"Status"` // Database account permission information Accounts []*AccountPrivilege `json:"Accounts,omitempty" name:"Accounts"` // Internal status. ONLINE: running InternalStatus *string `json:"InternalStatus,omitempty" name:"InternalStatus"` }
type DBInstance ¶
type DBInstance struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name Name *string `json:"Name,omitempty" name:"Name"` // Project ID of instance ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance region ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Instance AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Instance VPC ID, which will be 0 if the basic network is used VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // Instance VPC subnet ID, which will be 0 if the basic network is used SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // Instance status. Valid values: <li>1: creating</li> <li>2: running</li> <li>3: instance operations restricted (due to the ongoing primary-replica switch)</li> <li>4: isolated</li> <li>5: repossessing</li> <li>6: repossessed</li> <li>7: running tasks (such as backup and rollback tasks)</li> <li>8: eliminated</li> <li>9: expanding capacity</li> <li>10: migrating</li> <li>11: read-only</li> <li>12: restarting</li> <li>13: modifying configuration and waiting for switch</li> <li>14: implementing pub/sub</li> <li>15: modifying pub/sub configuration</li> <li>16: modifying configuration and switching</li> <li>17: creating read-only instances</li> Status *int64 `json:"Status,omitempty" name:"Status"` // Instance access IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Instance access port Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Instance creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Instance update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Instance billing start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Instance billing end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Instance isolation time IsolateTime *string `json:"IsolateTime,omitempty" name:"IsolateTime"` // Instance memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Used storage capacity of instance in GB UsedStorage *int64 `json:"UsedStorage,omitempty" name:"UsedStorage"` // Instance storage capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Instance version VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Instance renewal flag RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // High-availability instance type. Valid values: 1 (dual-server high-availability), 2 (standalone), 3 (multi-AZ), 4 (multi-AZ cluster), 5 (cluster), 9 (private consumption) Model *int64 `json:"Model,omitempty" name:"Model"` // Instance region name, such as ap-guangzhou Region *string `json:"Region,omitempty" name:"Region"` // Instance AZ name, such as ap-guangzhou-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // Backup time point BackupTime *string `json:"BackupTime,omitempty" name:"BackupTime"` // Instance billing mode. 0: pay-as-you-go PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Instance UID Uid *string `json:"Uid,omitempty" name:"Uid"` // Number of CPU cores of instance Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Instance version code Version *string `json:"Version,omitempty" name:"Version"` // Physical server code Type *string `json:"Type,omitempty" name:"Type"` // Billing ID Pid *int64 `json:"Pid,omitempty" name:"Pid"` // Unique string-type ID of instance VPC in the format of `vpc-xxx`, which is an empty string if the basic network is used UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Unique string-type ID of instance subnet in the format of `subnet-xxx`, which is an empty string if the basic network is used UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Instance isolation. // Note: this field may return null, indicating that no valid values can be obtained. IsolateOperator *string `json:"IsolateOperator,omitempty" name:"IsolateOperator"` // Pub/sub flag. Valid values: SUB (subscribe instance), PUB (publish instance). If it is left empty, it refers to a regular instance without a pub/sub design. // Note: this field may return null, indicating that no valid values can be obtained. SubFlag *string `json:"SubFlag,omitempty" name:"SubFlag"` // Read-only flag. Valid values: RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group. // Note: this field may return null, indicating that no valid values can be obtained. ROFlag *string `json:"ROFlag,omitempty" name:"ROFlag"` // Disaster recovery type. Valid values: MIRROR (image), ALWAYSON (AlwaysOn), SINGLE (singleton). // Note: this field may return null, indicating that no valid values can be obtained. HAFlag *string `json:"HAFlag,omitempty" name:"HAFlag"` // The list of tags associated with the instance // Note: this field may return `null`, indicating that no valid values can be obtained. ResourceTags []*ResourceTag `json:"ResourceTags,omitempty" name:"ResourceTags"` // Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node (default value)), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node (valid for Always On clusters)), `slave_no_pkg` (do not archive the backup files of the replica node (valid for Always On clusters)). This parameter is invalid for read-only instances. // Note: this field may return `null`, indicating that no valid values can be obtained. BackupModel *string `json:"BackupModel,omitempty" name:"BackupModel"` // Instance backup info // Note: This field may return `null`, indicating that no valid values can be obtained. InstanceNote *string `json:"InstanceNote,omitempty" name:"InstanceNote"` // Backup cycle BackupCycle []*int64 `json:"BackupCycle,omitempty" name:"BackupCycle"` // Backup cycle type. Valid values: `daily`, `weekly`, `monthly`. BackupCycleType *string `json:"BackupCycleType,omitempty" name:"BackupCycleType"` // Data (log) backup retention period BackupSaveDays *int64 `json:"BackupSaveDays,omitempty" name:"BackupSaveDays"` // Instance type. Valid values: `HA` (high-availability), `RO` (read-only), `SI` (basic edition), `BI` (business intelligence service). InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // The target region of cross-region backup. If this parameter left empty, it indicates that cross-region backup is disabled. CrossRegions []*string `json:"CrossRegions,omitempty" name:"CrossRegions"` // Cross-region backup status. Valid values: `enable` (enabled), `disable` (disabed) CrossBackupEnabled *string `json:"CrossBackupEnabled,omitempty" name:"CrossBackupEnabled"` // The retention period of cross-region backup. Default value: 7 days CrossBackupSaveDays *uint64 `json:"CrossBackupSaveDays,omitempty" name:"CrossBackupSaveDays"` // Domain name of the public network address DnsPodDomain *string `json:"DnsPodDomain,omitempty" name:"DnsPodDomain"` // Port number of the public network TgwWanVPort *int64 `json:"TgwWanVPort,omitempty" name:"TgwWanVPort"` // Collation of system character sets. Default value: `Chinese_PRC_CI_AS`. Collation *string `json:"Collation,omitempty" name:"Collation"` // System time zone. Default value: `China Standard Time`. TimeZone *string `json:"TimeZone,omitempty" name:"TimeZone"` // Whether the instance is deployed across AZs IsDrZone *bool `json:"IsDrZone,omitempty" name:"IsDrZone"` // Replica AZ information // Note: This field may return null, indicating that no valid values can be obtained. SlaveZones *SlaveZones `json:"SlaveZones,omitempty" name:"SlaveZones"` }
type DBPrivilege ¶
type DBPrivilegeModifyInfo ¶
type DBPrivilegeModifyInfo struct { // Database name DBName *string `json:"DBName,omitempty" name:"DBName"` // Permission modification information. Valid values: `ReadWrite` (read-write), `ReadOnly` (read-only), `Delete` (delete the account's permission to this database), `DBOwner` (owner). Privilege *string `json:"Privilege,omitempty" name:"Privilege"` }
type DBRenameRes ¶
type DbNormalDetail ¶
type DbNormalDetail struct { // Whether it is subscribed. Valid values: `0` (no), `1` (yes) IsSubscribed *string `json:"IsSubscribed,omitempty" name:"IsSubscribed"` // Database collation CollationName *string `json:"CollationName,omitempty" name:"CollationName"` // Whether the cleanup task is enabled to automatically remove old change tracking information when CT is enabled. Valid values: `0` (no), `1` (yes) IsAutoCleanupOn *string `json:"IsAutoCleanupOn,omitempty" name:"IsAutoCleanupOn"` // Whether SQL Server Service Broker is enabled. Valid values: `0` (no), `1` (yes) IsBrokerEnabled *string `json:"IsBrokerEnabled,omitempty" name:"IsBrokerEnabled"` // Whether CDC is enabled. Valid values: `0` (disabled), `1` (enabled) IsCdcEnabled *string `json:"IsCdcEnabled,omitempty" name:"IsCdcEnabled"` // Whether CT is enabled. Valid values: `0` (disabled), `1` (enabled) IsDbChainingOn *string `json:"IsDbChainingOn,omitempty" name:"IsDbChainingOn"` // Whether it is encrypted. Valid values: `0` (no), `1` (yes) IsEncrypted *string `json:"IsEncrypted,omitempty" name:"IsEncrypted"` // Whether full-text indexes are enabled. Valid values: `0` (no), `1` (yes) IsFulltextEnabled *string `json:"IsFulltextEnabled,omitempty" name:"IsFulltextEnabled"` // Whether it is a mirror database. Valid values: `0` (no), `1` (yes) IsMirroring *string `json:"IsMirroring,omitempty" name:"IsMirroring"` // Whether it is published. Valid values: `0` (no), `1` (yes) IsPublished *string `json:"IsPublished,omitempty" name:"IsPublished"` // Whether snapshots are enabled. Valid values: `0` (no), `1` (yes) IsReadCommittedSnapshotOn *string `json:"IsReadCommittedSnapshotOn,omitempty" name:"IsReadCommittedSnapshotOn"` // Whether it is trustworthy. Valid values: `0` (no), `1` (yes) IsTrustworthyOn *string `json:"IsTrustworthyOn,omitempty" name:"IsTrustworthyOn"` // Mirroring state MirroringState *string `json:"MirroringState,omitempty" name:"MirroringState"` // Database name Name *string `json:"Name,omitempty" name:"Name"` // Recovery model RecoveryModelDesc *string `json:"RecoveryModelDesc,omitempty" name:"RecoveryModelDesc"` // Retention period (in days) of change tracking information RetentionPeriod *string `json:"RetentionPeriod,omitempty" name:"RetentionPeriod"` // Database status StateDesc *string `json:"StateDesc,omitempty" name:"StateDesc"` // User type UserAccessDesc *string `json:"UserAccessDesc,omitempty" name:"UserAccessDesc"` // Database creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type DbRollbackTimeInfo ¶
type DbRollbackTimeInfo struct { // Database name DBName *string `json:"DBName,omitempty" name:"DBName"` // Start time of time range available for rollback StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of time range available for rollback EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type DealInfo ¶
type DealInfo struct { // Order name DealName *string `json:"DealName,omitempty" name:"DealName"` // Number of items Count *uint64 `json:"Count,omitempty" name:"Count"` // ID of associated flow, which can be used to query the flow execution status FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // This field is required only for an order that creates an instance, indicating the ID of the instance created by the order InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Account OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"` // Instance billing type InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of instance usernames UserNames []*string `json:"UserNames,omitempty" name:"UserNames"` }
func NewDeleteAccountRequest ¶
func NewDeleteAccountRequest() (request *DeleteAccountRequest)
func (*DeleteAccountRequest) FromJsonString ¶
func (r *DeleteAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccountRequest) ToJsonString ¶
func (r *DeleteAccountRequest) ToJsonString() string
type DeleteAccountRequestParams ¶
type DeleteAccountRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of instance usernames UserNames []*string `json:"UserNames,omitempty" name:"UserNames"` }
Predefined struct for user
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { *tchttp.BaseResponse Response *DeleteAccountResponseParams `json:"Response"` }
func NewDeleteAccountResponse ¶
func NewDeleteAccountResponse() (response *DeleteAccountResponse)
func (*DeleteAccountResponse) FromJsonString ¶
func (r *DeleteAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccountResponse) ToJsonString ¶
func (r *DeleteAccountResponse) ToJsonString() string
type DeleteAccountResponseParams ¶
type DeleteAccountResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBackupMigrationRequest ¶
type DeleteBackupMigrationRequest struct { *tchttp.BaseRequest // Target instance ID, which is returned through the API DescribeBackupMigration. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API DescribeBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
func NewDeleteBackupMigrationRequest ¶
func NewDeleteBackupMigrationRequest() (request *DeleteBackupMigrationRequest)
func (*DeleteBackupMigrationRequest) FromJsonString ¶
func (r *DeleteBackupMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupMigrationRequest) ToJsonString ¶
func (r *DeleteBackupMigrationRequest) ToJsonString() string
type DeleteBackupMigrationRequestParams ¶
type DeleteBackupMigrationRequestParams struct { // Target instance ID, which is returned through the API DescribeBackupMigration. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API DescribeBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
Predefined struct for user
type DeleteBackupMigrationResponse ¶
type DeleteBackupMigrationResponse struct { *tchttp.BaseResponse Response *DeleteBackupMigrationResponseParams `json:"Response"` }
func NewDeleteBackupMigrationResponse ¶
func NewDeleteBackupMigrationResponse() (response *DeleteBackupMigrationResponse)
func (*DeleteBackupMigrationResponse) FromJsonString ¶
func (r *DeleteBackupMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupMigrationResponse) ToJsonString ¶
func (r *DeleteBackupMigrationResponse) ToJsonString() string
type DeleteBackupMigrationResponseParams ¶
type DeleteBackupMigrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBusinessIntelligenceFileRequest ¶
type DeleteBusinessIntelligenceFileRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // File name set FileNameSet []*string `json:"FileNameSet,omitempty" name:"FileNameSet"` }
func NewDeleteBusinessIntelligenceFileRequest ¶
func NewDeleteBusinessIntelligenceFileRequest() (request *DeleteBusinessIntelligenceFileRequest)
func (*DeleteBusinessIntelligenceFileRequest) FromJsonString ¶
func (r *DeleteBusinessIntelligenceFileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBusinessIntelligenceFileRequest) ToJsonString ¶
func (r *DeleteBusinessIntelligenceFileRequest) ToJsonString() string
type DeleteBusinessIntelligenceFileRequestParams ¶
type DeleteBusinessIntelligenceFileRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // File name set FileNameSet []*string `json:"FileNameSet,omitempty" name:"FileNameSet"` }
Predefined struct for user
type DeleteBusinessIntelligenceFileResponse ¶
type DeleteBusinessIntelligenceFileResponse struct { *tchttp.BaseResponse Response *DeleteBusinessIntelligenceFileResponseParams `json:"Response"` }
func NewDeleteBusinessIntelligenceFileResponse ¶
func NewDeleteBusinessIntelligenceFileResponse() (response *DeleteBusinessIntelligenceFileResponse)
func (*DeleteBusinessIntelligenceFileResponse) FromJsonString ¶
func (r *DeleteBusinessIntelligenceFileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBusinessIntelligenceFileResponse) ToJsonString ¶
func (r *DeleteBusinessIntelligenceFileResponse) ToJsonString() string
type DeleteBusinessIntelligenceFileResponseParams ¶
type DeleteBusinessIntelligenceFileResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDBRequest ¶
type DeleteDBRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-rljoi3bf InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of database names Names []*string `json:"Names,omitempty" name:"Names"` }
func NewDeleteDBRequest ¶
func NewDeleteDBRequest() (request *DeleteDBRequest)
func (*DeleteDBRequest) FromJsonString ¶
func (r *DeleteDBRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBRequest) ToJsonString ¶
func (r *DeleteDBRequest) ToJsonString() string
type DeleteDBRequestParams ¶
type DeleteDBRequestParams struct { // Instance ID in the format of mssql-rljoi3bf InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of database names Names []*string `json:"Names,omitempty" name:"Names"` }
Predefined struct for user
type DeleteDBResponse ¶
type DeleteDBResponse struct { *tchttp.BaseResponse Response *DeleteDBResponseParams `json:"Response"` }
func NewDeleteDBResponse ¶
func NewDeleteDBResponse() (response *DeleteDBResponse)
func (*DeleteDBResponse) FromJsonString ¶
func (r *DeleteDBResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBResponse) ToJsonString ¶
func (r *DeleteDBResponse) ToJsonString() string
type DeleteDBResponseParams ¶
type DeleteDBResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteIncrementalMigrationRequest ¶
type DeleteIncrementalMigrationRequest struct { *tchttp.BaseRequest // Target instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the `CreateBackupMigration` API BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
func NewDeleteIncrementalMigrationRequest ¶
func NewDeleteIncrementalMigrationRequest() (request *DeleteIncrementalMigrationRequest)
func (*DeleteIncrementalMigrationRequest) FromJsonString ¶
func (r *DeleteIncrementalMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIncrementalMigrationRequest) ToJsonString ¶
func (r *DeleteIncrementalMigrationRequest) ToJsonString() string
type DeleteIncrementalMigrationRequestParams ¶
type DeleteIncrementalMigrationRequestParams struct { // Target instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the `CreateBackupMigration` API BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
Predefined struct for user
type DeleteIncrementalMigrationResponse ¶
type DeleteIncrementalMigrationResponse struct { *tchttp.BaseResponse Response *DeleteIncrementalMigrationResponseParams `json:"Response"` }
func NewDeleteIncrementalMigrationResponse ¶
func NewDeleteIncrementalMigrationResponse() (response *DeleteIncrementalMigrationResponse)
func (*DeleteIncrementalMigrationResponse) FromJsonString ¶
func (r *DeleteIncrementalMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIncrementalMigrationResponse) ToJsonString ¶
func (r *DeleteIncrementalMigrationResponse) ToJsonString() string
type DeleteIncrementalMigrationResponseParams ¶
type DeleteIncrementalMigrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMigrationRequest ¶
type DeleteMigrationRequest struct { *tchttp.BaseRequest // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
func NewDeleteMigrationRequest ¶
func NewDeleteMigrationRequest() (request *DeleteMigrationRequest)
func (*DeleteMigrationRequest) FromJsonString ¶
func (r *DeleteMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMigrationRequest) ToJsonString ¶
func (r *DeleteMigrationRequest) ToJsonString() string
type DeleteMigrationRequestParams ¶
type DeleteMigrationRequestParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
Predefined struct for user
type DeleteMigrationResponse ¶
type DeleteMigrationResponse struct { *tchttp.BaseResponse Response *DeleteMigrationResponseParams `json:"Response"` }
func NewDeleteMigrationResponse ¶
func NewDeleteMigrationResponse() (response *DeleteMigrationResponse)
func (*DeleteMigrationResponse) FromJsonString ¶
func (r *DeleteMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMigrationResponse) ToJsonString ¶
func (r *DeleteMigrationResponse) ToJsonString() string
type DeleteMigrationResponseParams ¶
type DeleteMigrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Account ID Name *string `json:"Name,omitempty" name:"Name"` // Sorting by `createTime`, `updateTime`, or `passTime`. Default value: `createTime` (desc). OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`. 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 DescribeAccountsRequestParams ¶
type DescribeAccountsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Account ID Name *string `json:"Name,omitempty" name:"Name"` // Sorting by `createTime`, `updateTime`, or `passTime`. Default value: `createTime` (desc). OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *DescribeAccountsResponseParams `json:"Response"` }
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeAccountsResponseParams ¶
type DescribeAccountsResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Account information list Accounts []*AccountDetail `json:"Accounts,omitempty" name:"Accounts"` // Total number TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupCommandRequest ¶
type DescribeBackupCommandRequest struct { *tchttp.BaseRequest // Backup file type. Full: full backup. FULL_LOG: full backup which needs log increments. FULL_DIFF: full backup which needs differential increments. LOG: log backup. DIFF: differential backup. BackupFileType *string `json:"BackupFileType,omitempty" name:"BackupFileType"` // Database name DataBaseName *string `json:"DataBaseName,omitempty" name:"DataBaseName"` // Whether restoration is required. No: not required. Yes: required. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` // Storage path of backup files. If this parameter is left empty, the default storage path will be D:\\. LocalPath *string `json:"LocalPath,omitempty" name:"LocalPath"` }
func NewDescribeBackupCommandRequest ¶
func NewDescribeBackupCommandRequest() (request *DescribeBackupCommandRequest)
func (*DescribeBackupCommandRequest) FromJsonString ¶
func (r *DescribeBackupCommandRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupCommandRequest) ToJsonString ¶
func (r *DescribeBackupCommandRequest) ToJsonString() string
type DescribeBackupCommandRequestParams ¶
type DescribeBackupCommandRequestParams struct { // Backup file type. Full: full backup. FULL_LOG: full backup which needs log increments. FULL_DIFF: full backup which needs differential increments. LOG: log backup. DIFF: differential backup. BackupFileType *string `json:"BackupFileType,omitempty" name:"BackupFileType"` // Database name DataBaseName *string `json:"DataBaseName,omitempty" name:"DataBaseName"` // Whether restoration is required. No: not required. Yes: required. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` // Storage path of backup files. If this parameter is left empty, the default storage path will be D:\\. LocalPath *string `json:"LocalPath,omitempty" name:"LocalPath"` }
Predefined struct for user
type DescribeBackupCommandResponse ¶
type DescribeBackupCommandResponse struct { *tchttp.BaseResponse Response *DescribeBackupCommandResponseParams `json:"Response"` }
func NewDescribeBackupCommandResponse ¶
func NewDescribeBackupCommandResponse() (response *DescribeBackupCommandResponse)
func (*DescribeBackupCommandResponse) FromJsonString ¶
func (r *DescribeBackupCommandResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupCommandResponse) ToJsonString ¶
func (r *DescribeBackupCommandResponse) ToJsonString() string
type DescribeBackupCommandResponseParams ¶
type DescribeBackupCommandResponseParams struct { // Create a backup command Command *string `json:"Command,omitempty" name:"Command"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupFilesRequest ¶
type DescribeBackupFilesRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Group ID of unarchived backup files, which can be obtained by the `DescribeBackups` API GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Number of entries to be returned per page. Value range: 1-100. Default value: `20` Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0` Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter backups by database name. If the parameter is left empty, this filter criterion will not take effect. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // List items sorting by backup size. Valid values: `desc`(descending order), `asc` (ascending order). Default value: `desc`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` }
func NewDescribeBackupFilesRequest ¶
func NewDescribeBackupFilesRequest() (request *DescribeBackupFilesRequest)
func (*DescribeBackupFilesRequest) FromJsonString ¶
func (r *DescribeBackupFilesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupFilesRequest) ToJsonString ¶
func (r *DescribeBackupFilesRequest) ToJsonString() string
type DescribeBackupFilesRequestParams ¶
type DescribeBackupFilesRequestParams struct { // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Group ID of unarchived backup files, which can be obtained by the `DescribeBackups` API GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Number of entries to be returned per page. Value range: 1-100. Default value: `20` Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0` Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter backups by database name. If the parameter is left empty, this filter criterion will not take effect. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // List items sorting by backup size. Valid values: `desc`(descending order), `asc` (ascending order). Default value: `desc`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` }
Predefined struct for user
type DescribeBackupFilesResponse ¶
type DescribeBackupFilesResponse struct { *tchttp.BaseResponse Response *DescribeBackupFilesResponseParams `json:"Response"` }
func NewDescribeBackupFilesResponse ¶
func NewDescribeBackupFilesResponse() (response *DescribeBackupFilesResponse)
func (*DescribeBackupFilesResponse) FromJsonString ¶
func (r *DescribeBackupFilesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupFilesResponse) ToJsonString ¶
func (r *DescribeBackupFilesResponse) ToJsonString() string
type DescribeBackupFilesResponseParams ¶
type DescribeBackupFilesResponseParams struct { // Total number of backups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of backup file details BackupFiles []*BackupFile `json:"BackupFiles,omitempty" name:"BackupFiles"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupMigrationRequest ¶
type DescribeBackupMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Import task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // Backup file name BackupFileName *string `json:"BackupFileName,omitempty" name:"BackupFileName"` // Status set of import tasks StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // Import task restoration type: FULL,FULL_LOG,FULL_DIFF RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // The maximum number of results returned per page. Default value: `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeBackupMigrationRequest ¶
func NewDescribeBackupMigrationRequest() (request *DescribeBackupMigrationRequest)
func (*DescribeBackupMigrationRequest) FromJsonString ¶
func (r *DescribeBackupMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupMigrationRequest) ToJsonString ¶
func (r *DescribeBackupMigrationRequest) ToJsonString() string
type DescribeBackupMigrationRequestParams ¶
type DescribeBackupMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration. BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Import task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // Backup file name BackupFileName *string `json:"BackupFileName,omitempty" name:"BackupFileName"` // Status set of import tasks StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // Import task restoration type: FULL,FULL_LOG,FULL_DIFF RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // The maximum number of results returned per page. Default value: `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeBackupMigrationResponse ¶
type DescribeBackupMigrationResponse struct { *tchttp.BaseResponse Response *DescribeBackupMigrationResponseParams `json:"Response"` }
func NewDescribeBackupMigrationResponse ¶
func NewDescribeBackupMigrationResponse() (response *DescribeBackupMigrationResponse)
func (*DescribeBackupMigrationResponse) FromJsonString ¶
func (r *DescribeBackupMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupMigrationResponse) ToJsonString ¶
func (r *DescribeBackupMigrationResponse) ToJsonString() string
type DescribeBackupMigrationResponseParams ¶
type DescribeBackupMigrationResponseParams struct { // Total number of tasks TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Migration task set BackupMigrationSet []*Migration `json:"BackupMigrationSet,omitempty" name:"BackupMigrationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupUploadSizeRequest ¶
type DescribeBackupUploadSizeRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental import task ID IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
func NewDescribeBackupUploadSizeRequest ¶
func NewDescribeBackupUploadSizeRequest() (request *DescribeBackupUploadSizeRequest)
func (*DescribeBackupUploadSizeRequest) FromJsonString ¶
func (r *DescribeBackupUploadSizeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupUploadSizeRequest) ToJsonString ¶
func (r *DescribeBackupUploadSizeRequest) ToJsonString() string
type DescribeBackupUploadSizeRequestParams ¶
type DescribeBackupUploadSizeRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental import task ID IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
Predefined struct for user
type DescribeBackupUploadSizeResponse ¶
type DescribeBackupUploadSizeResponse struct { *tchttp.BaseResponse Response *DescribeBackupUploadSizeResponseParams `json:"Response"` }
func NewDescribeBackupUploadSizeResponse ¶
func NewDescribeBackupUploadSizeResponse() (response *DescribeBackupUploadSizeResponse)
func (*DescribeBackupUploadSizeResponse) FromJsonString ¶
func (r *DescribeBackupUploadSizeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupUploadSizeResponse) ToJsonString ¶
func (r *DescribeBackupUploadSizeResponse) ToJsonString() string
type DescribeBackupUploadSizeResponseParams ¶
type DescribeBackupUploadSizeResponseParams struct { // Information of uploaded backups CosUploadBackupFileSet []*CosUploadBackupFile `json:"CosUploadBackupFileSet,omitempty" name:"CosUploadBackupFileSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupsRequest ¶
type DescribeBackupsRequest struct { *tchttp.BaseRequest // Start name (yyyy-MM-dd HH:mm:ss) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (yyyy-MM-dd HH:mm:ss) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter by backup name. If this parameter is left empty, backup name will not be used in filtering. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` // Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering. Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`. BackupWay *int64 `json:"BackupWay,omitempty" name:"BackupWay"` // Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering. BackupId *uint64 `json:"BackupId,omitempty" name:"BackupId"` // Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files. Group *int64 `json:"Group,omitempty" name:"Group"` // Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`. Type *int64 `json:"Type,omitempty" name:"Type"` // Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files). BackupFormat *string `json:"BackupFormat,omitempty" name:"BackupFormat"` }
func NewDescribeBackupsRequest ¶
func NewDescribeBackupsRequest() (request *DescribeBackupsRequest)
func (*DescribeBackupsRequest) FromJsonString ¶
func (r *DescribeBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupsRequest) ToJsonString ¶
func (r *DescribeBackupsRequest) ToJsonString() string
type DescribeBackupsRequestParams ¶
type DescribeBackupsRequestParams struct { // Start name (yyyy-MM-dd HH:mm:ss) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time (yyyy-MM-dd HH:mm:ss) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter by backup name. If this parameter is left empty, backup name will not be used in filtering. BackupName *string `json:"BackupName,omitempty" name:"BackupName"` // Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering. Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"` // Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`. BackupWay *int64 `json:"BackupWay,omitempty" name:"BackupWay"` // Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering. BackupId *uint64 `json:"BackupId,omitempty" name:"BackupId"` // Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files. Group *int64 `json:"Group,omitempty" name:"Group"` // Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`. Type *int64 `json:"Type,omitempty" name:"Type"` // Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files). BackupFormat *string `json:"BackupFormat,omitempty" name:"BackupFormat"` }
Predefined struct for user
type DescribeBackupsResponse ¶
type DescribeBackupsResponse struct { *tchttp.BaseResponse Response *DescribeBackupsResponseParams `json:"Response"` }
func NewDescribeBackupsResponse ¶
func NewDescribeBackupsResponse() (response *DescribeBackupsResponse)
func (*DescribeBackupsResponse) FromJsonString ¶
func (r *DescribeBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupsResponse) ToJsonString ¶
func (r *DescribeBackupsResponse) ToJsonString() string
type DescribeBackupsResponseParams ¶
type DescribeBackupsResponseParams struct { // Total number of backups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Backup list details Backups []*Backup `json:"Backups,omitempty" name:"Backups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBusinessIntelligenceFileRequest ¶
type DescribeBusinessIntelligenceFileRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // File name FileName *string `json:"FileName,omitempty" name:"FileName"` // Migration task status set. Valid values: `1` (Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed) StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // File type. Valid values: `FLAT` (flat files), `SSIS` (project file for business intelligence service). FileType *string `json:"FileType,omitempty" name:"FileType"` // The maximum number of results returned per page. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting field. Valid values: `file_name`, `create_time`, `start_time`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order: Valid values: `desc`, `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeBusinessIntelligenceFileRequest ¶
func NewDescribeBusinessIntelligenceFileRequest() (request *DescribeBusinessIntelligenceFileRequest)
func (*DescribeBusinessIntelligenceFileRequest) FromJsonString ¶
func (r *DescribeBusinessIntelligenceFileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBusinessIntelligenceFileRequest) ToJsonString ¶
func (r *DescribeBusinessIntelligenceFileRequest) ToJsonString() string
type DescribeBusinessIntelligenceFileRequestParams ¶
type DescribeBusinessIntelligenceFileRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // File name FileName *string `json:"FileName,omitempty" name:"FileName"` // Migration task status set. Valid values: `1` (Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed) StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // File type. Valid values: `FLAT` (flat files), `SSIS` (project file for business intelligence service). FileType *string `json:"FileType,omitempty" name:"FileType"` // The maximum number of results returned per page. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting field. Valid values: `file_name`, `create_time`, `start_time`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order: Valid values: `desc`, `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeBusinessIntelligenceFileResponse ¶
type DescribeBusinessIntelligenceFileResponse struct { *tchttp.BaseResponse Response *DescribeBusinessIntelligenceFileResponseParams `json:"Response"` }
func NewDescribeBusinessIntelligenceFileResponse ¶
func NewDescribeBusinessIntelligenceFileResponse() (response *DescribeBusinessIntelligenceFileResponse)
func (*DescribeBusinessIntelligenceFileResponse) FromJsonString ¶
func (r *DescribeBusinessIntelligenceFileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBusinessIntelligenceFileResponse) ToJsonString ¶
func (r *DescribeBusinessIntelligenceFileResponse) ToJsonString() string
type DescribeBusinessIntelligenceFileResponseParams ¶
type DescribeBusinessIntelligenceFileResponseParams struct { // Total number of file deployment tasks TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // File deployment task set BackupMigrationSet []*BusinessIntelligenceFile `json:"BackupMigrationSet,omitempty" name:"BackupMigrationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBCharsetsRequest ¶
type DescribeDBCharsetsRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBCharsetsRequest ¶
func NewDescribeDBCharsetsRequest() (request *DescribeDBCharsetsRequest)
func (*DescribeDBCharsetsRequest) FromJsonString ¶
func (r *DescribeDBCharsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBCharsetsRequest) ToJsonString ¶
func (r *DescribeDBCharsetsRequest) ToJsonString() string
type DescribeDBCharsetsRequestParams ¶
type DescribeDBCharsetsRequestParams struct { // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBCharsetsResponse ¶
type DescribeDBCharsetsResponse struct { *tchttp.BaseResponse Response *DescribeDBCharsetsResponseParams `json:"Response"` }
func NewDescribeDBCharsetsResponse ¶
func NewDescribeDBCharsetsResponse() (response *DescribeDBCharsetsResponse)
func (*DescribeDBCharsetsResponse) FromJsonString ¶
func (r *DescribeDBCharsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBCharsetsResponse) ToJsonString ¶
func (r *DescribeDBCharsetsResponse) ToJsonString() string
type DescribeDBCharsetsResponseParams ¶
type DescribeDBCharsetsResponseParams struct { // Database character set list DatabaseCharsets []*string `json:"DatabaseCharsets,omitempty" name:"DatabaseCharsets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceInterRequest ¶
type DescribeDBInstanceInterRequest struct { *tchttp.BaseRequest // The maximum number of results returned per page. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Filter by instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6` (Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group). Status *int64 `json:"Status,omitempty" name:"Status"` // The list of instance version numbers VersionSet []*string `json:"VersionSet,omitempty" name:"VersionSet"` // Instance AZ ID in the format of ap-guangzhou-2 Zone *string `json:"Zone,omitempty" name:"Zone"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDBInstanceInterRequest ¶
func NewDescribeDBInstanceInterRequest() (request *DescribeDBInstanceInterRequest)
func (*DescribeDBInstanceInterRequest) FromJsonString ¶
func (r *DescribeDBInstanceInterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceInterRequest) ToJsonString ¶
func (r *DescribeDBInstanceInterRequest) ToJsonString() string
type DescribeDBInstanceInterRequestParams ¶
type DescribeDBInstanceInterRequestParams struct { // The maximum number of results returned per page. Value range: 1-100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Filter by instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6` (Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group). Status *int64 `json:"Status,omitempty" name:"Status"` // The list of instance version numbers VersionSet []*string `json:"VersionSet,omitempty" name:"VersionSet"` // Instance AZ ID in the format of ap-guangzhou-2 Zone *string `json:"Zone,omitempty" name:"Zone"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeDBInstanceInterResponse ¶
type DescribeDBInstanceInterResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceInterResponseParams `json:"Response"` }
func NewDescribeDBInstanceInterResponse ¶
func NewDescribeDBInstanceInterResponse() (response *DescribeDBInstanceInterResponse)
func (*DescribeDBInstanceInterResponse) FromJsonString ¶
func (r *DescribeDBInstanceInterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceInterResponse) ToJsonString ¶
func (r *DescribeDBInstanceInterResponse) ToJsonString() string
type DescribeDBInstanceInterResponseParams ¶
type DescribeDBInstanceInterResponseParams struct { // Number of records returned TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of instance in the interworking group InterInstanceSet []*InterInstance `json:"InterInstanceSet,omitempty" name:"InterInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstancesRequest ¶
type DescribeDBInstancesRequest struct { *tchttp.BaseRequest // Project ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance status. Valid values: // <li>1: applying</li> // <li>2: running</li> // <li>3: running restrictedly (primary/secondary switching)</li> // <li>4: isolated</li> // <li>5: repossessing</li> // <li>6: repossessed</li> // <li>7: executing task (e.g., backing up or rolling back instance)</li> // <li>8: deactivated</li> // <li>9: scaling out instance</li> // <li>10: migrating instance</li> // <li>11: read-only</li> // <li>12: restarting</li> Status *int64 `json:"Status,omitempty" name:"Status"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Value range: 1-100. Default value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // One or more instance IDs in the format of mssql-si2823jyl InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Retrieves billing type. 0: pay-as-you-go PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Unique string-type ID of instance VPC in the format of `vpc-xxx`. If an empty string ("") is passed in, filtering will be made by basic network. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Unique string-type ID of instance subnet in the format of `subnet-xxx`. If an empty string ("") is passed in, filtering will be made by basic network. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // The list of instance private IPs, such as 172.1.0.12 VipSet []*string `json:"VipSet,omitempty" name:"VipSet"` // The list of instance names used for fuzzy match InstanceNameSet []*string `json:"InstanceNameSet,omitempty" name:"InstanceNameSet"` // The list of instance version numbers, such as 2008R2, 2012SP3 VersionSet []*string `json:"VersionSet,omitempty" name:"VersionSet"` // Instance availability zone, such as ap-guangzhou-2 Zone *string `json:"Zone,omitempty" name:"Zone"` // The list of instance tags TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Keyword used for fuzzy match, including instance ID, instance name, and instance private IP SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // Unique Uid of an instance UidSet []*string `json:"UidSet,omitempty" name:"UidSet"` // Instance type. Valid values: `HA` (high-availability), `RO` (read-only), `SI` (basic edition), `BI` (business intelligence service). InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` }
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 DescribeDBInstancesRequestParams ¶
type DescribeDBInstancesRequestParams struct { // Project ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance status. Valid values: // <li>1: applying</li> // <li>2: running</li> // <li>3: running restrictedly (primary/secondary switching)</li> // <li>4: isolated</li> // <li>5: repossessing</li> // <li>6: repossessed</li> // <li>7: executing task (e.g., backing up or rolling back instance)</li> // <li>8: deactivated</li> // <li>9: scaling out instance</li> // <li>10: migrating instance</li> // <li>11: read-only</li> // <li>12: restarting</li> Status *int64 `json:"Status,omitempty" name:"Status"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Value range: 1-100. Default value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // One or more instance IDs in the format of mssql-si2823jyl InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Retrieves billing type. 0: pay-as-you-go PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Unique string-type ID of instance VPC in the format of `vpc-xxx`. If an empty string ("") is passed in, filtering will be made by basic network. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Unique string-type ID of instance subnet in the format of `subnet-xxx`. If an empty string ("") is passed in, filtering will be made by basic network. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // The list of instance private IPs, such as 172.1.0.12 VipSet []*string `json:"VipSet,omitempty" name:"VipSet"` // The list of instance names used for fuzzy match InstanceNameSet []*string `json:"InstanceNameSet,omitempty" name:"InstanceNameSet"` // The list of instance version numbers, such as 2008R2, 2012SP3 VersionSet []*string `json:"VersionSet,omitempty" name:"VersionSet"` // Instance availability zone, such as ap-guangzhou-2 Zone *string `json:"Zone,omitempty" name:"Zone"` // The list of instance tags TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"` // Keyword used for fuzzy match, including instance ID, instance name, and instance private IP SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // Unique Uid of an instance UidSet []*string `json:"UidSet,omitempty" name:"UidSet"` // Instance type. Valid values: `HA` (high-availability), `RO` (read-only), `SI` (basic edition), `BI` (business intelligence service). InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` }
Predefined struct for user
type DescribeDBInstancesResponse ¶
type DescribeDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeDBInstancesResponseParams `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 DescribeDBInstancesResponseParams ¶
type DescribeDBInstancesResponseParams struct { // Total number of eligible instances. If the results are returned in multiple pages, this value will be the number of all eligible instances but not the number of instances returned according to the current values of `Limit` and `Offset` TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance list DBInstances []*DBInstance `json:"DBInstances,omitempty" name:"DBInstances"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBsNormalRequest ¶
type DescribeDBsNormalRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-7vfv3rk3 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBsNormalRequest ¶
func NewDescribeDBsNormalRequest() (request *DescribeDBsNormalRequest)
func (*DescribeDBsNormalRequest) FromJsonString ¶
func (r *DescribeDBsNormalRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBsNormalRequest) ToJsonString ¶
func (r *DescribeDBsNormalRequest) ToJsonString() string
type DescribeDBsNormalRequestParams ¶
type DescribeDBsNormalRequestParams struct { // Instance ID in the format of mssql-7vfv3rk3 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBsNormalResponse ¶
type DescribeDBsNormalResponse struct { *tchttp.BaseResponse Response *DescribeDBsNormalResponseParams `json:"Response"` }
func NewDescribeDBsNormalResponse ¶
func NewDescribeDBsNormalResponse() (response *DescribeDBsNormalResponse)
func (*DescribeDBsNormalResponse) FromJsonString ¶
func (r *DescribeDBsNormalResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBsNormalResponse) ToJsonString ¶
func (r *DescribeDBsNormalResponse) ToJsonString() string
type DescribeDBsNormalResponseParams ¶
type DescribeDBsNormalResponseParams struct { // Total number of databases of the instance TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Detailed database configurations, such as whether CDC or CT is enabled for the database DBList []*DbNormalDetail `json:"DBList,omitempty" name:"DBList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBsRequest ¶
type DescribeDBsRequest struct { *tchttp.BaseRequest // Instance ID InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Database name Name *string `json:"Name,omitempty" name:"Name"` // Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeDBsRequest ¶
func NewDescribeDBsRequest() (request *DescribeDBsRequest)
func (*DescribeDBsRequest) FromJsonString ¶
func (r *DescribeDBsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBsRequest) ToJsonString ¶
func (r *DescribeDBsRequest) ToJsonString() string
type DescribeDBsRequestParams ¶
type DescribeDBsRequestParams struct { // Instance ID InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Database name Name *string `json:"Name,omitempty" name:"Name"` // Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeDBsResponse ¶
type DescribeDBsResponse struct { *tchttp.BaseResponse Response *DescribeDBsResponseParams `json:"Response"` }
func NewDescribeDBsResponse ¶
func NewDescribeDBsResponse() (response *DescribeDBsResponse)
func (*DescribeDBsResponse) FromJsonString ¶
func (r *DescribeDBsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBsResponse) ToJsonString ¶
func (r *DescribeDBsResponse) ToJsonString() string
type DescribeDBsResponseParams ¶
type DescribeDBsResponseParams struct { // Number of databases TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of instance databases DBInstances []*InstanceDBDetail `json:"DBInstances,omitempty" name:"DBInstances"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFlowStatusRequest ¶
type DescribeFlowStatusRequest struct { *tchttp.BaseRequest // Flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` }
func NewDescribeFlowStatusRequest ¶
func NewDescribeFlowStatusRequest() (request *DescribeFlowStatusRequest)
func (*DescribeFlowStatusRequest) FromJsonString ¶
func (r *DescribeFlowStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowStatusRequest) ToJsonString ¶
func (r *DescribeFlowStatusRequest) ToJsonString() string
type DescribeFlowStatusRequestParams ¶
type DescribeFlowStatusRequestParams struct { // Flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` }
Predefined struct for user
type DescribeFlowStatusResponse ¶
type DescribeFlowStatusResponse struct { *tchttp.BaseResponse Response *DescribeFlowStatusResponseParams `json:"Response"` }
func NewDescribeFlowStatusResponse ¶
func NewDescribeFlowStatusResponse() (response *DescribeFlowStatusResponse)
func (*DescribeFlowStatusResponse) FromJsonString ¶
func (r *DescribeFlowStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowStatusResponse) ToJsonString ¶
func (r *DescribeFlowStatusResponse) ToJsonString() string
type DescribeFlowStatusResponseParams ¶
type DescribeFlowStatusResponseParams struct { // Flow status. 0: succeeded, 1: failed, 2: running Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIncrementalMigrationRequest ¶
type DescribeIncrementalMigrationRequest struct { *tchttp.BaseRequest // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file name BackupFileName *string `json:"BackupFileName,omitempty" name:"BackupFileName"` // Status set of import tasks StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // The maximum number of results returned per page. Default value: `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API. IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
func NewDescribeIncrementalMigrationRequest ¶
func NewDescribeIncrementalMigrationRequest() (request *DescribeIncrementalMigrationRequest)
func (*DescribeIncrementalMigrationRequest) FromJsonString ¶
func (r *DescribeIncrementalMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIncrementalMigrationRequest) ToJsonString ¶
func (r *DescribeIncrementalMigrationRequest) ToJsonString() string
type DescribeIncrementalMigrationRequestParams ¶
type DescribeIncrementalMigrationRequestParams struct { // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file name BackupFileName *string `json:"BackupFileName,omitempty" name:"BackupFileName"` // Status set of import tasks StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // The maximum number of results returned per page. Default value: `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`. OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API. IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
Predefined struct for user
type DescribeIncrementalMigrationResponse ¶
type DescribeIncrementalMigrationResponse struct { *tchttp.BaseResponse Response *DescribeIncrementalMigrationResponseParams `json:"Response"` }
func NewDescribeIncrementalMigrationResponse ¶
func NewDescribeIncrementalMigrationResponse() (response *DescribeIncrementalMigrationResponse)
func (*DescribeIncrementalMigrationResponse) FromJsonString ¶
func (r *DescribeIncrementalMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIncrementalMigrationResponse) ToJsonString ¶
func (r *DescribeIncrementalMigrationResponse) ToJsonString() string
type DescribeIncrementalMigrationResponseParams ¶
type DescribeIncrementalMigrationResponseParams struct { // Total number of import tasks TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Incremental import task set IncrementalMigrationSet []*Migration `json:"IncrementalMigrationSet,omitempty" name:"IncrementalMigrationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceParamRecordsRequest ¶
type DescribeInstanceParamRecordsRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The maximum number of results returned per page. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeInstanceParamRecordsRequest ¶
func NewDescribeInstanceParamRecordsRequest() (request *DescribeInstanceParamRecordsRequest)
func (*DescribeInstanceParamRecordsRequest) FromJsonString ¶
func (r *DescribeInstanceParamRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceParamRecordsRequest) ToJsonString ¶
func (r *DescribeInstanceParamRecordsRequest) ToJsonString() string
type DescribeInstanceParamRecordsRequestParams ¶
type DescribeInstanceParamRecordsRequestParams struct { // Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Page number. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The maximum number of results returned per page. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeInstanceParamRecordsResponse ¶
type DescribeInstanceParamRecordsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceParamRecordsResponseParams `json:"Response"` }
func NewDescribeInstanceParamRecordsResponse ¶
func NewDescribeInstanceParamRecordsResponse() (response *DescribeInstanceParamRecordsResponse)
func (*DescribeInstanceParamRecordsResponse) FromJsonString ¶
func (r *DescribeInstanceParamRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceParamRecordsResponse) ToJsonString ¶
func (r *DescribeInstanceParamRecordsResponse) ToJsonString() string
type DescribeInstanceParamRecordsResponseParams ¶
type DescribeInstanceParamRecordsResponseParams struct { // Number of eligible records TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter modification records Items []*ParamRecord `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceParamsRequest ¶
type DescribeInstanceParamsRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceParamsRequest ¶
func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)
func (*DescribeInstanceParamsRequest) FromJsonString ¶
func (r *DescribeInstanceParamsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceParamsRequest) ToJsonString ¶
func (r *DescribeInstanceParamsRequest) ToJsonString() string
type DescribeInstanceParamsRequestParams ¶
type DescribeInstanceParamsRequestParams struct { // Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceParamsResponse ¶
type DescribeInstanceParamsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceParamsResponseParams `json:"Response"` }
func NewDescribeInstanceParamsResponse ¶
func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)
func (*DescribeInstanceParamsResponse) FromJsonString ¶
func (r *DescribeInstanceParamsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceParamsResponse) ToJsonString ¶
func (r *DescribeInstanceParamsResponse) ToJsonString() string
type DescribeInstanceParamsResponseParams ¶
type DescribeInstanceParamsResponseParams struct { // Total number of instance parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter details Items []*ParameterDetail `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationDetailRequest ¶
type DescribeMigrationDetailRequest struct { *tchttp.BaseRequest // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
func NewDescribeMigrationDetailRequest ¶
func NewDescribeMigrationDetailRequest() (request *DescribeMigrationDetailRequest)
func (*DescribeMigrationDetailRequest) FromJsonString ¶
func (r *DescribeMigrationDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationDetailRequest) ToJsonString ¶
func (r *DescribeMigrationDetailRequest) ToJsonString() string
type DescribeMigrationDetailRequestParams ¶
type DescribeMigrationDetailRequestParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
Predefined struct for user
type DescribeMigrationDetailResponse ¶
type DescribeMigrationDetailResponse struct { *tchttp.BaseResponse Response *DescribeMigrationDetailResponseParams `json:"Response"` }
func NewDescribeMigrationDetailResponse ¶
func NewDescribeMigrationDetailResponse() (response *DescribeMigrationDetailResponse)
func (*DescribeMigrationDetailResponse) FromJsonString ¶
func (r *DescribeMigrationDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationDetailResponse) ToJsonString ¶
func (r *DescribeMigrationDetailResponse) ToJsonString() string
type DescribeMigrationDetailResponseParams ¶
type DescribeMigrationDetailResponseParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` // Migration task name MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // User ID of migration task AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Migration task region Region *string `json:"Region,omitempty" name:"Region"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode) SourceType *int64 `json:"SourceType,omitempty" name:"SourceType"` // Migration task creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Migration task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Migration task end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded) Status *uint64 `json:"Status,omitempty" name:"Status"` // Migration task progress Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Migration type (1: structure migration, 2: data migration, 3: incremental sync) MigrateType *int64 `json:"MigrateType,omitempty" name:"MigrateType"` // Migration source Source *MigrateSource `json:"Source,omitempty" name:"Source"` // Migration target Target *MigrateTarget `json:"Target,omitempty" name:"Target"` // Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5) MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationsRequest ¶
type DescribeMigrationsRequest struct { *tchttp.BaseRequest // Status set. As long as a migration task is in a status therein, it will be listed StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // Migration task name (fuzzy match) MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // Number of results per page. Value range: 1-100. Default value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The query results are sorted by keyword. Valid values: name, createTime, startTime, endTime, status OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: desc, asc OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeMigrationsRequest ¶
func NewDescribeMigrationsRequest() (request *DescribeMigrationsRequest)
func (*DescribeMigrationsRequest) FromJsonString ¶
func (r *DescribeMigrationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationsRequest) ToJsonString ¶
func (r *DescribeMigrationsRequest) ToJsonString() string
type DescribeMigrationsRequestParams ¶
type DescribeMigrationsRequestParams struct { // Status set. As long as a migration task is in a status therein, it will be listed StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet"` // Migration task name (fuzzy match) MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // Number of results per page. Value range: 1-100. Default value: 100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The query results are sorted by keyword. Valid values: name, createTime, startTime, endTime, status OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: desc, asc OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeMigrationsResponse ¶
type DescribeMigrationsResponse struct { *tchttp.BaseResponse Response *DescribeMigrationsResponseParams `json:"Response"` }
func NewDescribeMigrationsResponse ¶
func NewDescribeMigrationsResponse() (response *DescribeMigrationsResponse)
func (*DescribeMigrationsResponse) FromJsonString ¶
func (r *DescribeMigrationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationsResponse) ToJsonString ¶
func (r *DescribeMigrationsResponse) ToJsonString() string
type DescribeMigrationsResponseParams ¶
type DescribeMigrationsResponseParams struct { // Total number of query results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of query results MigrateTaskSet []*MigrateTask `json:"MigrateTaskSet,omitempty" name:"MigrateTaskSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOrdersRequest ¶
type DescribeOrdersRequest struct { *tchttp.BaseRequest // Order array. The order name will be returned upon shipping, which can be used to call the `DescribeOrders` API to query shipment status 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 DescribeOrdersRequestParams ¶
type DescribeOrdersRequestParams struct { // Order array. The order name will be returned upon shipping, which can be used to call the `DescribeOrders` API to query shipment status DealNames []*string `json:"DealNames,omitempty" name:"DealNames"` }
Predefined struct for user
type DescribeOrdersResponse ¶
type DescribeOrdersResponse struct { *tchttp.BaseResponse Response *DescribeOrdersResponseParams `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 DescribeOrdersResponseParams ¶
type DescribeOrdersResponseParams struct { // Order information array Deals []*DealInfo `json:"Deals,omitempty" name:"Deals"` // Number of orders returned TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProductConfigRequest ¶
type DescribeProductConfigRequest struct { *tchttp.BaseRequest // AZ ID in the format of ap-guangzhou-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // The type of instances to be purchased. Valid values: HA (High-Availability Edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (Basic Edition) InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` }
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 DescribeProductConfigRequestParams ¶
type DescribeProductConfigRequestParams struct { // AZ ID in the format of ap-guangzhou-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // The type of instances to be purchased. Valid values: HA (High-Availability Edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (Basic Edition) InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` }
Predefined struct for user
type DescribeProductConfigResponse ¶
type DescribeProductConfigResponse struct { *tchttp.BaseResponse Response *DescribeProductConfigResponseParams `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 DescribeProductConfigResponseParams ¶
type DescribeProductConfigResponseParams struct { // Specification information array SpecInfoList []*SpecInfo `json:"SpecInfoList,omitempty" name:"SpecInfoList"` // Number of date entries returned TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type 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 DescribeRegionsRequestParams ¶
type DescribeRegionsRequestParams struct { }
Predefined struct for user
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *DescribeRegionsResponseParams `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 DescribeRegionsResponseParams ¶
type DescribeRegionsResponseParams struct { // Total number of regions returned TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Region information array 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"` }
Predefined struct for user
type DescribeRollbackTimeRequest ¶
type DescribeRollbackTimeRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of databases to be queried DBs []*string `json:"DBs,omitempty" name:"DBs"` }
func NewDescribeRollbackTimeRequest ¶
func NewDescribeRollbackTimeRequest() (request *DescribeRollbackTimeRequest)
func (*DescribeRollbackTimeRequest) FromJsonString ¶
func (r *DescribeRollbackTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeRequest) ToJsonString ¶
func (r *DescribeRollbackTimeRequest) ToJsonString() string
type DescribeRollbackTimeRequestParams ¶
type DescribeRollbackTimeRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of databases to be queried DBs []*string `json:"DBs,omitempty" name:"DBs"` }
Predefined struct for user
type DescribeRollbackTimeResponse ¶
type DescribeRollbackTimeResponse struct { *tchttp.BaseResponse Response *DescribeRollbackTimeResponseParams `json:"Response"` }
func NewDescribeRollbackTimeResponse ¶
func NewDescribeRollbackTimeResponse() (response *DescribeRollbackTimeResponse)
func (*DescribeRollbackTimeResponse) FromJsonString ¶
func (r *DescribeRollbackTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRollbackTimeResponse) ToJsonString ¶
func (r *DescribeRollbackTimeResponse) ToJsonString() string
type DescribeRollbackTimeResponseParams ¶
type DescribeRollbackTimeResponseParams struct { // Information of time range available for database rollback Details []*DbRollbackTimeInfo `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"` }
Predefined struct for user
type DescribeSlowlogsRequest ¶
type DescribeSlowlogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-k8voqdlz InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Query start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeSlowlogsRequest ¶
func NewDescribeSlowlogsRequest() (request *DescribeSlowlogsRequest)
func (*DescribeSlowlogsRequest) FromJsonString ¶
func (r *DescribeSlowlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowlogsRequest) ToJsonString ¶
func (r *DescribeSlowlogsRequest) ToJsonString() string
type DescribeSlowlogsRequestParams ¶
type DescribeSlowlogsRequestParams struct { // Instance ID in the format of mssql-k8voqdlz InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Query start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Query end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of results per page. Value range: 1-100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeSlowlogsResponse ¶
type DescribeSlowlogsResponse struct { *tchttp.BaseResponse Response *DescribeSlowlogsResponseParams `json:"Response"` }
func NewDescribeSlowlogsResponse ¶
func NewDescribeSlowlogsResponse() (response *DescribeSlowlogsResponse)
func (*DescribeSlowlogsResponse) FromJsonString ¶
func (r *DescribeSlowlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowlogsResponse) ToJsonString ¶
func (r *DescribeSlowlogsResponse) ToJsonString() string
type DescribeSlowlogsResponseParams ¶
type DescribeSlowlogsResponseParams struct { // Total number of queries TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Information list of slow query logs Slowlogs []*SlowlogInfo `json:"Slowlogs,omitempty" name:"Slowlogs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUploadBackupInfoRequest ¶
type DescribeUploadBackupInfoRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
func NewDescribeUploadBackupInfoRequest ¶
func NewDescribeUploadBackupInfoRequest() (request *DescribeUploadBackupInfoRequest)
func (*DescribeUploadBackupInfoRequest) FromJsonString ¶
func (r *DescribeUploadBackupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUploadBackupInfoRequest) ToJsonString ¶
func (r *DescribeUploadBackupInfoRequest) ToJsonString() string
type DescribeUploadBackupInfoRequestParams ¶
type DescribeUploadBackupInfoRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
Predefined struct for user
type DescribeUploadBackupInfoResponse ¶
type DescribeUploadBackupInfoResponse struct { *tchttp.BaseResponse Response *DescribeUploadBackupInfoResponseParams `json:"Response"` }
func NewDescribeUploadBackupInfoResponse ¶
func NewDescribeUploadBackupInfoResponse() (response *DescribeUploadBackupInfoResponse)
func (*DescribeUploadBackupInfoResponse) FromJsonString ¶
func (r *DescribeUploadBackupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUploadBackupInfoResponse) ToJsonString ¶
func (r *DescribeUploadBackupInfoResponse) ToJsonString() string
type DescribeUploadBackupInfoResponseParams ¶
type DescribeUploadBackupInfoResponseParams struct { // Bucket name BucketName *string `json:"BucketName,omitempty" name:"BucketName"` // Bucket location information Region *string `json:"Region,omitempty" name:"Region"` // Storage path Path *string `json:"Path,omitempty" name:"Path"` // Temporary key ID TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"` // Temporary key (Key) TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"` // Temporary key (Token) XCosSecurityToken *string `json:"XCosSecurityToken,omitempty" name:"XCosSecurityToken"` // Temporary key start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Temporary key expiration time ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type 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 DescribeZonesRequestParams ¶
type DescribeZonesRequestParams struct { }
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `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 DescribeZonesResponseParams ¶
type DescribeZonesResponseParams struct { // Number of AZs returned TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Array of AZs 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"` }
Predefined struct for user
type FileAction ¶
type FileAction struct { // Allowed operations. Valid values: `view` (view list), `remark` (modify remark), `deploy` (deploy files), `delete` (delete files). AllAction []*string `json:"AllAction,omitempty" name:"AllAction"` // Operation allowed in the current status. If the subset of `AllAction` is empty, no operations will be allowed. AllowedAction []*string `json:"AllowedAction,omitempty" name:"AllowedAction"` }
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"` // Memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Billing type. Valid value: POSTPAID. InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Length of purchase in months. Value range: 1-48. Default value: 1 Period *int64 `json:"Period,omitempty" name:"Period"` // Number of instances purchased at a time. Value range: 1-100. Default value: 1 GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // SQL Server version. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise). Default value: 2008R2. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // The number of CPU cores of the instance you want to purchase. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // The type of purchased instance. Valid values: HA (high-availability edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (basic edition). Default value: HA. InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // The host type of purchased instance. Valid values: PM (physical machine), CLOUD_PREMIUM (physical machine with premium cloud disk), CLOUD_SSD (physical machine with SSD). Default value: PM. MachineType *string `json:"MachineType,omitempty" name:"MachineType"` }
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 InquiryPriceCreateDBInstancesRequestParams ¶
type InquiryPriceCreateDBInstancesRequestParams struct { // 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"` // Memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance capacity in GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Billing type. Valid value: POSTPAID. InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Length of purchase in months. Value range: 1-48. Default value: 1 Period *int64 `json:"Period,omitempty" name:"Period"` // Number of instances purchased at a time. Value range: 1-100. Default value: 1 GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // SQL Server version. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise). Default value: 2008R2. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // The number of CPU cores of the instance you want to purchase. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // The type of purchased instance. Valid values: HA (high-availability edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (basic edition). Default value: HA. InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // The host type of purchased instance. Valid values: PM (physical machine), CLOUD_PREMIUM (physical machine with premium cloud disk), CLOUD_SSD (physical machine with SSD). Default value: PM. MachineType *string `json:"MachineType,omitempty" name:"MachineType"` }
Predefined struct for user
type InquiryPriceCreateDBInstancesResponse ¶
type InquiryPriceCreateDBInstancesResponse struct { *tchttp.BaseResponse Response *InquiryPriceCreateDBInstancesResponseParams `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 InquiryPriceCreateDBInstancesResponseParams ¶
type InquiryPriceCreateDBInstancesResponseParams struct { // Price before discount. This value divided by 100 indicates the price; for example, 10010 means 100.10 USD OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // The actual price to be paid. This value divided by 100 indicates the price; for example, 10010 means 100.10 USD 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"` }
Predefined struct for user
type InquiryPriceUpgradeDBInstanceRequest ¶
type InquiryPriceUpgradeDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity Storage *int64 `json:"Storage,omitempty" name:"Storage"` // The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` }
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 InquiryPriceUpgradeDBInstanceRequestParams ¶
type InquiryPriceUpgradeDBInstanceRequestParams struct { // Instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity Storage *int64 `json:"Storage,omitempty" name:"Storage"` // The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` }
Predefined struct for user
type InquiryPriceUpgradeDBInstanceResponse ¶
type InquiryPriceUpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceUpgradeDBInstanceResponseParams `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 InquiryPriceUpgradeDBInstanceResponseParams ¶
type InquiryPriceUpgradeDBInstanceResponseParams struct { // Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD 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"` }
Predefined struct for user
type InstanceDBDetail ¶
type InterInstance ¶
type InterInstance struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance interworking IP, which can be accessed after the instance is added to the interworking group. InterVip *string `json:"InterVip,omitempty" name:"InterVip"` // Instance interworking port, which can be accessed after the instance is added to the interworking group. InterPort *int64 `json:"InterPort,omitempty" name:"InterPort"` // Instance interworking status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6`(Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group). Status *int64 `json:"Status,omitempty" name:"Status"` // Instance region, such as ap-guangzhou. Region *string `json:"Region,omitempty" name:"Region"` // Instance AZ name, such as ap-guangzhou-1. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance version code Version *string `json:"Version,omitempty" name:"Version"` // Instance version VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Instance name Name *string `json:"Name,omitempty" name:"Name"` // Instance access IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Instance access port Vport *int64 `json:"Vport,omitempty" name:"Vport"` }
type InterInstanceFlow ¶
type InterInstanceFlow struct { // Instance ID, such as mssql-sdf32n1d. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance task ID for enabling or disabling the interworking group. When `FlowId` is less than 0, the interworking group will be enabled or disabled successfully; otherwise, the operation failed. FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` }
type MigrateDB ¶
type MigrateDB struct { // Name of migrated database DBName *string `json:"DBName,omitempty" name:"DBName"` }
type MigrateDetail ¶
type MigrateSource ¶
type MigrateSource struct { // Source instance ID in the format of `mssql-si2823jyl`, which is used when `MigrateType` is 1 (TencentDB for SQL Server) InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ID of source CVM instance, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database) CvmId *string `json:"CvmId,omitempty" name:"CvmId"` // VPC ID of source CVM instance in the format of vpc-6ys9ont9, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database) VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID of source CVM instance in the format of subnet-h9extioi, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database) SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Username, which is used when `MigrateType` is 1 or 2 UserName *string `json:"UserName,omitempty" name:"UserName"` // Password, which is used when `MigrateType` is 1 or 2 Password *string `json:"Password,omitempty" name:"Password"` // Private IP of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database) Ip *string `json:"Ip,omitempty" name:"Ip"` // Port number of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database) Port *uint64 `json:"Port,omitempty" name:"Port"` // Source backup address for offline migration, which is used when `MigrateType` is 4 or 5 Url []*string `json:"Url,omitempty" name:"Url"` // Source backup password for offline migration, which is used when `MigrateType` is 4 or 5 UrlPassword *string `json:"UrlPassword,omitempty" name:"UrlPassword"` }
type MigrateTarget ¶
type MigrateTarget struct { // ID of target instance in the format of mssql-si2823jyl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Username of migration target instance UserName *string `json:"UserName,omitempty" name:"UserName"` // Password of migration target instance Password *string `json:"Password,omitempty" name:"Password"` }
type MigrateTask ¶
type MigrateTask struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` // Migration task name MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // User ID of migration task AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Migration task region Region *string `json:"Region,omitempty" name:"Region"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode) SourceType *int64 `json:"SourceType,omitempty" name:"SourceType"` // Migration task creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Migration task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Migration task end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded, 7: suspended, 8: deleted, 9: suspending, 10: completing, 11: suspension failed, 12: completion failed) Status *uint64 `json:"Status,omitempty" name:"Status"` // Information Message *string `json:"Message,omitempty" name:"Message"` // Whether migration task has been checked (0: not checked, 1: check succeeded, 2: check failed, 3: checking) CheckFlag *uint64 `json:"CheckFlag,omitempty" name:"CheckFlag"` // Migration task progress in % Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Migration task progress details MigrateDetail *MigrateDetail `json:"MigrateDetail,omitempty" name:"MigrateDetail"` }
type Migration ¶
type Migration struct { // Backup import task ID or incremental import task ID MigrationId *string `json:"MigrationId,omitempty" name:"MigrationId"` // Backup import task name. For an incremental import task, this field will be left empty. // Note: this field may return ‘null’, indicating that no valid values can be obtained. MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // Application ID AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // ID of migrated target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Migration task restoration type RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // Backup user upload type. COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // Backup file list, which is determined by UploadType. If the upload type is COS_URL, URL will be saved. If the upload type is COS_UPLOAD, the backup name will be saved. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` // Migration task status. Valid values: `2` (Creation completed), `7` (Importing full backups), `8` (Waiting for incremental backups), `9` (Import success), `10` (Import failure), `12` (Importing incremental backups). Status *int64 `json:"Status,omitempty" name:"Status"` // Migration task creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Migration task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Migration task end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // More information Message *string `json:"Message,omitempty" name:"Message"` // Migration detail Detail *MigrationDetail `json:"Detail,omitempty" name:"Detail"` // Operation allowed in the current status Action *MigrationAction `json:"Action,omitempty" name:"Action"` // Whether this is the final restoration. For a full import task, this field will be left empty. // Note: this field may return ‘null’, indicating that no valid values can be obtained. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` // Name set of renamed databases // Note: This field may return null, indicating that no valid values can be obtained. DBRename []*DBRenameRes `json:"DBRename,omitempty" name:"DBRename"` }
type MigrationAction ¶
type MigrationAction struct { // All the allowed operations. Values include: view (viewing a task), modify (modifying a task), start (starting a task), incremental (creating an incremental task), delete (deleting a task), and upload (obtaining the upload permission). AllAction []*string `json:"AllAction,omitempty" name:"AllAction"` // Operation allowed in the current status. If the subset of AllAction is left empty, no operations will be allowed. AllowedAction []*string `json:"AllowedAction,omitempty" name:"AllowedAction"` }
type MigrationDetail ¶
type MigrationDetail struct { // Total number of steps StepAll *int64 `json:"StepAll,omitempty" name:"StepAll"` // Current step StepNow *int64 `json:"StepNow,omitempty" name:"StepNow"` // Overall progress. For example, “30” means 30%. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Step information. ‘null’ means the migration has not started // Note: this field may return ‘null’, indicating that no valid values can be obtained. StepInfo []*MigrationStep `json:"StepInfo,omitempty" name:"StepInfo"` }
type MigrationStep ¶
type MigrationStep struct { // Step sequence StepNo *int64 `json:"StepNo,omitempty" name:"StepNo"` // Step name StepName *string `json:"StepName,omitempty" name:"StepName"` // Step ID in English StepId *string `json:"StepId,omitempty" name:"StepId"` // Step status: 0 (default value), 1 (succeeded), 2 (failed), 3 (in progress), 4 (not started) Status *int64 `json:"Status,omitempty" name:"Status"` }
type ModifyAccountPrivilegeRequest ¶
type ModifyAccountPrivilegeRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Account permission change information Accounts []*AccountPrivilegeModifyInfo `json:"Accounts,omitempty" name:"Accounts"` }
func NewModifyAccountPrivilegeRequest ¶
func NewModifyAccountPrivilegeRequest() (request *ModifyAccountPrivilegeRequest)
func (*ModifyAccountPrivilegeRequest) FromJsonString ¶
func (r *ModifyAccountPrivilegeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountPrivilegeRequest) ToJsonString ¶
func (r *ModifyAccountPrivilegeRequest) ToJsonString() string
type ModifyAccountPrivilegeRequestParams ¶
type ModifyAccountPrivilegeRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Account permission change information Accounts []*AccountPrivilegeModifyInfo `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type ModifyAccountPrivilegeResponse ¶
type ModifyAccountPrivilegeResponse struct { *tchttp.BaseResponse Response *ModifyAccountPrivilegeResponseParams `json:"Response"` }
func NewModifyAccountPrivilegeResponse ¶
func NewModifyAccountPrivilegeResponse() (response *ModifyAccountPrivilegeResponse)
func (*ModifyAccountPrivilegeResponse) FromJsonString ¶
func (r *ModifyAccountPrivilegeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountPrivilegeResponse) ToJsonString ¶
func (r *ModifyAccountPrivilegeResponse) ToJsonString() string
type ModifyAccountPrivilegeResponseParams ¶
type ModifyAccountPrivilegeResponseParams struct { // Async task flow ID FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountRemarkRequest ¶
type ModifyAccountRemarkRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Information of account for which to modify remarks Accounts []*AccountRemark `json:"Accounts,omitempty" name:"Accounts"` }
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 ModifyAccountRemarkRequestParams ¶
type ModifyAccountRemarkRequestParams struct { // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Information of account for which to modify remarks Accounts []*AccountRemark `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type ModifyAccountRemarkResponse ¶
type ModifyAccountRemarkResponse struct { *tchttp.BaseResponse Response *ModifyAccountRemarkResponseParams `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 ModifyAccountRemarkResponseParams ¶
type ModifyAccountRemarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupMigrationRequest ¶
type ModifyBackupMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // Migration task restoration type: FULL,FULL_LOG,FULL_DIFF RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` // Name set of databases to be renamed DBRename []*RenameRestoreDatabase `json:"DBRename,omitempty" name:"DBRename"` }
func NewModifyBackupMigrationRequest ¶
func NewModifyBackupMigrationRequest() (request *ModifyBackupMigrationRequest)
func (*ModifyBackupMigrationRequest) FromJsonString ¶
func (r *ModifyBackupMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupMigrationRequest) ToJsonString ¶
func (r *ModifyBackupMigrationRequest) ToJsonString() string
type ModifyBackupMigrationRequestParams ¶
type ModifyBackupMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Task name MigrationName *string `json:"MigrationName,omitempty" name:"MigrationName"` // Migration task restoration type: FULL,FULL_LOG,FULL_DIFF RecoveryType *string `json:"RecoveryType,omitempty" name:"RecoveryType"` // COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user. UploadType *string `json:"UploadType,omitempty" name:"UploadType"` // If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` // Name set of databases to be renamed DBRename []*RenameRestoreDatabase `json:"DBRename,omitempty" name:"DBRename"` }
Predefined struct for user
type ModifyBackupMigrationResponse ¶
type ModifyBackupMigrationResponse struct { *tchttp.BaseResponse Response *ModifyBackupMigrationResponseParams `json:"Response"` }
func NewModifyBackupMigrationResponse ¶
func NewModifyBackupMigrationResponse() (response *ModifyBackupMigrationResponse)
func (*ModifyBackupMigrationResponse) FromJsonString ¶
func (r *ModifyBackupMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupMigrationResponse) ToJsonString ¶
func (r *ModifyBackupMigrationResponse) ToJsonString() string
type ModifyBackupMigrationResponseParams ¶
type ModifyBackupMigrationResponseParams struct { // Backup import task ID BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupStrategyRequest ¶
type ModifyBackupStrategyRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup type. Valid values: `weekly` (when length(BackupDay) <=7 && length(BackupDay) >=2), `daily` (when length(BackupDay)=1). Default value: `daily`. BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Backup time. Value range: an integer from 0 to 23. BackupTime *uint64 `json:"BackupTime,omitempty" name:"BackupTime"` // Backup interval in days when the `BackupType` is `daily`. Valid value: 1. BackupDay *uint64 `json:"BackupDay,omitempty" name:"BackupDay"` // Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node), `slave_no_pkg` (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled. BackupModel *string `json:"BackupModel,omitempty" name:"BackupModel"` // The days of the week on which backup will be performed when “BackupType” is `weekly`. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default. BackupCycle []*uint64 `json:"BackupCycle,omitempty" name:"BackupCycle"` // Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days. BackupSaveDays *uint64 `json:"BackupSaveDays,omitempty" name:"BackupSaveDays"` // Archive backup status. Valid values: `enable` (enabled); `disable` (disabled). Default value: `disable`. RegularBackupEnable *string `json:"RegularBackupEnable,omitempty" name:"RegularBackupEnable"` // Archive backup retention days. Value range: 90–3650 days. Default value: 365 days. RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitempty" name:"RegularBackupSaveDays"` // Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly); Default value: `months`. RegularBackupStrategy *string `json:"RegularBackupStrategy,omitempty" name:"RegularBackupStrategy"` // The number of retained archive backups. Default value: `1`. RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitempty" name:"RegularBackupCounts"` // Archive backup start date in YYYY-MM-DD format, which is the current time by default. RegularBackupStartTime *string `json:"RegularBackupStartTime,omitempty" name:"RegularBackupStartTime"` }
func NewModifyBackupStrategyRequest ¶
func NewModifyBackupStrategyRequest() (request *ModifyBackupStrategyRequest)
func (*ModifyBackupStrategyRequest) FromJsonString ¶
func (r *ModifyBackupStrategyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupStrategyRequest) ToJsonString ¶
func (r *ModifyBackupStrategyRequest) ToJsonString() string
type ModifyBackupStrategyRequestParams ¶
type ModifyBackupStrategyRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup type. Valid values: `weekly` (when length(BackupDay) <=7 && length(BackupDay) >=2), `daily` (when length(BackupDay)=1). Default value: `daily`. BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Backup time. Value range: an integer from 0 to 23. BackupTime *uint64 `json:"BackupTime,omitempty" name:"BackupTime"` // Backup interval in days when the `BackupType` is `daily`. Valid value: 1. BackupDay *uint64 `json:"BackupDay,omitempty" name:"BackupDay"` // Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node), `slave_no_pkg` (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled. BackupModel *string `json:"BackupModel,omitempty" name:"BackupModel"` // The days of the week on which backup will be performed when “BackupType” is `weekly`. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default. BackupCycle []*uint64 `json:"BackupCycle,omitempty" name:"BackupCycle"` // Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days. BackupSaveDays *uint64 `json:"BackupSaveDays,omitempty" name:"BackupSaveDays"` // Archive backup status. Valid values: `enable` (enabled); `disable` (disabled). Default value: `disable`. RegularBackupEnable *string `json:"RegularBackupEnable,omitempty" name:"RegularBackupEnable"` // Archive backup retention days. Value range: 90–3650 days. Default value: 365 days. RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitempty" name:"RegularBackupSaveDays"` // Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly); Default value: `months`. RegularBackupStrategy *string `json:"RegularBackupStrategy,omitempty" name:"RegularBackupStrategy"` // The number of retained archive backups. Default value: `1`. RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitempty" name:"RegularBackupCounts"` // Archive backup start date in YYYY-MM-DD format, which is the current time by default. RegularBackupStartTime *string `json:"RegularBackupStartTime,omitempty" name:"RegularBackupStartTime"` }
Predefined struct for user
type ModifyBackupStrategyResponse ¶
type ModifyBackupStrategyResponse struct { *tchttp.BaseResponse Response *ModifyBackupStrategyResponseParams `json:"Response"` }
func NewModifyBackupStrategyResponse ¶
func NewModifyBackupStrategyResponse() (response *ModifyBackupStrategyResponse)
func (*ModifyBackupStrategyResponse) FromJsonString ¶
func (r *ModifyBackupStrategyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupStrategyResponse) ToJsonString ¶
func (r *ModifyBackupStrategyResponse) ToJsonString() string
type ModifyBackupStrategyResponseParams ¶
type ModifyBackupStrategyResponseParams struct { // Returned error code. Errno *int64 `json:"Errno,omitempty" name:"Errno"` // Returned error message. Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceNameRequest ¶
type ModifyDBInstanceNameRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 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 ModifyDBInstanceNameRequestParams ¶
type ModifyDBInstanceNameRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // New name of database instance InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyDBInstanceNameResponse ¶
type ModifyDBInstanceNameResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceNameResponseParams `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 ModifyDBInstanceNameResponseParams ¶
type ModifyDBInstanceNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceNetworkRequest ¶
type ModifyDBInstanceNetworkRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ID of the new VPC NewVpcId *string `json:"NewVpcId,omitempty" name:"NewVpcId"` // ID of the new subnet NewSubnetId *string `json:"NewSubnetId,omitempty" name:"NewSubnetId"` // Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately. OldIpRetainTime *int64 `json:"OldIpRetainTime,omitempty" name:"OldIpRetainTime"` // New VIP Vip *string `json:"Vip,omitempty" name:"Vip"` }
func NewModifyDBInstanceNetworkRequest ¶
func NewModifyDBInstanceNetworkRequest() (request *ModifyDBInstanceNetworkRequest)
func (*ModifyDBInstanceNetworkRequest) FromJsonString ¶
func (r *ModifyDBInstanceNetworkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNetworkRequest) ToJsonString ¶
func (r *ModifyDBInstanceNetworkRequest) ToJsonString() string
type ModifyDBInstanceNetworkRequestParams ¶
type ModifyDBInstanceNetworkRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ID of the new VPC NewVpcId *string `json:"NewVpcId,omitempty" name:"NewVpcId"` // ID of the new subnet NewSubnetId *string `json:"NewSubnetId,omitempty" name:"NewSubnetId"` // Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately. OldIpRetainTime *int64 `json:"OldIpRetainTime,omitempty" name:"OldIpRetainTime"` // New VIP Vip *string `json:"Vip,omitempty" name:"Vip"` }
Predefined struct for user
type ModifyDBInstanceNetworkResponse ¶
type ModifyDBInstanceNetworkResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceNetworkResponseParams `json:"Response"` }
func NewModifyDBInstanceNetworkResponse ¶
func NewModifyDBInstanceNetworkResponse() (response *ModifyDBInstanceNetworkResponse)
func (*ModifyDBInstanceNetworkResponse) FromJsonString ¶
func (r *ModifyDBInstanceNetworkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNetworkResponse) ToJsonString ¶
func (r *ModifyDBInstanceNetworkResponse) ToJsonString() string
type ModifyDBInstanceNetworkResponseParams ¶
type ModifyDBInstanceNetworkResponseParams struct { // ID of the instance network changing task. You can use the [DescribeFlowStatus](https://intl.cloud.tencent.com/document/product/238/19967?from_cn_redirect=1) API to query the task status. FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceProjectRequest ¶
type ModifyDBInstanceProjectRequest struct { *tchttp.BaseRequest // Array of instance IDs in the format of mssql-j8kv137v InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Project ID. If this parameter is 0, the default project will be used ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewModifyDBInstanceProjectRequest ¶
func NewModifyDBInstanceProjectRequest() (request *ModifyDBInstanceProjectRequest)
func (*ModifyDBInstanceProjectRequest) FromJsonString ¶
func (r *ModifyDBInstanceProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceProjectRequest) ToJsonString ¶
func (r *ModifyDBInstanceProjectRequest) ToJsonString() string
type ModifyDBInstanceProjectRequestParams ¶
type ModifyDBInstanceProjectRequestParams struct { // Array of instance IDs in the format of mssql-j8kv137v InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // Project ID. If this parameter is 0, the default project will be used ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type ModifyDBInstanceProjectResponse ¶
type ModifyDBInstanceProjectResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceProjectResponseParams `json:"Response"` }
func NewModifyDBInstanceProjectResponse ¶
func NewModifyDBInstanceProjectResponse() (response *ModifyDBInstanceProjectResponse)
func (*ModifyDBInstanceProjectResponse) FromJsonString ¶
func (r *ModifyDBInstanceProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceProjectResponse) ToJsonString ¶
func (r *ModifyDBInstanceProjectResponse) ToJsonString() string
type ModifyDBInstanceProjectResponseParams ¶
type ModifyDBInstanceProjectResponseParams struct { // Number of successfully modified instances Count *int64 `json:"Count,omitempty" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBNameRequest ¶
type ModifyDBNameRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Old database name OldDBName *string `json:"OldDBName,omitempty" name:"OldDBName"` // New name of database NewDBName *string `json:"NewDBName,omitempty" name:"NewDBName"` }
func NewModifyDBNameRequest ¶
func NewModifyDBNameRequest() (request *ModifyDBNameRequest)
func (*ModifyDBNameRequest) FromJsonString ¶
func (r *ModifyDBNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBNameRequest) ToJsonString ¶
func (r *ModifyDBNameRequest) ToJsonString() string
type ModifyDBNameRequestParams ¶
type ModifyDBNameRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Old database name OldDBName *string `json:"OldDBName,omitempty" name:"OldDBName"` // New name of database NewDBName *string `json:"NewDBName,omitempty" name:"NewDBName"` }
Predefined struct for user
type ModifyDBNameResponse ¶
type ModifyDBNameResponse struct { *tchttp.BaseResponse Response *ModifyDBNameResponseParams `json:"Response"` }
func NewModifyDBNameResponse ¶
func NewModifyDBNameResponse() (response *ModifyDBNameResponse)
func (*ModifyDBNameResponse) FromJsonString ¶
func (r *ModifyDBNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBNameResponse) ToJsonString ¶
func (r *ModifyDBNameResponse) ToJsonString() string
type ModifyDBNameResponseParams ¶
type ModifyDBNameResponseParams struct { // Task flow ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBRemarkRequest ¶
type ModifyDBRemarkRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-rljoi3bf InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of database names and remarks, where each element contains a database name and the corresponding remarks DBRemarks []*DBRemark `json:"DBRemarks,omitempty" name:"DBRemarks"` }
func NewModifyDBRemarkRequest ¶
func NewModifyDBRemarkRequest() (request *ModifyDBRemarkRequest)
func (*ModifyDBRemarkRequest) FromJsonString ¶
func (r *ModifyDBRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBRemarkRequest) ToJsonString ¶
func (r *ModifyDBRemarkRequest) ToJsonString() string
type ModifyDBRemarkRequestParams ¶
type ModifyDBRemarkRequestParams struct { // Instance ID in the format of mssql-rljoi3bf InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of database names and remarks, where each element contains a database name and the corresponding remarks DBRemarks []*DBRemark `json:"DBRemarks,omitempty" name:"DBRemarks"` }
Predefined struct for user
type ModifyDBRemarkResponse ¶
type ModifyDBRemarkResponse struct { *tchttp.BaseResponse Response *ModifyDBRemarkResponseParams `json:"Response"` }
func NewModifyDBRemarkResponse ¶
func NewModifyDBRemarkResponse() (response *ModifyDBRemarkResponse)
func (*ModifyDBRemarkResponse) FromJsonString ¶
func (r *ModifyDBRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBRemarkResponse) ToJsonString ¶
func (r *ModifyDBRemarkResponse) ToJsonString() string
type ModifyDBRemarkResponseParams ¶
type ModifyDBRemarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDatabaseCDCRequest ¶
type ModifyDatabaseCDCRequest struct { *tchttp.BaseRequest // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Enable or disable CDC. Valid values: `enable`, `disable` ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewModifyDatabaseCDCRequest ¶
func NewModifyDatabaseCDCRequest() (request *ModifyDatabaseCDCRequest)
func (*ModifyDatabaseCDCRequest) FromJsonString ¶
func (r *ModifyDatabaseCDCRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseCDCRequest) ToJsonString ¶
func (r *ModifyDatabaseCDCRequest) ToJsonString() string
type ModifyDatabaseCDCRequestParams ¶
type ModifyDatabaseCDCRequestParams struct { // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Enable or disable CDC. Valid values: `enable`, `disable` ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type ModifyDatabaseCDCResponse ¶
type ModifyDatabaseCDCResponse struct { *tchttp.BaseResponse Response *ModifyDatabaseCDCResponseParams `json:"Response"` }
func NewModifyDatabaseCDCResponse ¶
func NewModifyDatabaseCDCResponse() (response *ModifyDatabaseCDCResponse)
func (*ModifyDatabaseCDCResponse) FromJsonString ¶
func (r *ModifyDatabaseCDCResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseCDCResponse) ToJsonString ¶
func (r *ModifyDatabaseCDCResponse) ToJsonString() string
type ModifyDatabaseCDCResponseParams ¶
type ModifyDatabaseCDCResponseParams 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"` }
Predefined struct for user
type ModifyDatabaseCTRequest ¶
type ModifyDatabaseCTRequest struct { *tchttp.BaseRequest // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Enable or disable CT. Valid values: `enable`, `disable` ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period (in days) of change tracking information when CT is enabled. Value range: 3-30. Default value: `3` ChangeRetentionDay *int64 `json:"ChangeRetentionDay,omitempty" name:"ChangeRetentionDay"` }
func NewModifyDatabaseCTRequest ¶
func NewModifyDatabaseCTRequest() (request *ModifyDatabaseCTRequest)
func (*ModifyDatabaseCTRequest) FromJsonString ¶
func (r *ModifyDatabaseCTRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseCTRequest) ToJsonString ¶
func (r *ModifyDatabaseCTRequest) ToJsonString() string
type ModifyDatabaseCTRequestParams ¶
type ModifyDatabaseCTRequestParams struct { // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Enable or disable CT. Valid values: `enable`, `disable` ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period (in days) of change tracking information when CT is enabled. Value range: 3-30. Default value: `3` ChangeRetentionDay *int64 `json:"ChangeRetentionDay,omitempty" name:"ChangeRetentionDay"` }
Predefined struct for user
type ModifyDatabaseCTResponse ¶
type ModifyDatabaseCTResponse struct { *tchttp.BaseResponse Response *ModifyDatabaseCTResponseParams `json:"Response"` }
func NewModifyDatabaseCTResponse ¶
func NewModifyDatabaseCTResponse() (response *ModifyDatabaseCTResponse)
func (*ModifyDatabaseCTResponse) FromJsonString ¶
func (r *ModifyDatabaseCTResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseCTResponse) ToJsonString ¶
func (r *ModifyDatabaseCTResponse) ToJsonString() string
type ModifyDatabaseCTResponseParams ¶
type ModifyDatabaseCTResponseParams 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"` }
Predefined struct for user
type ModifyDatabaseMdfRequest ¶
type ModifyDatabaseMdfRequest struct { *tchttp.BaseRequest // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewModifyDatabaseMdfRequest ¶
func NewModifyDatabaseMdfRequest() (request *ModifyDatabaseMdfRequest)
func (*ModifyDatabaseMdfRequest) FromJsonString ¶
func (r *ModifyDatabaseMdfRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseMdfRequest) ToJsonString ¶
func (r *ModifyDatabaseMdfRequest) ToJsonString() string
type ModifyDatabaseMdfRequestParams ¶
type ModifyDatabaseMdfRequestParams struct { // Array of database names DBNames []*string `json:"DBNames,omitempty" name:"DBNames"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type ModifyDatabaseMdfResponse ¶
type ModifyDatabaseMdfResponse struct { *tchttp.BaseResponse Response *ModifyDatabaseMdfResponseParams `json:"Response"` }
func NewModifyDatabaseMdfResponse ¶
func NewModifyDatabaseMdfResponse() (response *ModifyDatabaseMdfResponse)
func (*ModifyDatabaseMdfResponse) FromJsonString ¶
func (r *ModifyDatabaseMdfResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseMdfResponse) ToJsonString ¶
func (r *ModifyDatabaseMdfResponse) ToJsonString() string
type ModifyDatabaseMdfResponseParams ¶
type ModifyDatabaseMdfResponseParams 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"` }
Predefined struct for user
type ModifyIncrementalMigrationRequest ¶
type ModifyIncrementalMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API. IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` // Whether to restore backups. Valid values: `NO`, `YES`. If this parameter is not specified, current settings will be applied. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` // If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` }
func NewModifyIncrementalMigrationRequest ¶
func NewModifyIncrementalMigrationRequest() (request *ModifyIncrementalMigrationRequest)
func (*ModifyIncrementalMigrationRequest) FromJsonString ¶
func (r *ModifyIncrementalMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIncrementalMigrationRequest) ToJsonString ¶
func (r *ModifyIncrementalMigrationRequest) ToJsonString() string
type ModifyIncrementalMigrationRequestParams ¶
type ModifyIncrementalMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API. IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` // Whether to restore backups. Valid values: `NO`, `YES`. If this parameter is not specified, current settings will be applied. IsRecovery *string `json:"IsRecovery,omitempty" name:"IsRecovery"` // If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases. BackupFiles []*string `json:"BackupFiles,omitempty" name:"BackupFiles"` }
Predefined struct for user
type ModifyIncrementalMigrationResponse ¶
type ModifyIncrementalMigrationResponse struct { *tchttp.BaseResponse Response *ModifyIncrementalMigrationResponseParams `json:"Response"` }
func NewModifyIncrementalMigrationResponse ¶
func NewModifyIncrementalMigrationResponse() (response *ModifyIncrementalMigrationResponse)
func (*ModifyIncrementalMigrationResponse) FromJsonString ¶
func (r *ModifyIncrementalMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIncrementalMigrationResponse) ToJsonString ¶
func (r *ModifyIncrementalMigrationResponse) ToJsonString() string
type ModifyIncrementalMigrationResponseParams ¶
type ModifyIncrementalMigrationResponseParams struct { // ID of an incremental backup import task IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceParamRequest ¶
type ModifyInstanceParamRequest struct { *tchttp.BaseRequest // Instance ID list. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of modified parameters. Each list element has two fields: `Name` and `CurrentValue`. Set `Name` to the parameter name and `CurrentValue` to the new value after modification. <b>Note</b>: if the instance needs to be <b>restarted</b> for the modified parameter to take effect, it will be <b>restarted</b> immediately or during the maintenance time. Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // When to execute the parameter modification task. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `0`. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
func NewModifyInstanceParamRequest ¶
func NewModifyInstanceParamRequest() (request *ModifyInstanceParamRequest)
func (*ModifyInstanceParamRequest) FromJsonString ¶
func (r *ModifyInstanceParamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceParamRequest) ToJsonString ¶
func (r *ModifyInstanceParamRequest) ToJsonString() string
type ModifyInstanceParamRequestParams ¶
type ModifyInstanceParamRequestParams struct { // Instance ID list. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of modified parameters. Each list element has two fields: `Name` and `CurrentValue`. Set `Name` to the parameter name and `CurrentValue` to the new value after modification. <b>Note</b>: if the instance needs to be <b>restarted</b> for the modified parameter to take effect, it will be <b>restarted</b> immediately or during the maintenance time. Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // When to execute the parameter modification task. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `0`. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
Predefined struct for user
type ModifyInstanceParamResponse ¶
type ModifyInstanceParamResponse struct { *tchttp.BaseResponse Response *ModifyInstanceParamResponseParams `json:"Response"` }
func NewModifyInstanceParamResponse ¶
func NewModifyInstanceParamResponse() (response *ModifyInstanceParamResponse)
func (*ModifyInstanceParamResponse) FromJsonString ¶
func (r *ModifyInstanceParamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceParamResponse) ToJsonString ¶
func (r *ModifyInstanceParamResponse) ToJsonString() string
type ModifyInstanceParamResponseParams ¶
type ModifyInstanceParamResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrationRequest ¶
type ModifyMigrationRequest struct { *tchttp.BaseRequest // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` // New name of migration task. If this parameter is left empty, no modification will be made MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // New migration type (1: structure migration, 2: data migration, 3: incremental sync). If this parameter is left empty, no modification will be made MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode). If this parameter is left empty, no modification will be made SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Migration source. If this parameter is left empty, no modification will be made Source *MigrateSource `json:"Source,omitempty" name:"Source"` // Migration target. If this parameter is left empty, no modification will be made Target *MigrateTarget `json:"Target,omitempty" name:"Target"` // Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5). If it left empty, no modification will be made MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet"` }
func NewModifyMigrationRequest ¶
func NewModifyMigrationRequest() (request *ModifyMigrationRequest)
func (*ModifyMigrationRequest) FromJsonString ¶
func (r *ModifyMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrationRequest) ToJsonString ¶
func (r *ModifyMigrationRequest) ToJsonString() string
type ModifyMigrationRequestParams ¶
type ModifyMigrationRequestParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` // New name of migration task. If this parameter is left empty, no modification will be made MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"` // New migration type (1: structure migration, 2: data migration, 3: incremental sync). If this parameter is left empty, no modification will be made MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"` // Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode). If this parameter is left empty, no modification will be made SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Migration source. If this parameter is left empty, no modification will be made Source *MigrateSource `json:"Source,omitempty" name:"Source"` // Migration target. If this parameter is left empty, no modification will be made Target *MigrateTarget `json:"Target,omitempty" name:"Target"` // Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5). If it left empty, no modification will be made MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet"` }
Predefined struct for user
type ModifyMigrationResponse ¶
type ModifyMigrationResponse struct { *tchttp.BaseResponse Response *ModifyMigrationResponseParams `json:"Response"` }
func NewModifyMigrationResponse ¶
func NewModifyMigrationResponse() (response *ModifyMigrationResponse)
func (*ModifyMigrationResponse) FromJsonString ¶
func (r *ModifyMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrationResponse) ToJsonString ¶
func (r *ModifyMigrationResponse) ToJsonString() string
type ModifyMigrationResponseParams ¶
type ModifyMigrationResponseParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenInterCommunicationRequest ¶
type OpenInterCommunicationRequest struct { *tchttp.BaseRequest // IDs of instances with interwoking group enabled InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
func NewOpenInterCommunicationRequest ¶
func NewOpenInterCommunicationRequest() (request *OpenInterCommunicationRequest)
func (*OpenInterCommunicationRequest) FromJsonString ¶
func (r *OpenInterCommunicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenInterCommunicationRequest) ToJsonString ¶
func (r *OpenInterCommunicationRequest) ToJsonString() string
type OpenInterCommunicationRequestParams ¶
type OpenInterCommunicationRequestParams struct { // IDs of instances with interwoking group enabled InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
Predefined struct for user
type OpenInterCommunicationResponse ¶
type OpenInterCommunicationResponse struct { *tchttp.BaseResponse Response *OpenInterCommunicationResponseParams `json:"Response"` }
func NewOpenInterCommunicationResponse ¶
func NewOpenInterCommunicationResponse() (response *OpenInterCommunicationResponse)
func (*OpenInterCommunicationResponse) FromJsonString ¶
func (r *OpenInterCommunicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenInterCommunicationResponse) ToJsonString ¶
func (r *OpenInterCommunicationResponse) ToJsonString() string
type OpenInterCommunicationResponseParams ¶
type OpenInterCommunicationResponseParams struct { // IDs of instance and async task InterInstanceFlowSet []*InterInstanceFlow `json:"InterInstanceFlowSet,omitempty" name:"InterInstanceFlowSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ParamRecord ¶
type ParamRecord struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter value before modification OldValue *string `json:"OldValue,omitempty" name:"OldValue"` // Parameter value after modification NewValue *string `json:"NewValue,omitempty" name:"NewValue"` // Parameter modification status. Valid values: `1` (initializing and waiting for modification), `2` (modification succeed), `3` (modification failed), `4` (modifying) Status *int64 `json:"Status,omitempty" name:"Status"` // Modification time ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type ParameterDetail ¶
type ParameterDetail struct { // Parameter name Name *string `json:"Name,omitempty" name:"Name"` // Data type of the parameter. Valid values: `integer`, `enum` ParamType *string `json:"ParamType,omitempty" name:"ParamType"` // Default value of the parameter Default *string `json:"Default,omitempty" name:"Default"` // Parameter description Description *string `json:"Description,omitempty" name:"Description"` // Current value of the parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Whether the database needs to be restarted for the modified parameter to take effect. Valid values: `0` (no),`1` (yes) NeedReboot *int64 `json:"NeedReboot,omitempty" name:"NeedReboot"` // Maximum value of the parameter Max *int64 `json:"Max,omitempty" name:"Max"` // Minimum value of the parameter Min *int64 `json:"Min,omitempty" name:"Min"` // Enumerated values of the parameter EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Parameter status. Valid values: `0` (normal), `1` (modifying) Status *int64 `json:"Status,omitempty" name:"Status"` }
type RecycleDBInstanceRequest ¶
type RecycleDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewRecycleDBInstanceRequest ¶
func NewRecycleDBInstanceRequest() (request *RecycleDBInstanceRequest)
func (*RecycleDBInstanceRequest) FromJsonString ¶
func (r *RecycleDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecycleDBInstanceRequest) ToJsonString ¶
func (r *RecycleDBInstanceRequest) ToJsonString() string
type RecycleDBInstanceRequestParams ¶
type RecycleDBInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type RecycleDBInstanceResponse ¶
type RecycleDBInstanceResponse struct { *tchttp.BaseResponse Response *RecycleDBInstanceResponseParams `json:"Response"` }
func NewRecycleDBInstanceResponse ¶
func NewRecycleDBInstanceResponse() (response *RecycleDBInstanceResponse)
func (*RecycleDBInstanceResponse) FromJsonString ¶
func (r *RecycleDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecycleDBInstanceResponse) ToJsonString ¶
func (r *RecycleDBInstanceResponse) ToJsonString() string
type RecycleDBInstanceResponseParams ¶
type RecycleDBInstanceResponseParams 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"` }
Predefined struct for user
type RegionInfo ¶
type RegionInfo struct { // Region ID in the format of ap-guangzhou Region *string `json:"Region,omitempty" name:"Region"` // Region name RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Numeric ID of region RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable RegionState *string `json:"RegionState,omitempty" name:"RegionState"` }
type RenameRestoreDatabase ¶
type RenameRestoreDatabase struct { // Database name. If the `OldName` database does not exist, a failure will be returned. // It can be left empty in offline migration tasks. OldName *string `json:"OldName,omitempty" name:"OldName"` // New database name. In offline migration, `OldName` will be used if `NewName` is left empty (`OldName` and `NewName` cannot be both empty). In database cloning, `OldName` and `NewName` must be both specified and cannot have the same value. NewName *string `json:"NewName,omitempty" name:"NewName"` }
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Updated account password information array Accounts []*AccountPassword `json:"Accounts,omitempty" name:"Accounts"` }
func NewResetAccountPasswordRequest ¶
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶
func (r *ResetAccountPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordRequest) ToJsonString ¶
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordRequestParams ¶
type ResetAccountPasswordRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Updated account password information array Accounts []*AccountPassword `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *ResetAccountPasswordResponseParams `json:"Response"` }
func NewResetAccountPasswordResponse ¶
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶
func (r *ResetAccountPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordResponse) ToJsonString ¶
func (r *ResetAccountPasswordResponse) ToJsonString() string
type ResetAccountPasswordResponseParams ¶
type ResetAccountPasswordResponseParams struct { // ID of async task flow for account password change FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResourceTag ¶
type RestartDBInstanceRequest ¶
type RestartDBInstanceRequest struct { *tchttp.BaseRequest // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
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 RestartDBInstanceRequestParams ¶
type RestartDBInstanceRequestParams struct { // Database instance ID in the format of mssql-njj2mtpl InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type RestartDBInstanceResponse ¶
type RestartDBInstanceResponse struct { *tchttp.BaseResponse Response *RestartDBInstanceResponseParams `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 RestartDBInstanceResponseParams ¶
type RestartDBInstanceResponseParams struct { // Async task flow ID FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RestoreInstanceRequest ¶
type RestoreInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file ID, which can be obtained through the `Id` field in the returned value of the `DescribeBackups` API BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` // ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used. TargetInstanceId *string `json:"TargetInstanceId,omitempty" name:"TargetInstanceId"` // Restore the databases listed in `ReNameRestoreDatabase` and rename them after restoration. If this parameter is left empty, all databases will be restored and renamed in the default format. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` // Group ID of unarchived backup files grouped by backup task. This parameter is returned by the [DescribeBackups](https://intl.cloud.tencent.com/document/product/238/19943?from_cn_redirect=1) API. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
func NewRestoreInstanceRequest ¶
func NewRestoreInstanceRequest() (request *RestoreInstanceRequest)
func (*RestoreInstanceRequest) FromJsonString ¶
func (r *RestoreInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreInstanceRequest) ToJsonString ¶
func (r *RestoreInstanceRequest) ToJsonString() string
type RestoreInstanceRequestParams ¶
type RestoreInstanceRequestParams struct { // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file ID, which can be obtained through the `Id` field in the returned value of the `DescribeBackups` API BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` // ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used. TargetInstanceId *string `json:"TargetInstanceId,omitempty" name:"TargetInstanceId"` // Restore the databases listed in `ReNameRestoreDatabase` and rename them after restoration. If this parameter is left empty, all databases will be restored and renamed in the default format. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` // Group ID of unarchived backup files grouped by backup task. This parameter is returned by the [DescribeBackups](https://intl.cloud.tencent.com/document/product/238/19943?from_cn_redirect=1) API. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type RestoreInstanceResponse ¶
type RestoreInstanceResponse struct { *tchttp.BaseResponse Response *RestoreInstanceResponseParams `json:"Response"` }
func NewRestoreInstanceResponse ¶
func NewRestoreInstanceResponse() (response *RestoreInstanceResponse)
func (*RestoreInstanceResponse) FromJsonString ¶
func (r *RestoreInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreInstanceResponse) ToJsonString ¶
func (r *RestoreInstanceResponse) ToJsonString() string
type RestoreInstanceResponseParams ¶
type RestoreInstanceResponseParams struct { // Async flow task ID, which can be used to call the `DescribeFlowStatus` API to get the task execution status FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RollbackInstanceRequest ¶
type RollbackInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rollback type. 0: the database rolled back overwrites the original database; 1: the database rolled back is renamed and does not overwrite the original database Type *uint64 `json:"Type,omitempty" name:"Type"` // Database to be rolled back DBs []*string `json:"DBs,omitempty" name:"DBs"` // Target time point for rollback Time *string `json:"Time,omitempty" name:"Time"` // ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used. TargetInstanceId *string `json:"TargetInstanceId,omitempty" name:"TargetInstanceId"` // Rename the databases listed in `ReNameRestoreDatabase`. This parameter takes effect only when `Type = 1` which indicates that backup rollback supports renaming databases. If it is left empty, databases will be renamed in the default format and the `DBs` parameter specifies the databases to be restored. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
func NewRollbackInstanceRequest ¶
func NewRollbackInstanceRequest() (request *RollbackInstanceRequest)
func (*RollbackInstanceRequest) FromJsonString ¶
func (r *RollbackInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RollbackInstanceRequest) ToJsonString ¶
func (r *RollbackInstanceRequest) ToJsonString() string
type RollbackInstanceRequestParams ¶
type RollbackInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rollback type. 0: the database rolled back overwrites the original database; 1: the database rolled back is renamed and does not overwrite the original database Type *uint64 `json:"Type,omitempty" name:"Type"` // Database to be rolled back DBs []*string `json:"DBs,omitempty" name:"DBs"` // Target time point for rollback Time *string `json:"Time,omitempty" name:"Time"` // ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used. TargetInstanceId *string `json:"TargetInstanceId,omitempty" name:"TargetInstanceId"` // Rename the databases listed in `ReNameRestoreDatabase`. This parameter takes effect only when `Type = 1` which indicates that backup rollback supports renaming databases. If it is left empty, databases will be renamed in the default format and the `DBs` parameter specifies the databases to be restored. RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitempty" name:"RenameRestore"` }
Predefined struct for user
type RollbackInstanceResponse ¶
type RollbackInstanceResponse struct { *tchttp.BaseResponse Response *RollbackInstanceResponseParams `json:"Response"` }
func NewRollbackInstanceResponse ¶
func NewRollbackInstanceResponse() (response *RollbackInstanceResponse)
func (*RollbackInstanceResponse) FromJsonString ¶
func (r *RollbackInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RollbackInstanceResponse) ToJsonString ¶
func (r *RollbackInstanceResponse) ToJsonString() string
type RollbackInstanceResponseParams ¶
type RollbackInstanceResponseParams struct { // The async job ID FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RunMigrationRequest ¶
type RunMigrationRequest struct { *tchttp.BaseRequest // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
func NewRunMigrationRequest ¶
func NewRunMigrationRequest() (request *RunMigrationRequest)
func (*RunMigrationRequest) FromJsonString ¶
func (r *RunMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunMigrationRequest) ToJsonString ¶
func (r *RunMigrationRequest) ToJsonString() string
type RunMigrationRequestParams ¶
type RunMigrationRequestParams struct { // Migration task ID MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"` }
Predefined struct for user
type RunMigrationResponse ¶
type RunMigrationResponse struct { *tchttp.BaseResponse Response *RunMigrationResponseParams `json:"Response"` }
func NewRunMigrationResponse ¶
func NewRunMigrationResponse() (response *RunMigrationResponse)
func (*RunMigrationResponse) FromJsonString ¶
func (r *RunMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunMigrationResponse) ToJsonString ¶
func (r *RunMigrationResponse) ToJsonString() string
type RunMigrationResponseParams ¶
type RunMigrationResponseParams struct { // After the migration task starts, the flow ID will be returned FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SlaveZones ¶
type SlowlogInfo ¶
type SlowlogInfo struct { // Unique ID of slow query log file 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"` // Number of logs in file Count *int64 `json:"Count,omitempty" name:"Count"` // Download address for private network InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"` // Download address for public network ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"` // Status (1: success, 2: failure) // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitempty" name:"Status"` }
type SpecInfo ¶
type SpecInfo struct { // Instance specification ID. The `SpecId` returned by `DescribeZones` together with the purchasable specification information returned by `DescribeProductConfig` can be used to find out what specifications can be purchased in a specified AZ SpecId *int64 `json:"SpecId,omitempty" name:"SpecId"` // Model ID MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // Model name MachineTypeName *string `json:"MachineTypeName,omitempty" name:"MachineTypeName"` // Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise) Version *string `json:"Version,omitempty" name:"Version"` // Version name corresponding to the `Version` field VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Memory size in GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Number of CPU cores CPU *int64 `json:"CPU,omitempty" name:"CPU"` // Minimum disk size under this specification in GB MinStorage *int64 `json:"MinStorage,omitempty" name:"MinStorage"` // Maximum disk size under this specification in GB MaxStorage *int64 `json:"MaxStorage,omitempty" name:"MaxStorage"` // QPS of this specification QPS *int64 `json:"QPS,omitempty" name:"QPS"` // Description of this specification SuitInfo *string `json:"SuitInfo,omitempty" name:"SuitInfo"` // Pid of this specification Pid *int64 `json:"Pid,omitempty" name:"Pid"` // Pay-as-you-go Pid list corresponding to this specification // Note: this field may return null, indicating that no valid values can be obtained. PostPid []*int64 `json:"PostPid,omitempty" name:"PostPid"` // Billing mode under this specification. POST: pay-as-you-go PayModeStatus *string `json:"PayModeStatus,omitempty" name:"PayModeStatus"` // Instance type. Valid values: HA (High-Availability Edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (Basic Edition) InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // Whether multi-AZ deployment is supported. Valid values: MultiZones (only multi-AZ deployment is supported), SameZones (only single-AZ deployment is supported), ALL (both deployments are supported) MultiZonesStatus *string `json:"MultiZonesStatus,omitempty" name:"MultiZonesStatus"` }
type StartBackupMigrationRequest ¶
type StartBackupMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
func NewStartBackupMigrationRequest ¶
func NewStartBackupMigrationRequest() (request *StartBackupMigrationRequest)
func (*StartBackupMigrationRequest) FromJsonString ¶
func (r *StartBackupMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartBackupMigrationRequest) ToJsonString ¶
func (r *StartBackupMigrationRequest) ToJsonString() string
type StartBackupMigrationRequestParams ¶
type StartBackupMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` }
Predefined struct for user
type StartBackupMigrationResponse ¶
type StartBackupMigrationResponse struct { *tchttp.BaseResponse Response *StartBackupMigrationResponseParams `json:"Response"` }
func NewStartBackupMigrationResponse ¶
func NewStartBackupMigrationResponse() (response *StartBackupMigrationResponse)
func (*StartBackupMigrationResponse) FromJsonString ¶
func (r *StartBackupMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartBackupMigrationResponse) ToJsonString ¶
func (r *StartBackupMigrationResponse) ToJsonString() string
type StartBackupMigrationResponseParams ¶
type StartBackupMigrationResponseParams struct { // Task ID FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StartIncrementalMigrationRequest ¶
type StartIncrementalMigrationRequest struct { *tchttp.BaseRequest // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // ID of an incremental backup import task IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
func NewStartIncrementalMigrationRequest ¶
func NewStartIncrementalMigrationRequest() (request *StartIncrementalMigrationRequest)
func (*StartIncrementalMigrationRequest) FromJsonString ¶
func (r *StartIncrementalMigrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartIncrementalMigrationRequest) ToJsonString ¶
func (r *StartIncrementalMigrationRequest) ToJsonString() string
type StartIncrementalMigrationRequestParams ¶
type StartIncrementalMigrationRequestParams struct { // ID of imported target instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup import task ID, which is returned through the API CreateBackupMigration BackupMigrationId *string `json:"BackupMigrationId,omitempty" name:"BackupMigrationId"` // ID of an incremental backup import task IncrementalMigrationId *string `json:"IncrementalMigrationId,omitempty" name:"IncrementalMigrationId"` }
Predefined struct for user
type StartIncrementalMigrationResponse ¶
type StartIncrementalMigrationResponse struct { *tchttp.BaseResponse Response *StartIncrementalMigrationResponseParams `json:"Response"` }
func NewStartIncrementalMigrationResponse ¶
func NewStartIncrementalMigrationResponse() (response *StartIncrementalMigrationResponse)
func (*StartIncrementalMigrationResponse) FromJsonString ¶
func (r *StartIncrementalMigrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartIncrementalMigrationResponse) ToJsonString ¶
func (r *StartIncrementalMigrationResponse) ToJsonString() string
type StartIncrementalMigrationResponseParams ¶
type StartIncrementalMigrationResponseParams struct { // Task ID FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateDBInstanceRequest ¶
type TerminateDBInstanceRequest struct { *tchttp.BaseRequest // List of instance IDs manually terminated in the format of [mssql-3l3fgqn7], which are the same as the instance IDs displayed on the TencentDB Console page InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
func NewTerminateDBInstanceRequest ¶
func NewTerminateDBInstanceRequest() (request *TerminateDBInstanceRequest)
func (*TerminateDBInstanceRequest) FromJsonString ¶
func (r *TerminateDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDBInstanceRequest) ToJsonString ¶
func (r *TerminateDBInstanceRequest) ToJsonString() string
type TerminateDBInstanceRequestParams ¶
type TerminateDBInstanceRequestParams struct { // List of instance IDs manually terminated in the format of [mssql-3l3fgqn7], which are the same as the instance IDs displayed on the TencentDB Console page InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
Predefined struct for user
type TerminateDBInstanceResponse ¶
type TerminateDBInstanceResponse struct { *tchttp.BaseResponse Response *TerminateDBInstanceResponseParams `json:"Response"` }
func NewTerminateDBInstanceResponse ¶
func NewTerminateDBInstanceResponse() (response *TerminateDBInstanceResponse)
func (*TerminateDBInstanceResponse) FromJsonString ¶
func (r *TerminateDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDBInstanceResponse) ToJsonString ¶
func (r *TerminateDBInstanceResponse) ToJsonString() string
type TerminateDBInstanceResponseParams ¶
type TerminateDBInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceRequest ¶
type UpgradeDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Whether to automatically use vouchers. 0: no, 1: yes. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID (currently, only one voucher can be used per order) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // The number of CUP cores after the instance is upgraded. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Upgrade the SQL Server version. Supported versions include SQL Server 2008 Enterprise (`2008R2`), SQL Server 2012 Enterprise (`2012SP3`), etc. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. Downgrading is unsupported. If this parameter is left empty, the SQL Server version will not be changed. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Upgrade the high availability architecture from image-based disaster recovery to Always On cluster disaster recovery. This parameter is valid only for instances which support Always On high availability and run SQL Server 2017 or later. Neither downgrading to image-based disaster recovery nor upgrading from cluster disaster recovery to Always On disaster recovery is supported. If this parameter is left empty, the high availability architecture will not be changed. HAType *string `json:"HAType,omitempty" name:"HAType"` // Change the instance deployment scheme. Valid values: `SameZones` (change to single-AZ deployment, which does not support cross-AZ disaster recovery), `MultiZones` (change to multi-AZ deployment, which supports cross-AZ disaster recovery). MultiZones *string `json:"MultiZones,omitempty" name:"MultiZones"` // The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
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 UpgradeDBInstanceRequestParams ¶
type UpgradeDBInstanceRequestParams struct { // Instance ID in the format of mssql-j8kv137v InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Whether to automatically use vouchers. 0: no, 1: yes. Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // Voucher ID (currently, only one voucher can be used per order) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // The number of CUP cores after the instance is upgraded. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Upgrade the SQL Server version. Supported versions include SQL Server 2008 Enterprise (`2008R2`), SQL Server 2012 Enterprise (`2012SP3`), etc. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. Downgrading is unsupported. If this parameter is left empty, the SQL Server version will not be changed. DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"` // Upgrade the high availability architecture from image-based disaster recovery to Always On cluster disaster recovery. This parameter is valid only for instances which support Always On high availability and run SQL Server 2017 or later. Neither downgrading to image-based disaster recovery nor upgrading from cluster disaster recovery to Always On disaster recovery is supported. If this parameter is left empty, the high availability architecture will not be changed. HAType *string `json:"HAType,omitempty" name:"HAType"` // Change the instance deployment scheme. Valid values: `SameZones` (change to single-AZ deployment, which does not support cross-AZ disaster recovery), `MultiZones` (change to multi-AZ deployment, which supports cross-AZ disaster recovery). MultiZones *string `json:"MultiZones,omitempty" name:"MultiZones"` // The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
Predefined struct for user
type UpgradeDBInstanceResponse ¶
type UpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceResponseParams `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 UpgradeDBInstanceResponseParams ¶
type UpgradeDBInstanceResponseParams 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"` }
Predefined struct for user
type ZoneInfo ¶
type ZoneInfo struct { // AZ ID in the format of ap-guangzhou-1 (i.e., Guangzhou Zone 1) Zone *string `json:"Zone,omitempty" name:"Zone"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Numeric ID of AZ ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // ID of specification purchasable in this AZ, which, together with the returned value of the `DescribeProductConfig` API, can be used to find out the specifications currently purchasable in the AZ SpecId *int64 `json:"SpecId,omitempty" name:"SpecId"` // Information of database versions purchasable under the current AZ and specification. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise) Version *string `json:"Version,omitempty" name:"Version"` }