v20170312

package
v3.0.729+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// The current account does not exist.
	ACCOUNTNOTEXIST = "AccountNotExist"

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// Authentication failed.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Backend database execution error.
	DBERROR = "DBError"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Failed to request a quota for resource tags.
	FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"

	// Failed to access classic network. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError"

	// Failed to access CMQ.
	FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError"

	// CAM authentication failed.
	FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"

	// Failed to get permissions. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"

	// Failed to check resource permissions through CAM.
	FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"

	// Authentication failed. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"

	// Failed to get project information. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"

	// Classic network creation is unsupported.
	FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"

	// Failed to create the renewal order.
	FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"

	// Failed to access database management service. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"

	// Data operation failed. Please contact customer service.
	FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"

	// Failed to delete VPC routes.
	FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute"

	// Failed to unbind resources from a project.
	FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError"

	// Failed to unbind the resource from the tag.
	FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError"

	// Failed to access ES. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError"

	// Failed to query ES. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError"

	// Operation failed. Please try again later.
	FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"

	// Failed to create a task. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"

	// Failed to query the instance information. Please try again later.
	FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError"

	// Failed to get the purchase record.
	FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"

	// Failed to query VPC subnets.
	FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"

	// Failed to query VPC information. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"

	// Invalid number of read-only replicas.
	FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"

	// The account status is incorrect, so the operation is not allowed.
	FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus"

	// Billing error. Corresponding purchase/renewal/configuration change operations are not allowed for the current instance.
	FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"

	// Operations are not allowed on the instance.
	FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"

	// Failed to query the primary instance information.
	FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError"

	// Failed to modify RO group configuration.
	FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError"

	// The number of networks does not meet resource requirements.
	FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"

	// The operation frequency limit is exceeded. Try again later. If the problem persists, contact customer service.
	FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError"

	// Failed to access database management service. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"

	// Failed to request the backend API.
	FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"

	// Failed to make order payment.
	FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"

	// Failed to unfreeze the account of a pay-as-you-go instance. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError"

	//
	FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"

	// An error occurred while getting the pre-signed authorization URL.
	FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError"

	// Failed to query the order information.
	FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed"

	// Failed to query instance information in batches. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError"

	// Failed to query the price.
	FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"

	// Failed to query specifications.
	FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"

	// Failed to query specifications. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"

	// Failed to query the order status.
	FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError"

	// Failed to query VPC.
	FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"

	// Failed to get VPC details.
	FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"

	// This RO group has at least one read-only replica, so it cannot be deleted.
	FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError"

	// The primary instance information of the RO group is not matched.
	FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight"

	// The RO group does not exist.
	FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"

	// The maximum number of RO groups has been reached.
	FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"

	// This read-only replica already belongs to another RO group.
	FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError"

	// Serverless instances do not support the operation.
	FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError"

	// Failed to access internal service. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"

	// Failed to set the auto-renewal flag.
	FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError"

	// The memory and storage capacity to which an instance is upgraded should be higher than its original memory and storage capacity.
	FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"

	// Incorrect storage path format
	FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError"

	// Failed to access the billing platform. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"

	// Failed to request the billing platform to create an order.
	FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"

	// Failed to request to pay for the order.
	FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"

	// Failed to query order information. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"

	// Failed to query pricing information. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"

	// Failed to modify the resource tag.
	FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError"

	// Failed to configure the VPC.
	FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError"

	// Failed to update VPC routes.
	FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError"

	// Failed to query the allowlist. Try again later. If the problem persists, contact customer service.
	FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"

	// Failed to create the task.
	FLOWERROR = "FlowError"

	// The current instance does not exist.
	INSTANCENOTEXIST = "InstanceNotExist"

	// `ACTION` input error.
	INTERFACENAMENOTFOUND = "InterfaceNameNotFound"

	// Internal error.
	INTERNALERROR = "InternalError"

	// CGW error.
	INTERNALERROR_CGWERROR = "InternalError.CgwError"

	// Basic network error.
	INTERNALERROR_CNSERROR = "InternalError.CnsError"

	// Backend database execution error.
	INTERNALERROR_DBERROR = "InternalError.DBError"

	// DFW error.
	INTERNALERROR_DFWERROR = "InternalError.DfwError"

	// Failed to create the flow.
	INTERNALERROR_FLOWERROR = "InternalError.FlowError"

	// Failed to access database management service. Please contact customer service.
	INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"

	// An exception occurred while executing the request.
	INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"

	// Failed to parse background data. Please contact customer service.
	INTERNALERROR_MARSHALERROR = "InternalError.MarshalError"

	// System error. When this error occurs, please contact customer service for assistance.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Failed to enable transactions
	INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError"

	// Unknown error. When this error occurs, please contact customer service for assistance.
	INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

	// VPC error.
	INTERNALERROR_VPCERROR = "InternalError.VpcError"

	// Incorrect account password.
	INVALIDACCOUNTPASSWORD = "InvalidAccountPassword"

	// The current account status is incorrect, so the operation is not allowed.
	INVALIDACCOUNTSTATUS = "InvalidAccountStatus"

	// Incorrect instance status.
	INVALIDINSTANCESTATUS = "InvalidInstanceStatus"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// The instance name already exists.
	INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist"

	// Failed to check the parameter.
	INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"

	// Incorrect PID
	INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"

	// Failed to query VPC information.
	INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The current account already exists.
	INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"

	// The current account does not exist.
	INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"

	// The account does not exist.
	INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"

	// The instance specification to upgrade to is not purchasable.
	INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"

	// Incorrect database character set
	INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"

	// Failed to convert data format. Please contact customer service.
	INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"

	// Unsupported billing type.
	INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType"

	// Incorrect billing mode.
	INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"

	// Invalid `ProjectId`.
	INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"

	// Invalid `Region` parameter.
	INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"

	// Invalid `Zone` parameter.
	INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"

	// The account already exists.
	INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist"

	// The current instance does not exist.
	INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

	// Incorrect `ACTION`.
	INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"

	// Invalid account. The account name is case-insensitive, must contain 1-16 characters comprised of letters, digits, underscores, and should neither be "postgres" nor start with a digit or "pg_".
	INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"

	// Incorrect account format.
	INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"

	// The current account name cannot be a reserved character.
	INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"

	// Incorrect database character set. Currently, only `UTF8` and `LATIN1` are supported.
	INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"

	// The number of purchased instances exceeds the limit.
	INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"

	// The instance specification to upgrade to cannot be lower than the current instance specification.
	INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume"

	// Billing error. Invalid order type ID.
	INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"

	// Incorrect parameter value
	INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"

	// Incorrect password format.
	INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"

	// Invalid password. The password length does not meet the requirements.
	INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"

	// Invalid password. The password must contain uppercase letters, lowercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;'<>,.?/), and cannot start with a slash (/).
	INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"

	// Incorrect `PID` parameter.
	INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"

	// RO group in incorrect status
	INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"

	// Invalid region
	INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"

	// Invalid availability zone.
	INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"

	// Empty order name.
	INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames"

	// Invalid parameter. The parameter can contain only letters, digits, underscores, and hyphens.
	INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"

	// The parameter is invalid. Please modify it and try again.
	INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError"

	// The parameter prefix is invalid. Please modify it and try again.
	INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError"

	// Failed to process the parameter. Please check if the parameter value is valid.
	INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"

	// The length of parameter exceeds the limit.
	INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"

	// Invalid parameter values.
	INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"

	// The maximum value of the parameter has been reached.
	INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"

	// The RO group does not exist.
	INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"

	// The current region is not supported.
	INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"

	// Failed to identify the specification ({{1}}).
	INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"

	// An error occurred while parsing parameters.
	INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"

	// Incorrect `PID` parameter.
	INVALIDPID = "InvalidPid"

	// Quota limit exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Operations are not allowed on the instance.
	LIMITOPERATION = "LimitOperation"

	// Missing parameters.
	MISSINGPARAMETER = "MissingParameter"

	// This operation cannot be performed.
	OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

	// The target instance failed the status check.
	OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError"

	// You do not have the permission to operate this resource.
	OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"

	// IPv6 is not supported.
	OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError"

	// This operation cannot be performed on an instance in this status.
	OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"

	// This operation cannot be performed on an instance in this status.
	OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

	// This operation cannot be performed on an instance in this status.
	OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

	// Serverless is not supported in this availability zone.
	OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError"

	// Unsupported billing mode
	OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"

	// Pay-as-you-go instances cannot be renewed.
	OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"

	// This operation cannot be performed on an RO group in this status.
	OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"

	// Read-only instances do not support IPv6.
	OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError"

	// This operation cannot be performed on a read-only instance in this status.
	OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError"

	// The total number of read-only nodes should not exceed the upper limit.
	OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"

	// You need to verify your identity to make a purchase.
	OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"

	// Serverless is not supported on this version of PostgreSQL.
	OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError"

	// You do not have the permission to operate the VPC.
	OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"

	// The region is not supported.
	REGIONNOTSUPPORTED = "RegionNotSupported"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// There are not enough resources to purchase instances of this specification in the current region.
	RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"

	// The instance does not exist.
	RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

	// Incorrect instance status.
	RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

	// No permission for the VPC.
	RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"

	// Failed to get the information of the VPC where the instance resides.
	RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"

	// An error occurred while parsing parameters.
	STRUCTPARSEFAILED = "StructParseFailed"

	// System error. When this error occurs, please contact customer service for assistance.
	SYSTEMERROR = "SystemError"

	// Unverified user.
	UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"

	// Unknown error. When this error occurs, please contact customer service for assistance.
	UNKNOWNERROR = "UnknownError"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// The operation is not supported.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// VPC error
	VPCERROR = "VpcError"
)
View Source
const APIVersion = "2017-03-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	// Instance ID in the format of postgres-lnp6j617
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Account
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Account remarks
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// Account status. 1: creating, 2: normal, 3: modifying, 4: resetting password, -1: deleting
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Account creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Account last modified time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AddDBInstanceToReadOnlyGroupRequest

type AddDBInstanceToReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewAddDBInstanceToReadOnlyGroupRequest

func NewAddDBInstanceToReadOnlyGroupRequest() (request *AddDBInstanceToReadOnlyGroupRequest)

func (*AddDBInstanceToReadOnlyGroupRequest) FromJsonString

func (r *AddDBInstanceToReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddDBInstanceToReadOnlyGroupRequest) ToJsonString

func (r *AddDBInstanceToReadOnlyGroupRequest) ToJsonString() string

type AddDBInstanceToReadOnlyGroupRequestParams

type AddDBInstanceToReadOnlyGroupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type AddDBInstanceToReadOnlyGroupResponse

type AddDBInstanceToReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *AddDBInstanceToReadOnlyGroupResponseParams `json:"Response"`
}

func NewAddDBInstanceToReadOnlyGroupResponse

func NewAddDBInstanceToReadOnlyGroupResponse() (response *AddDBInstanceToReadOnlyGroupResponse)

func (*AddDBInstanceToReadOnlyGroupResponse) FromJsonString

func (r *AddDBInstanceToReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddDBInstanceToReadOnlyGroupResponse) ToJsonString

func (r *AddDBInstanceToReadOnlyGroupResponse) ToJsonString() string

type AddDBInstanceToReadOnlyGroupResponseParams

type AddDBInstanceToReadOnlyGroupResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AnalysisItems

type AnalysisItems struct {
	// The name of the database queried by the slow query statement
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// The name of the user who executes the slow query statement
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// The slow query statement whose parameter values are abstracted
	NormalQuery *string `json:"NormalQuery,omitempty" name:"NormalQuery"`

	// The address of the client that executes the slow query statement
	ClientAddr *string `json:"ClientAddr,omitempty" name:"ClientAddr"`

	// The number of executions of the slow query statement during the specified period of time
	CallNum *uint64 `json:"CallNum,omitempty" name:"CallNum"`

	// The ratio (in decimal form) of the number of executions of the slow query statement to that of all slow query statements during the specified period of time
	CallPercent *float64 `json:"CallPercent,omitempty" name:"CallPercent"`

	// The total execution time of the slow query statement during the specified period of time
	CostTime *float64 `json:"CostTime,omitempty" name:"CostTime"`

	// The ratio (in decimal form) of the total execution time of the slow query statement to that of all slow query statements during the specified period of time
	CostPercent *float64 `json:"CostPercent,omitempty" name:"CostPercent"`

	// The shortest execution time (in ms) of the slow query statement during the specified period of time
	MinCostTime *float64 `json:"MinCostTime,omitempty" name:"MinCostTime"`

	// The longest execution time (in ms) of the slow query statement during the specified period of time
	MaxCostTime *float64 `json:"MaxCostTime,omitempty" name:"MaxCostTime"`

	// The average execution time (in ms) of the slow query statement during the specified period of time
	AvgCostTime *float64 `json:"AvgCostTime,omitempty" name:"AvgCostTime"`

	// The timestamp when the slow query statement starts to execute for the first time during the specified period of time
	FirstTime *string `json:"FirstTime,omitempty" name:"FirstTime"`

	// The timestamp when the slow query statement starts to execute for the last time during the specified period of time
	LastTime *string `json:"LastTime,omitempty" name:"LastTime"`
}

type BackupDownloadRestriction

type BackupDownloadRestriction struct {
	// Type of the network restrictions for downloading backup files. Valid values: `NONE` (backups can be downloaded over both private and public networks), `INTRANET` (backups can only be downloaded over the private network), `CUSTOMIZE` (backups can be downloaded over specified VPCs or at specified IPs).
	RestrictionType *string `json:"RestrictionType,omitempty" name:"RestrictionType"`

	// Whether VPC is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitempty" name:"VpcRestrictionEffect"`

	// Whether it is allowed to download the VPC ID list of the backup files.
	VpcIdSet []*string `json:"VpcIdSet,omitempty" name:"VpcIdSet"`

	// Whether IP is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	IpRestrictionEffect *string `json:"IpRestrictionEffect,omitempty" name:"IpRestrictionEffect"`

	// Whether it is allowed to download IP list of the backup files.
	IpSet []*string `json:"IpSet,omitempty" name:"IpSet"`
}

type BackupPlan

type BackupPlan struct {
	// Backup cycle
	BackupPeriod *string `json:"BackupPeriod,omitempty" name:"BackupPeriod"`

	// Retention period of basic backups
	BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitempty" name:"BaseBackupRetentionPeriod"`

	// The earliest time to start a backup
	MinBackupStartTime *string `json:"MinBackupStartTime,omitempty" name:"MinBackupStartTime"`

	// The latest time to start a backup
	MaxBackupStartTime *string `json:"MaxBackupStartTime,omitempty" name:"MaxBackupStartTime"`
}

type BackupSummary

type BackupSummary struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Number of log backups of an instance
	LogBackupCount *uint64 `json:"LogBackupCount,omitempty" name:"LogBackupCount"`

	// Size of log backups of an instance
	LogBackupSize *uint64 `json:"LogBackupSize,omitempty" name:"LogBackupSize"`

	// Number of manually created full backups of an instance
	ManualBaseBackupCount *uint64 `json:"ManualBaseBackupCount,omitempty" name:"ManualBaseBackupCount"`

	// Size of manually created full backups of an instance
	ManualBaseBackupSize *uint64 `json:"ManualBaseBackupSize,omitempty" name:"ManualBaseBackupSize"`

	// Number of automatically created full backups of an instance
	AutoBaseBackupCount *uint64 `json:"AutoBaseBackupCount,omitempty" name:"AutoBaseBackupCount"`

	// Size of automatically created full backups of an instance
	AutoBaseBackupSize *uint64 `json:"AutoBaseBackupSize,omitempty" name:"AutoBaseBackupSize"`

	// Total number of backups
	TotalBackupCount *uint64 `json:"TotalBackupCount,omitempty" name:"TotalBackupCount"`

	// Total backup size
	TotalBackupSize *uint64 `json:"TotalBackupSize,omitempty" name:"TotalBackupSize"`
}

type BaseBackup

type BaseBackup struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unique ID of a backup file
	Id *string `json:"Id,omitempty" name:"Id"`

	// Backup file name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Backup method, including physical and logical.
	BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"`

	// Backup mode, including automatic and manual.
	BackupMode *string `json:"BackupMode,omitempty" name:"BackupMode"`

	// Backup task status
	State *string `json:"State,omitempty" name:"State"`

	// Backup set size in bytes
	Size *uint64 `json:"Size,omitempty" name:"Size"`

	// Backup start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Backup end time
	FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`

	// Backup expiration time
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type ClassInfo

type ClassInfo struct {
	// Specification ID
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Number of CPU cores
	CPU *uint64 `json:"CPU,omitempty" name:"CPU"`

	// Memory size in MB
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Maximum storage capacity in GB supported by this specification
	MaxStorage *uint64 `json:"MaxStorage,omitempty" name:"MaxStorage"`

	// Minimum storage capacity in GB supported by this specification
	MinStorage *uint64 `json:"MinStorage,omitempty" name:"MinStorage"`

	// Estimated QPS for this specification
	QPS *uint64 `json:"QPS,omitempty" name:"QPS"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddDBInstanceToReadOnlyGroup

func (c *Client) AddDBInstanceToReadOnlyGroup(request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)

AddDBInstanceToReadOnlyGroup This API is used to add a read-only replica to an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) AddDBInstanceToReadOnlyGroupWithContext

func (c *Client) AddDBInstanceToReadOnlyGroupWithContext(ctx context.Context, request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)

AddDBInstanceToReadOnlyGroup This API is used to add a read-only replica to an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) CloneDBInstance

func (c *Client) CloneDBInstance(request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)

CloneDBInstance This API is used to clone an instance by specifying a backup set or a point in time.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

func (*Client) CloneDBInstanceWithContext

func (c *Client) CloneDBInstanceWithContext(ctx context.Context, request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)

CloneDBInstance This API is used to clone an instance by specifying a backup set or a point in time.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

func (*Client) CloseDBExtranetAccess

func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)

CloseDBExtranetAccess This API is used to disable the public network link to an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) CloseDBExtranetAccessWithContext

func (c *Client) CloseDBExtranetAccessWithContext(ctx context.Context, request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)

CloseDBExtranetAccess This API is used to disable the public network link to an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) CloseServerlessDBExtranetAccess

func (c *Client) CloseServerlessDBExtranetAccess(request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)

CloseServerlessDBExtranetAccess This API is used to disable public network access for a PostgreSQL for Serverless instance.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FLOWERROR = "FlowError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITOPERATION = "LimitOperation"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
VPCERROR = "VpcError"

func (*Client) CloseServerlessDBExtranetAccessWithContext

func (c *Client) CloseServerlessDBExtranetAccessWithContext(ctx context.Context, request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)

CloseServerlessDBExtranetAccess This API is used to disable public network access for a PostgreSQL for Serverless instance.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FLOWERROR = "FlowError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITOPERATION = "LimitOperation"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
VPCERROR = "VpcError"

func (*Client) CreateBaseBackup

func (c *Client) CreateBaseBackup(request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)

CreateBaseBackup This API is used to create a full backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) CreateBaseBackupWithContext

func (c *Client) CreateBaseBackupWithContext(ctx context.Context, request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)

CreateBaseBackup This API is used to create a full backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) CreateDBInstanceNetworkAccess

func (c *Client) CreateDBInstanceNetworkAccess(request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)

CreateDBInstanceNetworkAccess This API is used to add a network for an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError"
FLOWERROR = "FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_MARSHALERROR = "InternalError.MarshalError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) CreateDBInstanceNetworkAccessWithContext

func (c *Client) CreateDBInstanceNetworkAccessWithContext(ctx context.Context, request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)

CreateDBInstanceNetworkAccess This API is used to add a network for an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError"
FLOWERROR = "FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_MARSHALERROR = "InternalError.MarshalError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) CreateDBInstances

func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)

CreateDBInstances This API is used to create (but not initialize) one or more TencentDB for PostgreSQL instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateDBInstancesWithContext

func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)

CreateDBInstances This API is used to create (but not initialize) one or more TencentDB for PostgreSQL instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateInstances

func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

CreateInstances This API is used to create and initialize one or more TencentDB for PostgreSQL instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateInstancesWithContext

func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

CreateInstances This API is used to create and initialize one or more TencentDB for PostgreSQL instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateParameterTemplate

func (c *Client) CreateParameterTemplate(request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)

CreateParameterTemplate This API is used to create a parameter template.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) CreateParameterTemplateWithContext

func (c *Client) CreateParameterTemplateWithContext(ctx context.Context, request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)

CreateParameterTemplate This API is used to create a parameter template.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) CreateReadOnlyDBInstance

func (c *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)

CreateReadOnlyDBInstance This API is used to create read-only replicas.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateReadOnlyDBInstanceWithContext

func (c *Client) CreateReadOnlyDBInstanceWithContext(ctx context.Context, request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)

CreateReadOnlyDBInstance This API is used to create read-only replicas.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateReadOnlyGroup

func (c *Client) CreateReadOnlyGroup(request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)

CreateReadOnlyGroup This API is used to create an RO group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
STRUCTPARSEFAILED = "StructParseFailed"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateReadOnlyGroupNetworkAccess

func (c *Client) CreateReadOnlyGroupNetworkAccess(request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)

CreateReadOnlyGroupNetworkAccess This API is used to add a network for an RO group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FLOWERROR = "FlowError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_MARSHALERROR = "InternalError.MarshalError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"

func (*Client) CreateReadOnlyGroupNetworkAccessWithContext

func (c *Client) CreateReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)

CreateReadOnlyGroupNetworkAccess This API is used to add a network for an RO group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FLOWERROR = "FlowError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_MARSHALERROR = "InternalError.MarshalError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"

func (*Client) CreateReadOnlyGroupWithContext

func (c *Client) CreateReadOnlyGroupWithContext(ctx context.Context, request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)

CreateReadOnlyGroup This API is used to create an RO group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
STRUCTPARSEFAILED = "StructParseFailed"
UNKNOWNERROR = "UnknownError"

func (*Client) CreateServerlessDBInstance

func (c *Client) CreateServerlessDBInstance(request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)

CreateServerlessDBInstance This API is used to create a PostgreSQL for Serverless instance. If the creation succeeds, the instance ID will be returned.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FLOWERROR = "FlowError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError"
OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"

func (*Client) CreateServerlessDBInstanceWithContext

func (c *Client) CreateServerlessDBInstanceWithContext(ctx context.Context, request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)

CreateServerlessDBInstance This API is used to create a PostgreSQL for Serverless instance. If the creation succeeds, the instance ID will be returned.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FLOWERROR = "FlowError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError"
OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"

func (*Client) DeleteBaseBackup

func (c *Client) DeleteBaseBackup(request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)

DeleteBaseBackup This API is used to delete the specified full backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteBaseBackupWithContext

func (c *Client) DeleteBaseBackupWithContext(ctx context.Context, request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)

DeleteBaseBackup This API is used to delete the specified full backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteDBInstanceNetworkAccess

func (c *Client) DeleteDBInstanceNetworkAccess(request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)

DeleteDBInstanceNetworkAccess This API is used to delete a network of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteDBInstanceNetworkAccessWithContext

func (c *Client) DeleteDBInstanceNetworkAccessWithContext(ctx context.Context, request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)

DeleteDBInstanceNetworkAccess This API is used to delete a network of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteLogBackup

func (c *Client) DeleteLogBackup(request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)

DeleteLogBackup This API is used to delete the specified log backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteLogBackupWithContext

func (c *Client) DeleteLogBackupWithContext(ctx context.Context, request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)

DeleteLogBackup This API is used to delete the specified log backup of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DeleteParameterTemplate

func (c *Client) DeleteParameterTemplate(request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)

DeleteParameterTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"

func (*Client) DeleteParameterTemplateWithContext

func (c *Client) DeleteParameterTemplateWithContext(ctx context.Context, request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)

DeleteParameterTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"

func (*Client) DeleteReadOnlyGroup

func (c *Client) DeleteReadOnlyGroup(request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)

DeleteReadOnlyGroup This API is used to delete an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
SYSTEMERROR = "SystemError"

func (*Client) DeleteReadOnlyGroupNetworkAccess

func (c *Client) DeleteReadOnlyGroupNetworkAccess(request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)

DeleteReadOnlyGroupNetworkAccess This API is used to delete a network of an RO group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"

func (*Client) DeleteReadOnlyGroupNetworkAccessWithContext

func (c *Client) DeleteReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)

DeleteReadOnlyGroupNetworkAccess This API is used to delete a network of an RO group.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"

func (*Client) DeleteReadOnlyGroupWithContext

func (c *Client) DeleteReadOnlyGroupWithContext(ctx context.Context, request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)

DeleteReadOnlyGroup This API is used to delete an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
SYSTEMERROR = "SystemError"

func (*Client) DeleteServerlessDBInstance

func (c *Client) DeleteServerlessDBInstance(request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)

DeleteServerlessDBInstance This API is used to delete a PostgreSQL for Serverless instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
REGIONNOTSUPPORTED = "RegionNotSupported"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) DeleteServerlessDBInstanceWithContext

func (c *Client) DeleteServerlessDBInstanceWithContext(ctx context.Context, request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)

DeleteServerlessDBInstance This API is used to delete a PostgreSQL for Serverless instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
REGIONNOTSUPPORTED = "RegionNotSupported"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) DescribeAccounts

func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to get the instance user list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeAccountsWithContext

func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to get the instance user list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeAvailableRecoveryTime

func (c *Client) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)

DescribeAvailableRecoveryTime This API is used to query the available restoration time of an instance.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeAvailableRecoveryTimeWithContext

func (c *Client) DescribeAvailableRecoveryTimeWithContext(ctx context.Context, request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)

DescribeAvailableRecoveryTime This API is used to query the available restoration time of an instance.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupDownloadRestriction

func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)

DescribeBackupDownloadRestriction This API is used to query the backup download restrictions.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeBackupDownloadRestrictionWithContext

func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)

DescribeBackupDownloadRestriction This API is used to query the backup download restrictions.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeBackupDownloadURL

func (c *Client) DescribeBackupDownloadURL(request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)

DescribeBackupDownloadURL This API is used to get the download URL of a backup.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupDownloadURLWithContext

func (c *Client) DescribeBackupDownloadURLWithContext(ctx context.Context, request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)

DescribeBackupDownloadURL This API is used to get the download URL of a backup.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupOverview

func (c *Client) DescribeBackupOverview(request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)

DescribeBackupOverview This API is used to query the backup overview. It will return the current number and size of backups, free backup space size, and paid backup space size (all size values are in bytes).

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeBackupOverviewWithContext

func (c *Client) DescribeBackupOverviewWithContext(ctx context.Context, request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)

DescribeBackupOverview This API is used to query the backup overview. It will return the current number and size of backups, free backup space size, and paid backup space size (all size values are in bytes).

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeBackupPlans

func (c *Client) DescribeBackupPlans(request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)

DescribeBackupPlans This API is used to query all backup plans of an instance.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupPlansWithContext

func (c *Client) DescribeBackupPlansWithContext(ctx context.Context, request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)

DescribeBackupPlans This API is used to query all backup plans of an instance.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupSummaries

func (c *Client) DescribeBackupSummaries(request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)

DescribeBackupSummaries This API is used to query the backup statistics of an instance. It will return the number and size (bytes) of backups of the instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBackupSummariesWithContext

func (c *Client) DescribeBackupSummariesWithContext(ctx context.Context, request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)

DescribeBackupSummaries This API is used to query the backup statistics of an instance. It will return the number and size (bytes) of backups of the instance.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeBaseBackups

func (c *Client) DescribeBaseBackups(request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)

DescribeBaseBackups This API is used to query the list of full backups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeBaseBackupsWithContext

func (c *Client) DescribeBaseBackupsWithContext(ctx context.Context, request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)

DescribeBaseBackups This API is used to query the list of full backups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeClasses

func (c *Client) DescribeClasses(request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)

DescribeClasses This API is used to query purchasable instance specifications.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeClassesWithContext

func (c *Client) DescribeClassesWithContext(ctx context.Context, request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)

DescribeClasses This API is used to query purchasable instance specifications.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeCloneDBInstanceSpec

func (c *Client) DescribeCloneDBInstanceSpec(request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)

DescribeCloneDBInstanceSpec This API is used to query the minimum specification required by a cloned instance, including `SpecCode` and disk specification.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeCloneDBInstanceSpecWithContext

func (c *Client) DescribeCloneDBInstanceSpecWithContext(ctx context.Context, request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)

DescribeCloneDBInstanceSpec This API is used to query the minimum specification required by a cloned instance, including `SpecCode` and disk specification.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBBackups

func (c *Client) DescribeDBBackups(request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)

DescribeDBBackups This API is used to query the instance backup list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError"
FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDBBackupsWithContext

func (c *Client) DescribeDBBackupsWithContext(ctx context.Context, request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)

DescribeDBBackups This API is used to query the instance backup list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError"
FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDBErrlogs

func (c *Client) DescribeDBErrlogs(request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)

DescribeDBErrlogs This API is used to get error logs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBErrlogsWithContext

func (c *Client) DescribeDBErrlogsWithContext(ctx context.Context, request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)

DescribeDBErrlogs This API is used to get error logs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBInstanceAttribute

func (c *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)

DescribeDBInstanceAttribute This API is used to query the details of one instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBInstanceAttributeWithContext

func (c *Client) DescribeDBInstanceAttributeWithContext(ctx context.Context, request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)

DescribeDBInstanceAttribute This API is used to query the details of one instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBInstanceParameters

func (c *Client) DescribeDBInstanceParameters(request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)

DescribeDBInstanceParameters This API is used to get the list of modifiable parameters of an instance.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) DescribeDBInstanceParametersWithContext

func (c *Client) DescribeDBInstanceParametersWithContext(ctx context.Context, request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)

DescribeDBInstanceParameters This API is used to get the list of modifiable parameters of an instance.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) DescribeDBInstanceSecurityGroups

func (c *Client) DescribeDBInstanceSecurityGroups(request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)

DescribeDBInstanceSecurityGroups This API is used to query the security group information of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBInstanceSecurityGroupsWithContext

func (c *Client) DescribeDBInstanceSecurityGroupsWithContext(ctx context.Context, request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)

DescribeDBInstanceSecurityGroups This API is used to query the security group information of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBInstances

func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)

DescribeDBInstances This API is used to query the details of one or more instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDBInstancesWithContext

func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)

DescribeDBInstances This API is used to query the details of one or more instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDBSlowlogs

func (c *Client) DescribeDBSlowlogs(request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)

DescribeDBSlowlogs This API was used to get slow query logs. Since it was deprecated on September 1, 2021, it has no longer returned data. Please use the [DescribeSlowQueryList](https://intl.cloud.tencent.com/document/product/409/60540?from_cn_redirect=1) API instead to get slow query logs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError"
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBSlowlogsWithContext

func (c *Client) DescribeDBSlowlogsWithContext(ctx context.Context, request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)

DescribeDBSlowlogs This API was used to get slow query logs. Since it was deprecated on September 1, 2021, it has no longer returned data. Please use the [DescribeSlowQueryList](https://intl.cloud.tencent.com/document/product/409/60540?from_cn_redirect=1) API instead to get slow query logs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError"
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeDBVersions

func (c *Client) DescribeDBVersions(request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)

DescribeDBVersions This API is used to query the list of supported database versions.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeDBVersionsWithContext

func (c *Client) DescribeDBVersionsWithContext(ctx context.Context, request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)

DescribeDBVersions This API is used to query the list of supported database versions.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeDBXlogs

func (c *Client) DescribeDBXlogs(request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)

DescribeDBXlogs This API is used to get the instance Xlog list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError"
FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) DescribeDBXlogsWithContext

func (c *Client) DescribeDBXlogsWithContext(ctx context.Context, request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)

DescribeDBXlogs This API is used to get the instance Xlog list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError"
FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) DescribeDatabases

func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)

DescribeDatabases This API is used to pull the list of databases.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) DescribeDatabasesWithContext

func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)

DescribeDatabases This API is used to pull the list of databases.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) DescribeDefaultParameters

func (c *Client) DescribeDefaultParameters(request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)

DescribeDefaultParameters This API is used to query all parameters supported by a database version and engine.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"

func (*Client) DescribeDefaultParametersWithContext

func (c *Client) DescribeDefaultParametersWithContext(ctx context.Context, request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)

DescribeDefaultParameters This API is used to query all parameters supported by a database version and engine.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"

func (*Client) DescribeEncryptionKeys

func (c *Client) DescribeEncryptionKeys(request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)

DescribeEncryptionKeys This API is used to get instance key list.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeEncryptionKeysWithContext

func (c *Client) DescribeEncryptionKeysWithContext(ctx context.Context, request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)

DescribeEncryptionKeys This API is used to get instance key list.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeLogBackups

func (c *Client) DescribeLogBackups(request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)

DescribeLogBackups This API is used to query the list of log backups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeLogBackupsWithContext

func (c *Client) DescribeLogBackupsWithContext(ctx context.Context, request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)

DescribeLogBackups This API is used to query the list of log backups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeOrders

func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)

DescribeOrders This API is used to get order information.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeOrdersWithContext

func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)

DescribeOrders This API is used to get order information.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeParameterTemplateAttributes

func (c *Client) DescribeParameterTemplateAttributes(request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)

DescribeParameterTemplateAttributes This API is used to query the details of a parameter template, including basic information and parameter information.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"

func (*Client) DescribeParameterTemplateAttributesWithContext

func (c *Client) DescribeParameterTemplateAttributesWithContext(ctx context.Context, request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)

DescribeParameterTemplateAttributes This API is used to query the details of a parameter template, including basic information and parameter information.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"

func (*Client) DescribeParameterTemplates

func (c *Client) DescribeParameterTemplates(request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)

DescribeParameterTemplates This API is used to query the list of parameter templates.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeParameterTemplatesWithContext

func (c *Client) DescribeParameterTemplatesWithContext(ctx context.Context, request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)

DescribeParameterTemplates This API is used to query the list of parameter templates.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeParamsEvent

func (c *Client) DescribeParamsEvent(request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)

DescribeParamsEvent This API is used to get the details of parameter modification events.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeParamsEventWithContext

func (c *Client) DescribeParamsEventWithContext(ctx context.Context, request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)

DescribeParamsEvent This API is used to get the details of parameter modification events.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeProductConfig

func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)

DescribeProductConfig This API is used to query the purchasable specification configuration.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeProductConfigWithContext

func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)

DescribeProductConfig This API is used to query the purchasable specification configuration.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeReadOnlyGroups

func (c *Client) DescribeReadOnlyGroups(request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)

DescribeReadOnlyGroups This API is used to query RO group information by specifying the primary instance IDs.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeReadOnlyGroupsWithContext

func (c *Client) DescribeReadOnlyGroupsWithContext(ctx context.Context, request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)

DescribeReadOnlyGroups This API is used to query RO group information by specifying the primary instance IDs.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeRegions

func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query the purchasable regions.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRegionsWithContext

func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query the purchasable regions.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeServerlessDBInstances

func (c *Client) DescribeServerlessDBInstances(request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)

DescribeServerlessDBInstances This API is used to query the details of one or more PostgreSQL for Serverless instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeServerlessDBInstancesWithContext

func (c *Client) DescribeServerlessDBInstancesWithContext(ctx context.Context, request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)

DescribeServerlessDBInstances This API is used to query the details of one or more PostgreSQL for Serverless instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeSlowQueryAnalysis

func (c *Client) DescribeSlowQueryAnalysis(request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)

DescribeSlowQueryAnalysis This API is used to count and analyze slow query statements during the specified period of time and return aggregated statistical analysis results which are classified by statement with abstract parameter values.

error code that may be returned:

FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeSlowQueryAnalysisWithContext

func (c *Client) DescribeSlowQueryAnalysisWithContext(ctx context.Context, request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)

DescribeSlowQueryAnalysis This API is used to count and analyze slow query statements during the specified period of time and return aggregated statistical analysis results which are classified by statement with abstract parameter values.

error code that may be returned:

FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeSlowQueryList

func (c *Client) DescribeSlowQueryList(request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)

DescribeSlowQueryList This API is used to get the slow queries during the specified period of time.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeSlowQueryListWithContext

func (c *Client) DescribeSlowQueryListWithContext(ctx context.Context, request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)

DescribeSlowQueryList This API is used to get the slow queries during the specified period of time.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) DescribeZones

func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the supported AZs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeZonesWithContext

func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the supported AZs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DestroyDBInstance

func (c *Client) DestroyDBInstance(request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)

DestroyDBInstance This API is used to terminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an terminated instance will be deleted and cannot be recovered.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError"
FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError"
FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITOPERATION = "LimitOperation"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"

func (*Client) DestroyDBInstanceWithContext

func (c *Client) DestroyDBInstanceWithContext(ctx context.Context, request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)

DestroyDBInstance This API is used to terminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an terminated instance will be deleted and cannot be recovered.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError"
FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError"
FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITOPERATION = "LimitOperation"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"

func (*Client) DisIsolateDBInstances

func (c *Client) DisIsolateDBInstances(request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)

DisIsolateDBInstances This API is used to remove one or more instances from isolation.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITEXCEEDED = "LimitExceeded"
LIMITOPERATION = "LimitOperation"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DisIsolateDBInstancesWithContext

func (c *Client) DisIsolateDBInstancesWithContext(ctx context.Context, request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)

DisIsolateDBInstances This API is used to remove one or more instances from isolation.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
LIMITEXCEEDED = "LimitExceeded"
LIMITOPERATION = "LimitOperation"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) InitDBInstances

func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)

InitDBInstances This API is used to initialize a TencentDB for PostgreSQL instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) InitDBInstancesWithContext

func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)

InitDBInstances This API is used to initialize a TencentDB for PostgreSQL instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) InquiryPriceCreateDBInstances

func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)

InquiryPriceCreateDBInstances This API is used to query the purchase price of one or multiple instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"

func (*Client) InquiryPriceCreateDBInstancesWithContext

func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)

InquiryPriceCreateDBInstances This API is used to query the purchase price of one or multiple instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"

func (*Client) InquiryPriceRenewDBInstance

func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)

InquiryPriceRenewDBInstance This API is used to query the renewal price of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) InquiryPriceRenewDBInstanceWithContext

func (c *Client) InquiryPriceRenewDBInstanceWithContext(ctx context.Context, request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)

InquiryPriceRenewDBInstance This API is used to query the renewal price of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) InquiryPriceUpgradeDBInstance

func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)

InquiryPriceUpgradeDBInstance This API is used to query the fees of upgrading a specified database instance. Only pay-as-you-go instance is supported.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) InquiryPriceUpgradeDBInstanceWithContext

func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)

InquiryPriceUpgradeDBInstance This API is used to query the fees of upgrading a specified database instance. Only pay-as-you-go instance is supported.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) IsolateDBInstances

func (c *Client) IsolateDBInstances(request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)

IsolateDBInstances This API is used to isolate one or more instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError"
FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus"
FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError"
FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
LIMITEXCEEDED = "LimitExceeded"
LIMITOPERATION = "LimitOperation"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
REGIONNOTSUPPORTED = "RegionNotSupported"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) IsolateDBInstancesWithContext

func (c *Client) IsolateDBInstancesWithContext(ctx context.Context, request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)

IsolateDBInstances This API is used to isolate one or more instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError"
FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus"
FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError"
FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
LIMITEXCEEDED = "LimitExceeded"
LIMITOPERATION = "LimitOperation"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
REGIONNOTSUPPORTED = "RegionNotSupported"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyAccountRemark

func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)

ModifyAccountRemark This API is used to modify account remarks.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyAccountRemarkWithContext

func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)

ModifyAccountRemark This API is used to modify account remarks.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyBackupDownloadRestriction

func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)

ModifyBackupDownloadRestriction This API is used to modify the backup download restrictions.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyBackupDownloadRestrictionWithContext

func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)

ModifyBackupDownloadRestriction This API is used to modify the backup download restrictions.

error code that may be returned:

FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyBackupPlan

func (c *Client) ModifyBackupPlan(request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)

ModifyBackupPlan This API is used to modify the backup plan of an instance, such as modifying the backup start time. By default, a full backup starts at midnight every day and the generated backup files will be retained for seven days.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyBackupPlanWithContext

func (c *Client) ModifyBackupPlanWithContext(ctx context.Context, request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)

ModifyBackupPlan This API is used to modify the backup plan of an instance, such as modifying the backup start time. By default, a full backup starts at midnight every day and the generated backup files will be retained for seven days.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyBaseBackupExpireTime

func (c *Client) ModifyBaseBackupExpireTime(request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)

ModifyBaseBackupExpireTime This API is used to modify the expiration time of the specified full backup of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyBaseBackupExpireTimeWithContext

func (c *Client) ModifyBaseBackupExpireTimeWithContext(ctx context.Context, request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)

ModifyBaseBackupExpireTime This API is used to modify the expiration time of the specified full backup of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceChargeType

func (c *Client) ModifyDBInstanceChargeType(request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)

ModifyDBInstanceChargeType This API is used to switch the instance billing mode from pay-as-you-go to monthly subscription.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

func (*Client) ModifyDBInstanceChargeTypeWithContext

func (c *Client) ModifyDBInstanceChargeTypeWithContext(ctx context.Context, request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)

ModifyDBInstanceChargeType This API is used to switch the instance billing mode from pay-as-you-go to monthly subscription.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

func (*Client) ModifyDBInstanceDeployment

func (c *Client) ModifyDBInstanceDeployment(request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)

ModifyDBInstanceDeployment This API is used to modify the AZs where the nodes of a source instance reside.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) ModifyDBInstanceDeploymentWithContext

func (c *Client) ModifyDBInstanceDeploymentWithContext(ctx context.Context, request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)

ModifyDBInstanceDeployment This API is used to modify the AZs where the nodes of a source instance reside.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) ModifyDBInstanceName

func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)

ModifyDBInstanceName This API is used to rename a TencentDB for PostgreSQL instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceNameWithContext

func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)

ModifyDBInstanceName This API is used to rename a TencentDB for PostgreSQL instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceParameters

func (c *Client) ModifyDBInstanceParameters(request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)

ModifyDBInstanceParameters This API is used to modify parameters in batches.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceParametersWithContext

func (c *Client) ModifyDBInstanceParametersWithContext(ctx context.Context, request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)

ModifyDBInstanceParameters This API is used to modify parameters in batches.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceReadOnlyGroup

func (c *Client) ModifyDBInstanceReadOnlyGroup(request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)

ModifyDBInstanceReadOnlyGroup This API is used to modify the RO group of an instance.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) ModifyDBInstanceReadOnlyGroupWithContext

func (c *Client) ModifyDBInstanceReadOnlyGroupWithContext(ctx context.Context, request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)

ModifyDBInstanceReadOnlyGroup This API is used to modify the RO group of an instance.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) ModifyDBInstanceSecurityGroups

func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify the security group of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceSecurityGroupsWithContext

func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify the security group of an instance.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceSpec

func (c *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)

ModifyDBInstanceSpec This API is used to modify instance specifications including memory and disk size.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceSpecWithContext

func (c *Client) ModifyDBInstanceSpecWithContext(ctx context.Context, request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)

ModifyDBInstanceSpec This API is used to modify instance specifications including memory and disk size.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstancesProject

func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)

ModifyDBInstancesProject This API is used to transfer an instance to another project.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstancesProjectWithContext

func (c *Client) ModifyDBInstancesProjectWithContext(ctx context.Context, request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)

ModifyDBInstancesProject This API is used to transfer an instance to another project.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyParameterTemplate

func (c *Client) ModifyParameterTemplate(request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)

ModifyParameterTemplate This API is used to modify the parameter template name and description, and add or delete parameter template parameters.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyParameterTemplateWithContext

func (c *Client) ModifyParameterTemplateWithContext(ctx context.Context, request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)

ModifyParameterTemplate This API is used to modify the parameter template name and description, and add or delete parameter template parameters.

error code that may be returned:

FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyReadOnlyGroupConfig

func (c *Client) ModifyReadOnlyGroupConfig(request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)

ModifyReadOnlyGroupConfig This API is used to modify RO group configuration.

error code that may be returned:

FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError"
FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyReadOnlyGroupConfigWithContext

func (c *Client) ModifyReadOnlyGroupConfigWithContext(ctx context.Context, request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)

ModifyReadOnlyGroupConfig This API is used to modify RO group configuration.

error code that may be returned:

FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError"
FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifySwitchTimePeriod

func (c *Client) ModifySwitchTimePeriod(request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)

ModifySwitchTimePeriod This API is used to perform a primary-standby switch for an instance waiting for the switch after it is upgraded.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) ModifySwitchTimePeriodWithContext

func (c *Client) ModifySwitchTimePeriodWithContext(ctx context.Context, request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)

ModifySwitchTimePeriod This API is used to perform a primary-standby switch for an instance waiting for the switch after it is upgraded.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) OpenDBExtranetAccess

func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)

OpenDBExtranetAccess This API is used to enable public network access.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) OpenDBExtranetAccessWithContext

func (c *Client) OpenDBExtranetAccessWithContext(ctx context.Context, request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)

OpenDBExtranetAccess This API is used to enable public network access.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) OpenServerlessDBExtranetAccess

func (c *Client) OpenServerlessDBExtranetAccess(request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)

OpenServerlessDBExtranetAccess This API is used to enable public network access for a PostgreSQL for Serverless instance.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FLOWERROR = "FlowError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
VPCERROR = "VpcError"

func (*Client) OpenServerlessDBExtranetAccessWithContext

func (c *Client) OpenServerlessDBExtranetAccessWithContext(ctx context.Context, request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)

OpenServerlessDBExtranetAccess This API is used to enable public network access for a PostgreSQL for Serverless instance.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FLOWERROR = "FlowError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDACCOUNTSTATUS = "InvalidAccountStatus"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
STRUCTPARSEFAILED = "StructParseFailed"
SYSTEMERROR = "SystemError"
UNKNOWNERROR = "UnknownError"
VPCERROR = "VpcError"

func (*Client) RebalanceReadOnlyGroup

func (c *Client) RebalanceReadOnlyGroup(request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)

RebalanceReadOnlyGroup This API is used to rebalance the loads of read-only replicas in an RO group. Please note that connections to those read-only replicas will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.

error code that may be returned:

FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError"
FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
VPCERROR = "VpcError"

func (*Client) RebalanceReadOnlyGroupWithContext

func (c *Client) RebalanceReadOnlyGroupWithContext(ctx context.Context, request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)

RebalanceReadOnlyGroup This API is used to rebalance the loads of read-only replicas in an RO group. Please note that connections to those read-only replicas will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.

error code that may be returned:

FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError"
FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
VPCERROR = "VpcError"

func (*Client) RemoveDBInstanceFromReadOnlyGroup

func (c *Client) RemoveDBInstanceFromReadOnlyGroup(request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)

RemoveDBInstanceFromReadOnlyGroup This API is used to remove a read-only replica from an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) RemoveDBInstanceFromReadOnlyGroupWithContext

func (c *Client) RemoveDBInstanceFromReadOnlyGroupWithContext(ctx context.Context, request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)

RemoveDBInstanceFromReadOnlyGroup This API is used to remove a read-only replica from an RO group.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDINSTANCESTATUS = "InvalidInstanceStatus"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) RenewInstance

func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)

RenewInstance This API is used to renew an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"

func (*Client) RenewInstanceWithContext

func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)

RenewInstance This API is used to renew an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission"
RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"

func (*Client) ResetAccountPassword

func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)

ResetAccountPassword This API is used to reset the account password of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDACCOUNTPASSWORD = "InvalidAccountPassword"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ResetAccountPasswordWithContext

func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)

ResetAccountPassword This API is used to reset the account password of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError"
FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDACCOUNTPASSWORD = "InvalidAccountPassword"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) RestartDBInstance

func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)

RestartDBInstance This API is used to restart an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) RestartDBInstanceWithContext

func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)

RestartDBInstance This API is used to restart an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) SetAutoRenewFlag

func (c *Client) SetAutoRenewFlag(request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)

SetAutoRenewFlag This API is used to set auto-renewal.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) SetAutoRenewFlagWithContext

func (c *Client) SetAutoRenewFlagWithContext(ctx context.Context, request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)

SetAutoRenewFlag This API is used to set auto-renewal.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) UpgradeDBInstance

func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)

UpgradeDBInstance This API is used to upgrade instance configurations.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

func (*Client) UpgradeDBInstanceKernelVersion

func (c *Client) UpgradeDBInstanceKernelVersion(request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)

UpgradeDBInstanceKernelVersion This API is used to upgrade the kernel version of an instance.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) UpgradeDBInstanceKernelVersionWithContext

func (c *Client) UpgradeDBInstanceKernelVersionWithContext(ctx context.Context, request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)

UpgradeDBInstanceKernelVersion This API is used to upgrade the kernel version of an instance.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) UpgradeDBInstanceWithContext

func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)

UpgradeDBInstance This API is used to upgrade instance configurations.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"

type CloneDBInstanceRequest

type CloneDBInstanceRequest struct {
	*tchttp.BaseRequest

	// ID of the original instance to be cloned.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of a subnet in the VPC specified by `VpcId`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Name of the purchased instance.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Security group ID.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// The information of tags to be bound with the purchased instance. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// This parameter is required if you purchase a multi-AZ deployed instance.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list.
	VoucherIds *string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Campaign ID.
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Basic backup set ID.
	BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"`

	// Restoration point in time.
	RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"`
}

func NewCloneDBInstanceRequest

func NewCloneDBInstanceRequest() (request *CloneDBInstanceRequest)

func (*CloneDBInstanceRequest) FromJsonString

func (r *CloneDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneDBInstanceRequest) ToJsonString

func (r *CloneDBInstanceRequest) ToJsonString() string

type CloneDBInstanceRequestParams

type CloneDBInstanceRequestParams struct {
	// ID of the original instance to be cloned.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of a subnet in the VPC specified by `VpcId`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Name of the purchased instance.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Security group ID.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// The information of tags to be bound with the purchased instance. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// This parameter is required if you purchase a multi-AZ deployed instance.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list.
	VoucherIds *string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Campaign ID.
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Basic backup set ID.
	BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"`

	// Restoration point in time.
	RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"`
}

Predefined struct for user

type CloneDBInstanceResponse

type CloneDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CloneDBInstanceResponseParams `json:"Response"`
}

func NewCloneDBInstanceResponse

func NewCloneDBInstanceResponse() (response *CloneDBInstanceResponse)

func (*CloneDBInstanceResponse) FromJsonString

func (r *CloneDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneDBInstanceResponse) ToJsonString

func (r *CloneDBInstanceResponse) ToJsonString() string

type CloneDBInstanceResponseParams

type CloneDBInstanceResponseParams struct {
	// Order ID.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// Bill ID.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// ID of the cloned instance, which will be returned only when the instance is pay-as-you-go.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseDBExtranetAccessRequest

type CloseDBExtranetAccessRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6r233v55
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to disable public network access over IPv6 address. Valid values: 1 (yes), 0 (no)
	IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"`
}

func NewCloseDBExtranetAccessRequest

func NewCloseDBExtranetAccessRequest() (request *CloseDBExtranetAccessRequest)

func (*CloseDBExtranetAccessRequest) FromJsonString

func (r *CloseDBExtranetAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseDBExtranetAccessRequest) ToJsonString

func (r *CloseDBExtranetAccessRequest) ToJsonString() string

type CloseDBExtranetAccessRequestParams

type CloseDBExtranetAccessRequestParams struct {
	// Instance ID in the format of postgres-6r233v55
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to disable public network access over IPv6 address. Valid values: 1 (yes), 0 (no)
	IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"`
}

Predefined struct for user

type CloseDBExtranetAccessResponse

type CloseDBExtranetAccessResponse struct {
	*tchttp.BaseResponse
	Response *CloseDBExtranetAccessResponseParams `json:"Response"`
}

func NewCloseDBExtranetAccessResponse

func NewCloseDBExtranetAccessResponse() (response *CloseDBExtranetAccessResponse)

func (*CloseDBExtranetAccessResponse) FromJsonString

func (r *CloseDBExtranetAccessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseDBExtranetAccessResponse) ToJsonString

func (r *CloseDBExtranetAccessResponse) ToJsonString() string

type CloseDBExtranetAccessResponseParams

type CloseDBExtranetAccessResponseParams struct {
	// Async task flow ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseServerlessDBExtranetAccessRequest

type CloseServerlessDBExtranetAccessRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an instance
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`
}

func NewCloseServerlessDBExtranetAccessRequest

func NewCloseServerlessDBExtranetAccessRequest() (request *CloseServerlessDBExtranetAccessRequest)

func (*CloseServerlessDBExtranetAccessRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseServerlessDBExtranetAccessRequest) ToJsonString

type CloseServerlessDBExtranetAccessRequestParams

type CloseServerlessDBExtranetAccessRequestParams struct {
	// Unique ID of an instance
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`
}

Predefined struct for user

type CloseServerlessDBExtranetAccessResponse

type CloseServerlessDBExtranetAccessResponse struct {
	*tchttp.BaseResponse
	Response *CloseServerlessDBExtranetAccessResponseParams `json:"Response"`
}

func NewCloseServerlessDBExtranetAccessResponse

func NewCloseServerlessDBExtranetAccessResponse() (response *CloseServerlessDBExtranetAccessResponse)

func (*CloseServerlessDBExtranetAccessResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseServerlessDBExtranetAccessResponse) ToJsonString

type CloseServerlessDBExtranetAccessResponseParams

type CloseServerlessDBExtranetAccessResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBaseBackupRequest

type CreateBaseBackupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewCreateBaseBackupRequest

func NewCreateBaseBackupRequest() (request *CreateBaseBackupRequest)

func (*CreateBaseBackupRequest) FromJsonString

func (r *CreateBaseBackupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBaseBackupRequest) ToJsonString

func (r *CreateBaseBackupRequest) ToJsonString() string

type CreateBaseBackupRequestParams

type CreateBaseBackupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type CreateBaseBackupResponse

type CreateBaseBackupResponse struct {
	*tchttp.BaseResponse
	Response *CreateBaseBackupResponseParams `json:"Response"`
}

func NewCreateBaseBackupResponse

func NewCreateBaseBackupResponse() (response *CreateBaseBackupResponse)

func (*CreateBaseBackupResponse) FromJsonString

func (r *CreateBaseBackupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBaseBackupResponse) ToJsonString

func (r *CreateBaseBackupResponse) ToJsonString() string

type CreateBaseBackupResponseParams

type CreateBaseBackupResponseParams struct {
	// Full backup set ID
	BaseBackupId *string `json:"BaseBackupId,omitempty" name:"BaseBackupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDBInstanceNetworkAccessRequest

type CreateDBInstanceNetworkAccessRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unified VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
	IsAssignVip *bool `json:"IsAssignVip,omitempty" name:"IsAssignVip"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewCreateDBInstanceNetworkAccessRequest

func NewCreateDBInstanceNetworkAccessRequest() (request *CreateDBInstanceNetworkAccessRequest)

func (*CreateDBInstanceNetworkAccessRequest) FromJsonString

func (r *CreateDBInstanceNetworkAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstanceNetworkAccessRequest) ToJsonString

func (r *CreateDBInstanceNetworkAccessRequest) ToJsonString() string

type CreateDBInstanceNetworkAccessRequestParams

type CreateDBInstanceNetworkAccessRequestParams struct {
	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unified VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
	IsAssignVip *bool `json:"IsAssignVip,omitempty" name:"IsAssignVip"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

Predefined struct for user

type CreateDBInstanceNetworkAccessResponse

type CreateDBInstanceNetworkAccessResponse struct {
	*tchttp.BaseResponse
	Response *CreateDBInstanceNetworkAccessResponseParams `json:"Response"`
}

func NewCreateDBInstanceNetworkAccessResponse

func NewCreateDBInstanceNetworkAccessResponse() (response *CreateDBInstanceNetworkAccessResponse)

func (*CreateDBInstanceNetworkAccessResponse) FromJsonString

func (r *CreateDBInstanceNetworkAccessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstanceNetworkAccessResponse) ToJsonString

type CreateDBInstanceNetworkAccessResponseParams

type CreateDBInstanceNetworkAccessResponseParams struct {
	// Task ID.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDBInstancesRequest

type CreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance capacity size in GB.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances purchased at a time. Value range: 1-100.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// PostgreSQL version. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. You must pass in at least one of the following parameters: DBVersion, DBMajorVersion, DBKernelVersion.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing type.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: no.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently).
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Renewal flag. 0: normal renewal (default), 1: auto-renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Activity ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: 1 (yes), 0 (no)
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// The information of tags to be associated with instances. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// PostgreSQL major version. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. You must pass in at least one of the following parameters: DBMajorVersion, DBVersion, DBKernelVersion.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// PostgreSQL kernel version. If it is specified, an instance running the latest kernel of PostgreSQL `DBKernelVersion` will be created. You must pass in one of the following parameters: DBKernelVersion, DBVersion, DBMajorVersion.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`
}

func NewCreateDBInstancesRequest

func NewCreateDBInstancesRequest() (request *CreateDBInstancesRequest)

func (*CreateDBInstancesRequest) FromJsonString

func (r *CreateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstancesRequest) ToJsonString

func (r *CreateDBInstancesRequest) ToJsonString() string

type CreateDBInstancesRequestParams

type CreateDBInstancesRequestParams struct {
	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance capacity size in GB.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances purchased at a time. Value range: 1-100.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// PostgreSQL version. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. You must pass in at least one of the following parameters: DBVersion, DBMajorVersion, DBKernelVersion.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing type.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: no.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently).
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Renewal flag. 0: normal renewal (default), 1: auto-renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Activity ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: 1 (yes), 0 (no)
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// The information of tags to be associated with instances. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// PostgreSQL major version. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. You must pass in at least one of the following parameters: DBMajorVersion, DBVersion, DBKernelVersion.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// PostgreSQL kernel version. If it is specified, an instance running the latest kernel of PostgreSQL `DBKernelVersion` will be created. You must pass in one of the following parameters: DBKernelVersion, DBVersion, DBMajorVersion.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`
}

Predefined struct for user

type CreateDBInstancesResponse

type CreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateDBInstancesResponseParams `json:"Response"`
}

func NewCreateDBInstancesResponse

func NewCreateDBInstancesResponse() (response *CreateDBInstancesResponse)

func (*CreateDBInstancesResponse) FromJsonString

func (r *CreateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstancesResponse) ToJsonString

func (r *CreateDBInstancesResponse) ToJsonString() string

type CreateDBInstancesResponseParams

type CreateDBInstancesResponseParams struct {
	// Order number list. Each instance corresponds to an order number.
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`

	// Bill ID of frozen fees
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// ID set of instances which have been created successfully. The parameter value will be returned only when the billing mode is postpaid.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateInstancesRequest

type CreateInstancesRequest struct {
	*tchttp.BaseRequest

	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// The number of instances purchased at a time. Value range: 1-10.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Instance character set. Valid values: `UTF8`, `LATIN1`.
	Charset *string `json:"Charset,omitempty" name:"Charset"`

	// Instance root account name
	AdminName *string `json:"AdminName,omitempty" name:"AdminName"`

	// Instance root account password
	AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// PostgreSQL version. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. You must pass in at least one of the following parameters: DBVersion, DBMajorVersion, DBKernelVersion.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of a subnet in the VPC specified by `VpcId`
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Campaign ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no). Default value: `0`
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// The information of tags to be associated with instances. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// PostgreSQL major version. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. You must pass in at least one of the following parameters: DBMajorVersion, DBVersion, DBKernelVersion.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// PostgreSQL kernel version. If it is specified, an instance running the latest kernel of PostgreSQL `DBKernelVersion` will be created. You must pass in one of the following parameters: DBKernelVersion, DBVersion, DBMajorVersion.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Instance node information, which is required if you purchase a multi-AZ deployed instance.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Whether to support transparent data encryption. Valid values: 1 (yes), 0 (no). Default value: 0.
	NeedSupportTDE *uint64 `json:"NeedSupportTDE,omitempty" name:"NeedSupportTDE"`

	// KeyId of custom key, which is required if you select custom key encryption. It is also the unique CMK identifier.
	KMSKeyId *string `json:"KMSKeyId,omitempty" name:"KMSKeyId"`

	// The region where the KMS service is enabled. When `KMSRegion` is left empty, the KMS of the current region will be enabled by default. If the current region is not supported, you need to select another region supported by KMS.
	KMSRegion *string `json:"KMSRegion,omitempty" name:"KMSRegion"`

	// Database engine. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible`(MSSQL compatible-TencentDB for PostgreSQL)
	// Default value: `postgresql`
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Configuration information of database engine in the following format:
	// {"$key1":"$value1", "$key2":"$value2"}
	//
	// Valid values:
	// 1. mssql_compatible engine:
	// `migrationMode`: Database mode. Valid values: `single-db` (single-database mode), `multi-db` (multi-database mode). Default value: `single-db`.
	// `defaultLocale`: Default locale, which can’t be modified after the initialization. Default value: `en_US`. Valid values:
	// "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN".
	// `serverCollationName`: Name of collation rule, which can’t be modified after the initialization. Default value: `sql_latin1_general_cp1_ci_as`. Valid values:
	// "bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as".
	DBEngineConfig *string `json:"DBEngineConfig,omitempty" name:"DBEngineConfig"`
}

func NewCreateInstancesRequest

func NewCreateInstancesRequest() (request *CreateInstancesRequest)

func (*CreateInstancesRequest) FromJsonString

func (r *CreateInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesRequest) ToJsonString

func (r *CreateInstancesRequest) ToJsonString() string

type CreateInstancesRequestParams

type CreateInstancesRequestParams struct {
	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// The number of instances purchased at a time. Value range: 1-10.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Instance character set. Valid values: `UTF8`, `LATIN1`.
	Charset *string `json:"Charset,omitempty" name:"Charset"`

	// Instance root account name
	AdminName *string `json:"AdminName,omitempty" name:"AdminName"`

	// Instance root account password
	AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// PostgreSQL version. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created. You must pass in at least one of the following parameters: DBVersion, DBMajorVersion, DBKernelVersion.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of a subnet in the VPC specified by `VpcId`
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Campaign ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no). Default value: `0`
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// The information of tags to be associated with instances. This parameter is left empty by default.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// PostgreSQL major version. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created. You must pass in at least one of the following parameters: DBMajorVersion, DBVersion, DBKernelVersion.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// PostgreSQL kernel version. If it is specified, an instance running the latest kernel of PostgreSQL `DBKernelVersion` will be created. You must pass in one of the following parameters: DBKernelVersion, DBVersion, DBMajorVersion.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Instance node information, which is required if you purchase a multi-AZ deployed instance.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Whether to support transparent data encryption. Valid values: 1 (yes), 0 (no). Default value: 0.
	NeedSupportTDE *uint64 `json:"NeedSupportTDE,omitempty" name:"NeedSupportTDE"`

	// KeyId of custom key, which is required if you select custom key encryption. It is also the unique CMK identifier.
	KMSKeyId *string `json:"KMSKeyId,omitempty" name:"KMSKeyId"`

	// The region where the KMS service is enabled. When `KMSRegion` is left empty, the KMS of the current region will be enabled by default. If the current region is not supported, you need to select another region supported by KMS.
	KMSRegion *string `json:"KMSRegion,omitempty" name:"KMSRegion"`

	// Database engine. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible`(MSSQL compatible-TencentDB for PostgreSQL)
	// Default value: `postgresql`
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Configuration information of database engine in the following format:
	// {"$key1":"$value1", "$key2":"$value2"}
	//
	// Valid values:
	// 1. mssql_compatible engine:
	// `migrationMode`: Database mode. Valid values: `single-db` (single-database mode), `multi-db` (multi-database mode). Default value: `single-db`.
	// `defaultLocale`: Default locale, which can’t be modified after the initialization. Default value: `en_US`. Valid values:
	// "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN".
	// `serverCollationName`: Name of collation rule, which can’t be modified after the initialization. Default value: `sql_latin1_general_cp1_ci_as`. Valid values:
	// "bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as".
	DBEngineConfig *string `json:"DBEngineConfig,omitempty" name:"DBEngineConfig"`
}

Predefined struct for user

type CreateInstancesResponse

type CreateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateInstancesResponseParams `json:"Response"`
}

func NewCreateInstancesResponse

func NewCreateInstancesResponse() (response *CreateInstancesResponse)

func (*CreateInstancesResponse) FromJsonString

func (r *CreateInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesResponse) ToJsonString

func (r *CreateInstancesResponse) ToJsonString() string

type CreateInstancesResponseParams

type CreateInstancesResponseParams struct {
	// Order number list. Each instance corresponds to an order number.
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`

	// Bill ID of frozen fees
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// ID set of instances which have been created successfully. The parameter value will be returned only when the pay-as-you-go billing mode is used.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateParameterTemplateRequest

type CreateParameterTemplateRequest struct {
	*tchttp.BaseRequest

	// Template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@).
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// The major database version number, such as 11, 12, 13.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine, such as postgresql, mssql_compatible.
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@).
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`
}

func NewCreateParameterTemplateRequest

func NewCreateParameterTemplateRequest() (request *CreateParameterTemplateRequest)

func (*CreateParameterTemplateRequest) FromJsonString

func (r *CreateParameterTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateParameterTemplateRequest) ToJsonString

func (r *CreateParameterTemplateRequest) ToJsonString() string

type CreateParameterTemplateRequestParams

type CreateParameterTemplateRequestParams struct {
	// Template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@).
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// The major database version number, such as 11, 12, 13.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine, such as postgresql, mssql_compatible.
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@).
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`
}

Predefined struct for user

type CreateParameterTemplateResponse

type CreateParameterTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateParameterTemplateResponseParams `json:"Response"`
}

func NewCreateParameterTemplateResponse

func NewCreateParameterTemplateResponse() (response *CreateParameterTemplateResponse)

func (*CreateParameterTemplateResponse) FromJsonString

func (r *CreateParameterTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateParameterTemplateResponse) ToJsonString

func (r *CreateParameterTemplateResponse) ToJsonString() string

type CreateParameterTemplateResponseParams

type CreateParameterTemplateResponseParams struct {
	// Parameter template ID, which uniquely identifies a parameter template.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReadOnlyDBInstanceRequest

type CreateReadOnlyDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances purchased at a time. Value range: 1–100.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// ID of the primary instance to which the read-only replica belongs
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// (Disused) You don’t need to specify a version, as the kernel version is as the same as that of the instance.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing mode. Valid value: `POSTPAID_BY_HOUR` (pay-as-you-go). If the source instance is pay-as-you-go, so is the read-only instance.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Special offer ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no).
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// The information of tags to be bound with the purchased instance, which is left empty by default (type: tag array).
	TagList *Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

func NewCreateReadOnlyDBInstanceRequest

func NewCreateReadOnlyDBInstanceRequest() (request *CreateReadOnlyDBInstanceRequest)

func (*CreateReadOnlyDBInstanceRequest) FromJsonString

func (r *CreateReadOnlyDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyDBInstanceRequest) ToJsonString

func (r *CreateReadOnlyDBInstanceRequest) ToJsonString() string

type CreateReadOnlyDBInstanceRequestParams

type CreateReadOnlyDBInstanceRequestParams struct {
	// Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Instance storage capacity in GB
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances purchased at a time. Value range: 1–100.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Valid period in months of purchased instances. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// ID of the primary instance to which the read-only replica belongs
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// Availability zone ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// (Disused) You don’t need to specify a version, as the kernel version is as the same as that of the instance.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance billing mode. Valid value: `POSTPAID_BY_HOUR` (pay-as-you-go). If the source instance is pay-as-you-go, so is the read-only instance.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Special offer ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no).
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// The information of tags to be bound with the purchased instance, which is left empty by default (type: tag array).
	TagList *Tag `json:"TagList,omitempty" name:"TagList"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type CreateReadOnlyDBInstanceResponse

type CreateReadOnlyDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CreateReadOnlyDBInstanceResponseParams `json:"Response"`
}

func NewCreateReadOnlyDBInstanceResponse

func NewCreateReadOnlyDBInstanceResponse() (response *CreateReadOnlyDBInstanceResponse)

func (*CreateReadOnlyDBInstanceResponse) FromJsonString

func (r *CreateReadOnlyDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyDBInstanceResponse) ToJsonString

func (r *CreateReadOnlyDBInstanceResponse) ToJsonString() string

type CreateReadOnlyDBInstanceResponseParams

type CreateReadOnlyDBInstanceResponseParams struct {
	// Order number list. Each instance corresponds to an order number.
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`

	// Bill ID of frozen fees
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// ID set of instances which have been created successfully. The parameter value will be returned only when the pay-as-you-go billing mode is used.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReadOnlyGroupNetworkAccessRequest

type CreateReadOnlyGroupNetworkAccessRequest struct {
	*tchttp.BaseRequest

	// RO group ID in the format of pgro-4t9c6g7k.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// Unified VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
	IsAssignVip *bool `json:"IsAssignVip,omitempty" name:"IsAssignVip"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewCreateReadOnlyGroupNetworkAccessRequest

func NewCreateReadOnlyGroupNetworkAccessRequest() (request *CreateReadOnlyGroupNetworkAccessRequest)

func (*CreateReadOnlyGroupNetworkAccessRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyGroupNetworkAccessRequest) ToJsonString

type CreateReadOnlyGroupNetworkAccessRequestParams

type CreateReadOnlyGroupNetworkAccessRequestParams struct {
	// RO group ID in the format of pgro-4t9c6g7k.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// Unified VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
	IsAssignVip *bool `json:"IsAssignVip,omitempty" name:"IsAssignVip"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

Predefined struct for user

type CreateReadOnlyGroupNetworkAccessResponse

type CreateReadOnlyGroupNetworkAccessResponse struct {
	*tchttp.BaseResponse
	Response *CreateReadOnlyGroupNetworkAccessResponseParams `json:"Response"`
}

func NewCreateReadOnlyGroupNetworkAccessResponse

func NewCreateReadOnlyGroupNetworkAccessResponse() (response *CreateReadOnlyGroupNetworkAccessResponse)

func (*CreateReadOnlyGroupNetworkAccessResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyGroupNetworkAccessResponse) ToJsonString

type CreateReadOnlyGroupNetworkAccessResponseParams

type CreateReadOnlyGroupNetworkAccessResponseParams struct {
	// Task ID.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReadOnlyGroupRequest

type CreateReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// RO group name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delay threshold in ms
	MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Delayed log size threshold in MB
	MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// The minimum number of read-only replicas that must be retained in an RO group
	MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

func NewCreateReadOnlyGroupRequest

func NewCreateReadOnlyGroupRequest() (request *CreateReadOnlyGroupRequest)

func (*CreateReadOnlyGroupRequest) FromJsonString

func (r *CreateReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyGroupRequest) ToJsonString

func (r *CreateReadOnlyGroupRequest) ToJsonString() string

type CreateReadOnlyGroupRequestParams

type CreateReadOnlyGroupRequestParams struct {
	// Primary instance ID
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// RO group name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delay threshold in ms
	MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Delayed log size threshold in MB
	MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// The minimum number of read-only replicas that must be retained in an RO group
	MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`

	// Security group ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type CreateReadOnlyGroupResponse

type CreateReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateReadOnlyGroupResponseParams `json:"Response"`
}

func NewCreateReadOnlyGroupResponse

func NewCreateReadOnlyGroupResponse() (response *CreateReadOnlyGroupResponse)

func (*CreateReadOnlyGroupResponse) FromJsonString

func (r *CreateReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyGroupResponse) ToJsonString

func (r *CreateReadOnlyGroupResponse) ToJsonString() string

type CreateReadOnlyGroupResponseParams

type CreateReadOnlyGroupResponseParams struct {
	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// Task ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateServerlessDBInstanceRequest

type CreateServerlessDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Availability zone ID. Only ap-shanghai-2, ap-beijing-1, and ap-guangzhou-2 are supported during the beta test.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Instance name. The value must be unique for the same account.
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Kernel version of a PostgreSQL instance. Currently, only 10.4 is supported.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Database character set of a PostgreSQL instance. Currently, only UTF-8 is supported.
	DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Array of tags to be bound with the instance
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`
}

func NewCreateServerlessDBInstanceRequest

func NewCreateServerlessDBInstanceRequest() (request *CreateServerlessDBInstanceRequest)

func (*CreateServerlessDBInstanceRequest) FromJsonString

func (r *CreateServerlessDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServerlessDBInstanceRequest) ToJsonString

func (r *CreateServerlessDBInstanceRequest) ToJsonString() string

type CreateServerlessDBInstanceRequestParams

type CreateServerlessDBInstanceRequestParams struct {
	// Availability zone ID. Only ap-shanghai-2, ap-beijing-1, and ap-guangzhou-2 are supported during the beta test.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Instance name. The value must be unique for the same account.
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Kernel version of a PostgreSQL instance. Currently, only 10.4 is supported.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Database character set of a PostgreSQL instance. Currently, only UTF-8 is supported.
	DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC subnet ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Array of tags to be bound with the instance
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`
}

Predefined struct for user

type CreateServerlessDBInstanceResponse

type CreateServerlessDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CreateServerlessDBInstanceResponseParams `json:"Response"`
}

func NewCreateServerlessDBInstanceResponse

func NewCreateServerlessDBInstanceResponse() (response *CreateServerlessDBInstanceResponse)

func (*CreateServerlessDBInstanceResponse) FromJsonString

func (r *CreateServerlessDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServerlessDBInstanceResponse) ToJsonString

func (r *CreateServerlessDBInstanceResponse) ToJsonString() string

type CreateServerlessDBInstanceResponseParams

type CreateServerlessDBInstanceResponseParams struct {
	// Instance ID, such as "postgres-xxxxx". The value must be globally unique.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DBBackup

type DBBackup struct {
	// Unique backup file ID
	Id *int64 `json:"Id,omitempty" name:"Id"`

	// File generation start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// File generation end time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// File size in KB
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Policy (0: instance backup, 1: multi-database backup)
	Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"`

	// Type (0: scheduled)
	Way *int64 `json:"Way,omitempty" name:"Way"`

	// Backup mode (1: full)
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// Status (1: creating, 2: success, 3: failure)
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// DB list
	DbList []*string `json:"DbList,omitempty" name:"DbList"`

	// Download address on private network
	InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"`

	// Download address on public network
	ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"`

	// Backup set ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SetId *string `json:"SetId,omitempty" name:"SetId"`
}

type DBInstance

type DBInstance struct {
	// Instance region such as ap-guangzhou, which corresponds to the `Region` field of `RegionSet`
	Region *string `json:"Region,omitempty" name:"Region"`

	// Instance AZ such as ap-guangzhou-3, which corresponds to the `Zone` field of `ZoneSet`
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// SubnetId
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Instance status.  Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolating`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`, `network changing`, `upgrading` (upgrading kernel version).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" name:"DBInstanceStatus"`

	// Assigned instance memory size in GB
	DBInstanceMemory *uint64 `json:"DBInstanceMemory,omitempty" name:"DBInstanceMemory"`

	// Assigned instance storage capacity in GB
	DBInstanceStorage *uint64 `json:"DBInstanceStorage,omitempty" name:"DBInstanceStorage"`

	// Number of assigned CPUs
	DBInstanceCpu *uint64 `json:"DBInstanceCpu,omitempty" name:"DBInstanceCpu"`

	// Purchasable specification ID
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" name:"DBInstanceClass"`

	// Instance type. 1: primary (master instance), 2: readonly (read-only instance), 3: guard (disaster recovery instance), 4: temp (temp instance)
	DBInstanceType *string `json:"DBInstanceType,omitempty" name:"DBInstanceType"`

	// Instance edition. Currently, only `standard` edition (dual-server high-availability one-master-one-slave edition) is supported
	DBInstanceVersion *string `json:"DBInstanceVersion,omitempty" name:"DBInstanceVersion"`

	// Instance database character set
	DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"`

	// PostgreSQL version number
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Instance creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Instance last modified time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Instance expiration time
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Instance isolation time
	IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"`

	// Billing mode. postpaid: pay-as-you-go
	PayType *string `json:"PayType,omitempty" name:"PayType"`

	// Whether to renew automatically. 1: yes, 0: no
	AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"`

	// Instance network connection information
	DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"`

	// Machine type
	Type *string `json:"Type,omitempty" name:"Type"`

	// User `AppId`
	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

	// Instance `Uid`
	Uid *uint64 `json:"Uid,omitempty" name:"Uid"`

	// Whether the instance supports IPv6 address access. Valid values: 1 (yes), 0 (no)
	SupportIpv6 *uint64 `json:"SupportIpv6,omitempty" name:"SupportIpv6"`

	// The information of tags associated with instances.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Primary instance information, which is returned only when the instance is read-only
	// Note: this field may return null, indicating that no valid values can be obtained.
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// Number of read-only instances
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReadOnlyInstanceNum *int64 `json:"ReadOnlyInstanceNum,omitempty" name:"ReadOnlyInstanceNum"`

	// The status of a instance in a read-only group
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusInReadonlyGroup *string `json:"StatusInReadonlyGroup,omitempty" name:"StatusInReadonlyGroup"`

	// Elimination time
	// Note: this field may return null, indicating that no valid values can be obtained.
	OfflineTime *string `json:"OfflineTime,omitempty" name:"OfflineTime"`

	// Database kernel version
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Network access list of the instance (this field has been deprecated)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"`

	// PostgreSQL major version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Instance node information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Whether the instance supports TDE data encryption. Valid values: 0 (no), 1 (yes)
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IsSupportTDE *int64 `json:"IsSupportTDE,omitempty" name:"IsSupportTDE"`

	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Configuration information of database engine
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBEngineConfig *string `json:"DBEngineConfig,omitempty" name:"DBEngineConfig"`
}

type DBInstanceNetInfo

type DBInstanceNetInfo struct {
	// DNS domain name
	Address *string `json:"Address,omitempty" name:"Address"`

	// Ip
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Connection port address
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Network type. 1: inner (private network address), 2: public (public network address)
	NetType *string `json:"NetType,omitempty" name:"NetType"`

	// Network connection status. Valid values: `initing` (never enabled before), `opened` (enabled), `closed` (disabled), `opening` (enabling), `closing` (disabling)
	Status *string `json:"Status,omitempty" name:"Status"`

	// VPC ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Database connection protocol type. Valid values: `postgresql`, `mssql` (MSSQL-compatible)
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
}

type DBNode

type DBNode struct {
	// Node type. Valid values:
	// `Primary`;
	// `Standby`.
	Role *string `json:"Role,omitempty" name:"Role"`

	// AZ where the node resides, such as ap-guangzhou-1.
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type DeleteBaseBackupRequest

type DeleteBaseBackupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Base backup ID
	BaseBackupId *string `json:"BaseBackupId,omitempty" name:"BaseBackupId"`
}

func NewDeleteBaseBackupRequest

func NewDeleteBaseBackupRequest() (request *DeleteBaseBackupRequest)

func (*DeleteBaseBackupRequest) FromJsonString

func (r *DeleteBaseBackupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBaseBackupRequest) ToJsonString

func (r *DeleteBaseBackupRequest) ToJsonString() string

type DeleteBaseBackupRequestParams

type DeleteBaseBackupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Base backup ID
	BaseBackupId *string `json:"BaseBackupId,omitempty" name:"BaseBackupId"`
}

Predefined struct for user

type DeleteBaseBackupResponse

type DeleteBaseBackupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBaseBackupResponseParams `json:"Response"`
}

func NewDeleteBaseBackupResponse

func NewDeleteBaseBackupResponse() (response *DeleteBaseBackupResponse)

func (*DeleteBaseBackupResponse) FromJsonString

func (r *DeleteBaseBackupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBaseBackupResponse) ToJsonString

func (r *DeleteBaseBackupResponse) ToJsonString() string

type DeleteBaseBackupResponseParams

type DeleteBaseBackupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDBInstanceNetworkAccessRequest

type DeleteDBInstanceNetworkAccessRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unified VPC ID. If you want to delete the classic network, set the parameter to `0`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID. If you want to delete the classic network, set the parameter to `0`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewDeleteDBInstanceNetworkAccessRequest

func NewDeleteDBInstanceNetworkAccessRequest() (request *DeleteDBInstanceNetworkAccessRequest)

func (*DeleteDBInstanceNetworkAccessRequest) FromJsonString

func (r *DeleteDBInstanceNetworkAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBInstanceNetworkAccessRequest) ToJsonString

func (r *DeleteDBInstanceNetworkAccessRequest) ToJsonString() string

type DeleteDBInstanceNetworkAccessRequestParams

type DeleteDBInstanceNetworkAccessRequestParams struct {
	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unified VPC ID. If you want to delete the classic network, set the parameter to `0`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID. If you want to delete the classic network, set the parameter to `0`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

Predefined struct for user

type DeleteDBInstanceNetworkAccessResponse

type DeleteDBInstanceNetworkAccessResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDBInstanceNetworkAccessResponseParams `json:"Response"`
}

func NewDeleteDBInstanceNetworkAccessResponse

func NewDeleteDBInstanceNetworkAccessResponse() (response *DeleteDBInstanceNetworkAccessResponse)

func (*DeleteDBInstanceNetworkAccessResponse) FromJsonString

func (r *DeleteDBInstanceNetworkAccessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBInstanceNetworkAccessResponse) ToJsonString

type DeleteDBInstanceNetworkAccessResponseParams

type DeleteDBInstanceNetworkAccessResponseParams struct {
	// Task ID.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteLogBackupRequest

type DeleteLogBackupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Log backup ID
	LogBackupId *string `json:"LogBackupId,omitempty" name:"LogBackupId"`
}

func NewDeleteLogBackupRequest

func NewDeleteLogBackupRequest() (request *DeleteLogBackupRequest)

func (*DeleteLogBackupRequest) FromJsonString

func (r *DeleteLogBackupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLogBackupRequest) ToJsonString

func (r *DeleteLogBackupRequest) ToJsonString() string

type DeleteLogBackupRequestParams

type DeleteLogBackupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Log backup ID
	LogBackupId *string `json:"LogBackupId,omitempty" name:"LogBackupId"`
}

Predefined struct for user

type DeleteLogBackupResponse

type DeleteLogBackupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLogBackupResponseParams `json:"Response"`
}

func NewDeleteLogBackupResponse

func NewDeleteLogBackupResponse() (response *DeleteLogBackupResponse)

func (*DeleteLogBackupResponse) FromJsonString

func (r *DeleteLogBackupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLogBackupResponse) ToJsonString

func (r *DeleteLogBackupResponse) ToJsonString() string

type DeleteLogBackupResponseParams

type DeleteLogBackupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteParameterTemplateRequest

type DeleteParameterTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID, which uniquely identifies the parameter template to be operated.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

func NewDeleteParameterTemplateRequest

func NewDeleteParameterTemplateRequest() (request *DeleteParameterTemplateRequest)

func (*DeleteParameterTemplateRequest) FromJsonString

func (r *DeleteParameterTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteParameterTemplateRequest) ToJsonString

func (r *DeleteParameterTemplateRequest) ToJsonString() string

type DeleteParameterTemplateRequestParams

type DeleteParameterTemplateRequestParams struct {
	// Parameter template ID, which uniquely identifies the parameter template to be operated.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DeleteParameterTemplateResponse

type DeleteParameterTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteParameterTemplateResponseParams `json:"Response"`
}

func NewDeleteParameterTemplateResponse

func NewDeleteParameterTemplateResponse() (response *DeleteParameterTemplateResponse)

func (*DeleteParameterTemplateResponse) FromJsonString

func (r *DeleteParameterTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteParameterTemplateResponse) ToJsonString

func (r *DeleteParameterTemplateResponse) ToJsonString() string

type DeleteParameterTemplateResponseParams

type DeleteParameterTemplateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteReadOnlyGroupNetworkAccessRequest

type DeleteReadOnlyGroupNetworkAccessRequest struct {
	*tchttp.BaseRequest

	// RO group ID in the format of pgro-4t9c6g7k.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// Unified VPC ID. If you want to delete the classic network, set the parameter to `0`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID. If you want to delete the classic network, set the parameter to `0`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewDeleteReadOnlyGroupNetworkAccessRequest

func NewDeleteReadOnlyGroupNetworkAccessRequest() (request *DeleteReadOnlyGroupNetworkAccessRequest)

func (*DeleteReadOnlyGroupNetworkAccessRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReadOnlyGroupNetworkAccessRequest) ToJsonString

type DeleteReadOnlyGroupNetworkAccessRequestParams

type DeleteReadOnlyGroupNetworkAccessRequestParams struct {
	// RO group ID in the format of pgro-4t9c6g7k.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// Unified VPC ID. If you want to delete the classic network, set the parameter to `0`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID. If you want to delete the classic network, set the parameter to `0`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Target VIP.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

Predefined struct for user

type DeleteReadOnlyGroupNetworkAccessResponse

type DeleteReadOnlyGroupNetworkAccessResponse struct {
	*tchttp.BaseResponse
	Response *DeleteReadOnlyGroupNetworkAccessResponseParams `json:"Response"`
}

func NewDeleteReadOnlyGroupNetworkAccessResponse

func NewDeleteReadOnlyGroupNetworkAccessResponse() (response *DeleteReadOnlyGroupNetworkAccessResponse)

func (*DeleteReadOnlyGroupNetworkAccessResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReadOnlyGroupNetworkAccessResponse) ToJsonString

type DeleteReadOnlyGroupNetworkAccessResponseParams

type DeleteReadOnlyGroupNetworkAccessResponseParams struct {
	// Task ID.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteReadOnlyGroupRequest

type DeleteReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the RO group to be deleted
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewDeleteReadOnlyGroupRequest

func NewDeleteReadOnlyGroupRequest() (request *DeleteReadOnlyGroupRequest)

func (*DeleteReadOnlyGroupRequest) FromJsonString

func (r *DeleteReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReadOnlyGroupRequest) ToJsonString

func (r *DeleteReadOnlyGroupRequest) ToJsonString() string

type DeleteReadOnlyGroupRequestParams

type DeleteReadOnlyGroupRequestParams struct {
	// ID of the RO group to be deleted
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type DeleteReadOnlyGroupResponse

type DeleteReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteReadOnlyGroupResponseParams `json:"Response"`
}

func NewDeleteReadOnlyGroupResponse

func NewDeleteReadOnlyGroupResponse() (response *DeleteReadOnlyGroupResponse)

func (*DeleteReadOnlyGroupResponse) FromJsonString

func (r *DeleteReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReadOnlyGroupResponse) ToJsonString

func (r *DeleteReadOnlyGroupResponse) ToJsonString() string

type DeleteReadOnlyGroupResponseParams

type DeleteReadOnlyGroupResponseParams struct {
	// Task ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteServerlessDBInstanceRequest

type DeleteServerlessDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance name. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail.
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Instance ID. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDeleteServerlessDBInstanceRequest

func NewDeleteServerlessDBInstanceRequest() (request *DeleteServerlessDBInstanceRequest)

func (*DeleteServerlessDBInstanceRequest) FromJsonString

func (r *DeleteServerlessDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServerlessDBInstanceRequest) ToJsonString

func (r *DeleteServerlessDBInstanceRequest) ToJsonString() string

type DeleteServerlessDBInstanceRequestParams

type DeleteServerlessDBInstanceRequestParams struct {
	// Instance name. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail.
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Instance ID. Either instance name or instance ID (or both) must be passed in. If both are passed in, the instance ID will prevail.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DeleteServerlessDBInstanceResponse

type DeleteServerlessDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteServerlessDBInstanceResponseParams `json:"Response"`
}

func NewDeleteServerlessDBInstanceResponse

func NewDeleteServerlessDBInstanceResponse() (response *DeleteServerlessDBInstanceResponse)

func (*DeleteServerlessDBInstanceResponse) FromJsonString

func (r *DeleteServerlessDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServerlessDBInstanceResponse) ToJsonString

func (r *DeleteServerlessDBInstanceResponse) ToJsonString() string

type DeleteServerlessDBInstanceResponseParams

type DeleteServerlessDBInstanceResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6fego161
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Number of entries returned per page. Default value: 10. Value range: 1–100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Whether to sort by creation time or username. Valid values: `createTime` (sort by creation time), `name` (sort by username)
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Whether returns are sorted in ascending or descending order. Valid values: `desc` (descending), `asc` (ascending)
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeAccountsRequest

func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)

func (*DescribeAccountsRequest) FromJsonString

func (r *DescribeAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsRequest) ToJsonString

func (r *DescribeAccountsRequest) ToJsonString() string

type DescribeAccountsRequestParams

type DescribeAccountsRequestParams struct {
	// Instance ID in the format of postgres-6fego161
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Number of entries returned per page. Default value: 10. Value range: 1–100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Whether to sort by creation time or username. Valid values: `createTime` (sort by creation time), `name` (sort by username)
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Whether returns are sorted in ascending or descending order. Valid values: `desc` (descending), `asc` (ascending)
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountsResponseParams `json:"Response"`
}

func NewDescribeAccountsResponse

func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)

func (*DescribeAccountsResponse) FromJsonString

func (r *DescribeAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsResponse) ToJsonString

func (r *DescribeAccountsResponse) ToJsonString() string

type DescribeAccountsResponseParams

type DescribeAccountsResponseParams struct {
	// Number of date entries returned for this API call.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Account list details.
	Details []*AccountInfo `json:"Details,omitempty" name:"Details"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAvailableRecoveryTimeRequest

type DescribeAvailableRecoveryTimeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeAvailableRecoveryTimeRequest

func NewDescribeAvailableRecoveryTimeRequest() (request *DescribeAvailableRecoveryTimeRequest)

func (*DescribeAvailableRecoveryTimeRequest) FromJsonString

func (r *DescribeAvailableRecoveryTimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableRecoveryTimeRequest) ToJsonString

func (r *DescribeAvailableRecoveryTimeRequest) ToJsonString() string

type DescribeAvailableRecoveryTimeRequestParams

type DescribeAvailableRecoveryTimeRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeAvailableRecoveryTimeResponse

type DescribeAvailableRecoveryTimeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailableRecoveryTimeResponseParams `json:"Response"`
}

func NewDescribeAvailableRecoveryTimeResponse

func NewDescribeAvailableRecoveryTimeResponse() (response *DescribeAvailableRecoveryTimeResponse)

func (*DescribeAvailableRecoveryTimeResponse) FromJsonString

func (r *DescribeAvailableRecoveryTimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableRecoveryTimeResponse) ToJsonString

type DescribeAvailableRecoveryTimeResponseParams

type DescribeAvailableRecoveryTimeResponseParams struct {
	// The earliest restoration time (UTC+8).
	RecoveryBeginTime *string `json:"RecoveryBeginTime,omitempty" name:"RecoveryBeginTime"`

	// The latest restoration time (UTC+8).
	RecoveryEndTime *string `json:"RecoveryEndTime,omitempty" name:"RecoveryEndTime"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadRestrictionRequest

type DescribeBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBackupDownloadRestrictionRequest

func NewDescribeBackupDownloadRestrictionRequest() (request *DescribeBackupDownloadRestrictionRequest)

func (*DescribeBackupDownloadRestrictionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadRestrictionRequest) ToJsonString

type DescribeBackupDownloadRestrictionRequestParams

type DescribeBackupDownloadRestrictionRequestParams struct {
}

Predefined struct for user

type DescribeBackupDownloadRestrictionResponse

type DescribeBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadRestrictionResponse

func NewDescribeBackupDownloadRestrictionResponse() (response *DescribeBackupDownloadRestrictionResponse)

func (*DescribeBackupDownloadRestrictionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadRestrictionResponse) ToJsonString

type DescribeBackupDownloadRestrictionResponseParams

type DescribeBackupDownloadRestrictionResponseParams struct {
	// Type of the network restrictions for downloading a backup file. Valid values: `NONE` (backups can be downloaded over both private and public networks), `INTRANET` (backups can only be downloaded over the private network), `CUSTOMIZE` (backups can be downloaded over specified VPCs or at specified IPs).
	RestrictionType *string `json:"RestrictionType,omitempty" name:"RestrictionType"`

	// Whether VPC is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	// Note:  This field may return null, indicating that no valid values can be obtained.
	VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitempty" name:"VpcRestrictionEffect"`

	// Whether it is allowed to download the VPC ID list of the backup files.
	// Note:  This field may return null, indicating that no valid values can be obtained.
	VpcIdSet []*string `json:"VpcIdSet,omitempty" name:"VpcIdSet"`

	// Whether IP is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	// Note: Note: This field may return null, indicating that no valid values can be obtained.
	IpRestrictionEffect *string `json:"IpRestrictionEffect,omitempty" name:"IpRestrictionEffect"`

	// Whether it is allowed to download the IP list of the backup files.
	// Note:  This field may return null, indicating that no valid values can be obtained.
	IpSet []*string `json:"IpSet,omitempty" name:"IpSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadURLRequest

type DescribeBackupDownloadURLRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Backup type. Valid values: `LogBackup`, `BaseBackup`.
	BackupType *string `json:"BackupType,omitempty" name:"BackupType"`

	// Unique backup ID.
	BackupId *string `json:"BackupId,omitempty" name:"BackupId"`

	// Validity period of a URL, which is 12 hours by default.
	URLExpireTime *uint64 `json:"URLExpireTime,omitempty" name:"URLExpireTime"`

	// Backup download restriction
	BackupDownloadRestriction *BackupDownloadRestriction `json:"BackupDownloadRestriction,omitempty" name:"BackupDownloadRestriction"`
}

func NewDescribeBackupDownloadURLRequest

func NewDescribeBackupDownloadURLRequest() (request *DescribeBackupDownloadURLRequest)

func (*DescribeBackupDownloadURLRequest) FromJsonString

func (r *DescribeBackupDownloadURLRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadURLRequest) ToJsonString

func (r *DescribeBackupDownloadURLRequest) ToJsonString() string

type DescribeBackupDownloadURLRequestParams

type DescribeBackupDownloadURLRequestParams struct {
	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Backup type. Valid values: `LogBackup`, `BaseBackup`.
	BackupType *string `json:"BackupType,omitempty" name:"BackupType"`

	// Unique backup ID.
	BackupId *string `json:"BackupId,omitempty" name:"BackupId"`

	// Validity period of a URL, which is 12 hours by default.
	URLExpireTime *uint64 `json:"URLExpireTime,omitempty" name:"URLExpireTime"`

	// Backup download restriction
	BackupDownloadRestriction *BackupDownloadRestriction `json:"BackupDownloadRestriction,omitempty" name:"BackupDownloadRestriction"`
}

Predefined struct for user

type DescribeBackupDownloadURLResponse

type DescribeBackupDownloadURLResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadURLResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadURLResponse

func NewDescribeBackupDownloadURLResponse() (response *DescribeBackupDownloadURLResponse)

func (*DescribeBackupDownloadURLResponse) FromJsonString

func (r *DescribeBackupDownloadURLResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadURLResponse) ToJsonString

func (r *DescribeBackupDownloadURLResponse) ToJsonString() string

type DescribeBackupDownloadURLResponseParams

type DescribeBackupDownloadURLResponseParams struct {
	// Backup download URL
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" name:"BackupDownloadURL"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupOverviewRequest

type DescribeBackupOverviewRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBackupOverviewRequest

func NewDescribeBackupOverviewRequest() (request *DescribeBackupOverviewRequest)

func (*DescribeBackupOverviewRequest) FromJsonString

func (r *DescribeBackupOverviewRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupOverviewRequest) ToJsonString

func (r *DescribeBackupOverviewRequest) ToJsonString() string

type DescribeBackupOverviewRequestParams

type DescribeBackupOverviewRequestParams struct {
}

Predefined struct for user

type DescribeBackupOverviewResponse

type DescribeBackupOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupOverviewResponseParams `json:"Response"`
}

func NewDescribeBackupOverviewResponse

func NewDescribeBackupOverviewResponse() (response *DescribeBackupOverviewResponse)

func (*DescribeBackupOverviewResponse) FromJsonString

func (r *DescribeBackupOverviewResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupOverviewResponse) ToJsonString

func (r *DescribeBackupOverviewResponse) ToJsonString() string

type DescribeBackupOverviewResponseParams

type DescribeBackupOverviewResponseParams struct {
	// Total free space size in bytes
	TotalFreeSize *uint64 `json:"TotalFreeSize,omitempty" name:"TotalFreeSize"`

	// Used free space size in bytes
	UsedFreeSize *uint64 `json:"UsedFreeSize,omitempty" name:"UsedFreeSize"`

	// Used paid space size in bytes
	UsedBillingSize *uint64 `json:"UsedBillingSize,omitempty" name:"UsedBillingSize"`

	// Number of log backups
	LogBackupCount *uint64 `json:"LogBackupCount,omitempty" name:"LogBackupCount"`

	// Log backup size in bytes
	LogBackupSize *uint64 `json:"LogBackupSize,omitempty" name:"LogBackupSize"`

	// Number of manually created full backups
	ManualBaseBackupCount *uint64 `json:"ManualBaseBackupCount,omitempty" name:"ManualBaseBackupCount"`

	// Size of manually created full backups in bytes
	ManualBaseBackupSize *uint64 `json:"ManualBaseBackupSize,omitempty" name:"ManualBaseBackupSize"`

	// Number of automatically created full backups
	AutoBaseBackupCount *uint64 `json:"AutoBaseBackupCount,omitempty" name:"AutoBaseBackupCount"`

	// Size of automatically created full backups in bytes
	AutoBaseBackupSize *uint64 `json:"AutoBaseBackupSize,omitempty" name:"AutoBaseBackupSize"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupPlansRequest

type DescribeBackupPlansRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeBackupPlansRequest

func NewDescribeBackupPlansRequest() (request *DescribeBackupPlansRequest)

func (*DescribeBackupPlansRequest) FromJsonString

func (r *DescribeBackupPlansRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupPlansRequest) ToJsonString

func (r *DescribeBackupPlansRequest) ToJsonString() string

type DescribeBackupPlansRequestParams

type DescribeBackupPlansRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeBackupPlansResponse

type DescribeBackupPlansResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupPlansResponseParams `json:"Response"`
}

func NewDescribeBackupPlansResponse

func NewDescribeBackupPlansResponse() (response *DescribeBackupPlansResponse)

func (*DescribeBackupPlansResponse) FromJsonString

func (r *DescribeBackupPlansResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupPlansResponse) ToJsonString

func (r *DescribeBackupPlansResponse) ToJsonString() string

type DescribeBackupPlansResponseParams

type DescribeBackupPlansResponseParams struct {
	// The set of instance backup plans
	Plans []*BackupPlan `json:"Plans,omitempty" name:"Plans"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupSummariesRequest

type DescribeBackupSummariesRequest struct {
	*tchttp.BaseRequest

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: Filter by instance ID (in string format).
	// db-instance-name: Filter by instance name (in string format).
	// db-instance-ip: Filter by instance VPC IP (in string format).
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Sorting field. Valid values: `TotalBackupSize`, `LogBackupSize`, `ManualBaseBackupSize`, `AutoBaseBackupSize`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeBackupSummariesRequest

func NewDescribeBackupSummariesRequest() (request *DescribeBackupSummariesRequest)

func (*DescribeBackupSummariesRequest) FromJsonString

func (r *DescribeBackupSummariesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupSummariesRequest) ToJsonString

func (r *DescribeBackupSummariesRequest) ToJsonString() string

type DescribeBackupSummariesRequestParams

type DescribeBackupSummariesRequestParams struct {
	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: Filter by instance ID (in string format).
	// db-instance-name: Filter by instance name (in string format).
	// db-instance-ip: Filter by instance VPC IP (in string format).
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Sorting field. Valid values: `TotalBackupSize`, `LogBackupSize`, `ManualBaseBackupSize`, `AutoBaseBackupSize`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBackupSummariesResponse

type DescribeBackupSummariesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupSummariesResponseParams `json:"Response"`
}

func NewDescribeBackupSummariesResponse

func NewDescribeBackupSummariesResponse() (response *DescribeBackupSummariesResponse)

func (*DescribeBackupSummariesResponse) FromJsonString

func (r *DescribeBackupSummariesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupSummariesResponse) ToJsonString

func (r *DescribeBackupSummariesResponse) ToJsonString() string

type DescribeBackupSummariesResponseParams

type DescribeBackupSummariesResponseParams struct {
	// Backup statistics list.
	BackupSummarySet []*BackupSummary `json:"BackupSummarySet,omitempty" name:"BackupSummarySet"`

	// Number of all queried backups.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBaseBackupsRequest

type DescribeBaseBackupsRequest struct {
	*tchttp.BaseRequest

	// Minimum end time of a backup in the format of `2018-01-01 00:00:00`. It is 7 days ago by default.
	MinFinishTime *string `json:"MinFinishTime,omitempty" name:"MinFinishTime"`

	// Maximum end time of a backup in the format of `2018-01-01 00:00:00`. It is the current time by default.
	MaxFinishTime *string `json:"MaxFinishTime,omitempty" name:"MaxFinishTime"`

	// Filter instances by using one or more filters. Valid values:  `db-instance-idFilter` (filter by instance ID in string),  `db-instance-name` (filter by instance name in string),  `db-instance-ip` (filter by instance VPC IP address in string),  `base-backup-id` (filter by backup set ID in string),
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting field. Valid values: `StartTime`, `FinishTime`, `Size`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeBaseBackupsRequest

func NewDescribeBaseBackupsRequest() (request *DescribeBaseBackupsRequest)

func (*DescribeBaseBackupsRequest) FromJsonString

func (r *DescribeBaseBackupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBaseBackupsRequest) ToJsonString

func (r *DescribeBaseBackupsRequest) ToJsonString() string

type DescribeBaseBackupsRequestParams

type DescribeBaseBackupsRequestParams struct {
	// Minimum end time of a backup in the format of `2018-01-01 00:00:00`. It is 7 days ago by default.
	MinFinishTime *string `json:"MinFinishTime,omitempty" name:"MinFinishTime"`

	// Maximum end time of a backup in the format of `2018-01-01 00:00:00`. It is the current time by default.
	MaxFinishTime *string `json:"MaxFinishTime,omitempty" name:"MaxFinishTime"`

	// Filter instances by using one or more filters. Valid values:  `db-instance-idFilter` (filter by instance ID in string),  `db-instance-name` (filter by instance name in string),  `db-instance-ip` (filter by instance VPC IP address in string),  `base-backup-id` (filter by backup set ID in string),
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting field. Valid values: `StartTime`, `FinishTime`, `Size`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBaseBackupsResponse

type DescribeBaseBackupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBaseBackupsResponseParams `json:"Response"`
}

func NewDescribeBaseBackupsResponse

func NewDescribeBaseBackupsResponse() (response *DescribeBaseBackupsResponse)

func (*DescribeBaseBackupsResponse) FromJsonString

func (r *DescribeBaseBackupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBaseBackupsResponse) ToJsonString

func (r *DescribeBaseBackupsResponse) ToJsonString() string

type DescribeBaseBackupsResponseParams

type DescribeBaseBackupsResponseParams struct {
	// Number of queried full backups
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of full backup details
	BaseBackupSet []*BaseBackup `json:"BaseBackupSet,omitempty" name:"BaseBackupSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClassesRequest

type DescribeClassesRequest struct {
	*tchttp.BaseRequest

	// AZ ID, which can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Database engines. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible` (MSSQL compatible-TencentDB for PostgreSQL)
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Major version of a database, such as 12 or 13, which can be obtained through the `DescribeDBVersions` API.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`
}

func NewDescribeClassesRequest

func NewDescribeClassesRequest() (request *DescribeClassesRequest)

func (*DescribeClassesRequest) FromJsonString

func (r *DescribeClassesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClassesRequest) ToJsonString

func (r *DescribeClassesRequest) ToJsonString() string

type DescribeClassesRequestParams

type DescribeClassesRequestParams struct {
	// AZ ID, which can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Database engines. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible` (MSSQL compatible-TencentDB for PostgreSQL)
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Major version of a database, such as 12 or 13, which can be obtained through the `DescribeDBVersions` API.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`
}

Predefined struct for user

type DescribeClassesResponse

type DescribeClassesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClassesResponseParams `json:"Response"`
}

func NewDescribeClassesResponse

func NewDescribeClassesResponse() (response *DescribeClassesResponse)

func (*DescribeClassesResponse) FromJsonString

func (r *DescribeClassesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClassesResponse) ToJsonString

func (r *DescribeClassesResponse) ToJsonString() string

type DescribeClassesResponseParams

type DescribeClassesResponseParams struct {
	// List of database specifications
	ClassInfoSet []*ClassInfo `json:"ClassInfoSet,omitempty" name:"ClassInfoSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloneDBInstanceSpecRequest

type DescribeCloneDBInstanceSpecRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Basic backup set ID. Either this parameter or `RecoveryTargetTime` must be passed in. If both are passed in, only this parameter takes effect.
	BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"`

	// Restoration time (UTC+8). Either this parameter or `BackupSetId` must be passed in.
	RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"`
}

func NewDescribeCloneDBInstanceSpecRequest

func NewDescribeCloneDBInstanceSpecRequest() (request *DescribeCloneDBInstanceSpecRequest)

func (*DescribeCloneDBInstanceSpecRequest) FromJsonString

func (r *DescribeCloneDBInstanceSpecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloneDBInstanceSpecRequest) ToJsonString

func (r *DescribeCloneDBInstanceSpecRequest) ToJsonString() string

type DescribeCloneDBInstanceSpecRequestParams

type DescribeCloneDBInstanceSpecRequestParams struct {
	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Basic backup set ID. Either this parameter or `RecoveryTargetTime` must be passed in. If both are passed in, only this parameter takes effect.
	BackupSetId *string `json:"BackupSetId,omitempty" name:"BackupSetId"`

	// Restoration time (UTC+8). Either this parameter or `BackupSetId` must be passed in.
	RecoveryTargetTime *string `json:"RecoveryTargetTime,omitempty" name:"RecoveryTargetTime"`
}

Predefined struct for user

type DescribeCloneDBInstanceSpecResponse

type DescribeCloneDBInstanceSpecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloneDBInstanceSpecResponseParams `json:"Response"`
}

func NewDescribeCloneDBInstanceSpecResponse

func NewDescribeCloneDBInstanceSpecResponse() (response *DescribeCloneDBInstanceSpecResponse)

func (*DescribeCloneDBInstanceSpecResponse) FromJsonString

func (r *DescribeCloneDBInstanceSpecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloneDBInstanceSpecResponse) ToJsonString

func (r *DescribeCloneDBInstanceSpecResponse) ToJsonString() string

type DescribeCloneDBInstanceSpecResponseParams

type DescribeCloneDBInstanceSpecResponseParams struct {
	// Code of the minimum specification available for purchase.
	MinSpecCode *string `json:"MinSpecCode,omitempty" name:"MinSpecCode"`

	// The minimum disk capacity in GB available for purchase.
	MinStorage *int64 `json:"MinStorage,omitempty" name:"MinStorage"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBBackupsRequest

type DescribeDBBackupsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-4wdeb0zv.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Backup mode (1: full). Currently, only full backup is supported. The value is 1.
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Number of entries to be returned per page for backup list. Default value: 20. Minimum value: 1. Maximum value: 100. (If this parameter is left empty or 0, the default value will be used)
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeDBBackupsRequest

func NewDescribeDBBackupsRequest() (request *DescribeDBBackupsRequest)

func (*DescribeDBBackupsRequest) FromJsonString

func (r *DescribeDBBackupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBBackupsRequest) ToJsonString

func (r *DescribeDBBackupsRequest) ToJsonString() string

type DescribeDBBackupsRequestParams

type DescribeDBBackupsRequestParams struct {
	// Instance ID in the format of postgres-4wdeb0zv.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Backup mode (1: full). Currently, only full backup is supported. The value is 1.
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Number of entries to be returned per page for backup list. Default value: 20. Minimum value: 1. Maximum value: 100. (If this parameter is left empty or 0, the default value will be used)
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDBBackupsResponse

type DescribeDBBackupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBBackupsResponseParams `json:"Response"`
}

func NewDescribeDBBackupsResponse

func NewDescribeDBBackupsResponse() (response *DescribeDBBackupsResponse)

func (*DescribeDBBackupsResponse) FromJsonString

func (r *DescribeDBBackupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBBackupsResponse) ToJsonString

func (r *DescribeDBBackupsResponse) ToJsonString() string

type DescribeDBBackupsResponseParams

type DescribeDBBackupsResponseParams struct {
	// Number of backup files in the returned backup list
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Backup list
	BackupList []*DBBackup `json:"BackupList,omitempty" name:"BackupList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBErrlogsRequest

type DescribeDBErrlogsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-5bq3wfjd
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-01-01 00:00:00, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-01-01 00:00:00
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Database name
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Search keyword
	SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys"`

	// Number of entries returned per page. Value range: 1-100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeDBErrlogsRequest

func NewDescribeDBErrlogsRequest() (request *DescribeDBErrlogsRequest)

func (*DescribeDBErrlogsRequest) FromJsonString

func (r *DescribeDBErrlogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBErrlogsRequest) ToJsonString

func (r *DescribeDBErrlogsRequest) ToJsonString() string

type DescribeDBErrlogsRequestParams

type DescribeDBErrlogsRequestParams struct {
	// Instance ID in the format of postgres-5bq3wfjd
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-01-01 00:00:00, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-01-01 00:00:00
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Database name
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Search keyword
	SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys"`

	// Number of entries returned per page. Value range: 1-100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDBErrlogsResponse

type DescribeDBErrlogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBErrlogsResponseParams `json:"Response"`
}

func NewDescribeDBErrlogsResponse

func NewDescribeDBErrlogsResponse() (response *DescribeDBErrlogsResponse)

func (*DescribeDBErrlogsResponse) FromJsonString

func (r *DescribeDBErrlogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBErrlogsResponse) ToJsonString

func (r *DescribeDBErrlogsResponse) ToJsonString() string

type DescribeDBErrlogsResponseParams

type DescribeDBErrlogsResponseParams struct {
	// Number of date entries returned for this call
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Error log list
	Details []*ErrLogDetail `json:"Details,omitempty" name:"Details"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstanceAttributeRequest

type DescribeDBInstanceAttributeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeDBInstanceAttributeRequest

func NewDescribeDBInstanceAttributeRequest() (request *DescribeDBInstanceAttributeRequest)

func (*DescribeDBInstanceAttributeRequest) FromJsonString

func (r *DescribeDBInstanceAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceAttributeRequest) ToJsonString

func (r *DescribeDBInstanceAttributeRequest) ToJsonString() string

type DescribeDBInstanceAttributeRequestParams

type DescribeDBInstanceAttributeRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeDBInstanceAttributeResponse

type DescribeDBInstanceAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstanceAttributeResponseParams `json:"Response"`
}

func NewDescribeDBInstanceAttributeResponse

func NewDescribeDBInstanceAttributeResponse() (response *DescribeDBInstanceAttributeResponse)

func (*DescribeDBInstanceAttributeResponse) FromJsonString

func (r *DescribeDBInstanceAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceAttributeResponse) ToJsonString

func (r *DescribeDBInstanceAttributeResponse) ToJsonString() string

type DescribeDBInstanceAttributeResponseParams

type DescribeDBInstanceAttributeResponseParams struct {
	// Instance details.
	DBInstance *DBInstance `json:"DBInstance,omitempty" name:"DBInstance"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstanceParametersRequest

type DescribeDBInstanceParametersRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Name of the parameter to be queried. If `ParamName` is left empty or not passed in, the list of all parameters will be returned.
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`
}

func NewDescribeDBInstanceParametersRequest

func NewDescribeDBInstanceParametersRequest() (request *DescribeDBInstanceParametersRequest)

func (*DescribeDBInstanceParametersRequest) FromJsonString

func (r *DescribeDBInstanceParametersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceParametersRequest) ToJsonString

func (r *DescribeDBInstanceParametersRequest) ToJsonString() string

type DescribeDBInstanceParametersRequestParams

type DescribeDBInstanceParametersRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Name of the parameter to be queried. If `ParamName` is left empty or not passed in, the list of all parameters will be returned.
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`
}

Predefined struct for user

type DescribeDBInstanceParametersResponse

type DescribeDBInstanceParametersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstanceParametersResponseParams `json:"Response"`
}

func NewDescribeDBInstanceParametersResponse

func NewDescribeDBInstanceParametersResponse() (response *DescribeDBInstanceParametersResponse)

func (*DescribeDBInstanceParametersResponse) FromJsonString

func (r *DescribeDBInstanceParametersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceParametersResponse) ToJsonString

func (r *DescribeDBInstanceParametersResponse) ToJsonString() string

type DescribeDBInstanceParametersResponseParams

type DescribeDBInstanceParametersResponseParams struct {
	// Total number of the parameters in the returned list
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Details of the returned parameter list
	Detail []*ParamInfo `json:"Detail,omitempty" name:"Detail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstanceSecurityGroupsRequest

type DescribeDBInstanceSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Either this parameter or `ReadOnlyGroupId` must be passed in. If both parameters are passed in, `ReadOnlyGroupId` will be ignored.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID. Either this parameter or `DBInstanceId` must be passed in. To query the security groups associated with the RO groups, only pass in `ReadOnlyGroupId`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewDescribeDBInstanceSecurityGroupsRequest

func NewDescribeDBInstanceSecurityGroupsRequest() (request *DescribeDBInstanceSecurityGroupsRequest)

func (*DescribeDBInstanceSecurityGroupsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceSecurityGroupsRequest) ToJsonString

type DescribeDBInstanceSecurityGroupsRequestParams

type DescribeDBInstanceSecurityGroupsRequestParams struct {
	// Instance ID. Either this parameter or `ReadOnlyGroupId` must be passed in. If both parameters are passed in, `ReadOnlyGroupId` will be ignored.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID. Either this parameter or `DBInstanceId` must be passed in. To query the security groups associated with the RO groups, only pass in `ReadOnlyGroupId`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type DescribeDBInstanceSecurityGroupsResponse

type DescribeDBInstanceSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstanceSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeDBInstanceSecurityGroupsResponse

func NewDescribeDBInstanceSecurityGroupsResponse() (response *DescribeDBInstanceSecurityGroupsResponse)

func (*DescribeDBInstanceSecurityGroupsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceSecurityGroupsResponse) ToJsonString

type DescribeDBInstanceSecurityGroupsResponseParams

type DescribeDBInstanceSecurityGroupsResponseParams struct {
	// Information of security groups in array
	SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitempty" name:"SecurityGroupSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstancesRequest

type DescribeDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: filter by instance ID (in string format)
	// db-instance-name: filter by instance name (in string format)
	// db-project-id: filter by project ID (in integer format)
	// db-pay-mode: filter by billing mode (in string format)
	// db-tag-key: filter by tag key (in string format)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending)
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeDBInstancesRequest

func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)

func (*DescribeDBInstancesRequest) FromJsonString

func (r *DescribeDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesRequest) ToJsonString

func (r *DescribeDBInstancesRequest) ToJsonString() string

type DescribeDBInstancesRequestParams

type DescribeDBInstancesRequestParams struct {
	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: filter by instance ID (in string format)
	// db-instance-name: filter by instance name (in string format)
	// db-project-id: filter by project ID (in integer format)
	// db-pay-mode: filter by billing mode (in string format)
	// db-tag-key: filter by tag key (in string format)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending)
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstancesResponseParams `json:"Response"`
}

func NewDescribeDBInstancesResponse

func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)

func (*DescribeDBInstancesResponse) FromJsonString

func (r *DescribeDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesResponse) ToJsonString

func (r *DescribeDBInstancesResponse) ToJsonString() string

type DescribeDBInstancesResponseParams

type DescribeDBInstancesResponseParams struct {
	// Number of instances found.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Instance details set.
	DBInstanceSet []*DBInstance `json:"DBInstanceSet,omitempty" name:"DBInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBSlowlogsRequest

type DescribeDBSlowlogsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-lnp6j617
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Database name
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Metric for sorting. Valid values: `sum_calls` (total number of calls), `sum_cost_time` (total time consumed)
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. desc: descending, asc: ascending
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Number of entries returned per page. Value range: 1-100. Default value: 20.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeDBSlowlogsRequest

func NewDescribeDBSlowlogsRequest() (request *DescribeDBSlowlogsRequest)

func (*DescribeDBSlowlogsRequest) FromJsonString

func (r *DescribeDBSlowlogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSlowlogsRequest) ToJsonString

func (r *DescribeDBSlowlogsRequest) ToJsonString() string

type DescribeDBSlowlogsRequestParams

type DescribeDBSlowlogsRequestParams struct {
	// Instance ID in the format of postgres-lnp6j617
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Database name
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Metric for sorting. Valid values: `sum_calls` (total number of calls), `sum_cost_time` (total time consumed)
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. desc: descending, asc: ascending
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Number of entries returned per page. Value range: 1-100. Default value: 20.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDBSlowlogsResponse

type DescribeDBSlowlogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBSlowlogsResponseParams `json:"Response"`
}

func NewDescribeDBSlowlogsResponse

func NewDescribeDBSlowlogsResponse() (response *DescribeDBSlowlogsResponse)

func (*DescribeDBSlowlogsResponse) FromJsonString

func (r *DescribeDBSlowlogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSlowlogsResponse) ToJsonString

func (r *DescribeDBSlowlogsResponse) ToJsonString() string

type DescribeDBSlowlogsResponseParams

type DescribeDBSlowlogsResponseParams struct {
	// Number of date entries returned this time
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Slow query log details
	Detail *SlowlogDetail `json:"Detail,omitempty" name:"Detail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBVersionsRequest

type DescribeDBVersionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDBVersionsRequest

func NewDescribeDBVersionsRequest() (request *DescribeDBVersionsRequest)

func (*DescribeDBVersionsRequest) FromJsonString

func (r *DescribeDBVersionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBVersionsRequest) ToJsonString

func (r *DescribeDBVersionsRequest) ToJsonString() string

type DescribeDBVersionsRequestParams

type DescribeDBVersionsRequestParams struct {
}

Predefined struct for user

type DescribeDBVersionsResponse

type DescribeDBVersionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBVersionsResponseParams `json:"Response"`
}

func NewDescribeDBVersionsResponse

func NewDescribeDBVersionsResponse() (response *DescribeDBVersionsResponse)

func (*DescribeDBVersionsResponse) FromJsonString

func (r *DescribeDBVersionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBVersionsResponse) ToJsonString

func (r *DescribeDBVersionsResponse) ToJsonString() string

type DescribeDBVersionsResponseParams

type DescribeDBVersionsResponseParams struct {
	// List of database versions
	VersionSet []*Version `json:"VersionSet,omitempty" name:"VersionSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBXlogsRequest

type DescribeDBXlogsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-4wdeb0zv.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries returned per page in paged query. Value range: 1-100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeDBXlogsRequest

func NewDescribeDBXlogsRequest() (request *DescribeDBXlogsRequest)

func (*DescribeDBXlogsRequest) FromJsonString

func (r *DescribeDBXlogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBXlogsRequest) ToJsonString

func (r *DescribeDBXlogsRequest) ToJsonString() string

type DescribeDBXlogsRequestParams

type DescribeDBXlogsRequestParams struct {
	// Instance ID in the format of postgres-4wdeb0zv.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query end time in the format of 2018-06-10 17:06:38
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Page number for data return in paged query. Pagination starts from 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries returned per page in paged query. Value range: 1-100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDBXlogsResponse

type DescribeDBXlogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBXlogsResponseParams `json:"Response"`
}

func NewDescribeDBXlogsResponse

func NewDescribeDBXlogsResponse() (response *DescribeDBXlogsResponse)

func (*DescribeDBXlogsResponse) FromJsonString

func (r *DescribeDBXlogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBXlogsResponse) ToJsonString

func (r *DescribeDBXlogsResponse) ToJsonString() string

type DescribeDBXlogsResponseParams

type DescribeDBXlogsResponseParams struct {
	// Number of date entries returned this time.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Xlog list
	XlogList []*Xlog `json:"XlogList,omitempty" name:"XlogList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDatabasesRequest

type DescribeDatabasesRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeDatabasesRequest

func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)

func (*DescribeDatabasesRequest) FromJsonString

func (r *DescribeDatabasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesRequest) ToJsonString

func (r *DescribeDatabasesRequest) ToJsonString() string

type DescribeDatabasesRequestParams

type DescribeDatabasesRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDatabasesResponseParams `json:"Response"`
}

func NewDescribeDatabasesResponse

func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)

func (*DescribeDatabasesResponse) FromJsonString

func (r *DescribeDatabasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesResponse) ToJsonString

func (r *DescribeDatabasesResponse) ToJsonString() string

type DescribeDatabasesResponseParams

type DescribeDatabasesResponseParams struct {
	// Database information
	Items []*string `json:"Items,omitempty" name:"Items"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDefaultParametersRequest

type DescribeDefaultParametersRequest struct {
	*tchttp.BaseRequest

	// The major database version number, such as 11, 12, 13.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine, such as postgresql, mssql_compatible.
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

func NewDescribeDefaultParametersRequest

func NewDescribeDefaultParametersRequest() (request *DescribeDefaultParametersRequest)

func (*DescribeDefaultParametersRequest) FromJsonString

func (r *DescribeDefaultParametersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultParametersRequest) ToJsonString

func (r *DescribeDefaultParametersRequest) ToJsonString() string

type DescribeDefaultParametersRequestParams

type DescribeDefaultParametersRequestParams struct {
	// The major database version number, such as 11, 12, 13.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine, such as postgresql, mssql_compatible.
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

Predefined struct for user

type DescribeDefaultParametersResponse

type DescribeDefaultParametersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefaultParametersResponseParams `json:"Response"`
}

func NewDescribeDefaultParametersResponse

func NewDescribeDefaultParametersResponse() (response *DescribeDefaultParametersResponse)

func (*DescribeDefaultParametersResponse) FromJsonString

func (r *DescribeDefaultParametersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultParametersResponse) ToJsonString

func (r *DescribeDefaultParametersResponse) ToJsonString() string

type DescribeDefaultParametersResponseParams

type DescribeDefaultParametersResponseParams struct {
	// Number of parameters
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Parameter information
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamInfoSet []*ParamInfo `json:"ParamInfoSet,omitempty" name:"ParamInfoSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEncryptionKeysRequest

type DescribeEncryptionKeysRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeEncryptionKeysRequest

func NewDescribeEncryptionKeysRequest() (request *DescribeEncryptionKeysRequest)

func (*DescribeEncryptionKeysRequest) FromJsonString

func (r *DescribeEncryptionKeysRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEncryptionKeysRequest) ToJsonString

func (r *DescribeEncryptionKeysRequest) ToJsonString() string

type DescribeEncryptionKeysRequestParams

type DescribeEncryptionKeysRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeEncryptionKeysResponse

type DescribeEncryptionKeysResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEncryptionKeysResponseParams `json:"Response"`
}

func NewDescribeEncryptionKeysResponse

func NewDescribeEncryptionKeysResponse() (response *DescribeEncryptionKeysResponse)

func (*DescribeEncryptionKeysResponse) FromJsonString

func (r *DescribeEncryptionKeysResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEncryptionKeysResponse) ToJsonString

func (r *DescribeEncryptionKeysResponse) ToJsonString() string

type DescribeEncryptionKeysResponseParams

type DescribeEncryptionKeysResponseParams struct {
	// Instance key list
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EncryptionKeys []*EncryptionKey `json:"EncryptionKeys,omitempty" name:"EncryptionKeys"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogBackupsRequest

type DescribeLogBackupsRequest struct {
	*tchttp.BaseRequest

	// Minimum end time of a backup in the format of `2018-01-01 00:00:00`. It is 7 days ago by default.
	MinFinishTime *string `json:"MinFinishTime,omitempty" name:"MinFinishTime"`

	// Maximum end time of a backup in the format of `2018-01-01 00:00:00`. It is the current time by default.
	MaxFinishTime *string `json:"MaxFinishTime,omitempty" name:"MaxFinishTime"`

	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: Filter by instance ID (in string format).
	// db-instance-name: Filter by instance name (in string format).
	// db-instance-ip: Filter by instance VPC IP (in string format).
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting field. Valid values: `StartTime`, `FinishTime`, `Size`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeLogBackupsRequest

func NewDescribeLogBackupsRequest() (request *DescribeLogBackupsRequest)

func (*DescribeLogBackupsRequest) FromJsonString

func (r *DescribeLogBackupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogBackupsRequest) ToJsonString

func (r *DescribeLogBackupsRequest) ToJsonString() string

type DescribeLogBackupsRequestParams

type DescribeLogBackupsRequestParams struct {
	// Minimum end time of a backup in the format of `2018-01-01 00:00:00`. It is 7 days ago by default.
	MinFinishTime *string `json:"MinFinishTime,omitempty" name:"MinFinishTime"`

	// Maximum end time of a backup in the format of `2018-01-01 00:00:00`. It is the current time by default.
	MaxFinishTime *string `json:"MaxFinishTime,omitempty" name:"MaxFinishTime"`

	// Filter instances using one or more criteria. Valid filter names:
	// db-instance-id: Filter by instance ID (in string format).
	// db-instance-name: Filter by instance name (in string format).
	// db-instance-ip: Filter by instance VPC IP (in string format).
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 1-100. Default: `10`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset, which starts from 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting field. Valid values: `StartTime`, `FinishTime`, `Size`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeLogBackupsResponse

type DescribeLogBackupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogBackupsResponseParams `json:"Response"`
}

func NewDescribeLogBackupsResponse

func NewDescribeLogBackupsResponse() (response *DescribeLogBackupsResponse)

func (*DescribeLogBackupsResponse) FromJsonString

func (r *DescribeLogBackupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogBackupsResponse) ToJsonString

func (r *DescribeLogBackupsResponse) ToJsonString() string

type DescribeLogBackupsResponseParams

type DescribeLogBackupsResponseParams struct {
	// Number of queried log backups
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of log backup details
	LogBackupSet []*LogBackup `json:"LogBackupSet,omitempty" name:"LogBackupSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOrdersRequest

type DescribeOrdersRequest struct {
	*tchttp.BaseRequest

	// Order name set
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`
}

func NewDescribeOrdersRequest

func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)

func (*DescribeOrdersRequest) FromJsonString

func (r *DescribeOrdersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrdersRequest) ToJsonString

func (r *DescribeOrdersRequest) ToJsonString() string

type DescribeOrdersRequestParams

type DescribeOrdersRequestParams struct {
	// Order name set
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`
}

Predefined struct for user

type DescribeOrdersResponse

type DescribeOrdersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOrdersResponseParams `json:"Response"`
}

func NewDescribeOrdersResponse

func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)

func (*DescribeOrdersResponse) FromJsonString

func (r *DescribeOrdersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrdersResponse) ToJsonString

func (r *DescribeOrdersResponse) ToJsonString() string

type DescribeOrdersResponseParams

type DescribeOrdersResponseParams struct {
	// Number of orders
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Order array
	Deals []*PgDeal `json:"Deals,omitempty" name:"Deals"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParameterTemplateAttributesRequest

type DescribeParameterTemplateAttributesRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

func NewDescribeParameterTemplateAttributesRequest

func NewDescribeParameterTemplateAttributesRequest() (request *DescribeParameterTemplateAttributesRequest)

func (*DescribeParameterTemplateAttributesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParameterTemplateAttributesRequest) ToJsonString

type DescribeParameterTemplateAttributesRequestParams

type DescribeParameterTemplateAttributesRequestParams struct {
	// Parameter template ID
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DescribeParameterTemplateAttributesResponse

type DescribeParameterTemplateAttributesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParameterTemplateAttributesResponseParams `json:"Response"`
}

func NewDescribeParameterTemplateAttributesResponse

func NewDescribeParameterTemplateAttributesResponse() (response *DescribeParameterTemplateAttributesResponse)

func (*DescribeParameterTemplateAttributesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParameterTemplateAttributesResponse) ToJsonString

type DescribeParameterTemplateAttributesResponseParams

type DescribeParameterTemplateAttributesResponseParams struct {
	// Parameter template ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// Number of parameters contained in the parameter template
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Parameter information contained in the parameter template
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamInfoSet []*ParamInfo `json:"ParamInfoSet,omitempty" name:"ParamInfoSet"`

	// Parameter template name
	// Note: This field may return null, indicating that no valid values can be obtained.
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// Database version applicable to a parameter template
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine applicable to a parameter template
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Parameter template description
	// Note: This field may return null, indicating that no valid values can be obtained.
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParameterTemplatesRequest

type DescribeParameterTemplatesRequest struct {
	*tchttp.BaseRequest

	// Filter conditions. Valid values: `TemplateName`, `TemplateId`, `DBMajorVersion`, `DBEngine`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 0-100. Default: `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric. Valid values: `CreateTime`, `TemplateName`, `DBMajorVersion`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending order),`desc` (descending order).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeParameterTemplatesRequest

func NewDescribeParameterTemplatesRequest() (request *DescribeParameterTemplatesRequest)

func (*DescribeParameterTemplatesRequest) FromJsonString

func (r *DescribeParameterTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParameterTemplatesRequest) ToJsonString

func (r *DescribeParameterTemplatesRequest) ToJsonString() string

type DescribeParameterTemplatesRequestParams

type DescribeParameterTemplatesRequestParams struct {
	// Filter conditions. Valid values: `TemplateName`, `TemplateId`, `DBMajorVersion`, `DBEngine`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The maximum number of results returned per page. Value range: 0-100. Default: `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric. Valid values: `CreateTime`, `TemplateName`, `DBMajorVersion`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending order),`desc` (descending order).
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeParameterTemplatesResponse

type DescribeParameterTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParameterTemplatesResponseParams `json:"Response"`
}

func NewDescribeParameterTemplatesResponse

func NewDescribeParameterTemplatesResponse() (response *DescribeParameterTemplatesResponse)

func (*DescribeParameterTemplatesResponse) FromJsonString

func (r *DescribeParameterTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParameterTemplatesResponse) ToJsonString

func (r *DescribeParameterTemplatesResponse) ToJsonString() string

type DescribeParameterTemplatesResponseParams

type DescribeParameterTemplatesResponseParams struct {
	// The total number of eligible parameter templates
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Parameter template list
	ParameterTemplateSet []*ParameterTemplate `json:"ParameterTemplateSet,omitempty" name:"ParameterTemplateSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParamsEventRequest

type DescribeParamsEventRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDescribeParamsEventRequest

func NewDescribeParamsEventRequest() (request *DescribeParamsEventRequest)

func (*DescribeParamsEventRequest) FromJsonString

func (r *DescribeParamsEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamsEventRequest) ToJsonString

func (r *DescribeParamsEventRequest) ToJsonString() string

type DescribeParamsEventRequestParams

type DescribeParamsEventRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DescribeParamsEventResponse

type DescribeParamsEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParamsEventResponseParams `json:"Response"`
}

func NewDescribeParamsEventResponse

func NewDescribeParamsEventResponse() (response *DescribeParamsEventResponse)

func (*DescribeParamsEventResponse) FromJsonString

func (r *DescribeParamsEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamsEventResponse) ToJsonString

func (r *DescribeParamsEventResponse) ToJsonString() string

type DescribeParamsEventResponseParams

type DescribeParamsEventResponseParams struct {
	// Total number of modified parameters
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Details of parameter modification events
	EventItems []*EventItem `json:"EventItems,omitempty" name:"EventItems"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProductConfigRequest

type DescribeProductConfigRequest struct {
	*tchttp.BaseRequest

	// AZ name
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Database engines. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible` (MSSQL compatible-TencentDB for PostgreSQL)
	// Default value: `postgresql`
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

func NewDescribeProductConfigRequest

func NewDescribeProductConfigRequest() (request *DescribeProductConfigRequest)

func (*DescribeProductConfigRequest) FromJsonString

func (r *DescribeProductConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductConfigRequest) ToJsonString

func (r *DescribeProductConfigRequest) ToJsonString() string

type DescribeProductConfigRequestParams

type DescribeProductConfigRequestParams struct {
	// AZ name
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Database engines. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible` (MSSQL compatible-TencentDB for PostgreSQL)
	// Default value: `postgresql`
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

Predefined struct for user

type DescribeProductConfigResponse

type DescribeProductConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductConfigResponseParams `json:"Response"`
}

func NewDescribeProductConfigResponse

func NewDescribeProductConfigResponse() (response *DescribeProductConfigResponse)

func (*DescribeProductConfigResponse) FromJsonString

func (r *DescribeProductConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductConfigResponse) ToJsonString

func (r *DescribeProductConfigResponse) ToJsonString() string

type DescribeProductConfigResponseParams

type DescribeProductConfigResponseParams struct {
	// Purchasable specification list.
	SpecInfoList []*SpecInfo `json:"SpecInfoList,omitempty" name:"SpecInfoList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReadOnlyGroupsRequest

type DescribeReadOnlyGroupsRequest struct {
	*tchttp.BaseRequest

	// Filter instances by using one or more filters. Valid values:  `db-master-instance-id` (filter by the primary instance ID in string), `read-only-group-id` (filter by the read-only group ID in string),
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The number of results per page. Default value: 10.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Specify which page is displayed. Default value: 1 (the first page).
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Sorting criterion. Valid values: `ROGroupId`, `CreateTime`, `Name`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeReadOnlyGroupsRequest

func NewDescribeReadOnlyGroupsRequest() (request *DescribeReadOnlyGroupsRequest)

func (*DescribeReadOnlyGroupsRequest) FromJsonString

func (r *DescribeReadOnlyGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupsRequest) ToJsonString

func (r *DescribeReadOnlyGroupsRequest) ToJsonString() string

type DescribeReadOnlyGroupsRequestParams

type DescribeReadOnlyGroupsRequestParams struct {
	// Filter instances by using one or more filters. Valid values:  `db-master-instance-id` (filter by the primary instance ID in string), `read-only-group-id` (filter by the read-only group ID in string),
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The number of results per page. Default value: 10.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Specify which page is displayed. Default value: 1 (the first page).
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Sorting criterion. Valid values: `ROGroupId`, `CreateTime`, `Name`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeReadOnlyGroupsResponse

type DescribeReadOnlyGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReadOnlyGroupsResponseParams `json:"Response"`
}

func NewDescribeReadOnlyGroupsResponse

func NewDescribeReadOnlyGroupsResponse() (response *DescribeReadOnlyGroupsResponse)

func (*DescribeReadOnlyGroupsResponse) FromJsonString

func (r *DescribeReadOnlyGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupsResponse) ToJsonString

func (r *DescribeReadOnlyGroupsResponse) ToJsonString() string

type DescribeReadOnlyGroupsResponseParams

type DescribeReadOnlyGroupsResponseParams struct {
	// RO group list
	ReadOnlyGroupList []*ReadOnlyGroup `json:"ReadOnlyGroupList,omitempty" name:"ReadOnlyGroupList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

func (r *DescribeRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

func (r *DescribeRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams

type DescribeRegionsResponseParams struct {
	// Number of returned results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Region information set.
	RegionSet []*RegionInfo `json:"RegionSet,omitempty" name:"RegionSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServerlessDBInstancesRequest

type DescribeServerlessDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Query conditions
	Filter []*Filter `json:"Filter,omitempty" name:"Filter"`

	// The number of queries
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The offset value
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric. Currently, only "CreateTime" (instance creation time) is supported.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Ascending and descending are supported.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeServerlessDBInstancesRequest

func NewDescribeServerlessDBInstancesRequest() (request *DescribeServerlessDBInstancesRequest)

func (*DescribeServerlessDBInstancesRequest) FromJsonString

func (r *DescribeServerlessDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServerlessDBInstancesRequest) ToJsonString

func (r *DescribeServerlessDBInstancesRequest) ToJsonString() string

type DescribeServerlessDBInstancesRequestParams

type DescribeServerlessDBInstancesRequestParams struct {
	// Query conditions
	Filter []*Filter `json:"Filter,omitempty" name:"Filter"`

	// The number of queries
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The offset value
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting metric. Currently, only "CreateTime" (instance creation time) is supported.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Ascending and descending are supported.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeServerlessDBInstancesResponse

type DescribeServerlessDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServerlessDBInstancesResponseParams `json:"Response"`
}

func NewDescribeServerlessDBInstancesResponse

func NewDescribeServerlessDBInstancesResponse() (response *DescribeServerlessDBInstancesResponse)

func (*DescribeServerlessDBInstancesResponse) FromJsonString

func (r *DescribeServerlessDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServerlessDBInstancesResponse) ToJsonString

type DescribeServerlessDBInstancesResponseParams

type DescribeServerlessDBInstancesResponseParams struct {
	// The number of query results
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Query results
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBInstanceSet []*ServerlessDBInstance `json:"DBInstanceSet,omitempty" name:"DBInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSlowQueryAnalysisRequest

type DescribeSlowQueryAnalysisRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss".
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter by database name. This parameter is optional.
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Sort by field. Valid values: `CallNum`, `CostTime`, `AvgCostTime`. Default value: `CallNum`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Number of entries per page. Value range: [1,100]. Default value: `50`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset. Value range: [0,INF). Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSlowQueryAnalysisRequest

func NewDescribeSlowQueryAnalysisRequest() (request *DescribeSlowQueryAnalysisRequest)

func (*DescribeSlowQueryAnalysisRequest) FromJsonString

func (r *DescribeSlowQueryAnalysisRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowQueryAnalysisRequest) ToJsonString

func (r *DescribeSlowQueryAnalysisRequest) ToJsonString() string

type DescribeSlowQueryAnalysisRequestParams

type DescribeSlowQueryAnalysisRequestParams struct {
	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss".
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter by database name. This parameter is optional.
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Sort by field. Valid values: `CallNum`, `CostTime`, `AvgCostTime`. Default value: `CallNum`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Number of entries per page. Value range: [1,100]. Default value: `50`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset. Value range: [0,INF). Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeSlowQueryAnalysisResponse

type DescribeSlowQueryAnalysisResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSlowQueryAnalysisResponseParams `json:"Response"`
}

func NewDescribeSlowQueryAnalysisResponse

func NewDescribeSlowQueryAnalysisResponse() (response *DescribeSlowQueryAnalysisResponse)

func (*DescribeSlowQueryAnalysisResponse) FromJsonString

func (r *DescribeSlowQueryAnalysisResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowQueryAnalysisResponse) ToJsonString

func (r *DescribeSlowQueryAnalysisResponse) ToJsonString() string

type DescribeSlowQueryAnalysisResponseParams

type DescribeSlowQueryAnalysisResponseParams struct {
	// The total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Detailed analysis.
	Detail *Detail `json:"Detail,omitempty" name:"Detail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSlowQueryListRequest

type DescribeSlowQueryListRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss".
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter by database name. This parameter is optional.
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Sort by field. Valid values: `SessionStartTime` (default), `Duration`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Number of entries per page. Value range: [1,100]. Default value: `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset. Value range: [0,INF). Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSlowQueryListRequest

func NewDescribeSlowQueryListRequest() (request *DescribeSlowQueryListRequest)

func (*DescribeSlowQueryListRequest) FromJsonString

func (r *DescribeSlowQueryListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowQueryListRequest) ToJsonString

func (r *DescribeSlowQueryListRequest) ToJsonString() string

type DescribeSlowQueryListRequestParams

type DescribeSlowQueryListRequestParams struct {
	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Start timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss". The log is retained for seven days by default, so the start timestamp must fall within the retention period.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End timestamp of the query range in the format of "YYYY-MM-DD HH:mm:ss".
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter by database name. This parameter is optional.
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`

	// Sort by field. Valid values: `SessionStartTime` (default), `Duration`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Number of entries per page. Value range: [1,100]. Default value: `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Pagination offset. Value range: [0,INF). Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeSlowQueryListResponse

type DescribeSlowQueryListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSlowQueryListResponseParams `json:"Response"`
}

func NewDescribeSlowQueryListResponse

func NewDescribeSlowQueryListResponse() (response *DescribeSlowQueryListResponse)

func (*DescribeSlowQueryListResponse) FromJsonString

func (r *DescribeSlowQueryListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowQueryListResponse) ToJsonString

func (r *DescribeSlowQueryListResponse) ToJsonString() string

type DescribeSlowQueryListResponseParams

type DescribeSlowQueryListResponseParams struct {
	// The total number of slow query statements during the specified period of time.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Analysis of the execution time of slow query statements by classifying them to different time ranges. These slow query statements fall within the query range you specified in the request parameters.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DurationAnalysis []*DurationAnalysis `json:"DurationAnalysis,omitempty" name:"DurationAnalysis"`

	// The list of slow query details during the specified period of time.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RawSlowQueryList []*RawSlowQuery `json:"RawSlowQueryList,omitempty" name:"RawSlowQueryList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of returned results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// AZ information set.
	ZoneSet []*ZoneInfo `json:"ZoneSet,omitempty" name:"ZoneSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DestroyDBInstanceRequest

type DestroyDBInstanceRequest struct {
	*tchttp.BaseRequest

	// The ID of the instance to be eliminated
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewDestroyDBInstanceRequest

func NewDestroyDBInstanceRequest() (request *DestroyDBInstanceRequest)

func (*DestroyDBInstanceRequest) FromJsonString

func (r *DestroyDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyDBInstanceRequest) ToJsonString

func (r *DestroyDBInstanceRequest) ToJsonString() string

type DestroyDBInstanceRequestParams

type DestroyDBInstanceRequestParams struct {
	// The ID of the instance to be eliminated
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type DestroyDBInstanceResponse

type DestroyDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DestroyDBInstanceResponseParams `json:"Response"`
}

func NewDestroyDBInstanceResponse

func NewDestroyDBInstanceResponse() (response *DestroyDBInstanceResponse)

func (*DestroyDBInstanceResponse) FromJsonString

func (r *DestroyDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyDBInstanceResponse) ToJsonString

func (r *DestroyDBInstanceResponse) ToJsonString() string

type DestroyDBInstanceResponseParams

type DestroyDBInstanceResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Detail

type Detail struct {
	// The total execution time (in ms) of all slow query statements during the specified period of time
	TotalTime *float64 `json:"TotalTime,omitempty" name:"TotalTime"`

	// The total number of all slow query statements during the specified period of time
	TotalCallNum *uint64 `json:"TotalCallNum,omitempty" name:"TotalCallNum"`

	// The statistical analysis list of slow queries
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AnalysisItems []*AnalysisItems `json:"AnalysisItems,omitempty" name:"AnalysisItems"`
}

type DisIsolateDBInstancesRequest

type DisIsolateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// List of resource IDs. Note that currently you cannot remove multiple instances from isolation at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The valid period (in months) of the monthly-subscribed instance when removing it from isolation
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Whether to use vouchers. Valid values: `true` (yes), `false` (no). Default value: `false`.
	AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`
}

func NewDisIsolateDBInstancesRequest

func NewDisIsolateDBInstancesRequest() (request *DisIsolateDBInstancesRequest)

func (*DisIsolateDBInstancesRequest) FromJsonString

func (r *DisIsolateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisIsolateDBInstancesRequest) ToJsonString

func (r *DisIsolateDBInstancesRequest) ToJsonString() string

type DisIsolateDBInstancesRequestParams

type DisIsolateDBInstancesRequestParams struct {
	// List of resource IDs. Note that currently you cannot remove multiple instances from isolation at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The valid period (in months) of the monthly-subscribed instance when removing it from isolation
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Whether to use vouchers. Valid values: `true` (yes), `false` (no). Default value: `false`.
	AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`
}

Predefined struct for user

type DisIsolateDBInstancesResponse

type DisIsolateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DisIsolateDBInstancesResponseParams `json:"Response"`
}

func NewDisIsolateDBInstancesResponse

func NewDisIsolateDBInstancesResponse() (response *DisIsolateDBInstancesResponse)

func (*DisIsolateDBInstancesResponse) FromJsonString

func (r *DisIsolateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisIsolateDBInstancesResponse) ToJsonString

func (r *DisIsolateDBInstancesResponse) ToJsonString() string

type DisIsolateDBInstancesResponseParams

type DisIsolateDBInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DurationAnalysis

type DurationAnalysis struct {
	// Time range
	TimeSegment *string `json:"TimeSegment,omitempty" name:"TimeSegment"`

	// The number of slow query statements whose execution time falls within the time range
	Count *int64 `json:"Count,omitempty" name:"Count"`
}

type EncryptionKey

type EncryptionKey struct {
	// Encrypted KeyId of KMS instance
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`

	// Encryption key alias of KMS instance
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	KeyAlias *string `json:"KeyAlias,omitempty" name:"KeyAlias"`

	// Instance DEK ciphertext
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DEKCipherTextBlob *string `json:"DEKCipherTextBlob,omitempty" name:"DEKCipherTextBlob"`

	// Whether the key is enabled. Valid values: `1` (yes), `0` (no)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IsEnabled *int64 `json:"IsEnabled,omitempty" name:"IsEnabled"`

	// Region where KMS key resides
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	KeyRegion *string `json:"KeyRegion,omitempty" name:"KeyRegion"`

	// DEK key creation time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type ErrLogDetail

type ErrLogDetail struct {
	// Username
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Database name
	Database *string `json:"Database,omitempty" name:"Database"`

	// Error occurrence time
	ErrTime *string `json:"ErrTime,omitempty" name:"ErrTime"`

	// Error message
	ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`
}

type EventInfo

type EventInfo struct {
	// Parameter name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// Original parameter value
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	OldValue *string `json:"OldValue,omitempty" name:"OldValue"`

	// New parameter value in this modification event
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NewValue *string `json:"NewValue,omitempty" name:"NewValue"`

	// Start time of parameter modification
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// Start time when the modified parameter takes effect
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`

	// Modification status
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	State *string `json:"State,omitempty" name:"State"`

	// Operator (generally, the value is the UIN of a sub-user)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// Event log
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EventLog *string `json:"EventLog,omitempty" name:"EventLog"`
}

type EventItem

type EventItem struct {
	// Parameter name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// The number of modification events
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EventCount *int64 `json:"EventCount,omitempty" name:"EventCount"`

	// Modification event details
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EventDetail []*EventInfo `json:"EventDetail,omitempty" name:"EventDetail"`
}

type Filter

type Filter struct {
	// Filter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// One or more filter values.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type InitDBInstancesRequest

type InitDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID set.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// Instance admin account username.
	AdminName *string `json:"AdminName,omitempty" name:"AdminName"`

	// Password corresponding to instance root account username.
	AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"`

	// Instance character set. Valid values: UTF8, LATIN1.
	Charset *string `json:"Charset,omitempty" name:"Charset"`
}

func NewInitDBInstancesRequest

func NewInitDBInstancesRequest() (request *InitDBInstancesRequest)

func (*InitDBInstancesRequest) FromJsonString

func (r *InitDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InitDBInstancesRequest) ToJsonString

func (r *InitDBInstancesRequest) ToJsonString() string

type InitDBInstancesRequestParams

type InitDBInstancesRequestParams struct {
	// Instance ID set.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// Instance admin account username.
	AdminName *string `json:"AdminName,omitempty" name:"AdminName"`

	// Password corresponding to instance root account username.
	AdminPassword *string `json:"AdminPassword,omitempty" name:"AdminPassword"`

	// Instance character set. Valid values: UTF8, LATIN1.
	Charset *string `json:"Charset,omitempty" name:"Charset"`
}

Predefined struct for user

type InitDBInstancesResponse

type InitDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *InitDBInstancesResponseParams `json:"Response"`
}

func NewInitDBInstancesResponse

func NewInitDBInstancesResponse() (response *InitDBInstancesResponse)

func (*InitDBInstancesResponse) FromJsonString

func (r *InitDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InitDBInstancesResponse) ToJsonString

func (r *InitDBInstancesResponse) ToJsonString() string

type InitDBInstancesResponseParams

type InitDBInstancesResponseParams struct {
	// Instance ID set.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceCreateDBInstancesRequest

type InquiryPriceCreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Storage capacity size in GB.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances. Maximum value: 100. If you need to create more instances at a time, please contact customer service.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// [Disused] Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Instance billing type. Valid value: POSTPAID_BY_HOUR (pay-as-you-go)
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Instance type. Default value: `primary`. Valid values:
	// `primary` (dual-server high-availability, one-primary-one-standby)
	// `readonly` (read-only instance)
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

func NewInquiryPriceCreateDBInstancesRequest

func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)

func (*InquiryPriceCreateDBInstancesRequest) FromJsonString

func (r *InquiryPriceCreateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateDBInstancesRequest) ToJsonString

func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string

type InquiryPriceCreateDBInstancesRequestParams

type InquiryPriceCreateDBInstancesRequestParams struct {
	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// Storage capacity size in GB.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Number of instances. Maximum value: 100. If you need to create more instances at a time, please contact customer service.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// [Disused] Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Instance billing type. Valid value: POSTPAID_BY_HOUR (pay-as-you-go)
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Instance type. Default value: `primary`. Valid values:
	// `primary` (dual-server high-availability, one-primary-one-standby)
	// `readonly` (read-only instance)
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`
}

Predefined struct for user

type InquiryPriceCreateDBInstancesResponse

type InquiryPriceCreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceCreateDBInstancesResponseParams `json:"Response"`
}

func NewInquiryPriceCreateDBInstancesResponse

func NewInquiryPriceCreateDBInstancesResponse() (response *InquiryPriceCreateDBInstancesResponse)

func (*InquiryPriceCreateDBInstancesResponse) FromJsonString

func (r *InquiryPriceCreateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateDBInstancesResponse) ToJsonString

type InquiryPriceCreateDBInstancesResponseParams

type InquiryPriceCreateDBInstancesResponseParams struct {
	// Published price in US Cent
	OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

	// Discounted total amount in US Cent
	Price *uint64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceRenewDBInstanceRequest

type InquiryPriceRenewDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Renewal duration in months. Maximum value: 48
	Period *int64 `json:"Period,omitempty" name:"Period"`
}

func NewInquiryPriceRenewDBInstanceRequest

func NewInquiryPriceRenewDBInstanceRequest() (request *InquiryPriceRenewDBInstanceRequest)

func (*InquiryPriceRenewDBInstanceRequest) FromJsonString

func (r *InquiryPriceRenewDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceRenewDBInstanceRequest) ToJsonString

func (r *InquiryPriceRenewDBInstanceRequest) ToJsonString() string

type InquiryPriceRenewDBInstanceRequestParams

type InquiryPriceRenewDBInstanceRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Renewal duration in months. Maximum value: 48
	Period *int64 `json:"Period,omitempty" name:"Period"`
}

Predefined struct for user

type InquiryPriceRenewDBInstanceResponse

type InquiryPriceRenewDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceRenewDBInstanceResponseParams `json:"Response"`
}

func NewInquiryPriceRenewDBInstanceResponse

func NewInquiryPriceRenewDBInstanceResponse() (response *InquiryPriceRenewDBInstanceResponse)

func (*InquiryPriceRenewDBInstanceResponse) FromJsonString

func (r *InquiryPriceRenewDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceRenewDBInstanceResponse) ToJsonString

func (r *InquiryPriceRenewDBInstanceResponse) ToJsonString() string

type InquiryPriceRenewDBInstanceResponseParams

type InquiryPriceRenewDBInstanceResponseParams struct {
	// Published price in cents. For example, 24650 indicates 246.5 USD.
	OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

	// Discounted total amount. For example, 24650 indicates 246.5 USD.
	Price *int64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceUpgradeDBInstanceRequest

type InquiryPriceUpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// Instance ID in the format of postgres-hez4fh0v
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance billing type. Valid value: `POSTPAID_BY_HOUR` (pay-as-you-go hourly)
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
}

func NewInquiryPriceUpgradeDBInstanceRequest

func NewInquiryPriceUpgradeDBInstanceRequest() (request *InquiryPriceUpgradeDBInstanceRequest)

func (*InquiryPriceUpgradeDBInstanceRequest) FromJsonString

func (r *InquiryPriceUpgradeDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeDBInstanceRequest) ToJsonString

func (r *InquiryPriceUpgradeDBInstanceRequest) ToJsonString() string

type InquiryPriceUpgradeDBInstanceRequestParams

type InquiryPriceUpgradeDBInstanceRequestParams struct {
	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// Instance ID in the format of postgres-hez4fh0v
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance billing type. Valid value: `POSTPAID_BY_HOUR` (pay-as-you-go hourly)
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
}

Predefined struct for user

type InquiryPriceUpgradeDBInstanceResponse

type InquiryPriceUpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceUpgradeDBInstanceResponseParams `json:"Response"`
}

func NewInquiryPriceUpgradeDBInstanceResponse

func NewInquiryPriceUpgradeDBInstanceResponse() (response *InquiryPriceUpgradeDBInstanceResponse)

func (*InquiryPriceUpgradeDBInstanceResponse) FromJsonString

func (r *InquiryPriceUpgradeDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeDBInstanceResponse) ToJsonString

type InquiryPriceUpgradeDBInstanceResponseParams

type InquiryPriceUpgradeDBInstanceResponseParams struct {
	// Total cost before discount.
	OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

	// Discounted total amount
	Price *int64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type IsolateDBInstancesRequest

type IsolateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs. Note that currently you cannot isolate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`
}

func NewIsolateDBInstancesRequest

func NewIsolateDBInstancesRequest() (request *IsolateDBInstancesRequest)

func (*IsolateDBInstancesRequest) FromJsonString

func (r *IsolateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateDBInstancesRequest) ToJsonString

func (r *IsolateDBInstancesRequest) ToJsonString() string

type IsolateDBInstancesRequestParams

type IsolateDBInstancesRequestParams struct {
	// List of instance IDs. Note that currently you cannot isolate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`
}

Predefined struct for user

type IsolateDBInstancesResponse

type IsolateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *IsolateDBInstancesResponseParams `json:"Response"`
}

func NewIsolateDBInstancesResponse

func NewIsolateDBInstancesResponse() (response *IsolateDBInstancesResponse)

func (*IsolateDBInstancesResponse) FromJsonString

func (r *IsolateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateDBInstancesResponse) ToJsonString

func (r *IsolateDBInstancesResponse) ToJsonString() string

type IsolateDBInstancesResponseParams

type IsolateDBInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type LogBackup

type LogBackup struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Unique ID of a backup file
	Id *string `json:"Id,omitempty" name:"Id"`

	// Backup file name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Backup method, including physical and logical.
	BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"`

	// Backup mode, including automatic and manual.
	BackupMode *string `json:"BackupMode,omitempty" name:"BackupMode"`

	// Backup task status
	State *string `json:"State,omitempty" name:"State"`

	// Backup set size in bytes
	Size *uint64 `json:"Size,omitempty" name:"Size"`

	// Backup start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Backup end time
	FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`

	// Backup expiration time
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type ModifyAccountRemarkRequest

type ModifyAccountRemarkRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-4wdeb0zv
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance username
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// New remarks corresponding to user `UserName`
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewModifyAccountRemarkRequest

func NewModifyAccountRemarkRequest() (request *ModifyAccountRemarkRequest)

func (*ModifyAccountRemarkRequest) FromJsonString

func (r *ModifyAccountRemarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountRemarkRequest) ToJsonString

func (r *ModifyAccountRemarkRequest) ToJsonString() string

type ModifyAccountRemarkRequestParams

type ModifyAccountRemarkRequestParams struct {
	// Instance ID in the format of postgres-4wdeb0zv
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance username
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// New remarks corresponding to user `UserName`
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

Predefined struct for user

type ModifyAccountRemarkResponse

type ModifyAccountRemarkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountRemarkResponseParams `json:"Response"`
}

func NewModifyAccountRemarkResponse

func NewModifyAccountRemarkResponse() (response *ModifyAccountRemarkResponse)

func (*ModifyAccountRemarkResponse) FromJsonString

func (r *ModifyAccountRemarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountRemarkResponse) ToJsonString

func (r *ModifyAccountRemarkResponse) ToJsonString() string

type ModifyAccountRemarkResponseParams

type ModifyAccountRemarkResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionRequest

type ModifyBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest

	// Type of the network restrictions for downloading a backup file. Valid values: `NONE` (backups can be downloaded over both private and public networks), `INTRANET` (backups can only be downloaded over the private network), `CUSTOMIZE` (backups can be downloaded over specified VPCs or at specified IPs).
	RestrictionType *string `json:"RestrictionType,omitempty" name:"RestrictionType"`

	// Whether VPC is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitempty" name:"VpcRestrictionEffect"`

	// Whether it is allowed to download the VPC ID list of the backup files.
	VpcIdSet []*string `json:"VpcIdSet,omitempty" name:"VpcIdSet"`

	// Whether IP is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	IpRestrictionEffect *string `json:"IpRestrictionEffect,omitempty" name:"IpRestrictionEffect"`

	// Whether it is allowed to download the IP list of the backup files.
	IpSet []*string `json:"IpSet,omitempty" name:"IpSet"`
}

func NewModifyBackupDownloadRestrictionRequest

func NewModifyBackupDownloadRestrictionRequest() (request *ModifyBackupDownloadRestrictionRequest)

func (*ModifyBackupDownloadRestrictionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupDownloadRestrictionRequest) ToJsonString

type ModifyBackupDownloadRestrictionRequestParams

type ModifyBackupDownloadRestrictionRequestParams struct {
	// Type of the network restrictions for downloading a backup file. Valid values: `NONE` (backups can be downloaded over both private and public networks), `INTRANET` (backups can only be downloaded over the private network), `CUSTOMIZE` (backups can be downloaded over specified VPCs or at specified IPs).
	RestrictionType *string `json:"RestrictionType,omitempty" name:"RestrictionType"`

	// Whether VPC is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitempty" name:"VpcRestrictionEffect"`

	// Whether it is allowed to download the VPC ID list of the backup files.
	VpcIdSet []*string `json:"VpcIdSet,omitempty" name:"VpcIdSet"`

	// Whether IP is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).
	IpRestrictionEffect *string `json:"IpRestrictionEffect,omitempty" name:"IpRestrictionEffect"`

	// Whether it is allowed to download the IP list of the backup files.
	IpSet []*string `json:"IpSet,omitempty" name:"IpSet"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionResponse

type ModifyBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewModifyBackupDownloadRestrictionResponse

func NewModifyBackupDownloadRestrictionResponse() (response *ModifyBackupDownloadRestrictionResponse)

func (*ModifyBackupDownloadRestrictionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupDownloadRestrictionResponse) ToJsonString

type ModifyBackupDownloadRestrictionResponseParams

type ModifyBackupDownloadRestrictionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupPlanRequest

type ModifyBackupPlanRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// The earliest time to start a backup
	MinBackupStartTime *string `json:"MinBackupStartTime,omitempty" name:"MinBackupStartTime"`

	// The latest time to start a backup
	MaxBackupStartTime *string `json:"MaxBackupStartTime,omitempty" name:"MaxBackupStartTime"`

	// Backup retention period in days. Value range: 3-7
	BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitempty" name:"BaseBackupRetentionPeriod"`

	// Backup cycle, which means on which days each week the instance will be backed up. The parameter value should be the lowercase names of the days of the week.
	BackupPeriod []*string `json:"BackupPeriod,omitempty" name:"BackupPeriod"`
}

func NewModifyBackupPlanRequest

func NewModifyBackupPlanRequest() (request *ModifyBackupPlanRequest)

func (*ModifyBackupPlanRequest) FromJsonString

func (r *ModifyBackupPlanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupPlanRequest) ToJsonString

func (r *ModifyBackupPlanRequest) ToJsonString() string

type ModifyBackupPlanRequestParams

type ModifyBackupPlanRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// The earliest time to start a backup
	MinBackupStartTime *string `json:"MinBackupStartTime,omitempty" name:"MinBackupStartTime"`

	// The latest time to start a backup
	MaxBackupStartTime *string `json:"MaxBackupStartTime,omitempty" name:"MaxBackupStartTime"`

	// Backup retention period in days. Value range: 3-7
	BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitempty" name:"BaseBackupRetentionPeriod"`

	// Backup cycle, which means on which days each week the instance will be backed up. The parameter value should be the lowercase names of the days of the week.
	BackupPeriod []*string `json:"BackupPeriod,omitempty" name:"BackupPeriod"`
}

Predefined struct for user

type ModifyBackupPlanResponse

type ModifyBackupPlanResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupPlanResponseParams `json:"Response"`
}

func NewModifyBackupPlanResponse

func NewModifyBackupPlanResponse() (response *ModifyBackupPlanResponse)

func (*ModifyBackupPlanResponse) FromJsonString

func (r *ModifyBackupPlanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupPlanResponse) ToJsonString

func (r *ModifyBackupPlanResponse) ToJsonString() string

type ModifyBackupPlanResponseParams

type ModifyBackupPlanResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBaseBackupExpireTimeRequest

type ModifyBaseBackupExpireTimeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Base backup ID
	BaseBackupId *string `json:"BaseBackupId,omitempty" name:"BaseBackupId"`

	// New expiration time
	NewExpireTime *string `json:"NewExpireTime,omitempty" name:"NewExpireTime"`
}

func NewModifyBaseBackupExpireTimeRequest

func NewModifyBaseBackupExpireTimeRequest() (request *ModifyBaseBackupExpireTimeRequest)

func (*ModifyBaseBackupExpireTimeRequest) FromJsonString

func (r *ModifyBaseBackupExpireTimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBaseBackupExpireTimeRequest) ToJsonString

func (r *ModifyBaseBackupExpireTimeRequest) ToJsonString() string

type ModifyBaseBackupExpireTimeRequestParams

type ModifyBaseBackupExpireTimeRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Base backup ID
	BaseBackupId *string `json:"BaseBackupId,omitempty" name:"BaseBackupId"`

	// New expiration time
	NewExpireTime *string `json:"NewExpireTime,omitempty" name:"NewExpireTime"`
}

Predefined struct for user

type ModifyBaseBackupExpireTimeResponse

type ModifyBaseBackupExpireTimeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBaseBackupExpireTimeResponseParams `json:"Response"`
}

func NewModifyBaseBackupExpireTimeResponse

func NewModifyBaseBackupExpireTimeResponse() (response *ModifyBaseBackupExpireTimeResponse)

func (*ModifyBaseBackupExpireTimeResponse) FromJsonString

func (r *ModifyBaseBackupExpireTimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBaseBackupExpireTimeResponse) ToJsonString

func (r *ModifyBaseBackupExpireTimeResponse) ToJsonString() string

type ModifyBaseBackupExpireTimeResponseParams

type ModifyBaseBackupExpireTimeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceChargeTypeRequest

type ModifyDBInstanceChargeTypeRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of `postgres-6fego161`
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance billing mode.  Valid values:  `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go). Default value:  `PREPAID`.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Validity period  in months. Valid values:  Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Renewal flag. Valid values;  Valid values: `0` (manual renewal), `1` (auto-renewal).
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`
}

func NewModifyDBInstanceChargeTypeRequest

func NewModifyDBInstanceChargeTypeRequest() (request *ModifyDBInstanceChargeTypeRequest)

func (*ModifyDBInstanceChargeTypeRequest) FromJsonString

func (r *ModifyDBInstanceChargeTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceChargeTypeRequest) ToJsonString

func (r *ModifyDBInstanceChargeTypeRequest) ToJsonString() string

type ModifyDBInstanceChargeTypeRequestParams

type ModifyDBInstanceChargeTypeRequestParams struct {
	// Instance ID in the format of `postgres-6fego161`
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance billing mode.  Valid values:  `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go). Default value:  `PREPAID`.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Validity period  in months. Valid values:  Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Renewal flag. Valid values;  Valid values: `0` (manual renewal), `1` (auto-renewal).
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`
}

Predefined struct for user

type ModifyDBInstanceChargeTypeResponse

type ModifyDBInstanceChargeTypeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceChargeTypeResponseParams `json:"Response"`
}

func NewModifyDBInstanceChargeTypeResponse

func NewModifyDBInstanceChargeTypeResponse() (response *ModifyDBInstanceChargeTypeResponse)

func (*ModifyDBInstanceChargeTypeResponse) FromJsonString

func (r *ModifyDBInstanceChargeTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceChargeTypeResponse) ToJsonString

func (r *ModifyDBInstanceChargeTypeResponse) ToJsonString() string

type ModifyDBInstanceChargeTypeResponseParams

type ModifyDBInstanceChargeTypeResponseParams struct {
	// Order name
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceDeploymentRequest

type ModifyDBInstanceDeploymentRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance node information.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Switch time. Valid values: `0` (switch now), `1` (switch at a specified time), `2` (switch during maintenance time). Default value: `0`.
	SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

func NewModifyDBInstanceDeploymentRequest

func NewModifyDBInstanceDeploymentRequest() (request *ModifyDBInstanceDeploymentRequest)

func (*ModifyDBInstanceDeploymentRequest) FromJsonString

func (r *ModifyDBInstanceDeploymentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceDeploymentRequest) ToJsonString

func (r *ModifyDBInstanceDeploymentRequest) ToJsonString() string

type ModifyDBInstanceDeploymentRequestParams

type ModifyDBInstanceDeploymentRequestParams struct {
	// Instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance node information.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// Switch time. Valid values: `0` (switch now), `1` (switch at a specified time), `2` (switch during maintenance time). Default value: `0`.
	SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

Predefined struct for user

type ModifyDBInstanceDeploymentResponse

type ModifyDBInstanceDeploymentResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceDeploymentResponseParams `json:"Response"`
}

func NewModifyDBInstanceDeploymentResponse

func NewModifyDBInstanceDeploymentResponse() (response *ModifyDBInstanceDeploymentResponse)

func (*ModifyDBInstanceDeploymentResponse) FromJsonString

func (r *ModifyDBInstanceDeploymentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceDeploymentResponse) ToJsonString

func (r *ModifyDBInstanceDeploymentResponse) ToJsonString() string

type ModifyDBInstanceDeploymentResponseParams

type ModifyDBInstanceDeploymentResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceNameRequest

type ModifyDBInstanceNameRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of postgres-6fego161
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// New name of database instance
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
}

func NewModifyDBInstanceNameRequest

func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)

func (*ModifyDBInstanceNameRequest) FromJsonString

func (r *ModifyDBInstanceNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNameRequest) ToJsonString

func (r *ModifyDBInstanceNameRequest) ToJsonString() string

type ModifyDBInstanceNameRequestParams

type ModifyDBInstanceNameRequestParams struct {
	// Database instance ID in the format of postgres-6fego161
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// New name of database instance
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
}

Predefined struct for user

type ModifyDBInstanceNameResponse

type ModifyDBInstanceNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceNameResponseParams `json:"Response"`
}

func NewModifyDBInstanceNameResponse

func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)

func (*ModifyDBInstanceNameResponse) FromJsonString

func (r *ModifyDBInstanceNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNameResponse) ToJsonString

func (r *ModifyDBInstanceNameResponse) ToJsonString() string

type ModifyDBInstanceNameResponseParams

type ModifyDBInstanceNameResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceParametersRequest

type ModifyDBInstanceParametersRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Parameters to be modified and their new values
	ParamList []*ParamEntry `json:"ParamList,omitempty" name:"ParamList"`
}

func NewModifyDBInstanceParametersRequest

func NewModifyDBInstanceParametersRequest() (request *ModifyDBInstanceParametersRequest)

func (*ModifyDBInstanceParametersRequest) FromJsonString

func (r *ModifyDBInstanceParametersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceParametersRequest) ToJsonString

func (r *ModifyDBInstanceParametersRequest) ToJsonString() string

type ModifyDBInstanceParametersRequestParams

type ModifyDBInstanceParametersRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Parameters to be modified and their new values
	ParamList []*ParamEntry `json:"ParamList,omitempty" name:"ParamList"`
}

Predefined struct for user

type ModifyDBInstanceParametersResponse

type ModifyDBInstanceParametersResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceParametersResponseParams `json:"Response"`
}

func NewModifyDBInstanceParametersResponse

func NewModifyDBInstanceParametersResponse() (response *ModifyDBInstanceParametersResponse)

func (*ModifyDBInstanceParametersResponse) FromJsonString

func (r *ModifyDBInstanceParametersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceParametersResponse) ToJsonString

func (r *ModifyDBInstanceParametersResponse) ToJsonString() string

type ModifyDBInstanceParametersResponseParams

type ModifyDBInstanceParametersResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceReadOnlyGroupRequest

type ModifyDBInstanceReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// ID of the RO group to which the read-only replica belongs
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// ID of the new RO group into which the read-only replica will move
	NewReadOnlyGroupId *string `json:"NewReadOnlyGroupId,omitempty" name:"NewReadOnlyGroupId"`
}

func NewModifyDBInstanceReadOnlyGroupRequest

func NewModifyDBInstanceReadOnlyGroupRequest() (request *ModifyDBInstanceReadOnlyGroupRequest)

func (*ModifyDBInstanceReadOnlyGroupRequest) FromJsonString

func (r *ModifyDBInstanceReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceReadOnlyGroupRequest) ToJsonString

func (r *ModifyDBInstanceReadOnlyGroupRequest) ToJsonString() string

type ModifyDBInstanceReadOnlyGroupRequestParams

type ModifyDBInstanceReadOnlyGroupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// ID of the RO group to which the read-only replica belongs
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// ID of the new RO group into which the read-only replica will move
	NewReadOnlyGroupId *string `json:"NewReadOnlyGroupId,omitempty" name:"NewReadOnlyGroupId"`
}

Predefined struct for user

type ModifyDBInstanceReadOnlyGroupResponse

type ModifyDBInstanceReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceReadOnlyGroupResponseParams `json:"Response"`
}

func NewModifyDBInstanceReadOnlyGroupResponse

func NewModifyDBInstanceReadOnlyGroupResponse() (response *ModifyDBInstanceReadOnlyGroupResponse)

func (*ModifyDBInstanceReadOnlyGroupResponse) FromJsonString

func (r *ModifyDBInstanceReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceReadOnlyGroupResponse) ToJsonString

type ModifyDBInstanceReadOnlyGroupResponseParams

type ModifyDBInstanceReadOnlyGroupResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsRequest

type ModifyDBInstanceSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// The list of security groups to be associated with the instance or RO groups
	SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitempty" name:"SecurityGroupIdSet"`

	// Instance ID. Either this parameter or `ReadOnlyGroupId` must be passed in. If both parameters are passed in, `ReadOnlyGroupId` will be ignored.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID. Either this parameter or `DBInstanceId` must be passed in. To modify  the security groups associated with the RO groups, only pass in `ReadOnlyGroupId`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewModifyDBInstanceSecurityGroupsRequest

func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)

func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString

func (r *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString

type ModifyDBInstanceSecurityGroupsRequestParams

type ModifyDBInstanceSecurityGroupsRequestParams struct {
	// The list of security groups to be associated with the instance or RO groups
	SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitempty" name:"SecurityGroupIdSet"`

	// Instance ID. Either this parameter or `ReadOnlyGroupId` must be passed in. If both parameters are passed in, `ReadOnlyGroupId` will be ignored.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID. Either this parameter or `DBInstanceId` must be passed in. To modify  the security groups associated with the RO groups, only pass in `ReadOnlyGroupId`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsResponse

type ModifyDBInstanceSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"`
}

func NewModifyDBInstanceSecurityGroupsResponse

func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)

func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString

type ModifyDBInstanceSecurityGroupsResponseParams

type ModifyDBInstanceSecurityGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSpecRequest

type ModifyDBInstanceSpecRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance memory size in GiB after modification.
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Instance disk size in GiB after modification.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Campaign ID.
	ActivityId *uint64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Switch time after instance configurations are modified. Valid values: `0` (switch now), `1` (switch at a specified time), `2` (switch during maintenance time). Default value: `0`.
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

func NewModifyDBInstanceSpecRequest

func NewModifyDBInstanceSpecRequest() (request *ModifyDBInstanceSpecRequest)

func (*ModifyDBInstanceSpecRequest) FromJsonString

func (r *ModifyDBInstanceSpecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSpecRequest) ToJsonString

func (r *ModifyDBInstanceSpecRequest) ToJsonString() string

type ModifyDBInstanceSpecRequestParams

type ModifyDBInstanceSpecRequestParams struct {
	// Instance ID in the format of postgres-6bwgamo3.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance memory size in GiB after modification.
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Instance disk size in GiB after modification.
	Storage *uint64 `json:"Storage,omitempty" name:"Storage"`

	// Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.
	AutoVoucher *uint64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Campaign ID.
	ActivityId *uint64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Switch time after instance configurations are modified. Valid values: `0` (switch now), `1` (switch at a specified time), `2` (switch during maintenance time). Default value: `0`.
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is 0 or 2, this parameter becomes invalid.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

Predefined struct for user

type ModifyDBInstanceSpecResponse

type ModifyDBInstanceSpecResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSpecResponseParams `json:"Response"`
}

func NewModifyDBInstanceSpecResponse

func NewModifyDBInstanceSpecResponse() (response *ModifyDBInstanceSpecResponse)

func (*ModifyDBInstanceSpecResponse) FromJsonString

func (r *ModifyDBInstanceSpecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSpecResponse) ToJsonString

func (r *ModifyDBInstanceSpecResponse) ToJsonString() string

type ModifyDBInstanceSpecResponseParams

type ModifyDBInstanceSpecResponseParams struct {
	// Order ID.
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// Bill ID of frozen fees.
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstancesProjectRequest

type ModifyDBInstancesProjectRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs. Note that currently you cannot manipulate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// ID of the new project
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewModifyDBInstancesProjectRequest

func NewModifyDBInstancesProjectRequest() (request *ModifyDBInstancesProjectRequest)

func (*ModifyDBInstancesProjectRequest) FromJsonString

func (r *ModifyDBInstancesProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstancesProjectRequest) ToJsonString

func (r *ModifyDBInstancesProjectRequest) ToJsonString() string

type ModifyDBInstancesProjectRequestParams

type ModifyDBInstancesProjectRequestParams struct {
	// List of instance IDs. Note that currently you cannot manipulate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// ID of the new project
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}

Predefined struct for user

type ModifyDBInstancesProjectResponse

type ModifyDBInstancesProjectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstancesProjectResponseParams `json:"Response"`
}

func NewModifyDBInstancesProjectResponse

func NewModifyDBInstancesProjectResponse() (response *ModifyDBInstancesProjectResponse)

func (*ModifyDBInstancesProjectResponse) FromJsonString

func (r *ModifyDBInstancesProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstancesProjectResponse) ToJsonString

func (r *ModifyDBInstancesProjectResponse) ToJsonString() string

type ModifyDBInstancesProjectResponseParams

type ModifyDBInstancesProjectResponseParams struct {
	// Number of successfully transferred instances
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyParameterTemplateRequest

type ModifyParameterTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID, which uniquely identifies a parameter template and cannot be modified.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// Parameter template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this field is empty, the original parameter template name will be used.
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this parameter is not passed in, the original parameter template description will be used.
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`

	// The set of parameters to be modified or added. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
	ModifyParamEntrySet []*ParamEntry `json:"ModifyParamEntrySet,omitempty" name:"ModifyParamEntrySet"`

	// The set of parameters to be deleted in the template. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
	DeleteParamSet []*string `json:"DeleteParamSet,omitempty" name:"DeleteParamSet"`
}

func NewModifyParameterTemplateRequest

func NewModifyParameterTemplateRequest() (request *ModifyParameterTemplateRequest)

func (*ModifyParameterTemplateRequest) FromJsonString

func (r *ModifyParameterTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyParameterTemplateRequest) ToJsonString

func (r *ModifyParameterTemplateRequest) ToJsonString() string

type ModifyParameterTemplateRequestParams

type ModifyParameterTemplateRequestParams struct {
	// Parameter template ID, which uniquely identifies a parameter template and cannot be modified.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// Parameter template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this field is empty, the original parameter template name will be used.
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this parameter is not passed in, the original parameter template description will be used.
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`

	// The set of parameters to be modified or added. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
	ModifyParamEntrySet []*ParamEntry `json:"ModifyParamEntrySet,omitempty" name:"ModifyParamEntrySet"`

	// The set of parameters to be deleted in the template. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
	DeleteParamSet []*string `json:"DeleteParamSet,omitempty" name:"DeleteParamSet"`
}

Predefined struct for user

type ModifyParameterTemplateResponse

type ModifyParameterTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyParameterTemplateResponseParams `json:"Response"`
}

func NewModifyParameterTemplateResponse

func NewModifyParameterTemplateResponse() (response *ModifyParameterTemplateResponse)

func (*ModifyParameterTemplateResponse) FromJsonString

func (r *ModifyParameterTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyParameterTemplateResponse) ToJsonString

func (r *ModifyParameterTemplateResponse) ToJsonString() string

type ModifyParameterTemplateResponseParams

type ModifyParameterTemplateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyReadOnlyGroupConfigRequest

type ModifyReadOnlyGroupConfigRequest struct {
	*tchttp.BaseRequest

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// RO group name
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitempty" name:"ReadOnlyGroupName"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delayed log size threshold in MB
	MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// Delay threshold in ms
	MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Whether to enable automatic load balancing. Valid values: `0` (disable), `1` (enable).
	Rebalance *uint64 `json:"Rebalance,omitempty" name:"Rebalance"`

	// The minimum number of read-only replicas that must be retained in an RO group
	MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`
}

func NewModifyReadOnlyGroupConfigRequest

func NewModifyReadOnlyGroupConfigRequest() (request *ModifyReadOnlyGroupConfigRequest)

func (*ModifyReadOnlyGroupConfigRequest) FromJsonString

func (r *ModifyReadOnlyGroupConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReadOnlyGroupConfigRequest) ToJsonString

func (r *ModifyReadOnlyGroupConfigRequest) ToJsonString() string

type ModifyReadOnlyGroupConfigRequestParams

type ModifyReadOnlyGroupConfigRequestParams struct {
	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// RO group name
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitempty" name:"ReadOnlyGroupName"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delayed log size threshold in MB
	MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// Delay threshold in ms
	MaxReplayLag *uint64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Whether to enable automatic load balancing. Valid values: `0` (disable), `1` (enable).
	Rebalance *uint64 `json:"Rebalance,omitempty" name:"Rebalance"`

	// The minimum number of read-only replicas that must be retained in an RO group
	MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`
}

Predefined struct for user

type ModifyReadOnlyGroupConfigResponse

type ModifyReadOnlyGroupConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyReadOnlyGroupConfigResponseParams `json:"Response"`
}

func NewModifyReadOnlyGroupConfigResponse

func NewModifyReadOnlyGroupConfigResponse() (response *ModifyReadOnlyGroupConfigResponse)

func (*ModifyReadOnlyGroupConfigResponse) FromJsonString

func (r *ModifyReadOnlyGroupConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReadOnlyGroupConfigResponse) ToJsonString

func (r *ModifyReadOnlyGroupConfigResponse) ToJsonString() string

type ModifyReadOnlyGroupConfigResponseParams

type ModifyReadOnlyGroupConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySwitchTimePeriodRequest

type ModifySwitchTimePeriodRequest struct {
	*tchttp.BaseRequest

	// The ID of the instance waiting for a switch
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Valid value: `0` (switch immediately)
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`
}

func NewModifySwitchTimePeriodRequest

func NewModifySwitchTimePeriodRequest() (request *ModifySwitchTimePeriodRequest)

func (*ModifySwitchTimePeriodRequest) FromJsonString

func (r *ModifySwitchTimePeriodRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySwitchTimePeriodRequest) ToJsonString

func (r *ModifySwitchTimePeriodRequest) ToJsonString() string

type ModifySwitchTimePeriodRequestParams

type ModifySwitchTimePeriodRequestParams struct {
	// The ID of the instance waiting for a switch
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Valid value: `0` (switch immediately)
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`
}

Predefined struct for user

type ModifySwitchTimePeriodResponse

type ModifySwitchTimePeriodResponse struct {
	*tchttp.BaseResponse
	Response *ModifySwitchTimePeriodResponseParams `json:"Response"`
}

func NewModifySwitchTimePeriodResponse

func NewModifySwitchTimePeriodResponse() (response *ModifySwitchTimePeriodResponse)

func (*ModifySwitchTimePeriodResponse) FromJsonString

func (r *ModifySwitchTimePeriodResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySwitchTimePeriodResponse) ToJsonString

func (r *ModifySwitchTimePeriodResponse) ToJsonString() string

type ModifySwitchTimePeriodResponseParams

type ModifySwitchTimePeriodResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type NetworkAccess

type NetworkAccess struct {
	// Network resource ID, instance ID, or RO group ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Resource type. Valid values: `1` (instance), `2` (RO group)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ResourceType *uint64 `json:"ResourceType,omitempty" name:"ResourceType"`

	// VPC ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// IPv4 address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Vip *string `json:"Vip,omitempty" name:"Vip"`

	// IPv6 address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Vip6 *string `json:"Vip6,omitempty" name:"Vip6"`

	// Access port
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Vport *int64 `json:"Vport,omitempty" name:"Vport"`

	// Subnet ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Network status. Valid values: `1` (applying), `2` (in use), `3` (deleting), `4` (deleted)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VpcStatus *int64 `json:"VpcStatus,omitempty" name:"VpcStatus"`
}

type NormalQueryItem

type NormalQueryItem struct {
	// Username
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Number of calls
	Calls *int64 `json:"Calls,omitempty" name:"Calls"`

	// Granularity
	CallsGrids []*int64 `json:"CallsGrids,omitempty" name:"CallsGrids"`

	// Total time consumed
	CostTime *float64 `json:"CostTime,omitempty" name:"CostTime"`

	// Number of affected rows
	Rows *int64 `json:"Rows,omitempty" name:"Rows"`

	// Minimum time consumed
	MinCostTime *float64 `json:"MinCostTime,omitempty" name:"MinCostTime"`

	// Maximum time consumed
	MaxCostTime *float64 `json:"MaxCostTime,omitempty" name:"MaxCostTime"`

	// Time of the earliest slow SQL statement
	FirstTime *string `json:"FirstTime,omitempty" name:"FirstTime"`

	// Time of the latest slow SQL statement
	LastTime *string `json:"LastTime,omitempty" name:"LastTime"`

	// Shared memory blocks for reads
	SharedReadBlks *int64 `json:"SharedReadBlks,omitempty" name:"SharedReadBlks"`

	// Shared memory blocks for writes
	SharedWriteBlks *int64 `json:"SharedWriteBlks,omitempty" name:"SharedWriteBlks"`

	// Total IO read time
	ReadCostTime *int64 `json:"ReadCostTime,omitempty" name:"ReadCostTime"`

	// Total IO write time
	WriteCostTime *int64 `json:"WriteCostTime,omitempty" name:"WriteCostTime"`

	// Database name
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// Slow SQL statement after desensitization
	NormalQuery *string `json:"NormalQuery,omitempty" name:"NormalQuery"`
}

type OpenDBExtranetAccessRequest

type OpenDBExtranetAccessRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-hez4fh0v
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to enable public network access over IPv6 address. Valid values: 1 (yes), 0 (no)
	IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"`
}

func NewOpenDBExtranetAccessRequest

func NewOpenDBExtranetAccessRequest() (request *OpenDBExtranetAccessRequest)

func (*OpenDBExtranetAccessRequest) FromJsonString

func (r *OpenDBExtranetAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenDBExtranetAccessRequest) ToJsonString

func (r *OpenDBExtranetAccessRequest) ToJsonString() string

type OpenDBExtranetAccessRequestParams

type OpenDBExtranetAccessRequestParams struct {
	// Instance ID in the format of postgres-hez4fh0v
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to enable public network access over IPv6 address. Valid values: 1 (yes), 0 (no)
	IsIpv6 *int64 `json:"IsIpv6,omitempty" name:"IsIpv6"`
}

Predefined struct for user

type OpenDBExtranetAccessResponse

type OpenDBExtranetAccessResponse struct {
	*tchttp.BaseResponse
	Response *OpenDBExtranetAccessResponseParams `json:"Response"`
}

func NewOpenDBExtranetAccessResponse

func NewOpenDBExtranetAccessResponse() (response *OpenDBExtranetAccessResponse)

func (*OpenDBExtranetAccessResponse) FromJsonString

func (r *OpenDBExtranetAccessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenDBExtranetAccessResponse) ToJsonString

func (r *OpenDBExtranetAccessResponse) ToJsonString() string

type OpenDBExtranetAccessResponseParams

type OpenDBExtranetAccessResponseParams struct {
	// Async task flow ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenServerlessDBExtranetAccessRequest

type OpenServerlessDBExtranetAccessRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an instance
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`
}

func NewOpenServerlessDBExtranetAccessRequest

func NewOpenServerlessDBExtranetAccessRequest() (request *OpenServerlessDBExtranetAccessRequest)

func (*OpenServerlessDBExtranetAccessRequest) FromJsonString

func (r *OpenServerlessDBExtranetAccessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenServerlessDBExtranetAccessRequest) ToJsonString

type OpenServerlessDBExtranetAccessRequestParams

type OpenServerlessDBExtranetAccessRequestParams struct {
	// Unique ID of an instance
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`
}

Predefined struct for user

type OpenServerlessDBExtranetAccessResponse

type OpenServerlessDBExtranetAccessResponse struct {
	*tchttp.BaseResponse
	Response *OpenServerlessDBExtranetAccessResponseParams `json:"Response"`
}

func NewOpenServerlessDBExtranetAccessResponse

func NewOpenServerlessDBExtranetAccessResponse() (response *OpenServerlessDBExtranetAccessResponse)

func (*OpenServerlessDBExtranetAccessResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenServerlessDBExtranetAccessResponse) ToJsonString

type OpenServerlessDBExtranetAccessResponseParams

type OpenServerlessDBExtranetAccessResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ParamEntry

type ParamEntry struct {
	// Parameter name
	Name *string `json:"Name,omitempty" name:"Name"`

	// The new value to which the parameter will be modified. When this parameter is used as an input parameter, its value must be a string, such as `0.1` (decimal), `1000` (integer), and `replica` (enum).
	ExpectedValue *string `json:"ExpectedValue,omitempty" name:"ExpectedValue"`
}

type ParamInfo

type ParamInfo struct {
	// Parameter ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ID *int64 `json:"ID,omitempty" name:"ID"`

	// Parameter name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value type of the parameter. Valid values: `integer`, `real` (floating-point), `bool`, `enum`, `mutil_enum` (this type of parameter can be set to multiple enumerated values).
	// For an `integer` or `real` parameter, the `Min` field represents the minimum value and the `Max` field the maximum value.
	// For a `bool` parameter, the valid values include `true` and `false`;
	// For an `enum` or `mutil_enum` parameter, the `EnumValue` field represents the valid values.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamValueType *string `json:"ParamValueType,omitempty" name:"ParamValueType"`

	// Unit of the parameter value. If the parameter has no unit, this field will return null.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// Default value of the parameter, which is returned as a string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// Current value of the parameter, which is returned as a string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// The maximum value of the `integer` or `real` parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Max *float64 `json:"Max,omitempty" name:"Max"`

	// Value range of the enum parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"`

	// The minimum value of the `integer` or `real` parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Min *float64 `json:"Min,omitempty" name:"Min"`

	// Parameter description in Chinese
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamDescriptionCH *string `json:"ParamDescriptionCH,omitempty" name:"ParamDescriptionCH"`

	// Parameter description in English
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamDescriptionEN *string `json:"ParamDescriptionEN,omitempty" name:"ParamDescriptionEN"`

	// Whether to restart the instance for the modified parameter to take effect. Valid values: `true` (yes), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NeedReboot *bool `json:"NeedReboot,omitempty" name:"NeedReboot"`

	// Parameter category in Chinese
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClassificationCN *string `json:"ClassificationCN,omitempty" name:"ClassificationCN"`

	// Parameter category in English
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClassificationEN *string `json:"ClassificationEN,omitempty" name:"ClassificationEN"`

	// Whether the parameter is related to specifications. Valid values: `true` (yes), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SpecRelated *bool `json:"SpecRelated,omitempty" name:"SpecRelated"`

	// Whether it is a key parameter. Valid values: `true` (yes, and modifying it may affect instance performance), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Advanced *bool `json:"Advanced,omitempty" name:"Advanced"`

	// The last modified time of the parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastModifyTime *string `json:"LastModifyTime,omitempty" name:"LastModifyTime"`

	// Primary-standby constraint. Valid values: `0` (no constraint), `1` (The parameter value of the standby server must be greater than that of the primary server), `2` (The parameter value of the primary server must be greater than that of the standby server.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	StandbyRelated *int64 `json:"StandbyRelated,omitempty" name:"StandbyRelated"`

	// Associated parameter version information, which refers to the detailed parameter information of the kernel version.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionRelationSet []*ParamVersionRelation `json:"VersionRelationSet,omitempty" name:"VersionRelationSet"`

	// Associated parameter specification information, which refers to the detailed parameter information of the specifications.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SpecRelationSet []*ParamSpecRelation `json:"SpecRelationSet,omitempty" name:"SpecRelationSet"`
}

type ParamSpecRelation

type ParamSpecRelation struct {
	// Parameter name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The specification that corresponds to the parameter information
	// Note: This field may return null, indicating that no valid values can be obtained.
	Memory *string `json:"Memory,omitempty" name:"Memory"`

	// The default parameter value under this specification
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitempty" name:"Value"`

	// Unit of the parameter value. If the parameter has no unit, this field will return null.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// The maximum value of the `integer` or `real` parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Max *float64 `json:"Max,omitempty" name:"Max"`

	// The minimum value of the `integer` or `real` parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Min *float64 `json:"Min,omitempty" name:"Min"`

	// Value range of the enum parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"`
}

type ParamVersionRelation

type ParamVersionRelation struct {
	// Parameter name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The kernel version that corresponds to the parameter information
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Default parameter value under the kernel version and specification of the instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitempty" name:"Value"`

	// Unit of the parameter value. If the parameter has no unit, this field will return null.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// The maximum value of the `integer` or `real` parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Max *float64 `json:"Max,omitempty" name:"Max"`

	// The minimum value of the `integer` or `real` parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Min *float64 `json:"Min,omitempty" name:"Min"`

	// Value range of the enum parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"`
}

type ParameterTemplate

type ParameterTemplate struct {
	// Parameter template ID
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// Parameter template name
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`

	// Database version applicable to a parameter template
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database engine applicable to a parameter template
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Parameter template description
	TemplateDescription *string `json:"TemplateDescription,omitempty" name:"TemplateDescription"`
}

type PgDeal

type PgDeal struct {
	// Order name
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// User
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Number of instances involved in order
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// Billing mode. 0: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

	// Async task flow ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// Instance ID array
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`
}

type PolicyRule

type PolicyRule struct {
	// Policy, Valid values: `ACCEPT`, `DROP`.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Source or destination IP or IP range, such as 172.16.0.0/12.
	CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"`

	// Port
	PortRange *string `json:"PortRange,omitempty" name:"PortRange"`

	// Network protocol. UDP and TCP are supported.
	IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"`

	// The rule description
	Description *string `json:"Description,omitempty" name:"Description"`
}

type RawSlowQuery

type RawSlowQuery struct {
	// Slow query statement
	RawQuery *string `json:"RawQuery,omitempty" name:"RawQuery"`

	// The database queried by the slow query statement
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// The execution time of the slow query statement
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// The client that executes the slow query statement
	ClientAddr *string `json:"ClientAddr,omitempty" name:"ClientAddr"`

	// The name of the user who executes the slow query statement
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// The time when the slow query statement starts to execute
	SessionStartTime *string `json:"SessionStartTime,omitempty" name:"SessionStartTime"`
}

type ReadOnlyGroup

type ReadOnlyGroup struct {
	// RO group identifier
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

	// RO group name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitempty" name:"ReadOnlyGroupName"`

	// Project ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Primary instance ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// The minimum number of read-only replicas that must be retained in an RO group
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MinDelayEliminateReserve *int64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`

	// Delayed log size threshold
	MaxReplayLatency *int64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *int64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delay threshold
	MaxReplayLag *float64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *int64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Region ID
	Region *string `json:"Region,omitempty" name:"Region"`

	// Availability zone ID
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Status
	Status *string `json:"Status,omitempty" name:"Status"`

	// Instance details
	ReadOnlyDBInstanceList []*DBInstance `json:"ReadOnlyDBInstanceList,omitempty" name:"ReadOnlyDBInstanceList"`

	// Whether to enable automatic load balancing
	Rebalance *int64 `json:"Rebalance,omitempty" name:"Rebalance"`

	// Network information
	DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"`

	// Network access list of the RO group (this field has been deprecated)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"`
}

type RebalanceReadOnlyGroupRequest

type RebalanceReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewRebalanceReadOnlyGroupRequest

func NewRebalanceReadOnlyGroupRequest() (request *RebalanceReadOnlyGroupRequest)

func (*RebalanceReadOnlyGroupRequest) FromJsonString

func (r *RebalanceReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RebalanceReadOnlyGroupRequest) ToJsonString

func (r *RebalanceReadOnlyGroupRequest) ToJsonString() string

type RebalanceReadOnlyGroupRequestParams

type RebalanceReadOnlyGroupRequestParams struct {
	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type RebalanceReadOnlyGroupResponse

type RebalanceReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *RebalanceReadOnlyGroupResponseParams `json:"Response"`
}

func NewRebalanceReadOnlyGroupResponse

func NewRebalanceReadOnlyGroupResponse() (response *RebalanceReadOnlyGroupResponse)

func (*RebalanceReadOnlyGroupResponse) FromJsonString

func (r *RebalanceReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RebalanceReadOnlyGroupResponse) ToJsonString

func (r *RebalanceReadOnlyGroupResponse) ToJsonString() string

type RebalanceReadOnlyGroupResponseParams

type RebalanceReadOnlyGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region abbreviation
	Region *string `json:"Region,omitempty" name:"Region"`

	// Region name
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Region number
	RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"`

	// Availability status. UNAVAILABLE: unavailable, AVAILABLE: available
	RegionState *string `json:"RegionState,omitempty" name:"RegionState"`

	// Whether the resource can be purchased in this region. Valid values: `0` (no), `1` (yes).
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SupportInternational *uint64 `json:"SupportInternational,omitempty" name:"SupportInternational"`
}

type RemoveDBInstanceFromReadOnlyGroupRequest

type RemoveDBInstanceFromReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

func NewRemoveDBInstanceFromReadOnlyGroupRequest

func NewRemoveDBInstanceFromReadOnlyGroupRequest() (request *RemoveDBInstanceFromReadOnlyGroupRequest)

func (*RemoveDBInstanceFromReadOnlyGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveDBInstanceFromReadOnlyGroupRequest) ToJsonString

type RemoveDBInstanceFromReadOnlyGroupRequestParams

type RemoveDBInstanceFromReadOnlyGroupRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// RO group ID
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type RemoveDBInstanceFromReadOnlyGroupResponse

type RemoveDBInstanceFromReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *RemoveDBInstanceFromReadOnlyGroupResponseParams `json:"Response"`
}

func NewRemoveDBInstanceFromReadOnlyGroupResponse

func NewRemoveDBInstanceFromReadOnlyGroupResponse() (response *RemoveDBInstanceFromReadOnlyGroupResponse)

func (*RemoveDBInstanceFromReadOnlyGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveDBInstanceFromReadOnlyGroupResponse) ToJsonString

type RemoveDBInstanceFromReadOnlyGroupResponseParams

type RemoveDBInstanceFromReadOnlyGroupResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RenewInstanceRequest

type RenewInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of `postgres-6fego161`
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Renewal duration in months
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently)
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`
}

func NewRenewInstanceRequest

func NewRenewInstanceRequest() (request *RenewInstanceRequest)

func (*RenewInstanceRequest) FromJsonString

func (r *RenewInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstanceRequest) ToJsonString

func (r *RenewInstanceRequest) ToJsonString() string

type RenewInstanceRequestParams

type RenewInstanceRequestParams struct {
	// Instance ID in the format of `postgres-6fego161`
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Renewal duration in months
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently)
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`
}

Predefined struct for user

type RenewInstanceResponse

type RenewInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RenewInstanceResponseParams `json:"Response"`
}

func NewRenewInstanceResponse

func NewRenewInstanceResponse() (response *RenewInstanceResponse)

func (*RenewInstanceResponse) FromJsonString

func (r *RenewInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstanceResponse) ToJsonString

func (r *RenewInstanceResponse) ToJsonString() string

type RenewInstanceResponseParams

type RenewInstanceResponseParams struct {
	// Order name
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-4wdeb0zv
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance account name
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// New password corresponding to `UserName` account
	Password *string `json:"Password,omitempty" name:"Password"`
}

func NewResetAccountPasswordRequest

func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)

func (*ResetAccountPasswordRequest) FromJsonString

func (r *ResetAccountPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAccountPasswordRequest) ToJsonString

func (r *ResetAccountPasswordRequest) ToJsonString() string

type ResetAccountPasswordRequestParams

type ResetAccountPasswordRequestParams struct {
	// Instance ID in the format of postgres-4wdeb0zv
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance account name
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// New password corresponding to `UserName` account
	Password *string `json:"Password,omitempty" name:"Password"`
}

Predefined struct for user

type ResetAccountPasswordResponse

type ResetAccountPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetAccountPasswordResponseParams `json:"Response"`
}

func NewResetAccountPasswordResponse

func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)

func (*ResetAccountPasswordResponse) FromJsonString

func (r *ResetAccountPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAccountPasswordResponse) ToJsonString

func (r *ResetAccountPasswordResponse) ToJsonString() string

type ResetAccountPasswordResponseParams

type ResetAccountPasswordResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RestartDBInstanceRequest

type RestartDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of postgres-6r233v55
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

func NewRestartDBInstanceRequest

func NewRestartDBInstanceRequest() (request *RestartDBInstanceRequest)

func (*RestartDBInstanceRequest) FromJsonString

func (r *RestartDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartDBInstanceRequest) ToJsonString

func (r *RestartDBInstanceRequest) ToJsonString() string

type RestartDBInstanceRequestParams

type RestartDBInstanceRequestParams struct {
	// Instance ID in the format of postgres-6r233v55
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`
}

Predefined struct for user

type RestartDBInstanceResponse

type RestartDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RestartDBInstanceResponseParams `json:"Response"`
}

func NewRestartDBInstanceResponse

func NewRestartDBInstanceResponse() (response *RestartDBInstanceResponse)

func (*RestartDBInstanceResponse) FromJsonString

func (r *RestartDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartDBInstanceResponse) ToJsonString

func (r *RestartDBInstanceResponse) ToJsonString() string

type RestartDBInstanceResponseParams

type RestartDBInstanceResponseParams struct {
	// Async flow ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SecurityGroup

type SecurityGroup struct {
	// Project ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Inbound rule
	Inbound []*PolicyRule `json:"Inbound,omitempty" name:"Inbound"`

	// Outbound rule
	Outbound []*PolicyRule `json:"Outbound,omitempty" name:"Outbound"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group name
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"`

	// Security group remarks
	SecurityGroupDescription *string `json:"SecurityGroupDescription,omitempty" name:"SecurityGroupDescription"`
}

type ServerlessDBAccount

type ServerlessDBAccount struct {
	// Username
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBUser *string `json:"DBUser,omitempty" name:"DBUser"`

	// Password
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBPassword *string `json:"DBPassword,omitempty" name:"DBPassword"`

	// The maximum number of connections
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBConnLimit *int64 `json:"DBConnLimit,omitempty" name:"DBConnLimit"`
}

type ServerlessDBInstance

type ServerlessDBInstance struct {
	// Instance ID, which is the unique identifier
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Instance name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBInstanceName *string `json:"DBInstanceName,omitempty" name:"DBInstanceName"`

	// Instance status
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" name:"DBInstanceStatus"`

	// Region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitempty" name:"Region"`

	// Availability zone
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Project ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// VPC ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Character set
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"`

	// Database version
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Creation time
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Instance network information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBInstanceNetInfo []*ServerlessDBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"`

	// Instance account information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBAccountSet []*ServerlessDBAccount `json:"DBAccountSet,omitempty" name:"DBAccountSet"`

	// Information of the databases in an instance
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBDatabaseList []*string `json:"DBDatabaseList,omitempty" name:"DBDatabaseList"`

	// The array of tags bound to an instance
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Database kernel version
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Database major version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`
}

type ServerlessDBInstanceNetInfo

type ServerlessDBInstanceNetInfo struct {
	// Address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Address *string `json:"Address,omitempty" name:"Address"`

	// IP address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Port number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Status
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Network type
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NetType *string `json:"NetType,omitempty" name:"NetType"`
}

type SetAutoRenewFlagRequest

type SetAutoRenewFlagRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs. Note that currently you cannot manipulate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// Renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal upon expiration
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`
}

func NewSetAutoRenewFlagRequest

func NewSetAutoRenewFlagRequest() (request *SetAutoRenewFlagRequest)

func (*SetAutoRenewFlagRequest) FromJsonString

func (r *SetAutoRenewFlagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetAutoRenewFlagRequest) ToJsonString

func (r *SetAutoRenewFlagRequest) ToJsonString() string

type SetAutoRenewFlagRequestParams

type SetAutoRenewFlagRequestParams struct {
	// List of instance IDs. Note that currently you cannot manipulate multiple instances at the same time. Only one instance ID can be passed in here.
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`

	// Renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal upon expiration
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`
}

Predefined struct for user

type SetAutoRenewFlagResponse

type SetAutoRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *SetAutoRenewFlagResponseParams `json:"Response"`
}

func NewSetAutoRenewFlagResponse

func NewSetAutoRenewFlagResponse() (response *SetAutoRenewFlagResponse)

func (*SetAutoRenewFlagResponse) FromJsonString

func (r *SetAutoRenewFlagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetAutoRenewFlagResponse) ToJsonString

func (r *SetAutoRenewFlagResponse) ToJsonString() string

type SetAutoRenewFlagResponseParams

type SetAutoRenewFlagResponseParams struct {
	// Number of successfully set instances
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SlowlogDetail

type SlowlogDetail struct {
	// Total time consumed
	TotalTime *float64 `json:"TotalTime,omitempty" name:"TotalTime"`

	// Total number of calls
	TotalCalls *int64 `json:"TotalCalls,omitempty" name:"TotalCalls"`

	// List of slow SQL statements after desensitization
	NormalQueries []*NormalQueryItem `json:"NormalQueries,omitempty" name:"NormalQueries"`
}

type SpecInfo

type SpecInfo struct {
	// Region abbreviation, which corresponds to the `Region` field of `RegionSet`
	Region *string `json:"Region,omitempty" name:"Region"`

	// AZ abbreviate, which corresponds to the `Zone` field of `ZoneSet`
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Specification details list
	SpecItemInfoList []*SpecItemInfo `json:"SpecItemInfoList,omitempty" name:"SpecItemInfoList"`

	// Regions where KMS is supported
	// Note: This field may return `null`, indicating that no valid value was found.
	SupportKMSRegions []*string `json:"SupportKMSRegions,omitempty" name:"SupportKMSRegions"`
}

type SpecItemInfo

type SpecItemInfo struct {
	// Specification ID
	SpecCode *string `json:"SpecCode,omitempty" name:"SpecCode"`

	// PostgerSQL version number
	Version *string `json:"Version,omitempty" name:"Version"`

	// Full version name corresponding to kernel number
	VersionName *string `json:"VersionName,omitempty" name:"VersionName"`

	// Number of CPU cores
	Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"`

	// Memory size in MB
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Maximum storage capacity in GB supported by this specification
	MaxStorage *uint64 `json:"MaxStorage,omitempty" name:"MaxStorage"`

	// Minimum storage capacity in GB supported by this specification
	MinStorage *uint64 `json:"MinStorage,omitempty" name:"MinStorage"`

	// Estimated QPS for this specification
	Qps *uint64 `json:"Qps,omitempty" name:"Qps"`

	// (Disused)
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Machine type
	Type *string `json:"Type,omitempty" name:"Type"`

	// PostgreSQL major version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MajorVersion *string `json:"MajorVersion,omitempty" name:"MajorVersion"`

	// PostgreSQL kernel version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	KernelVersion *string `json:"KernelVersion,omitempty" name:"KernelVersion"`

	// Whether TDE data encryption is supported. Valid values: 0 (no), 1 (yes)
	// Note: This field may return `null`, indicating that no valid value was found.
	IsSupportTDE *int64 `json:"IsSupportTDE,omitempty" name:"IsSupportTDE"`
}

type Tag

type Tag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type UpgradeDBInstanceKernelVersionRequest

type UpgradeDBInstanceKernelVersionRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field returned by the `DescribeDBVersions` API.
	TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitempty" name:"TargetDBKernelVersion"`

	// Switch time after the kernel version upgrade. Valid values:
	// `0` (default value): Switch now.
	// `1`: Switch at the specified time.
	// `2`: Switch in the maintenance time.
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is `0` or `2`, this parameter is invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is `0` or `2`, this parameter is invalid. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`

	// Whether to perform a precheck on the current operation of upgrading the instance kernel version. Valid values:
	// `true`: Performs a precheck without upgrading the kernel version. Check items include request parameters, kernel version compatibility, and instance parameters.
	// `false` (default value): Sends a normal request and upgrades the kernel version directly after the check is passed.
	DryRun *bool `json:"DryRun,omitempty" name:"DryRun"`
}

func NewUpgradeDBInstanceKernelVersionRequest

func NewUpgradeDBInstanceKernelVersionRequest() (request *UpgradeDBInstanceKernelVersionRequest)

func (*UpgradeDBInstanceKernelVersionRequest) FromJsonString

func (r *UpgradeDBInstanceKernelVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceKernelVersionRequest) ToJsonString

type UpgradeDBInstanceKernelVersionRequestParams

type UpgradeDBInstanceKernelVersionRequestParams struct {
	// Instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field returned by the `DescribeDBVersions` API.
	TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitempty" name:"TargetDBKernelVersion"`

	// Switch time after the kernel version upgrade. Valid values:
	// `0` (default value): Switch now.
	// `1`: Switch at the specified time.
	// `2`: Switch in the maintenance time.
	SwitchTag *uint64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is `0` or `2`, this parameter is invalid.
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is `0` or `2`, this parameter is invalid. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`

	// Whether to perform a precheck on the current operation of upgrading the instance kernel version. Valid values:
	// `true`: Performs a precheck without upgrading the kernel version. Check items include request parameters, kernel version compatibility, and instance parameters.
	// `false` (default value): Sends a normal request and upgrades the kernel version directly after the check is passed.
	DryRun *bool `json:"DryRun,omitempty" name:"DryRun"`
}

Predefined struct for user

type UpgradeDBInstanceKernelVersionResponse

type UpgradeDBInstanceKernelVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeDBInstanceKernelVersionResponseParams `json:"Response"`
}

func NewUpgradeDBInstanceKernelVersionResponse

func NewUpgradeDBInstanceKernelVersionResponse() (response *UpgradeDBInstanceKernelVersionResponse)

func (*UpgradeDBInstanceKernelVersionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceKernelVersionResponse) ToJsonString

type UpgradeDBInstanceKernelVersionResponseParams

type UpgradeDBInstanceKernelVersionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeDBInstanceRequest

type UpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance memory size in GB after upgrade
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// Instance disk size in GB after upgrade
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Instance ID in the format of postgres-lnp6j617
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: no
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently)
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Activity ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at specified time). Default value: `0`
	SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// The earliest time to start a switch
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// The latest time to start a switch
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

func NewUpgradeDBInstanceRequest

func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)

func (*UpgradeDBInstanceRequest) FromJsonString

func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceRequest) ToJsonString

func (r *UpgradeDBInstanceRequest) ToJsonString() string

type UpgradeDBInstanceRequestParams

type UpgradeDBInstanceRequestParams struct {
	// Instance memory size in GB after upgrade
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// Instance disk size in GB after upgrade
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// Instance ID in the format of postgres-lnp6j617
	DBInstanceId *string `json:"DBInstanceId,omitempty" name:"DBInstanceId"`

	// Whether to automatically use vouchers. 1: yes, 0: no. Default value: no
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// Voucher ID list (only one voucher can be specified currently)
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

	// Activity ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at specified time). Default value: `0`
	SwitchTag *int64 `json:"SwitchTag,omitempty" name:"SwitchTag"`

	// The earliest time to start a switch
	SwitchStartTime *string `json:"SwitchStartTime,omitempty" name:"SwitchStartTime"`

	// The latest time to start a switch
	SwitchEndTime *string `json:"SwitchEndTime,omitempty" name:"SwitchEndTime"`
}

Predefined struct for user

type UpgradeDBInstanceResponse

type UpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeDBInstanceResponseParams `json:"Response"`
}

func NewUpgradeDBInstanceResponse

func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)

func (*UpgradeDBInstanceResponse) FromJsonString

func (r *UpgradeDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceResponse) ToJsonString

func (r *UpgradeDBInstanceResponse) ToJsonString() string

type UpgradeDBInstanceResponseParams

type UpgradeDBInstanceResponseParams struct {
	// Transaction name.
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// Bill ID of frozen fees
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Version

type Version struct {
	// Database engines. Valid values:
	// 1. `postgresql` (TencentDB for PostgreSQL)
	// 2. `mssql_compatible` (MSSQL compatible-TencentDB for PostgreSQL)
	DBEngine *string `json:"DBEngine,omitempty" name:"DBEngine"`

	// Database version, such as 12.4.
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

	// Database major version, such as 12.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Database kernel version, such as v12.4_r1.3.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// List of features supported by the database kernel, such as:
	// TDE: Supports data encryption.
	SupportedFeatureNames []*string `json:"SupportedFeatureNames,omitempty" name:"SupportedFeatureNames"`

	// Database version status. Valid values:
	// `AVAILABLE`.
	// `DEPRECATED`.
	Status *string `json:"Status,omitempty" name:"Status"`

	// List of versions to which this database version (`DBKernelVersion`) can be upgraded.
	AvailableUpgradeTarget []*string `json:"AvailableUpgradeTarget,omitempty" name:"AvailableUpgradeTarget"`
}

type Xlog

type Xlog struct {
	// Unique backup file ID
	Id *int64 `json:"Id,omitempty" name:"Id"`

	// File generation start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// File generation end time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Download address on private network
	InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"`

	// Download address on public network
	ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"`

	// Backup file size
	Size *int64 `json:"Size,omitempty" name:"Size"`
}

type ZoneInfo

type ZoneInfo struct {
	// AZ abbreviation
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// AZ name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// AZ number
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// Availability status. Valid values:
	// `UNAVAILABLE`.
	// `AVAILABLE`.
	// `SELLOUT`.
	// `SUPPORTMODIFYONLY` (supports configuration adjustment).
	ZoneState *string `json:"ZoneState,omitempty" name:"ZoneState"`

	// Whether the AZ supports IPv6 address access
	ZoneSupportIpv6 *uint64 `json:"ZoneSupportIpv6,omitempty" name:"ZoneSupportIpv6"`

	// AZs that can be used as standby when this AZ is primary
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StandbyZoneSet []*string `json:"StandbyZoneSet,omitempty" name:"StandbyZoneSet"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL