Documentation ¶
Index ¶
- type AlterTableWithOnlineDDLRequest
- func NewAlterTableWithOnlineDDLRequest(regionId string, instanceId string, database string, table string, ...) *AlterTableWithOnlineDDLRequest
- func NewAlterTableWithOnlineDDLRequestWithAllParams(regionId string, instanceId string, database string, table string, ...) *AlterTableWithOnlineDDLRequest
- func NewAlterTableWithOnlineDDLRequestWithoutParam() *AlterTableWithOnlineDDLRequest
- func (r AlterTableWithOnlineDDLRequest) GetRegionId() string
- func (r *AlterTableWithOnlineDDLRequest) SetCommand(command string)
- func (r *AlterTableWithOnlineDDLRequest) SetDatabase(database string)
- func (r *AlterTableWithOnlineDDLRequest) SetInstanceId(instanceId string)
- func (r *AlterTableWithOnlineDDLRequest) SetRegionId(regionId string)
- func (r *AlterTableWithOnlineDDLRequest) SetTable(table string)
- type AlterTableWithOnlineDDLResponse
- type AlterTableWithOnlineDDLResult
- type ClearBinlogsRequest
- type ClearBinlogsResponse
- type ClearBinlogsResult
- type CopyParameterGroupRequest
- func NewCopyParameterGroupRequest(regionId string, parameterGroupId string, parameterGroupName string) *CopyParameterGroupRequest
- func NewCopyParameterGroupRequestWithAllParams(regionId string, parameterGroupId string, parameterGroupName string, ...) *CopyParameterGroupRequest
- func NewCopyParameterGroupRequestWithoutParam() *CopyParameterGroupRequest
- func (r CopyParameterGroupRequest) GetRegionId() string
- func (r *CopyParameterGroupRequest) SetDescription(description string)
- func (r *CopyParameterGroupRequest) SetParameterGroupId(parameterGroupId string)
- func (r *CopyParameterGroupRequest) SetParameterGroupName(parameterGroupName string)
- func (r *CopyParameterGroupRequest) SetRegionId(regionId string)
- type CopyParameterGroupResponse
- type CopyParameterGroupResult
- type CreateAccountForOpsRequest
- func NewCreateAccountForOpsRequest(regionId string, instanceId string) *CreateAccountForOpsRequest
- func NewCreateAccountForOpsRequestWithAllParams(regionId string, instanceId string, expiredTime *string) *CreateAccountForOpsRequest
- func NewCreateAccountForOpsRequestWithoutParam() *CreateAccountForOpsRequest
- type CreateAccountForOpsResponse
- type CreateAccountForOpsResult
- type CreateAccountRequest
- func NewCreateAccountRequest(regionId string, instanceId string, accountName string, accountPassword string) *CreateAccountRequest
- func NewCreateAccountRequestWithAllParams(regionId string, instanceId string, accountName string, accountPassword string, ...) *CreateAccountRequest
- func NewCreateAccountRequestWithoutParam() *CreateAccountRequest
- func (r CreateAccountRequest) GetRegionId() string
- func (r *CreateAccountRequest) SetAccountName(accountName string)
- func (r *CreateAccountRequest) SetAccountPassword(accountPassword string)
- func (r *CreateAccountRequest) SetInstanceId(instanceId string)
- func (r *CreateAccountRequest) SetNotes(notes string)
- func (r *CreateAccountRequest) SetRegionId(regionId string)
- type CreateAccountResponse
- type CreateAccountResult
- type CreateAuditRequest
- type CreateAuditResponse
- type CreateAuditResult
- type CreateBackupRequest
- type CreateBackupResponse
- type CreateBackupResult
- type CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequest(regionId string, instanceId string, destRegion string) *CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequestWithAllParams(regionId string, instanceId string, destRegion string) *CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequestWithoutParam() *CreateBackupSynchronicityRequest
- type CreateBackupSynchronicityResponse
- type CreateBackupSynchronicityResult
- type CreateDatabaseRequest
- func NewCreateDatabaseRequest(regionId string, instanceId string, dbName string, characterSetName string) *CreateDatabaseRequest
- func NewCreateDatabaseRequestWithAllParams(regionId string, instanceId string, dbName string, characterSetName string) *CreateDatabaseRequest
- func NewCreateDatabaseRequestWithoutParam() *CreateDatabaseRequest
- func (r CreateDatabaseRequest) GetRegionId() string
- func (r *CreateDatabaseRequest) SetCharacterSetName(characterSetName string)
- func (r *CreateDatabaseRequest) SetDbName(dbName string)
- func (r *CreateDatabaseRequest) SetInstanceId(instanceId string)
- func (r *CreateDatabaseRequest) SetRegionId(regionId string)
- type CreateDatabaseResponse
- type CreateDatabaseResult
- type CreateInstanceByTimeInCrossRegionRequest
- func NewCreateInstanceByTimeInCrossRegionRequest(regionId string, restoreTime string, serviceId string, ...) *CreateInstanceByTimeInCrossRegionRequest
- func NewCreateInstanceByTimeInCrossRegionRequestWithAllParams(regionId string, restoreTime string, serviceId string, ...) *CreateInstanceByTimeInCrossRegionRequest
- func NewCreateInstanceByTimeInCrossRegionRequestWithoutParam() *CreateInstanceByTimeInCrossRegionRequest
- func (r CreateInstanceByTimeInCrossRegionRequest) GetRegionId() string
- func (r *CreateInstanceByTimeInCrossRegionRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
- func (r *CreateInstanceByTimeInCrossRegionRequest) SetRegionId(regionId string)
- func (r *CreateInstanceByTimeInCrossRegionRequest) SetRestoreTime(restoreTime string)
- func (r *CreateInstanceByTimeInCrossRegionRequest) SetServiceId(serviceId string)
- type CreateInstanceByTimeInCrossRegionResponse
- type CreateInstanceByTimeInCrossRegionResult
- type CreateInstanceByTimeRequest
- func NewCreateInstanceByTimeRequest(regionId string, instanceId string, restoreTime string, ...) *CreateInstanceByTimeRequest
- func NewCreateInstanceByTimeRequestWithAllParams(regionId string, instanceId string, restoreTime string, ...) *CreateInstanceByTimeRequest
- func NewCreateInstanceByTimeRequestWithoutParam() *CreateInstanceByTimeRequest
- func (r CreateInstanceByTimeRequest) GetRegionId() string
- func (r *CreateInstanceByTimeRequest) SetInstanceId(instanceId string)
- func (r *CreateInstanceByTimeRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
- func (r *CreateInstanceByTimeRequest) SetRegionId(regionId string)
- func (r *CreateInstanceByTimeRequest) SetRestoreTime(restoreTime string)
- type CreateInstanceByTimeResponse
- type CreateInstanceByTimeResult
- type CreateInstanceFromBackupRequest
- func NewCreateInstanceFromBackupRequest(regionId string, backupId string, engine string, ...) *CreateInstanceFromBackupRequest
- func NewCreateInstanceFromBackupRequestWithAllParams(regionId string, backupId string, engine string, ...) *CreateInstanceFromBackupRequest
- func NewCreateInstanceFromBackupRequestWithoutParam() *CreateInstanceFromBackupRequest
- func (r CreateInstanceFromBackupRequest) GetRegionId() string
- func (r *CreateInstanceFromBackupRequest) SetBackupId(backupId string)
- func (r *CreateInstanceFromBackupRequest) SetEngine(engine string)
- func (r *CreateInstanceFromBackupRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
- func (r *CreateInstanceFromBackupRequest) SetRegionId(regionId string)
- type CreateInstanceFromBackupResponse
- type CreateInstanceFromBackupResult
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateInstanceResult
- type CreateParameterGroupRequest
- func NewCreateParameterGroupRequest(regionId string, engine string, engineVersion string, ...) *CreateParameterGroupRequest
- func NewCreateParameterGroupRequestWithAllParams(regionId string, engine string, engineVersion string, ...) *CreateParameterGroupRequest
- func NewCreateParameterGroupRequestWithoutParam() *CreateParameterGroupRequest
- func (r CreateParameterGroupRequest) GetRegionId() string
- func (r *CreateParameterGroupRequest) SetDescription(description string)
- func (r *CreateParameterGroupRequest) SetEngine(engine string)
- func (r *CreateParameterGroupRequest) SetEngineVersion(engineVersion string)
- func (r *CreateParameterGroupRequest) SetParameterGroupName(parameterGroupName string)
- func (r *CreateParameterGroupRequest) SetRegionId(regionId string)
- type CreateParameterGroupResponse
- type CreateParameterGroupResult
- type CreateROInstanceRequest
- func NewCreateROInstanceRequest(regionId string, instanceId string, instanceName string, instanceClass string, ...) *CreateROInstanceRequest
- func NewCreateROInstanceRequestWithAllParams(regionId string, instanceId string, instanceName string, instanceClass string, ...) *CreateROInstanceRequest
- func NewCreateROInstanceRequestWithoutParam() *CreateROInstanceRequest
- func (r CreateROInstanceRequest) GetRegionId() string
- func (r *CreateROInstanceRequest) SetAzId(azId string)
- func (r *CreateROInstanceRequest) SetCount(count int)
- func (r *CreateROInstanceRequest) SetInstanceClass(instanceClass string)
- func (r *CreateROInstanceRequest) SetInstanceId(instanceId string)
- func (r *CreateROInstanceRequest) SetInstanceName(instanceName string)
- func (r *CreateROInstanceRequest) SetInstanceStorageGB(instanceStorageGB int)
- func (r *CreateROInstanceRequest) SetInstanceStorageType(instanceStorageType string)
- func (r *CreateROInstanceRequest) SetParameterGroup(parameterGroup string)
- func (r *CreateROInstanceRequest) SetRegionId(regionId string)
- func (r *CreateROInstanceRequest) SetRoInstanceProxy(roInstanceProxy string)
- func (r *CreateROInstanceRequest) SetStorageEncrypted(storageEncrypted bool)
- func (r *CreateROInstanceRequest) SetSubnetId(subnetId string)
- func (r *CreateROInstanceRequest) SetVpcId(vpcId string)
- type CreateROInstanceResponse
- type CreateROInstanceResult
- type CreateReadWriteProxyRequest
- func NewCreateReadWriteProxyRequest(regionId string, instanceId string) *CreateReadWriteProxyRequest
- func NewCreateReadWriteProxyRequestWithAllParams(regionId string, instanceId string, delayThreshold *int, ...) *CreateReadWriteProxyRequest
- func NewCreateReadWriteProxyRequestWithoutParam() *CreateReadWriteProxyRequest
- func (r CreateReadWriteProxyRequest) GetRegionId() string
- func (r *CreateReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)
- func (r *CreateReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)
- func (r *CreateReadWriteProxyRequest) SetInstanceId(instanceId string)
- func (r *CreateReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)
- func (r *CreateReadWriteProxyRequest) SetRegionId(regionId string)
- type CreateReadWriteProxyResponse
- type CreateReadWriteProxyResult
- type CreateSuperAccountRequest
- func NewCreateSuperAccountRequest(regionId string, instanceId string, accountName string, accountPassword string) *CreateSuperAccountRequest
- func NewCreateSuperAccountRequestWithAllParams(regionId string, instanceId string, accountName string, accountPassword string) *CreateSuperAccountRequest
- func NewCreateSuperAccountRequestWithoutParam() *CreateSuperAccountRequest
- func (r CreateSuperAccountRequest) GetRegionId() string
- func (r *CreateSuperAccountRequest) SetAccountName(accountName string)
- func (r *CreateSuperAccountRequest) SetAccountPassword(accountPassword string)
- func (r *CreateSuperAccountRequest) SetInstanceId(instanceId string)
- func (r *CreateSuperAccountRequest) SetRegionId(regionId string)
- type CreateSuperAccountResponse
- type CreateSuperAccountResult
- type DeleteAccountRequest
- type DeleteAccountResponse
- type DeleteAccountResult
- type DeleteAuditRequest
- type DeleteAuditResponse
- type DeleteAuditResult
- type DeleteBackupRequest
- type DeleteBackupResponse
- type DeleteBackupResult
- type DeleteBackupSynchronicityRequest
- func NewDeleteBackupSynchronicityRequest(regionId string, serviceId string) *DeleteBackupSynchronicityRequest
- func NewDeleteBackupSynchronicityRequestWithAllParams(regionId string, serviceId string) *DeleteBackupSynchronicityRequest
- func NewDeleteBackupSynchronicityRequestWithoutParam() *DeleteBackupSynchronicityRequest
- type DeleteBackupSynchronicityResponse
- type DeleteBackupSynchronicityResult
- type DeleteDatabaseRequest
- type DeleteDatabaseResponse
- type DeleteDatabaseResult
- type DeleteImportFileRequest
- func NewDeleteImportFileRequest(regionId string, instanceId string, fileName string) *DeleteImportFileRequest
- func NewDeleteImportFileRequestWithAllParams(regionId string, instanceId string, fileName string, sharedFileGid *string) *DeleteImportFileRequest
- func NewDeleteImportFileRequestWithoutParam() *DeleteImportFileRequest
- func (r DeleteImportFileRequest) GetRegionId() string
- func (r *DeleteImportFileRequest) SetFileName(fileName string)
- func (r *DeleteImportFileRequest) SetInstanceId(instanceId string)
- func (r *DeleteImportFileRequest) SetRegionId(regionId string)
- func (r *DeleteImportFileRequest) SetSharedFileGid(sharedFileGid string)
- type DeleteImportFileResponse
- type DeleteImportFileResult
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DeleteInstanceResult
- type DeleteParameterGroupRequest
- func NewDeleteParameterGroupRequest(regionId string, parameterGroupId string) *DeleteParameterGroupRequest
- func NewDeleteParameterGroupRequestWithAllParams(regionId string, parameterGroupId string) *DeleteParameterGroupRequest
- func NewDeleteParameterGroupRequestWithoutParam() *DeleteParameterGroupRequest
- type DeleteParameterGroupResponse
- type DeleteParameterGroupResult
- type DeleteReadWriteProxyRequest
- func NewDeleteReadWriteProxyRequest(regionId string, readWriteProxyId string) *DeleteReadWriteProxyRequest
- func NewDeleteReadWriteProxyRequestWithAllParams(regionId string, readWriteProxyId string) *DeleteReadWriteProxyRequest
- func NewDeleteReadWriteProxyRequestWithoutParam() *DeleteReadWriteProxyRequest
- type DeleteReadWriteProxyResponse
- type DeleteReadWriteProxyResult
- type DescribeAccountPrivilegeRequest
- func NewDescribeAccountPrivilegeRequest(regionId string, instanceId string, accountName string) *DescribeAccountPrivilegeRequest
- func NewDescribeAccountPrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string) *DescribeAccountPrivilegeRequest
- func NewDescribeAccountPrivilegeRequestWithoutParam() *DescribeAccountPrivilegeRequest
- type DescribeAccountPrivilegeResponse
- type DescribeAccountPrivilegeResult
- type DescribeAccountsForOpsRequest
- func NewDescribeAccountsForOpsRequest(regionId string, instanceId string) *DescribeAccountsForOpsRequest
- func NewDescribeAccountsForOpsRequestWithAllParams(regionId string, instanceId string) *DescribeAccountsForOpsRequest
- func NewDescribeAccountsForOpsRequestWithoutParam() *DescribeAccountsForOpsRequest
- type DescribeAccountsForOpsResponse
- type DescribeAccountsForOpsResult
- type DescribeAccountsRequest
- func NewDescribeAccountsRequest(regionId string, instanceId string) *DescribeAccountsRequest
- func NewDescribeAccountsRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int) *DescribeAccountsRequest
- func NewDescribeAccountsRequestWithoutParam() *DescribeAccountsRequest
- func (r DescribeAccountsRequest) GetRegionId() string
- func (r *DescribeAccountsRequest) SetInstanceId(instanceId string)
- func (r *DescribeAccountsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeAccountsRequest) SetPageSize(pageSize int)
- func (r *DescribeAccountsRequest) SetRegionId(regionId string)
- type DescribeAccountsResponse
- type DescribeAccountsResult
- type DescribeActiveQueryPerformanceRequest
- func NewDescribeActiveQueryPerformanceRequest(regionId string, instanceId string) *DescribeActiveQueryPerformanceRequest
- func NewDescribeActiveQueryPerformanceRequestWithAllParams(regionId string, instanceId string, db *string, threshold *int, ...) *DescribeActiveQueryPerformanceRequest
- func NewDescribeActiveQueryPerformanceRequestWithoutParam() *DescribeActiveQueryPerformanceRequest
- func (r DescribeActiveQueryPerformanceRequest) GetRegionId() string
- func (r *DescribeActiveQueryPerformanceRequest) SetDb(db string)
- func (r *DescribeActiveQueryPerformanceRequest) SetInstanceId(instanceId string)
- func (r *DescribeActiveQueryPerformanceRequest) SetPageNumber(pageNumber int)
- func (r *DescribeActiveQueryPerformanceRequest) SetPageSize(pageSize int)
- func (r *DescribeActiveQueryPerformanceRequest) SetRegionId(regionId string)
- func (r *DescribeActiveQueryPerformanceRequest) SetThreshold(threshold int)
- type DescribeActiveQueryPerformanceResponse
- type DescribeActiveQueryPerformanceResult
- type DescribeAuditDownloadURLRequest
- func NewDescribeAuditDownloadURLRequest(regionId string, instanceId string, fileName string) *DescribeAuditDownloadURLRequest
- func NewDescribeAuditDownloadURLRequestWithAllParams(regionId string, instanceId string, fileName string) *DescribeAuditDownloadURLRequest
- func NewDescribeAuditDownloadURLRequestWithoutParam() *DescribeAuditDownloadURLRequest
- type DescribeAuditDownloadURLResponse
- type DescribeAuditDownloadURLResult
- type DescribeAuditFilesRequest
- type DescribeAuditFilesResponse
- type DescribeAuditFilesResult
- type DescribeAuditOptionsRequest
- func NewDescribeAuditOptionsRequest(regionId string, instanceId string, name string) *DescribeAuditOptionsRequest
- func NewDescribeAuditOptionsRequestWithAllParams(regionId string, instanceId string, name string) *DescribeAuditOptionsRequest
- func NewDescribeAuditOptionsRequestWithoutParam() *DescribeAuditOptionsRequest
- type DescribeAuditOptionsResponse
- type DescribeAuditOptionsResult
- type DescribeAuditRequest
- type DescribeAuditResponse
- type DescribeAuditResult
- type DescribeAuditResultRequest
- func NewDescribeAuditResultRequest(regionId string, instanceId string, startTime string, endTime string) *DescribeAuditResultRequest
- func NewDescribeAuditResultRequestWithAllParams(regionId string, instanceId string, startTime string, endTime string, ...) *DescribeAuditResultRequest
- func NewDescribeAuditResultRequestWithoutParam() *DescribeAuditResultRequest
- func (r DescribeAuditResultRequest) GetRegionId() string
- func (r *DescribeAuditResultRequest) SetAccountName(accountName string)
- func (r *DescribeAuditResultRequest) SetDbName(dbName string)
- func (r *DescribeAuditResultRequest) SetEndTime(endTime string)
- func (r *DescribeAuditResultRequest) SetFilters(filters []common.Filter)
- func (r *DescribeAuditResultRequest) SetInstanceId(instanceId string)
- func (r *DescribeAuditResultRequest) SetPageNumber(pageNumber int)
- func (r *DescribeAuditResultRequest) SetPageSize(pageSize int)
- func (r *DescribeAuditResultRequest) SetRegionId(regionId string)
- func (r *DescribeAuditResultRequest) SetStartTime(startTime string)
- type DescribeAuditResultResponse
- type DescribeAuditResultResult
- type DescribeAzsRequest
- type DescribeAzsResponse
- type DescribeAzsResult
- type DescribeBackupDownloadURLRequest
- func NewDescribeBackupDownloadURLRequest(regionId string, backupId string) *DescribeBackupDownloadURLRequest
- func NewDescribeBackupDownloadURLRequestWithAllParams(regionId string, backupId string, fileName *string, ...) *DescribeBackupDownloadURLRequest
- func NewDescribeBackupDownloadURLRequestWithoutParam() *DescribeBackupDownloadURLRequest
- func (r DescribeBackupDownloadURLRequest) GetRegionId() string
- func (r *DescribeBackupDownloadURLRequest) SetBackupId(backupId string)
- func (r *DescribeBackupDownloadURLRequest) SetFileName(fileName string)
- func (r *DescribeBackupDownloadURLRequest) SetRegionId(regionId string)
- func (r *DescribeBackupDownloadURLRequest) SetUrlExpirationSecond(urlExpirationSecond string)
- type DescribeBackupDownloadURLResponse
- type DescribeBackupDownloadURLResult
- type DescribeBackupPolicyRequest
- type DescribeBackupPolicyResponse
- type DescribeBackupPolicyResult
- type DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequest(regionId string) *DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int) *DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequestWithoutParam() *DescribeBackupSynchronicitiesRequest
- type DescribeBackupSynchronicitiesResponse
- type DescribeBackupSynchronicitiesResult
- type DescribeBackupsRequest
- func NewDescribeBackupsRequest(regionId string, instanceId string, pageNumber int, pageSize int) *DescribeBackupsRequest
- func NewDescribeBackupsRequestWithAllParams(regionId string, instanceId string, auto *int, backupTypeFilter *string, ...) *DescribeBackupsRequest
- func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest
- func (r DescribeBackupsRequest) GetRegionId() string
- func (r *DescribeBackupsRequest) SetAuto(auto int)
- func (r *DescribeBackupsRequest) SetBackupTimeRangeEndFilter(backupTimeRangeEndFilter string)
- func (r *DescribeBackupsRequest) SetBackupTimeRangeStartFilter(backupTimeRangeStartFilter string)
- func (r *DescribeBackupsRequest) SetBackupTypeFilter(backupTypeFilter string)
- func (r *DescribeBackupsRequest) SetDbNameFilter(dbNameFilter string)
- func (r *DescribeBackupsRequest) SetInstanceId(instanceId string)
- func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
- func (r *DescribeBackupsRequest) SetRegionId(regionId string)
- type DescribeBackupsResponse
- type DescribeBackupsResult
- type DescribeBinlogDownloadURLRequest
- func NewDescribeBinlogDownloadURLRequest(regionId string, instanceId string, binlogBackupId string) *DescribeBinlogDownloadURLRequest
- func NewDescribeBinlogDownloadURLRequestWithAllParams(regionId string, instanceId string, binlogBackupId string, seconds *int) *DescribeBinlogDownloadURLRequest
- func NewDescribeBinlogDownloadURLRequestWithoutParam() *DescribeBinlogDownloadURLRequest
- func (r DescribeBinlogDownloadURLRequest) GetRegionId() string
- func (r *DescribeBinlogDownloadURLRequest) SetBinlogBackupId(binlogBackupId string)
- func (r *DescribeBinlogDownloadURLRequest) SetInstanceId(instanceId string)
- func (r *DescribeBinlogDownloadURLRequest) SetRegionId(regionId string)
- func (r *DescribeBinlogDownloadURLRequest) SetSeconds(seconds int)
- type DescribeBinlogDownloadURLResponse
- type DescribeBinlogDownloadURLResult
- type DescribeBinlogsRequest
- func NewDescribeBinlogsRequest(regionId string, instanceId string) *DescribeBinlogsRequest
- func NewDescribeBinlogsRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int, ...) *DescribeBinlogsRequest
- func NewDescribeBinlogsRequestWithoutParam() *DescribeBinlogsRequest
- func (r DescribeBinlogsRequest) GetRegionId() string
- func (r *DescribeBinlogsRequest) SetEndTime(endTime string)
- func (r *DescribeBinlogsRequest) SetInstanceId(instanceId string)
- func (r *DescribeBinlogsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBinlogsRequest) SetPageSize(pageSize int)
- func (r *DescribeBinlogsRequest) SetRegionId(regionId string)
- func (r *DescribeBinlogsRequest) SetStartTime(startTime string)
- type DescribeBinlogsResponse
- type DescribeBinlogsResult
- type DescribeDatabasesRequest
- func NewDescribeDatabasesRequest(regionId string, instanceId string) *DescribeDatabasesRequest
- func NewDescribeDatabasesRequestWithAllParams(regionId string, instanceId string, dbName *string, pageNumber *int, ...) *DescribeDatabasesRequest
- func NewDescribeDatabasesRequestWithoutParam() *DescribeDatabasesRequest
- func (r DescribeDatabasesRequest) GetRegionId() string
- func (r *DescribeDatabasesRequest) SetDbName(dbName string)
- func (r *DescribeDatabasesRequest) SetInstanceId(instanceId string)
- func (r *DescribeDatabasesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeDatabasesRequest) SetPageSize(pageSize int)
- func (r *DescribeDatabasesRequest) SetRegionId(regionId string)
- type DescribeDatabasesResponse
- type DescribeDatabasesResult
- type DescribeErrorLogRequest
- func NewDescribeErrorLogRequest(regionId string, instanceId string, startTime string, endTime string) *DescribeErrorLogRequest
- func NewDescribeErrorLogRequestWithAllParams(regionId string, instanceId string, startTime string, endTime string, ...) *DescribeErrorLogRequest
- func NewDescribeErrorLogRequestWithoutParam() *DescribeErrorLogRequest
- func (r DescribeErrorLogRequest) GetRegionId() string
- func (r *DescribeErrorLogRequest) SetDbName(dbName string)
- func (r *DescribeErrorLogRequest) SetEndTime(endTime string)
- func (r *DescribeErrorLogRequest) SetInstanceId(instanceId string)
- func (r *DescribeErrorLogRequest) SetPageNumber(pageNumber int)
- func (r *DescribeErrorLogRequest) SetPageSize(pageSize int)
- func (r *DescribeErrorLogRequest) SetRegionId(regionId string)
- func (r *DescribeErrorLogRequest) SetStartTime(startTime string)
- type DescribeErrorLogResponse
- type DescribeErrorLogResult
- type DescribeErrorLogsRequest
- type DescribeErrorLogsResponse
- type DescribeErrorLogsResult
- type DescribeImportFilesRequest
- type DescribeImportFilesResponse
- type DescribeImportFilesResult
- type DescribeIndexPerformanceRequest
- func NewDescribeIndexPerformanceRequest(regionId string, instanceId string, queryType string) *DescribeIndexPerformanceRequest
- func NewDescribeIndexPerformanceRequestWithAllParams(regionId string, instanceId string, queryType string, db *string, ...) *DescribeIndexPerformanceRequest
- func NewDescribeIndexPerformanceRequestWithoutParam() *DescribeIndexPerformanceRequest
- func (r DescribeIndexPerformanceRequest) GetRegionId() string
- func (r *DescribeIndexPerformanceRequest) SetDb(db string)
- func (r *DescribeIndexPerformanceRequest) SetInstanceId(instanceId string)
- func (r *DescribeIndexPerformanceRequest) SetPageNumber(pageNumber int)
- func (r *DescribeIndexPerformanceRequest) SetPageSize(pageSize int)
- func (r *DescribeIndexPerformanceRequest) SetQueryType(queryType string)
- func (r *DescribeIndexPerformanceRequest) SetRegionId(regionId string)
- type DescribeIndexPerformanceResponse
- type DescribeIndexPerformanceResult
- type DescribeInstanceAttributesRequest
- func NewDescribeInstanceAttributesRequest(regionId string, instanceId string) *DescribeInstanceAttributesRequest
- func NewDescribeInstanceAttributesRequestWithAllParams(regionId string, instanceId string) *DescribeInstanceAttributesRequest
- func NewDescribeInstanceAttributesRequestWithoutParam() *DescribeInstanceAttributesRequest
- type DescribeInstanceAttributesResponse
- type DescribeInstanceAttributesResult
- type DescribeInstanceVersionInternalRequest
- func NewDescribeInstanceVersionInternalRequest(regionId string, instanceId string) *DescribeInstanceVersionInternalRequest
- func NewDescribeInstanceVersionInternalRequestWithAllParams(regionId string, instanceId string) *DescribeInstanceVersionInternalRequest
- func NewDescribeInstanceVersionInternalRequestWithoutParam() *DescribeInstanceVersionInternalRequest
- type DescribeInstanceVersionInternalResponse
- type DescribeInstanceVersionInternalResult
- type DescribeInstancesRequest
- func (r DescribeInstancesRequest) GetRegionId() string
- func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeInstancesRequest) SetRegionId(regionId string)
- func (r *DescribeInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
- type DescribeInstancesResponse
- type DescribeInstancesResult
- type DescribeInterceptRequest
- type DescribeInterceptResponse
- type DescribeInterceptResult
- type DescribeInterceptResultRequest
- func NewDescribeInterceptResultRequest(regionId string, instanceId string) *DescribeInterceptResultRequest
- func NewDescribeInterceptResultRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int) *DescribeInterceptResultRequest
- func NewDescribeInterceptResultRequestWithoutParam() *DescribeInterceptResultRequest
- func (r DescribeInterceptResultRequest) GetRegionId() string
- func (r *DescribeInterceptResultRequest) SetInstanceId(instanceId string)
- func (r *DescribeInterceptResultRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInterceptResultRequest) SetPageSize(pageSize int)
- func (r *DescribeInterceptResultRequest) SetRegionId(regionId string)
- type DescribeInterceptResultResponse
- type DescribeInterceptResultResult
- type DescribeLatestRestoreTimeRequest
- func NewDescribeLatestRestoreTimeRequest(regionId string, instanceId string) *DescribeLatestRestoreTimeRequest
- func NewDescribeLatestRestoreTimeRequestWithAllParams(regionId string, instanceId string) *DescribeLatestRestoreTimeRequest
- func NewDescribeLatestRestoreTimeRequestWithoutParam() *DescribeLatestRestoreTimeRequest
- type DescribeLatestRestoreTimeResponse
- type DescribeLatestRestoreTimeResult
- type DescribeLogDownloadURLRequest
- func NewDescribeLogDownloadURLRequest(regionId string, instanceId string, logId string) *DescribeLogDownloadURLRequest
- func NewDescribeLogDownloadURLRequestWithAllParams(regionId string, instanceId string, logId string, seconds *int) *DescribeLogDownloadURLRequest
- func NewDescribeLogDownloadURLRequestWithoutParam() *DescribeLogDownloadURLRequest
- func (r DescribeLogDownloadURLRequest) GetRegionId() string
- func (r *DescribeLogDownloadURLRequest) SetInstanceId(instanceId string)
- func (r *DescribeLogDownloadURLRequest) SetLogId(logId string)
- func (r *DescribeLogDownloadURLRequest) SetRegionId(regionId string)
- func (r *DescribeLogDownloadURLRequest) SetSeconds(seconds int)
- type DescribeLogDownloadURLResponse
- type DescribeLogDownloadURLResult
- type DescribeLogsRequest
- func (r DescribeLogsRequest) GetRegionId() string
- func (r *DescribeLogsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeLogsRequest) SetInstanceId(instanceId string)
- func (r *DescribeLogsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeLogsRequest) SetPageSize(pageSize int)
- func (r *DescribeLogsRequest) SetRegionId(regionId string)
- type DescribeLogsResponse
- type DescribeLogsResult
- type DescribeParameterGroupAttachedInstancesRequest
- func NewDescribeParameterGroupAttachedInstancesRequest(regionId string, parameterGroupId string) *DescribeParameterGroupAttachedInstancesRequest
- func NewDescribeParameterGroupAttachedInstancesRequestWithAllParams(regionId string, parameterGroupId string, pageNumber *int, pageSize *int) *DescribeParameterGroupAttachedInstancesRequest
- func NewDescribeParameterGroupAttachedInstancesRequestWithoutParam() *DescribeParameterGroupAttachedInstancesRequest
- func (r DescribeParameterGroupAttachedInstancesRequest) GetRegionId() string
- func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeParameterGroupAttachedInstancesRequest) SetParameterGroupId(parameterGroupId string)
- func (r *DescribeParameterGroupAttachedInstancesRequest) SetRegionId(regionId string)
- type DescribeParameterGroupAttachedInstancesResponse
- type DescribeParameterGroupAttachedInstancesResult
- type DescribeParameterGroupParametersRequest
- func NewDescribeParameterGroupParametersRequest(regionId string, parameterGroupId string) *DescribeParameterGroupParametersRequest
- func NewDescribeParameterGroupParametersRequestWithAllParams(regionId string, parameterGroupId string) *DescribeParameterGroupParametersRequest
- func NewDescribeParameterGroupParametersRequestWithoutParam() *DescribeParameterGroupParametersRequest
- type DescribeParameterGroupParametersResponse
- type DescribeParameterGroupParametersResult
- type DescribeParameterGroupsRequest
- func NewDescribeParameterGroupsRequest(regionId string) *DescribeParameterGroupsRequest
- func NewDescribeParameterGroupsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int) *DescribeParameterGroupsRequest
- func NewDescribeParameterGroupsRequestWithoutParam() *DescribeParameterGroupsRequest
- type DescribeParameterGroupsResponse
- type DescribeParameterGroupsResult
- type DescribeParameterModifyRecordsRequest
- func NewDescribeParameterModifyRecordsRequest(regionId string, parameterGroupId string) *DescribeParameterModifyRecordsRequest
- func NewDescribeParameterModifyRecordsRequestWithAllParams(regionId string, parameterGroupId string, pageNumber *int, pageSize *int, ...) *DescribeParameterModifyRecordsRequest
- func NewDescribeParameterModifyRecordsRequestWithoutParam() *DescribeParameterModifyRecordsRequest
- func (r DescribeParameterModifyRecordsRequest) GetRegionId() string
- func (r *DescribeParameterModifyRecordsRequest) SetEndTime(endTime string)
- func (r *DescribeParameterModifyRecordsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeParameterModifyRecordsRequest) SetPageSize(pageSize int)
- func (r *DescribeParameterModifyRecordsRequest) SetParameterGroupId(parameterGroupId string)
- func (r *DescribeParameterModifyRecordsRequest) SetRegionId(regionId string)
- func (r *DescribeParameterModifyRecordsRequest) SetStartTime(startTime string)
- type DescribeParameterModifyRecordsResponse
- type DescribeParameterModifyRecordsResult
- type DescribeParametersRequest
- type DescribeParametersResponse
- type DescribeParametersResult
- type DescribePrivilegeRequest
- type DescribePrivilegeResponse
- type DescribePrivilegeResult
- type DescribeQueryPerformanceRequest
- func NewDescribeQueryPerformanceRequest(regionId string, instanceId string, queryType string) *DescribeQueryPerformanceRequest
- func NewDescribeQueryPerformanceRequestWithAllParams(regionId string, instanceId string, queryType string, threshold *int, ...) *DescribeQueryPerformanceRequest
- func NewDescribeQueryPerformanceRequestWithoutParam() *DescribeQueryPerformanceRequest
- func (r DescribeQueryPerformanceRequest) GetRegionId() string
- func (r *DescribeQueryPerformanceRequest) SetInstanceId(instanceId string)
- func (r *DescribeQueryPerformanceRequest) SetPageNumber(pageNumber int)
- func (r *DescribeQueryPerformanceRequest) SetPageSize(pageSize int)
- func (r *DescribeQueryPerformanceRequest) SetQueryType(queryType string)
- func (r *DescribeQueryPerformanceRequest) SetRegionId(regionId string)
- func (r *DescribeQueryPerformanceRequest) SetThreshold(threshold int)
- type DescribeQueryPerformanceResponse
- type DescribeQueryPerformanceResult
- type DescribeReadWriteProxyAttributeRequest
- func NewDescribeReadWriteProxyAttributeRequest(regionId string, readWriteProxyId string) *DescribeReadWriteProxyAttributeRequest
- func NewDescribeReadWriteProxyAttributeRequestWithAllParams(regionId string, readWriteProxyId string) *DescribeReadWriteProxyAttributeRequest
- func NewDescribeReadWriteProxyAttributeRequestWithoutParam() *DescribeReadWriteProxyAttributeRequest
- type DescribeReadWriteProxyAttributeResponse
- type DescribeReadWriteProxyAttributeResult
- type DescribeSSLRequest
- type DescribeSSLResponse
- type DescribeSSLResult
- type DescribeSlowLogAttributesRequest
- func NewDescribeSlowLogAttributesRequest(regionId string, instanceId string, startTime string, endTime string) *DescribeSlowLogAttributesRequest
- func NewDescribeSlowLogAttributesRequestWithAllParams(regionId string, instanceId string, startTime string, endTime string, ...) *DescribeSlowLogAttributesRequest
- func NewDescribeSlowLogAttributesRequestWithoutParam() *DescribeSlowLogAttributesRequest
- func (r DescribeSlowLogAttributesRequest) GetRegionId() string
- func (r *DescribeSlowLogAttributesRequest) SetDbName(dbName string)
- func (r *DescribeSlowLogAttributesRequest) SetEndTime(endTime string)
- func (r *DescribeSlowLogAttributesRequest) SetInstanceId(instanceId string)
- func (r *DescribeSlowLogAttributesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSlowLogAttributesRequest) SetPageSize(pageSize int)
- func (r *DescribeSlowLogAttributesRequest) SetRegionId(regionId string)
- func (r *DescribeSlowLogAttributesRequest) SetStartTime(startTime string)
- type DescribeSlowLogAttributesResponse
- type DescribeSlowLogAttributesResult
- type DescribeSlowLogsRequest
- func NewDescribeSlowLogsRequest(regionId string, instanceId string, startTime string, endTime string) *DescribeSlowLogsRequest
- func NewDescribeSlowLogsRequestWithAllParams(regionId string, instanceId string, startTime string, endTime string, ...) *DescribeSlowLogsRequest
- func NewDescribeSlowLogsRequestWithoutParam() *DescribeSlowLogsRequest
- func (r DescribeSlowLogsRequest) GetRegionId() string
- func (r *DescribeSlowLogsRequest) SetDbName(dbName string)
- func (r *DescribeSlowLogsRequest) SetEndTime(endTime string)
- func (r *DescribeSlowLogsRequest) SetInstanceId(instanceId string)
- func (r *DescribeSlowLogsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSlowLogsRequest) SetPageSize(pageSize int)
- func (r *DescribeSlowLogsRequest) SetRegionId(regionId string)
- func (r *DescribeSlowLogsRequest) SetStartTime(startTime string)
- type DescribeSlowLogsResponse
- type DescribeSlowLogsResult
- type DescribeTablesRequest
- func NewDescribeTablesRequest(regionId string, instanceId string, dbName string) *DescribeTablesRequest
- func NewDescribeTablesRequestWithAllParams(regionId string, instanceId string, dbName string, pageNumber *int, ...) *DescribeTablesRequest
- func NewDescribeTablesRequestWithoutParam() *DescribeTablesRequest
- func (r DescribeTablesRequest) GetRegionId() string
- func (r *DescribeTablesRequest) SetDbName(dbName string)
- func (r *DescribeTablesRequest) SetInstanceId(instanceId string)
- func (r *DescribeTablesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeTablesRequest) SetPageSize(pageSize int)
- func (r *DescribeTablesRequest) SetRegionId(regionId string)
- type DescribeTablesResponse
- type DescribeTablesResult
- type DescribeTdeRequest
- type DescribeTdeResponse
- type DescribeTdeResult
- type DescribeWhiteListRequest
- type DescribeWhiteListResponse
- type DescribeWhiteListResult
- type DisableAuditRequest
- type DisableAuditResponse
- type DisableAuditResult
- type DisableInterceptRequest
- type DisableInterceptResponse
- type DisableInterceptResult
- type DisableInternetAccessRequest
- type DisableInternetAccessResponse
- type DisableInternetAccessResult
- type DisableReadWriteProxyInternetAccessRequest
- func NewDisableReadWriteProxyInternetAccessRequest(regionId string, readWriteProxyId string) *DisableReadWriteProxyInternetAccessRequest
- func NewDisableReadWriteProxyInternetAccessRequestWithAllParams(regionId string, readWriteProxyId string) *DisableReadWriteProxyInternetAccessRequest
- func NewDisableReadWriteProxyInternetAccessRequestWithoutParam() *DisableReadWriteProxyInternetAccessRequest
- type DisableReadWriteProxyInternetAccessResponse
- type DisableReadWriteProxyInternetAccessResult
- type DisableSSLRequest
- type DisableSSLResponse
- type DisableSSLResult
- type EnableAuditRequest
- type EnableAuditResponse
- type EnableAuditResult
- type EnableInterceptRequest
- type EnableInterceptResponse
- type EnableInterceptResult
- type EnableInternetAccessRequest
- type EnableInternetAccessResponse
- type EnableInternetAccessResult
- type EnableReadWriteProxyInternetAccessRequest
- func NewEnableReadWriteProxyInternetAccessRequest(regionId string, readWriteProxyId string) *EnableReadWriteProxyInternetAccessRequest
- func NewEnableReadWriteProxyInternetAccessRequestWithAllParams(regionId string, readWriteProxyId string) *EnableReadWriteProxyInternetAccessRequest
- func NewEnableReadWriteProxyInternetAccessRequestWithoutParam() *EnableReadWriteProxyInternetAccessRequest
- type EnableReadWriteProxyInternetAccessResponse
- type EnableReadWriteProxyInternetAccessResult
- type EnableSSLRequest
- type EnableSSLResponse
- type EnableSSLResult
- type EnableTdeRequest
- type EnableTdeResponse
- type EnableTdeResult
- type ExchangeInstanceDnsRequest
- func NewExchangeInstanceDnsRequest(regionId string, instanceId string, targetInstanceId string) *ExchangeInstanceDnsRequest
- func NewExchangeInstanceDnsRequestWithAllParams(regionId string, instanceId string, targetInstanceId string) *ExchangeInstanceDnsRequest
- func NewExchangeInstanceDnsRequestWithoutParam() *ExchangeInstanceDnsRequest
- type ExchangeInstanceDnsResponse
- type ExchangeInstanceDnsResult
- type FailoverInstanceRequest
- type FailoverInstanceResponse
- type FailoverInstanceResult
- type GetUploadKeyRequest
- type GetUploadKeyResponse
- type GetUploadKeyResult
- type GrantAccountPrivilegeRequest
- func NewGrantAccountPrivilegeRequest(regionId string, instanceId string, accountName string) *GrantAccountPrivilegeRequest
- func NewGrantAccountPrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string, ...) *GrantAccountPrivilegeRequest
- func NewGrantAccountPrivilegeRequestWithoutParam() *GrantAccountPrivilegeRequest
- func (r GrantAccountPrivilegeRequest) GetRegionId() string
- func (r *GrantAccountPrivilegeRequest) SetAccountName(accountName string)
- func (r *GrantAccountPrivilegeRequest) SetDatabasePrivileges(databasePrivileges []rds.DatabasePrivilege)
- func (r *GrantAccountPrivilegeRequest) SetGlobalPrivileges(globalPrivileges []string)
- func (r *GrantAccountPrivilegeRequest) SetInstanceId(instanceId string)
- func (r *GrantAccountPrivilegeRequest) SetRegionId(regionId string)
- type GrantAccountPrivilegeResponse
- type GrantAccountPrivilegeResult
- type GrantPrivilegeRequest
- func NewGrantPrivilegeRequest(regionId string, instanceId string, accountName string, ...) *GrantPrivilegeRequest
- func NewGrantPrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string, ...) *GrantPrivilegeRequest
- func NewGrantPrivilegeRequestWithoutParam() *GrantPrivilegeRequest
- func (r GrantPrivilegeRequest) GetRegionId() string
- func (r *GrantPrivilegeRequest) SetAccountName(accountName string)
- func (r *GrantPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)
- func (r *GrantPrivilegeRequest) SetInstanceId(instanceId string)
- func (r *GrantPrivilegeRequest) SetRegionId(regionId string)
- type GrantPrivilegeResponse
- type GrantPrivilegeResult
- type ModifyAccountForOpsRequest
- func NewModifyAccountForOpsRequest(regionId string, instanceId string) *ModifyAccountForOpsRequest
- func NewModifyAccountForOpsRequestWithAllParams(regionId string, instanceId string, expiredTime *string) *ModifyAccountForOpsRequest
- func NewModifyAccountForOpsRequestWithoutParam() *ModifyAccountForOpsRequest
- type ModifyAccountForOpsResponse
- type ModifyAccountForOpsResult
- type ModifyActiveDirectoryRequest
- func NewModifyActiveDirectoryRequest(regionId string, instanceId string, adResourceId string, forceRestart string) *ModifyActiveDirectoryRequest
- func NewModifyActiveDirectoryRequestWithAllParams(regionId string, instanceId string, adResourceId string, forceRestart string) *ModifyActiveDirectoryRequest
- func NewModifyActiveDirectoryRequestWithoutParam() *ModifyActiveDirectoryRequest
- func (r ModifyActiveDirectoryRequest) GetRegionId() string
- func (r *ModifyActiveDirectoryRequest) SetAdResourceId(adResourceId string)
- func (r *ModifyActiveDirectoryRequest) SetForceRestart(forceRestart string)
- func (r *ModifyActiveDirectoryRequest) SetInstanceId(instanceId string)
- func (r *ModifyActiveDirectoryRequest) SetRegionId(regionId string)
- type ModifyActiveDirectoryResponse
- type ModifyActiveDirectoryResult
- type ModifyAuditRequest
- type ModifyAuditResponse
- type ModifyAuditResult
- type ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequest(regionId string, instanceId string) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithAllParams(regionId string, instanceId string, startWindow *string, ...) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
- func (r ModifyBackupPolicyRequest) GetRegionId() string
- func (r *ModifyBackupPolicyRequest) SetBinlogRetentionPeriod(binlogRetentionPeriod int)
- func (r *ModifyBackupPolicyRequest) SetBinlogUsageLimit(binlogUsageLimit int)
- func (r *ModifyBackupPolicyRequest) SetInstanceId(instanceId string)
- func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)
- func (r *ModifyBackupPolicyRequest) SetStartWindow(startWindow string)
- type ModifyBackupPolicyResponse
- type ModifyBackupPolicyResult
- type ModifyConnectionModeRequest
- func NewModifyConnectionModeRequest(regionId string, instanceId string, connectionMode string) *ModifyConnectionModeRequest
- func NewModifyConnectionModeRequestWithAllParams(regionId string, instanceId string, connectionMode string) *ModifyConnectionModeRequest
- func NewModifyConnectionModeRequestWithoutParam() *ModifyConnectionModeRequest
- type ModifyConnectionModeResponse
- type ModifyConnectionModeResult
- type ModifyInstanceAzRequest
- func NewModifyInstanceAzRequest(regionId string, instanceId string, newAzId []string) *ModifyInstanceAzRequest
- func NewModifyInstanceAzRequestWithAllParams(regionId string, instanceId string, newAzId []string) *ModifyInstanceAzRequest
- func NewModifyInstanceAzRequestWithoutParam() *ModifyInstanceAzRequest
- type ModifyInstanceAzResponse
- type ModifyInstanceAzResult
- type ModifyInstanceNameRequest
- func NewModifyInstanceNameRequest(regionId string, instanceId string, instanceName string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithAllParams(regionId string, instanceId string, instanceName string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
- type ModifyInstanceNameResponse
- type ModifyInstanceNameResult
- type ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequest(regionId string, instanceId string, newInstanceClass string, ...) *ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequestWithAllParams(regionId string, instanceId string, newInstanceClass string, ...) *ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequestWithoutParam() *ModifyInstanceSpecRequest
- func (r ModifyInstanceSpecRequest) GetRegionId() string
- func (r *ModifyInstanceSpecRequest) SetInstanceId(instanceId string)
- func (r *ModifyInstanceSpecRequest) SetNewInstanceClass(newInstanceClass string)
- func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageGB(newInstanceStorageGB int)
- func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageType(newInstanceStorageType string)
- func (r *ModifyInstanceSpecRequest) SetRegionId(regionId string)
- func (r *ModifyInstanceSpecRequest) SetStorageEncrypted(storageEncrypted bool)
- type ModifyInstanceSpecResponse
- type ModifyInstanceSpecResult
- type ModifyParameterGroupAttributeRequest
- func NewModifyParameterGroupAttributeRequest(regionId string, parameterGroupId string, parameterGroupName string) *ModifyParameterGroupAttributeRequest
- func NewModifyParameterGroupAttributeRequestWithAllParams(regionId string, parameterGroupId string, parameterGroupName string, ...) *ModifyParameterGroupAttributeRequest
- func NewModifyParameterGroupAttributeRequestWithoutParam() *ModifyParameterGroupAttributeRequest
- func (r ModifyParameterGroupAttributeRequest) GetRegionId() string
- func (r *ModifyParameterGroupAttributeRequest) SetDescription(description string)
- func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupId(parameterGroupId string)
- func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupName(parameterGroupName string)
- func (r *ModifyParameterGroupAttributeRequest) SetRegionId(regionId string)
- type ModifyParameterGroupAttributeResponse
- type ModifyParameterGroupAttributeResult
- type ModifyParameterGroupParametersRequest
- func NewModifyParameterGroupParametersRequest(regionId string, parameterGroupId string, parameters []rds.Parameter) *ModifyParameterGroupParametersRequest
- func NewModifyParameterGroupParametersRequestWithAllParams(regionId string, parameterGroupId string, parameters []rds.Parameter) *ModifyParameterGroupParametersRequest
- func NewModifyParameterGroupParametersRequestWithoutParam() *ModifyParameterGroupParametersRequest
- func (r ModifyParameterGroupParametersRequest) GetRegionId() string
- func (r *ModifyParameterGroupParametersRequest) SetParameterGroupId(parameterGroupId string)
- func (r *ModifyParameterGroupParametersRequest) SetParameters(parameters []rds.Parameter)
- func (r *ModifyParameterGroupParametersRequest) SetRegionId(regionId string)
- type ModifyParameterGroupParametersResponse
- type ModifyParameterGroupParametersResult
- type ModifyParameterGroupRequest
- func NewModifyParameterGroupRequest(regionId string, instanceId string, parameterGroupId string) *ModifyParameterGroupRequest
- func NewModifyParameterGroupRequestWithAllParams(regionId string, instanceId string, parameterGroupId string) *ModifyParameterGroupRequest
- func NewModifyParameterGroupRequestWithoutParam() *ModifyParameterGroupRequest
- type ModifyParameterGroupResponse
- type ModifyParameterGroupResult
- type ModifyParametersRequest
- func NewModifyParametersRequest(regionId string, instanceId string, parameters []rds.Parameter) *ModifyParametersRequest
- func NewModifyParametersRequestWithAllParams(regionId string, instanceId string, parameters []rds.Parameter) *ModifyParametersRequest
- func NewModifyParametersRequestWithoutParam() *ModifyParametersRequest
- type ModifyParametersResponse
- type ModifyParametersResult
- type ModifyReadWriteProxyRequest
- func NewModifyReadWriteProxyRequest(regionId string, readWriteProxyId string) *ModifyReadWriteProxyRequest
- func NewModifyReadWriteProxyRequestWithAllParams(regionId string, readWriteProxyId string, delayThreshold *int, ...) *ModifyReadWriteProxyRequest
- func NewModifyReadWriteProxyRequestWithoutParam() *ModifyReadWriteProxyRequest
- func (r ModifyReadWriteProxyRequest) GetRegionId() string
- func (r *ModifyReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)
- func (r *ModifyReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)
- func (r *ModifyReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)
- func (r *ModifyReadWriteProxyRequest) SetReadWriteProxyId(readWriteProxyId string)
- func (r *ModifyReadWriteProxyRequest) SetRegionId(regionId string)
- type ModifyReadWriteProxyResponse
- type ModifyReadWriteProxyResult
- type ModifyWhiteListRequest
- type ModifyWhiteListResponse
- type ModifyWhiteListResult
- type RebootInstanceRequest
- func (r RebootInstanceRequest) GetRegionId() string
- func (r *RebootInstanceRequest) SetInstanceId(instanceId string)
- func (r *RebootInstanceRequest) SetRebootMaster(rebootMaster bool)
- func (r *RebootInstanceRequest) SetRebootSlave(rebootSlave bool)
- func (r *RebootInstanceRequest) SetRegionId(regionId string)
- type RebootInstanceResponse
- type RebootInstanceResult
- type ResetPasswordRequest
- func NewResetPasswordRequest(regionId string, instanceId string, accountName string, accountPassword string) *ResetPasswordRequest
- func NewResetPasswordRequestWithAllParams(regionId string, instanceId string, accountName string, accountPassword string) *ResetPasswordRequest
- func NewResetPasswordRequestWithoutParam() *ResetPasswordRequest
- func (r ResetPasswordRequest) GetRegionId() string
- func (r *ResetPasswordRequest) SetAccountName(accountName string)
- func (r *ResetPasswordRequest) SetAccountPassword(accountPassword string)
- func (r *ResetPasswordRequest) SetInstanceId(instanceId string)
- func (r *ResetPasswordRequest) SetRegionId(regionId string)
- type ResetPasswordResponse
- type ResetPasswordResult
- type RestoreDatabaseFromBackupRequest
- func NewRestoreDatabaseFromBackupRequest(regionId string, instanceId string, dbName string, backupId string, ...) *RestoreDatabaseFromBackupRequest
- func NewRestoreDatabaseFromBackupRequestWithAllParams(regionId string, instanceId string, dbName string, backupId string, ...) *RestoreDatabaseFromBackupRequest
- func NewRestoreDatabaseFromBackupRequestWithoutParam() *RestoreDatabaseFromBackupRequest
- func (r RestoreDatabaseFromBackupRequest) GetRegionId() string
- func (r *RestoreDatabaseFromBackupRequest) SetBackupFileName(backupFileName string)
- func (r *RestoreDatabaseFromBackupRequest) SetBackupId(backupId string)
- func (r *RestoreDatabaseFromBackupRequest) SetDbName(dbName string)
- func (r *RestoreDatabaseFromBackupRequest) SetInstanceId(instanceId string)
- func (r *RestoreDatabaseFromBackupRequest) SetRegionId(regionId string)
- type RestoreDatabaseFromBackupResponse
- type RestoreDatabaseFromBackupResult
- type RestoreDatabaseFromFileRequest
- func NewRestoreDatabaseFromFileRequest(regionId string, instanceId string, dbName string, fileName string) *RestoreDatabaseFromFileRequest
- func NewRestoreDatabaseFromFileRequestWithAllParams(regionId string, instanceId string, dbName string, sharedFileGid *string, ...) *RestoreDatabaseFromFileRequest
- func NewRestoreDatabaseFromFileRequestWithoutParam() *RestoreDatabaseFromFileRequest
- func (r RestoreDatabaseFromFileRequest) GetRegionId() string
- func (r *RestoreDatabaseFromFileRequest) SetDbName(dbName string)
- func (r *RestoreDatabaseFromFileRequest) SetFileName(fileName string)
- func (r *RestoreDatabaseFromFileRequest) SetInstanceId(instanceId string)
- func (r *RestoreDatabaseFromFileRequest) SetRegionId(regionId string)
- func (r *RestoreDatabaseFromFileRequest) SetSharedFileGid(sharedFileGid string)
- type RestoreDatabaseFromFileResponse
- type RestoreDatabaseFromFileResult
- type RestoreDatabaseFromOSSRequest
- func NewRestoreDatabaseFromOSSRequest(regionId string, instanceId string, dbName string, ossURL string) *RestoreDatabaseFromOSSRequest
- func NewRestoreDatabaseFromOSSRequestWithAllParams(regionId string, instanceId string, dbName string, ossURL string) *RestoreDatabaseFromOSSRequest
- func NewRestoreDatabaseFromOSSRequestWithoutParam() *RestoreDatabaseFromOSSRequest
- func (r RestoreDatabaseFromOSSRequest) GetRegionId() string
- func (r *RestoreDatabaseFromOSSRequest) SetDbName(dbName string)
- func (r *RestoreDatabaseFromOSSRequest) SetInstanceId(instanceId string)
- func (r *RestoreDatabaseFromOSSRequest) SetOssURL(ossURL string)
- func (r *RestoreDatabaseFromOSSRequest) SetRegionId(regionId string)
- type RestoreDatabaseFromOSSResponse
- type RestoreDatabaseFromOSSResult
- type RestoreInstanceByTimeRequest
- func NewRestoreInstanceByTimeRequest(regionId string, instanceId string, restoreTime string, ...) *RestoreInstanceByTimeRequest
- func NewRestoreInstanceByTimeRequestWithAllParams(regionId string, instanceId string, restoreTime string, ...) *RestoreInstanceByTimeRequest
- func NewRestoreInstanceByTimeRequestWithoutParam() *RestoreInstanceByTimeRequest
- func (r RestoreInstanceByTimeRequest) GetRegionId() string
- func (r *RestoreInstanceByTimeRequest) SetInstanceId(instanceId string)
- func (r *RestoreInstanceByTimeRequest) SetRegionId(regionId string)
- func (r *RestoreInstanceByTimeRequest) SetRestoreSchema(restoreSchema []rds.Schema)
- func (r *RestoreInstanceByTimeRequest) SetRestoreTime(restoreTime string)
- type RestoreInstanceByTimeResponse
- type RestoreInstanceByTimeResult
- type RestoreInstanceRequest
- type RestoreInstanceResponse
- type RestoreInstanceResult
- type RevokePrivilegeRequest
- func NewRevokePrivilegeRequest(regionId string, instanceId string, accountName string, dbNames []string) *RevokePrivilegeRequest
- func NewRevokePrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string, dbNames []string) *RevokePrivilegeRequest
- func NewRevokePrivilegeRequestWithoutParam() *RevokePrivilegeRequest
- func (r RevokePrivilegeRequest) GetRegionId() string
- func (r *RevokePrivilegeRequest) SetAccountName(accountName string)
- func (r *RevokePrivilegeRequest) SetDbNames(dbNames []string)
- func (r *RevokePrivilegeRequest) SetInstanceId(instanceId string)
- func (r *RevokePrivilegeRequest) SetRegionId(regionId string)
- type RevokePrivilegeResponse
- type RevokePrivilegeResult
- type SetImportFileSharedRequest
- func NewSetImportFileSharedRequest(regionId string, instanceId string, fileName string, shared string) *SetImportFileSharedRequest
- func NewSetImportFileSharedRequestWithAllParams(regionId string, instanceId string, fileName string, shared string) *SetImportFileSharedRequest
- func NewSetImportFileSharedRequestWithoutParam() *SetImportFileSharedRequest
- func (r SetImportFileSharedRequest) GetRegionId() string
- func (r *SetImportFileSharedRequest) SetFileName(fileName string)
- func (r *SetImportFileSharedRequest) SetInstanceId(instanceId string)
- func (r *SetImportFileSharedRequest) SetRegionId(regionId string)
- func (r *SetImportFileSharedRequest) SetShared(shared string)
- type SetImportFileSharedResponse
- type SetImportFileSharedResult
- type UpdateLogDownloadURLInternalRequest
- func NewUpdateLogDownloadURLInternalRequest(regionId string, instanceId string, logId string, seconds int) *UpdateLogDownloadURLInternalRequest
- func NewUpdateLogDownloadURLInternalRequestWithAllParams(regionId string, instanceId string, logId string, seconds int) *UpdateLogDownloadURLInternalRequest
- func NewUpdateLogDownloadURLInternalRequestWithoutParam() *UpdateLogDownloadURLInternalRequest
- func (r UpdateLogDownloadURLInternalRequest) GetRegionId() string
- func (r *UpdateLogDownloadURLInternalRequest) SetInstanceId(instanceId string)
- func (r *UpdateLogDownloadURLInternalRequest) SetLogId(logId string)
- func (r *UpdateLogDownloadURLInternalRequest) SetRegionId(regionId string)
- func (r *UpdateLogDownloadURLInternalRequest) SetSeconds(seconds int)
- type UpdateLogDownloadURLInternalResponse
- type UpdateLogDownloadURLInternalResult
- type UpgradeInstanceRequest
- type UpgradeInstanceResponse
- type UpgradeInstanceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlterTableWithOnlineDDLRequest ¶ added in v1.12.0
type AlterTableWithOnlineDDLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* DDL命令修改的库名 */ Database string `json:"database"` /* DDL命令修改的表名 */ Table string `json:"table"` /* 需要执行的的DDL命令 */ Command string `json:"command"` }
func NewAlterTableWithOnlineDDLRequest ¶ added in v1.12.0
func NewAlterTableWithOnlineDDLRequest( regionId string, instanceId string, database string, table string, command string, ) *AlterTableWithOnlineDDLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param database: DDL命令修改的库名 (Required) * param table: DDL命令修改的表名 (Required) * param command: 需要执行的的DDL命令 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAlterTableWithOnlineDDLRequestWithAllParams ¶ added in v1.12.0
func NewAlterTableWithOnlineDDLRequestWithAllParams( regionId string, instanceId string, database string, table string, command string, ) *AlterTableWithOnlineDDLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param database: DDL命令修改的库名 (Required) * param table: DDL命令修改的表名 (Required) * param command: 需要执行的的DDL命令 (Required)
func NewAlterTableWithOnlineDDLRequestWithoutParam ¶ added in v1.12.0
func NewAlterTableWithOnlineDDLRequestWithoutParam() *AlterTableWithOnlineDDLRequest
This constructor has better compatible ability when API parameters changed
func (AlterTableWithOnlineDDLRequest) GetRegionId ¶ added in v1.12.0
func (r AlterTableWithOnlineDDLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AlterTableWithOnlineDDLRequest) SetCommand ¶ added in v1.12.0
func (r *AlterTableWithOnlineDDLRequest) SetCommand(command string)
param command: 需要执行的的DDL命令(Required)
func (*AlterTableWithOnlineDDLRequest) SetDatabase ¶ added in v1.12.0
func (r *AlterTableWithOnlineDDLRequest) SetDatabase(database string)
param database: DDL命令修改的库名(Required)
func (*AlterTableWithOnlineDDLRequest) SetInstanceId ¶ added in v1.12.0
func (r *AlterTableWithOnlineDDLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*AlterTableWithOnlineDDLRequest) SetRegionId ¶ added in v1.12.0
func (r *AlterTableWithOnlineDDLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*AlterTableWithOnlineDDLRequest) SetTable ¶ added in v1.12.0
func (r *AlterTableWithOnlineDDLRequest) SetTable(table string)
param table: DDL命令修改的表名(Required)
type AlterTableWithOnlineDDLResponse ¶ added in v1.12.0
type AlterTableWithOnlineDDLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AlterTableWithOnlineDDLResult `json:"result"` }
type AlterTableWithOnlineDDLResult ¶ added in v1.12.0
type AlterTableWithOnlineDDLResult struct { }
type ClearBinlogsRequest ¶ added in v1.3.0
type ClearBinlogsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewClearBinlogsRequest ¶ added in v1.3.0
func NewClearBinlogsRequest( regionId string, instanceId string, ) *ClearBinlogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewClearBinlogsRequestWithAllParams ¶ added in v1.3.0
func NewClearBinlogsRequestWithAllParams( regionId string, instanceId string, ) *ClearBinlogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewClearBinlogsRequestWithoutParam ¶ added in v1.3.0
func NewClearBinlogsRequestWithoutParam() *ClearBinlogsRequest
This constructor has better compatible ability when API parameters changed
func (ClearBinlogsRequest) GetRegionId ¶ added in v1.3.0
func (r ClearBinlogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ClearBinlogsRequest) SetInstanceId ¶ added in v1.3.0
func (r *ClearBinlogsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ClearBinlogsRequest) SetRegionId ¶ added in v1.3.0
func (r *ClearBinlogsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ClearBinlogsResponse ¶ added in v1.3.0
type ClearBinlogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ClearBinlogsResult `json:"result"` }
type ClearBinlogsResult ¶ added in v1.3.0
type ClearBinlogsResult struct { }
type CopyParameterGroupRequest ¶ added in v1.5.0
type CopyParameterGroupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 参数组ID */ ParameterGroupId string `json:"parameterGroupId"` /* 参数组的名字 */ ParameterGroupName string `json:"parameterGroupName"` /* 参数组的描述 (Optional) */ Description *string `json:"description"` }
func NewCopyParameterGroupRequest ¶ added in v1.5.0
func NewCopyParameterGroupRequest( regionId string, parameterGroupId string, parameterGroupName string, ) *CopyParameterGroupRequest
* param regionId: Region ID (Required) * param parameterGroupId: 参数组ID (Required) * param parameterGroupName: 参数组的名字 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCopyParameterGroupRequestWithAllParams ¶ added in v1.5.0
func NewCopyParameterGroupRequestWithAllParams( regionId string, parameterGroupId string, parameterGroupName string, description *string, ) *CopyParameterGroupRequest
* param regionId: Region ID (Required) * param parameterGroupId: 参数组ID (Required) * param parameterGroupName: 参数组的名字 (Required) * param description: 参数组的描述 (Optional)
func NewCopyParameterGroupRequestWithoutParam ¶ added in v1.5.0
func NewCopyParameterGroupRequestWithoutParam() *CopyParameterGroupRequest
This constructor has better compatible ability when API parameters changed
func (CopyParameterGroupRequest) GetRegionId ¶ added in v1.5.0
func (r CopyParameterGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CopyParameterGroupRequest) SetDescription ¶ added in v1.5.0
func (r *CopyParameterGroupRequest) SetDescription(description string)
param description: 参数组的描述(Optional)
func (*CopyParameterGroupRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *CopyParameterGroupRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: 参数组ID(Required)
func (*CopyParameterGroupRequest) SetParameterGroupName ¶ added in v1.5.0
func (r *CopyParameterGroupRequest) SetParameterGroupName(parameterGroupName string)
param parameterGroupName: 参数组的名字(Required)
func (*CopyParameterGroupRequest) SetRegionId ¶ added in v1.5.0
func (r *CopyParameterGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CopyParameterGroupResponse ¶ added in v1.5.0
type CopyParameterGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CopyParameterGroupResult `json:"result"` }
type CopyParameterGroupResult ¶ added in v1.5.0
type CopyParameterGroupResult struct {
ParameterGroupId string `json:"parameterGroupId"`
}
type CreateAccountForOpsRequest ¶ added in v1.37.0
type CreateAccountForOpsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 运维账号到期时间,UTC时间格式 (Optional) */ ExpiredTime *string `json:"expiredTime"` }
func NewCreateAccountForOpsRequest ¶ added in v1.37.0
func NewCreateAccountForOpsRequest( regionId string, instanceId string, ) *CreateAccountForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateAccountForOpsRequestWithAllParams ¶ added in v1.37.0
func NewCreateAccountForOpsRequestWithAllParams( regionId string, instanceId string, expiredTime *string, ) *CreateAccountForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param expiredTime: 运维账号到期时间,UTC时间格式 (Optional)
func NewCreateAccountForOpsRequestWithoutParam ¶ added in v1.37.0
func NewCreateAccountForOpsRequestWithoutParam() *CreateAccountForOpsRequest
This constructor has better compatible ability when API parameters changed
func (CreateAccountForOpsRequest) GetRegionId ¶ added in v1.37.0
func (r CreateAccountForOpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateAccountForOpsRequest) SetExpiredTime ¶ added in v1.37.0
func (r *CreateAccountForOpsRequest) SetExpiredTime(expiredTime string)
param expiredTime: 运维账号到期时间,UTC时间格式(Optional)
func (*CreateAccountForOpsRequest) SetInstanceId ¶ added in v1.37.0
func (r *CreateAccountForOpsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateAccountForOpsRequest) SetRegionId ¶ added in v1.37.0
func (r *CreateAccountForOpsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateAccountForOpsResponse ¶ added in v1.37.0
type CreateAccountForOpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateAccountForOpsResult `json:"result"` }
type CreateAccountForOpsResult ¶ added in v1.37.0
type CreateAccountForOpsResult struct { }
type CreateAccountRequest ¶
type CreateAccountRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountName string `json:"accountName"` /* 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountPassword string `json:"accountPassword"` /* 备注信息,仅支持PostgreSQL (Optional) */ Notes *string `json:"notes"` }
func NewCreateAccountRequest ¶
func NewCreateAccountRequest( regionId string, instanceId string, accountName string, accountPassword string, ) *CreateAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateAccountRequestWithAllParams ¶ added in v1.0.6
func NewCreateAccountRequestWithAllParams( regionId string, instanceId string, accountName string, accountPassword string, notes *string, ) *CreateAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param notes: 备注信息,仅支持PostgreSQL (Optional)
func NewCreateAccountRequestWithoutParam ¶ added in v1.0.6
func NewCreateAccountRequestWithoutParam() *CreateAccountRequest
This constructor has better compatible ability when API parameters changed
func (CreateAccountRequest) GetRegionId ¶
func (r CreateAccountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateAccountRequest) SetAccountName ¶
func (r *CreateAccountRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateAccountRequest) SetAccountPassword ¶
func (r *CreateAccountRequest) SetAccountPassword(accountPassword string)
param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateAccountRequest) SetInstanceId ¶
func (r *CreateAccountRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateAccountRequest) SetNotes ¶ added in v1.16.0
func (r *CreateAccountRequest) SetNotes(notes string)
param notes: 备注信息,仅支持PostgreSQL(Optional)
func (*CreateAccountRequest) SetRegionId ¶
func (r *CreateAccountRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateAccountResponse ¶
type CreateAccountResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateAccountResult `json:"result"` }
type CreateAccountResult ¶
type CreateAccountResult struct { }
type CreateAuditRequest ¶ added in v1.0.6
type CreateAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档 */ Enabled string `json:"enabled"` }
func NewCreateAuditRequest ¶ added in v1.0.6
func NewCreateAuditRequest( regionId string, instanceId string, enabled string, ) *CreateAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateAuditRequestWithAllParams ¶ added in v1.0.6
func NewCreateAuditRequestWithAllParams( regionId string, instanceId string, enabled string, ) *CreateAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档 (Required)
func NewCreateAuditRequestWithoutParam ¶ added in v1.0.6
func NewCreateAuditRequestWithoutParam() *CreateAuditRequest
This constructor has better compatible ability when API parameters changed
func (CreateAuditRequest) GetRegionId ¶ added in v1.0.6
func (r CreateAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateAuditRequest) SetEnabled ¶ added in v1.0.6
func (r *CreateAuditRequest) SetEnabled(enabled string)
param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档(Required)
func (*CreateAuditRequest) SetInstanceId ¶ added in v1.0.6
func (r *CreateAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateAuditRequest) SetRegionId ¶ added in v1.0.6
func (r *CreateAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateAuditResponse ¶ added in v1.0.6
type CreateAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateAuditResult `json:"result"` }
type CreateAuditResult ¶ added in v1.0.6
type CreateAuditResult struct { }
type CreateBackupRequest ¶
type CreateBackupRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS实例ID,唯一标识一个实例 (Optional) */ InstanceId *string `json:"instanceId"` /* 备份规格 (Optional) */ BackupSpec *rds.BackupSpec `json:"backupSpec"` }
func NewCreateBackupRequest ¶
func NewCreateBackupRequest( regionId string, ) *CreateBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBackupRequestWithAllParams ¶ added in v1.0.6
func NewCreateBackupRequestWithAllParams( regionId string, instanceId *string, backupSpec *rds.BackupSpec, ) *CreateBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Optional) * param backupSpec: 备份规格 (Optional)
func NewCreateBackupRequestWithoutParam ¶ added in v1.0.6
func NewCreateBackupRequestWithoutParam() *CreateBackupRequest
This constructor has better compatible ability when API parameters changed
func (CreateBackupRequest) GetRegionId ¶
func (r CreateBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBackupRequest) SetBackupSpec ¶
func (r *CreateBackupRequest) SetBackupSpec(backupSpec *rds.BackupSpec)
param backupSpec: 备份规格(Optional)
func (*CreateBackupRequest) SetInstanceId ¶
func (r *CreateBackupRequest) SetInstanceId(instanceId string)
param instanceId: RDS实例ID,唯一标识一个实例(Optional)
func (*CreateBackupRequest) SetRegionId ¶
func (r *CreateBackupRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateBackupResponse ¶
type CreateBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBackupResult `json:"result"` }
type CreateBackupResult ¶
type CreateBackupResult struct {
BackupId string `json:"backupId"`
}
type CreateBackupSynchronicityRequest ¶ added in v1.1.3
type CreateBackupSynchronicityRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 源实例ID */ InstanceId string `json:"instanceId"` /* 备份同步的目标地域 */ DestRegion string `json:"destRegion"` }
func NewCreateBackupSynchronicityRequest ¶ added in v1.1.3
func NewCreateBackupSynchronicityRequest( regionId string, instanceId string, destRegion string, ) *CreateBackupSynchronicityRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: 源实例ID (Required) * param destRegion: 备份同步的目标地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBackupSynchronicityRequestWithAllParams ¶ added in v1.1.3
func NewCreateBackupSynchronicityRequestWithAllParams( regionId string, instanceId string, destRegion string, ) *CreateBackupSynchronicityRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: 源实例ID (Required) * param destRegion: 备份同步的目标地域 (Required)
func NewCreateBackupSynchronicityRequestWithoutParam ¶ added in v1.1.3
func NewCreateBackupSynchronicityRequestWithoutParam() *CreateBackupSynchronicityRequest
This constructor has better compatible ability when API parameters changed
func (CreateBackupSynchronicityRequest) GetRegionId ¶ added in v1.1.3
func (r CreateBackupSynchronicityRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBackupSynchronicityRequest) SetDestRegion ¶ added in v1.1.3
func (r *CreateBackupSynchronicityRequest) SetDestRegion(destRegion string)
param destRegion: 备份同步的目标地域(Required)
func (*CreateBackupSynchronicityRequest) SetInstanceId ¶ added in v1.1.3
func (r *CreateBackupSynchronicityRequest) SetInstanceId(instanceId string)
param instanceId: 源实例ID(Required)
func (*CreateBackupSynchronicityRequest) SetRegionId ¶ added in v1.1.3
func (r *CreateBackupSynchronicityRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateBackupSynchronicityResponse ¶ added in v1.1.3
type CreateBackupSynchronicityResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBackupSynchronicityResult `json:"result"` }
type CreateBackupSynchronicityResult ¶ added in v1.1.3
type CreateBackupSynchronicityResult struct {
ServiceId string `json:"serviceId"`
}
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ DbName string `json:"dbName"` /* 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */ CharacterSetName string `json:"characterSetName"` }
func NewCreateDatabaseRequest ¶
func NewCreateDatabaseRequest( regionId string, instanceId string, dbName string, characterSetName string, ) *CreateDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateDatabaseRequestWithAllParams ¶ added in v1.0.6
func NewCreateDatabaseRequestWithAllParams( regionId string, instanceId string, dbName string, characterSetName string, ) *CreateDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required)
func NewCreateDatabaseRequestWithoutParam ¶ added in v1.0.6
func NewCreateDatabaseRequestWithoutParam() *CreateDatabaseRequest
This constructor has better compatible ability when API parameters changed
func (CreateDatabaseRequest) GetRegionId ¶
func (r CreateDatabaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateDatabaseRequest) SetCharacterSetName ¶
func (r *CreateDatabaseRequest) SetCharacterSetName(characterSetName string)
param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)
func (*CreateDatabaseRequest) SetDbName ¶
func (r *CreateDatabaseRequest) SetDbName(dbName string)
param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateDatabaseRequest) SetInstanceId ¶
func (r *CreateDatabaseRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateDatabaseRequest) SetRegionId ¶
func (r *CreateDatabaseRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateDatabaseResult `json:"result"` }
type CreateDatabaseResult ¶
type CreateDatabaseResult struct { }
type CreateInstanceByTimeInCrossRegionRequest ¶ added in v1.7.0
type CreateInstanceByTimeInCrossRegionRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 根据源实例的哪个时间点创建新实例 */ RestoreTime string `json:"restoreTime"` /* 跨地域备份同步服务ID */ ServiceId string `json:"serviceId"` /* 新建实例规格 */ InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"` }
func NewCreateInstanceByTimeInCrossRegionRequest ¶ added in v1.7.0
func NewCreateInstanceByTimeInCrossRegionRequest( regionId string, restoreTime string, serviceId string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceByTimeInCrossRegionRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param serviceId: 跨地域备份同步服务ID (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceByTimeInCrossRegionRequestWithAllParams ¶ added in v1.7.0
func NewCreateInstanceByTimeInCrossRegionRequestWithAllParams( regionId string, restoreTime string, serviceId string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceByTimeInCrossRegionRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param serviceId: 跨地域备份同步服务ID (Required) * param instanceSpec: 新建实例规格 (Required)
func NewCreateInstanceByTimeInCrossRegionRequestWithoutParam ¶ added in v1.7.0
func NewCreateInstanceByTimeInCrossRegionRequestWithoutParam() *CreateInstanceByTimeInCrossRegionRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceByTimeInCrossRegionRequest) GetRegionId ¶ added in v1.7.0
func (r CreateInstanceByTimeInCrossRegionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceByTimeInCrossRegionRequest) SetInstanceSpec ¶ added in v1.7.0
func (r *CreateInstanceByTimeInCrossRegionRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
param instanceSpec: 新建实例规格(Required)
func (*CreateInstanceByTimeInCrossRegionRequest) SetRegionId ¶ added in v1.7.0
func (r *CreateInstanceByTimeInCrossRegionRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*CreateInstanceByTimeInCrossRegionRequest) SetRestoreTime ¶ added in v1.7.0
func (r *CreateInstanceByTimeInCrossRegionRequest) SetRestoreTime(restoreTime string)
param restoreTime: 根据源实例的哪个时间点创建新实例(Required)
func (*CreateInstanceByTimeInCrossRegionRequest) SetServiceId ¶ added in v1.7.0
func (r *CreateInstanceByTimeInCrossRegionRequest) SetServiceId(serviceId string)
param serviceId: 跨地域备份同步服务ID(Required)
type CreateInstanceByTimeInCrossRegionResponse ¶ added in v1.7.0
type CreateInstanceByTimeInCrossRegionResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceByTimeInCrossRegionResult `json:"result"` }
type CreateInstanceByTimeInCrossRegionResult ¶ added in v1.7.0
type CreateInstanceByTimeRequest ¶ added in v1.0.11
type CreateInstanceByTimeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 根据源实例的哪个时间点创建新实例 */ RestoreTime string `json:"restoreTime"` /* 新建实例规格 */ InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"` }
func NewCreateInstanceByTimeRequest ¶ added in v1.0.11
func NewCreateInstanceByTimeRequest( regionId string, instanceId string, restoreTime string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceByTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceByTimeRequestWithAllParams ¶ added in v1.0.11
func NewCreateInstanceByTimeRequestWithAllParams( regionId string, instanceId string, restoreTime string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceByTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param instanceSpec: 新建实例规格 (Required)
func NewCreateInstanceByTimeRequestWithoutParam ¶ added in v1.0.11
func NewCreateInstanceByTimeRequestWithoutParam() *CreateInstanceByTimeRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceByTimeRequest) GetRegionId ¶ added in v1.0.11
func (r CreateInstanceByTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceByTimeRequest) SetInstanceId ¶ added in v1.0.11
func (r *CreateInstanceByTimeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateInstanceByTimeRequest) SetInstanceSpec ¶ added in v1.0.11
func (r *CreateInstanceByTimeRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
param instanceSpec: 新建实例规格(Required)
func (*CreateInstanceByTimeRequest) SetRegionId ¶ added in v1.0.11
func (r *CreateInstanceByTimeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*CreateInstanceByTimeRequest) SetRestoreTime ¶ added in v1.0.11
func (r *CreateInstanceByTimeRequest) SetRestoreTime(restoreTime string)
param restoreTime: 根据源实例的哪个时间点创建新实例(Required)
type CreateInstanceByTimeResponse ¶ added in v1.0.11
type CreateInstanceByTimeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceByTimeResult `json:"result"` }
type CreateInstanceByTimeResult ¶ added in v1.0.11
type CreateInstanceFromBackupRequest ¶ added in v1.0.11
type CreateInstanceFromBackupRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 备份ID */ BackupId string `json:"backupId"` /* 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致** */ Engine string `json:"engine"` /* 新建实例规格 */ InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"` }
func NewCreateInstanceFromBackupRequest ¶ added in v1.0.11
func NewCreateInstanceFromBackupRequest( regionId string, backupId string, engine string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceFromBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致** (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceFromBackupRequestWithAllParams ¶ added in v1.0.11
func NewCreateInstanceFromBackupRequestWithAllParams( regionId string, backupId string, engine string, instanceSpec *rds.RestoredNewDBInstanceSpec, ) *CreateInstanceFromBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致** (Required) * param instanceSpec: 新建实例规格 (Required)
func NewCreateInstanceFromBackupRequestWithoutParam ¶ added in v1.0.11
func NewCreateInstanceFromBackupRequestWithoutParam() *CreateInstanceFromBackupRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceFromBackupRequest) GetRegionId ¶ added in v1.0.11
func (r CreateInstanceFromBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceFromBackupRequest) SetBackupId ¶ added in v1.0.11
func (r *CreateInstanceFromBackupRequest) SetBackupId(backupId string)
param backupId: 备份ID(Required)
func (*CreateInstanceFromBackupRequest) SetEngine ¶ added in v1.0.11
func (r *CreateInstanceFromBackupRequest) SetEngine(engine string)
param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致**(Required)
func (*CreateInstanceFromBackupRequest) SetInstanceSpec ¶ added in v1.0.11
func (r *CreateInstanceFromBackupRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)
param instanceSpec: 新建实例规格(Required)
func (*CreateInstanceFromBackupRequest) SetRegionId ¶ added in v1.0.11
func (r *CreateInstanceFromBackupRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateInstanceFromBackupResponse ¶ added in v1.0.11
type CreateInstanceFromBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceFromBackupResult `json:"result"` }
type CreateInstanceFromBackupResult ¶ added in v1.0.11
type CreateInstanceRequest ¶ added in v1.0.6
type CreateInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 新建实例规格 */ InstanceSpec *rds.DBInstanceSpec `json:"instanceSpec"` }
func NewCreateInstanceRequest ¶ added in v1.0.6
func NewCreateInstanceRequest( regionId string, instanceSpec *rds.DBInstanceSpec, ) *CreateInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceRequestWithAllParams ¶ added in v1.0.6
func NewCreateInstanceRequestWithAllParams( regionId string, instanceSpec *rds.DBInstanceSpec, ) *CreateInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceSpec: 新建实例规格 (Required)
func NewCreateInstanceRequestWithoutParam ¶ added in v1.0.6
func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceRequest) GetRegionId ¶ added in v1.0.6
func (r CreateInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceRequest) SetInstanceSpec ¶ added in v1.0.6
func (r *CreateInstanceRequest) SetInstanceSpec(instanceSpec *rds.DBInstanceSpec)
param instanceSpec: 新建实例规格(Required)
func (*CreateInstanceRequest) SetRegionId ¶ added in v1.0.6
func (r *CreateInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateInstanceResponse ¶ added in v1.0.6
type CreateInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceResult `json:"result"` }
type CreateInstanceResult ¶ added in v1.0.6
type CreateParameterGroupRequest ¶ added in v1.5.0
type CreateParameterGroupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */ Engine string `json:"engine"` /* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */ EngineVersion string `json:"engineVersion"` /* 参数组的名字 */ ParameterGroupName string `json:"parameterGroupName"` /* 参数组的描述 (Optional) */ Description *string `json:"description"` }
func NewCreateParameterGroupRequest ¶ added in v1.5.0
func NewCreateParameterGroupRequest( regionId string, engine string, engineVersion string, parameterGroupName string, ) *CreateParameterGroupRequest
* param regionId: Region ID (Required) * param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param parameterGroupName: 参数组的名字 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateParameterGroupRequestWithAllParams ¶ added in v1.5.0
func NewCreateParameterGroupRequestWithAllParams( regionId string, engine string, engineVersion string, parameterGroupName string, description *string, ) *CreateParameterGroupRequest
* param regionId: Region ID (Required) * param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param parameterGroupName: 参数组的名字 (Required) * param description: 参数组的描述 (Optional)
func NewCreateParameterGroupRequestWithoutParam ¶ added in v1.5.0
func NewCreateParameterGroupRequestWithoutParam() *CreateParameterGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateParameterGroupRequest) GetRegionId ¶ added in v1.5.0
func (r CreateParameterGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateParameterGroupRequest) SetDescription ¶ added in v1.5.0
func (r *CreateParameterGroupRequest) SetDescription(description string)
param description: 参数组的描述(Optional)
func (*CreateParameterGroupRequest) SetEngine ¶ added in v1.5.0
func (r *CreateParameterGroupRequest) SetEngine(engine string)
param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)
func (*CreateParameterGroupRequest) SetEngineVersion ¶ added in v1.5.0
func (r *CreateParameterGroupRequest) SetEngineVersion(engineVersion string)
param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)
func (*CreateParameterGroupRequest) SetParameterGroupName ¶ added in v1.5.0
func (r *CreateParameterGroupRequest) SetParameterGroupName(parameterGroupName string)
param parameterGroupName: 参数组的名字(Required)
func (*CreateParameterGroupRequest) SetRegionId ¶ added in v1.5.0
func (r *CreateParameterGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateParameterGroupResponse ¶ added in v1.5.0
type CreateParameterGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateParameterGroupResult `json:"result"` }
type CreateParameterGroupResult ¶ added in v1.5.0
type CreateParameterGroupResult struct {
ParameterGroupId string `json:"parameterGroupId"`
}
type CreateROInstanceRequest ¶ added in v1.7.0
type CreateROInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ InstanceName string `json:"instanceName"` /* 只读实例规格FlavorId */ InstanceClass string `json:"instanceClass"` /* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD (Optional) */ InstanceStorageType *string `json:"instanceStorageType"` /* 磁盘空间 */ InstanceStorageGB int `json:"instanceStorageGB"` /* 可用区ID */ AzId string `json:"azId"` /* VPC的ID,如果没有填写就保持和常规实例一样的VPC (Optional) */ VpcId *string `json:"vpcId"` /* 子网ID,如果没有填写就保持和常规实例一样的subnet (Optional) */ SubnetId *string `json:"subnetId"` /* 参数组ID,缺省采用和常规实例一样的参数组 (Optional) */ ParameterGroup *string `json:"parameterGroup"` /* 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。 (Optional) */ StorageEncrypted *bool `json:"storageEncrypted"` /* 创建只读实例的数目,缺省为1 (Optional) */ Count *int `json:"count"` /* 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务 (Optional) */ RoInstanceProxy *string `json:"roInstanceProxy"` }
func NewCreateROInstanceRequest ¶ added in v1.7.0
func NewCreateROInstanceRequest( regionId string, instanceId string, instanceName string, instanceClass string, instanceStorageGB int, azId string, ) *CreateROInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param instanceClass: 只读实例规格FlavorId (Required) * param instanceStorageGB: 磁盘空间 (Required) * param azId: 可用区ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateROInstanceRequestWithAllParams ¶ added in v1.7.0
func NewCreateROInstanceRequestWithAllParams( regionId string, instanceId string, instanceName string, instanceClass string, instanceStorageType *string, instanceStorageGB int, azId string, vpcId *string, subnetId *string, parameterGroup *string, storageEncrypted *bool, count *int, roInstanceProxy *string, ) *CreateROInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param instanceClass: 只读实例规格FlavorId (Required) * param instanceStorageType: 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD (Optional) * param instanceStorageGB: 磁盘空间 (Required) * param azId: 可用区ID (Required) * param vpcId: VPC的ID,如果没有填写就保持和常规实例一样的VPC (Optional) * param subnetId: 子网ID,如果没有填写就保持和常规实例一样的subnet (Optional) * param parameterGroup: 参数组ID,缺省采用和常规实例一样的参数组 (Optional) * param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。 (Optional) * param count: 创建只读实例的数目,缺省为1 (Optional) * param roInstanceProxy: 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务 (Optional)
func NewCreateROInstanceRequestWithoutParam ¶ added in v1.7.0
func NewCreateROInstanceRequestWithoutParam() *CreateROInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateROInstanceRequest) GetRegionId ¶ added in v1.7.0
func (r CreateROInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateROInstanceRequest) SetAzId ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetAzId(azId string)
param azId: 可用区ID(Required)
func (*CreateROInstanceRequest) SetCount ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetCount(count int)
param count: 创建只读实例的数目,缺省为1(Optional)
func (*CreateROInstanceRequest) SetInstanceClass ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetInstanceClass(instanceClass string)
param instanceClass: 只读实例规格FlavorId(Required)
func (*CreateROInstanceRequest) SetInstanceId ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateROInstanceRequest) SetInstanceName ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetInstanceName(instanceName string)
param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateROInstanceRequest) SetInstanceStorageGB ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetInstanceStorageGB(instanceStorageGB int)
param instanceStorageGB: 磁盘空间(Required)
func (*CreateROInstanceRequest) SetInstanceStorageType ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetInstanceStorageType(instanceStorageType string)
param instanceStorageType: 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD(Optional)
func (*CreateROInstanceRequest) SetParameterGroup ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetParameterGroup(parameterGroup string)
param parameterGroup: 参数组ID,缺省采用和常规实例一样的参数组(Optional)
func (*CreateROInstanceRequest) SetRegionId ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*CreateROInstanceRequest) SetRoInstanceProxy ¶ added in v1.37.0
func (r *CreateROInstanceRequest) SetRoInstanceProxy(roInstanceProxy string)
param roInstanceProxy: 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务(Optional)
func (*CreateROInstanceRequest) SetStorageEncrypted ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetStorageEncrypted(storageEncrypted bool)
param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。(Optional)
func (*CreateROInstanceRequest) SetSubnetId ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID,如果没有填写就保持和常规实例一样的subnet(Optional)
func (*CreateROInstanceRequest) SetVpcId ¶ added in v1.7.0
func (r *CreateROInstanceRequest) SetVpcId(vpcId string)
param vpcId: VPC的ID,如果没有填写就保持和常规实例一样的VPC(Optional)
type CreateROInstanceResponse ¶ added in v1.7.0
type CreateROInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateROInstanceResult `json:"result"` }
type CreateROInstanceResult ¶ added in v1.7.0
type CreateReadWriteProxyRequest ¶ added in v1.37.0
type CreateReadWriteProxyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID */ InstanceId string `json:"instanceId"` /* 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) */ DelayThreshold *int `json:"delayThreshold"` /* 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */ LoadBalancerPolicy *string `json:"loadBalancerPolicy"` /* 后端实例健康检查配置 (Optional) */ HealthCheckSpec *rds.HealthCheckSpec `json:"healthCheckSpec"` }
func NewCreateReadWriteProxyRequest ¶ added in v1.37.0
func NewCreateReadWriteProxyRequest( regionId string, instanceId string, ) *CreateReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateReadWriteProxyRequestWithAllParams ¶ added in v1.37.0
func NewCreateReadWriteProxyRequestWithAllParams( regionId string, instanceId string, delayThreshold *int, loadBalancerPolicy *string, healthCheckSpec *rds.HealthCheckSpec, ) *CreateReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID (Required) * param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) * param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) * param healthCheckSpec: 后端实例健康检查配置 (Optional)
func NewCreateReadWriteProxyRequestWithoutParam ¶ added in v1.37.0
func NewCreateReadWriteProxyRequestWithoutParam() *CreateReadWriteProxyRequest
This constructor has better compatible ability when API parameters changed
func (CreateReadWriteProxyRequest) GetRegionId ¶ added in v1.37.0
func (r CreateReadWriteProxyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateReadWriteProxyRequest) SetDelayThreshold ¶ added in v1.37.0
func (r *CreateReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)
param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100(Optional)
func (*CreateReadWriteProxyRequest) SetHealthCheckSpec ¶ added in v1.37.0
func (r *CreateReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)
param healthCheckSpec: 后端实例健康检查配置(Optional)
func (*CreateReadWriteProxyRequest) SetInstanceId ¶ added in v1.37.0
func (r *CreateReadWriteProxyRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID(Required)
func (*CreateReadWriteProxyRequest) SetLoadBalancerPolicy ¶ added in v1.37.0
func (r *CreateReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)
param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)
func (*CreateReadWriteProxyRequest) SetRegionId ¶ added in v1.37.0
func (r *CreateReadWriteProxyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateReadWriteProxyResponse ¶ added in v1.37.0
type CreateReadWriteProxyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateReadWriteProxyResult `json:"result"` }
type CreateReadWriteProxyResult ¶ added in v1.37.0
type CreateReadWriteProxyResult struct {
ReadWriteProxyId string `json:"readWriteProxyId"`
}
type CreateSuperAccountRequest ¶ added in v1.12.0
type CreateSuperAccountRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountName string `json:"accountName"` /* 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountPassword string `json:"accountPassword"` }
func NewCreateSuperAccountRequest ¶ added in v1.12.0
func NewCreateSuperAccountRequest( regionId string, instanceId string, accountName string, accountPassword string, ) *CreateSuperAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSuperAccountRequestWithAllParams ¶ added in v1.12.0
func NewCreateSuperAccountRequestWithAllParams( regionId string, instanceId string, accountName string, accountPassword string, ) *CreateSuperAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)
func NewCreateSuperAccountRequestWithoutParam ¶ added in v1.12.0
func NewCreateSuperAccountRequestWithoutParam() *CreateSuperAccountRequest
This constructor has better compatible ability when API parameters changed
func (CreateSuperAccountRequest) GetRegionId ¶ added in v1.12.0
func (r CreateSuperAccountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSuperAccountRequest) SetAccountName ¶ added in v1.12.0
func (r *CreateSuperAccountRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateSuperAccountRequest) SetAccountPassword ¶ added in v1.12.0
func (r *CreateSuperAccountRequest) SetAccountPassword(accountPassword string)
param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateSuperAccountRequest) SetInstanceId ¶ added in v1.12.0
func (r *CreateSuperAccountRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateSuperAccountRequest) SetRegionId ¶ added in v1.12.0
func (r *CreateSuperAccountRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateSuperAccountResponse ¶ added in v1.12.0
type CreateSuperAccountResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSuperAccountResult `json:"result"` }
type CreateSuperAccountResult ¶ added in v1.12.0
type CreateSuperAccountResult struct { }
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` }
func NewDeleteAccountRequest ¶
func NewDeleteAccountRequest( regionId string, instanceId string, accountName string, ) *DeleteAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteAccountRequestWithAllParams ¶ added in v1.0.6
func NewDeleteAccountRequestWithAllParams( regionId string, instanceId string, accountName string, ) *DeleteAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required)
func NewDeleteAccountRequestWithoutParam ¶ added in v1.0.6
func NewDeleteAccountRequestWithoutParam() *DeleteAccountRequest
This constructor has better compatible ability when API parameters changed
func (DeleteAccountRequest) GetRegionId ¶
func (r DeleteAccountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteAccountRequest) SetAccountName ¶
func (r *DeleteAccountRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*DeleteAccountRequest) SetInstanceId ¶
func (r *DeleteAccountRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteAccountRequest) SetRegionId ¶
func (r *DeleteAccountRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteAccountResult `json:"result"` }
type DeleteAccountResult ¶
type DeleteAccountResult struct { }
type DeleteAuditRequest ¶ added in v1.0.6
type DeleteAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDeleteAuditRequest ¶ added in v1.0.6
func NewDeleteAuditRequest( regionId string, instanceId string, ) *DeleteAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteAuditRequestWithAllParams ¶ added in v1.0.6
func NewDeleteAuditRequestWithAllParams( regionId string, instanceId string, ) *DeleteAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDeleteAuditRequestWithoutParam ¶ added in v1.0.6
func NewDeleteAuditRequestWithoutParam() *DeleteAuditRequest
This constructor has better compatible ability when API parameters changed
func (DeleteAuditRequest) GetRegionId ¶ added in v1.0.6
func (r DeleteAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteAuditRequest) SetInstanceId ¶ added in v1.0.6
func (r *DeleteAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteAuditRequest) SetRegionId ¶ added in v1.0.6
func (r *DeleteAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteAuditResponse ¶ added in v1.0.6
type DeleteAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteAuditResult `json:"result"` }
type DeleteAuditResult ¶ added in v1.0.6
type DeleteAuditResult struct { }
type DeleteBackupRequest ¶ added in v1.0.6
type DeleteBackupRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 备份ID */ BackupId string `json:"backupId"` }
func NewDeleteBackupRequest ¶ added in v1.0.6
func NewDeleteBackupRequest( regionId string, backupId string, ) *DeleteBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBackupRequestWithAllParams ¶ added in v1.0.6
func NewDeleteBackupRequestWithAllParams( regionId string, backupId string, ) *DeleteBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required)
func NewDeleteBackupRequestWithoutParam ¶ added in v1.0.6
func NewDeleteBackupRequestWithoutParam() *DeleteBackupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBackupRequest) GetRegionId ¶ added in v1.0.6
func (r DeleteBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBackupRequest) SetBackupId ¶ added in v1.0.6
func (r *DeleteBackupRequest) SetBackupId(backupId string)
param backupId: 备份ID(Required)
func (*DeleteBackupRequest) SetRegionId ¶ added in v1.0.6
func (r *DeleteBackupRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteBackupResponse ¶ added in v1.0.6
type DeleteBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBackupResult `json:"result"` }
type DeleteBackupResult ¶ added in v1.0.6
type DeleteBackupResult struct { }
type DeleteBackupSynchronicityRequest ¶ added in v1.1.3
type DeleteBackupSynchronicityRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 跨地域备份同步服务ID */ ServiceId string `json:"serviceId"` }
func NewDeleteBackupSynchronicityRequest ¶ added in v1.1.3
func NewDeleteBackupSynchronicityRequest( regionId string, serviceId string, ) *DeleteBackupSynchronicityRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param serviceId: 跨地域备份同步服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBackupSynchronicityRequestWithAllParams ¶ added in v1.1.3
func NewDeleteBackupSynchronicityRequestWithAllParams( regionId string, serviceId string, ) *DeleteBackupSynchronicityRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param serviceId: 跨地域备份同步服务ID (Required)
func NewDeleteBackupSynchronicityRequestWithoutParam ¶ added in v1.1.3
func NewDeleteBackupSynchronicityRequestWithoutParam() *DeleteBackupSynchronicityRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBackupSynchronicityRequest) GetRegionId ¶ added in v1.1.3
func (r DeleteBackupSynchronicityRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBackupSynchronicityRequest) SetRegionId ¶ added in v1.1.3
func (r *DeleteBackupSynchronicityRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DeleteBackupSynchronicityRequest) SetServiceId ¶ added in v1.1.3
func (r *DeleteBackupSynchronicityRequest) SetServiceId(serviceId string)
param serviceId: 跨地域备份同步服务ID(Required)
type DeleteBackupSynchronicityResponse ¶ added in v1.1.3
type DeleteBackupSynchronicityResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBackupSynchronicityResult `json:"result"` }
type DeleteBackupSynchronicityResult ¶ added in v1.1.3
type DeleteBackupSynchronicityResult struct { }
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` }
func NewDeleteDatabaseRequest ¶
func NewDeleteDatabaseRequest( regionId string, instanceId string, dbName string, ) *DeleteDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteDatabaseRequestWithAllParams ¶ added in v1.0.6
func NewDeleteDatabaseRequestWithAllParams( regionId string, instanceId string, dbName string, ) *DeleteDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required)
func NewDeleteDatabaseRequestWithoutParam ¶ added in v1.0.6
func NewDeleteDatabaseRequestWithoutParam() *DeleteDatabaseRequest
This constructor has better compatible ability when API parameters changed
func (DeleteDatabaseRequest) GetRegionId ¶
func (r DeleteDatabaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteDatabaseRequest) SetDbName ¶
func (r *DeleteDatabaseRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*DeleteDatabaseRequest) SetInstanceId ¶
func (r *DeleteDatabaseRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteDatabaseRequest) SetRegionId ¶
func (r *DeleteDatabaseRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteDatabaseResponse ¶
type DeleteDatabaseResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteDatabaseResult `json:"result"` }
type DeleteDatabaseResult ¶
type DeleteDatabaseResult struct { }
type DeleteImportFileRequest ¶ added in v1.3.0
type DeleteImportFileRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 单库上云文件名 */ FileName string `json:"fileName"` SharedFileGid *string `json:"sharedFileGid"` }
func NewDeleteImportFileRequest ¶ added in v1.3.0
func NewDeleteImportFileRequest( regionId string, instanceId string, fileName string, ) *DeleteImportFileRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteImportFileRequestWithAllParams ¶ added in v1.3.0
func NewDeleteImportFileRequestWithAllParams( regionId string, instanceId string, fileName string, sharedFileGid *string, ) *DeleteImportFileRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口describeImportFiles中获取;如果该文件不是共享文件,则无须输入该字段 (Optional)
func NewDeleteImportFileRequestWithoutParam ¶ added in v1.3.0
func NewDeleteImportFileRequestWithoutParam() *DeleteImportFileRequest
This constructor has better compatible ability when API parameters changed
func (DeleteImportFileRequest) GetRegionId ¶ added in v1.3.0
func (r DeleteImportFileRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteImportFileRequest) SetFileName ¶ added in v1.3.0
func (r *DeleteImportFileRequest) SetFileName(fileName string)
param fileName: 单库上云文件名(Required)
func (*DeleteImportFileRequest) SetInstanceId ¶ added in v1.3.0
func (r *DeleteImportFileRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteImportFileRequest) SetRegionId ¶ added in v1.3.0
func (r *DeleteImportFileRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DeleteImportFileRequest) SetSharedFileGid ¶ added in v1.3.0
func (r *DeleteImportFileRequest) SetSharedFileGid(sharedFileGid string)
param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口describeImportFiles中获取;如果该文件不是共享文件,则无须输入该字段(Optional)
type DeleteImportFileResponse ¶ added in v1.3.0
type DeleteImportFileResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteImportFileResult `json:"result"` }
type DeleteImportFileResult ¶ added in v1.3.0
type DeleteImportFileResult struct { }
type DeleteInstanceRequest ¶ added in v1.0.6
type DeleteInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDeleteInstanceRequest ¶ added in v1.0.6
func NewDeleteInstanceRequest( regionId string, instanceId string, ) *DeleteInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteInstanceRequestWithAllParams ¶ added in v1.0.6
func NewDeleteInstanceRequestWithAllParams( regionId string, instanceId string, ) *DeleteInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDeleteInstanceRequestWithoutParam ¶ added in v1.0.6
func NewDeleteInstanceRequestWithoutParam() *DeleteInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteInstanceRequest) GetRegionId ¶ added in v1.0.6
func (r DeleteInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteInstanceRequest) SetInstanceId ¶ added in v1.0.6
func (r *DeleteInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteInstanceRequest) SetRegionId ¶ added in v1.0.6
func (r *DeleteInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteInstanceResponse ¶ added in v1.0.6
type DeleteInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteInstanceResult `json:"result"` }
type DeleteInstanceResult ¶ added in v1.0.6
type DeleteInstanceResult struct { }
type DeleteParameterGroupRequest ¶ added in v1.3.0
type DeleteParameterGroupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` }
func NewDeleteParameterGroupRequest ¶ added in v1.3.0
func NewDeleteParameterGroupRequest( regionId string, parameterGroupId string, ) *DeleteParameterGroupRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteParameterGroupRequestWithAllParams ¶ added in v1.3.0
func NewDeleteParameterGroupRequestWithAllParams( regionId string, parameterGroupId string, ) *DeleteParameterGroupRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required)
func NewDeleteParameterGroupRequestWithoutParam ¶ added in v1.3.0
func NewDeleteParameterGroupRequestWithoutParam() *DeleteParameterGroupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteParameterGroupRequest) GetRegionId ¶ added in v1.3.0
func (r DeleteParameterGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteParameterGroupRequest) SetParameterGroupId ¶ added in v1.3.0
func (r *DeleteParameterGroupRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*DeleteParameterGroupRequest) SetRegionId ¶ added in v1.3.0
func (r *DeleteParameterGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteParameterGroupResponse ¶ added in v1.3.0
type DeleteParameterGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteParameterGroupResult `json:"result"` }
type DeleteParameterGroupResult ¶ added in v1.3.0
type DeleteParameterGroupResult struct { }
type DeleteReadWriteProxyRequest ¶ added in v1.37.0
type DeleteReadWriteProxyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 读写分离代理服务ID */ ReadWriteProxyId string `json:"readWriteProxyId"` }
func NewDeleteReadWriteProxyRequest ¶ added in v1.37.0
func NewDeleteReadWriteProxyRequest( regionId string, readWriteProxyId string, ) *DeleteReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteReadWriteProxyRequestWithAllParams ¶ added in v1.37.0
func NewDeleteReadWriteProxyRequestWithAllParams( regionId string, readWriteProxyId string, ) *DeleteReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)
func NewDeleteReadWriteProxyRequestWithoutParam ¶ added in v1.37.0
func NewDeleteReadWriteProxyRequestWithoutParam() *DeleteReadWriteProxyRequest
This constructor has better compatible ability when API parameters changed
func (DeleteReadWriteProxyRequest) GetRegionId ¶ added in v1.37.0
func (r DeleteReadWriteProxyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteReadWriteProxyRequest) SetReadWriteProxyId ¶ added in v1.37.0
func (r *DeleteReadWriteProxyRequest) SetReadWriteProxyId(readWriteProxyId string)
param readWriteProxyId: 读写分离代理服务ID(Required)
func (*DeleteReadWriteProxyRequest) SetRegionId ¶ added in v1.37.0
func (r *DeleteReadWriteProxyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteReadWriteProxyResponse ¶ added in v1.37.0
type DeleteReadWriteProxyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteReadWriteProxyResult `json:"result"` }
type DeleteReadWriteProxyResult ¶ added in v1.37.0
type DeleteReadWriteProxyResult struct { }
type DescribeAccountPrivilegeRequest ¶ added in v1.16.0
type DescribeAccountPrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` }
func NewDescribeAccountPrivilegeRequest ¶ added in v1.16.0
func NewDescribeAccountPrivilegeRequest( regionId string, instanceId string, accountName string, ) *DescribeAccountPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAccountPrivilegeRequestWithAllParams ¶ added in v1.16.0
func NewDescribeAccountPrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, ) *DescribeAccountPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required)
func NewDescribeAccountPrivilegeRequestWithoutParam ¶ added in v1.16.0
func NewDescribeAccountPrivilegeRequestWithoutParam() *DescribeAccountPrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAccountPrivilegeRequest) GetRegionId ¶ added in v1.16.0
func (r DescribeAccountPrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAccountPrivilegeRequest) SetAccountName ¶ added in v1.16.0
func (r *DescribeAccountPrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*DescribeAccountPrivilegeRequest) SetInstanceId ¶ added in v1.16.0
func (r *DescribeAccountPrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAccountPrivilegeRequest) SetRegionId ¶ added in v1.16.0
func (r *DescribeAccountPrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAccountPrivilegeResponse ¶ added in v1.16.0
type DescribeAccountPrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAccountPrivilegeResult `json:"result"` }
type DescribeAccountPrivilegeResult ¶ added in v1.16.0
type DescribeAccountPrivilegeResult struct { DatabasePrivileges []rds.DatabasePrivilege `json:"databasePrivileges"` GlobalPrivileges []string `json:"globalPrivileges"` }
type DescribeAccountsForOpsRequest ¶ added in v1.37.0
type DescribeAccountsForOpsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeAccountsForOpsRequest ¶ added in v1.37.0
func NewDescribeAccountsForOpsRequest( regionId string, instanceId string, ) *DescribeAccountsForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAccountsForOpsRequestWithAllParams ¶ added in v1.37.0
func NewDescribeAccountsForOpsRequestWithAllParams( regionId string, instanceId string, ) *DescribeAccountsForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeAccountsForOpsRequestWithoutParam ¶ added in v1.37.0
func NewDescribeAccountsForOpsRequestWithoutParam() *DescribeAccountsForOpsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAccountsForOpsRequest) GetRegionId ¶ added in v1.37.0
func (r DescribeAccountsForOpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAccountsForOpsRequest) SetInstanceId ¶ added in v1.37.0
func (r *DescribeAccountsForOpsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAccountsForOpsRequest) SetRegionId ¶ added in v1.37.0
func (r *DescribeAccountsForOpsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAccountsForOpsResponse ¶ added in v1.37.0
type DescribeAccountsForOpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAccountsForOpsResult `json:"result"` }
type DescribeAccountsForOpsResult ¶ added in v1.37.0
type DescribeAccountsForOpsResult struct { Accounts []rds.DBInstanceAccountForOps `json:"accounts"` TotalCount int `json:"totalCount"` }
type DescribeAccountsRequest ¶ added in v1.0.6
type DescribeAccountsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeAccountsRequest ¶ added in v1.0.6
func NewDescribeAccountsRequest( regionId string, instanceId string, ) *DescribeAccountsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAccountsRequestWithAllParams ¶ added in v1.0.6
func NewDescribeAccountsRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, ) *DescribeAccountsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
func NewDescribeAccountsRequestWithoutParam ¶ added in v1.0.6
func NewDescribeAccountsRequestWithoutParam() *DescribeAccountsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAccountsRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeAccountsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAccountsRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeAccountsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAccountsRequest) SetPageNumber ¶ added in v1.3.0
func (r *DescribeAccountsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeAccountsRequest) SetPageSize ¶ added in v1.3.0
func (r *DescribeAccountsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeAccountsRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeAccountsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAccountsResponse ¶ added in v1.0.6
type DescribeAccountsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAccountsResult `json:"result"` }
type DescribeAccountsResult ¶ added in v1.0.6
type DescribeActiveQueryPerformanceRequest ¶ added in v1.3.0
type DescribeActiveQueryPerformanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) */ Db *string `json:"db"` /* 返回执行时间大于等于threshold的记录,默认10,单位秒 (Optional) */ Threshold *int `json:"threshold"` /* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeActiveQueryPerformanceRequest ¶ added in v1.3.0
func NewDescribeActiveQueryPerformanceRequest( regionId string, instanceId string, ) *DescribeActiveQueryPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeActiveQueryPerformanceRequestWithAllParams ¶ added in v1.3.0
func NewDescribeActiveQueryPerformanceRequestWithAllParams( regionId string, instanceId string, db *string, threshold *int, pageNumber *int, pageSize *int, ) *DescribeActiveQueryPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) * param threshold: 返回执行时间大于等于threshold的记录,默认10,单位秒 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数 (Optional)
func NewDescribeActiveQueryPerformanceRequestWithoutParam ¶ added in v1.3.0
func NewDescribeActiveQueryPerformanceRequestWithoutParam() *DescribeActiveQueryPerformanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeActiveQueryPerformanceRequest) GetRegionId ¶ added in v1.3.0
func (r DescribeActiveQueryPerformanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeActiveQueryPerformanceRequest) SetDb ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetDb(db string)
param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库(Optional)
func (*DescribeActiveQueryPerformanceRequest) SetInstanceId ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeActiveQueryPerformanceRequest) SetPageNumber ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeActiveQueryPerformanceRequest) SetPageSize ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数(Optional)
func (*DescribeActiveQueryPerformanceRequest) SetRegionId ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeActiveQueryPerformanceRequest) SetThreshold ¶ added in v1.3.0
func (r *DescribeActiveQueryPerformanceRequest) SetThreshold(threshold int)
param threshold: 返回执行时间大于等于threshold的记录,默认10,单位秒(Optional)
type DescribeActiveQueryPerformanceResponse ¶ added in v1.3.0
type DescribeActiveQueryPerformanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeActiveQueryPerformanceResult `json:"result"` }
type DescribeActiveQueryPerformanceResult ¶ added in v1.3.0
type DescribeActiveQueryPerformanceResult struct { ActiveQueryPerformanceResult []rds.ActiveQueryPerformanceResult `json:"activeQueryPerformanceResult"` TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` PageSize int `json:"pageSize"` }
type DescribeAuditDownloadURLRequest ¶ added in v1.1.1
type DescribeAuditDownloadURLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 审计文件名 */ FileName string `json:"fileName"` }
func NewDescribeAuditDownloadURLRequest ¶ added in v1.1.1
func NewDescribeAuditDownloadURLRequest( regionId string, instanceId string, fileName string, ) *DescribeAuditDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 审计文件名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuditDownloadURLRequestWithAllParams ¶ added in v1.1.1
func NewDescribeAuditDownloadURLRequestWithAllParams( regionId string, instanceId string, fileName string, ) *DescribeAuditDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 审计文件名 (Required)
func NewDescribeAuditDownloadURLRequestWithoutParam ¶ added in v1.1.1
func NewDescribeAuditDownloadURLRequestWithoutParam() *DescribeAuditDownloadURLRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuditDownloadURLRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeAuditDownloadURLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuditDownloadURLRequest) SetFileName ¶ added in v1.1.1
func (r *DescribeAuditDownloadURLRequest) SetFileName(fileName string)
param fileName: 审计文件名(Required)
func (*DescribeAuditDownloadURLRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeAuditDownloadURLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAuditDownloadURLRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeAuditDownloadURLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAuditDownloadURLResponse ¶ added in v1.1.1
type DescribeAuditDownloadURLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuditDownloadURLResult `json:"result"` }
type DescribeAuditDownloadURLResult ¶ added in v1.1.1
type DescribeAuditFilesRequest ¶ added in v1.1.1
type DescribeAuditFilesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeAuditFilesRequest ¶ added in v1.1.1
func NewDescribeAuditFilesRequest( regionId string, instanceId string, ) *DescribeAuditFilesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuditFilesRequestWithAllParams ¶ added in v1.1.1
func NewDescribeAuditFilesRequestWithAllParams( regionId string, instanceId string, ) *DescribeAuditFilesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeAuditFilesRequestWithoutParam ¶ added in v1.1.1
func NewDescribeAuditFilesRequestWithoutParam() *DescribeAuditFilesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuditFilesRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeAuditFilesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuditFilesRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeAuditFilesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAuditFilesRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeAuditFilesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAuditFilesResponse ¶ added in v1.1.1
type DescribeAuditFilesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuditFilesResult `json:"result"` }
type DescribeAuditFilesResult ¶ added in v1.1.1
type DescribeAuditOptionsRequest ¶ added in v1.1.1
type DescribeAuditOptionsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项 */ Name string `json:"name"` }
func NewDescribeAuditOptionsRequest ¶ added in v1.1.1
func NewDescribeAuditOptionsRequest( regionId string, instanceId string, name string, ) *DescribeAuditOptionsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuditOptionsRequestWithAllParams ¶ added in v1.1.1
func NewDescribeAuditOptionsRequestWithAllParams( regionId string, instanceId string, name string, ) *DescribeAuditOptionsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项 (Required)
func NewDescribeAuditOptionsRequestWithoutParam ¶ added in v1.1.1
func NewDescribeAuditOptionsRequestWithoutParam() *DescribeAuditOptionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuditOptionsRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeAuditOptionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuditOptionsRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeAuditOptionsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAuditOptionsRequest) SetName ¶ added in v1.1.1
func (r *DescribeAuditOptionsRequest) SetName(name string)
param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项(Required)
func (*DescribeAuditOptionsRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeAuditOptionsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAuditOptionsResponse ¶ added in v1.1.1
type DescribeAuditOptionsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuditOptionsResult `json:"result"` }
type DescribeAuditOptionsResult ¶ added in v1.1.1
type DescribeAuditRequest ¶ added in v1.0.6
type DescribeAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeAuditRequest ¶ added in v1.0.6
func NewDescribeAuditRequest( regionId string, instanceId string, ) *DescribeAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuditRequestWithAllParams ¶ added in v1.0.6
func NewDescribeAuditRequestWithAllParams( regionId string, instanceId string, ) *DescribeAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeAuditRequestWithoutParam ¶ added in v1.0.6
func NewDescribeAuditRequestWithoutParam() *DescribeAuditRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuditRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuditRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAuditRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAuditResponse ¶ added in v1.0.6
type DescribeAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuditResult `json:"result"` }
type DescribeAuditResult ¶ added in v1.0.6
type DescribeAuditResult struct {
Enabled []string `json:"enabled"`
}
type DescribeAuditResultRequest ¶ added in v1.1.3
type DescribeAuditResultRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天 */ StartTime string `json:"startTime"` /* 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天 */ EndTime string `json:"endTime"` /* 数据库名 (Optional) */ DbName *string `json:"dbName"` /* 账号名 (Optional) */ AccountName *string `json:"accountName"` /* 显示数据的页码,默认为1,取值范围:[-1,∞) (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、50 (Optional) */ PageSize *int `json:"pageSize"` /* 过滤参数,多个过滤参数之间的关系为“与”(and) 支持以下属性的过滤: operation (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeAuditResultRequest ¶ added in v1.1.3
func NewDescribeAuditResultRequest( regionId string, instanceId string, startTime string, endTime string, ) *DescribeAuditResultRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天 (Required) * param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuditResultRequestWithAllParams ¶ added in v1.1.3
func NewDescribeAuditResultRequestWithAllParams( regionId string, instanceId string, startTime string, endTime string, dbName *string, accountName *string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeAuditResultRequest
- param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
- param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
- param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天 (Required)
- param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天 (Required)
- param dbName: 数据库名 (Optional)
- param accountName: 账号名 (Optional)
- param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞) (Optional)
- param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、50 (Optional)
- param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: operation
(Optional)
func NewDescribeAuditResultRequestWithoutParam ¶ added in v1.1.3
func NewDescribeAuditResultRequestWithoutParam() *DescribeAuditResultRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuditResultRequest) GetRegionId ¶ added in v1.1.3
func (r DescribeAuditResultRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuditResultRequest) SetAccountName ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetAccountName(accountName string)
param accountName: 账号名(Optional)
func (*DescribeAuditResultRequest) SetDbName ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetDbName(dbName string)
param dbName: 数据库名(Optional)
func (*DescribeAuditResultRequest) SetEndTime ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天(Required)
func (*DescribeAuditResultRequest) SetFilters ¶ added in v1.5.0
func (r *DescribeAuditResultRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: operation (Optional)
func (*DescribeAuditResultRequest) SetInstanceId ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeAuditResultRequest) SetPageNumber ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)(Optional)
func (*DescribeAuditResultRequest) SetPageSize ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、50(Optional)
func (*DescribeAuditResultRequest) SetRegionId ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeAuditResultRequest) SetStartTime ¶ added in v1.1.3
func (r *DescribeAuditResultRequest) SetStartTime(startTime string)
param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天(Required)
type DescribeAuditResultResponse ¶ added in v1.1.3
type DescribeAuditResultResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuditResultResult `json:"result"` }
type DescribeAuditResultResult ¶ added in v1.1.3
type DescribeAuditResultResult struct { AuditResult []rds.AuditResult `json:"auditResult"` TotalCount int `json:"totalCount"` }
type DescribeAzsRequest ¶ added in v1.3.0
type DescribeAzsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */ Engine string `json:"engine"` }
func NewDescribeAzsRequest ¶ added in v1.3.0
func NewDescribeAzsRequest( regionId string, engine string, ) *DescribeAzsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAzsRequestWithAllParams ¶ added in v1.3.0
func NewDescribeAzsRequestWithAllParams( regionId string, engine string, ) *DescribeAzsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required)
func NewDescribeAzsRequestWithoutParam ¶ added in v1.3.0
func NewDescribeAzsRequestWithoutParam() *DescribeAzsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAzsRequest) GetRegionId ¶ added in v1.3.0
func (r DescribeAzsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAzsRequest) SetEngine ¶ added in v1.3.0
func (r *DescribeAzsRequest) SetEngine(engine string)
param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)
func (*DescribeAzsRequest) SetRegionId ¶ added in v1.3.0
func (r *DescribeAzsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeAzsResponse ¶ added in v1.3.0
type DescribeAzsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAzsResult `json:"result"` }
type DescribeAzsResult ¶ added in v1.3.0
type DescribeAzsResult struct {
Azs []string `json:"azs"`
}
type DescribeBackupDownloadURLRequest ¶
type DescribeBackupDownloadURLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 备份ID */ BackupId string `json:"backupId"` /* 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Optional) */ FileName *string `json:"fileName"` /* 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。 (Optional) */ UrlExpirationSecond *string `json:"urlExpirationSecond"` }
func NewDescribeBackupDownloadURLRequest ¶
func NewDescribeBackupDownloadURLRequest( regionId string, backupId string, ) *DescribeBackupDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupDownloadURLRequestWithAllParams ¶ added in v1.0.6
func NewDescribeBackupDownloadURLRequestWithAllParams( regionId string, backupId string, fileName *string, urlExpirationSecond *string, ) *DescribeBackupDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param fileName: 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Optional) * param urlExpirationSecond: 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。 (Optional)
func NewDescribeBackupDownloadURLRequestWithoutParam ¶ added in v1.0.6
func NewDescribeBackupDownloadURLRequestWithoutParam() *DescribeBackupDownloadURLRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupDownloadURLRequest) GetRegionId ¶
func (r DescribeBackupDownloadURLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupDownloadURLRequest) SetBackupId ¶
func (r *DescribeBackupDownloadURLRequest) SetBackupId(backupId string)
param backupId: 备份ID(Required)
func (*DescribeBackupDownloadURLRequest) SetFileName ¶
func (r *DescribeBackupDownloadURLRequest) SetFileName(fileName string)
param fileName: 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份(Optional)
func (*DescribeBackupDownloadURLRequest) SetRegionId ¶
func (r *DescribeBackupDownloadURLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeBackupDownloadURLRequest) SetUrlExpirationSecond ¶
func (r *DescribeBackupDownloadURLRequest) SetUrlExpirationSecond(urlExpirationSecond string)
param urlExpirationSecond: 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。(Optional)
type DescribeBackupDownloadURLResponse ¶
type DescribeBackupDownloadURLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupDownloadURLResult `json:"result"` }
type DescribeBackupPolicyRequest ¶ added in v1.1.1
type DescribeBackupPolicyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeBackupPolicyRequest ¶ added in v1.1.1
func NewDescribeBackupPolicyRequest( regionId string, instanceId string, ) *DescribeBackupPolicyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupPolicyRequestWithAllParams ¶ added in v1.1.1
func NewDescribeBackupPolicyRequestWithAllParams( regionId string, instanceId string, ) *DescribeBackupPolicyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeBackupPolicyRequestWithoutParam ¶ added in v1.1.1
func NewDescribeBackupPolicyRequestWithoutParam() *DescribeBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupPolicyRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupPolicyRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeBackupPolicyRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeBackupPolicyRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeBackupPolicyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeBackupPolicyResponse ¶ added in v1.1.1
type DescribeBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupPolicyResult `json:"result"` }
type DescribeBackupPolicyResult ¶ added in v1.1.1
type DescribeBackupPolicyResult struct { StartWindow string `json:"startWindow"` RetentionPeriod int `json:"retentionPeriod"` BinlogRetentionPeriod int `json:"binlogRetentionPeriod"` BinlogUsageLimit int `json:"binlogUsageLimit"` CycleMode int `json:"cycleMode"` BackupBinlog string `json:"backupBinlog"` }
type DescribeBackupSynchronicitiesRequest ¶ added in v1.1.3
type DescribeBackupSynchronicitiesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeBackupSynchronicitiesRequest ¶ added in v1.1.3
func NewDescribeBackupSynchronicitiesRequest( regionId string, ) *DescribeBackupSynchronicitiesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupSynchronicitiesRequestWithAllParams ¶ added in v1.1.3
func NewDescribeBackupSynchronicitiesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, ) *DescribeBackupSynchronicitiesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)
func NewDescribeBackupSynchronicitiesRequestWithoutParam ¶ added in v1.1.3
func NewDescribeBackupSynchronicitiesRequestWithoutParam() *DescribeBackupSynchronicitiesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupSynchronicitiesRequest) GetRegionId ¶ added in v1.1.3
func (r DescribeBackupSynchronicitiesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupSynchronicitiesRequest) SetPageNumber ¶ added in v1.1.3
func (r *DescribeBackupSynchronicitiesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口(Optional)
func (*DescribeBackupSynchronicitiesRequest) SetPageSize ¶ added in v1.1.3
func (r *DescribeBackupSynchronicitiesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)
func (*DescribeBackupSynchronicitiesRequest) SetRegionId ¶ added in v1.1.3
func (r *DescribeBackupSynchronicitiesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeBackupSynchronicitiesResponse ¶ added in v1.1.3
type DescribeBackupSynchronicitiesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupSynchronicitiesResult `json:"result"` }
type DescribeBackupSynchronicitiesResult ¶ added in v1.1.3
type DescribeBackupSynchronicitiesResult struct { BackupSynchronicities []rds.BackupSynchronicity `json:"backupSynchronicities"` TotalCount int `json:"totalCount"` }
type DescribeBackupsRequest ¶
type DescribeBackupsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS实例ID,唯一标识一个实例 */ InstanceId string `json:"instanceId"` /* 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */ Auto *int `json:"auto"` /* 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */ BackupTypeFilter *string `json:"backupTypeFilter"` /* 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */ DbNameFilter *string `json:"dbNameFilter"` /* 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */ BackupTimeRangeStartFilter *string `json:"backupTimeRangeStartFilter"` /* 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */ BackupTimeRangeEndFilter *string `json:"backupTimeRangeEndFilter"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 */ PageNumber int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 */ PageSize int `json:"pageSize"` }
func NewDescribeBackupsRequest ¶
func NewDescribeBackupsRequest( regionId string, instanceId string, pageNumber int, pageSize int, ) *DescribeBackupsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Required) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupsRequestWithAllParams ¶ added in v1.0.6
func NewDescribeBackupsRequestWithAllParams( regionId string, instanceId string, auto *int, backupTypeFilter *string, dbNameFilter *string, backupTimeRangeStartFilter *string, backupTimeRangeEndFilter *string, pageNumber int, pageSize int, ) *DescribeBackupsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required) * param auto: 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTypeFilter: 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param dbNameFilter: 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTimeRangeStartFilter: 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTimeRangeEndFilter: 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Required) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Required)
func NewDescribeBackupsRequestWithoutParam ¶ added in v1.0.6
func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupsRequest) GetRegionId ¶
func (r DescribeBackupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupsRequest) SetAuto ¶
func (r *DescribeBackupsRequest) SetAuto(auto int)
param auto: 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)
func (*DescribeBackupsRequest) SetBackupTimeRangeEndFilter ¶
func (r *DescribeBackupsRequest) SetBackupTimeRangeEndFilter(backupTimeRangeEndFilter string)
param backupTimeRangeEndFilter: 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)
func (*DescribeBackupsRequest) SetBackupTimeRangeStartFilter ¶
func (r *DescribeBackupsRequest) SetBackupTimeRangeStartFilter(backupTimeRangeStartFilter string)
param backupTimeRangeStartFilter: 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)
func (*DescribeBackupsRequest) SetBackupTypeFilter ¶
func (r *DescribeBackupsRequest) SetBackupTypeFilter(backupTypeFilter string)
param backupTypeFilter: 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)
func (*DescribeBackupsRequest) SetDbNameFilter ¶
func (r *DescribeBackupsRequest) SetDbNameFilter(dbNameFilter string)
param dbNameFilter: 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)
func (*DescribeBackupsRequest) SetInstanceId ¶
func (r *DescribeBackupsRequest) SetInstanceId(instanceId string)
param instanceId: RDS实例ID,唯一标识一个实例(Required)
func (*DescribeBackupsRequest) SetPageNumber ¶
func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Required)
func (*DescribeBackupsRequest) SetPageSize ¶
func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Required)
func (*DescribeBackupsRequest) SetRegionId ¶
func (r *DescribeBackupsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeBackupsResponse ¶
type DescribeBackupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupsResult `json:"result"` }
type DescribeBackupsResult ¶
type DescribeBinlogDownloadURLRequest ¶ added in v1.1.1
type DescribeBinlogDownloadURLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* binlog的备份ID,可以通过describeBinlogs获得 */ BinlogBackupId string `json:"binlogBackupId"` /* 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional) */ Seconds *int `json:"seconds"` }
func NewDescribeBinlogDownloadURLRequest ¶ added in v1.1.1
func NewDescribeBinlogDownloadURLRequest( regionId string, instanceId string, binlogBackupId string, ) *DescribeBinlogDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBinlogDownloadURLRequestWithAllParams ¶ added in v1.1.1
func NewDescribeBinlogDownloadURLRequestWithAllParams( regionId string, instanceId string, binlogBackupId string, seconds *int, ) *DescribeBinlogDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得 (Required) * param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional)
func NewDescribeBinlogDownloadURLRequestWithoutParam ¶ added in v1.1.1
func NewDescribeBinlogDownloadURLRequestWithoutParam() *DescribeBinlogDownloadURLRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBinlogDownloadURLRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeBinlogDownloadURLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBinlogDownloadURLRequest) SetBinlogBackupId ¶ added in v1.1.1
func (r *DescribeBinlogDownloadURLRequest) SetBinlogBackupId(binlogBackupId string)
param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得(Required)
func (*DescribeBinlogDownloadURLRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeBinlogDownloadURLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeBinlogDownloadURLRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeBinlogDownloadURLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeBinlogDownloadURLRequest) SetSeconds ¶ added in v1.13.0
func (r *DescribeBinlogDownloadURLRequest) SetSeconds(seconds int)
param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒(Optional)
type DescribeBinlogDownloadURLResponse ¶ added in v1.1.1
type DescribeBinlogDownloadURLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBinlogDownloadURLResult `json:"result"` }
type DescribeBinlogDownloadURLResult ¶ added in v1.1.1
type DescribeBinlogsRequest ¶ added in v1.1.1
type DescribeBinlogsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */ PageSize *int `json:"pageSize"` /* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) */ StartTime *string `json:"startTime"` /* 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) */ EndTime *string `json:"endTime"` }
func NewDescribeBinlogsRequest ¶ added in v1.1.1
func NewDescribeBinlogsRequest( regionId string, instanceId string, ) *DescribeBinlogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBinlogsRequestWithAllParams ¶ added in v1.1.1
func NewDescribeBinlogsRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, startTime *string, endTime *string, ) *DescribeBinlogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) * param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional)
func NewDescribeBinlogsRequestWithoutParam ¶ added in v1.1.1
func NewDescribeBinlogsRequestWithoutParam() *DescribeBinlogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBinlogsRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeBinlogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBinlogsRequest) SetEndTime ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetEndTime(endTime string)
param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天(Optional)
func (*DescribeBinlogsRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeBinlogsRequest) SetPageNumber ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeBinlogsRequest) SetPageSize ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)
func (*DescribeBinlogsRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeBinlogsRequest) SetStartTime ¶ added in v1.1.1
func (r *DescribeBinlogsRequest) SetStartTime(startTime string)
param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天(Optional)
type DescribeBinlogsResponse ¶ added in v1.1.1
type DescribeBinlogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBinlogsResult `json:"result"` }
type DescribeBinlogsResult ¶ added in v1.1.1
type DescribeDatabasesRequest ¶ added in v1.0.6
type DescribeDatabasesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) */ DbName *string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeDatabasesRequest ¶ added in v1.0.6
func NewDescribeDatabasesRequest( regionId string, instanceId string, ) *DescribeDatabasesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDatabasesRequestWithAllParams ¶ added in v1.0.6
func NewDescribeDatabasesRequestWithAllParams( regionId string, instanceId string, dbName *string, pageNumber *int, pageSize *int, ) *DescribeDatabasesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
func NewDescribeDatabasesRequestWithoutParam ¶ added in v1.0.6
func NewDescribeDatabasesRequestWithoutParam() *DescribeDatabasesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDatabasesRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeDatabasesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDatabasesRequest) SetDbName ¶ added in v1.0.6
func (r *DescribeDatabasesRequest) SetDbName(dbName string)
param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段**(Optional)
func (*DescribeDatabasesRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeDatabasesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeDatabasesRequest) SetPageNumber ¶ added in v1.5.0
func (r *DescribeDatabasesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeDatabasesRequest) SetPageSize ¶ added in v1.5.0
func (r *DescribeDatabasesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeDatabasesRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeDatabasesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeDatabasesResponse ¶ added in v1.0.6
type DescribeDatabasesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDatabasesResult `json:"result"` }
type DescribeDatabasesResult ¶ added in v1.0.6
type DescribeErrorLogRequest ¶ added in v1.16.0
type DescribeErrorLogRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 */ StartTime string `json:"startTime"` /* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 */ EndTime string `json:"endTime"` /* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */ DbName *string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeErrorLogRequest ¶ added in v1.16.0
func NewDescribeErrorLogRequest( regionId string, instanceId string, startTime string, endTime string, ) *DescribeErrorLogRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeErrorLogRequestWithAllParams ¶ added in v1.16.0
func NewDescribeErrorLogRequestWithAllParams( regionId string, instanceId string, startTime string, endTime string, dbName *string, pageNumber *int, pageSize *int, ) *DescribeErrorLogRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)
func NewDescribeErrorLogRequestWithoutParam ¶ added in v1.16.0
func NewDescribeErrorLogRequestWithoutParam() *DescribeErrorLogRequest
This constructor has better compatible ability when API parameters changed
func (DescribeErrorLogRequest) GetRegionId ¶ added in v1.16.0
func (r DescribeErrorLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeErrorLogRequest) SetDbName ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetDbName(dbName string)
param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)
func (*DescribeErrorLogRequest) SetEndTime ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetEndTime(endTime string)
param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
func (*DescribeErrorLogRequest) SetInstanceId ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeErrorLogRequest) SetPageNumber ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeErrorLogRequest) SetPageSize ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)
func (*DescribeErrorLogRequest) SetRegionId ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeErrorLogRequest) SetStartTime ¶ added in v1.16.0
func (r *DescribeErrorLogRequest) SetStartTime(startTime string)
param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
type DescribeErrorLogResponse ¶ added in v1.16.0
type DescribeErrorLogResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeErrorLogResult `json:"result"` }
type DescribeErrorLogResult ¶ added in v1.16.0
type DescribeErrorLogResult struct { ErrorLogs []rds.ErrorLogDigest `json:"errorLogs"` TotalCount int `json:"totalCount"` }
type DescribeErrorLogsRequest ¶ added in v1.0.6
type DescribeErrorLogsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeErrorLogsRequest ¶ added in v1.0.6
func NewDescribeErrorLogsRequest( regionId string, instanceId string, ) *DescribeErrorLogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeErrorLogsRequestWithAllParams ¶ added in v1.0.6
func NewDescribeErrorLogsRequestWithAllParams( regionId string, instanceId string, ) *DescribeErrorLogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeErrorLogsRequestWithoutParam ¶ added in v1.0.6
func NewDescribeErrorLogsRequestWithoutParam() *DescribeErrorLogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeErrorLogsRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeErrorLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeErrorLogsRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeErrorLogsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeErrorLogsRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeErrorLogsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeErrorLogsResponse ¶ added in v1.0.6
type DescribeErrorLogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeErrorLogsResult `json:"result"` }
type DescribeErrorLogsResult ¶ added in v1.0.6
type DescribeImportFilesRequest ¶
type DescribeImportFilesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeImportFilesRequest ¶
func NewDescribeImportFilesRequest( regionId string, instanceId string, ) *DescribeImportFilesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeImportFilesRequestWithAllParams ¶ added in v1.0.6
func NewDescribeImportFilesRequestWithAllParams( regionId string, instanceId string, ) *DescribeImportFilesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeImportFilesRequestWithoutParam ¶ added in v1.0.6
func NewDescribeImportFilesRequestWithoutParam() *DescribeImportFilesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeImportFilesRequest) GetRegionId ¶
func (r DescribeImportFilesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeImportFilesRequest) SetInstanceId ¶
func (r *DescribeImportFilesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeImportFilesRequest) SetRegionId ¶
func (r *DescribeImportFilesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeImportFilesResponse ¶
type DescribeImportFilesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeImportFilesResult `json:"result"` }
type DescribeImportFilesResult ¶
type DescribeImportFilesResult struct {
ImportFiles []rds.ImportFile `json:"importFiles"`
}
type DescribeIndexPerformanceRequest ¶ added in v1.0.6
type DescribeIndexPerformanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br> */ QueryType string `json:"queryType"` /* 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) */ Db *string `json:"db"` /* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeIndexPerformanceRequest ¶ added in v1.0.6
func NewDescribeIndexPerformanceRequest( regionId string, instanceId string, queryType string, ) *DescribeIndexPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br> (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeIndexPerformanceRequestWithAllParams ¶ added in v1.0.6
func NewDescribeIndexPerformanceRequestWithAllParams( regionId string, instanceId string, queryType string, db *string, pageNumber *int, pageSize *int, ) *DescribeIndexPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br> (Required) * param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional)
func NewDescribeIndexPerformanceRequestWithoutParam ¶ added in v1.0.6
func NewDescribeIndexPerformanceRequestWithoutParam() *DescribeIndexPerformanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeIndexPerformanceRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeIndexPerformanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeIndexPerformanceRequest) SetDb ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetDb(db string)
param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库(Optional)
func (*DescribeIndexPerformanceRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeIndexPerformanceRequest) SetPageNumber ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeIndexPerformanceRequest) SetPageSize ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口(Optional)
func (*DescribeIndexPerformanceRequest) SetQueryType ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetQueryType(queryType string)
param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br>(Required)
func (*DescribeIndexPerformanceRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeIndexPerformanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeIndexPerformanceResponse ¶ added in v1.0.6
type DescribeIndexPerformanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeIndexPerformanceResult `json:"result"` }
type DescribeIndexPerformanceResult ¶ added in v1.0.6
type DescribeIndexPerformanceResult struct { MissingIndexResult []rds.MissingIndexResult `json:"missingIndexResult"` IndexPerformanceResult []rds.IndexPerformanceResult `json:"indexPerformanceResult"` TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` PageSize int `json:"pageSize"` }
type DescribeInstanceAttributesRequest ¶ added in v1.0.6
type DescribeInstanceAttributesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceAttributesRequest ¶ added in v1.0.6
func NewDescribeInstanceAttributesRequest( regionId string, instanceId string, ) *DescribeInstanceAttributesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceAttributesRequestWithAllParams ¶ added in v1.0.6
func NewDescribeInstanceAttributesRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceAttributesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeInstanceAttributesRequestWithoutParam ¶ added in v1.0.6
func NewDescribeInstanceAttributesRequestWithoutParam() *DescribeInstanceAttributesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceAttributesRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeInstanceAttributesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceAttributesRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeInstanceAttributesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeInstanceAttributesRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeInstanceAttributesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeInstanceAttributesResponse ¶ added in v1.0.6
type DescribeInstanceAttributesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceAttributesResult `json:"result"` }
type DescribeInstanceAttributesResult ¶ added in v1.0.6
type DescribeInstanceAttributesResult struct {
DbInstanceAttributes rds.DBInstanceAttribute `json:"dbInstanceAttributes"`
}
type DescribeInstanceVersionInternalRequest ¶ added in v1.37.0
type DescribeInstanceVersionInternalRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceVersionInternalRequest ¶ added in v1.37.0
func NewDescribeInstanceVersionInternalRequest( regionId string, instanceId string, ) *DescribeInstanceVersionInternalRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceVersionInternalRequestWithAllParams ¶ added in v1.37.0
func NewDescribeInstanceVersionInternalRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceVersionInternalRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeInstanceVersionInternalRequestWithoutParam ¶ added in v1.37.0
func NewDescribeInstanceVersionInternalRequestWithoutParam() *DescribeInstanceVersionInternalRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceVersionInternalRequest) GetRegionId ¶ added in v1.37.0
func (r DescribeInstanceVersionInternalRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceVersionInternalRequest) SetInstanceId ¶ added in v1.37.0
func (r *DescribeInstanceVersionInternalRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeInstanceVersionInternalRequest) SetRegionId ¶ added in v1.37.0
func (r *DescribeInstanceVersionInternalRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeInstanceVersionInternalResponse ¶ added in v1.37.0
type DescribeInstanceVersionInternalResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceVersionInternalResult `json:"result"` }
type DescribeInstanceVersionInternalResult ¶ added in v1.37.0
type DescribeInstancesRequest ¶ added in v1.0.6
type DescribeInstancesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */ PageSize *int `json:"pageSize"` /* 过滤参数,多个过滤参数之间的关系为“与”(and) 支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq, like engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq vpcId, 支持operator选项:eq instanceType, 支持operator选项:eq internalDomainName, 支持operator选项:eq publicDomainName, 支持operator选项:eq (Optional) */ Filters []common.Filter `json:"filters"` /* 资源标签 (Optional) */ TagFilters []common.TagFilter `json:"tagFilters"` }
func NewDescribeInstancesRequest ¶ added in v1.0.6
func NewDescribeInstancesRequest( regionId string, ) *DescribeInstancesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstancesRequestWithAllParams ¶ added in v1.0.6
func NewDescribeInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, tagFilters []common.TagFilter, ) *DescribeInstancesRequest
- param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
- param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
- param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
- param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq, like engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq vpcId, 支持operator选项:eq instanceType, 支持operator选项:eq internalDomainName, 支持operator选项:eq publicDomainName, 支持operator选项:eq
(Optional) * param tagFilters: 资源标签 (Optional)
func NewDescribeInstancesRequestWithoutParam ¶ added in v1.0.6
func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstancesRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstancesRequest) SetFilters ¶ added in v1.3.0
func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq, like engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq vpcId, 支持operator选项:eq instanceType, 支持operator选项:eq internalDomainName, 支持operator选项:eq publicDomainName, 支持operator选项:eq (Optional)
func (*DescribeInstancesRequest) SetPageNumber ¶ added in v1.0.6
func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeInstancesRequest) SetPageSize ¶ added in v1.0.6
func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)
func (*DescribeInstancesRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeInstancesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeInstancesRequest) SetTagFilters ¶ added in v1.3.0
func (r *DescribeInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
param tagFilters: 资源标签(Optional)
type DescribeInstancesResponse ¶ added in v1.0.6
type DescribeInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstancesResult `json:"result"` }
type DescribeInstancesResult ¶ added in v1.0.6
type DescribeInstancesResult struct { DbInstances []rds.DBInstance `json:"dbInstances"` TotalCount int `json:"totalCount"` }
type DescribeInterceptRequest ¶ added in v1.5.0
type DescribeInterceptRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDescribeInterceptRequest ¶ added in v1.5.0
func NewDescribeInterceptRequest( regionId string, instanceId string, ) *DescribeInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInterceptRequestWithAllParams ¶ added in v1.5.0
func NewDescribeInterceptRequestWithAllParams( regionId string, instanceId string, ) *DescribeInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDescribeInterceptRequestWithoutParam ¶ added in v1.5.0
func NewDescribeInterceptRequestWithoutParam() *DescribeInterceptRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInterceptRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeInterceptRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInterceptRequest) SetInstanceId ¶ added in v1.5.0
func (r *DescribeInterceptRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DescribeInterceptRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeInterceptRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeInterceptResponse ¶ added in v1.5.0
type DescribeInterceptResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInterceptResult `json:"result"` }
type DescribeInterceptResult ¶ added in v1.5.0
type DescribeInterceptResult struct {
Available bool `json:"available"`
}
type DescribeInterceptResultRequest ¶ added in v1.5.0
type DescribeInterceptResultRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeInterceptResultRequest ¶ added in v1.5.0
func NewDescribeInterceptResultRequest( regionId string, instanceId string, ) *DescribeInterceptResultRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInterceptResultRequestWithAllParams ¶ added in v1.5.0
func NewDescribeInterceptResultRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, ) *DescribeInterceptResultRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
func NewDescribeInterceptResultRequestWithoutParam ¶ added in v1.5.0
func NewDescribeInterceptResultRequestWithoutParam() *DescribeInterceptResultRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInterceptResultRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeInterceptResultRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInterceptResultRequest) SetInstanceId ¶ added in v1.5.0
func (r *DescribeInterceptResultRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DescribeInterceptResultRequest) SetPageNumber ¶ added in v1.5.0
func (r *DescribeInterceptResultRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeInterceptResultRequest) SetPageSize ¶ added in v1.5.0
func (r *DescribeInterceptResultRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)
func (*DescribeInterceptResultRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeInterceptResultRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeInterceptResultResponse ¶ added in v1.5.0
type DescribeInterceptResultResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInterceptResultResult `json:"result"` }
type DescribeInterceptResultResult ¶ added in v1.5.0
type DescribeInterceptResultResult struct { InterceptResult []rds.InterceptResult `json:"interceptResult"` TotalCount int `json:"totalCount"` }
type DescribeLatestRestoreTimeRequest ¶ added in v1.3.0
type DescribeLatestRestoreTimeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeLatestRestoreTimeRequest ¶ added in v1.3.0
func NewDescribeLatestRestoreTimeRequest( regionId string, instanceId string, ) *DescribeLatestRestoreTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLatestRestoreTimeRequestWithAllParams ¶ added in v1.3.0
func NewDescribeLatestRestoreTimeRequestWithAllParams( regionId string, instanceId string, ) *DescribeLatestRestoreTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeLatestRestoreTimeRequestWithoutParam ¶ added in v1.3.0
func NewDescribeLatestRestoreTimeRequestWithoutParam() *DescribeLatestRestoreTimeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLatestRestoreTimeRequest) GetRegionId ¶ added in v1.3.0
func (r DescribeLatestRestoreTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLatestRestoreTimeRequest) SetInstanceId ¶ added in v1.3.0
func (r *DescribeLatestRestoreTimeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeLatestRestoreTimeRequest) SetRegionId ¶ added in v1.3.0
func (r *DescribeLatestRestoreTimeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeLatestRestoreTimeResponse ¶ added in v1.3.0
type DescribeLatestRestoreTimeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeLatestRestoreTimeResult `json:"result"` }
type DescribeLatestRestoreTimeResult ¶ added in v1.3.0
type DescribeLatestRestoreTimeResult struct {
LatestRestoreTime string `json:"latestRestoreTime"`
}
type DescribeLogDownloadURLRequest ¶ added in v1.13.0
type DescribeLogDownloadURLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 日志文件ID */ LogId string `json:"logId"` /* 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional) */ Seconds *int `json:"seconds"` }
func NewDescribeLogDownloadURLRequest ¶ added in v1.13.0
func NewDescribeLogDownloadURLRequest( regionId string, instanceId string, logId string, ) *DescribeLogDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogDownloadURLRequestWithAllParams ¶ added in v1.13.0
func NewDescribeLogDownloadURLRequestWithAllParams( regionId string, instanceId string, logId string, seconds *int, ) *DescribeLogDownloadURLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional)
func NewDescribeLogDownloadURLRequestWithoutParam ¶ added in v1.13.0
func NewDescribeLogDownloadURLRequestWithoutParam() *DescribeLogDownloadURLRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogDownloadURLRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeLogDownloadURLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogDownloadURLRequest) SetInstanceId ¶ added in v1.13.0
func (r *DescribeLogDownloadURLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeLogDownloadURLRequest) SetLogId ¶ added in v1.13.0
func (r *DescribeLogDownloadURLRequest) SetLogId(logId string)
param logId: 日志文件ID(Required)
func (*DescribeLogDownloadURLRequest) SetRegionId ¶ added in v1.13.0
func (r *DescribeLogDownloadURLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeLogDownloadURLRequest) SetSeconds ¶ added in v1.13.0
func (r *DescribeLogDownloadURLRequest) SetSeconds(seconds int)
param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒(Optional)
type DescribeLogDownloadURLResponse ¶ added in v1.13.0
type DescribeLogDownloadURLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeLogDownloadURLResult `json:"result"` }
type DescribeLogDownloadURLResult ¶ added in v1.13.0
type DescribeLogsRequest ¶ added in v1.12.0
type DescribeLogsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` /* 过滤参数,多个过滤参数之间的关系为“与”(and) 支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeLogsRequest ¶ added in v1.12.0
func NewDescribeLogsRequest( regionId string, instanceId string, ) *DescribeLogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogsRequestWithAllParams ¶ added in v1.12.0
func NewDescribeLogsRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeLogsRequest
- param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
- param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
- param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
- param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
- param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB
(Optional)
func NewDescribeLogsRequestWithoutParam ¶ added in v1.12.0
func NewDescribeLogsRequestWithoutParam() *DescribeLogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogsRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogsRequest) SetFilters ¶ added in v1.13.0
func (r *DescribeLogsRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB (Optional)
func (*DescribeLogsRequest) SetInstanceId ¶ added in v1.12.0
func (r *DescribeLogsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeLogsRequest) SetPageNumber ¶ added in v1.12.0
func (r *DescribeLogsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeLogsRequest) SetPageSize ¶ added in v1.12.0
func (r *DescribeLogsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeLogsRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeLogsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeLogsResponse ¶ added in v1.12.0
type DescribeLogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeLogsResult `json:"result"` }
type DescribeLogsResult ¶ added in v1.12.0
type DescribeParameterGroupAttachedInstancesRequest ¶ added in v1.5.0
type DescribeParameterGroupAttachedInstancesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeParameterGroupAttachedInstancesRequest ¶ added in v1.5.0
func NewDescribeParameterGroupAttachedInstancesRequest( regionId string, parameterGroupId string, ) *DescribeParameterGroupAttachedInstancesRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParameterGroupAttachedInstancesRequestWithAllParams ¶ added in v1.5.0
func NewDescribeParameterGroupAttachedInstancesRequestWithAllParams( regionId string, parameterGroupId string, pageNumber *int, pageSize *int, ) *DescribeParameterGroupAttachedInstancesRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
func NewDescribeParameterGroupAttachedInstancesRequestWithoutParam ¶ added in v1.5.0
func NewDescribeParameterGroupAttachedInstancesRequestWithoutParam() *DescribeParameterGroupAttachedInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParameterGroupAttachedInstancesRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeParameterGroupAttachedInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParameterGroupAttachedInstancesRequest) SetPageNumber ¶ added in v1.5.0
func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页(Optional)
func (*DescribeParameterGroupAttachedInstancesRequest) SetPageSize ¶ added in v1.5.0
func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)
func (*DescribeParameterGroupAttachedInstancesRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *DescribeParameterGroupAttachedInstancesRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*DescribeParameterGroupAttachedInstancesRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeParameterGroupAttachedInstancesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeParameterGroupAttachedInstancesResponse ¶ added in v1.5.0
type DescribeParameterGroupAttachedInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeParameterGroupAttachedInstancesResult `json:"result"` }
type DescribeParameterGroupAttachedInstancesResult ¶ added in v1.5.0
type DescribeParameterGroupAttachedInstancesResult struct { Instances []rds.AttachedDBInstance `json:"instances"` TotalCount int `json:"totalCount"` }
type DescribeParameterGroupParametersRequest ¶ added in v1.5.0
type DescribeParameterGroupParametersRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` }
func NewDescribeParameterGroupParametersRequest ¶ added in v1.5.0
func NewDescribeParameterGroupParametersRequest( regionId string, parameterGroupId string, ) *DescribeParameterGroupParametersRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParameterGroupParametersRequestWithAllParams ¶ added in v1.5.0
func NewDescribeParameterGroupParametersRequestWithAllParams( regionId string, parameterGroupId string, ) *DescribeParameterGroupParametersRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required)
func NewDescribeParameterGroupParametersRequestWithoutParam ¶ added in v1.5.0
func NewDescribeParameterGroupParametersRequestWithoutParam() *DescribeParameterGroupParametersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParameterGroupParametersRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeParameterGroupParametersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParameterGroupParametersRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *DescribeParameterGroupParametersRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*DescribeParameterGroupParametersRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeParameterGroupParametersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeParameterGroupParametersResponse ¶ added in v1.5.0
type DescribeParameterGroupParametersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeParameterGroupParametersResult `json:"result"` }
type DescribeParameterGroupParametersResult ¶ added in v1.5.0
type DescribeParameterGroupParametersResult struct {
Parameters []rds.ParameterGroupParameter `json:"parameters"`
}
type DescribeParameterGroupsRequest ¶ added in v1.5.0
type DescribeParameterGroupsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeParameterGroupsRequest ¶ added in v1.5.0
func NewDescribeParameterGroupsRequest( regionId string, ) *DescribeParameterGroupsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParameterGroupsRequestWithAllParams ¶ added in v1.5.0
func NewDescribeParameterGroupsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, ) *DescribeParameterGroupsRequest
* param regionId: Region ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
func NewDescribeParameterGroupsRequestWithoutParam ¶ added in v1.5.0
func NewDescribeParameterGroupsRequestWithoutParam() *DescribeParameterGroupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParameterGroupsRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeParameterGroupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParameterGroupsRequest) SetPageNumber ¶ added in v1.5.0
func (r *DescribeParameterGroupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeParameterGroupsRequest) SetPageSize ¶ added in v1.5.0
func (r *DescribeParameterGroupsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)
func (*DescribeParameterGroupsRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeParameterGroupsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeParameterGroupsResponse ¶ added in v1.5.0
type DescribeParameterGroupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeParameterGroupsResult `json:"result"` }
type DescribeParameterGroupsResult ¶ added in v1.5.0
type DescribeParameterGroupsResult struct { ParameterGroups []rds.ParameterGroup `json:"parameterGroups"` TotalCount int `json:"totalCount"` }
type DescribeParameterModifyRecordsRequest ¶ added in v1.5.0
type DescribeParameterModifyRecordsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */ PageSize *int `json:"pageSize"` /* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */ StartTime *string `json:"startTime"` /* 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */ EndTime *string `json:"endTime"` }
func NewDescribeParameterModifyRecordsRequest ¶ added in v1.5.0
func NewDescribeParameterModifyRecordsRequest( regionId string, parameterGroupId string, ) *DescribeParameterModifyRecordsRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParameterModifyRecordsRequestWithAllParams ¶ added in v1.5.0
func NewDescribeParameterModifyRecordsRequestWithAllParams( regionId string, parameterGroupId string, pageNumber *int, pageSize *int, startTime *string, endTime *string, ) *DescribeParameterModifyRecordsRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) * param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss (Optional)
func NewDescribeParameterModifyRecordsRequestWithoutParam ¶ added in v1.5.0
func NewDescribeParameterModifyRecordsRequestWithoutParam() *DescribeParameterModifyRecordsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParameterModifyRecordsRequest) GetRegionId ¶ added in v1.5.0
func (r DescribeParameterModifyRecordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParameterModifyRecordsRequest) SetEndTime ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetEndTime(endTime string)
param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss(Optional)
func (*DescribeParameterModifyRecordsRequest) SetPageNumber ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeParameterModifyRecordsRequest) SetPageSize ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)
func (*DescribeParameterModifyRecordsRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*DescribeParameterModifyRecordsRequest) SetRegionId ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeParameterModifyRecordsRequest) SetStartTime ¶ added in v1.5.0
func (r *DescribeParameterModifyRecordsRequest) SetStartTime(startTime string)
param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss(Optional)
type DescribeParameterModifyRecordsResponse ¶ added in v1.5.0
type DescribeParameterModifyRecordsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeParameterModifyRecordsResult `json:"result"` }
type DescribeParameterModifyRecordsResult ¶ added in v1.5.0
type DescribeParameterModifyRecordsResult struct { Records []rds.ParameterModifyRecords `json:"records"` TotalCount int `json:"totalCount"` }
type DescribeParametersRequest ¶ added in v1.3.0
type DescribeParametersRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDescribeParametersRequest ¶ added in v1.3.0
func NewDescribeParametersRequest( regionId string, instanceId string, ) *DescribeParametersRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParametersRequestWithAllParams ¶ added in v1.3.0
func NewDescribeParametersRequestWithAllParams( regionId string, instanceId string, ) *DescribeParametersRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDescribeParametersRequestWithoutParam ¶ added in v1.3.0
func NewDescribeParametersRequestWithoutParam() *DescribeParametersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParametersRequest) GetRegionId ¶ added in v1.3.0
func (r DescribeParametersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParametersRequest) SetInstanceId ¶ added in v1.3.0
func (r *DescribeParametersRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DescribeParametersRequest) SetRegionId ¶ added in v1.3.0
func (r *DescribeParametersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeParametersResponse ¶ added in v1.3.0
type DescribeParametersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeParametersResult `json:"result"` }
type DescribeParametersResult ¶ added in v1.3.0
type DescribeParametersResult struct {
Parameters []rds.DBInstanceParameter `json:"parameters"`
}
type DescribePrivilegeRequest ¶ added in v1.16.0
type DescribePrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 设置可见的引擎类型,如 MySQL 等 */ Engine string `json:"engine"` /* RDS 实例ID,唯一标识一个RDS实例 (Optional) */ InstanceId *string `json:"instanceId"` }
func NewDescribePrivilegeRequest ¶ added in v1.16.0
func NewDescribePrivilegeRequest( regionId string, engine string, ) *DescribePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 设置可见的引擎类型,如 MySQL 等 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribePrivilegeRequestWithAllParams ¶ added in v1.16.0
func NewDescribePrivilegeRequestWithAllParams( regionId string, engine string, instanceId *string, ) *DescribePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 设置可见的引擎类型,如 MySQL 等 (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Optional)
func NewDescribePrivilegeRequestWithoutParam ¶ added in v1.16.0
func NewDescribePrivilegeRequestWithoutParam() *DescribePrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (DescribePrivilegeRequest) GetRegionId ¶ added in v1.16.0
func (r DescribePrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribePrivilegeRequest) SetEngine ¶ added in v1.16.0
func (r *DescribePrivilegeRequest) SetEngine(engine string)
param engine: 设置可见的引擎类型,如 MySQL 等(Required)
func (*DescribePrivilegeRequest) SetInstanceId ¶ added in v1.37.0
func (r *DescribePrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Optional)
func (*DescribePrivilegeRequest) SetRegionId ¶ added in v1.16.0
func (r *DescribePrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribePrivilegeResponse ¶ added in v1.16.0
type DescribePrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribePrivilegeResult `json:"result"` }
type DescribePrivilegeResult ¶ added in v1.16.0
type DescribeQueryPerformanceRequest ¶ added in v1.0.6
type DescribeQueryPerformanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br> */ QueryType string `json:"queryType"` /* 只返回查询条件大于等于threshold的记录,默认为0 (Optional) */ Threshold *int `json:"threshold"` /* 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeQueryPerformanceRequest ¶ added in v1.0.6
func NewDescribeQueryPerformanceRequest( regionId string, instanceId string, queryType string, ) *DescribeQueryPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br> (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeQueryPerformanceRequestWithAllParams ¶ added in v1.0.6
func NewDescribeQueryPerformanceRequestWithAllParams( regionId string, instanceId string, queryType string, threshold *int, pageNumber *int, pageSize *int, ) *DescribeQueryPerformanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br> (Required) * param threshold: 只返回查询条件大于等于threshold的记录,默认为0 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional)
func NewDescribeQueryPerformanceRequestWithoutParam ¶ added in v1.0.6
func NewDescribeQueryPerformanceRequestWithoutParam() *DescribeQueryPerformanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeQueryPerformanceRequest) GetRegionId ¶ added in v1.0.6
func (r DescribeQueryPerformanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeQueryPerformanceRequest) SetInstanceId ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeQueryPerformanceRequest) SetPageNumber ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeQueryPerformanceRequest) SetPageSize ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口(Optional)
func (*DescribeQueryPerformanceRequest) SetQueryType ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetQueryType(queryType string)
param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br>(Required)
func (*DescribeQueryPerformanceRequest) SetRegionId ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeQueryPerformanceRequest) SetThreshold ¶ added in v1.0.6
func (r *DescribeQueryPerformanceRequest) SetThreshold(threshold int)
param threshold: 只返回查询条件大于等于threshold的记录,默认为0(Optional)
type DescribeQueryPerformanceResponse ¶ added in v1.0.6
type DescribeQueryPerformanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeQueryPerformanceResult `json:"result"` }
type DescribeQueryPerformanceResult ¶ added in v1.0.6
type DescribeQueryPerformanceResult struct { QueryPerformanceResult []rds.QueryPerformanceResult `json:"queryPerformanceResult"` TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` PageSize int `json:"pageSize"` }
type DescribeReadWriteProxyAttributeRequest ¶ added in v1.37.0
type DescribeReadWriteProxyAttributeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 读写分离代理服务ID */ ReadWriteProxyId string `json:"readWriteProxyId"` }
func NewDescribeReadWriteProxyAttributeRequest ¶ added in v1.37.0
func NewDescribeReadWriteProxyAttributeRequest( regionId string, readWriteProxyId string, ) *DescribeReadWriteProxyAttributeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeReadWriteProxyAttributeRequestWithAllParams ¶ added in v1.37.0
func NewDescribeReadWriteProxyAttributeRequestWithAllParams( regionId string, readWriteProxyId string, ) *DescribeReadWriteProxyAttributeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)
func NewDescribeReadWriteProxyAttributeRequestWithoutParam ¶ added in v1.37.0
func NewDescribeReadWriteProxyAttributeRequestWithoutParam() *DescribeReadWriteProxyAttributeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeReadWriteProxyAttributeRequest) GetRegionId ¶ added in v1.37.0
func (r DescribeReadWriteProxyAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeReadWriteProxyAttributeRequest) SetReadWriteProxyId ¶ added in v1.37.0
func (r *DescribeReadWriteProxyAttributeRequest) SetReadWriteProxyId(readWriteProxyId string)
param readWriteProxyId: 读写分离代理服务ID(Required)
func (*DescribeReadWriteProxyAttributeRequest) SetRegionId ¶ added in v1.37.0
func (r *DescribeReadWriteProxyAttributeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeReadWriteProxyAttributeResponse ¶ added in v1.37.0
type DescribeReadWriteProxyAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeReadWriteProxyAttributeResult `json:"result"` }
type DescribeReadWriteProxyAttributeResult ¶ added in v1.37.0
type DescribeReadWriteProxyAttributeResult struct {
ReadWriteProxy rds.ReadWriteProxy `json:"readWriteProxy"`
}
type DescribeSSLRequest ¶ added in v1.16.0
type DescribeSSLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeSSLRequest ¶ added in v1.16.0
func NewDescribeSSLRequest( regionId string, instanceId string, ) *DescribeSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSSLRequestWithAllParams ¶ added in v1.16.0
func NewDescribeSSLRequestWithAllParams( regionId string, instanceId string, ) *DescribeSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeSSLRequestWithoutParam ¶ added in v1.16.0
func NewDescribeSSLRequestWithoutParam() *DescribeSSLRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSSLRequest) GetRegionId ¶ added in v1.16.0
func (r DescribeSSLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSSLRequest) SetInstanceId ¶ added in v1.16.0
func (r *DescribeSSLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeSSLRequest) SetRegionId ¶ added in v1.16.0
func (r *DescribeSSLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeSSLResponse ¶ added in v1.16.0
type DescribeSSLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSSLResult `json:"result"` }
type DescribeSSLResult ¶ added in v1.16.0
type DescribeSSLResult struct {
Available bool `json:"available"`
}
type DescribeSlowLogAttributesRequest ¶ added in v1.1.1
type DescribeSlowLogAttributesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 */ StartTime string `json:"startTime"` /* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 */ EndTime string `json:"endTime"` /* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */ DbName *string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeSlowLogAttributesRequest ¶ added in v1.1.1
func NewDescribeSlowLogAttributesRequest( regionId string, instanceId string, startTime string, endTime string, ) *DescribeSlowLogAttributesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSlowLogAttributesRequestWithAllParams ¶ added in v1.1.1
func NewDescribeSlowLogAttributesRequestWithAllParams( regionId string, instanceId string, startTime string, endTime string, dbName *string, pageNumber *int, pageSize *int, ) *DescribeSlowLogAttributesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)
func NewDescribeSlowLogAttributesRequestWithoutParam ¶ added in v1.1.1
func NewDescribeSlowLogAttributesRequestWithoutParam() *DescribeSlowLogAttributesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSlowLogAttributesRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeSlowLogAttributesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSlowLogAttributesRequest) SetDbName ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetDbName(dbName string)
param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)
func (*DescribeSlowLogAttributesRequest) SetEndTime ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetEndTime(endTime string)
param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
func (*DescribeSlowLogAttributesRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeSlowLogAttributesRequest) SetPageNumber ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeSlowLogAttributesRequest) SetPageSize ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)
func (*DescribeSlowLogAttributesRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeSlowLogAttributesRequest) SetStartTime ¶ added in v1.1.1
func (r *DescribeSlowLogAttributesRequest) SetStartTime(startTime string)
param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
type DescribeSlowLogAttributesResponse ¶ added in v1.1.1
type DescribeSlowLogAttributesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSlowLogAttributesResult `json:"result"` }
type DescribeSlowLogAttributesResult ¶ added in v1.1.1
type DescribeSlowLogAttributesResult struct { SlowLogsAttributes []rds.SlowLogAttributes `json:"slowLogsAttributes"` TotalCount int `json:"totalCount"` }
type DescribeSlowLogsRequest ¶ added in v1.1.1
type DescribeSlowLogsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 */ StartTime string `json:"startTime"` /* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 */ EndTime string `json:"endTime"` /* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */ DbName *string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeSlowLogsRequest ¶ added in v1.1.1
func NewDescribeSlowLogsRequest( regionId string, instanceId string, startTime string, endTime string, ) *DescribeSlowLogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSlowLogsRequestWithAllParams ¶ added in v1.1.1
func NewDescribeSlowLogsRequestWithAllParams( regionId string, instanceId string, startTime string, endTime string, dbName *string, pageNumber *int, pageSize *int, ) *DescribeSlowLogsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)
func NewDescribeSlowLogsRequestWithoutParam ¶ added in v1.1.1
func NewDescribeSlowLogsRequestWithoutParam() *DescribeSlowLogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSlowLogsRequest) GetRegionId ¶ added in v1.1.1
func (r DescribeSlowLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSlowLogsRequest) SetDbName ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetDbName(dbName string)
param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)
func (*DescribeSlowLogsRequest) SetEndTime ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetEndTime(endTime string)
param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
func (*DescribeSlowLogsRequest) SetInstanceId ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeSlowLogsRequest) SetPageNumber ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)
func (*DescribeSlowLogsRequest) SetPageSize ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)
func (*DescribeSlowLogsRequest) SetRegionId ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeSlowLogsRequest) SetStartTime ¶ added in v1.1.1
func (r *DescribeSlowLogsRequest) SetStartTime(startTime string)
param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)
type DescribeSlowLogsResponse ¶ added in v1.1.1
type DescribeSlowLogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSlowLogsResult `json:"result"` }
type DescribeSlowLogsResult ¶ added in v1.1.1
type DescribeSlowLogsResult struct { SlowLogs []rds.SlowLogDigest `json:"slowLogs"` TotalCount int `json:"totalCount"` }
type DescribeTablesRequest ¶ added in v1.16.0
type DescribeTablesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeTablesRequest ¶ added in v1.16.0
func NewDescribeTablesRequest( regionId string, instanceId string, dbName string, ) *DescribeTablesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeTablesRequestWithAllParams ¶ added in v1.16.0
func NewDescribeTablesRequestWithAllParams( regionId string, instanceId string, dbName string, pageNumber *int, pageSize *int, ) *DescribeTablesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
func NewDescribeTablesRequestWithoutParam ¶ added in v1.16.0
func NewDescribeTablesRequestWithoutParam() *DescribeTablesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeTablesRequest) GetRegionId ¶ added in v1.16.0
func (r DescribeTablesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeTablesRequest) SetDbName ¶ added in v1.16.0
func (r *DescribeTablesRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*DescribeTablesRequest) SetInstanceId ¶ added in v1.16.0
func (r *DescribeTablesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeTablesRequest) SetPageNumber ¶ added in v1.16.0
func (r *DescribeTablesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeTablesRequest) SetPageSize ¶ added in v1.16.0
func (r *DescribeTablesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeTablesRequest) SetRegionId ¶ added in v1.16.0
func (r *DescribeTablesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeTablesResponse ¶ added in v1.16.0
type DescribeTablesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeTablesResult `json:"result"` }
type DescribeTablesResult ¶ added in v1.16.0
type DescribeTdeRequest ¶ added in v1.12.0
type DescribeTdeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeTdeRequest ¶ added in v1.12.0
func NewDescribeTdeRequest( regionId string, instanceId string, ) *DescribeTdeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeTdeRequestWithAllParams ¶ added in v1.12.0
func NewDescribeTdeRequestWithAllParams( regionId string, instanceId string, ) *DescribeTdeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeTdeRequestWithoutParam ¶ added in v1.12.0
func NewDescribeTdeRequestWithoutParam() *DescribeTdeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeTdeRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeTdeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeTdeRequest) SetInstanceId ¶ added in v1.12.0
func (r *DescribeTdeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeTdeRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeTdeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeTdeResponse ¶ added in v1.12.0
type DescribeTdeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeTdeResult `json:"result"` }
type DescribeTdeResult ¶ added in v1.12.0
type DescribeTdeResult struct {
Status string `json:"status"`
}
type DescribeWhiteListRequest ¶ added in v1.0.9
type DescribeWhiteListRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeWhiteListRequest ¶ added in v1.0.9
func NewDescribeWhiteListRequest( regionId string, instanceId string, ) *DescribeWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeWhiteListRequestWithAllParams ¶ added in v1.0.9
func NewDescribeWhiteListRequestWithAllParams( regionId string, instanceId string, ) *DescribeWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeWhiteListRequestWithoutParam ¶ added in v1.0.9
func NewDescribeWhiteListRequestWithoutParam() *DescribeWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeWhiteListRequest) GetRegionId ¶ added in v1.0.9
func (r DescribeWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeWhiteListRequest) SetInstanceId ¶ added in v1.0.9
func (r *DescribeWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeWhiteListRequest) SetRegionId ¶ added in v1.0.9
func (r *DescribeWhiteListRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeWhiteListResponse ¶ added in v1.0.9
type DescribeWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeWhiteListResult `json:"result"` }
type DescribeWhiteListResult ¶ added in v1.0.9
type DisableAuditRequest ¶ added in v1.1.3
type DisableAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDisableAuditRequest ¶ added in v1.1.3
func NewDisableAuditRequest( regionId string, instanceId string, ) *DisableAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableAuditRequestWithAllParams ¶ added in v1.1.3
func NewDisableAuditRequestWithAllParams( regionId string, instanceId string, ) *DisableAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDisableAuditRequestWithoutParam ¶ added in v1.1.3
func NewDisableAuditRequestWithoutParam() *DisableAuditRequest
This constructor has better compatible ability when API parameters changed
func (DisableAuditRequest) GetRegionId ¶ added in v1.1.3
func (r DisableAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableAuditRequest) SetInstanceId ¶ added in v1.1.3
func (r *DisableAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DisableAuditRequest) SetRegionId ¶ added in v1.1.3
func (r *DisableAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DisableAuditResponse ¶ added in v1.1.3
type DisableAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableAuditResult `json:"result"` }
type DisableAuditResult ¶ added in v1.1.3
type DisableAuditResult struct { }
type DisableInterceptRequest ¶ added in v1.3.0
type DisableInterceptRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDisableInterceptRequest ¶ added in v1.3.0
func NewDisableInterceptRequest( regionId string, instanceId string, ) *DisableInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInterceptRequestWithAllParams ¶ added in v1.3.0
func NewDisableInterceptRequestWithAllParams( regionId string, instanceId string, ) *DisableInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDisableInterceptRequestWithoutParam ¶ added in v1.3.0
func NewDisableInterceptRequestWithoutParam() *DisableInterceptRequest
This constructor has better compatible ability when API parameters changed
func (DisableInterceptRequest) GetRegionId ¶ added in v1.3.0
func (r DisableInterceptRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInterceptRequest) SetInstanceId ¶ added in v1.3.0
func (r *DisableInterceptRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DisableInterceptRequest) SetRegionId ¶ added in v1.3.0
func (r *DisableInterceptRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableInterceptResponse ¶ added in v1.3.0
type DisableInterceptResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInterceptResult `json:"result"` }
type DisableInterceptResult ¶ added in v1.3.0
type DisableInterceptResult struct { }
type DisableInternetAccessRequest ¶ added in v1.0.9
type DisableInternetAccessRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDisableInternetAccessRequest ¶ added in v1.0.9
func NewDisableInternetAccessRequest( regionId string, instanceId string, ) *DisableInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInternetAccessRequestWithAllParams ¶ added in v1.0.9
func NewDisableInternetAccessRequestWithAllParams( regionId string, instanceId string, ) *DisableInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDisableInternetAccessRequestWithoutParam ¶ added in v1.0.9
func NewDisableInternetAccessRequestWithoutParam() *DisableInternetAccessRequest
This constructor has better compatible ability when API parameters changed
func (DisableInternetAccessRequest) GetRegionId ¶ added in v1.0.9
func (r DisableInternetAccessRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInternetAccessRequest) SetInstanceId ¶ added in v1.0.9
func (r *DisableInternetAccessRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DisableInternetAccessRequest) SetRegionId ¶ added in v1.0.9
func (r *DisableInternetAccessRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DisableInternetAccessResponse ¶ added in v1.0.9
type DisableInternetAccessResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInternetAccessResult `json:"result"` }
type DisableInternetAccessResult ¶ added in v1.0.9
type DisableInternetAccessResult struct { }
type DisableReadWriteProxyInternetAccessRequest ¶ added in v1.37.0
type DisableReadWriteProxyInternetAccessRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 读写分离代理服务ID */ ReadWriteProxyId string `json:"readWriteProxyId"` }
func NewDisableReadWriteProxyInternetAccessRequest ¶ added in v1.37.0
func NewDisableReadWriteProxyInternetAccessRequest( regionId string, readWriteProxyId string, ) *DisableReadWriteProxyInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableReadWriteProxyInternetAccessRequestWithAllParams ¶ added in v1.37.0
func NewDisableReadWriteProxyInternetAccessRequestWithAllParams( regionId string, readWriteProxyId string, ) *DisableReadWriteProxyInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)
func NewDisableReadWriteProxyInternetAccessRequestWithoutParam ¶ added in v1.37.0
func NewDisableReadWriteProxyInternetAccessRequestWithoutParam() *DisableReadWriteProxyInternetAccessRequest
This constructor has better compatible ability when API parameters changed
func (DisableReadWriteProxyInternetAccessRequest) GetRegionId ¶ added in v1.37.0
func (r DisableReadWriteProxyInternetAccessRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId ¶ added in v1.37.0
func (r *DisableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId(readWriteProxyId string)
param readWriteProxyId: 读写分离代理服务ID(Required)
func (*DisableReadWriteProxyInternetAccessRequest) SetRegionId ¶ added in v1.37.0
func (r *DisableReadWriteProxyInternetAccessRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DisableReadWriteProxyInternetAccessResponse ¶ added in v1.37.0
type DisableReadWriteProxyInternetAccessResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableReadWriteProxyInternetAccessResult `json:"result"` }
type DisableReadWriteProxyInternetAccessResult ¶ added in v1.37.0
type DisableReadWriteProxyInternetAccessResult struct { }
type DisableSSLRequest ¶ added in v1.37.0
type DisableSSLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDisableSSLRequest ¶ added in v1.37.0
func NewDisableSSLRequest( regionId string, instanceId string, ) *DisableSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableSSLRequestWithAllParams ¶ added in v1.37.0
func NewDisableSSLRequestWithAllParams( regionId string, instanceId string, ) *DisableSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDisableSSLRequestWithoutParam ¶ added in v1.37.0
func NewDisableSSLRequestWithoutParam() *DisableSSLRequest
This constructor has better compatible ability when API parameters changed
func (DisableSSLRequest) GetRegionId ¶ added in v1.37.0
func (r DisableSSLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableSSLRequest) SetInstanceId ¶ added in v1.37.0
func (r *DisableSSLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DisableSSLRequest) SetRegionId ¶ added in v1.37.0
func (r *DisableSSLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DisableSSLResponse ¶ added in v1.37.0
type DisableSSLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableSSLResult `json:"result"` }
type DisableSSLResult ¶ added in v1.37.0
type DisableSSLResult struct { }
type EnableAuditRequest ¶ added in v1.1.3
type EnableAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewEnableAuditRequest ¶ added in v1.1.3
func NewEnableAuditRequest( regionId string, instanceId string, ) *EnableAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableAuditRequestWithAllParams ¶ added in v1.1.3
func NewEnableAuditRequestWithAllParams( regionId string, instanceId string, ) *EnableAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewEnableAuditRequestWithoutParam ¶ added in v1.1.3
func NewEnableAuditRequestWithoutParam() *EnableAuditRequest
This constructor has better compatible ability when API parameters changed
func (EnableAuditRequest) GetRegionId ¶ added in v1.1.3
func (r EnableAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableAuditRequest) SetInstanceId ¶ added in v1.1.3
func (r *EnableAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*EnableAuditRequest) SetRegionId ¶ added in v1.1.3
func (r *EnableAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type EnableAuditResponse ¶ added in v1.1.3
type EnableAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableAuditResult `json:"result"` }
type EnableAuditResult ¶ added in v1.1.3
type EnableAuditResult struct { }
type EnableInterceptRequest ¶ added in v1.3.0
type EnableInterceptRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewEnableInterceptRequest ¶ added in v1.3.0
func NewEnableInterceptRequest( regionId string, instanceId string, ) *EnableInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInterceptRequestWithAllParams ¶ added in v1.3.0
func NewEnableInterceptRequestWithAllParams( regionId string, instanceId string, ) *EnableInterceptRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewEnableInterceptRequestWithoutParam ¶ added in v1.3.0
func NewEnableInterceptRequestWithoutParam() *EnableInterceptRequest
This constructor has better compatible ability when API parameters changed
func (EnableInterceptRequest) GetRegionId ¶ added in v1.3.0
func (r EnableInterceptRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInterceptRequest) SetInstanceId ¶ added in v1.3.0
func (r *EnableInterceptRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*EnableInterceptRequest) SetRegionId ¶ added in v1.3.0
func (r *EnableInterceptRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableInterceptResponse ¶ added in v1.3.0
type EnableInterceptResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInterceptResult `json:"result"` }
type EnableInterceptResult ¶ added in v1.3.0
type EnableInterceptResult struct { }
type EnableInternetAccessRequest ¶ added in v1.0.9
type EnableInternetAccessRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewEnableInternetAccessRequest ¶ added in v1.0.9
func NewEnableInternetAccessRequest( regionId string, instanceId string, ) *EnableInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInternetAccessRequestWithAllParams ¶ added in v1.0.9
func NewEnableInternetAccessRequestWithAllParams( regionId string, instanceId string, ) *EnableInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewEnableInternetAccessRequestWithoutParam ¶ added in v1.0.9
func NewEnableInternetAccessRequestWithoutParam() *EnableInternetAccessRequest
This constructor has better compatible ability when API parameters changed
func (EnableInternetAccessRequest) GetRegionId ¶ added in v1.0.9
func (r EnableInternetAccessRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInternetAccessRequest) SetInstanceId ¶ added in v1.0.9
func (r *EnableInternetAccessRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*EnableInternetAccessRequest) SetRegionId ¶ added in v1.0.9
func (r *EnableInternetAccessRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type EnableInternetAccessResponse ¶ added in v1.0.9
type EnableInternetAccessResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInternetAccessResult `json:"result"` }
type EnableInternetAccessResult ¶ added in v1.0.9
type EnableInternetAccessResult struct { }
type EnableReadWriteProxyInternetAccessRequest ¶ added in v1.37.0
type EnableReadWriteProxyInternetAccessRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 读写分离代理服务ID */ ReadWriteProxyId string `json:"readWriteProxyId"` }
func NewEnableReadWriteProxyInternetAccessRequest ¶ added in v1.37.0
func NewEnableReadWriteProxyInternetAccessRequest( regionId string, readWriteProxyId string, ) *EnableReadWriteProxyInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableReadWriteProxyInternetAccessRequestWithAllParams ¶ added in v1.37.0
func NewEnableReadWriteProxyInternetAccessRequestWithAllParams( regionId string, readWriteProxyId string, ) *EnableReadWriteProxyInternetAccessRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)
func NewEnableReadWriteProxyInternetAccessRequestWithoutParam ¶ added in v1.37.0
func NewEnableReadWriteProxyInternetAccessRequestWithoutParam() *EnableReadWriteProxyInternetAccessRequest
This constructor has better compatible ability when API parameters changed
func (EnableReadWriteProxyInternetAccessRequest) GetRegionId ¶ added in v1.37.0
func (r EnableReadWriteProxyInternetAccessRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId ¶ added in v1.37.0
func (r *EnableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId(readWriteProxyId string)
param readWriteProxyId: 读写分离代理服务ID(Required)
func (*EnableReadWriteProxyInternetAccessRequest) SetRegionId ¶ added in v1.37.0
func (r *EnableReadWriteProxyInternetAccessRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type EnableReadWriteProxyInternetAccessResponse ¶ added in v1.37.0
type EnableReadWriteProxyInternetAccessResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableReadWriteProxyInternetAccessResult `json:"result"` }
type EnableReadWriteProxyInternetAccessResult ¶ added in v1.37.0
type EnableReadWriteProxyInternetAccessResult struct { }
type EnableSSLRequest ¶ added in v1.16.0
type EnableSSLRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewEnableSSLRequest ¶ added in v1.16.0
func NewEnableSSLRequest( regionId string, instanceId string, ) *EnableSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableSSLRequestWithAllParams ¶ added in v1.16.0
func NewEnableSSLRequestWithAllParams( regionId string, instanceId string, ) *EnableSSLRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewEnableSSLRequestWithoutParam ¶ added in v1.16.0
func NewEnableSSLRequestWithoutParam() *EnableSSLRequest
This constructor has better compatible ability when API parameters changed
func (EnableSSLRequest) GetRegionId ¶ added in v1.16.0
func (r EnableSSLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableSSLRequest) SetInstanceId ¶ added in v1.16.0
func (r *EnableSSLRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*EnableSSLRequest) SetRegionId ¶ added in v1.16.0
func (r *EnableSSLRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type EnableSSLResponse ¶ added in v1.16.0
type EnableSSLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableSSLResult `json:"result"` }
type EnableSSLResult ¶ added in v1.16.0
type EnableSSLResult struct { }
type EnableTdeRequest ¶ added in v1.12.0
type EnableTdeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewEnableTdeRequest ¶ added in v1.12.0
func NewEnableTdeRequest( regionId string, instanceId string, ) *EnableTdeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableTdeRequestWithAllParams ¶ added in v1.12.0
func NewEnableTdeRequestWithAllParams( regionId string, instanceId string, ) *EnableTdeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewEnableTdeRequestWithoutParam ¶ added in v1.12.0
func NewEnableTdeRequestWithoutParam() *EnableTdeRequest
This constructor has better compatible ability when API parameters changed
func (EnableTdeRequest) GetRegionId ¶ added in v1.12.0
func (r EnableTdeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableTdeRequest) SetInstanceId ¶ added in v1.12.0
func (r *EnableTdeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*EnableTdeRequest) SetRegionId ¶ added in v1.12.0
func (r *EnableTdeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type EnableTdeResponse ¶ added in v1.12.0
type EnableTdeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableTdeResult `json:"result"` }
type EnableTdeResult ¶ added in v1.12.0
type EnableTdeResult struct { }
type ExchangeInstanceDnsRequest ¶ added in v1.6.0
type ExchangeInstanceDnsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 要交换的实例ID */ TargetInstanceId string `json:"targetInstanceId"` }
func NewExchangeInstanceDnsRequest ¶ added in v1.6.0
func NewExchangeInstanceDnsRequest( regionId string, instanceId string, targetInstanceId string, ) *ExchangeInstanceDnsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param targetInstanceId: 要交换的实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewExchangeInstanceDnsRequestWithAllParams ¶ added in v1.6.0
func NewExchangeInstanceDnsRequestWithAllParams( regionId string, instanceId string, targetInstanceId string, ) *ExchangeInstanceDnsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param targetInstanceId: 要交换的实例ID (Required)
func NewExchangeInstanceDnsRequestWithoutParam ¶ added in v1.6.0
func NewExchangeInstanceDnsRequestWithoutParam() *ExchangeInstanceDnsRequest
This constructor has better compatible ability when API parameters changed
func (ExchangeInstanceDnsRequest) GetRegionId ¶ added in v1.6.0
func (r ExchangeInstanceDnsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExchangeInstanceDnsRequest) SetInstanceId ¶ added in v1.6.0
func (r *ExchangeInstanceDnsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ExchangeInstanceDnsRequest) SetRegionId ¶ added in v1.6.0
func (r *ExchangeInstanceDnsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*ExchangeInstanceDnsRequest) SetTargetInstanceId ¶ added in v1.6.0
func (r *ExchangeInstanceDnsRequest) SetTargetInstanceId(targetInstanceId string)
param targetInstanceId: 要交换的实例ID(Required)
type ExchangeInstanceDnsResponse ¶ added in v1.6.0
type ExchangeInstanceDnsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ExchangeInstanceDnsResult `json:"result"` }
type ExchangeInstanceDnsResult ¶ added in v1.6.0
type ExchangeInstanceDnsResult struct { }
type FailoverInstanceRequest ¶ added in v1.0.6
type FailoverInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewFailoverInstanceRequest ¶ added in v1.0.6
func NewFailoverInstanceRequest( regionId string, instanceId string, ) *FailoverInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewFailoverInstanceRequestWithAllParams ¶ added in v1.0.6
func NewFailoverInstanceRequestWithAllParams( regionId string, instanceId string, ) *FailoverInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewFailoverInstanceRequestWithoutParam ¶ added in v1.0.6
func NewFailoverInstanceRequestWithoutParam() *FailoverInstanceRequest
This constructor has better compatible ability when API parameters changed
func (FailoverInstanceRequest) GetRegionId ¶ added in v1.0.6
func (r FailoverInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*FailoverInstanceRequest) SetInstanceId ¶ added in v1.0.6
func (r *FailoverInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*FailoverInstanceRequest) SetRegionId ¶ added in v1.0.6
func (r *FailoverInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type FailoverInstanceResponse ¶ added in v1.0.6
type FailoverInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result FailoverInstanceResult `json:"result"` }
type FailoverInstanceResult ¶ added in v1.0.6
type FailoverInstanceResult struct { }
type GetUploadKeyRequest ¶ added in v1.0.6
type GetUploadKeyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewGetUploadKeyRequest ¶ added in v1.0.6
func NewGetUploadKeyRequest( regionId string, instanceId string, ) *GetUploadKeyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetUploadKeyRequestWithAllParams ¶ added in v1.0.6
func NewGetUploadKeyRequestWithAllParams( regionId string, instanceId string, ) *GetUploadKeyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewGetUploadKeyRequestWithoutParam ¶ added in v1.0.6
func NewGetUploadKeyRequestWithoutParam() *GetUploadKeyRequest
This constructor has better compatible ability when API parameters changed
func (GetUploadKeyRequest) GetRegionId ¶ added in v1.0.6
func (r GetUploadKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetUploadKeyRequest) SetInstanceId ¶ added in v1.0.6
func (r *GetUploadKeyRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*GetUploadKeyRequest) SetRegionId ¶ added in v1.0.6
func (r *GetUploadKeyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type GetUploadKeyResponse ¶ added in v1.0.6
type GetUploadKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetUploadKeyResult `json:"result"` }
type GetUploadKeyResult ¶ added in v1.0.6
type GetUploadKeyResult struct {
Key string `json:"key"`
}
type GrantAccountPrivilegeRequest ¶ added in v1.16.0
type GrantAccountPrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 设置数据库细粒度权限内容 (Optional) */ DatabasePrivileges []rds.DatabasePrivilege `json:"databasePrivileges"` /* 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */ GlobalPrivileges []string `json:"globalPrivileges"` }
func NewGrantAccountPrivilegeRequest ¶ added in v1.16.0
func NewGrantAccountPrivilegeRequest( regionId string, instanceId string, accountName string, ) *GrantAccountPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGrantAccountPrivilegeRequestWithAllParams ¶ added in v1.16.0
func NewGrantAccountPrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, databasePrivileges []rds.DatabasePrivilege, globalPrivileges []string, ) *GrantAccountPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param databasePrivileges: 设置数据库细粒度权限内容 (Optional) * param globalPrivileges: 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional)
func NewGrantAccountPrivilegeRequestWithoutParam ¶ added in v1.16.0
func NewGrantAccountPrivilegeRequestWithoutParam() *GrantAccountPrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (GrantAccountPrivilegeRequest) GetRegionId ¶ added in v1.16.0
func (r GrantAccountPrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GrantAccountPrivilegeRequest) SetAccountName ¶ added in v1.16.0
func (r *GrantAccountPrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*GrantAccountPrivilegeRequest) SetDatabasePrivileges ¶ added in v1.16.0
func (r *GrantAccountPrivilegeRequest) SetDatabasePrivileges(databasePrivileges []rds.DatabasePrivilege)
param databasePrivileges: 设置数据库细粒度权限内容(Optional)
func (*GrantAccountPrivilegeRequest) SetGlobalPrivileges ¶ added in v1.16.0
func (r *GrantAccountPrivilegeRequest) SetGlobalPrivileges(globalPrivileges []string)
param globalPrivileges: 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)
func (*GrantAccountPrivilegeRequest) SetInstanceId ¶ added in v1.16.0
func (r *GrantAccountPrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*GrantAccountPrivilegeRequest) SetRegionId ¶ added in v1.16.0
func (r *GrantAccountPrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type GrantAccountPrivilegeResponse ¶ added in v1.16.0
type GrantAccountPrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GrantAccountPrivilegeResult `json:"result"` }
type GrantAccountPrivilegeResult ¶ added in v1.16.0
type GrantAccountPrivilegeResult struct { }
type GrantPrivilegeRequest ¶
type GrantPrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 账号的访问权限 */ AccountPrivileges []rds.AccountPrivilege `json:"accountPrivileges"` }
func NewGrantPrivilegeRequest ¶
func NewGrantPrivilegeRequest( regionId string, instanceId string, accountName string, accountPrivileges []rds.AccountPrivilege, ) *GrantPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGrantPrivilegeRequestWithAllParams ¶ added in v1.0.6
func NewGrantPrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, accountPrivileges []rds.AccountPrivilege, ) *GrantPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required)
func NewGrantPrivilegeRequestWithoutParam ¶ added in v1.0.6
func NewGrantPrivilegeRequestWithoutParam() *GrantPrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (GrantPrivilegeRequest) GetRegionId ¶
func (r GrantPrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GrantPrivilegeRequest) SetAccountName ¶
func (r *GrantPrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*GrantPrivilegeRequest) SetAccountPrivileges ¶
func (r *GrantPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)
param accountPrivileges: 账号的访问权限(Required)
func (*GrantPrivilegeRequest) SetInstanceId ¶
func (r *GrantPrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*GrantPrivilegeRequest) SetRegionId ¶
func (r *GrantPrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type GrantPrivilegeResponse ¶
type GrantPrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GrantPrivilegeResult `json:"result"` }
type GrantPrivilegeResult ¶
type GrantPrivilegeResult struct { }
type ModifyAccountForOpsRequest ¶ added in v1.37.0
type ModifyAccountForOpsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 运维账号到期时间,UTC时间格式 (Optional) */ ExpiredTime *string `json:"expiredTime"` }
func NewModifyAccountForOpsRequest ¶ added in v1.37.0
func NewModifyAccountForOpsRequest( regionId string, instanceId string, ) *ModifyAccountForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyAccountForOpsRequestWithAllParams ¶ added in v1.37.0
func NewModifyAccountForOpsRequestWithAllParams( regionId string, instanceId string, expiredTime *string, ) *ModifyAccountForOpsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param expiredTime: 运维账号到期时间,UTC时间格式 (Optional)
func NewModifyAccountForOpsRequestWithoutParam ¶ added in v1.37.0
func NewModifyAccountForOpsRequestWithoutParam() *ModifyAccountForOpsRequest
This constructor has better compatible ability when API parameters changed
func (ModifyAccountForOpsRequest) GetRegionId ¶ added in v1.37.0
func (r ModifyAccountForOpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyAccountForOpsRequest) SetExpiredTime ¶ added in v1.37.0
func (r *ModifyAccountForOpsRequest) SetExpiredTime(expiredTime string)
param expiredTime: 运维账号到期时间,UTC时间格式(Optional)
func (*ModifyAccountForOpsRequest) SetInstanceId ¶ added in v1.37.0
func (r *ModifyAccountForOpsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyAccountForOpsRequest) SetRegionId ¶ added in v1.37.0
func (r *ModifyAccountForOpsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyAccountForOpsResponse ¶ added in v1.37.0
type ModifyAccountForOpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyAccountForOpsResult `json:"result"` }
type ModifyAccountForOpsResult ¶ added in v1.37.0
type ModifyAccountForOpsResult struct { }
type ModifyActiveDirectoryRequest ¶ added in v1.37.0
type ModifyActiveDirectoryRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写 */ AdResourceId string `json:"adResourceId"` /* 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启 */ ForceRestart string `json:"forceRestart"` }
func NewModifyActiveDirectoryRequest ¶ added in v1.37.0
func NewModifyActiveDirectoryRequest( regionId string, instanceId string, adResourceId string, forceRestart string, ) *ModifyActiveDirectoryRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写 (Required) * param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyActiveDirectoryRequestWithAllParams ¶ added in v1.37.0
func NewModifyActiveDirectoryRequestWithAllParams( regionId string, instanceId string, adResourceId string, forceRestart string, ) *ModifyActiveDirectoryRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写 (Required) * param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启 (Required)
func NewModifyActiveDirectoryRequestWithoutParam ¶ added in v1.37.0
func NewModifyActiveDirectoryRequestWithoutParam() *ModifyActiveDirectoryRequest
This constructor has better compatible ability when API parameters changed
func (ModifyActiveDirectoryRequest) GetRegionId ¶ added in v1.37.0
func (r ModifyActiveDirectoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyActiveDirectoryRequest) SetAdResourceId ¶ added in v1.37.0
func (r *ModifyActiveDirectoryRequest) SetAdResourceId(adResourceId string)
param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写(Required)
func (*ModifyActiveDirectoryRequest) SetForceRestart ¶ added in v1.37.0
func (r *ModifyActiveDirectoryRequest) SetForceRestart(forceRestart string)
param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启(Required)
func (*ModifyActiveDirectoryRequest) SetInstanceId ¶ added in v1.37.0
func (r *ModifyActiveDirectoryRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyActiveDirectoryRequest) SetRegionId ¶ added in v1.37.0
func (r *ModifyActiveDirectoryRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyActiveDirectoryResponse ¶ added in v1.37.0
type ModifyActiveDirectoryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyActiveDirectoryResult `json:"result"` }
type ModifyActiveDirectoryResult ¶ added in v1.37.0
type ModifyActiveDirectoryResult struct { }
type ModifyAuditRequest ¶ added in v1.0.6
type ModifyAuditRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP (Optional) */ Add *string `json:"add"` /* 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭 (Optional) */ Drop *string `json:"drop"` }
func NewModifyAuditRequest ¶ added in v1.0.6
func NewModifyAuditRequest( regionId string, instanceId string, ) *ModifyAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyAuditRequestWithAllParams ¶ added in v1.0.6
func NewModifyAuditRequestWithAllParams( regionId string, instanceId string, add *string, drop *string, ) *ModifyAuditRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param add: 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP (Optional) * param drop: 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭 (Optional)
func NewModifyAuditRequestWithoutParam ¶ added in v1.0.6
func NewModifyAuditRequestWithoutParam() *ModifyAuditRequest
This constructor has better compatible ability when API parameters changed
func (ModifyAuditRequest) GetRegionId ¶ added in v1.0.6
func (r ModifyAuditRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyAuditRequest) SetAdd ¶ added in v1.0.6
func (r *ModifyAuditRequest) SetAdd(add string)
param add: 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP(Optional)
func (*ModifyAuditRequest) SetDrop ¶ added in v1.0.6
func (r *ModifyAuditRequest) SetDrop(drop string)
param drop: 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭(Optional)
func (*ModifyAuditRequest) SetInstanceId ¶ added in v1.0.6
func (r *ModifyAuditRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyAuditRequest) SetRegionId ¶ added in v1.0.6
func (r *ModifyAuditRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyAuditResponse ¶ added in v1.0.6
type ModifyAuditResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyAuditResult `json:"result"` }
type ModifyAuditResult ¶ added in v1.0.6
type ModifyAuditResult struct { }
type ModifyBackupPolicyRequest ¶ added in v1.1.1
type ModifyBackupPolicyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00 (Optional) */ StartWindow *string `json:"startWindow"` /* binlog本地保留周期,单位小时,范围24-168 (Optional) */ BinlogRetentionPeriod *int `json:"binlogRetentionPeriod"` /* binlog本地占用空间上限,单位%,范围1-50 (Optional) */ BinlogUsageLimit *int `json:"binlogUsageLimit"` }
func NewModifyBackupPolicyRequest ¶ added in v1.1.1
func NewModifyBackupPolicyRequest( regionId string, instanceId string, ) *ModifyBackupPolicyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyBackupPolicyRequestWithAllParams ¶ added in v1.1.1
func NewModifyBackupPolicyRequestWithAllParams( regionId string, instanceId string, startWindow *string, binlogRetentionPeriod *int, binlogUsageLimit *int, ) *ModifyBackupPolicyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startWindow: 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00 (Optional) * param binlogRetentionPeriod: binlog本地保留周期,单位小时,范围24-168 (Optional) * param binlogUsageLimit: binlog本地占用空间上限,单位%,范围1-50 (Optional)
func NewModifyBackupPolicyRequestWithoutParam ¶ added in v1.1.1
func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (ModifyBackupPolicyRequest) GetRegionId ¶ added in v1.1.1
func (r ModifyBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyBackupPolicyRequest) SetBinlogRetentionPeriod ¶ added in v1.37.0
func (r *ModifyBackupPolicyRequest) SetBinlogRetentionPeriod(binlogRetentionPeriod int)
param binlogRetentionPeriod: binlog本地保留周期,单位小时,范围24-168(Optional)
func (*ModifyBackupPolicyRequest) SetBinlogUsageLimit ¶ added in v1.37.0
func (r *ModifyBackupPolicyRequest) SetBinlogUsageLimit(binlogUsageLimit int)
param binlogUsageLimit: binlog本地占用空间上限,单位%,范围1-50(Optional)
func (*ModifyBackupPolicyRequest) SetInstanceId ¶ added in v1.1.1
func (r *ModifyBackupPolicyRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyBackupPolicyRequest) SetRegionId ¶ added in v1.1.1
func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*ModifyBackupPolicyRequest) SetStartWindow ¶ added in v1.1.1
func (r *ModifyBackupPolicyRequest) SetStartWindow(startWindow string)
param startWindow: 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00(Optional)
type ModifyBackupPolicyResponse ¶ added in v1.1.1
type ModifyBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyBackupPolicyResult `json:"result"` }
type ModifyBackupPolicyResult ¶ added in v1.1.1
type ModifyBackupPolicyResult struct { }
type ModifyConnectionModeRequest ¶ added in v1.1.1
type ModifyConnectionModeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间 */ ConnectionMode string `json:"connectionMode"` }
func NewModifyConnectionModeRequest ¶ added in v1.1.1
func NewModifyConnectionModeRequest( regionId string, instanceId string, connectionMode string, ) *ModifyConnectionModeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyConnectionModeRequestWithAllParams ¶ added in v1.1.1
func NewModifyConnectionModeRequestWithAllParams( regionId string, instanceId string, connectionMode string, ) *ModifyConnectionModeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间 (Required)
func NewModifyConnectionModeRequestWithoutParam ¶ added in v1.1.1
func NewModifyConnectionModeRequestWithoutParam() *ModifyConnectionModeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyConnectionModeRequest) GetRegionId ¶ added in v1.1.1
func (r ModifyConnectionModeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyConnectionModeRequest) SetConnectionMode ¶ added in v1.1.1
func (r *ModifyConnectionModeRequest) SetConnectionMode(connectionMode string)
param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间(Required)
func (*ModifyConnectionModeRequest) SetInstanceId ¶ added in v1.1.1
func (r *ModifyConnectionModeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyConnectionModeRequest) SetRegionId ¶ added in v1.1.1
func (r *ModifyConnectionModeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyConnectionModeResponse ¶ added in v1.1.1
type ModifyConnectionModeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyConnectionModeResult `json:"result"` }
type ModifyConnectionModeResult ¶ added in v1.1.1
type ModifyConnectionModeResult struct { }
type ModifyInstanceAzRequest ¶ added in v1.16.0
type ModifyInstanceAzRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同 */ NewAzId []string `json:"newAzId"` }
func NewModifyInstanceAzRequest ¶ added in v1.16.0
func NewModifyInstanceAzRequest( regionId string, instanceId string, newAzId []string, ) *ModifyInstanceAzRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceAzRequestWithAllParams ¶ added in v1.16.0
func NewModifyInstanceAzRequestWithAllParams( regionId string, instanceId string, newAzId []string, ) *ModifyInstanceAzRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同 (Required)
func NewModifyInstanceAzRequestWithoutParam ¶ added in v1.16.0
func NewModifyInstanceAzRequestWithoutParam() *ModifyInstanceAzRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceAzRequest) GetRegionId ¶ added in v1.16.0
func (r ModifyInstanceAzRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceAzRequest) SetInstanceId ¶ added in v1.16.0
func (r *ModifyInstanceAzRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyInstanceAzRequest) SetNewAzId ¶ added in v1.16.0
func (r *ModifyInstanceAzRequest) SetNewAzId(newAzId []string)
param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同(Required)
func (*ModifyInstanceAzRequest) SetRegionId ¶ added in v1.16.0
func (r *ModifyInstanceAzRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyInstanceAzResponse ¶ added in v1.16.0
type ModifyInstanceAzResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceAzResult `json:"result"` }
type ModifyInstanceAzResult ¶ added in v1.16.0
type ModifyInstanceAzResult struct { }
type ModifyInstanceNameRequest ¶ added in v1.1.1
type ModifyInstanceNameRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ InstanceName string `json:"instanceName"` }
func NewModifyInstanceNameRequest ¶ added in v1.1.1
func NewModifyInstanceNameRequest( regionId string, instanceId string, instanceName string, ) *ModifyInstanceNameRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceNameRequestWithAllParams ¶ added in v1.1.1
func NewModifyInstanceNameRequestWithAllParams( regionId string, instanceId string, instanceName string, ) *ModifyInstanceNameRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)
func NewModifyInstanceNameRequestWithoutParam ¶ added in v1.1.1
func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceNameRequest) GetRegionId ¶ added in v1.1.1
func (r ModifyInstanceNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceNameRequest) SetInstanceId ¶ added in v1.1.1
func (r *ModifyInstanceNameRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyInstanceNameRequest) SetInstanceName ¶ added in v1.1.1
func (r *ModifyInstanceNameRequest) SetInstanceName(instanceName string)
param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*ModifyInstanceNameRequest) SetRegionId ¶ added in v1.1.1
func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyInstanceNameResponse ¶ added in v1.1.1
type ModifyInstanceNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceNameResult `json:"result"` }
type ModifyInstanceNameResult ¶ added in v1.1.1
type ModifyInstanceNameResult struct { }
type ModifyInstanceSpecRequest ¶ added in v1.0.11
type ModifyInstanceSpecRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 扩容后实例规格 */ NewInstanceClass string `json:"newInstanceClass"` /* 扩容后实例磁盘大小 */ NewInstanceStorageGB int `json:"newInstanceStorageGB"` /* 存储类型,如果不指定,默认会采用实例原存储类型. (Optional) */ NewInstanceStorageType *string `json:"newInstanceStorageType"` /* 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致 (Optional) */ StorageEncrypted *bool `json:"storageEncrypted"` }
func NewModifyInstanceSpecRequest ¶ added in v1.0.11
func NewModifyInstanceSpecRequest( regionId string, instanceId string, newInstanceClass string, newInstanceStorageGB int, ) *ModifyInstanceSpecRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newInstanceClass: 扩容后实例规格 (Required) * param newInstanceStorageGB: 扩容后实例磁盘大小 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceSpecRequestWithAllParams ¶ added in v1.0.11
func NewModifyInstanceSpecRequestWithAllParams( regionId string, instanceId string, newInstanceClass string, newInstanceStorageGB int, newInstanceStorageType *string, storageEncrypted *bool, ) *ModifyInstanceSpecRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newInstanceClass: 扩容后实例规格 (Required) * param newInstanceStorageGB: 扩容后实例磁盘大小 (Required) * param newInstanceStorageType: 存储类型,如果不指定,默认会采用实例原存储类型. (Optional) * param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致 (Optional)
func NewModifyInstanceSpecRequestWithoutParam ¶ added in v1.0.11
func NewModifyInstanceSpecRequestWithoutParam() *ModifyInstanceSpecRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceSpecRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyInstanceSpecRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceSpecRequest) SetInstanceId ¶ added in v1.0.11
func (r *ModifyInstanceSpecRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyInstanceSpecRequest) SetNewInstanceClass ¶ added in v1.0.11
func (r *ModifyInstanceSpecRequest) SetNewInstanceClass(newInstanceClass string)
param newInstanceClass: 扩容后实例规格(Required)
func (*ModifyInstanceSpecRequest) SetNewInstanceStorageGB ¶ added in v1.0.11
func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageGB(newInstanceStorageGB int)
param newInstanceStorageGB: 扩容后实例磁盘大小(Required)
func (*ModifyInstanceSpecRequest) SetNewInstanceStorageType ¶ added in v1.13.0
func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageType(newInstanceStorageType string)
param newInstanceStorageType: 存储类型,如果不指定,默认会采用实例原存储类型.(Optional)
func (*ModifyInstanceSpecRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyInstanceSpecRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*ModifyInstanceSpecRequest) SetStorageEncrypted ¶ added in v1.13.0
func (r *ModifyInstanceSpecRequest) SetStorageEncrypted(storageEncrypted bool)
param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致(Optional)
type ModifyInstanceSpecResponse ¶ added in v1.0.11
type ModifyInstanceSpecResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceSpecResult `json:"result"` }
type ModifyInstanceSpecResult ¶ added in v1.0.11
type ModifyInstanceSpecResult struct {
OrderId string `json:"orderId"`
}
type ModifyParameterGroupAttributeRequest ¶ added in v1.3.0
type ModifyParameterGroupAttributeRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` /* 参数组名称 */ ParameterGroupName string `json:"parameterGroupName"` /* 参数组描述 (Optional) */ Description *string `json:"description"` }
func NewModifyParameterGroupAttributeRequest ¶ added in v1.3.0
func NewModifyParameterGroupAttributeRequest( regionId string, parameterGroupId string, parameterGroupName string, ) *ModifyParameterGroupAttributeRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameterGroupName: 参数组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyParameterGroupAttributeRequestWithAllParams ¶ added in v1.3.0
func NewModifyParameterGroupAttributeRequestWithAllParams( regionId string, parameterGroupId string, parameterGroupName string, description *string, ) *ModifyParameterGroupAttributeRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameterGroupName: 参数组名称 (Required) * param description: 参数组描述 (Optional)
func NewModifyParameterGroupAttributeRequestWithoutParam ¶ added in v1.3.0
func NewModifyParameterGroupAttributeRequestWithoutParam() *ModifyParameterGroupAttributeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyParameterGroupAttributeRequest) GetRegionId ¶ added in v1.3.0
func (r ModifyParameterGroupAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyParameterGroupAttributeRequest) SetDescription ¶ added in v1.3.0
func (r *ModifyParameterGroupAttributeRequest) SetDescription(description string)
param description: 参数组描述(Optional)
func (*ModifyParameterGroupAttributeRequest) SetParameterGroupId ¶ added in v1.3.0
func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*ModifyParameterGroupAttributeRequest) SetParameterGroupName ¶ added in v1.3.0
func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupName(parameterGroupName string)
param parameterGroupName: 参数组名称(Required)
func (*ModifyParameterGroupAttributeRequest) SetRegionId ¶ added in v1.3.0
func (r *ModifyParameterGroupAttributeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyParameterGroupAttributeResponse ¶ added in v1.3.0
type ModifyParameterGroupAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyParameterGroupAttributeResult `json:"result"` }
type ModifyParameterGroupAttributeResult ¶ added in v1.3.0
type ModifyParameterGroupAttributeResult struct { }
type ModifyParameterGroupParametersRequest ¶ added in v1.5.0
type ModifyParameterGroupParametersRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Parameter Group ID */ ParameterGroupId string `json:"parameterGroupId"` /* 修改的参数 */ Parameters []rds.Parameter `json:"parameters"` }
func NewModifyParameterGroupParametersRequest ¶ added in v1.5.0
func NewModifyParameterGroupParametersRequest( regionId string, parameterGroupId string, parameters []rds.Parameter, ) *ModifyParameterGroupParametersRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameters: 修改的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyParameterGroupParametersRequestWithAllParams ¶ added in v1.5.0
func NewModifyParameterGroupParametersRequestWithAllParams( regionId string, parameterGroupId string, parameters []rds.Parameter, ) *ModifyParameterGroupParametersRequest
* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameters: 修改的参数 (Required)
func NewModifyParameterGroupParametersRequestWithoutParam ¶ added in v1.5.0
func NewModifyParameterGroupParametersRequestWithoutParam() *ModifyParameterGroupParametersRequest
This constructor has better compatible ability when API parameters changed
func (ModifyParameterGroupParametersRequest) GetRegionId ¶ added in v1.5.0
func (r ModifyParameterGroupParametersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyParameterGroupParametersRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *ModifyParameterGroupParametersRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: Parameter Group ID(Required)
func (*ModifyParameterGroupParametersRequest) SetParameters ¶ added in v1.5.0
func (r *ModifyParameterGroupParametersRequest) SetParameters(parameters []rds.Parameter)
param parameters: 修改的参数(Required)
func (*ModifyParameterGroupParametersRequest) SetRegionId ¶ added in v1.5.0
func (r *ModifyParameterGroupParametersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyParameterGroupParametersResponse ¶ added in v1.5.0
type ModifyParameterGroupParametersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyParameterGroupParametersResult `json:"result"` }
type ModifyParameterGroupParametersResult ¶ added in v1.5.0
type ModifyParameterGroupParametersResult struct { }
type ModifyParameterGroupRequest ¶ added in v1.5.0
type ModifyParameterGroupRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 参数组ID */ ParameterGroupId string `json:"parameterGroupId"` }
func NewModifyParameterGroupRequest ¶ added in v1.5.0
func NewModifyParameterGroupRequest( regionId string, instanceId string, parameterGroupId string, ) *ModifyParameterGroupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param parameterGroupId: 参数组ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyParameterGroupRequestWithAllParams ¶ added in v1.5.0
func NewModifyParameterGroupRequestWithAllParams( regionId string, instanceId string, parameterGroupId string, ) *ModifyParameterGroupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param parameterGroupId: 参数组ID (Required)
func NewModifyParameterGroupRequestWithoutParam ¶ added in v1.5.0
func NewModifyParameterGroupRequestWithoutParam() *ModifyParameterGroupRequest
This constructor has better compatible ability when API parameters changed
func (ModifyParameterGroupRequest) GetRegionId ¶ added in v1.5.0
func (r ModifyParameterGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyParameterGroupRequest) SetInstanceId ¶ added in v1.5.0
func (r *ModifyParameterGroupRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyParameterGroupRequest) SetParameterGroupId ¶ added in v1.5.0
func (r *ModifyParameterGroupRequest) SetParameterGroupId(parameterGroupId string)
param parameterGroupId: 参数组ID(Required)
func (*ModifyParameterGroupRequest) SetRegionId ¶ added in v1.5.0
func (r *ModifyParameterGroupRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyParameterGroupResponse ¶ added in v1.5.0
type ModifyParameterGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyParameterGroupResult `json:"result"` }
type ModifyParameterGroupResult ¶ added in v1.5.0
type ModifyParameterGroupResult struct { }
type ModifyParametersRequest ¶ added in v1.3.0
type ModifyParametersRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 修改的实例参数 */ Parameters []rds.Parameter `json:"parameters"` }
func NewModifyParametersRequest ¶ added in v1.3.0
func NewModifyParametersRequest( regionId string, instanceId string, parameters []rds.Parameter, ) *ModifyParametersRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param parameters: 修改的实例参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyParametersRequestWithAllParams ¶ added in v1.3.0
func NewModifyParametersRequestWithAllParams( regionId string, instanceId string, parameters []rds.Parameter, ) *ModifyParametersRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param parameters: 修改的实例参数 (Required)
func NewModifyParametersRequestWithoutParam ¶ added in v1.3.0
func NewModifyParametersRequestWithoutParam() *ModifyParametersRequest
This constructor has better compatible ability when API parameters changed
func (ModifyParametersRequest) GetRegionId ¶ added in v1.3.0
func (r ModifyParametersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyParametersRequest) SetInstanceId ¶ added in v1.3.0
func (r *ModifyParametersRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifyParametersRequest) SetParameters ¶ added in v1.3.0
func (r *ModifyParametersRequest) SetParameters(parameters []rds.Parameter)
param parameters: 修改的实例参数(Required)
func (*ModifyParametersRequest) SetRegionId ¶ added in v1.3.0
func (r *ModifyParametersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyParametersResponse ¶ added in v1.3.0
type ModifyParametersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyParametersResult `json:"result"` }
type ModifyParametersResult ¶ added in v1.3.0
type ModifyParametersResult struct { }
type ModifyReadWriteProxyRequest ¶ added in v1.37.0
type ModifyReadWriteProxyRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 读写分离代理服务ID */ ReadWriteProxyId string `json:"readWriteProxyId"` /* 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) */ DelayThreshold *int `json:"delayThreshold"` /* 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */ LoadBalancerPolicy *string `json:"loadBalancerPolicy"` /* 后端实例健康检查配置 (Optional) */ HealthCheckSpec *rds.HealthCheckSpec `json:"healthCheckSpec"` }
func NewModifyReadWriteProxyRequest ¶ added in v1.37.0
func NewModifyReadWriteProxyRequest( regionId string, readWriteProxyId string, ) *ModifyReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyReadWriteProxyRequestWithAllParams ¶ added in v1.37.0
func NewModifyReadWriteProxyRequestWithAllParams( regionId string, readWriteProxyId string, delayThreshold *int, loadBalancerPolicy *string, healthCheckSpec *rds.HealthCheckSpec, ) *ModifyReadWriteProxyRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) * param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) * param healthCheckSpec: 后端实例健康检查配置 (Optional)
func NewModifyReadWriteProxyRequestWithoutParam ¶ added in v1.37.0
func NewModifyReadWriteProxyRequestWithoutParam() *ModifyReadWriteProxyRequest
This constructor has better compatible ability when API parameters changed
func (ModifyReadWriteProxyRequest) GetRegionId ¶ added in v1.37.0
func (r ModifyReadWriteProxyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyReadWriteProxyRequest) SetDelayThreshold ¶ added in v1.37.0
func (r *ModifyReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)
param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100(Optional)
func (*ModifyReadWriteProxyRequest) SetHealthCheckSpec ¶ added in v1.37.0
func (r *ModifyReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)
param healthCheckSpec: 后端实例健康检查配置(Optional)
func (*ModifyReadWriteProxyRequest) SetLoadBalancerPolicy ¶ added in v1.37.0
func (r *ModifyReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)
param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)
func (*ModifyReadWriteProxyRequest) SetReadWriteProxyId ¶ added in v1.37.0
func (r *ModifyReadWriteProxyRequest) SetReadWriteProxyId(readWriteProxyId string)
param readWriteProxyId: 读写分离代理服务ID(Required)
func (*ModifyReadWriteProxyRequest) SetRegionId ¶ added in v1.37.0
func (r *ModifyReadWriteProxyRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyReadWriteProxyResponse ¶ added in v1.37.0
type ModifyReadWriteProxyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyReadWriteProxyResult `json:"result"` }
type ModifyReadWriteProxyResult ¶ added in v1.37.0
type ModifyReadWriteProxyResult struct { }
type ModifyWhiteListRequest ¶ added in v1.0.11
type ModifyWhiteListRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 */ Ips string `json:"ips"` }
func NewModifyWhiteListRequest ¶ added in v1.0.11
func NewModifyWhiteListRequest( regionId string, instanceId string, ips string, ) *ModifyWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyWhiteListRequestWithAllParams ¶ added in v1.0.11
func NewModifyWhiteListRequestWithAllParams( regionId string, instanceId string, ips string, ) *ModifyWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required)
func NewModifyWhiteListRequestWithoutParam ¶ added in v1.0.11
func NewModifyWhiteListRequestWithoutParam() *ModifyWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyWhiteListRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyWhiteListRequest) SetInstanceId ¶ added in v1.0.11
func (r *ModifyWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyWhiteListRequest) SetIps ¶ added in v1.0.11
func (r *ModifyWhiteListRequest) SetIps(ips string)
param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10(Required)
func (*ModifyWhiteListRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyWhiteListRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyWhiteListResponse ¶ added in v1.0.11
type ModifyWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyWhiteListResult `json:"result"` }
type ModifyWhiteListResult ¶ added in v1.0.11
type ModifyWhiteListResult struct { }
type RebootInstanceRequest ¶ added in v1.0.6
type RebootInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 是否重启主节点。<br> - 仅SQL Server 支持该参数 (Optional) */ RebootMaster *bool `json:"rebootMaster"` /* 是否重启备节点。<br> - 仅SQL Server 支持该参数 (Optional) */ RebootSlave *bool `json:"rebootSlave"` }
func NewRebootInstanceRequest ¶ added in v1.0.6
func NewRebootInstanceRequest( regionId string, instanceId string, ) *RebootInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRebootInstanceRequestWithAllParams ¶ added in v1.0.6
func NewRebootInstanceRequestWithAllParams( regionId string, instanceId string, rebootMaster *bool, rebootSlave *bool, ) *RebootInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param rebootMaster: 是否重启主节点。<br> - 仅SQL Server 支持该参数 (Optional) * param rebootSlave: 是否重启备节点。<br> - 仅SQL Server 支持该参数 (Optional)
func NewRebootInstanceRequestWithoutParam ¶ added in v1.0.6
func NewRebootInstanceRequestWithoutParam() *RebootInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RebootInstanceRequest) GetRegionId ¶ added in v1.0.6
func (r RebootInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RebootInstanceRequest) SetInstanceId ¶ added in v1.0.6
func (r *RebootInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RebootInstanceRequest) SetRebootMaster ¶ added in v1.0.6
func (r *RebootInstanceRequest) SetRebootMaster(rebootMaster bool)
param rebootMaster: 是否重启主节点。<br> - 仅SQL Server 支持该参数(Optional)
func (*RebootInstanceRequest) SetRebootSlave ¶ added in v1.0.6
func (r *RebootInstanceRequest) SetRebootSlave(rebootSlave bool)
param rebootSlave: 是否重启备节点。<br> - 仅SQL Server 支持该参数(Optional)
func (*RebootInstanceRequest) SetRegionId ¶ added in v1.0.6
func (r *RebootInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RebootInstanceResponse ¶ added in v1.0.6
type RebootInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RebootInstanceResult `json:"result"` }
type RebootInstanceResult ¶ added in v1.0.6
type RebootInstanceResult struct { }
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountPassword string `json:"accountPassword"` }
func NewResetPasswordRequest ¶
func NewResetPasswordRequest( regionId string, instanceId string, accountName string, accountPassword string, ) *ResetPasswordRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewResetPasswordRequestWithAllParams ¶ added in v1.0.6
func NewResetPasswordRequestWithAllParams( regionId string, instanceId string, accountName string, accountPassword string, ) *ResetPasswordRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)
func NewResetPasswordRequestWithoutParam ¶ added in v1.0.6
func NewResetPasswordRequestWithoutParam() *ResetPasswordRequest
This constructor has better compatible ability when API parameters changed
func (ResetPasswordRequest) GetRegionId ¶
func (r ResetPasswordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ResetPasswordRequest) SetAccountName ¶
func (r *ResetPasswordRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*ResetPasswordRequest) SetAccountPassword ¶
func (r *ResetPasswordRequest) SetAccountPassword(accountPassword string)
param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*ResetPasswordRequest) SetInstanceId ¶
func (r *ResetPasswordRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ResetPasswordRequest) SetRegionId ¶
func (r *ResetPasswordRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ResetPasswordResult `json:"result"` }
type ResetPasswordResult ¶
type ResetPasswordResult struct { }
type RestoreDatabaseFromBackupRequest ¶
type RestoreDatabaseFromBackupRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` /* 备份ID,可从备份查询接口describeBackups获取 */ BackupId string `json:"backupId"` /* 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 */ BackupFileName string `json:"backupFileName"` }
func NewRestoreDatabaseFromBackupRequest ¶
func NewRestoreDatabaseFromBackupRequest( regionId string, instanceId string, dbName string, backupId string, backupFileName string, ) *RestoreDatabaseFromBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param backupId: 备份ID,可从备份查询接口describeBackups获取 (Required) * param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreDatabaseFromBackupRequestWithAllParams ¶ added in v1.0.6
func NewRestoreDatabaseFromBackupRequestWithAllParams( regionId string, instanceId string, dbName string, backupId string, backupFileName string, ) *RestoreDatabaseFromBackupRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param backupId: 备份ID,可从备份查询接口describeBackups获取 (Required) * param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Required)
func NewRestoreDatabaseFromBackupRequestWithoutParam ¶ added in v1.0.6
func NewRestoreDatabaseFromBackupRequestWithoutParam() *RestoreDatabaseFromBackupRequest
This constructor has better compatible ability when API parameters changed
func (RestoreDatabaseFromBackupRequest) GetRegionId ¶
func (r RestoreDatabaseFromBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreDatabaseFromBackupRequest) SetBackupFileName ¶
func (r *RestoreDatabaseFromBackupRequest) SetBackupFileName(backupFileName string)
param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份(Required)
func (*RestoreDatabaseFromBackupRequest) SetBackupId ¶
func (r *RestoreDatabaseFromBackupRequest) SetBackupId(backupId string)
param backupId: 备份ID,可从备份查询接口describeBackups获取(Required)
func (*RestoreDatabaseFromBackupRequest) SetDbName ¶
func (r *RestoreDatabaseFromBackupRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*RestoreDatabaseFromBackupRequest) SetInstanceId ¶
func (r *RestoreDatabaseFromBackupRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RestoreDatabaseFromBackupRequest) SetRegionId ¶
func (r *RestoreDatabaseFromBackupRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RestoreDatabaseFromBackupResponse ¶
type RestoreDatabaseFromBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreDatabaseFromBackupResult `json:"result"` }
type RestoreDatabaseFromBackupResult ¶
type RestoreDatabaseFromBackupResult struct { }
type RestoreDatabaseFromFileRequest ¶
type RestoreDatabaseFromFileRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` SharedFileGid *string `json:"sharedFileGid"` /* 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak */ FileName string `json:"fileName"` }
func NewRestoreDatabaseFromFileRequest ¶
func NewRestoreDatabaseFromFileRequest( regionId string, instanceId string, dbName string, fileName string, ) *RestoreDatabaseFromFileRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreDatabaseFromFileRequestWithAllParams ¶ added in v1.0.6
func NewRestoreDatabaseFromFileRequestWithAllParams( regionId string, instanceId string, dbName string, sharedFileGid *string, fileName string, ) *RestoreDatabaseFromFileRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口[describeImportFiles](../Cloud-on-Single-Database/describeImportFiles.md)获取;如果该文件不是共享文件,则不用输入该参数 (Optional) * param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak (Required)
func NewRestoreDatabaseFromFileRequestWithoutParam ¶ added in v1.0.6
func NewRestoreDatabaseFromFileRequestWithoutParam() *RestoreDatabaseFromFileRequest
This constructor has better compatible ability when API parameters changed
func (RestoreDatabaseFromFileRequest) GetRegionId ¶
func (r RestoreDatabaseFromFileRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreDatabaseFromFileRequest) SetDbName ¶
func (r *RestoreDatabaseFromFileRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*RestoreDatabaseFromFileRequest) SetFileName ¶
func (r *RestoreDatabaseFromFileRequest) SetFileName(fileName string)
param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak(Required)
func (*RestoreDatabaseFromFileRequest) SetInstanceId ¶
func (r *RestoreDatabaseFromFileRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RestoreDatabaseFromFileRequest) SetRegionId ¶
func (r *RestoreDatabaseFromFileRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*RestoreDatabaseFromFileRequest) SetSharedFileGid ¶
func (r *RestoreDatabaseFromFileRequest) SetSharedFileGid(sharedFileGid string)
param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口[describeImportFiles](../Cloud-on-Single-Database/describeImportFiles.md)获取;如果该文件不是共享文件,则不用输入该参数(Optional)
type RestoreDatabaseFromFileResponse ¶
type RestoreDatabaseFromFileResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreDatabaseFromFileResult `json:"result"` }
type RestoreDatabaseFromFileResult ¶
type RestoreDatabaseFromFileResult struct { }
type RestoreDatabaseFromOSSRequest ¶ added in v1.0.6
type RestoreDatabaseFromOSSRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` /* 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。 */ OssURL string `json:"ossURL"` }
func NewRestoreDatabaseFromOSSRequest ¶ added in v1.0.6
func NewRestoreDatabaseFromOSSRequest( regionId string, instanceId string, dbName string, ossURL string, ) *RestoreDatabaseFromOSSRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreDatabaseFromOSSRequestWithAllParams ¶ added in v1.0.6
func NewRestoreDatabaseFromOSSRequestWithAllParams( regionId string, instanceId string, dbName string, ossURL string, ) *RestoreDatabaseFromOSSRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。 (Required)
func NewRestoreDatabaseFromOSSRequestWithoutParam ¶ added in v1.0.6
func NewRestoreDatabaseFromOSSRequestWithoutParam() *RestoreDatabaseFromOSSRequest
This constructor has better compatible ability when API parameters changed
func (RestoreDatabaseFromOSSRequest) GetRegionId ¶ added in v1.0.6
func (r RestoreDatabaseFromOSSRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreDatabaseFromOSSRequest) SetDbName ¶ added in v1.0.6
func (r *RestoreDatabaseFromOSSRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*RestoreDatabaseFromOSSRequest) SetInstanceId ¶ added in v1.0.6
func (r *RestoreDatabaseFromOSSRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RestoreDatabaseFromOSSRequest) SetOssURL ¶ added in v1.0.6
func (r *RestoreDatabaseFromOSSRequest) SetOssURL(ossURL string)
param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。(Required)
func (*RestoreDatabaseFromOSSRequest) SetRegionId ¶ added in v1.0.6
func (r *RestoreDatabaseFromOSSRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RestoreDatabaseFromOSSResponse ¶ added in v1.0.6
type RestoreDatabaseFromOSSResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreDatabaseFromOSSResult `json:"result"` }
type RestoreDatabaseFromOSSResult ¶ added in v1.0.6
type RestoreDatabaseFromOSSResult struct { }
type RestoreInstanceByTimeRequest ¶ added in v1.16.0
type RestoreInstanceByTimeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 根据源实例的哪个时间点创建新实例 */ RestoreTime string `json:"restoreTime"` /* 需要进行单库,单表恢复的概要信息 */ RestoreSchema []rds.Schema `json:"restoreSchema"` }
func NewRestoreInstanceByTimeRequest ¶ added in v1.16.0
func NewRestoreInstanceByTimeRequest( regionId string, instanceId string, restoreTime string, restoreSchema []rds.Schema, ) *RestoreInstanceByTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param restoreSchema: 需要进行单库,单表恢复的概要信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreInstanceByTimeRequestWithAllParams ¶ added in v1.16.0
func NewRestoreInstanceByTimeRequestWithAllParams( regionId string, instanceId string, restoreTime string, restoreSchema []rds.Schema, ) *RestoreInstanceByTimeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param restoreSchema: 需要进行单库,单表恢复的概要信息 (Required)
func NewRestoreInstanceByTimeRequestWithoutParam ¶ added in v1.16.0
func NewRestoreInstanceByTimeRequestWithoutParam() *RestoreInstanceByTimeRequest
This constructor has better compatible ability when API parameters changed
func (RestoreInstanceByTimeRequest) GetRegionId ¶ added in v1.16.0
func (r RestoreInstanceByTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreInstanceByTimeRequest) SetInstanceId ¶ added in v1.16.0
func (r *RestoreInstanceByTimeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RestoreInstanceByTimeRequest) SetRegionId ¶ added in v1.16.0
func (r *RestoreInstanceByTimeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*RestoreInstanceByTimeRequest) SetRestoreSchema ¶ added in v1.16.0
func (r *RestoreInstanceByTimeRequest) SetRestoreSchema(restoreSchema []rds.Schema)
param restoreSchema: 需要进行单库,单表恢复的概要信息(Required)
func (*RestoreInstanceByTimeRequest) SetRestoreTime ¶ added in v1.16.0
func (r *RestoreInstanceByTimeRequest) SetRestoreTime(restoreTime string)
param restoreTime: 根据源实例的哪个时间点创建新实例(Required)
type RestoreInstanceByTimeResponse ¶ added in v1.16.0
type RestoreInstanceByTimeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreInstanceByTimeResult `json:"result"` }
type RestoreInstanceByTimeResult ¶ added in v1.16.0
type RestoreInstanceByTimeResult struct { }
type RestoreInstanceRequest ¶ added in v1.0.9
type RestoreInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 用于恢复的备份Id,仅限于本实例生成的备份 (Optional) */ BackupId *string `json:"backupId"` }
func NewRestoreInstanceRequest ¶ added in v1.0.9
func NewRestoreInstanceRequest( regionId string, instanceId string, ) *RestoreInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreInstanceRequestWithAllParams ¶ added in v1.0.9
func NewRestoreInstanceRequestWithAllParams( regionId string, instanceId string, backupId *string, ) *RestoreInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param backupId: 用于恢复的备份Id,仅限于本实例生成的备份 (Optional)
func NewRestoreInstanceRequestWithoutParam ¶ added in v1.0.9
func NewRestoreInstanceRequestWithoutParam() *RestoreInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RestoreInstanceRequest) GetRegionId ¶ added in v1.0.9
func (r RestoreInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreInstanceRequest) SetBackupId ¶ added in v1.0.9
func (r *RestoreInstanceRequest) SetBackupId(backupId string)
param backupId: 用于恢复的备份Id,仅限于本实例生成的备份(Optional)
func (*RestoreInstanceRequest) SetInstanceId ¶ added in v1.0.9
func (r *RestoreInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RestoreInstanceRequest) SetRegionId ¶ added in v1.0.9
func (r *RestoreInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RestoreInstanceResponse ¶ added in v1.0.9
type RestoreInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreInstanceResult `json:"result"` }
type RestoreInstanceResult ¶ added in v1.0.9
type RestoreInstanceResult struct { }
type RevokePrivilegeRequest ¶ added in v1.0.11
type RevokePrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 */ DbNames []string `json:"dbNames"` }
func NewRevokePrivilegeRequest ¶ added in v1.0.11
func NewRevokePrivilegeRequest( regionId string, instanceId string, accountName string, dbNames []string, ) *RevokePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRevokePrivilegeRequestWithAllParams ¶ added in v1.0.11
func NewRevokePrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, dbNames []string, ) *RevokePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required)
func NewRevokePrivilegeRequestWithoutParam ¶ added in v1.0.11
func NewRevokePrivilegeRequestWithoutParam() *RevokePrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (RevokePrivilegeRequest) GetRegionId ¶ added in v1.0.11
func (r RevokePrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RevokePrivilegeRequest) SetAccountName ¶ added in v1.0.11
func (r *RevokePrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*RevokePrivilegeRequest) SetDbNames ¶ added in v1.0.11
func (r *RevokePrivilegeRequest) SetDbNames(dbNames []string)
param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库(Required)
func (*RevokePrivilegeRequest) SetInstanceId ¶ added in v1.0.11
func (r *RevokePrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RevokePrivilegeRequest) SetRegionId ¶ added in v1.0.11
func (r *RevokePrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RevokePrivilegeResponse ¶ added in v1.0.11
type RevokePrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RevokePrivilegeResult `json:"result"` }
type RevokePrivilegeResult ¶ added in v1.0.11
type RevokePrivilegeResult struct { }
type SetImportFileSharedRequest ¶ added in v1.0.6
type SetImportFileSharedRequest struct { string `json:"regionId"` InstanceId string `json:"instanceId"` FileName string `json:"fileName"` Shared string `json:"shared"` }RegionId
func NewSetImportFileSharedRequest ¶ added in v1.0.6
func NewSetImportFileSharedRequest( regionId string, instanceId string, fileName string, shared string, ) *SetImportFileSharedRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param shared: 文件是否共享<br>true:共享<br>false:不共享 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetImportFileSharedRequestWithAllParams ¶ added in v1.0.6
func NewSetImportFileSharedRequestWithAllParams( regionId string, instanceId string, fileName string, shared string, ) *SetImportFileSharedRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param shared: 文件是否共享<br>true:共享<br>false:不共享 (Required)
func NewSetImportFileSharedRequestWithoutParam ¶ added in v1.0.6
func NewSetImportFileSharedRequestWithoutParam() *SetImportFileSharedRequest
This constructor has better compatible ability when API parameters changed
func (SetImportFileSharedRequest) GetRegionId ¶ added in v1.0.6
func (r SetImportFileSharedRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetImportFileSharedRequest) SetFileName ¶ added in v1.0.6
func (r *SetImportFileSharedRequest) SetFileName(fileName string)
param fileName: 单库上云文件名(Required)
func (*SetImportFileSharedRequest) SetInstanceId ¶ added in v1.0.6
func (r *SetImportFileSharedRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*SetImportFileSharedRequest) SetRegionId ¶ added in v1.0.6
func (r *SetImportFileSharedRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*SetImportFileSharedRequest) SetShared ¶ added in v1.0.6
func (r *SetImportFileSharedRequest) SetShared(shared string)
param shared: 文件是否共享<br>true:共享<br>false:不共享(Required)
type SetImportFileSharedResponse ¶ added in v1.0.6
type SetImportFileSharedResponse struct {}
type SetImportFileSharedResult ¶ added in v1.0.6
type SetImportFileSharedResult struct { }
type UpdateLogDownloadURLInternalRequest ¶ added in v1.12.0
type UpdateLogDownloadURLInternalRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 日志文件ID */ LogId string `json:"logId"` /* 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒 */ Seconds int `json:"seconds"` }
func NewUpdateLogDownloadURLInternalRequest ¶ added in v1.12.0
func NewUpdateLogDownloadURLInternalRequest( regionId string, instanceId string, logId string, seconds int, ) *UpdateLogDownloadURLInternalRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateLogDownloadURLInternalRequestWithAllParams ¶ added in v1.12.0
func NewUpdateLogDownloadURLInternalRequestWithAllParams( regionId string, instanceId string, logId string, seconds int, ) *UpdateLogDownloadURLInternalRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒 (Required)
func NewUpdateLogDownloadURLInternalRequestWithoutParam ¶ added in v1.12.0
func NewUpdateLogDownloadURLInternalRequestWithoutParam() *UpdateLogDownloadURLInternalRequest
This constructor has better compatible ability when API parameters changed
func (UpdateLogDownloadURLInternalRequest) GetRegionId ¶ added in v1.12.0
func (r UpdateLogDownloadURLInternalRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateLogDownloadURLInternalRequest) SetInstanceId ¶ added in v1.12.0
func (r *UpdateLogDownloadURLInternalRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*UpdateLogDownloadURLInternalRequest) SetLogId ¶ added in v1.12.0
func (r *UpdateLogDownloadURLInternalRequest) SetLogId(logId string)
param logId: 日志文件ID(Required)
func (*UpdateLogDownloadURLInternalRequest) SetRegionId ¶ added in v1.12.0
func (r *UpdateLogDownloadURLInternalRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*UpdateLogDownloadURLInternalRequest) SetSeconds ¶ added in v1.12.0
func (r *UpdateLogDownloadURLInternalRequest) SetSeconds(seconds int)
param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒(Required)
type UpdateLogDownloadURLInternalResponse ¶ added in v1.12.0
type UpdateLogDownloadURLInternalResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateLogDownloadURLInternalResult `json:"result"` }
type UpdateLogDownloadURLInternalResult ¶ added in v1.12.0
type UpgradeInstanceRequest ¶ added in v1.37.0
type UpgradeInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 升级操作生效时间,取值为immediate和MaintainTime,默认值为immediate;immediate表示立即生效,MaintainTime表示在运维时间窗口内生效;**备注:MaintainTime暂不支持 (Optional) */ UpgradeTime *string `json:"upgradeTime"` }
func NewUpgradeInstanceRequest ¶ added in v1.37.0
func NewUpgradeInstanceRequest( regionId string, instanceId string, ) *UpgradeInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpgradeInstanceRequestWithAllParams ¶ added in v1.37.0
func NewUpgradeInstanceRequestWithAllParams( regionId string, instanceId string, upgradeTime *string, ) *UpgradeInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param upgradeTime: 升级操作生效时间,取值为immediate和MaintainTime,默认值为immediate;immediate表示立即生效,MaintainTime表示在运维时间窗口内生效;**备注:MaintainTime暂不支持 (Optional)
func NewUpgradeInstanceRequestWithoutParam ¶ added in v1.37.0
func NewUpgradeInstanceRequestWithoutParam() *UpgradeInstanceRequest
This constructor has better compatible ability when API parameters changed
func (UpgradeInstanceRequest) GetRegionId ¶ added in v1.37.0
func (r UpgradeInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpgradeInstanceRequest) SetInstanceId ¶ added in v1.37.0
func (r *UpgradeInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*UpgradeInstanceRequest) SetRegionId ¶ added in v1.37.0
func (r *UpgradeInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*UpgradeInstanceRequest) SetUpgradeTime ¶ added in v1.37.0
func (r *UpgradeInstanceRequest) SetUpgradeTime(upgradeTime string)
param upgradeTime: 升级操作生效时间,取值为immediate和MaintainTime,默认值为immediate;immediate表示立即生效,MaintainTime表示在运维时间窗口内生效;**备注:MaintainTime暂不支持(Optional)
type UpgradeInstanceResponse ¶ added in v1.37.0
type UpgradeInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpgradeInstanceResult `json:"result"` }
type UpgradeInstanceResult ¶ added in v1.37.0
type UpgradeInstanceResult struct { }
Source Files ¶
- AlterTableWithOnlineDDL.go
- ClearBinlogs.go
- CopyParameterGroup.go
- CreateAccount.go
- CreateAccountForOps.go
- CreateAudit.go
- CreateBackup.go
- CreateBackupSynchronicity.go
- CreateDatabase.go
- CreateInstance.go
- CreateInstanceByTime.go
- CreateInstanceByTimeInCrossRegion.go
- CreateInstanceFromBackup.go
- CreateParameterGroup.go
- CreateROInstance.go
- CreateReadWriteProxy.go
- CreateSuperAccount.go
- DeleteAccount.go
- DeleteAudit.go
- DeleteBackup.go
- DeleteBackupSynchronicity.go
- DeleteDatabase.go
- DeleteImportFile.go
- DeleteInstance.go
- DeleteParameterGroup.go
- DeleteReadWriteProxy.go
- DescribeAccountPrivilege.go
- DescribeAccounts.go
- DescribeAccountsForOps.go
- DescribeActiveQueryPerformance.go
- DescribeAudit.go
- DescribeAuditDownloadURL.go
- DescribeAuditFiles.go
- DescribeAuditOptions.go
- DescribeAuditResult.go
- DescribeAzs.go
- DescribeBackupDownloadURL.go
- DescribeBackupPolicy.go
- DescribeBackupSynchronicities.go
- DescribeBackups.go
- DescribeBinlogDownloadURL.go
- DescribeBinlogs.go
- DescribeDatabases.go
- DescribeErrorLog.go
- DescribeErrorLogs.go
- DescribeImportFiles.go
- DescribeIndexPerformance.go
- DescribeInstanceAttributes.go
- DescribeInstanceVersionInternal.go
- DescribeInstances.go
- DescribeIntercept.go
- DescribeInterceptResult.go
- DescribeLatestRestoreTime.go
- DescribeLogDownloadURL.go
- DescribeLogs.go
- DescribeParameterGroupAttachedInstances.go
- DescribeParameterGroupParameters.go
- DescribeParameterGroups.go
- DescribeParameterModifyRecords.go
- DescribeParameters.go
- DescribePrivilege.go
- DescribeQueryPerformance.go
- DescribeReadWriteProxyAttribute.go
- DescribeSSL.go
- DescribeSlowLogAttributes.go
- DescribeSlowLogs.go
- DescribeTables.go
- DescribeTde.go
- DescribeWhiteList.go
- DisableAudit.go
- DisableIntercept.go
- DisableInternetAccess.go
- DisableReadWriteProxyInternetAccess.go
- DisableSSL.go
- EnableAudit.go
- EnableIntercept.go
- EnableInternetAccess.go
- EnableReadWriteProxyInternetAccess.go
- EnableSSL.go
- EnableTde.go
- ExchangeInstanceDns.go
- FailoverInstance.go
- GetUploadKey.go
- GrantAccountPrivilege.go
- GrantPrivilege.go
- ModifyAccountForOps.go
- ModifyActiveDirectory.go
- ModifyAudit.go
- ModifyBackupPolicy.go
- ModifyConnectionMode.go
- ModifyInstanceAz.go
- ModifyInstanceName.go
- ModifyInstanceSpec.go
- ModifyParameterGroup.go
- ModifyParameterGroupAttribute.go
- ModifyParameterGroupParameters.go
- ModifyParameters.go
- ModifyReadWriteProxy.go
- ModifyWhiteList.go
- RebootInstance.go
- ResetPassword.go
- RestoreDatabaseFromBackup.go
- RestoreDatabaseFromFile.go
- RestoreDatabaseFromOSS.go
- RestoreInstance.go
- RestoreInstanceByTime.go
- RevokePrivilege.go
- SetImportFileShared.go
- UpdateLogDownloadURLInternal.go
- UpgradeInstance.go