v20170312

package
v3.0.513+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 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"

	// 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 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"

	// 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 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 BackupPlan

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

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

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

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

type Client

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"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) CloneDBInstanceWithContext

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_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"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) CloseDBExtranetAccess

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

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

error code that may be returned:

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

func (*Client) CreateDBInstancesWithContext

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

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

error code that may be returned:

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

func (*Client) CreateInstances

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError"
INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError"
INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError"
INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat"
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName"
INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset"
INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum"
INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat"
INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError"
INVALIDPARAMETERVALUE_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) 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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_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_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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError"
FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError"
FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed"
FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError"
FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError"
FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError"
FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError"
FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError"
INTERNALERROR_CGWERROR = "InternalError.CgwError"
INTERNALERROR_CNSERROR = "InternalError.CnsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_DFWERROR = "InternalError.DfwError"
INTERNALERROR_FLOWERROR = "InternalError.FlowError"
INTERNALERROR_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_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) 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"
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"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

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"
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"
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_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_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) 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) 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"

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"

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_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_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"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNKNOWNERROR = "UnknownError"

func (*Client) DescribeDBInstanceParametersWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeDBInstances

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
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) 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) 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:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
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:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
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) 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"
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"
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_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_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"
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"
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_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"

func (*Client) DescribeServerlessDBInstancesWithContext

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
DBERROR = "DBError"
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERFACENAMENOTFOUND = "InterfaceNameNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_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"

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_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_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"
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"
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 eliminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an eliminated instance will be deleted and cannot be recovered.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError"
FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_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 eliminate an isolated instance by specifying the `DBInstanceId` parameter. The data of an eliminated instance will be deleted and cannot be recovered.

error code that may be returned:

ACCOUNTNOTEXIST = "AccountNotExist"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError"
FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation"
FAILEDOPERATION_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_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"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError"
INVALIDPID = "InvalidPid"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"

func (*Client) InquiryPriceCreateDBInstancesWithContext

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

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

error code that may be returned:

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

func (*Client) InquiryPriceRenewDBInstance

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec"
INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
OPERATIONDENIED_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"
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 upgrade price of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
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 upgrade price of an instance.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError"
INTERNALERROR_DBERROR = "InternalError.DBError"
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_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_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_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_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) 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) 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_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_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_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceParametersWithContext

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

ModifyDBInstanceParameters This API is used to modify parameters in batches.

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyDBInstanceReadOnlyGroup

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

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

error code that may be returned:

FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum"
FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError"
INSTANCENOTEXIST = "InstanceNotExist"
INTERNALERROR_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) ModifyDBInstanceSpec

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) ModifyDBInstanceSpecWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"

func (*Client) ModifyDBInstancesProject

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

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

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_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) 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_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_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) 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"`

	// 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 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"`
}

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"`
}

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 CreateReadOnlyDBInstanceRequest

type CreateReadOnlyDBInstanceRequest struct {
	*tchttp.BaseRequest

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

	// PostgreSQL kernel version, which must be the same as that of the primary instance
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

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

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

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

	// ID of the primary instance to which the read-only replica belongs
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

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

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

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

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

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

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

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

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Special offer ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no).
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

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

	// The information of tags to be 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"`

	// PostgreSQL kernel version, which must be the same as that of the primary instance
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

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

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

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

	// ID of the primary instance to which the read-only replica belongs
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

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

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

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

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

	// Voucher ID list. Currently, you can specify only one voucher.
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"`

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

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

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Special offer ID
	ActivityId *int64 `json:"ActivityId,omitempty" name:"ActivityId"`

	// Instance name (which will be supported in the future)
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether to support IPv6 address access. Valid values: `1` (yes), `0` (no).
	NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitempty" name:"NeedSupportIpv6"`

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

	// The information of tags to be 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`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`, `network changing`
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" name:"DBInstanceStatus"`

	// Assigned instance memory size in GB
	DBInstanceMemory *uint64 `json:"DBInstanceMemory,omitempty" name:"DBInstanceMemory"`

	// Assigned instance storage capacity in GB
	DBInstanceStorage *uint64 `json:"DBInstanceStorage,omitempty" name:"DBInstanceStorage"`

	// Number of assigned CPUs
	DBInstanceCpu *uint64 `json:"DBInstanceCpu,omitempty" name:"DBInstanceCpu"`

	// Purchasable specification ID
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" name:"DBInstanceClass"`

	// Instance type. 1: primary (master instance), 2: readonly (read-only instance), 3: guard (disaster recovery instance), 4: temp (temp instance)
	DBInstanceType *string `json:"DBInstanceType,omitempty" name:"DBInstanceType"`

	// Instance edition. Currently, only `standard` edition (dual-server high-availability one-master-one-slave edition) is supported
	DBInstanceVersion *string `json:"DBInstanceVersion,omitempty" name:"DBInstanceVersion"`

	// Instance database character set
	DBCharset *string `json:"DBCharset,omitempty" name:"DBCharset"`

	// PostgreSQL version number
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`

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

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

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

	// Instance isolation time
	IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"`

	// Billing mode. postpaid: pay-as-you-go
	PayType *string `json:"PayType,omitempty" name:"PayType"`

	// Whether to renew automatically. 1: yes, 0: no
	AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"`

	// Instance network connection information
	DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"`

	// Machine type
	Type *string `json:"Type,omitempty" name:"Type"`

	// User `AppId`
	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

	// Instance `Uid`
	Uid *uint64 `json:"Uid,omitempty" name:"Uid"`

	// Whether the instance supports IPv6 address access. Valid values: 1 (yes), 0 (no)
	SupportIpv6 *uint64 `json:"SupportIpv6,omitempty" name:"SupportIpv6"`

	// The information of tags associated with instances.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagList []*Tag `json:"TagList,omitempty" name:"TagList"`

	// Primary instance information, which is returned only when the instance is read-only
	// Note: this field may return null, indicating that no valid values can be obtained.
	MasterDBInstanceId *string `json:"MasterDBInstanceId,omitempty" name:"MasterDBInstanceId"`

	// Number of read-only instances
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReadOnlyInstanceNum *int64 `json:"ReadOnlyInstanceNum,omitempty" name:"ReadOnlyInstanceNum"`

	// The status of a instance in a read-only group
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusInReadonlyGroup *string `json:"StatusInReadonlyGroup,omitempty" name:"StatusInReadonlyGroup"`

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

	// Database kernel version
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBKernelVersion *string `json:"DBKernelVersion,omitempty" name:"DBKernelVersion"`

	// Network access list of the instance (this field has been deprecated)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"`

	// PostgreSQL major version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBMajorVersion *string `json:"DBMajorVersion,omitempty" name:"DBMajorVersion"`

	// Instance node information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DBNodeSet []*DBNode `json:"DBNodeSet,omitempty" name:"DBNodeSet"`

	// 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"`
}

type DBInstanceNetInfo

type DBInstanceNetInfo struct {
	// DNS domain name
	Address *string `json:"Address,omitempty" name:"Address"`

	// Ip
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Connection port address
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Network type. 1: inner (private network address), 2: public (public network address)
	NetType *string `json:"NetType,omitempty" name:"NetType"`

	// Network connection status. Valid values: `initing` (never enabled before), `opened` (enabled), `closed` (disabled), `opening` (enabling), `closing` (disabling)
	Status *string `json:"Status,omitempty" name:"Status"`

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

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

type 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 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 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 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 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 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 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 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 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 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"`
}

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"`
}

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 condition. The primary ID must be specified in the format of `db-master-instance-id` to filter results, or else `null` will be returned.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The number of results per page. Default value: 10.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Specify which page is displayed. Default value: 1 (the first page).
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Sorting criterion. Valid values: `ROGroupId`, `CreateTime`, `Name`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeReadOnlyGroupsRequest

func NewDescribeReadOnlyGroupsRequest() (request *DescribeReadOnlyGroupsRequest)

func (*DescribeReadOnlyGroupsRequest) FromJsonString

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

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

func (*DescribeReadOnlyGroupsRequest) ToJsonString

func (r *DescribeReadOnlyGroupsRequest) ToJsonString() string

type DescribeReadOnlyGroupsRequestParams

type DescribeReadOnlyGroupsRequestParams struct {
	// Filter condition. The primary ID must be specified in the format of `db-master-instance-id` to filter results, or else `null` will be returned.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The number of results per page. Default value: 10.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Specify which page is displayed. Default value: 1 (the first page).
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Sorting criterion. Valid values: `ROGroupId`, `CreateTime`, `Name`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

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"`

	// Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Instance billing type. Valid value: POSTPAID_BY_HOUR (pay-as-you-go)
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
}

func NewInquiryPriceCreateDBInstancesRequest

func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)

func (*InquiryPriceCreateDBInstancesRequest) FromJsonString

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

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

func (*InquiryPriceCreateDBInstancesRequest) ToJsonString

func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string

type 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"`

	// 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"`
}

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 {
	// Original price in 0.01 CNY.
	OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

	// Discounted price in 0.01 CNY.
	Price *uint64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD for US dollar.
	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 {
	// Total cost before discount; for example, 24650 indicates 246.5 CNY
	OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

	// Actual amount payable; for example, 24650 indicates 246.5 CNY
	Price *int64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD for US dollar.
	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"`

	// Actual amount payable
	Price *int64 `json:"Price,omitempty" name:"Price"`

	// Currency, such as USD for US dollar.
	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 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 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 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 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 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"`

	// Value unit of the parameter. If the parameter has no unit, this field will return an empty string.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// Default value of the parameter, which is returned as a string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// Current value of the parameter, which is returned as a string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// Value range of the enum parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"`

	// The maximum value of the `integer` or `real` parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Max *float64 `json:"Max,omitempty" name:"Max"`

	// The minimum value of the `integer` or `real` parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Min *float64 `json:"Min,omitempty" name:"Min"`

	// Parameter description in Chinese
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamDescriptionCH *string `json:"ParamDescriptionCH,omitempty" name:"ParamDescriptionCH"`

	// Parameter description in English
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ParamDescriptionEN *string `json:"ParamDescriptionEN,omitempty" name:"ParamDescriptionEN"`

	// Whether to restart the instance for the modified parameter to take effect. Valid values: `true` (yes), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NeedReboot *bool `json:"NeedReboot,omitempty" name:"NeedReboot"`

	// Parameter category in Chinese
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClassificationCN *string `json:"ClassificationCN,omitempty" name:"ClassificationCN"`

	// Parameter category in English
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ClassificationEN *string `json:"ClassificationEN,omitempty" name:"ClassificationEN"`

	// Whether the parameter is related to specifications. Valid values: `true` (yes), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SpecRelated *bool `json:"SpecRelated,omitempty" name:"SpecRelated"`

	// Whether it is a key parameter. Valid values: `true` (yes, and modifying it may affect instance performance), `false` (no)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Advanced *bool `json:"Advanced,omitempty" name:"Advanced"`

	// The last modified time of the parameter
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastModifyTime *string `json:"LastModifyTime,omitempty" name:"LastModifyTime"`
}

type PgDeal

type PgDeal struct {
	// Order name
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// User
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Number of instances involved in order
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// Billing mode. 0: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

	// Async task flow ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// Instance ID array
	DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitempty" name:"DBInstanceIdSet"`
}

type RawSlowQuery

type RawSlowQuery struct {
	// Slow query statement
	RawQuery *string `json:"RawQuery,omitempty" name:"RawQuery"`

	// The database queried by the slow query statement
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// The execution time of the slow query statement
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

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

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

	// The time when the slow query statement starts to execute
	SessionStartTime *string `json:"SessionStartTime,omitempty" name:"SessionStartTime"`
}

type ReadOnlyGroup

type ReadOnlyGroup struct {
	// RO group identifier
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitempty" name:"ReadOnlyGroupId"`

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

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

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

	// The minimum number of read-only replicas that must be retained in an RO group
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MinDelayEliminateReserve *int64 `json:"MinDelayEliminateReserve,omitempty" name:"MinDelayEliminateReserve"`

	// Delayed log size threshold
	MaxReplayLatency *int64 `json:"MaxReplayLatency,omitempty" name:"MaxReplayLatency"`

	// Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLatencyEliminate *int64 `json:"ReplayLatencyEliminate,omitempty" name:"ReplayLatencyEliminate"`

	// Delay threshold
	MaxReplayLag *float64 `json:"MaxReplayLag,omitempty" name:"MaxReplayLag"`

	// Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).
	ReplayLagEliminate *int64 `json:"ReplayLagEliminate,omitempty" name:"ReplayLagEliminate"`

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

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

	// Region ID
	Region *string `json:"Region,omitempty" name:"Region"`

	// Availability zone ID
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Status
	Status *string `json:"Status,omitempty" name:"Status"`

	// Instance details
	ReadOnlyDBInstanceList []*DBInstance `json:"ReadOnlyDBInstanceList,omitempty" name:"ReadOnlyDBInstanceList"`

	// Whether to enable automatic load balancing
	Rebalance *int64 `json:"Rebalance,omitempty" name:"Rebalance"`

	// Network information
	DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" name:"DBInstanceNetInfo"`

	// Network access list of the RO group (this field has been deprecated)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitempty" name:"NetworkAccessList"`
}

type RebalanceReadOnlyGroupRequest

type RebalanceReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

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

func NewRebalanceReadOnlyGroupRequest

func NewRebalanceReadOnlyGroupRequest() (request *RebalanceReadOnlyGroupRequest)

func (*RebalanceReadOnlyGroupRequest) FromJsonString

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

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

func (*RebalanceReadOnlyGroupRequest) ToJsonString

func (r *RebalanceReadOnlyGroupRequest) ToJsonString() string

type 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 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"`

	// Billing ID for this specification
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Machine type
	Type *string `json:"Type,omitempty" name:"Type"`

	// PostgreSQL major version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MajorVersion *string `json:"MajorVersion,omitempty" name:"MajorVersion"`

	// PostgreSQL kernel version number
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	KernelVersion *string `json:"KernelVersion,omitempty" name:"KernelVersion"`

	// 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 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 Xlog

type Xlog struct {
	// Unique backup file ID
	Id *int64 `json:"Id,omitempty" name:"Id"`

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

	// File generation end time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Download address on private network
	InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"`

	// Download address on public network
	ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"`

	// Backup file size
	Size *int64 `json:"Size,omitempty" name:"Size"`
}

type ZoneInfo

type ZoneInfo struct {
	// AZ abbreviation
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// AZ name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// AZ number
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// Availability status. Valid values: `UNAVAILABLE`, `AVAILABLE`, `SELLOUT`
	ZoneState *string `json:"ZoneState,omitempty" name:"ZoneState"`

	// Whether the AZ supports IPv6 address access
	ZoneSupportIpv6 *uint64 `json:"ZoneSupportIpv6,omitempty" name:"ZoneSupportIpv6"`

	// AZs that can be used as standby when this AZ is primary
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StandbyZoneSet []*string `json:"StandbyZoneSet,omitempty" name:"StandbyZoneSet"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL