v20190107

package
v3.0.1291+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

	// Operation failed
	FAILEDOPERATION = "FailedOperation"

	// Batch query failed
	FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError"

	// Failed to bind a resource pack
	FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"

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

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

	// Failed to create the order and make a payment.
	FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder"

	// Failed to create a resource pack
	FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError"

	// Failed to set the backup policy. Please try again later. If the failure persists, please contact customer service for handling.
	FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy"

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

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

	// The task flow does not exist.
	FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError"

	// Failed to query the backup policy. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"

	// Failed to query the network information of the access group
	FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError"

	// Failed to query the details of a read-write instance
	FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError"

	// The request to query the instance information failed.
	FAILEDOPERATION_INSTANCEQUERYERROR = "FailedOperation.InstanceQueryError"

	// Insufficient account balance
	FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"

	// Modification of resource package deduction priority failed. check parameters and try again later.
	FAILEDOPERATION_MODIFYDEDUCTIONPRIORITYERROR = "FailedOperation.ModifyDeductionPriorityError"

	// Operation failed. Try again later. If the problem persists, contact customer service.
	FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"

	// Failed to query the consumption details of a resource pack
	FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError"

	// Failed to query the resource pack
	FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"

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

	// Failed to refund the resource pack
	FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError"

	// Policy modification failed.
	FAILEDOPERATION_SERVERLESSSETSTRATEGYERROR = "FailedOperation.ServerlessSetStrategyError"

	// Specification information {{1}} search failure.
	FAILEDOPERATION_SPECNOTFOUNDERROR = "FailedOperation.SpecNotFoundError"

	// Failed to create the order and make a payment. Please try again later. If the problem persists, please contact customer service.
	FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"

	// Failed to unbind the resource pack
	FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Failed to query the database.
	INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"

	// Failed to get the security group information.
	INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"

	// Failed to get the subnet.
	INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"

	// Failed to get the VPC.
	INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"

	// Network error
	INTERNALERROR_HTTPERROR = "InternalError.HttpError"

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

	// Failed to query instances by security group.
	INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"

	// Instance query error.
	INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"

	// Public network operation failed.
	INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"

	// Unsupported operation.
	INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"

	// Failed to query the database.
	INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"

	// Internal service error
	INTERNALERROR_SERVICEERROR = "InternalError.ServiceError"

	// Internal system error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Unknown internal error.
	INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// This API was not found.
	INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError"

	// Parameter passing error.
	INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"

	// Unknown parameter. Please check whether the parameter is valid.
	INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

	// The current instance cannot be isolated.
	INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"

	// The account already exists.
	INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError"

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

	// The instance doesn’t have an account.
	INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"

	// No cluster found.
	INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"

	// Unsupported instance type.
	INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"

	// The cluster type must be serverless.
	INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"

	// No order ID found.
	INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound"

	// Taskflow ID doesn’t exist.
	INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"

	// The instance name contains invalid characters.
	INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"

	// Invalid sort by field.
	INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"

	// The password does not meet the requirement.
	INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"

	// The instance does not exist.
	INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"

	// The operation is not allowed for system account.
	INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"

	// Invalid instance version.
	INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"

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

	// The password is invalid.
	INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"

	// The region is invalid.
	INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"

	// Invalid instance specification.
	INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"

	// Invalid AZ
	INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"

	// These two parameters cannot be set at the same time.
	INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"

	// Incorrect parameter.
	INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"

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

	// This operation is not allowed for monthly-subscribed instances.
	INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError"

	// The `ProjectId` was not found.
	INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound"

	// The selected region and AZ are unavailable.
	INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"

	// No related storage pool found.
	INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"

	// The selected subnet could not be found.
	INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"

	// No data found
	INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound"

	// The selected VPC could not be found.
	INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"

	// The node count in the cluster exceeds the maximum limit.
	LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit"

	// The number of instances exceeds the limit.
	LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"

	// Audit log is disabled for instance {{1}}. operations cannot be performed.
	OPERATIONDENIED_AUDITLOGCLOSEDERROR = "OperationDenied.AuditLogClosedError"

	// The audit status is abnormal.
	OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError"

	// Failed to verify permissions
	OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

	// The current cluster does not allow the operation.
	OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"

	// For the cluster in this status, the operation is not allowed.
	OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"

	// Feature {{1}} is not currently supported.
	OPERATIONDENIED_FEATURENOTSUPPORTERROR = "OperationDenied.FeatureNotSupportError"

	// Fail to retrieve the proxy.
	OPERATIONDENIED_GETPROXYGROUPFAILEDERROR = "OperationDenied.GetProxyGroupFailedError"

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

	// For the instance in this status, the operation is not allowed.
	OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"

	// The instance is not running.
	OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"

	// Insufficient account balance.
	OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"

	// Not a roll back cluster of {{1}}.
	OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = "OperationDenied.IsNotRollbackClusterError"

	// Response size exceeds the limit: {{1}}. reduce the query quantity.
	OPERATIONDENIED_LENGTHOVERLIMIT = "OperationDenied.LengthOverLimit"

	// The cloned cluster is not within {{1}} days of {{2}}.
	OPERATIONDENIED_LIMITDAYFORAUDITREPLAYERROR = "OperationDenied.LimitDayForAuditReplayError"

	// You do not have permission to operate the resource (carry out this operation).
	OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"

	// Paused-State serverless is not allowed to be modified for multi-availability zone.
	OPERATIONDENIED_PAUSEDSLSNOTALLOWMODIFYSLAVE = "OperationDenied.PausedSlsNotAllowModifySlave"

	// Mismatched number of creatable connections supported by the proxy node. the supported number of create connections is {{1}}, and the current number of connections is {{2}}.
	OPERATIONDENIED_PROXYCONNECTCOUNTCHECKERROR = "OperationDenied.ProxyConnectCountCheckError"

	// Proxy node quantity check_failed.
	OPERATIONDENIED_PROXYNODECOUNTCHECKERROR = "OperationDenied.ProxyNodeCountCheckError"

	// Non-Running proxy.
	OPERATIONDENIED_PROXYNOTRUNNINGERROR = "OperationDenied.ProxyNotRunningError"

	// Availability zone does not exist.
	OPERATIONDENIED_PROXYSALEZONECHECKERROR = "OperationDenied.ProxySaleZoneCheckError"

	// Proxy version check_failed.
	OPERATIONDENIED_PROXYVERSIONCHECKERROR = "OperationDenied.ProxyVersionCheckError"

	// Verification failure of proxy availability zone.
	OPERATIONDENIED_PROXYZONECHECKERROR = "OperationDenied.ProxyZoneCheckError"

	// For the serverless cluster in this status, the operation is not allowed.
	OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"

	// For the serverless instance in this status, the operation is not allowed.
	OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"

	// The task conflict check failed.
	OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError"

	// This type of specification is unavailable.
	OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError"

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

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

	// The cluster does not exist.
	RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

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

	// The resource corresponding to the parameter does not exist.
	RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"

	// Failed to lock the instance, so the operation cannot be performed temporarily.
	RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"

	// The instance is exceptional, so the operation cannot be performed temporarily.
	RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

	// Users who haven't completed identity verification can’t make purchases.
	UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"

	// CAM authentication failed.
	UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
)
View Source
const APIVersion = "2019-01-07"

Variables

This section is empty.

Functions

This section is empty.

Types

type Ability

type Ability struct {
	// Whether secondary AZ is supported
	IsSupportSlaveZone *string `json:"IsSupportSlaveZone,omitnil,omitempty" name:"IsSupportSlaveZone"`

	// The causes for no support from an availability zone.
	NonsupportSlaveZoneReason *string `json:"NonsupportSlaveZoneReason,omitnil,omitempty" name:"NonsupportSlaveZoneReason"`

	// Whether read-only instance is supported
	IsSupportRo *string `json:"IsSupportRo,omitnil,omitempty" name:"IsSupportRo"`

	// Reasons why RO instances are not supported.
	NonsupportRoReason *string `json:"NonsupportRoReason,omitnil,omitempty" name:"NonsupportRoReason"`

	// Whether manual snapshot backup initiation is supported.
	IsSupportManualSnapshot *string `json:"IsSupportManualSnapshot,omitnil,omitempty" name:"IsSupportManualSnapshot"`

	// Whether transparent data encryption is supported.
	IsSupportTransparentDataEncryption *string `json:"IsSupportTransparentDataEncryption,omitnil,omitempty" name:"IsSupportTransparentDataEncryption"`

	// Reasons for no support of transparent data encryption.
	NoSupportTransparentDataEncryptionReason *string `json:"NoSupportTransparentDataEncryptionReason,omitnil,omitempty" name:"NoSupportTransparentDataEncryptionReason"`

	// Whether manual initiation of logical backup is supported.
	IsSupportManualLogic *string `json:"IsSupportManualLogic,omitnil,omitempty" name:"IsSupportManualLogic"`
}

type Account

type Account struct {
	// Database account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Database account description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// The max connections
	MaxUserConnections *int64 `json:"MaxUserConnections,omitnil,omitempty" name:"MaxUserConnections"`
}

type ActivateInstanceRequest

type ActivateInstanceRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of instance IDs in the format of `cynosdbmysql-ins-n7ocdslw` as displayed in the TDSQL-C for MySQL console. You can use the instance list querying API to query the ID, i.e., the `InstanceId` value in the output parameters.
	InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`
}

func NewActivateInstanceRequest

func NewActivateInstanceRequest() (request *ActivateInstanceRequest)

func (*ActivateInstanceRequest) FromJsonString

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

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

func (*ActivateInstanceRequest) ToJsonString

func (r *ActivateInstanceRequest) ToJsonString() string

type ActivateInstanceRequestParams

type ActivateInstanceRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of instance IDs in the format of `cynosdbmysql-ins-n7ocdslw` as displayed in the TDSQL-C for MySQL console. You can use the instance list querying API to query the ID, i.e., the `InstanceId` value in the output parameters.
	InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`
}

Predefined struct for user

type ActivateInstanceResponse

type ActivateInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ActivateInstanceResponseParams `json:"Response"`
}

func NewActivateInstanceResponse

func NewActivateInstanceResponse() (response *ActivateInstanceResponse)

func (*ActivateInstanceResponse) FromJsonString

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

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

func (*ActivateInstanceResponse) ToJsonString

func (r *ActivateInstanceResponse) ToJsonString() string

type ActivateInstanceResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddClusterSlaveZoneRequest

type AddClusterSlaveZoneRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Replica AZ
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`
}

func NewAddClusterSlaveZoneRequest

func NewAddClusterSlaveZoneRequest() (request *AddClusterSlaveZoneRequest)

func (*AddClusterSlaveZoneRequest) FromJsonString

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

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

func (*AddClusterSlaveZoneRequest) ToJsonString

func (r *AddClusterSlaveZoneRequest) ToJsonString() string

type AddClusterSlaveZoneRequestParams

type AddClusterSlaveZoneRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Replica AZ
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`
}

Predefined struct for user

type AddClusterSlaveZoneResponse

type AddClusterSlaveZoneResponse struct {
	*tchttp.BaseResponse
	Response *AddClusterSlaveZoneResponseParams `json:"Response"`
}

func NewAddClusterSlaveZoneResponse

func NewAddClusterSlaveZoneResponse() (response *AddClusterSlaveZoneResponse)

func (*AddClusterSlaveZoneResponse) FromJsonString

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

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

func (*AddClusterSlaveZoneResponse) ToJsonString

func (r *AddClusterSlaveZoneResponse) ToJsonString() string

type AddClusterSlaveZoneResponseParams

type AddClusterSlaveZoneResponseParams struct {
	// Async FlowId
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddInstancesRequest

type AddInstancesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Number of added read-only instances. Value range: (0,16].
	ReadOnlyCount *int64 `json:"ReadOnlyCount,omitnil,omitempty" name:"ReadOnlyCount"`

	// Instance group ID, which will be used when you add an instance in an existing RO group. If this parameter is left empty, an RO group will be created. But it is not recommended to pass in this parameter for the current version, as this version has been disused.
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`

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

	// Subnet ID. If `VpcId` is set, `SubnetId` is required.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// The port used when adding an RO group. Value range: [0,65535).
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Instance name. String length range: [0,64).
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Order source. String length range: [0,64).
	OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Parameter template ID
	ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"`

	// Parameter list, which is valid only if `InstanceParams` is passed in to `ParamTemplateId`.
	InstanceParams []*ModifyParamItem `json:"InstanceParams,omitnil,omitempty" name:"InstanceParams"`

	// Security group ID. You can specify an security group when creating a read-only instance.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

func NewAddInstancesRequest

func NewAddInstancesRequest() (request *AddInstancesRequest)

func (*AddInstancesRequest) FromJsonString

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

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

func (*AddInstancesRequest) ToJsonString

func (r *AddInstancesRequest) ToJsonString() string

type AddInstancesRequestParams

type AddInstancesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Number of added read-only instances. Value range: (0,16].
	ReadOnlyCount *int64 `json:"ReadOnlyCount,omitnil,omitempty" name:"ReadOnlyCount"`

	// Instance group ID, which will be used when you add an instance in an existing RO group. If this parameter is left empty, an RO group will be created. But it is not recommended to pass in this parameter for the current version, as this version has been disused.
	//
	// Deprecated: InstanceGrpId is deprecated.
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`

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

	// Subnet ID. If `VpcId` is set, `SubnetId` is required.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// The port used when adding an RO group. Value range: [0,65535).
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Instance name. String length range: [0,64).
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Order source. String length range: [0,64).
	OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Parameter template ID
	ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"`

	// Parameter list, which is valid only if `InstanceParams` is passed in to `ParamTemplateId`.
	InstanceParams []*ModifyParamItem `json:"InstanceParams,omitnil,omitempty" name:"InstanceParams"`

	// Security group ID. You can specify an security group when creating a read-only instance.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type AddInstancesResponse

type AddInstancesResponse struct {
	*tchttp.BaseResponse
	Response *AddInstancesResponseParams `json:"Response"`
}

func NewAddInstancesResponse

func NewAddInstancesResponse() (response *AddInstancesResponse)

func (*AddInstancesResponse) FromJsonString

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

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

func (*AddInstancesResponse) ToJsonString

func (r *AddInstancesResponse) ToJsonString() string

type AddInstancesResponseParams

type AddInstancesResponseParams struct {
	// Freeze transaction. one frozen transaction is activated at a time.
	TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"`

	// Specifies the post-paid order number.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// Delivery resource id list.
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// Large order number.
	BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Addr

type Addr struct {
	// IP address
	IP *string `json:"IP,omitnil,omitempty" name:"IP"`

	// Port
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type AuditRuleFilters

type AuditRuleFilters struct {
	// A single audit rule.
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`
}

type AuditRuleTemplateInfo

type AuditRuleTemplateInfo struct {
	// Rule template ID
	RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"`

	// Rule template name
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// Filter of the rule template
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// Rule template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Creation time of a rule template
	CreateAt *string `json:"CreateAt,omitnil,omitempty" name:"CreateAt"`

	// Rule template modification time.
	UpdateAt *string `json:"UpdateAt,omitnil,omitempty" name:"UpdateAt"`

	// Alarm level. valid values: 1 (low risk), 2 (medium risk), 3 (high risk).
	AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Alarm policy. 0 - no alert, 1 - alert.
	AlarmPolicy *uint64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"`

	// Template status. 0 - no task, 1 - modifying.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Template application is used in which instances.
	AffectedInstances []*string `json:"AffectedInstances,omitnil,omitempty" name:"AffectedInstances"`
}

type BackupFileInfo

type BackupFileInfo struct {
	// Snapshot file ID, which is deprecated. You need to use `BackupId`.
	SnapshotId *uint64 `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// Backup file name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Backup file size
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

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

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

	// Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup).
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Back mode. auto: auto backup; manual: manual backup
	BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"`

	// Backup file status. success: backup succeeded; fail: backup failed; creating: creating backup file; deleting: deleting backup file
	BackupStatus *string `json:"BackupStatus,omitnil,omitempty" name:"BackupStatus"`

	// Backup file time
	SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"`

	// Backup ID.
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Specifies the snapshot type. valid values: full (full snapshot); increment (incremental snapshot).
	SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"`

	// Specifies the remark of the backup file.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`
}

type BackupLimitClusterRestriction

type BackupLimitClusterRestriction struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Download limit configuration.
	BackupLimitRestriction *BackupLimitRestriction `json:"BackupLimitRestriction,omitnil,omitempty" name:"BackupLimitRestriction"`
}

type BackupLimitRestriction

type BackupLimitRestriction struct {
	// Restriction type.
	LimitType *string `json:"LimitType,omitnil,omitempty" name:"LimitType"`

	// This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil,omitempty" name:"VpcComparisonSymbol"`

	// Specified ips can download; specified ips are not allowed to download.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// Specifies the vpc setting for download restrictions.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LimitVpcs []*BackupLimitVpcItem `json:"LimitVpcs,omitnil,omitempty" name:"LimitVpcs"`

	// Specifies the ip settings for limiting downloads.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LimitIps []*string `json:"LimitIps,omitnil,omitempty" name:"LimitIps"`
}

type BackupLimitVpcItem

type BackupLimitVpcItem struct {
	// Specifies the region for limiting download sources. currently only supports the current region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Limit the vpc list for downloads.
	VpcList []*string `json:"VpcList,omitnil,omitempty" name:"VpcList"`
}

type BillingResourceInfo

type BillingResourceInfo struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID list
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Order ID
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`
}

type BindClusterResourcePackagesRequest

type BindClusterResourcePackagesRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewBindClusterResourcePackagesRequest

func NewBindClusterResourcePackagesRequest() (request *BindClusterResourcePackagesRequest)

func (*BindClusterResourcePackagesRequest) FromJsonString

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

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

func (*BindClusterResourcePackagesRequest) ToJsonString

func (r *BindClusterResourcePackagesRequest) ToJsonString() string

type BindClusterResourcePackagesRequestParams

type BindClusterResourcePackagesRequestParams struct {
	// The unique ID of a resource pack
	PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type BindClusterResourcePackagesResponse

type BindClusterResourcePackagesResponse struct {
	*tchttp.BaseResponse
	Response *BindClusterResourcePackagesResponseParams `json:"Response"`
}

func NewBindClusterResourcePackagesResponse

func NewBindClusterResourcePackagesResponse() (response *BindClusterResourcePackagesResponse)

func (*BindClusterResourcePackagesResponse) FromJsonString

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

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

func (*BindClusterResourcePackagesResponse) ToJsonString

func (r *BindClusterResourcePackagesResponse) ToJsonString() string

type BindClusterResourcePackagesResponseParams

type BindClusterResourcePackagesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindInstanceInfo

type BindInstanceInfo struct {
	// ID of the bound cluster.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// The region where the bound instance is located.
	InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"`

	// Type of the bound instance.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// The instance ID under the bound cluster.
	ExtendIds []*string `json:"ExtendIds,omitnil,omitempty" name:"ExtendIds"`
}

type BinlogConfigInfo

type BinlogConfigInfo struct {
	// Specifies the retention time of binlogs.
	BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"`

	// Whether binlog cross-region backup is enabled.
	BinlogCrossRegionsEnable *string `json:"BinlogCrossRegionsEnable,omitnil,omitempty" name:"BinlogCrossRegionsEnable"`

	// binlog in a different region.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BinlogCrossRegions []*string `json:"BinlogCrossRegions,omitnil,omitempty" name:"BinlogCrossRegions"`
}

type BinlogItem

type BinlogItem struct {
	// Binlog filename
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File size in bytes
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

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

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

	// Binlog file ID
	BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"`
}

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) ActivateInstance

func (c *Client) ActivateInstance(request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)

ActivateInstance This interface (ActivateInstance) restores access to isolated instances.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ActivateInstanceWithContext

func (c *Client) ActivateInstanceWithContext(ctx context.Context, request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error)

ActivateInstance This interface (ActivateInstance) restores access to isolated instances.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) AddClusterSlaveZone

func (c *Client) AddClusterSlaveZone(request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)

AddClusterSlaveZone This interface (AddClusterSlaveZone) is used to enable multi-az deployment for a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) AddClusterSlaveZoneWithContext

func (c *Client) AddClusterSlaveZoneWithContext(ctx context.Context, request *AddClusterSlaveZoneRequest) (response *AddClusterSlaveZoneResponse, err error)

AddClusterSlaveZone This interface (AddClusterSlaveZone) is used to enable multi-az deployment for a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) AddInstances

func (c *Client) AddInstances(request *AddInstancesRequest) (response *AddInstancesResponse, err error)

AddInstances This API is used to add instances to a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) AddInstancesWithContext

func (c *Client) AddInstancesWithContext(ctx context.Context, request *AddInstancesRequest) (response *AddInstancesResponse, err error)

AddInstances This API is used to add instances to a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) BindClusterResourcePackages

func (c *Client) BindClusterResourcePackages(request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, err error)

BindClusterResourcePackages This API is used to bind resource packages to a cluster.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) BindClusterResourcePackagesWithContext

func (c *Client) BindClusterResourcePackagesWithContext(ctx context.Context, request *BindClusterResourcePackagesRequest) (response *BindClusterResourcePackagesResponse, err error)

BindClusterResourcePackages This API is used to bind resource packages to a cluster.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseAuditService

func (c *Client) CloseAuditService(request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)

CloseAuditService This API is used to close the database audit service for TDSQL-C MySQL instances.

error code that may be returned:

INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

func (*Client) CloseAuditServiceWithContext

func (c *Client) CloseAuditServiceWithContext(ctx context.Context, request *CloseAuditServiceRequest) (response *CloseAuditServiceResponse, err error)

CloseAuditService This API is used to close the database audit service for TDSQL-C MySQL instances.

error code that may be returned:

INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

func (*Client) CloseClusterPasswordComplexity

func (c *Client) CloseClusterPasswordComplexity(request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)

CloseClusterPasswordComplexity This API is used to close cluster password complexity.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseClusterPasswordComplexityWithContext

func (c *Client) CloseClusterPasswordComplexityWithContext(ctx context.Context, request *CloseClusterPasswordComplexityRequest) (response *CloseClusterPasswordComplexityResponse, err error)

CloseClusterPasswordComplexity This API is used to close cluster password complexity.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseProxy

func (c *Client) CloseProxy(request *CloseProxyRequest) (response *CloseProxyResponse, err error)

CloseProxy This API is used to close the database proxy service of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseProxyEndPoint

func (c *Client) CloseProxyEndPoint(request *CloseProxyEndPointRequest) (response *CloseProxyEndPointResponse, err error)

CloseProxyEndPoint This API is used to close the database proxy connection address.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseProxyEndPointWithContext

func (c *Client) CloseProxyEndPointWithContext(ctx context.Context, request *CloseProxyEndPointRequest) (response *CloseProxyEndPointResponse, err error)

CloseProxyEndPoint This API is used to close the database proxy connection address.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseProxyWithContext

func (c *Client) CloseProxyWithContext(ctx context.Context, request *CloseProxyRequest) (response *CloseProxyResponse, err error)

CloseProxy This API is used to close the database proxy service of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseSSL

func (c *Client) CloseSSL(request *CloseSSLRequest) (response *CloseSSLResponse, err error)

CloseSSL This API is used to disable SSL encryption.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseSSLWithContext

func (c *Client) CloseSSLWithContext(ctx context.Context, request *CloseSSLRequest) (response *CloseSSLResponse, err error)

CloseSSL This API is used to disable SSL encryption.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseWan

func (c *Client) CloseWan(request *CloseWanRequest) (response *CloseWanResponse, err error)

CloseWan This interface (CloseWan) is used to disable public network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_SERVICEERROR = "InternalError.ServiceError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseWanWithContext

func (c *Client) CloseWanWithContext(ctx context.Context, request *CloseWanRequest) (response *CloseWanResponse, err error)

CloseWan This interface (CloseWan) is used to disable public network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_SERVICEERROR = "InternalError.ServiceError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CopyClusterPasswordComplexity

func (c *Client) CopyClusterPasswordComplexity(request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, err error)

CopyClusterPasswordComplexity This API is used to copy the password complexity of a replication cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CopyClusterPasswordComplexityWithContext

func (c *Client) CopyClusterPasswordComplexityWithContext(ctx context.Context, request *CopyClusterPasswordComplexityRequest) (response *CopyClusterPasswordComplexityResponse, err error)

CopyClusterPasswordComplexity This API is used to copy the password complexity of a replication cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateAccounts

func (c *Client) CreateAccounts(request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)

CreateAccounts This API is used to create user accounts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateAccountsWithContext

func (c *Client) CreateAccountsWithContext(ctx context.Context, request *CreateAccountsRequest) (response *CreateAccountsResponse, err error)

CreateAccounts This API is used to create user accounts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTALREADYEXISTERROR = "InvalidParameterValue.AccountAlreadyExistError"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateAuditRuleTemplate

func (c *Client) CreateAuditRuleTemplate(request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)

CreateAuditRuleTemplate This API is used to create audit rule templates.

error code that may be returned:

INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) CreateAuditRuleTemplateWithContext

func (c *Client) CreateAuditRuleTemplateWithContext(ctx context.Context, request *CreateAuditRuleTemplateRequest) (response *CreateAuditRuleTemplateResponse, err error)

CreateAuditRuleTemplate This API is used to create audit rule templates.

error code that may be returned:

INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) CreateBackup

func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)

CreateBackup This API is used to create a manual backup for a cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBackupWithContext

func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)

CreateBackup This API is used to create a manual backup for a cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateClusterDatabase

func (c *Client) CreateClusterDatabase(request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, err error)

CreateClusterDatabase This API is used to create a database.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateClusterDatabaseWithContext

func (c *Client) CreateClusterDatabaseWithContext(ctx context.Context, request *CreateClusterDatabaseRequest) (response *CreateClusterDatabaseResponse, err error)

CreateClusterDatabase This API is used to create a database.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateClusters

func (c *Client) CreateClusters(request *CreateClustersRequest) (response *CreateClustersResponse, err error)

CreateClusters This API is used to purchase new clusters.

error code that may be returned:

FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateClustersWithContext

func (c *Client) CreateClustersWithContext(ctx context.Context, request *CreateClustersRequest) (response *CreateClustersResponse, err error)

CreateClusters This API is used to purchase new clusters.

error code that may be returned:

FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateParamTemplate

func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)

CreateParamTemplate This API is used to create parameter templates.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateParamTemplateWithContext

func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)

CreateParamTemplate This API is used to create parameter templates.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateProxy

func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)

CreateProxy This API is used to enable the database proxy of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateProxyEndPoint

func (c *Client) CreateProxyEndPoint(request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)

CreateProxyEndPoint This API is used to create a database proxy connection point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateProxyEndPointWithContext

func (c *Client) CreateProxyEndPointWithContext(ctx context.Context, request *CreateProxyEndPointRequest) (response *CreateProxyEndPointResponse, err error)

CreateProxyEndPoint This API is used to create a database proxy connection point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateProxyWithContext

func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, err error)

CreateProxy This API is used to enable the database proxy of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateResourcePackage

func (c *Client) CreateResourcePackage(request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)

CreateResourcePackage This API is used to purchase new resource packets.

error code that may be returned:

FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateResourcePackageWithContext

func (c *Client) CreateResourcePackageWithContext(ctx context.Context, request *CreateResourcePackageRequest) (response *CreateResourcePackageResponse, err error)

CreateResourcePackage This API is used to purchase new resource packets.

error code that may be returned:

FAILEDOPERATION_CREATESOURCEPACKAGEERROR = "FailedOperation.CreateSourcePackageError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteAccounts

func (c *Client) DeleteAccounts(request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)

DeleteAccounts This API is used to delete user accounts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteAccountsWithContext

func (c *Client) DeleteAccountsWithContext(ctx context.Context, request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)

DeleteAccounts This API is used to delete user accounts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteAuditRuleTemplates

func (c *Client) DeleteAuditRuleTemplates(request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)

DeleteAuditRuleTemplates This API is used to delete audit rule templates.

error code that may be returned:

INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"

func (*Client) DeleteAuditRuleTemplatesWithContext

func (c *Client) DeleteAuditRuleTemplatesWithContext(ctx context.Context, request *DeleteAuditRuleTemplatesRequest) (response *DeleteAuditRuleTemplatesResponse, err error)

DeleteAuditRuleTemplates This API is used to delete audit rule templates.

error code that may be returned:

INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"

func (*Client) DeleteBackup

func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)

DeleteBackup This API is used to delete manual backups for a cluster. Automatic backups cannot be deleted.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteBackupWithContext

func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)

DeleteBackup This API is used to delete manual backups for a cluster. Automatic backups cannot be deleted.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteClusterDatabase

func (c *Client) DeleteClusterDatabase(request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)

DeleteClusterDatabase This interface is used to delete a database.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteClusterDatabaseWithContext

func (c *Client) DeleteClusterDatabaseWithContext(ctx context.Context, request *DeleteClusterDatabaseRequest) (response *DeleteClusterDatabaseResponse, err error)

DeleteClusterDatabase This interface is used to delete a database.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteParamTemplate

func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)

DeleteParamTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DeleteParamTemplateWithContext

func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)

DeleteParamTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) DescribeAccountPrivileges

func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)

DescribeAccountPrivileges This API is used to query account privileges.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccountPrivilegesWithContext

func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)

DescribeAccountPrivileges This API is used to query account privileges.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccounts

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

DescribeAccounts This API is used to query the database account list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccountsWithContext

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

DescribeAccounts This API is used to query the database account list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAuditRuleTemplates

func (c *Client) DescribeAuditRuleTemplates(request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)

DescribeAuditRuleTemplates This API is used to query audit rule template information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAuditRuleTemplatesWithContext

func (c *Client) DescribeAuditRuleTemplatesWithContext(ctx context.Context, request *DescribeAuditRuleTemplatesRequest) (response *DescribeAuditRuleTemplatesResponse, err error)

DescribeAuditRuleTemplates This API is used to query audit rule template information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAuditRuleWithInstanceIds

func (c *Client) DescribeAuditRuleWithInstanceIds(request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)

DescribeAuditRuleWithInstanceIds This API is used to obtain the audit rules of the instance.

error code that may be returned:

INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"

func (*Client) DescribeAuditRuleWithInstanceIdsWithContext

func (c *Client) DescribeAuditRuleWithInstanceIdsWithContext(ctx context.Context, request *DescribeAuditRuleWithInstanceIdsRequest) (response *DescribeAuditRuleWithInstanceIdsResponse, err error)

DescribeAuditRuleWithInstanceIds This API is used to obtain the audit rules of the instance.

error code that may be returned:

INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"

func (*Client) DescribeBackupConfig

func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)

DescribeBackupConfig This API is used to obtain the backup configuration information of a specified cluster, including the full backup time period and the backup file retention time.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupConfigWithContext

func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)

DescribeBackupConfig This API is used to obtain the backup configuration information of a specified cluster, including the full backup time period and the backup file retention time.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadRestriction

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

DescribeBackupDownloadRestriction This API is used to query the download source limit of the default backup configured by the user in the current region.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadRestrictionWithContext

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

DescribeBackupDownloadRestriction This API is used to query the download source limit of the default backup configured by the user in the current region.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadUrl

func (c *Client) DescribeBackupDownloadUrl(request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)

DescribeBackupDownloadUrl This API is used to query the download link of cluster backup files.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadUrlWithContext

func (c *Client) DescribeBackupDownloadUrlWithContext(ctx context.Context, request *DescribeBackupDownloadUrlRequest) (response *DescribeBackupDownloadUrlResponse, err error)

DescribeBackupDownloadUrl This API is used to query the download link of cluster backup files.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadUserRestriction

func (c *Client) DescribeBackupDownloadUserRestriction(request *DescribeBackupDownloadUserRestrictionRequest) (response *DescribeBackupDownloadUserRestrictionResponse, err error)

DescribeBackupDownloadUserRestriction This API is used to query the default backup download access restrictions of user-level settings in the current region.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupDownloadUserRestrictionWithContext

func (c *Client) DescribeBackupDownloadUserRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadUserRestrictionRequest) (response *DescribeBackupDownloadUserRestrictionResponse, err error)

DescribeBackupDownloadUserRestriction This API is used to query the default backup download access restrictions of user-level settings in the current region.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupList

func (c *Client) DescribeBackupList(request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)

DescribeBackupList This API is used to query the backup file list of a cluster.

error code that may be returned:

FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupListWithContext

func (c *Client) DescribeBackupListWithContext(ctx context.Context, request *DescribeBackupListRequest) (response *DescribeBackupListResponse, err error)

DescribeBackupList This API is used to query the backup file list of a cluster.

error code that may be returned:

FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogConfig

func (c *Client) DescribeBinlogConfig(request *DescribeBinlogConfigRequest) (response *DescribeBinlogConfigResponse, err error)

DescribeBinlogConfig This API is used to query binlog configurations.

error code that may be returned:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"

func (*Client) DescribeBinlogConfigWithContext

func (c *Client) DescribeBinlogConfigWithContext(ctx context.Context, request *DescribeBinlogConfigRequest) (response *DescribeBinlogConfigResponse, err error)

DescribeBinlogConfig This API is used to query binlog configurations.

error code that may be returned:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"

func (*Client) DescribeBinlogDownloadUrl

func (c *Client) DescribeBinlogDownloadUrl(request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)

DescribeBinlogDownloadUrl This API is used to query the download address of Binlog.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogDownloadUrlWithContext

func (c *Client) DescribeBinlogDownloadUrlWithContext(ctx context.Context, request *DescribeBinlogDownloadUrlRequest) (response *DescribeBinlogDownloadUrlResponse, err error)

DescribeBinlogDownloadUrl This API is used to query the download address of Binlog.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogSaveDays

func (c *Client) DescribeBinlogSaveDays(request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)

DescribeBinlogSaveDays This API is used to query the binlog retention period of a cluster in days.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogSaveDaysWithContext

func (c *Client) DescribeBinlogSaveDaysWithContext(ctx context.Context, request *DescribeBinlogSaveDaysRequest) (response *DescribeBinlogSaveDaysResponse, err error)

DescribeBinlogSaveDays This API is used to query the binlog retention period of a cluster in days.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogs

func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)

DescribeBinlogs This interface (DescribeBinlogs) queries the cluster binlog list.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBinlogsWithContext

func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)

DescribeBinlogs This interface (DescribeBinlogs) queries the cluster binlog list.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDatabaseTables

func (c *Client) DescribeClusterDatabaseTables(request *DescribeClusterDatabaseTablesRequest) (response *DescribeClusterDatabaseTablesResponse, err error)

DescribeClusterDatabaseTables This API is used to access the table list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDatabaseTablesWithContext

func (c *Client) DescribeClusterDatabaseTablesWithContext(ctx context.Context, request *DescribeClusterDatabaseTablesRequest) (response *DescribeClusterDatabaseTablesResponse, err error)

DescribeClusterDatabaseTables This API is used to access the table list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDetail

func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)

DescribeClusterDetail This API is used to display cluster details.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDetailDatabases

func (c *Client) DescribeClusterDetailDatabases(request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)

DescribeClusterDetailDatabases This API is used to query database list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDetailDatabasesWithContext

func (c *Client) DescribeClusterDetailDatabasesWithContext(ctx context.Context, request *DescribeClusterDetailDatabasesRequest) (response *DescribeClusterDetailDatabasesResponse, err error)

DescribeClusterDetailDatabases This API is used to query database list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterDetailWithContext

func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)

DescribeClusterDetail This API is used to display cluster details.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterInstanceGrps

func (c *Client) DescribeClusterInstanceGrps(request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)

DescribeClusterInstanceGrps This API is used to query instance groups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterInstanceGrpsWithContext

func (c *Client) DescribeClusterInstanceGrpsWithContext(ctx context.Context, request *DescribeClusterInstanceGrpsRequest) (response *DescribeClusterInstanceGrpsResponse, err error)

DescribeClusterInstanceGrps This API is used to query instance groups.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterParams

func (c *Client) DescribeClusterParams(request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)

DescribeClusterParams This API is used to query cluster parameters.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterParamsWithContext

func (c *Client) DescribeClusterParamsWithContext(ctx context.Context, request *DescribeClusterParamsRequest) (response *DescribeClusterParamsResponse, err error)

DescribeClusterParams This API is used to query cluster parameters.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterPasswordComplexity

func (c *Client) DescribeClusterPasswordComplexity(request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, err error)

DescribeClusterPasswordComplexity This API is used to view the cluster password complexity details.

error code that may be returned:

FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterPasswordComplexityWithContext

func (c *Client) DescribeClusterPasswordComplexityWithContext(ctx context.Context, request *DescribeClusterPasswordComplexityRequest) (response *DescribeClusterPasswordComplexityResponse, err error)

DescribeClusterPasswordComplexity This API is used to view the cluster password complexity details.

error code that may be returned:

FAILEDOPERATION_GETOSSINFOERROR = "FailedOperation.GetOssInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterReadOnly

func (c *Client) DescribeClusterReadOnly(request *DescribeClusterReadOnlyRequest) (response *DescribeClusterReadOnlyResponse, err error)

DescribeClusterReadOnly This API is used to query the cluster read-only switch.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterReadOnlyWithContext

func (c *Client) DescribeClusterReadOnlyWithContext(ctx context.Context, request *DescribeClusterReadOnlyRequest) (response *DescribeClusterReadOnlyResponse, err error)

DescribeClusterReadOnly This API is used to query the cluster read-only switch.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterTransparentEncryptInfo

func (c *Client) DescribeClusterTransparentEncryptInfo(request *DescribeClusterTransparentEncryptInfoRequest) (response *DescribeClusterTransparentEncryptInfoResponse, err error)

DescribeClusterTransparentEncryptInfo This API is used to query cluster transparent encryption information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusterTransparentEncryptInfoWithContext

func (c *Client) DescribeClusterTransparentEncryptInfoWithContext(ctx context.Context, request *DescribeClusterTransparentEncryptInfoRequest) (response *DescribeClusterTransparentEncryptInfoResponse, err error)

DescribeClusterTransparentEncryptInfo This API is used to query cluster transparent encryption information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClusters

func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters This API is used to describe clusters.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeClustersWithContext

func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters This API is used to describe clusters.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBSecurityGroups

func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query instance security group information.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBSecurityGroupsWithContext

func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query instance security group information.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeFlow

func (c *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)

DescribeFlow This API is used to query task flow information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeFlowWithContext

func (c *Client) DescribeFlowWithContext(ctx context.Context, request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)

DescribeFlow This API is used to query task flow information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceDetail

func (c *Client) DescribeInstanceDetail(request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)

DescribeInstanceDetail This API is used to query instance details.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceDetailWithContext

func (c *Client) DescribeInstanceDetailWithContext(ctx context.Context, request *DescribeInstanceDetailRequest) (response *DescribeInstanceDetailResponse, err error)

DescribeInstanceDetail This API is used to query instance details.

error code that may be returned:

FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceErrorLogs

func (c *Client) DescribeInstanceErrorLogs(request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)

DescribeInstanceErrorLogs This API is used to query the list of instance error logs.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceErrorLogsWithContext

func (c *Client) DescribeInstanceErrorLogsWithContext(ctx context.Context, request *DescribeInstanceErrorLogsRequest) (response *DescribeInstanceErrorLogsResponse, err error)

DescribeInstanceErrorLogs This API is used to query the list of instance error logs.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_VALUENOTFOUND = "InvalidParameterValue.ValueNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceParams

func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

DescribeInstanceParams This API is used to query the instance parameter list.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceParamsWithContext

func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

DescribeInstanceParams This API is used to query the instance parameter list.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceSlowQueries

func (c *Client) DescribeInstanceSlowQueries(request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)

DescribeInstanceSlowQueries This API is used to query the slow query logs of an instance.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_LENGTHOVERLIMIT = "OperationDenied.LengthOverLimit"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceSlowQueriesWithContext

func (c *Client) DescribeInstanceSlowQueriesWithContext(ctx context.Context, request *DescribeInstanceSlowQueriesRequest) (response *DescribeInstanceSlowQueriesResponse, err error)

DescribeInstanceSlowQueries This API is used to query the slow query logs of an instance.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
OPERATIONDENIED_LENGTHOVERLIMIT = "OperationDenied.LengthOverLimit"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceSpecs

func (c *Client) DescribeInstanceSpecs(request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)

DescribeInstanceSpecs This interface (DescribeInstanceSpecs) is used to query the instance specifications available for purchase on the query purchase page.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceSpecsWithContext

func (c *Client) DescribeInstanceSpecsWithContext(ctx context.Context, request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)

DescribeInstanceSpecs This interface (DescribeInstanceSpecs) is used to query the instance specifications available for purchase on the query purchase page.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstances

func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances This API is used to query the list of instances.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstancesWithContext

func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances This API is used to query the list of instances.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstancesWithinSameCluster

func (c *Client) DescribeInstancesWithinSameCluster(request *DescribeInstancesWithinSameClusterRequest) (response *DescribeInstancesWithinSameClusterResponse, err error)

DescribeInstancesWithinSameCluster This API is used to query the instance list under the same cluster.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstancesWithinSameClusterWithContext

func (c *Client) DescribeInstancesWithinSameClusterWithContext(ctx context.Context, request *DescribeInstancesWithinSameClusterRequest) (response *DescribeInstancesWithinSameClusterResponse, err error)

DescribeInstancesWithinSameCluster This API is used to query the instance list under the same cluster.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeIsolatedInstances

func (c *Client) DescribeIsolatedInstances(request *DescribeIsolatedInstancesRequest) (response *DescribeIsolatedInstancesResponse, err error)

DescribeIsolatedInstances This interface is used for querying the recycle bin instance list.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeIsolatedInstancesWithContext

func (c *Client) DescribeIsolatedInstancesWithContext(ctx context.Context, request *DescribeIsolatedInstancesRequest) (response *DescribeIsolatedInstancesResponse, err error)

DescribeIsolatedInstances This interface is used for querying the recycle bin instance list.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMaintainPeriod

func (c *Client) DescribeMaintainPeriod(request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)

DescribeMaintainPeriod This interface (DescribeMaintainPeriod) is used to query the instance maintenance window.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMaintainPeriodWithContext

func (c *Client) DescribeMaintainPeriodWithContext(ctx context.Context, request *DescribeMaintainPeriodRequest) (response *DescribeMaintainPeriodResponse, err error)

DescribeMaintainPeriod This interface (DescribeMaintainPeriod) is used to query the instance maintenance window.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeParamTemplateDetail

func (c *Client) DescribeParamTemplateDetail(request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, err error)

DescribeParamTemplateDetail This API is used to query user parameter template details.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeParamTemplateDetailWithContext

func (c *Client) DescribeParamTemplateDetailWithContext(ctx context.Context, request *DescribeParamTemplateDetailRequest) (response *DescribeParamTemplateDetailResponse, err error)

DescribeParamTemplateDetail This API is used to query user parameter template details.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeParamTemplates

func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)

DescribeParamTemplates This API is used to query all parameter template information under the user-specified product.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeParamTemplatesWithContext

func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)

DescribeParamTemplates This API is used to query all parameter template information under the user-specified product.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProjectSecurityGroups

func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query project security group information.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR = "InternalError"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProjectSecurityGroupsWithContext

func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query project security group information.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR = "InternalError"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProxies

func (c *Client) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)

DescribeProxies This API is used to query agent list.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProxiesWithContext

func (c *Client) DescribeProxiesWithContext(ctx context.Context, request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)

DescribeProxies This API is used to query agent list.

error code that may be returned:

FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMBOTHSETERROR = "InvalidParameterValue.ParamBothSetError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProxyNodes

func (c *Client) DescribeProxyNodes(request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)

DescribeProxyNodes This API is used to query the list of proxy nodes.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProxyNodesWithContext

func (c *Client) DescribeProxyNodesWithContext(ctx context.Context, request *DescribeProxyNodesRequest) (response *DescribeProxyNodesResponse, err error)

DescribeProxyNodes This API is used to query the list of proxy nodes.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProxySpecs

func (c *Client) DescribeProxySpecs(request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)

DescribeProxySpecs This API is used to query database proxy specifications.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"

func (*Client) DescribeProxySpecsWithContext

func (c *Client) DescribeProxySpecsWithContext(ctx context.Context, request *DescribeProxySpecsRequest) (response *DescribeProxySpecsResponse, err error)

DescribeProxySpecs This API is used to query database proxy specifications.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"

func (*Client) DescribeResourcePackageDetail

func (c *Client) DescribeResourcePackageDetail(request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)

DescribeResourcePackageDetail This API is used to query resource package usage details.

error code that may be returned:

FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcePackageDetailWithContext

func (c *Client) DescribeResourcePackageDetailWithContext(ctx context.Context, request *DescribeResourcePackageDetailRequest) (response *DescribeResourcePackageDetailResponse, err error)

DescribeResourcePackageDetail This API is used to query resource package usage details.

error code that may be returned:

FAILEDOPERATION_QUERYSOURCEPACKAGEDETAILERROR = "FailedOperation.QuerySourcePackageDetailError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcePackageList

func (c *Client) DescribeResourcePackageList(request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)

DescribeResourcePackageList This API is used to query resource package list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcePackageListWithContext

func (c *Client) DescribeResourcePackageListWithContext(ctx context.Context, request *DescribeResourcePackageListRequest) (response *DescribeResourcePackageListResponse, err error)

DescribeResourcePackageList This API is used to query resource package list.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcePackageSaleSpec

func (c *Client) DescribeResourcePackageSaleSpec(request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, err error)

DescribeResourcePackageSaleSpec This API is used to query resource package specifications.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcePackageSaleSpecWithContext

func (c *Client) DescribeResourcePackageSaleSpecWithContext(ctx context.Context, request *DescribeResourcePackageSaleSpecRequest) (response *DescribeResourcePackageSaleSpecResponse, err error)

DescribeResourcePackageSaleSpec This API is used to query resource package specifications.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_UNSUPPORTSALESPECERROR = "OperationDenied.UnSupportSaleSpecError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcesByDealName

func (c *Client) DescribeResourcesByDealName(request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)

DescribeResourcesByDealName This interface (DescribeResourcesByDealName) is used to query order-associated instances.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeResourcesByDealNameWithContext

func (c *Client) DescribeResourcesByDealNameWithContext(ctx context.Context, request *DescribeResourcesByDealNameRequest) (response *DescribeResourcesByDealNameResponse, err error)

DescribeResourcesByDealName This interface (DescribeResourcesByDealName) is used to query order-associated instances.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError"
OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRollbackTimeRange

func (c *Client) DescribeRollbackTimeRange(request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)

DescribeRollbackTimeRange This API is used to query the rollback time range.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRollbackTimeRangeWithContext

func (c *Client) DescribeRollbackTimeRangeWithContext(ctx context.Context, request *DescribeRollbackTimeRangeRequest) (response *DescribeRollbackTimeRangeResponse, err error)

DescribeRollbackTimeRange This API is used to query the rollback time range.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeServerlessInstanceSpecs

func (c *Client) DescribeServerlessInstanceSpecs(request *DescribeServerlessInstanceSpecsRequest) (response *DescribeServerlessInstanceSpecsResponse, err error)

DescribeServerlessInstanceSpecs This API is used to query available specifications of Serverless instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeServerlessInstanceSpecsWithContext

func (c *Client) DescribeServerlessInstanceSpecsWithContext(ctx context.Context, request *DescribeServerlessInstanceSpecsRequest) (response *DescribeServerlessInstanceSpecsResponse, err error)

DescribeServerlessInstanceSpecs This API is used to query available specifications of Serverless instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeServerlessStrategy

func (c *Client) DescribeServerlessStrategy(request *DescribeServerlessStrategyRequest) (response *DescribeServerlessStrategyResponse, err error)

DescribeServerlessStrategy This API is used to query serverless policies.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) DescribeServerlessStrategyWithContext

func (c *Client) DescribeServerlessStrategyWithContext(ctx context.Context, request *DescribeServerlessStrategyRequest) (response *DescribeServerlessStrategyResponse, err error)

DescribeServerlessStrategy This API is used to query serverless policies.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) DescribeSlaveZones

func (c *Client) DescribeSlaveZones(request *DescribeSlaveZonesRequest) (response *DescribeSlaveZonesResponse, err error)

DescribeSlaveZones This API is used to query from availability zones.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"

func (*Client) DescribeSlaveZonesWithContext

func (c *Client) DescribeSlaveZonesWithContext(ctx context.Context, request *DescribeSlaveZonesRequest) (response *DescribeSlaveZonesResponse, err error)

DescribeSlaveZones This API is used to query from availability zones.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"

func (*Client) DescribeSupportProxyVersion

func (c *Client) DescribeSupportProxyVersion(request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)

DescribeSupportProxyVersion This API is used to query supported database proxy versions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeSupportProxyVersionWithContext

func (c *Client) DescribeSupportProxyVersionWithContext(ctx context.Context, request *DescribeSupportProxyVersionRequest) (response *DescribeSupportProxyVersionResponse, err error)

DescribeSupportProxyVersion This API is used to query supported database proxy versions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeZones

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

DescribeZones This API is used to query marketable regional availability zone information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeZonesWithContext

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

DescribeZones This API is used to query marketable regional availability zone information.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportInstanceErrorLogs

func (c *Client) ExportInstanceErrorLogs(request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, err error)

ExportInstanceErrorLogs This API is used to export the error logs of an instance.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportInstanceErrorLogsWithContext

func (c *Client) ExportInstanceErrorLogsWithContext(ctx context.Context, request *ExportInstanceErrorLogsRequest) (response *ExportInstanceErrorLogsResponse, err error)

ExportInstanceErrorLogs This API is used to export the error logs of an instance.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportInstanceSlowQueries

func (c *Client) ExportInstanceSlowQueries(request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)

ExportInstanceSlowQueries This API is used to export instance slow logs.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportInstanceSlowQueriesWithContext

func (c *Client) ExportInstanceSlowQueriesWithContext(ctx context.Context, request *ExportInstanceSlowQueriesRequest) (response *ExportInstanceSlowQueriesResponse, err error)

ExportInstanceSlowQueries This API is used to export instance slow logs.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportResourcePackageDeductDetails

func (c *Client) ExportResourcePackageDeductDetails(request *ExportResourcePackageDeductDetailsRequest) (response *ExportResourcePackageDeductDetailsResponse, err error)

ExportResourcePackageDeductDetails This API is used to export the usage details of a resource package.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ExportResourcePackageDeductDetailsWithContext

func (c *Client) ExportResourcePackageDeductDetailsWithContext(ctx context.Context, request *ExportResourcePackageDeductDetailsRequest) (response *ExportResourcePackageDeductDetailsResponse, err error)

ExportResourcePackageDeductDetails This API is used to export the usage details of a resource package.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceCreate

func (c *Client) InquirePriceCreate(request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)

InquirePriceCreate This interface (InquirePriceCreate) is used for price inquiry of newly purchased clusters.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceCreateWithContext

func (c *Client) InquirePriceCreateWithContext(ctx context.Context, request *InquirePriceCreateRequest) (response *InquirePriceCreateResponse, err error)

InquirePriceCreate This interface (InquirePriceCreate) is used for price inquiry of newly purchased clusters.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceModify

func (c *Client) InquirePriceModify(request *InquirePriceModifyRequest) (response *InquirePriceModifyResponse, err error)

InquirePriceModify This API is used to query the price for modifying the specifications of a prepaid cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceModifyWithContext

func (c *Client) InquirePriceModifyWithContext(ctx context.Context, request *InquirePriceModifyRequest) (response *InquirePriceModifyResponse, err error)

InquirePriceModify This API is used to query the price for modifying the specifications of a prepaid cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceRenew

func (c *Client) InquirePriceRenew(request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)

InquirePriceRenew This API is used to query the renewal price of a cluster.

error code that may be returned:

FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquirePriceRenewWithContext

func (c *Client) InquirePriceRenewWithContext(ctx context.Context, request *InquirePriceRenewRequest) (response *InquirePriceRenewResponse, err error)

InquirePriceRenew This API is used to query the renewal price of a cluster.

error code that may be returned:

FAILEDOPERATION_BATCHGETINSTANCEERROR = "FailedOperation.BatchGetInstanceError"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) IsolateCluster

func (c *Client) IsolateCluster(request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)

IsolateCluster This interface (IsolateCluster) is used to isolate a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) IsolateClusterWithContext

func (c *Client) IsolateClusterWithContext(ctx context.Context, request *IsolateClusterRequest) (response *IsolateClusterResponse, err error)

IsolateCluster This interface (IsolateCluster) is used to isolate a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) IsolateInstance

func (c *Client) IsolateInstance(request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)

IsolateInstance This API is used to isolate an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) IsolateInstanceWithContext

func (c *Client) IsolateInstanceWithContext(ctx context.Context, request *IsolateInstanceRequest) (response *IsolateInstanceResponse, err error)

IsolateInstance This API is used to isolate an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountDescription

func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)

ModifyAccountDescription This API is used to modify the descriptions of a database account.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountDescriptionWithContext

func (c *Client) ModifyAccountDescriptionWithContext(ctx context.Context, request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)

ModifyAccountDescription This API is used to modify the descriptions of a database account.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountHost

func (c *Client) ModifyAccountHost(request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)

ModifyAccountHost This API is used to modify account hosts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountHostWithContext

func (c *Client) ModifyAccountHostWithContext(ctx context.Context, request *ModifyAccountHostRequest) (response *ModifyAccountHostResponse, err error)

ModifyAccountHost This API is used to modify account hosts.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountPrivileges

func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)

ModifyAccountPrivileges This API is used to modify account database and table permissions.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountPrivilegesWithContext

func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)

ModifyAccountPrivileges This API is used to modify account database and table permissions.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAuditRuleTemplates

func (c *Client) ModifyAuditRuleTemplates(request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)

ModifyAuditRuleTemplates This API is used to modify audit rule templates.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) ModifyAuditRuleTemplatesWithContext

func (c *Client) ModifyAuditRuleTemplatesWithContext(ctx context.Context, request *ModifyAuditRuleTemplatesRequest) (response *ModifyAuditRuleTemplatesResponse, err error)

ModifyAuditRuleTemplates This API is used to modify audit rule templates.

error code that may be returned:

INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) ModifyAuditService

func (c *Client) ModifyAuditService(request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)

ModifyAuditService This API is used to modify the audit configurations of an instance, such as audit log retention period and audit rule.

error code that may be returned:

INTERNALERROR_HTTPERROR = "InternalError.HttpError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError"
OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"

func (*Client) ModifyAuditServiceWithContext

func (c *Client) ModifyAuditServiceWithContext(ctx context.Context, request *ModifyAuditServiceRequest) (response *ModifyAuditServiceResponse, err error)

ModifyAuditService This API is used to modify the audit configurations of an instance, such as audit log retention period and audit rule.

error code that may be returned:

INTERNALERROR_HTTPERROR = "InternalError.HttpError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError"
OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"

func (*Client) ModifyBackupConfig

func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)

ModifyBackupConfig This API is used to modify the backup configuration of a specified cluster.

error code that may be returned:

FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupConfigWithContext

func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)

ModifyBackupConfig This API is used to modify the backup configuration of a specified cluster.

error code that may be returned:

FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = "FailedOperation.CynosdbMysqlSetBackupStrategy"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupDownloadRestriction

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

ModifyBackupDownloadRestriction This API is used to modify the download source limit of the backup file for the user in the current region. It can be configured to allow downloads from both private and public networks, only the private network, or a designated vpc or ip within the private network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupDownloadRestrictionWithContext

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

ModifyBackupDownloadRestriction This API is used to modify the download source limit of the backup file for the user in the current region. It can be configured to allow downloads from both private and public networks, only the private network, or a designated vpc or ip within the private network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupDownloadUserRestriction

func (c *Client) ModifyBackupDownloadUserRestriction(request *ModifyBackupDownloadUserRestrictionRequest) (response *ModifyBackupDownloadUserRestrictionResponse, err error)

ModifyBackupDownloadUserRestriction This API is used to modify the download source restrictions for backup files in the user's current region. It can be configured to allow downloads from both private and public networks, only from a private network, or from a designated vpc or ip within the private network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupDownloadUserRestrictionWithContext

func (c *Client) ModifyBackupDownloadUserRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadUserRestrictionRequest) (response *ModifyBackupDownloadUserRestrictionResponse, err error)

ModifyBackupDownloadUserRestriction This API is used to modify the download source restrictions for backup files in the user's current region. It can be configured to allow downloads from both private and public networks, only from a private network, or from a designated vpc or ip within the private network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupName

func (c *Client) ModifyBackupName(request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)

ModifyBackupName This API is used to rename a backup file.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupNameWithContext

func (c *Client) ModifyBackupNameWithContext(ctx context.Context, request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)

ModifyBackupName This API is used to rename a backup file.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBinlogConfig

func (c *Client) ModifyBinlogConfig(request *ModifyBinlogConfigRequest) (response *ModifyBinlogConfigResponse, err error)

ModifyBinlogConfig This API is used to modify Binlog configuration.

error code that may be returned:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) ModifyBinlogConfigWithContext

func (c *Client) ModifyBinlogConfigWithContext(ctx context.Context, request *ModifyBinlogConfigRequest) (response *ModifyBinlogConfigResponse, err error)

ModifyBinlogConfig This API is used to modify Binlog configuration.

error code that may be returned:

INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) ModifyBinlogSaveDays

func (c *Client) ModifyBinlogSaveDays(request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)

ModifyBinlogSaveDays This API is used to modify the binlog retention period in days.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBinlogSaveDaysWithContext

func (c *Client) ModifyBinlogSaveDaysWithContext(ctx context.Context, request *ModifyBinlogSaveDaysRequest) (response *ModifyBinlogSaveDaysResponse, err error)

ModifyBinlogSaveDays This API is used to modify the binlog retention period in days.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterDatabase

func (c *Client) ModifyClusterDatabase(request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, err error)

ModifyClusterDatabase This API is used to modify account authorization of a database.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterDatabaseWithContext

func (c *Client) ModifyClusterDatabaseWithContext(ctx context.Context, request *ModifyClusterDatabaseRequest) (response *ModifyClusterDatabaseResponse, err error)

ModifyClusterDatabase This API is used to modify account authorization of a database.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterName

func (c *Client) ModifyClusterName(request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)

ModifyClusterName This API is used to modify cluster names.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterNameWithContext

func (c *Client) ModifyClusterNameWithContext(ctx context.Context, request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)

ModifyClusterName This API is used to modify cluster names.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterParam

func (c *Client) ModifyClusterParam(request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)

ModifyClusterParam This API is used to modify cluster parameters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterParamWithContext

func (c *Client) ModifyClusterParamWithContext(ctx context.Context, request *ModifyClusterParamRequest) (response *ModifyClusterParamResponse, err error)

ModifyClusterParam This API is used to modify cluster parameters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterPasswordComplexity

func (c *Client) ModifyClusterPasswordComplexity(request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, err error)

ModifyClusterPasswordComplexity This API is used to modify or enable cluster password complexity.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterPasswordComplexityWithContext

func (c *Client) ModifyClusterPasswordComplexityWithContext(ctx context.Context, request *ModifyClusterPasswordComplexityRequest) (response *ModifyClusterPasswordComplexityResponse, err error)

ModifyClusterPasswordComplexity This API is used to modify or enable cluster password complexity.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterReadOnly

func (c *Client) ModifyClusterReadOnly(request *ModifyClusterReadOnlyRequest) (response *ModifyClusterReadOnlyResponse, err error)

ModifyClusterReadOnly This API is used to modify the read-only switch of a cluster.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterReadOnlyWithContext

func (c *Client) ModifyClusterReadOnlyWithContext(ctx context.Context, request *ModifyClusterReadOnlyRequest) (response *ModifyClusterReadOnlyResponse, err error)

ModifyClusterReadOnly This API is used to modify the read-only switch of a cluster.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
OPERATIONDENIED_TASKCONFLICTERROR = "OperationDenied.TaskConflictError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterSlaveZone

func (c *Client) ModifyClusterSlaveZone(request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)

ModifyClusterSlaveZone This API is used to modify the slave availability zone of a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_PAUSEDSLSNOTALLOWMODIFYSLAVE = "OperationDenied.PausedSlsNotAllowModifySlave"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyClusterSlaveZoneWithContext

func (c *Client) ModifyClusterSlaveZoneWithContext(ctx context.Context, request *ModifyClusterSlaveZoneRequest) (response *ModifyClusterSlaveZoneResponse, err error)

ModifyClusterSlaveZone This API is used to modify the slave availability zone of a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_PAUSEDSLSNOTALLOWMODIFYSLAVE = "OperationDenied.PausedSlsNotAllowModifySlave"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceSecurityGroups

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

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

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceSecurityGroupsWithContext

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

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

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyInstanceName

func (c *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)

ModifyInstanceName This API is used to modify instance name.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyInstanceNameWithContext

func (c *Client) ModifyInstanceNameWithContext(ctx context.Context, request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)

ModifyInstanceName This API is used to modify instance name.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyInstanceParam

func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)

ModifyInstanceParam This API is used to modify the instance parameters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyInstanceParamWithContext

func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)

ModifyInstanceParam This API is used to modify the instance parameters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyMaintainPeriodConfig

func (c *Client) ModifyMaintainPeriodConfig(request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)

ModifyMaintainPeriodConfig This API is used to modify maintenance time configuration.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyMaintainPeriodConfigWithContext

func (c *Client) ModifyMaintainPeriodConfigWithContext(ctx context.Context, request *ModifyMaintainPeriodConfigRequest) (response *ModifyMaintainPeriodConfigResponse, err error)

ModifyMaintainPeriodConfig This API is used to modify maintenance time configuration.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyParamTemplate

func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)

ModifyParamTemplate This API is used to modify a parameter template.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyParamTemplateWithContext

func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)

ModifyParamTemplate This API is used to modify a parameter template.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"

func (*Client) ModifyProxyDesc

func (c *Client) ModifyProxyDesc(request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)

ModifyProxyDesc This API is used to modify the description of a database proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyProxyDescWithContext

func (c *Client) ModifyProxyDescWithContext(ctx context.Context, request *ModifyProxyDescRequest) (response *ModifyProxyDescResponse, err error)

ModifyProxyDesc This API is used to modify the description of a database proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ModifyProxyRwSplit

func (c *Client) ModifyProxyRwSplit(request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)

ModifyProxyRwSplit This API is used to configure read-write separation for database proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyProxyRwSplitWithContext

func (c *Client) ModifyProxyRwSplitWithContext(ctx context.Context, request *ModifyProxyRwSplitRequest) (response *ModifyProxyRwSplitResponse, err error)

ModifyProxyRwSplit This API is used to configure read-write separation for database proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackageClusters

func (c *Client) ModifyResourcePackageClusters(request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)

ModifyResourcePackageClusters This API is used to modify the binding relationship between resource packages and clusters.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackageClustersWithContext

func (c *Client) ModifyResourcePackageClustersWithContext(ctx context.Context, request *ModifyResourcePackageClustersRequest) (response *ModifyResourcePackageClustersResponse, err error)

ModifyResourcePackageClusters This API is used to modify the binding relationship between resource packages and clusters.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackageName

func (c *Client) ModifyResourcePackageName(request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)

ModifyResourcePackageName This API is used to modify resource package name.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackageNameWithContext

func (c *Client) ModifyResourcePackageNameWithContext(ctx context.Context, request *ModifyResourcePackageNameRequest) (response *ModifyResourcePackageNameResponse, err error)

ModifyResourcePackageName This API is used to modify resource package name.

error code that may be returned:

FAILEDOPERATION_BINDSOURCEPACKAGEERROR = "FailedOperation.BindSourcePackageError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackagesDeductionPriority

func (c *Client) ModifyResourcePackagesDeductionPriority(request *ModifyResourcePackagesDeductionPriorityRequest) (response *ModifyResourcePackagesDeductionPriorityResponse, err error)

ModifyResourcePackagesDeductionPriority This API is used to modify the deduction priority of the bound resource package.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_MODIFYDEDUCTIONPRIORITYERROR = "FailedOperation.ModifyDeductionPriorityError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyResourcePackagesDeductionPriorityWithContext

func (c *Client) ModifyResourcePackagesDeductionPriorityWithContext(ctx context.Context, request *ModifyResourcePackagesDeductionPriorityRequest) (response *ModifyResourcePackagesDeductionPriorityResponse, err error)

ModifyResourcePackagesDeductionPriority This API is used to modify the deduction priority of the bound resource package.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_MODIFYDEDUCTIONPRIORITYERROR = "FailedOperation.ModifyDeductionPriorityError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyServerlessStrategy

func (c *Client) ModifyServerlessStrategy(request *ModifyServerlessStrategyRequest) (response *ModifyServerlessStrategyResponse, err error)

ModifyServerlessStrategy This API is used to modify the serverless policy.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_SERVERLESSSETSTRATEGYERROR = "FailedOperation.ServerlessSetStrategyError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyServerlessStrategyWithContext

func (c *Client) ModifyServerlessStrategyWithContext(ctx context.Context, request *ModifyServerlessStrategyRequest) (response *ModifyServerlessStrategyResponse, err error)

ModifyServerlessStrategy This API is used to modify the serverless policy.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_SERVERLESSSETSTRATEGYERROR = "FailedOperation.ServerlessSetStrategyError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyVipVport

func (c *Client) ModifyVipVport(request *ModifyVipVportRequest) (response *ModifyVipVportResponse, err error)

ModifyVipVport This API is used to modify the ip and port of an instance group.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyVipVportWithContext

func (c *Client) ModifyVipVportWithContext(ctx context.Context, request *ModifyVipVportRequest) (response *ModifyVipVportResponse, err error)

ModifyVipVport This API is used to modify the ip and port of an instance group.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OfflineCluster

func (c *Client) OfflineCluster(request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)

OfflineCluster This interface (OfflineCluster) is used to terminate clusters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OfflineClusterWithContext

func (c *Client) OfflineClusterWithContext(ctx context.Context, request *OfflineClusterRequest) (response *OfflineClusterResponse, err error)

OfflineCluster This interface (OfflineCluster) is used to terminate clusters.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OfflineInstance

func (c *Client) OfflineInstance(request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)

OfflineInstance This interface (OfflineInstance) is used to terminate an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OfflineInstanceWithContext

func (c *Client) OfflineInstanceWithContext(ctx context.Context, request *OfflineInstanceRequest) (response *OfflineInstanceResponse, err error)

OfflineInstance This interface (OfflineInstance) is used to terminate an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCENOTFOUND_RESOURCEERROR = "ResourceNotFound.ResourceError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenAuditService

func (c *Client) OpenAuditService(request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)

OpenAuditService This API is used to enable database audit service for an instance.

error code that may be returned:

FAILEDOPERATION_INSTANCEQUERYERROR = "FailedOperation.InstanceQueryError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) OpenAuditServiceWithContext

func (c *Client) OpenAuditServiceWithContext(ctx context.Context, request *OpenAuditServiceRequest) (response *OpenAuditServiceResponse, err error)

OpenAuditService This API is used to enable database audit service for an instance.

error code that may be returned:

FAILEDOPERATION_INSTANCEQUERYERROR = "FailedOperation.InstanceQueryError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"

func (*Client) OpenClusterPasswordComplexity

func (c *Client) OpenClusterPasswordComplexity(request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)

OpenClusterPasswordComplexity This API is used to enable the custom password complexity feature.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenClusterPasswordComplexityWithContext

func (c *Client) OpenClusterPasswordComplexityWithContext(ctx context.Context, request *OpenClusterPasswordComplexityRequest) (response *OpenClusterPasswordComplexityResponse, err error)

OpenClusterPasswordComplexity This API is used to enable the custom password complexity feature.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenClusterReadOnlyInstanceGroupAccess

func (c *Client) OpenClusterReadOnlyInstanceGroupAccess(request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)

OpenClusterReadOnlyInstanceGroupAccess This API is used to enable read-only instance group access.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenClusterReadOnlyInstanceGroupAccessWithContext

func (c *Client) OpenClusterReadOnlyInstanceGroupAccessWithContext(ctx context.Context, request *OpenClusterReadOnlyInstanceGroupAccessRequest) (response *OpenClusterReadOnlyInstanceGroupAccessResponse, err error)

OpenClusterReadOnlyInstanceGroupAccess This API is used to enable read-only instance group access.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenClusterTransparentEncrypt

func (c *Client) OpenClusterTransparentEncrypt(request *OpenClusterTransparentEncryptRequest) (response *OpenClusterTransparentEncryptResponse, err error)

OpenClusterTransparentEncrypt Enable transparent data encryption for the cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenClusterTransparentEncryptWithContext

func (c *Client) OpenClusterTransparentEncryptWithContext(ctx context.Context, request *OpenClusterTransparentEncryptRequest) (response *OpenClusterTransparentEncryptResponse, err error)

OpenClusterTransparentEncrypt Enable transparent data encryption for the cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenReadOnlyInstanceExclusiveAccess

func (c *Client) OpenReadOnlyInstanceExclusiveAccess(request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)

OpenReadOnlyInstanceExclusiveAccess This interface (OpenReadOnlyInstanceExclusiveAccess) is used to enable the dedicated access access group for a read-only instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenReadOnlyInstanceExclusiveAccessWithContext

func (c *Client) OpenReadOnlyInstanceExclusiveAccessWithContext(ctx context.Context, request *OpenReadOnlyInstanceExclusiveAccessRequest) (response *OpenReadOnlyInstanceExclusiveAccessResponse, err error)

OpenReadOnlyInstanceExclusiveAccess This interface (OpenReadOnlyInstanceExclusiveAccess) is used to enable the dedicated access access group for a read-only instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenWan

func (c *Client) OpenWan(request *OpenWanRequest) (response *OpenWanResponse, err error)

OpenWan This interface (OpenWan) is used to enable external network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenWanWithContext

func (c *Client) OpenWanWithContext(ctx context.Context, request *OpenWanRequest) (response *OpenWanResponse, err error)

OpenWan This interface (OpenWan) is used to enable external network.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_GETNETSERVICEINFOERROR = "FailedOperation.GetNetServiceInfoError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) PauseServerless

func (c *Client) PauseServerless(request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)

PauseServerless This API is used to suspend a serverless cluster.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) PauseServerlessWithContext

func (c *Client) PauseServerlessWithContext(ctx context.Context, request *PauseServerlessRequest) (response *PauseServerlessResponse, err error)

PauseServerless This API is used to suspend a serverless cluster.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RefundResourcePackage

func (c *Client) RefundResourcePackage(request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)

RefundResourcePackage This API is used to refund a resource package.

error code that may be returned:

FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RefundResourcePackageWithContext

func (c *Client) RefundResourcePackageWithContext(ctx context.Context, request *RefundResourcePackageRequest) (response *RefundResourcePackageResponse, err error)

RefundResourcePackage This API is used to refund a resource package.

error code that may be returned:

FAILEDOPERATION_REFUNDSOURCEPACKAGEERROR = "FailedOperation.RefundSourcePackageError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ReloadBalanceProxyNode

func (c *Client) ReloadBalanceProxyNode(request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)

ReloadBalanceProxyNode This API is used to reload the database proxy of Cloud Load Balancer.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"

func (*Client) ReloadBalanceProxyNodeWithContext

func (c *Client) ReloadBalanceProxyNodeWithContext(ctx context.Context, request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)

ReloadBalanceProxyNode This API is used to reload the database proxy of Cloud Load Balancer.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"

func (*Client) RemoveClusterSlaveZone

func (c *Client) RemoveClusterSlaveZone(request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)

RemoveClusterSlaveZone This API is used to disable multi-AZ deployment for a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RemoveClusterSlaveZoneWithContext

func (c *Client) RemoveClusterSlaveZoneWithContext(ctx context.Context, request *RemoveClusterSlaveZoneRequest) (response *RemoveClusterSlaveZoneResponse, err error)

RemoveClusterSlaveZone This API is used to disable multi-AZ deployment for a cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ReplayInstanceAuditLog

func (c *Client) ReplayInstanceAuditLog(request *ReplayInstanceAuditLogRequest) (response *ReplayInstanceAuditLogResponse, err error)

ReplayInstanceAuditLog This API is used to replay instance audit logs.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_AUDITLOGCLOSEDERROR = "OperationDenied.AuditLogClosedError"
OPERATIONDENIED_FEATURENOTSUPPORTERROR = "OperationDenied.FeatureNotSupportError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = "OperationDenied.IsNotRollbackClusterError"
OPERATIONDENIED_LIMITDAYFORAUDITREPLAYERROR = "OperationDenied.LimitDayForAuditReplayError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ReplayInstanceAuditLogWithContext

func (c *Client) ReplayInstanceAuditLogWithContext(ctx context.Context, request *ReplayInstanceAuditLogRequest) (response *ReplayInstanceAuditLogResponse, err error)

ReplayInstanceAuditLog This API is used to replay instance audit logs.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_AUDITLOGCLOSEDERROR = "OperationDenied.AuditLogClosedError"
OPERATIONDENIED_FEATURENOTSUPPORTERROR = "OperationDenied.FeatureNotSupportError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = "OperationDenied.IsNotRollbackClusterError"
OPERATIONDENIED_LIMITDAYFORAUDITREPLAYERROR = "OperationDenied.LimitDayForAuditReplayError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"

func (*Client) ResetAccountPassword

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

ResetAccountPassword This API is used to modify the database account password.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ResetAccountPasswordWithContext

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

ResetAccountPassword This API is used to modify the database account password.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestartInstance

func (c *Client) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)

RestartInstance This API is used to reboot an instance.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestartInstanceWithContext

func (c *Client) RestartInstanceWithContext(ctx context.Context, request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)

RestartInstance This API is used to reboot an instance.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ResumeServerless

func (c *Client) ResumeServerless(request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)

ResumeServerless This API is used to restore a serverless cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ResumeServerlessWithContext

func (c *Client) ResumeServerlessWithContext(ctx context.Context, request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error)

ResumeServerless This API is used to restore a serverless cluster.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SearchClusterDatabases

func (c *Client) SearchClusterDatabases(request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)

SearchClusterDatabases This API is used to search cluster database lists.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) SearchClusterDatabasesWithContext

func (c *Client) SearchClusterDatabasesWithContext(ctx context.Context, request *SearchClusterDatabasesRequest) (response *SearchClusterDatabasesResponse, err error)

SearchClusterDatabases This API is used to search cluster database lists.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) SearchClusterTables

func (c *Client) SearchClusterTables(request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)

SearchClusterTables This API is used to search cluster data table lists.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) SearchClusterTablesWithContext

func (c *Client) SearchClusterTablesWithContext(ctx context.Context, request *SearchClusterTablesRequest) (response *SearchClusterTablesResponse, err error)

SearchClusterTables This API is used to search cluster data table lists.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"

func (*Client) SetRenewFlag

func (c *Client) SetRenewFlag(request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)

SetRenewFlag This API is used to set the auto-renewal feature of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SetRenewFlagWithContext

func (c *Client) SetRenewFlagWithContext(ctx context.Context, request *SetRenewFlagRequest) (response *SetRenewFlagResponse, err error)

SetRenewFlag This API is used to set the auto-renewal feature of an instance.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchClusterVpc

func (c *Client) SwitchClusterVpc(request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, err error)

SwitchClusterVpc This API is used to replace the cluster vpc.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchClusterVpcWithContext

func (c *Client) SwitchClusterVpcWithContext(ctx context.Context, request *SwitchClusterVpcRequest) (response *SwitchClusterVpcResponse, err error)

SwitchClusterVpc This API is used to replace the cluster vpc.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchClusterZone

func (c *Client) SwitchClusterZone(request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)

SwitchClusterZone This API is used to switch the primary and secondary AZs of a cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchClusterZoneWithContext

func (c *Client) SwitchClusterZoneWithContext(ctx context.Context, request *SwitchClusterZoneRequest) (response *SwitchClusterZoneResponse, err error)

SwitchClusterZone This API is used to switch the primary and secondary AZs of a cluster.

error code that may be returned:

FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchProxyVpc

func (c *Client) SwitchProxyVpc(request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)

SwitchProxyVpc This API is used to replace the vpc of the database proxy.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchProxyVpcWithContext

func (c *Client) SwitchProxyVpcWithContext(ctx context.Context, request *SwitchProxyVpcRequest) (response *SwitchProxyVpcResponse, err error)

SwitchProxyVpc This API is used to replace the vpc of the database proxy.

error code that may be returned:

FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UnbindClusterResourcePackages

func (c *Client) UnbindClusterResourcePackages(request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)

UnbindClusterResourcePackages This API is used to unbind resource packages from clusters.

error code that may be returned:

FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UnbindClusterResourcePackagesWithContext

func (c *Client) UnbindClusterResourcePackagesWithContext(ctx context.Context, request *UnbindClusterResourcePackagesRequest) (response *UnbindClusterResourcePackagesResponse, err error)

UnbindClusterResourcePackages This API is used to unbind resource packages from clusters.

error code that may be returned:

FAILEDOPERATION_QUERYSOURCEPACKAGEERROR = "FailedOperation.QuerySourcePackageError"
FAILEDOPERATION_UNBINDSOURCEPACKAGEERROR = "FailedOperation.UnBindSourcePackageError"
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeClusterVersion

func (c *Client) UpgradeClusterVersion(request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, err error)

UpgradeClusterVersion This interface (UpgradeClusterVersion) is used to update the kernel minor version.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeClusterVersionWithContext

func (c *Client) UpgradeClusterVersionWithContext(ctx context.Context, request *UpgradeClusterVersionRequest) (response *UpgradeClusterVersionResponse, err error)

UpgradeClusterVersion This interface (UpgradeClusterVersion) is used to update the kernel minor version.

error code that may be returned:

FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed"
INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed"
INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed"
INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed"
INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail"
INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound"
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName"
INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy"
INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount"
INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion"
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable"
INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound"
LIMITEXCEEDED_CLUSTERINSTANCELIMIT = "LimitExceeded.ClusterInstanceLimit"
LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOTREALNAMEACCOUNT = "UnauthorizedOperation.NotRealNameAccount"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeInstance

func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)

UpgradeInstance This interface (UpgradeInstance) is used to upgrade instances.

error code that may be returned:

FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeInstanceWithContext

func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)

UpgradeInstance This interface (UpgradeInstance) is used to upgrade instances.

error code that may be returned:

FAILEDOPERATION_CREATEORDER = "FailedOperation.CreateOrder"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound"
INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound"
INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError"
OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError"
OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError"
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError"
RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeProxy

func (c *Client) UpgradeProxy(request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)

UpgradeProxy This API is used to upgrade database proxy configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_SPECNOTFOUNDERROR = "FailedOperation.SpecNotFoundError"
OPERATIONDENIED_GETPROXYGROUPFAILEDERROR = "OperationDenied.GetProxyGroupFailedError"
OPERATIONDENIED_PROXYCONNECTCOUNTCHECKERROR = "OperationDenied.ProxyConnectCountCheckError"
OPERATIONDENIED_PROXYNODECOUNTCHECKERROR = "OperationDenied.ProxyNodeCountCheckError"
OPERATIONDENIED_PROXYNOTRUNNINGERROR = "OperationDenied.ProxyNotRunningError"
OPERATIONDENIED_PROXYSALEZONECHECKERROR = "OperationDenied.ProxySaleZoneCheckError"
OPERATIONDENIED_PROXYVERSIONCHECKERROR = "OperationDenied.ProxyVersionCheckError"
OPERATIONDENIED_PROXYZONECHECKERROR = "OperationDenied.ProxyZoneCheckError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeProxyVersion

func (c *Client) UpgradeProxyVersion(request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)

UpgradeProxyVersion This API is used to upgrade the database proxy version.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"

func (*Client) UpgradeProxyVersionWithContext

func (c *Client) UpgradeProxyVersionWithContext(ctx context.Context, request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)

UpgradeProxyVersion This API is used to upgrade the database proxy version.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"

func (*Client) UpgradeProxyWithContext

func (c *Client) UpgradeProxyWithContext(ctx context.Context, request *UpgradeProxyRequest) (response *UpgradeProxyResponse, err error)

UpgradeProxy This API is used to upgrade database proxy configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError"
FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError"
FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError"
FAILEDOPERATION_SPECNOTFOUNDERROR = "FailedOperation.SpecNotFoundError"
OPERATIONDENIED_GETPROXYGROUPFAILEDERROR = "OperationDenied.GetProxyGroupFailedError"
OPERATIONDENIED_PROXYCONNECTCOUNTCHECKERROR = "OperationDenied.ProxyConnectCountCheckError"
OPERATIONDENIED_PROXYNODECOUNTCHECKERROR = "OperationDenied.ProxyNodeCountCheckError"
OPERATIONDENIED_PROXYNOTRUNNINGERROR = "OperationDenied.ProxyNotRunningError"
OPERATIONDENIED_PROXYSALEZONECHECKERROR = "OperationDenied.ProxySaleZoneCheckError"
OPERATIONDENIED_PROXYVERSIONCHECKERROR = "OperationDenied.ProxyVersionCheckError"
OPERATIONDENIED_PROXYZONECHECKERROR = "OperationDenied.ProxyZoneCheckError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

type CloseAuditServiceRequest

type CloseAuditServiceRequest struct {
	*tchttp.BaseRequest

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

func NewCloseAuditServiceRequest

func NewCloseAuditServiceRequest() (request *CloseAuditServiceRequest)

func (*CloseAuditServiceRequest) FromJsonString

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

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

func (*CloseAuditServiceRequest) ToJsonString

func (r *CloseAuditServiceRequest) ToJsonString() string

type CloseAuditServiceRequestParams

type CloseAuditServiceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type CloseAuditServiceResponse

type CloseAuditServiceResponse struct {
	*tchttp.BaseResponse
	Response *CloseAuditServiceResponseParams `json:"Response"`
}

func NewCloseAuditServiceResponse

func NewCloseAuditServiceResponse() (response *CloseAuditServiceResponse)

func (*CloseAuditServiceResponse) FromJsonString

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

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

func (*CloseAuditServiceResponse) ToJsonString

func (r *CloseAuditServiceResponse) ToJsonString() string

type CloseAuditServiceResponseParams

type CloseAuditServiceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseClusterPasswordComplexityRequest

type CloseClusterPasswordComplexityRequest struct {
	*tchttp.BaseRequest

	// Cluster IDs in array
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewCloseClusterPasswordComplexityRequest

func NewCloseClusterPasswordComplexityRequest() (request *CloseClusterPasswordComplexityRequest)

func (*CloseClusterPasswordComplexityRequest) FromJsonString

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

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

func (*CloseClusterPasswordComplexityRequest) ToJsonString

type CloseClusterPasswordComplexityRequestParams

type CloseClusterPasswordComplexityRequestParams struct {
	// Cluster IDs in array
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type CloseClusterPasswordComplexityResponse

type CloseClusterPasswordComplexityResponse struct {
	*tchttp.BaseResponse
	Response *CloseClusterPasswordComplexityResponseParams `json:"Response"`
}

func NewCloseClusterPasswordComplexityResponse

func NewCloseClusterPasswordComplexityResponse() (response *CloseClusterPasswordComplexityResponse)

func (*CloseClusterPasswordComplexityResponse) FromJsonString

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

func (*CloseClusterPasswordComplexityResponse) ToJsonString

type CloseClusterPasswordComplexityResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseProxyEndPointRequest

type CloseProxyEndPointRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID.
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

func NewCloseProxyEndPointRequest

func NewCloseProxyEndPointRequest() (request *CloseProxyEndPointRequest)

func (*CloseProxyEndPointRequest) FromJsonString

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

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

func (*CloseProxyEndPointRequest) ToJsonString

func (r *CloseProxyEndPointRequest) ToJsonString() string

type CloseProxyEndPointRequestParams

type CloseProxyEndPointRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID.
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

Predefined struct for user

type CloseProxyEndPointResponse

type CloseProxyEndPointResponse struct {
	*tchttp.BaseResponse
	Response *CloseProxyEndPointResponseParams `json:"Response"`
}

func NewCloseProxyEndPointResponse

func NewCloseProxyEndPointResponse() (response *CloseProxyEndPointResponse)

func (*CloseProxyEndPointResponse) FromJsonString

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

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

func (*CloseProxyEndPointResponse) ToJsonString

func (r *CloseProxyEndPointResponse) ToJsonString() string

type CloseProxyEndPointResponseParams

type CloseProxyEndPointResponseParams struct {
	// Async process ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Asynchronous Task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseProxyRequest

type CloseProxyRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Whether only to disable read/write separation. Valid values: `true`, `false`.
	OnlyCloseRW *bool `json:"OnlyCloseRW,omitnil,omitempty" name:"OnlyCloseRW"`
}

func NewCloseProxyRequest

func NewCloseProxyRequest() (request *CloseProxyRequest)

func (*CloseProxyRequest) FromJsonString

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

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

func (*CloseProxyRequest) ToJsonString

func (r *CloseProxyRequest) ToJsonString() string

type CloseProxyRequestParams

type CloseProxyRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Whether only to disable read/write separation. Valid values: `true`, `false`.
	OnlyCloseRW *bool `json:"OnlyCloseRW,omitnil,omitempty" name:"OnlyCloseRW"`
}

Predefined struct for user

type CloseProxyResponse

type CloseProxyResponse struct {
	*tchttp.BaseResponse
	Response *CloseProxyResponseParams `json:"Response"`
}

func NewCloseProxyResponse

func NewCloseProxyResponse() (response *CloseProxyResponse)

func (*CloseProxyResponse) FromJsonString

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

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

func (*CloseProxyResponse) ToJsonString

func (r *CloseProxyResponse) ToJsonString() string

type CloseProxyResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseSSLRequest

type CloseSSLRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

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

func NewCloseSSLRequest

func NewCloseSSLRequest() (request *CloseSSLRequest)

func (*CloseSSLRequest) FromJsonString

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

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

func (*CloseSSLRequest) ToJsonString

func (r *CloseSSLRequest) ToJsonString() string

type CloseSSLRequestParams

type CloseSSLRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

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

Predefined struct for user

type CloseSSLResponse

type CloseSSLResponse struct {
	*tchttp.BaseResponse
	Response *CloseSSLResponseParams `json:"Response"`
}

func NewCloseSSLResponse

func NewCloseSSLResponse() (response *CloseSSLResponse)

func (*CloseSSLResponse) FromJsonString

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

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

func (*CloseSSLResponse) ToJsonString

func (r *CloseSSLResponse) ToJsonString() string

type CloseSSLResponseParams

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

	// Task ID.
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseWanRequest

type CloseWanRequest struct {
	*tchttp.BaseRequest

	// Instance group ID
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`
}

func NewCloseWanRequest

func NewCloseWanRequest() (request *CloseWanRequest)

func (*CloseWanRequest) FromJsonString

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

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

func (*CloseWanRequest) ToJsonString

func (r *CloseWanRequest) ToJsonString() string

type CloseWanRequestParams

type CloseWanRequestParams struct {
	// Instance group ID
	//
	// Deprecated: InstanceGrpId is deprecated.
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`
}

Predefined struct for user

type CloseWanResponse

type CloseWanResponse struct {
	*tchttp.BaseResponse
	Response *CloseWanResponseParams `json:"Response"`
}

func NewCloseWanResponse

func NewCloseWanResponse() (response *CloseWanResponse)

func (*CloseWanResponse) FromJsonString

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

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

func (*CloseWanResponse) ToJsonString

func (r *CloseWanResponse) ToJsonString() string

type CloseWanResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ClusterInstanceDetail

type ClusterInstanceDetail struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Engine type
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Instance status
	InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"`

	// Instance status description
	InstanceStatusDesc *string `json:"InstanceStatusDesc,omitnil,omitempty" name:"InstanceStatusDesc"`

	// Number of CPU cores
	InstanceCpu *int64 `json:"InstanceCpu,omitnil,omitempty" name:"InstanceCpu"`

	// Memory
	InstanceMemory *int64 `json:"InstanceMemory,omitnil,omitempty" name:"InstanceMemory"`

	// Disk
	InstanceStorage *int64 `json:"InstanceStorage,omitnil,omitempty" name:"InstanceStorage"`

	// Instance role
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// Execution start time (seconds from 0 o'clock).
	MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"`

	// Specifies the continuous time. the unit is second.
	MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"`

	// Specifies the time when it can be executed. valid values: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"].
	MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"`

	// serverless instance substatus.
	ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"`

	// Instance task information.
	InstanceTasks []*ObjectTask `json:"InstanceTasks,omitnil,omitempty" name:"InstanceTasks"`

	// Instance machine type.
	InstanceDeviceType *string `json:"InstanceDeviceType,omitnil,omitempty" name:"InstanceDeviceType"`

	// Instance storage type.
	InstanceStorageType *string `json:"InstanceStorageType,omitnil,omitempty" name:"InstanceStorageType"`

	// Database type.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// Node list
	NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"`
}

type ClusterReadOnlyValue

type ClusterReadOnlyValue struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies the value of the read-only switch.
	ReadOnlyValue *string `json:"ReadOnlyValue,omitnil,omitempty" name:"ReadOnlyValue"`
}

type ClusterTaskId

type ClusterTaskId struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type CopyClusterPasswordComplexityRequest

type CopyClusterPasswordComplexityRequest struct {
	*tchttp.BaseRequest

	// A parameter used to replicate the array of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Cluster ID
	SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"`
}

func NewCopyClusterPasswordComplexityRequest

func NewCopyClusterPasswordComplexityRequest() (request *CopyClusterPasswordComplexityRequest)

func (*CopyClusterPasswordComplexityRequest) FromJsonString

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

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

func (*CopyClusterPasswordComplexityRequest) ToJsonString

func (r *CopyClusterPasswordComplexityRequest) ToJsonString() string

type CopyClusterPasswordComplexityRequestParams

type CopyClusterPasswordComplexityRequestParams struct {
	// A parameter used to replicate the array of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Cluster ID
	SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"`
}

Predefined struct for user

type CopyClusterPasswordComplexityResponse

type CopyClusterPasswordComplexityResponse struct {
	*tchttp.BaseResponse
	Response *CopyClusterPasswordComplexityResponseParams `json:"Response"`
}

func NewCopyClusterPasswordComplexityResponse

func NewCopyClusterPasswordComplexityResponse() (response *CopyClusterPasswordComplexityResponse)

func (*CopyClusterPasswordComplexityResponse) FromJsonString

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

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

func (*CopyClusterPasswordComplexityResponse) ToJsonString

type CopyClusterPasswordComplexityResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAccountsRequest

type CreateAccountsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of new accounts
	Accounts []*NewAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewCreateAccountsRequest

func NewCreateAccountsRequest() (request *CreateAccountsRequest)

func (*CreateAccountsRequest) FromJsonString

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

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

func (*CreateAccountsRequest) ToJsonString

func (r *CreateAccountsRequest) ToJsonString() string

type CreateAccountsRequestParams

type CreateAccountsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of new accounts
	Accounts []*NewAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type CreateAccountsResponse

type CreateAccountsResponse struct {
	*tchttp.BaseResponse
	Response *CreateAccountsResponseParams `json:"Response"`
}

func NewCreateAccountsResponse

func NewCreateAccountsResponse() (response *CreateAccountsResponse)

func (*CreateAccountsResponse) FromJsonString

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

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

func (*CreateAccountsResponse) ToJsonString

func (r *CreateAccountsResponse) ToJsonString() string

type CreateAccountsResponseParams

type CreateAccountsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAuditRuleTemplateRequest

type CreateAuditRuleTemplateRequest struct {
	*tchttp.BaseRequest

	// Audit rule
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// Rule template name
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// Rule template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateAuditRuleTemplateRequest

func NewCreateAuditRuleTemplateRequest() (request *CreateAuditRuleTemplateRequest)

func (*CreateAuditRuleTemplateRequest) FromJsonString

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

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

func (*CreateAuditRuleTemplateRequest) ToJsonString

func (r *CreateAuditRuleTemplateRequest) ToJsonString() string

type CreateAuditRuleTemplateRequestParams

type CreateAuditRuleTemplateRequestParams struct {
	// Audit rule
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// Rule template name
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// Rule template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateAuditRuleTemplateResponse

type CreateAuditRuleTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateAuditRuleTemplateResponseParams `json:"Response"`
}

func NewCreateAuditRuleTemplateResponse

func NewCreateAuditRuleTemplateResponse() (response *CreateAuditRuleTemplateResponse)

func (*CreateAuditRuleTemplateResponse) FromJsonString

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

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

func (*CreateAuditRuleTemplateResponse) ToJsonString

func (r *CreateAuditRuleTemplateResponse) ToJsonString() string

type CreateAuditRuleTemplateResponseParams

type CreateAuditRuleTemplateResponseParams struct {
	// The generated rule template ID.
	RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBackupRequest

type CreateBackupRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup type. Valid values: `logic` (logic backup), `snapshot` (physical backup)
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Backup database, which is valid when `BackupType` is `logic`.
	BackupDatabases []*string `json:"BackupDatabases,omitnil,omitempty" name:"BackupDatabases"`

	// Backup table, which is valid when `BackupType` is `logic`.
	BackupTables []*DatabaseTables `json:"BackupTables,omitnil,omitempty" name:"BackupTables"`

	// Backup name
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`
}

func NewCreateBackupRequest

func NewCreateBackupRequest() (request *CreateBackupRequest)

func (*CreateBackupRequest) FromJsonString

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

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

func (*CreateBackupRequest) ToJsonString

func (r *CreateBackupRequest) ToJsonString() string

type CreateBackupRequestParams

type CreateBackupRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup type. Valid values: `logic` (logic backup), `snapshot` (physical backup)
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Backup database, which is valid when `BackupType` is `logic`.
	BackupDatabases []*string `json:"BackupDatabases,omitnil,omitempty" name:"BackupDatabases"`

	// Backup table, which is valid when `BackupType` is `logic`.
	BackupTables []*DatabaseTables `json:"BackupTables,omitnil,omitempty" name:"BackupTables"`

	// Backup name
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`
}

Predefined struct for user

type CreateBackupResponse

type CreateBackupResponse struct {
	*tchttp.BaseResponse
	Response *CreateBackupResponseParams `json:"Response"`
}

func NewCreateBackupResponse

func NewCreateBackupResponse() (response *CreateBackupResponse)

func (*CreateBackupResponse) FromJsonString

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

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

func (*CreateBackupResponse) ToJsonString

func (r *CreateBackupResponse) ToJsonString() string

type CreateBackupResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterDatabaseRequest

type CreateClusterDatabaseRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`

	// Character set
	CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"`

	// Collation
	CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"`

	// Host permissions of the authorized user
	UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateClusterDatabaseRequest

func NewCreateClusterDatabaseRequest() (request *CreateClusterDatabaseRequest)

func (*CreateClusterDatabaseRequest) FromJsonString

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

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

func (*CreateClusterDatabaseRequest) ToJsonString

func (r *CreateClusterDatabaseRequest) ToJsonString() string

type CreateClusterDatabaseRequestParams

type CreateClusterDatabaseRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`

	// Character set
	CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"`

	// Collation
	CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"`

	// Host permissions of the authorized user
	UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateClusterDatabaseResponse

type CreateClusterDatabaseResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterDatabaseResponseParams `json:"Response"`
}

func NewCreateClusterDatabaseResponse

func NewCreateClusterDatabaseResponse() (response *CreateClusterDatabaseResponse)

func (*CreateClusterDatabaseResponse) FromJsonString

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

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

func (*CreateClusterDatabaseResponse) ToJsonString

func (r *CreateClusterDatabaseResponse) ToJsonString() string

type CreateClusterDatabaseResponseParams

type CreateClusterDatabaseResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClustersRequest

type CreateClustersRequest struct {
	*tchttp.BaseRequest

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

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

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

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Database version. Valid values:
	// <li> Valid values for `MYSQL`: 5.7 and 8.0 </li>
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

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

	// It is required when `DbMode` is set to `NORMAL` or left empty.
	// Number of CPU cores of normal instance
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// It is required when `DbMode` is set to `NORMAL` or left empty.
	// Memory of a non-serverless instance in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance count. valid values: a quantity range from 0 to 16. the default value is 2 (that is, one rw instance + one ro instance). the transmitted n represents 1 rw instance + (n - 1) ro instances (with identical specifications). if a more precise cluster composition collocation is required, please use InstanceInitInfos.
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// This parameter has been deprecated.
	// Storage capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Cluster name, which can contain less than 64 letters, digits, or symbols (-_.).
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Account password, which must contain 8-64 characters in at least three of the following four types: uppercase letters, lowercase letters, digits, and symbols (~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/).
	AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"`

	// Port. Valid range: [0, 65535). Default value: 3306
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Billing mode. `0`: pay-as-you-go; `1`: monthly subscription. Default value: `0`
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Number of purchased clusters. Valid range: [1,50]. Default value: 1
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Rollback type:
	// noneRollback: no rollback;
	// snapRollback: rollback by snapshot;
	// timeRollback: rollback by time point
	RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"`

	// `snapshotId` for snapshot rollback or `queryId` for time point rollback. 0 indicates to determine whether the time point is valid
	RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"`

	// The source cluster ID passed in during rollback to find the source `poolId`
	OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"`

	// Specified time for time point rollback or snapshot time for snapshot rollback
	ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"`

	// This parameter has been deprecated.
	// Specified allowed time range for time point rollback
	ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"`

	// Storage upper limit of normal instance in GB
	// If `DbType` is `MYSQL` and the storage billing mode is monthly subscription, the parameter value can’t exceed the maximum storage corresponding to the CPU and memory specifications.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Purchase duration of monthly subscription plan
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Duration unit of monthly subscription. Valid values: `s`, `d`, `m`, `y`
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// Specifies whether the annual/monthly subscription is auto-renewed. the default value is 0.
	// 0 indicates the default renewal method. 1 means auto-renewal. 2 means no auto-renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically select a voucher. `1`: yes; `0`: no. Default value: `0`
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Number of instances (this parameter has been disused and is retained only for compatibility with existing instances)
	HaCount *int64 `json:"HaCount,omitnil,omitempty" name:"HaCount"`

	// Order source
	OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"`

	// Array of tags to be bound to the created cluster
	ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Database type
	// Valid values when `DbType` is `MYSQL` (default value: `NORMAL`):
	// <li>NORMAL</li>
	// <li>SERVERLESS</li>
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// This parameter is required if `DbMode` is `SERVERLESS`.
	// Minimum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// This parameter is required if `DbMode` is `SERVERLESS`.
	// Maximum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// This parameter specifies whether the cluster will be automatically paused if `DbMode` is `SERVERLESS`. Valid values:
	// <li>yes</li>
	// <li>no</li>
	// Default value: yes
	AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"`

	// This parameter specifies the delay for automatic cluster pause in seconds if `DbMode` is `SERVERLESS`. Value range: [600,691200]
	// Default value: `600`
	AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"`

	// The billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). Default value: `0`.
	// If `DbType` is `MYSQL` and the billing mode of cluster compute is pay-as-you-go (or the `DbMode` is `SERVERLESS`), the billing mode of cluster storage must be pay-as-you-go.
	// Clusters with storage billed in monthly subscription can’t be cloned or rolled back.
	StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Array of alarm policy IDs
	AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"`

	// Array of parameters. Valid values: `character_set_server` (utf8|latin1|gbk|utf8mb4), `lower_case_table_names`. 0: case-sensitive; 1: case-insensitive).
	ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Parameter template ID, which can be obtained by querying parameter template information “DescribeParamTemplates”
	ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"`

	// Multi-AZ address
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`

	// Instance initialization configuration information, which is used to select instances with different specifications when purchasing a cluster.
	InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,omitempty" name:"InstanceInitInfos"`
}

func NewCreateClustersRequest

func NewCreateClustersRequest() (request *CreateClustersRequest)

func (*CreateClustersRequest) FromJsonString

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

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

func (*CreateClustersRequest) ToJsonString

func (r *CreateClustersRequest) ToJsonString() string

type CreateClustersRequestParams

type CreateClustersRequestParams struct {
	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

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

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

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Database version. Valid values:
	// <li> Valid values for `MYSQL`: 5.7 and 8.0 </li>
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

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

	// It is required when `DbMode` is set to `NORMAL` or left empty.
	// Number of CPU cores of normal instance
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// It is required when `DbMode` is set to `NORMAL` or left empty.
	// Memory of a non-serverless instance in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance count. valid values: a quantity range from 0 to 16. the default value is 2 (that is, one rw instance + one ro instance). the transmitted n represents 1 rw instance + (n - 1) ro instances (with identical specifications). if a more precise cluster composition collocation is required, please use InstanceInitInfos.
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// This parameter has been deprecated.
	// Storage capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Cluster name, which can contain less than 64 letters, digits, or symbols (-_.).
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Account password, which must contain 8-64 characters in at least three of the following four types: uppercase letters, lowercase letters, digits, and symbols (~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/).
	AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"`

	// Port. Valid range: [0, 65535). Default value: 3306
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Billing mode. `0`: pay-as-you-go; `1`: monthly subscription. Default value: `0`
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Number of purchased clusters. Valid range: [1,50]. Default value: 1
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Rollback type:
	// noneRollback: no rollback;
	// snapRollback: rollback by snapshot;
	// timeRollback: rollback by time point
	RollbackStrategy *string `json:"RollbackStrategy,omitnil,omitempty" name:"RollbackStrategy"`

	// `snapshotId` for snapshot rollback or `queryId` for time point rollback. 0 indicates to determine whether the time point is valid
	RollbackId *uint64 `json:"RollbackId,omitnil,omitempty" name:"RollbackId"`

	// The source cluster ID passed in during rollback to find the source `poolId`
	OriginalClusterId *string `json:"OriginalClusterId,omitnil,omitempty" name:"OriginalClusterId"`

	// Specified time for time point rollback or snapshot time for snapshot rollback
	ExpectTime *string `json:"ExpectTime,omitnil,omitempty" name:"ExpectTime"`

	// This parameter has been deprecated.
	// Specified allowed time range for time point rollback
	ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitnil,omitempty" name:"ExpectTimeThresh"`

	// Storage upper limit of normal instance in GB
	// If `DbType` is `MYSQL` and the storage billing mode is monthly subscription, the parameter value can’t exceed the maximum storage corresponding to the CPU and memory specifications.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Purchase duration of monthly subscription plan
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Duration unit of monthly subscription. Valid values: `s`, `d`, `m`, `y`
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// Specifies whether the annual/monthly subscription is auto-renewed. the default value is 0.
	// 0 indicates the default renewal method. 1 means auto-renewal. 2 means no auto-renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically select a voucher. `1`: yes; `0`: no. Default value: `0`
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Number of instances (this parameter has been disused and is retained only for compatibility with existing instances)
	HaCount *int64 `json:"HaCount,omitnil,omitempty" name:"HaCount"`

	// Order source
	OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"`

	// Array of tags to be bound to the created cluster
	ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Database type
	// Valid values when `DbType` is `MYSQL` (default value: `NORMAL`):
	// <li>NORMAL</li>
	// <li>SERVERLESS</li>
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// This parameter is required if `DbMode` is `SERVERLESS`.
	// Minimum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// This parameter is required if `DbMode` is `SERVERLESS`.
	// Maximum number of CPU cores. For the value range, see the returned result of `DescribeServerlessInstanceSpecs`.
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// This parameter specifies whether the cluster will be automatically paused if `DbMode` is `SERVERLESS`. Valid values:
	// <li>yes</li>
	// <li>no</li>
	// Default value: yes
	AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"`

	// This parameter specifies the delay for automatic cluster pause in seconds if `DbMode` is `SERVERLESS`. Value range: [600,691200]
	// Default value: `600`
	AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"`

	// The billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). Default value: `0`.
	// If `DbType` is `MYSQL` and the billing mode of cluster compute is pay-as-you-go (or the `DbMode` is `SERVERLESS`), the billing mode of cluster storage must be pay-as-you-go.
	// Clusters with storage billed in monthly subscription can’t be cloned or rolled back.
	StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Array of alarm policy IDs
	AlarmPolicyIds []*string `json:"AlarmPolicyIds,omitnil,omitempty" name:"AlarmPolicyIds"`

	// Array of parameters. Valid values: `character_set_server` (utf8|latin1|gbk|utf8mb4), `lower_case_table_names`. 0: case-sensitive; 1: case-insensitive).
	ClusterParams []*ParamItem `json:"ClusterParams,omitnil,omitempty" name:"ClusterParams"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Parameter template ID, which can be obtained by querying parameter template information “DescribeParamTemplates”
	ParamTemplateId *int64 `json:"ParamTemplateId,omitnil,omitempty" name:"ParamTemplateId"`

	// Multi-AZ address
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`

	// Instance initialization configuration information, which is used to select instances with different specifications when purchasing a cluster.
	InstanceInitInfos []*InstanceInitInfo `json:"InstanceInitInfos,omitnil,omitempty" name:"InstanceInitInfos"`
}

Predefined struct for user

type CreateClustersResponse

type CreateClustersResponse struct {
	*tchttp.BaseResponse
	Response *CreateClustersResponseParams `json:"Response"`
}

func NewCreateClustersResponse

func NewCreateClustersResponse() (response *CreateClustersResponse)

func (*CreateClustersResponse) FromJsonString

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

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

func (*CreateClustersResponse) ToJsonString

func (r *CreateClustersResponse) ToJsonString() string

type CreateClustersResponseParams

type CreateClustersResponseParams struct {
	// Frozen transaction ID.
	TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"`

	// Order ID
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// Resource ID list (this field is no longer maintained. please use the dealNames field and the DescribeResourcesByDealName query API to obtain resource ids.).
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// Cluster ID list. this field is no longer maintained. please use the dealNames field and the DescribeResourcesByDealName query API to get the cluster ID.
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Big order ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateParamTemplateRequest

type CreateParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// MySQL version number
	EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"`

	// Template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// ID of the template to be copied
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Database type. Valid values:  `NORMAL` (default), `SERVERLESS`.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// List of the parameters
	ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`
}

func NewCreateParamTemplateRequest

func NewCreateParamTemplateRequest() (request *CreateParamTemplateRequest)

func (*CreateParamTemplateRequest) FromJsonString

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

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

func (*CreateParamTemplateRequest) ToJsonString

func (r *CreateParamTemplateRequest) ToJsonString() string

type CreateParamTemplateRequestParams

type CreateParamTemplateRequestParams struct {
	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// MySQL version number
	EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"`

	// Template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// ID of the template to be copied
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Database type. Valid values:  `NORMAL` (default), `SERVERLESS`.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// List of the parameters
	ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`
}

Predefined struct for user

type CreateParamTemplateResponse

type CreateParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateParamTemplateResponseParams `json:"Response"`
}

func NewCreateParamTemplateResponse

func NewCreateParamTemplateResponse() (response *CreateParamTemplateResponse)

func (*CreateParamTemplateResponse) FromJsonString

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

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

func (*CreateParamTemplateResponse) ToJsonString

func (r *CreateParamTemplateResponse) ToJsonString() string

type CreateParamTemplateResponseParams

type CreateParamTemplateResponseParams struct {
	// Template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateProxyEndPointRequest

type CreateProxyEndPointRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID, which is the same as that of the cluster by default.
	UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"`

	// VPCe subnet ID, which is the same as that of the cluster by default.
	UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"`

	// Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool threshold in seconds
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// VIP information
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Weight mode.
	// Valid values: `system` (system-assigned), `custom` (custom).
	WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"`

	// Whether to automatically add read-only instance. Valid value: `yes`, `no`.
	AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"`

	// Whether to enable failover
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Consistency type. Valid values:
	// `eventual`, `global`, `session`.
	ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"`

	// Read-write attribute. Valid values:
	// `READWRITE`, `READONLY`.
	RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"`

	// Consistency timeout period
	ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"`

	// Transaction split
	TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"`

	// Connection mode. Valid values:
	// `nearby`, `balance`.
	AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Instance weight
	InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"`
}

func NewCreateProxyEndPointRequest

func NewCreateProxyEndPointRequest() (request *CreateProxyEndPointRequest)

func (*CreateProxyEndPointRequest) FromJsonString

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

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

func (*CreateProxyEndPointRequest) ToJsonString

func (r *CreateProxyEndPointRequest) ToJsonString() string

type CreateProxyEndPointRequestParams

type CreateProxyEndPointRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID, which is the same as that of the cluster by default.
	UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"`

	// VPCe subnet ID, which is the same as that of the cluster by default.
	UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"`

	// Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool threshold in seconds
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// VIP information
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Weight mode.
	// Valid values: `system` (system-assigned), `custom` (custom).
	WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"`

	// Whether to automatically add read-only instance. Valid value: `yes`, `no`.
	AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"`

	// Whether to enable failover
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Consistency type. Valid values:
	// `eventual`, `global`, `session`.
	ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"`

	// Read-write attribute. Valid values:
	// `READWRITE`, `READONLY`.
	RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"`

	// Consistency timeout period
	ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"`

	// Transaction split
	TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"`

	// Connection mode. Valid values:
	// `nearby`, `balance`.
	AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Instance weight
	InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"`
}

Predefined struct for user

type CreateProxyEndPointResponse

type CreateProxyEndPointResponse struct {
	*tchttp.BaseResponse
	Response *CreateProxyEndPointResponseParams `json:"Response"`
}

func NewCreateProxyEndPointResponse

func NewCreateProxyEndPointResponse() (response *CreateProxyEndPointResponse)

func (*CreateProxyEndPointResponse) FromJsonString

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

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

func (*CreateProxyEndPointResponse) ToJsonString

func (r *CreateProxyEndPointResponse) ToJsonString() string

type CreateProxyEndPointResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateProxyRequest

type CreateProxyRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// VPC ID, which is the same as that of the cluster by default.
	UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"`

	// VPC subnet ID, which is the same as that of the cluster by default.
	UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"`

	// Number of nodes in the proxy group
	ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"`

	// Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool threshold in seconds
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Database node information
	ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"`
}

func NewCreateProxyRequest

func NewCreateProxyRequest() (request *CreateProxyRequest)

func (*CreateProxyRequest) FromJsonString

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

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

func (*CreateProxyRequest) ToJsonString

func (r *CreateProxyRequest) ToJsonString() string

type CreateProxyRequestParams

type CreateProxyRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// VPC ID, which is the same as that of the cluster by default.
	UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"`

	// VPC subnet ID, which is the same as that of the cluster by default.
	UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"`

	// Number of nodes in the proxy group
	ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"`

	// Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool threshold in seconds
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`

	// Array of security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Database node information
	ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"`
}

Predefined struct for user

type CreateProxyResponse

type CreateProxyResponse struct {
	*tchttp.BaseResponse
	Response *CreateProxyResponseParams `json:"Response"`
}

func NewCreateProxyResponse

func NewCreateProxyResponse() (response *CreateProxyResponse)

func (*CreateProxyResponse) FromJsonString

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

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

func (*CreateProxyResponse) ToJsonString

func (r *CreateProxyResponse) ToJsonString() string

type CreateProxyResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateResourcePackageRequest

type CreateResourcePackageRequest struct {
	*tchttp.BaseRequest

	// Instance type. currently fixed to cynosdb-serverless.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Resource package region of use: chineseMainland - common in the chinese mainland. overseas - universally applicable in hong kong (china), macao (china), taiwan (china), and overseas.
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack).
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Resource pack edition. Valid values: `base` (basic edition), `common` (general edition), `enterprise` (enterprise edition).
	PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"`

	// Resource pack size. Unit of the compute resource pack: Ten thousand.  Unit of the storage resource pack:  GB
	PackageSpec *float64 `json:"PackageSpec,omitnil,omitempty" name:"PackageSpec"`

	// Validity period of a resource pack in days
	ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"`

	// Number of the resource packs to be purchased
	PackageCount *int64 `json:"PackageCount,omitnil,omitempty" name:"PackageCount"`

	// Resource pack name
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`
}

func NewCreateResourcePackageRequest

func NewCreateResourcePackageRequest() (request *CreateResourcePackageRequest)

func (*CreateResourcePackageRequest) FromJsonString

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

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

func (*CreateResourcePackageRequest) ToJsonString

func (r *CreateResourcePackageRequest) ToJsonString() string

type CreateResourcePackageRequestParams

type CreateResourcePackageRequestParams struct {
	// Instance type. currently fixed to cynosdb-serverless.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Resource package region of use: chineseMainland - common in the chinese mainland. overseas - universally applicable in hong kong (china), macao (china), taiwan (china), and overseas.
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack).
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Resource pack edition. Valid values: `base` (basic edition), `common` (general edition), `enterprise` (enterprise edition).
	PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"`

	// Resource pack size. Unit of the compute resource pack: Ten thousand.  Unit of the storage resource pack:  GB
	PackageSpec *float64 `json:"PackageSpec,omitnil,omitempty" name:"PackageSpec"`

	// Validity period of a resource pack in days
	ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"`

	// Number of the resource packs to be purchased
	PackageCount *int64 `json:"PackageCount,omitnil,omitempty" name:"PackageCount"`

	// Resource pack name
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`
}

Predefined struct for user

type CreateResourcePackageResponse

type CreateResourcePackageResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourcePackageResponseParams `json:"Response"`
}

func NewCreateResourcePackageResponse

func NewCreateResourcePackageResponse() (response *CreateResourcePackageResponse)

func (*CreateResourcePackageResponse) FromJsonString

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

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

func (*CreateResourcePackageResponse) ToJsonString

func (r *CreateResourcePackageResponse) ToJsonString() string

type CreateResourcePackageResponseParams

type CreateResourcePackageResponseParams struct {
	// Big order number
	BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"`

	// Each item has only one `dealName`, through which you need to ensure the idempotency of the delivery API.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CynosdbCluster

type CynosdbCluster struct {
	// Cluster status. Valid values are as follows:
	// creating
	// running
	// isolating
	// isolated
	// activating (removing isolation)
	// offlining (deactivating)
	// offlined (deactivated)
	// deleting
	// deleted
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

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

	// Database version
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of instances
	InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`

	// User UIN
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// Engine type.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// User appid.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Cluster status description
	StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"`

	// Cluster Creation Time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Payment mode. 0: pay-as-you-go; 1: monthly subscription.
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Expiration time.
	PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"`

	// Cluster read/write vip.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Cluster read/write vport.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Project ID
	ProjectID *int64 `json:"ProjectID,omitnil,omitempty" name:"ProjectID"`

	// Specifies the virtual private cloud ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Specifies the subnet ID.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Specifies the cynos kernel version.
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Specifies the storage capacity.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Renewal Flag
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Task being processed.
	ProcessingTask *string `json:"ProcessingTask,omitnil,omitempty" name:"ProcessingTask"`

	// Task array of the cluster.
	Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// Array of tags bound to the cluster.
	ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Db type (NORMAL, SERVERLESS).
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// Specifies the status of the SERVERLESS cluster when the Db type is SERVERLESS. valid values:.
	// resume
	// pause
	ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"`

	// Cluster prepaid storage size.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Cluster storage ID for prepaid storage, specifies the storage ID used for prepaid storage modification.
	StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"`

	// Cluster storage payment mode. 0: pay-as-you-go; 1: monthly subscription.
	StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// Minimum storage value corresponding to cluster computing specifications.
	MinStorageSize *int64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"`

	// The maximum storage value corresponding to the cluster computing specification.
	MaxStorageSize *int64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"`

	// Specifies the cluster network information.
	NetAddrs []*NetAddr `json:"NetAddrs,omitnil,omitempty" name:"NetAddrs"`

	// Physical availability zone.
	PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"`

	// Primary AZ.
	MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"`

	// Whether there is an availability zone.
	HasSlaveZone *string `json:"HasSlaveZone,omitnil,omitempty" name:"HasSlaveZone"`

	// Secondary AZ.
	SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"`

	// Business type.
	BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"`

	// Whether to freeze.
	IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"`

	// Order Source
	OrderSource *string `json:"OrderSource,omitnil,omitempty" name:"OrderSource"`

	// Capacity.
	Ability *Ability `json:"Ability,omitnil,omitempty" name:"Ability"`

	// Specifies the information of the resource package bound to the instance (only the storage resource package is returned here, that is, packageType=DISK).
	ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"`
}

type CynosdbClusterDetail

type CynosdbClusterDetail struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

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

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Physical availability zone.
	PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"`

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

	// Status description
	StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"`

	// Serverless cluster status when the database type is `SERVERLESS`. Valid values:
	// resume
	// resuming
	// pause
	// pausing
	ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"`

	// Storage Id.
	StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"`

	// Storage size in gb.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Maximum storage specification, in gb.
	MaxStorageSize *int64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"`

	// Specifies the minimum storage specification, in gb.
	MinStorageSize *int64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"`

	// Storage billing type. 1 indicates monthly subscription, and 0 indicates pay-as-you-go.
	StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// VPC name
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

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

	// Subnet name
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

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

	// Character set
	Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Database type
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Db type: <li>NORMAL</li> <li>SERVERLESS</li>.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// Database version
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

	// Specifies the maximum storage space.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Used capacity
	UsedStorage *int64 `json:"UsedStorage,omitnil,omitempty" name:"UsedStorage"`

	// VIP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// vport
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// VIP and vport of the read-only instance in a cluster
	RoAddr []*Addr `json:"RoAddr,omitnil,omitempty" name:"RoAddr"`

	// Functions supported by the cluster.
	Ability *Ability `json:"Ability,omitnil,omitempty" name:"Ability"`

	// Specifies the cynos version.
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Business type.
	BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"`

	// Whether there is an availability zone.
	HasSlaveZone *string `json:"HasSlaveZone,omitnil,omitempty" name:"HasSlaveZone"`

	// Whether to freeze.
	IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"`

	// Task list.
	Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// Primary AZ.
	MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"`

	// Availability zone list.
	SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"`

	// Instance information
	InstanceSet []*ClusterInstanceDetail `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

	// Billing mode
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Expiration time
	PeriodEndTime *string `json:"PeriodEndTime,omitnil,omitempty" name:"PeriodEndTime"`

	// Project ID
	ProjectID *int64 `json:"ProjectID,omitnil,omitempty" name:"ProjectID"`

	// Array of tags bound to instance
	ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Proxy status.
	ProxyStatus *string `json:"ProxyStatus,omitnil,omitempty" name:"ProxyStatus"`

	// binlog switch. valid values: ON, OFF.
	LogBin *string `json:"LogBin,omitnil,omitempty" name:"LogBin"`

	// Specifies whether to skip the transaction.
	IsSkipTrade *string `json:"IsSkipTrade,omitnil,omitempty" name:"IsSkipTrade"`

	// PITR type: valid values: normal, redo_pitr.
	PitrType *string `json:"PitrType,omitnil,omitempty" name:"PitrType"`

	// Whether to enable password complexity.
	IsOpenPasswordComplexity *string `json:"IsOpenPasswordComplexity,omitnil,omitempty" name:"IsOpenPasswordComplexity"`

	// Network type.
	NetworkStatus *string `json:"NetworkStatus,omitnil,omitempty" name:"NetworkStatus"`

	// The resource package information that is bound to the cluster.
	ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"`

	// Auto-Renewal flag. 1 indicates auto-renewal. 0 indicates non-renewal upon expiration.
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Specifies the node network type.
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// Secondary availability zone property.
	SlaveZoneAttr []*SlaveZoneAttrItem `json:"SlaveZoneAttr,omitnil,omitempty" name:"SlaveZoneAttr"`

	// Version Tag.
	CynosVersionTag *string `json:"CynosVersionTag,omitnil,omitempty" name:"CynosVersionTag"`
}

type CynosdbErrorLogItem

type CynosdbErrorLogItem struct {
	// Log timestamp.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Log level.
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// Log content.
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

type CynosdbInstance

type CynosdbInstance struct {
	// User `Uin`
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// User `AppId`
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

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

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

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

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

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance status
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance status description
	StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"`

	// Instance type, which is used to indicate whether it is a serverless instance.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// Database type
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Database version
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Instance type
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Current instance role
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

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

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

	// Private IP of instance
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Private port of instance
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Billing mode
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

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

	// Termination deadline
	DestroyDeadlineText *string `json:"DestroyDeadlineText,omitnil,omitempty" name:"DestroyDeadlineText"`

	// Isolation time
	IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"`

	// Network type
	NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Public domain name
	WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"`

	// Public IP
	WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"`

	// Public port
	WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"`

	// Public network status
	WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"`

	// Instance termination time
	DestroyTime *string `json:"DestroyTime,omitnil,omitempty" name:"DestroyTime"`

	// TDSQL-C kernel version
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Task in progress
	ProcessingTask *string `json:"ProcessingTask,omitnil,omitempty" name:"ProcessingTask"`

	// Renewal flag
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Minimum number of CPU cores for serverless instance
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// Maximum number of CPU cores for serverless instance
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// Serverless instance status. Valid values:
	// resume
	// pause
	ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"`

	// Prepayment storage Id.
	StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"`

	// Storage billing mode
	StoragePayMode *int64 `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// Physical zone
	PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"`

	// Business type.
	BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"`

	// Task
	Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// Whether to freeze.
	IsFreeze *string `json:"IsFreeze,omitnil,omitempty" name:"IsFreeze"`

	// The resource tag
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Primary AZ.
	MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"`

	// Replica AZ
	// Note: This field may return null, indicating that no valid value can be obtained.
	SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"`

	// Network information of the instance.
	InstanceNetInfo []*InstanceNetInfo `json:"InstanceNetInfo,omitnil,omitempty" name:"InstanceNetInfo"`

	// Information of the resource pack bound to an instance when `packageType` is `CCU`. Note: This field may return null, indicating that no valid values can be obtained.
	ResourcePackages []*ResourcePackage `json:"ResourcePackages,omitnil,omitempty" name:"ResourcePackages"`

	// Specifies the instance index form. valid values include mixedRowColumn (row and column hybrid storage) and onlyRowIndex (row-only storage).
	InstanceIndexMode *string `json:"InstanceIndexMode,omitnil,omitempty" name:"InstanceIndexMode"`

	// Supported capabilities of the existing instance.
	InstanceAbility *InstanceAbility `json:"InstanceAbility,omitnil,omitempty" name:"InstanceAbility"`

	// Instance machine type.
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// Specifies the instance storage type.
	InstanceStorageType *string `json:"InstanceStorageType,omitnil,omitempty" name:"InstanceStorageType"`

	// Unknown field.
	CynosVersionTag *string `json:"CynosVersionTag,omitnil,omitempty" name:"CynosVersionTag"`

	// Specifies the node information of libradb.
	NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"`
}

type CynosdbInstanceDetail

type CynosdbInstanceDetail struct {
	// User `Uin`
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// User `AppId`
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

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

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

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

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

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance status
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance status description
	StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"`

	// Serverless instance status. Valid values:
	// resume
	// pause
	ServerlessStatus *string `json:"ServerlessStatus,omitnil,omitempty" name:"ServerlessStatus"`

	// Database type
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Database version
	DbVersion *string `json:"DbVersion,omitnil,omitempty" name:"DbVersion"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Instance type
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Current instance role
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Billing mode
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

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

	// Network type
	NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"`

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

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

	// Private IP of instance
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Private port of instance
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Public domain name of instance
	WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"`

	// Character set
	Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"`

	// TDSQL-C kernel version
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Renewal flag
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// The minimum number of CPU cores for a serverless instance
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// The maximum number of CPU cores for a serverless instance
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// Db type: <li>NORMAL</li> <li>SERVERLESS</li>.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`
}

type CynosdbInstanceGrp

type CynosdbInstanceGrp struct {
	// User `appId`
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Creation time
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Deletion time
	DeletedTime *string `json:"DeletedTime,omitnil,omitempty" name:"DeletedTime"`

	// Instance group ID
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`

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

	// Instance group type. ha: HA group; ro: RO group
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Update time
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`

	// Private IP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Private port
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Public domain name
	WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"`

	// Public IP
	WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"`

	// Public port
	WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"`

	// Public network status
	WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"`

	// Information of instances contained in instance group
	InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

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

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

	// Information of the old IP
	// Note: This field may return null, indicating that no valid values can be obtained.
	OldAddrInfo *OldAddrInfo `json:"OldAddrInfo,omitnil,omitempty" name:"OldAddrInfo"`

	// Task in progress
	ProcessingTasks []*string `json:"ProcessingTasks,omitnil,omitempty" name:"ProcessingTasks"`

	// Task list
	Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// biz_net_service table ID
	NetServiceId *int64 `json:"NetServiceId,omitnil,omitempty" name:"NetServiceId"`
}

type DatabasePrivileges

type DatabasePrivileges struct {
	// Database.
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Permission list
	Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

type DatabaseTables

type DatabaseTables struct {
	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Table name list.
	Tables []*string `json:"Tables,omitnil,omitempty" name:"Tables"`
}

type DbInfo

type DbInfo struct {
	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`

	// Character set
	CharacterSet *string `json:"CharacterSet,omitnil,omitempty" name:"CharacterSet"`

	// Database status
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Collation
	CollateRule *string `json:"CollateRule,omitnil,omitempty" name:"CollateRule"`

	// Specifies the remark of the database.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// User permission
	UserHostPrivileges []*UserHostPrivilege `json:"UserHostPrivileges,omitnil,omitempty" name:"UserHostPrivileges"`

	// Database ID
	DbId *int64 `json:"DbId,omitnil,omitempty" name:"DbId"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// User appid.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// User UIN
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

type DeleteAccountsRequest

type DeleteAccountsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Accounts in array, which contains `account` and `host`.
	Accounts []*InputAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewDeleteAccountsRequest

func NewDeleteAccountsRequest() (request *DeleteAccountsRequest)

func (*DeleteAccountsRequest) FromJsonString

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

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

func (*DeleteAccountsRequest) ToJsonString

func (r *DeleteAccountsRequest) ToJsonString() string

type DeleteAccountsRequestParams

type DeleteAccountsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Accounts in array, which contains `account` and `host`.
	Accounts []*InputAccount `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type DeleteAccountsResponse

type DeleteAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAccountsResponseParams `json:"Response"`
}

func NewDeleteAccountsResponse

func NewDeleteAccountsResponse() (response *DeleteAccountsResponse)

func (*DeleteAccountsResponse) FromJsonString

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

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

func (*DeleteAccountsResponse) ToJsonString

func (r *DeleteAccountsResponse) ToJsonString() string

type DeleteAccountsResponseParams

type DeleteAccountsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAuditRuleTemplatesRequest

type DeleteAuditRuleTemplatesRequest struct {
	*tchttp.BaseRequest

	// Audit rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

func NewDeleteAuditRuleTemplatesRequest

func NewDeleteAuditRuleTemplatesRequest() (request *DeleteAuditRuleTemplatesRequest)

func (*DeleteAuditRuleTemplatesRequest) FromJsonString

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

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

func (*DeleteAuditRuleTemplatesRequest) ToJsonString

func (r *DeleteAuditRuleTemplatesRequest) ToJsonString() string

type DeleteAuditRuleTemplatesRequestParams

type DeleteAuditRuleTemplatesRequestParams struct {
	// Audit rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

Predefined struct for user

type DeleteAuditRuleTemplatesResponse

type DeleteAuditRuleTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAuditRuleTemplatesResponseParams `json:"Response"`
}

func NewDeleteAuditRuleTemplatesResponse

func NewDeleteAuditRuleTemplatesResponse() (response *DeleteAuditRuleTemplatesResponse)

func (*DeleteAuditRuleTemplatesResponse) FromJsonString

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

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

func (*DeleteAuditRuleTemplatesResponse) ToJsonString

func (r *DeleteAuditRuleTemplatesResponse) ToJsonString() string

type DeleteAuditRuleTemplatesResponseParams

type DeleteAuditRuleTemplatesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBackupRequest

type DeleteBackupRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup file ID. This field is used by legacy versions and thus not recommended.
	SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"`

	// Backup file ID. This field is recommended.
	BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"`
}

func NewDeleteBackupRequest

func NewDeleteBackupRequest() (request *DeleteBackupRequest)

func (*DeleteBackupRequest) FromJsonString

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

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

func (*DeleteBackupRequest) ToJsonString

func (r *DeleteBackupRequest) ToJsonString() string

type DeleteBackupRequestParams

type DeleteBackupRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup file ID. This field is used by legacy versions and thus not recommended.
	SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"`

	// Backup file ID. This field is recommended.
	BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"`
}

Predefined struct for user

type DeleteBackupResponse

type DeleteBackupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBackupResponseParams `json:"Response"`
}

func NewDeleteBackupResponse

func NewDeleteBackupResponse() (response *DeleteBackupResponse)

func (*DeleteBackupResponse) FromJsonString

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

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

func (*DeleteBackupResponse) ToJsonString

func (r *DeleteBackupResponse) ToJsonString() string

type DeleteBackupResponseParams

type DeleteBackupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterDatabaseRequest

type DeleteClusterDatabaseRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"`
}

func NewDeleteClusterDatabaseRequest

func NewDeleteClusterDatabaseRequest() (request *DeleteClusterDatabaseRequest)

func (*DeleteClusterDatabaseRequest) FromJsonString

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

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

func (*DeleteClusterDatabaseRequest) ToJsonString

func (r *DeleteClusterDatabaseRequest) ToJsonString() string

type DeleteClusterDatabaseRequestParams

type DeleteClusterDatabaseRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"`
}

Predefined struct for user

type DeleteClusterDatabaseResponse

type DeleteClusterDatabaseResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterDatabaseResponseParams `json:"Response"`
}

func NewDeleteClusterDatabaseResponse

func NewDeleteClusterDatabaseResponse() (response *DeleteClusterDatabaseResponse)

func (*DeleteClusterDatabaseResponse) FromJsonString

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

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

func (*DeleteClusterDatabaseResponse) ToJsonString

func (r *DeleteClusterDatabaseResponse) ToJsonString() string

type DeleteClusterDatabaseResponseParams

type DeleteClusterDatabaseResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteParamTemplateRequest

type DeleteParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDeleteParamTemplateRequest

func NewDeleteParamTemplateRequest() (request *DeleteParamTemplateRequest)

func (*DeleteParamTemplateRequest) FromJsonString

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

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

func (*DeleteParamTemplateRequest) ToJsonString

func (r *DeleteParamTemplateRequest) ToJsonString() string

type DeleteParamTemplateRequestParams

type DeleteParamTemplateRequestParams struct {
	// Parameter template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DeleteParamTemplateResponse

type DeleteParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteParamTemplateResponseParams `json:"Response"`
}

func NewDeleteParamTemplateResponse

func NewDeleteParamTemplateResponse() (response *DeleteParamTemplateResponse)

func (*DeleteParamTemplateResponse) FromJsonString

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

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

func (*DeleteParamTemplateResponse) ToJsonString

func (r *DeleteParamTemplateResponse) ToJsonString() string

type DeleteParamTemplateResponseParams

type DeleteParamTemplateResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountPrivilegesRequest

type DescribeAccountPrivilegesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// When the database name is “*”, the value specified in `Type` and `TableName` will be ignored, indicating that the user's global permissions are being modified.
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Object type in a specified database. Valid values: `table`, `*`.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The database name can be specified when `Type` is 'table'.
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`
}

func NewDescribeAccountPrivilegesRequest

func NewDescribeAccountPrivilegesRequest() (request *DescribeAccountPrivilegesRequest)

func (*DescribeAccountPrivilegesRequest) FromJsonString

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

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

func (*DescribeAccountPrivilegesRequest) ToJsonString

func (r *DescribeAccountPrivilegesRequest) ToJsonString() string

type DescribeAccountPrivilegesRequestParams

type DescribeAccountPrivilegesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// When the database name is “*”, the value specified in `Type` and `TableName` will be ignored, indicating that the user's global permissions are being modified.
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Object type in a specified database. Valid values: `table`, `*`.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The database name can be specified when `Type` is 'table'.
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`
}

Predefined struct for user

type DescribeAccountPrivilegesResponse

type DescribeAccountPrivilegesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountPrivilegesResponseParams `json:"Response"`
}

func NewDescribeAccountPrivilegesResponse

func NewDescribeAccountPrivilegesResponse() (response *DescribeAccountPrivilegesResponse)

func (*DescribeAccountPrivilegesResponse) FromJsonString

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

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

func (*DescribeAccountPrivilegesResponse) ToJsonString

func (r *DescribeAccountPrivilegesResponse) ToJsonString() string

type DescribeAccountPrivilegesResponseParams

type DescribeAccountPrivilegesResponseParams struct {
	// The list of permissions, such as  ["select","update","delete","create","drop","references","index","alter","show_db","create_tmp_table","lock_tables","execute","create_view","show_view","create_routine","alter_routine","event","trigger"]
	Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of accounts to be filtered
	AccountNames []*string `json:"AccountNames,omitnil,omitempty" name:"AccountNames"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// List of accounts to be filtered
	Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"`

	// Maximum entries returned per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Keywords for fuzzy search (match `AccountName` and `AccountHost` at the same time), which supports regex. The union results will be returned.
	AccountRegular *string `json:"AccountRegular,omitnil,omitempty" name:"AccountRegular"`
}

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 {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of accounts to be filtered
	AccountNames []*string `json:"AccountNames,omitnil,omitempty" name:"AccountNames"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// List of accounts to be filtered
	Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"`

	// Maximum entries returned per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Keywords for fuzzy search (match `AccountName` and `AccountHost` at the same time), which supports regex. The union results will be returned.
	AccountRegular *string `json:"AccountRegular,omitnil,omitempty" name:"AccountRegular"`
}

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 {
	// Database account list.
	AccountSet []*Account `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// Total number of accounts
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAuditRuleTemplatesRequest

type DescribeAuditRuleTemplatesRequest struct {
	*tchttp.BaseRequest

	// Rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`

	// Rule template name
	RuleTemplateNames []*string `json:"RuleTemplateNames,omitnil,omitempty" name:"RuleTemplateNames"`

	// Number of results returned per request. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: `0`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeAuditRuleTemplatesRequest

func NewDescribeAuditRuleTemplatesRequest() (request *DescribeAuditRuleTemplatesRequest)

func (*DescribeAuditRuleTemplatesRequest) FromJsonString

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

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

func (*DescribeAuditRuleTemplatesRequest) ToJsonString

func (r *DescribeAuditRuleTemplatesRequest) ToJsonString() string

type DescribeAuditRuleTemplatesRequestParams

type DescribeAuditRuleTemplatesRequestParams struct {
	// Rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`

	// Rule template name
	RuleTemplateNames []*string `json:"RuleTemplateNames,omitnil,omitempty" name:"RuleTemplateNames"`

	// Number of results returned per request. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: `0`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeAuditRuleTemplatesResponse

type DescribeAuditRuleTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAuditRuleTemplatesResponseParams `json:"Response"`
}

func NewDescribeAuditRuleTemplatesResponse

func NewDescribeAuditRuleTemplatesResponse() (response *DescribeAuditRuleTemplatesResponse)

func (*DescribeAuditRuleTemplatesResponse) FromJsonString

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

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

func (*DescribeAuditRuleTemplatesResponse) ToJsonString

func (r *DescribeAuditRuleTemplatesResponse) ToJsonString() string

type DescribeAuditRuleTemplatesResponseParams

type DescribeAuditRuleTemplatesResponseParams struct {
	// Number of eligible instances
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Rule template detail list.
	Items []*AuditRuleTemplateInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAuditRuleWithInstanceIdsRequest

type DescribeAuditRuleWithInstanceIdsRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Currently, only one single instance can be queried.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDescribeAuditRuleWithInstanceIdsRequest

func NewDescribeAuditRuleWithInstanceIdsRequest() (request *DescribeAuditRuleWithInstanceIdsRequest)

func (*DescribeAuditRuleWithInstanceIdsRequest) FromJsonString

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

func (*DescribeAuditRuleWithInstanceIdsRequest) ToJsonString

type DescribeAuditRuleWithInstanceIdsRequestParams

type DescribeAuditRuleWithInstanceIdsRequestParams struct {
	// Instance ID. Currently, only one single instance can be queried.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeAuditRuleWithInstanceIdsResponse

type DescribeAuditRuleWithInstanceIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAuditRuleWithInstanceIdsResponseParams `json:"Response"`
}

func NewDescribeAuditRuleWithInstanceIdsResponse

func NewDescribeAuditRuleWithInstanceIdsResponse() (response *DescribeAuditRuleWithInstanceIdsResponse)

func (*DescribeAuditRuleWithInstanceIdsResponse) FromJsonString

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

func (*DescribeAuditRuleWithInstanceIdsResponse) ToJsonString

type DescribeAuditRuleWithInstanceIdsResponseParams

type DescribeAuditRuleWithInstanceIdsResponseParams struct {
	// None
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Audit rule information of the instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*InstanceAuditRule `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupConfigRequest

type DescribeBackupConfigRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeBackupConfigRequest

func NewDescribeBackupConfigRequest() (request *DescribeBackupConfigRequest)

func (*DescribeBackupConfigRequest) FromJsonString

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

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

func (*DescribeBackupConfigRequest) ToJsonString

func (r *DescribeBackupConfigRequest) ToJsonString() string

type DescribeBackupConfigRequestParams

type DescribeBackupConfigRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeBackupConfigResponse

type DescribeBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupConfigResponseParams `json:"Response"`
}

func NewDescribeBackupConfigResponse

func NewDescribeBackupConfigResponse() (response *DescribeBackupConfigResponse)

func (*DescribeBackupConfigResponse) FromJsonString

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

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

func (*DescribeBackupConfigResponse) ToJsonString

func (r *DescribeBackupConfigResponse) ToJsonString() string

type DescribeBackupConfigResponseParams

type DescribeBackupConfigResponseParams struct {
	// Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively
	BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"`

	// Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively
	BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"`

	// Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800
	ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"`

	// Backup frequency. an array with a length of 7, indicating the backup methods corresponding to monday to sunday respectively. full represents full backup, and increment represents incremental backup.
	BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"`

	// Backup method. specifies the method of backup. valid values: logic (indicates logical backup), snapshot (indicates snapshot backup).
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Cross-Regional logical backup configuration modification time.
	LogicCrossRegionsConfigUpdateTime *string `json:"LogicCrossRegionsConfigUpdateTime,omitnil,omitempty" name:"LogicCrossRegionsConfigUpdateTime"`

	// Automatic logical backup configuration.
	LogicBackupConfig *LogicBackupConfigInfo `json:"LogicBackupConfig,omitnil,omitempty" name:"LogicBackupConfig"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadRestrictionRequest

type DescribeBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeBackupDownloadRestrictionRequest

func NewDescribeBackupDownloadRestrictionRequest() (request *DescribeBackupDownloadRestrictionRequest)

func (*DescribeBackupDownloadRestrictionRequest) FromJsonString

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

func (*DescribeBackupDownloadRestrictionRequest) ToJsonString

type DescribeBackupDownloadRestrictionRequestParams

type DescribeBackupDownloadRestrictionRequestParams struct {
	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeBackupDownloadRestrictionResponse

type DescribeBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadRestrictionResponse

func NewDescribeBackupDownloadRestrictionResponse() (response *DescribeBackupDownloadRestrictionResponse)

func (*DescribeBackupDownloadRestrictionResponse) FromJsonString

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

func (*DescribeBackupDownloadRestrictionResponse) ToJsonString

type DescribeBackupDownloadRestrictionResponseParams

type DescribeBackupDownloadRestrictionResponseParams struct {
	// Cluster backup download limit.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupLimitClusterRestrictions []*BackupLimitClusterRestriction `json:"BackupLimitClusterRestrictions,omitnil,omitempty" name:"BackupLimitClusterRestrictions"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadUrlRequest

type DescribeBackupDownloadUrlRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup ID
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup download source restriction condition.
	DownloadRestriction *BackupLimitRestriction `json:"DownloadRestriction,omitnil,omitempty" name:"DownloadRestriction"`
}

func NewDescribeBackupDownloadUrlRequest

func NewDescribeBackupDownloadUrlRequest() (request *DescribeBackupDownloadUrlRequest)

func (*DescribeBackupDownloadUrlRequest) FromJsonString

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

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

func (*DescribeBackupDownloadUrlRequest) ToJsonString

func (r *DescribeBackupDownloadUrlRequest) ToJsonString() string

type DescribeBackupDownloadUrlRequestParams

type DescribeBackupDownloadUrlRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup ID
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup download source restriction condition.
	DownloadRestriction *BackupLimitRestriction `json:"DownloadRestriction,omitnil,omitempty" name:"DownloadRestriction"`
}

Predefined struct for user

type DescribeBackupDownloadUrlResponse

type DescribeBackupDownloadUrlResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadUrlResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadUrlResponse

func NewDescribeBackupDownloadUrlResponse() (response *DescribeBackupDownloadUrlResponse)

func (*DescribeBackupDownloadUrlResponse) FromJsonString

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

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

func (*DescribeBackupDownloadUrlResponse) ToJsonString

func (r *DescribeBackupDownloadUrlResponse) ToJsonString() string

type DescribeBackupDownloadUrlResponseParams

type DescribeBackupDownloadUrlResponseParams struct {
	// Backup download address
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadUserRestrictionRequest

type DescribeBackupDownloadUserRestrictionRequest struct {
	*tchttp.BaseRequest

	// Pagination size
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Specifies whether to query only user-level download limits. true - yes, false - no.
	OnlyUserRestriction *bool `json:"OnlyUserRestriction,omitnil,omitempty" name:"OnlyUserRestriction"`
}

func NewDescribeBackupDownloadUserRestrictionRequest

func NewDescribeBackupDownloadUserRestrictionRequest() (request *DescribeBackupDownloadUserRestrictionRequest)

func (*DescribeBackupDownloadUserRestrictionRequest) FromJsonString

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

func (*DescribeBackupDownloadUserRestrictionRequest) ToJsonString

type DescribeBackupDownloadUserRestrictionRequestParams

type DescribeBackupDownloadUserRestrictionRequestParams struct {
	// Pagination size
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Specifies whether to query only user-level download limits. true - yes, false - no.
	OnlyUserRestriction *bool `json:"OnlyUserRestriction,omitnil,omitempty" name:"OnlyUserRestriction"`
}

Predefined struct for user

type DescribeBackupDownloadUserRestrictionResponse

type DescribeBackupDownloadUserRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadUserRestrictionResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadUserRestrictionResponse

func NewDescribeBackupDownloadUserRestrictionResponse() (response *DescribeBackupDownloadUserRestrictionResponse)

func (*DescribeBackupDownloadUserRestrictionResponse) FromJsonString

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

func (*DescribeBackupDownloadUserRestrictionResponse) ToJsonString

type DescribeBackupDownloadUserRestrictionResponseParams

type DescribeBackupDownloadUserRestrictionResponseParams struct {
	// Cluster backup download limit information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupLimitClusterRestrictions []*BackupLimitClusterRestriction `json:"BackupLimitClusterRestrictions,omitnil,omitempty" name:"BackupLimitClusterRestrictions"`

	// Total number of entries
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupListRequest

type DescribeBackupListRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The number of results to be returned. Value range: (0,100]
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Value range: [0,INF)
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Backup ID
	BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"`

	// Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup).
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Back mode. Valid values: `auto` (automatic backup), `manual` (manual backup)
	BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"`

	SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"`

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

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

	FileNames []*string `json:"FileNames,omitnil,omitempty" name:"FileNames"`

	// Backup alias, which supports fuzzy query.
	BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"`

	// ID list of the snapshot backup
	SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"`
}

func NewDescribeBackupListRequest

func NewDescribeBackupListRequest() (request *DescribeBackupListRequest)

func (*DescribeBackupListRequest) FromJsonString

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

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

func (*DescribeBackupListRequest) ToJsonString

func (r *DescribeBackupListRequest) ToJsonString() string

type DescribeBackupListRequestParams

type DescribeBackupListRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The number of results to be returned. Value range: (0,100]
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Value range: [0,INF)
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Backup ID
	BackupIds []*int64 `json:"BackupIds,omitnil,omitempty" name:"BackupIds"`

	// Backup type. Valid values: `snapshot` (snapshot backup), `logic` (logic backup).
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Back mode. Valid values: `auto` (automatic backup), `manual` (manual backup)
	BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"`

	SnapShotType *string `json:"SnapShotType,omitnil,omitempty" name:"SnapShotType"`

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

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

	FileNames []*string `json:"FileNames,omitnil,omitempty" name:"FileNames"`

	// Backup alias, which supports fuzzy query.
	BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"`

	// ID list of the snapshot backup
	SnapshotIdList []*int64 `json:"SnapshotIdList,omitnil,omitempty" name:"SnapshotIdList"`
}

Predefined struct for user

type DescribeBackupListResponse

type DescribeBackupListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupListResponseParams `json:"Response"`
}

func NewDescribeBackupListResponse

func NewDescribeBackupListResponse() (response *DescribeBackupListResponse)

func (*DescribeBackupListResponse) FromJsonString

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

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

func (*DescribeBackupListResponse) ToJsonString

func (r *DescribeBackupListResponse) ToJsonString() string

type DescribeBackupListResponseParams

type DescribeBackupListResponseParams struct {
	// Total number of backup files
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Backup file list
	BackupList []*BackupFileInfo `json:"BackupList,omitnil,omitempty" name:"BackupList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBinlogConfigRequest

type DescribeBinlogConfigRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeBinlogConfigRequest

func NewDescribeBinlogConfigRequest() (request *DescribeBinlogConfigRequest)

func (*DescribeBinlogConfigRequest) FromJsonString

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

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

func (*DescribeBinlogConfigRequest) ToJsonString

func (r *DescribeBinlogConfigRequest) ToJsonString() string

type DescribeBinlogConfigRequestParams

type DescribeBinlogConfigRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeBinlogConfigResponse

type DescribeBinlogConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBinlogConfigResponseParams `json:"Response"`
}

func NewDescribeBinlogConfigResponse

func NewDescribeBinlogConfigResponse() (response *DescribeBinlogConfigResponse)

func (*DescribeBinlogConfigResponse) FromJsonString

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

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

func (*DescribeBinlogConfigResponse) ToJsonString

func (r *DescribeBinlogConfigResponse) ToJsonString() string

type DescribeBinlogConfigResponseParams

type DescribeBinlogConfigResponseParams struct {
	// Configuration update time for cross-regional Binlog.
	BinlogCrossRegionsConfigUpdateTime *string `json:"BinlogCrossRegionsConfigUpdateTime,omitnil,omitempty" name:"BinlogCrossRegionsConfigUpdateTime"`

	// Specifies the Binlog configuration message.
	BinlogConfig *BinlogConfigInfo `json:"BinlogConfig,omitnil,omitempty" name:"BinlogConfig"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBinlogDownloadUrlRequest

type DescribeBinlogDownloadUrlRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Binlog file ID
	BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"`

	// Backup download source restriction condition.
	DownloadRestriction *BackupLimitRestriction `json:"DownloadRestriction,omitnil,omitempty" name:"DownloadRestriction"`
}

func NewDescribeBinlogDownloadUrlRequest

func NewDescribeBinlogDownloadUrlRequest() (request *DescribeBinlogDownloadUrlRequest)

func (*DescribeBinlogDownloadUrlRequest) FromJsonString

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

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

func (*DescribeBinlogDownloadUrlRequest) ToJsonString

func (r *DescribeBinlogDownloadUrlRequest) ToJsonString() string

type DescribeBinlogDownloadUrlRequestParams

type DescribeBinlogDownloadUrlRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Binlog file ID
	BinlogId *int64 `json:"BinlogId,omitnil,omitempty" name:"BinlogId"`

	// Backup download source restriction condition.
	DownloadRestriction *BackupLimitRestriction `json:"DownloadRestriction,omitnil,omitempty" name:"DownloadRestriction"`
}

Predefined struct for user

type DescribeBinlogDownloadUrlResponse

type DescribeBinlogDownloadUrlResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBinlogDownloadUrlResponseParams `json:"Response"`
}

func NewDescribeBinlogDownloadUrlResponse

func NewDescribeBinlogDownloadUrlResponse() (response *DescribeBinlogDownloadUrlResponse)

func (*DescribeBinlogDownloadUrlResponse) FromJsonString

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

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

func (*DescribeBinlogDownloadUrlResponse) ToJsonString

func (r *DescribeBinlogDownloadUrlResponse) ToJsonString() string

type DescribeBinlogDownloadUrlResponseParams

type DescribeBinlogDownloadUrlResponseParams struct {
	// Download address
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBinlogSaveDaysRequest

type DescribeBinlogSaveDaysRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeBinlogSaveDaysRequest

func NewDescribeBinlogSaveDaysRequest() (request *DescribeBinlogSaveDaysRequest)

func (*DescribeBinlogSaveDaysRequest) FromJsonString

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

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

func (*DescribeBinlogSaveDaysRequest) ToJsonString

func (r *DescribeBinlogSaveDaysRequest) ToJsonString() string

type DescribeBinlogSaveDaysRequestParams

type DescribeBinlogSaveDaysRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeBinlogSaveDaysResponse

type DescribeBinlogSaveDaysResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBinlogSaveDaysResponseParams `json:"Response"`
}

func NewDescribeBinlogSaveDaysResponse

func NewDescribeBinlogSaveDaysResponse() (response *DescribeBinlogSaveDaysResponse)

func (*DescribeBinlogSaveDaysResponse) FromJsonString

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

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

func (*DescribeBinlogSaveDaysResponse) ToJsonString

func (r *DescribeBinlogSaveDaysResponse) ToJsonString() string

type DescribeBinlogSaveDaysResponseParams

type DescribeBinlogSaveDaysResponseParams struct {
	// Binlog retention period in days
	BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBinlogsRequest

type DescribeBinlogsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeBinlogsRequest

func NewDescribeBinlogsRequest() (request *DescribeBinlogsRequest)

func (*DescribeBinlogsRequest) FromJsonString

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

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

func (*DescribeBinlogsRequest) ToJsonString

func (r *DescribeBinlogsRequest) ToJsonString() string

type DescribeBinlogsRequestParams

type DescribeBinlogsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeBinlogsResponse

type DescribeBinlogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBinlogsResponseParams `json:"Response"`
}

func NewDescribeBinlogsResponse

func NewDescribeBinlogsResponse() (response *DescribeBinlogsResponse)

func (*DescribeBinlogsResponse) FromJsonString

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

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

func (*DescribeBinlogsResponse) ToJsonString

func (r *DescribeBinlogsResponse) ToJsonString() string

type DescribeBinlogsResponseParams

type DescribeBinlogsResponseParams struct {
	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Binlog list.
	Binlogs []*BinlogItem `json:"Binlogs,omitnil,omitempty" name:"Binlogs"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterDatabaseTablesRequest

type DescribeClusterDatabaseTablesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies the table type.
	// Specifies that "view" only returns the view, "base_table" only returns the basic table, and "all" returns both the view and the table. the default value is all.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`
}

func NewDescribeClusterDatabaseTablesRequest

func NewDescribeClusterDatabaseTablesRequest() (request *DescribeClusterDatabaseTablesRequest)

func (*DescribeClusterDatabaseTablesRequest) FromJsonString

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

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

func (*DescribeClusterDatabaseTablesRequest) ToJsonString

func (r *DescribeClusterDatabaseTablesRequest) ToJsonString() string

type DescribeClusterDatabaseTablesRequestParams

type DescribeClusterDatabaseTablesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies the table type.
	// Specifies that "view" only returns the view, "base_table" only returns the basic table, and "all" returns both the view and the table. the default value is all.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`
}

Predefined struct for user

type DescribeClusterDatabaseTablesResponse

type DescribeClusterDatabaseTablesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterDatabaseTablesResponseParams `json:"Response"`
}

func NewDescribeClusterDatabaseTablesResponse

func NewDescribeClusterDatabaseTablesResponse() (response *DescribeClusterDatabaseTablesResponse)

func (*DescribeClusterDatabaseTablesResponse) FromJsonString

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

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

func (*DescribeClusterDatabaseTablesResponse) ToJsonString

type DescribeClusterDatabaseTablesResponseParams

type DescribeClusterDatabaseTablesResponseParams struct {
	// Total number of entries
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Pagination Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination limit.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Database table list.
	Tables []*string `json:"Tables,omitnil,omitempty" name:"Tables"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterDetailDatabasesRequest

type DescribeClusterDetailDatabasesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`
}

func NewDescribeClusterDetailDatabasesRequest

func NewDescribeClusterDetailDatabasesRequest() (request *DescribeClusterDetailDatabasesRequest)

func (*DescribeClusterDetailDatabasesRequest) FromJsonString

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

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

func (*DescribeClusterDetailDatabasesRequest) ToJsonString

type DescribeClusterDetailDatabasesRequestParams

type DescribeClusterDetailDatabasesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`
}

Predefined struct for user

type DescribeClusterDetailDatabasesResponse

type DescribeClusterDetailDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterDetailDatabasesResponseParams `json:"Response"`
}

func NewDescribeClusterDetailDatabasesResponse

func NewDescribeClusterDetailDatabasesResponse() (response *DescribeClusterDetailDatabasesResponse)

func (*DescribeClusterDetailDatabasesResponse) FromJsonString

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

func (*DescribeClusterDetailDatabasesResponse) ToJsonString

type DescribeClusterDetailDatabasesResponseParams

type DescribeClusterDetailDatabasesResponseParams struct {
	// Database information
	DbInfos []*DbInfo `json:"DbInfos,omitnil,omitempty" name:"DbInfos"`

	// The total count
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterDetailRequest

type DescribeClusterDetailRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterDetailRequest

func NewDescribeClusterDetailRequest() (request *DescribeClusterDetailRequest)

func (*DescribeClusterDetailRequest) FromJsonString

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

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

func (*DescribeClusterDetailRequest) ToJsonString

func (r *DescribeClusterDetailRequest) ToJsonString() string

type DescribeClusterDetailRequestParams

type DescribeClusterDetailRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterDetailResponse

type DescribeClusterDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterDetailResponseParams `json:"Response"`
}

func NewDescribeClusterDetailResponse

func NewDescribeClusterDetailResponse() (response *DescribeClusterDetailResponse)

func (*DescribeClusterDetailResponse) FromJsonString

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

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

func (*DescribeClusterDetailResponse) ToJsonString

func (r *DescribeClusterDetailResponse) ToJsonString() string

type DescribeClusterDetailResponseParams

type DescribeClusterDetailResponseParams struct {
	// Cluster details
	Detail *CynosdbClusterDetail `json:"Detail,omitnil,omitempty" name:"Detail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterInstanceGrpsRequest

type DescribeClusterInstanceGrpsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterInstanceGrpsRequest

func NewDescribeClusterInstanceGrpsRequest() (request *DescribeClusterInstanceGrpsRequest)

func (*DescribeClusterInstanceGrpsRequest) FromJsonString

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

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

func (*DescribeClusterInstanceGrpsRequest) ToJsonString

func (r *DescribeClusterInstanceGrpsRequest) ToJsonString() string

type DescribeClusterInstanceGrpsRequestParams

type DescribeClusterInstanceGrpsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterInstanceGrpsResponse

type DescribeClusterInstanceGrpsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterInstanceGrpsResponseParams `json:"Response"`
}

func NewDescribeClusterInstanceGrpsResponse

func NewDescribeClusterInstanceGrpsResponse() (response *DescribeClusterInstanceGrpsResponse)

func (*DescribeClusterInstanceGrpsResponse) FromJsonString

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

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

func (*DescribeClusterInstanceGrpsResponse) ToJsonString

func (r *DescribeClusterInstanceGrpsResponse) ToJsonString() string

type DescribeClusterInstanceGrpsResponseParams

type DescribeClusterInstanceGrpsResponseParams struct {
	// Number of instance groups
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance group list
	//
	// Deprecated: InstanceGrpInfoList is deprecated.
	InstanceGrpInfoList []*CynosdbInstanceGrp `json:"InstanceGrpInfoList,omitnil,omitempty" name:"InstanceGrpInfoList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterParamsRequest

type DescribeClusterParamsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`
}

func NewDescribeClusterParamsRequest

func NewDescribeClusterParamsRequest() (request *DescribeClusterParamsRequest)

func (*DescribeClusterParamsRequest) FromJsonString

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

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

func (*DescribeClusterParamsRequest) ToJsonString

func (r *DescribeClusterParamsRequest) ToJsonString() string

type DescribeClusterParamsRequestParams

type DescribeClusterParamsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`
}

Predefined struct for user

type DescribeClusterParamsResponse

type DescribeClusterParamsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterParamsResponseParams `json:"Response"`
}

func NewDescribeClusterParamsResponse

func NewDescribeClusterParamsResponse() (response *DescribeClusterParamsResponse)

func (*DescribeClusterParamsResponse) FromJsonString

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

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

func (*DescribeClusterParamsResponse) ToJsonString

func (r *DescribeClusterParamsResponse) ToJsonString() string

type DescribeClusterParamsResponseParams

type DescribeClusterParamsResponseParams struct {
	// Number of parameters
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance parameter list.
	Items []*ParamInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterPasswordComplexityRequest

type DescribeClusterPasswordComplexityRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterPasswordComplexityRequest

func NewDescribeClusterPasswordComplexityRequest() (request *DescribeClusterPasswordComplexityRequest)

func (*DescribeClusterPasswordComplexityRequest) FromJsonString

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

func (*DescribeClusterPasswordComplexityRequest) ToJsonString

type DescribeClusterPasswordComplexityRequestParams

type DescribeClusterPasswordComplexityRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterPasswordComplexityResponse

type DescribeClusterPasswordComplexityResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterPasswordComplexityResponseParams `json:"Response"`
}

func NewDescribeClusterPasswordComplexityResponse

func NewDescribeClusterPasswordComplexityResponse() (response *DescribeClusterPasswordComplexityResponse)

func (*DescribeClusterPasswordComplexityResponse) FromJsonString

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

func (*DescribeClusterPasswordComplexityResponse) ToJsonString

type DescribeClusterPasswordComplexityResponseParams

type DescribeClusterPasswordComplexityResponseParams struct {
	// Data dictionary parameter.
	ValidatePasswordDictionary *ParamInfo `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"`

	// Specifies the password length.
	ValidatePasswordLength *ParamInfo `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"`

	// Case-Sensitive character count.
	ValidatePasswordMixedCaseCount *ParamInfo `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"`

	// Number of digits.
	ValidatePasswordNumberCount *ParamInfo `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"`

	// Password level.
	ValidatePasswordPolicy *ParamInfo `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"`

	// Number of special characters.
	ValidatePasswordSpecialCharCount *ParamInfo `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterReadOnlyRequest

type DescribeClusterReadOnlyRequest struct {
	*tchttp.BaseRequest

	// List of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeClusterReadOnlyRequest

func NewDescribeClusterReadOnlyRequest() (request *DescribeClusterReadOnlyRequest)

func (*DescribeClusterReadOnlyRequest) FromJsonString

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

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

func (*DescribeClusterReadOnlyRequest) ToJsonString

func (r *DescribeClusterReadOnlyRequest) ToJsonString() string

type DescribeClusterReadOnlyRequestParams

type DescribeClusterReadOnlyRequestParams struct {
	// List of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeClusterReadOnlyResponse

type DescribeClusterReadOnlyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterReadOnlyResponseParams `json:"Response"`
}

func NewDescribeClusterReadOnlyResponse

func NewDescribeClusterReadOnlyResponse() (response *DescribeClusterReadOnlyResponse)

func (*DescribeClusterReadOnlyResponse) FromJsonString

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

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

func (*DescribeClusterReadOnlyResponse) ToJsonString

func (r *DescribeClusterReadOnlyResponse) ToJsonString() string

type DescribeClusterReadOnlyResponseParams

type DescribeClusterReadOnlyResponseParams struct {
	// List of cluster read-only switches.
	ClusterReadOnlyValues []*ClusterReadOnlyValue `json:"ClusterReadOnlyValues,omitnil,omitempty" name:"ClusterReadOnlyValues"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterTransparentEncryptInfoRequest

type DescribeClusterTransparentEncryptInfoRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterTransparentEncryptInfoRequest

func NewDescribeClusterTransparentEncryptInfoRequest() (request *DescribeClusterTransparentEncryptInfoRequest)

func (*DescribeClusterTransparentEncryptInfoRequest) FromJsonString

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

func (*DescribeClusterTransparentEncryptInfoRequest) ToJsonString

type DescribeClusterTransparentEncryptInfoRequestParams

type DescribeClusterTransparentEncryptInfoRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterTransparentEncryptInfoResponse

type DescribeClusterTransparentEncryptInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterTransparentEncryptInfoResponseParams `json:"Response"`
}

func NewDescribeClusterTransparentEncryptInfoResponse

func NewDescribeClusterTransparentEncryptInfoResponse() (response *DescribeClusterTransparentEncryptInfoResponse)

func (*DescribeClusterTransparentEncryptInfoResponse) FromJsonString

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

func (*DescribeClusterTransparentEncryptInfoResponse) ToJsonString

type DescribeClusterTransparentEncryptInfoResponseParams

type DescribeClusterTransparentEncryptInfoResponseParams struct {
	// Encryption key id.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// Encryption key region.
	KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClustersRequest

type DescribeClustersRequest struct {
	*tchttp.BaseRequest

	// Engine type. Currently, `MYSQL` is supported.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values:
	// <li> CREATETIME: creation time</li>
	// <li> PERIODENDTIME: expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> ASC: ascending</li>
	// <li> DESC: descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeClustersRequest

func NewDescribeClustersRequest() (request *DescribeClustersRequest)

func (*DescribeClustersRequest) FromJsonString

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

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

func (*DescribeClustersRequest) ToJsonString

func (r *DescribeClustersRequest) ToJsonString() string

type DescribeClustersRequestParams

type DescribeClustersRequestParams struct {
	// Engine type. Currently, `MYSQL` is supported.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values:
	// <li> CREATETIME: creation time</li>
	// <li> PERIODENDTIME: expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> ASC: ascending</li>
	// <li> DESC: descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClustersResponse

type DescribeClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClustersResponseParams `json:"Response"`
}

func NewDescribeClustersResponse

func NewDescribeClustersResponse() (response *DescribeClustersResponse)

func (*DescribeClustersResponse) FromJsonString

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

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

func (*DescribeClustersResponse) ToJsonString

func (r *DescribeClustersResponse) ToJsonString() string

type DescribeClustersResponseParams

type DescribeClustersResponseParams struct {
	// Number of clusters
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Cluster list
	ClusterSet []*CynosdbCluster `json:"ClusterSet,omitnil,omitempty" name:"ClusterSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsRequest

type DescribeDBSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Specifies that the instance ID must be provided by selecting either InstanceId or InstanceGroupId.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies that the instance group ID must be provided by selecting either InstanceId or InstanceGroupId.
	InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"`
}

func NewDescribeDBSecurityGroupsRequest

func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)

func (*DescribeDBSecurityGroupsRequest) FromJsonString

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

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

func (*DescribeDBSecurityGroupsRequest) ToJsonString

func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string

type DescribeDBSecurityGroupsRequestParams

type DescribeDBSecurityGroupsRequestParams struct {
	// Specifies that the instance ID must be provided by selecting either InstanceId or InstanceGroupId.
	//
	// Deprecated: InstanceId is deprecated.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies that the instance group ID must be provided by selecting either InstanceId or InstanceGroupId.
	InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsResponse

type DescribeDBSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeDBSecurityGroupsResponse

func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)

func (*DescribeDBSecurityGroupsResponse) FromJsonString

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

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

func (*DescribeDBSecurityGroupsResponse) ToJsonString

func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string

type DescribeDBSecurityGroupsResponseParams

type DescribeDBSecurityGroupsResponseParams struct {
	// Security group information
	Groups []*SecurityGroup `json:"Groups,omitnil,omitempty" name:"Groups"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFlowRequest

type DescribeFlowRequest struct {
	*tchttp.BaseRequest

	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDescribeFlowRequest

func NewDescribeFlowRequest() (request *DescribeFlowRequest)

func (*DescribeFlowRequest) FromJsonString

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

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

func (*DescribeFlowRequest) ToJsonString

func (r *DescribeFlowRequest) ToJsonString() string

type DescribeFlowRequestParams

type DescribeFlowRequestParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DescribeFlowResponse

type DescribeFlowResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFlowResponseParams `json:"Response"`
}

func NewDescribeFlowResponse

func NewDescribeFlowResponse() (response *DescribeFlowResponse)

func (*DescribeFlowResponse) FromJsonString

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

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

func (*DescribeFlowResponse) ToJsonString

func (r *DescribeFlowResponse) ToJsonString() string

type DescribeFlowResponseParams

type DescribeFlowResponseParams struct {
	// Task flow status. Valid values: `0` (succeeded), `1` (failed), `2` (Processing).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceDetailRequest

type DescribeInstanceDetailRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeInstanceDetailRequest

func NewDescribeInstanceDetailRequest() (request *DescribeInstanceDetailRequest)

func (*DescribeInstanceDetailRequest) FromJsonString

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

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

func (*DescribeInstanceDetailRequest) ToJsonString

func (r *DescribeInstanceDetailRequest) ToJsonString() string

type DescribeInstanceDetailRequestParams

type DescribeInstanceDetailRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceDetailResponse

type DescribeInstanceDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceDetailResponseParams `json:"Response"`
}

func NewDescribeInstanceDetailResponse

func NewDescribeInstanceDetailResponse() (response *DescribeInstanceDetailResponse)

func (*DescribeInstanceDetailResponse) FromJsonString

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

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

func (*DescribeInstanceDetailResponse) ToJsonString

func (r *DescribeInstanceDetailResponse) ToJsonString() string

type DescribeInstanceDetailResponseParams

type DescribeInstanceDetailResponseParams struct {
	// Instance details
	Detail *CynosdbInstanceDetail `json:"Detail,omitnil,omitempty" name:"Detail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceErrorLogsRequest

type DescribeInstanceErrorLogsRequest struct {
	*tchttp.BaseRequest

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

	// Limit on the number of logs
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset of the log number
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Sorting field. Valid value: 'Timestamp'.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `ASC`, `DESC`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Log level, which supports combo search by multiple levels. Valid values: `error`, `warning`, `note`.
	LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"`

	KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"`
}

func NewDescribeInstanceErrorLogsRequest

func NewDescribeInstanceErrorLogsRequest() (request *DescribeInstanceErrorLogsRequest)

func (*DescribeInstanceErrorLogsRequest) FromJsonString

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

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

func (*DescribeInstanceErrorLogsRequest) ToJsonString

func (r *DescribeInstanceErrorLogsRequest) ToJsonString() string

type DescribeInstanceErrorLogsRequestParams

type DescribeInstanceErrorLogsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Limit on the number of logs
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset of the log number
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Sorting field. Valid value: 'Timestamp'.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `ASC`, `DESC`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Log level, which supports combo search by multiple levels. Valid values: `error`, `warning`, `note`.
	LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"`

	KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"`
}

Predefined struct for user

type DescribeInstanceErrorLogsResponse

type DescribeInstanceErrorLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceErrorLogsResponseParams `json:"Response"`
}

func NewDescribeInstanceErrorLogsResponse

func NewDescribeInstanceErrorLogsResponse() (response *DescribeInstanceErrorLogsResponse)

func (*DescribeInstanceErrorLogsResponse) FromJsonString

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

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

func (*DescribeInstanceErrorLogsResponse) ToJsonString

func (r *DescribeInstanceErrorLogsResponse) ToJsonString() string

type DescribeInstanceErrorLogsResponseParams

type DescribeInstanceErrorLogsResponseParams struct {
	// Number of logs.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Error log list.
	ErrorLogs []*CynosdbErrorLogItem `json:"ErrorLogs,omitnil,omitempty" name:"ErrorLogs"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamsRequest

type DescribeInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID, which supports batch query.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Search condition for a parameter name, which supports fuzzy search.
	ParamKeyword *string `json:"ParamKeyword,omitnil,omitempty" name:"ParamKeyword"`
}

func NewDescribeInstanceParamsRequest

func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)

func (*DescribeInstanceParamsRequest) FromJsonString

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

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

func (*DescribeInstanceParamsRequest) ToJsonString

func (r *DescribeInstanceParamsRequest) ToJsonString() string

type DescribeInstanceParamsRequestParams

type DescribeInstanceParamsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID, which supports batch query.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Search condition for a parameter name, which supports fuzzy search.
	ParamKeyword *string `json:"ParamKeyword,omitnil,omitempty" name:"ParamKeyword"`
}

Predefined struct for user

type DescribeInstanceParamsResponse

type DescribeInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceParamsResponseParams `json:"Response"`
}

func NewDescribeInstanceParamsResponse

func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)

func (*DescribeInstanceParamsResponse) FromJsonString

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

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

func (*DescribeInstanceParamsResponse) ToJsonString

func (r *DescribeInstanceParamsResponse) ToJsonString() string

type DescribeInstanceParamsResponseParams

type DescribeInstanceParamsResponseParams struct {
	// List of instance parameters
	Items []*InstanceParamItem `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSlowQueriesRequest

type DescribeInstanceSlowQueriesRequest struct {
	*tchttp.BaseRequest

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

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

	// Transaction end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Username
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// Client host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Sorting field. Valid values: QueryTime, LockTime, RowsExamined, RowsSent.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

	// sql statement.
	SqlText *string `json:"SqlText,omitnil,omitempty" name:"SqlText"`
}

func NewDescribeInstanceSlowQueriesRequest

func NewDescribeInstanceSlowQueriesRequest() (request *DescribeInstanceSlowQueriesRequest)

func (*DescribeInstanceSlowQueriesRequest) FromJsonString

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

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

func (*DescribeInstanceSlowQueriesRequest) ToJsonString

func (r *DescribeInstanceSlowQueriesRequest) ToJsonString() string

type DescribeInstanceSlowQueriesRequestParams

type DescribeInstanceSlowQueriesRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

	// Transaction end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Username
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// Client host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Sorting field. Valid values: QueryTime, LockTime, RowsExamined, RowsSent.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

	// sql statement.
	SqlText *string `json:"SqlText,omitnil,omitempty" name:"SqlText"`
}

Predefined struct for user

type DescribeInstanceSlowQueriesResponse

type DescribeInstanceSlowQueriesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceSlowQueriesResponseParams `json:"Response"`
}

func NewDescribeInstanceSlowQueriesResponse

func NewDescribeInstanceSlowQueriesResponse() (response *DescribeInstanceSlowQueriesResponse)

func (*DescribeInstanceSlowQueriesResponse) FromJsonString

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

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

func (*DescribeInstanceSlowQueriesResponse) ToJsonString

func (r *DescribeInstanceSlowQueriesResponse) ToJsonString() string

type DescribeInstanceSlowQueriesResponseParams

type DescribeInstanceSlowQueriesResponseParams struct {
	// Total number
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Slow query record
	SlowQueries []*SlowQueriesItem `json:"SlowQueries,omitnil,omitempty" name:"SlowQueries"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSpecsRequest

type DescribeInstanceSpecsRequest struct {
	*tchttp.BaseRequest

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Whether to return the AZ information.
	IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitnil,omitempty" name:"IncludeZoneStocks"`
}

func NewDescribeInstanceSpecsRequest

func NewDescribeInstanceSpecsRequest() (request *DescribeInstanceSpecsRequest)

func (*DescribeInstanceSpecsRequest) FromJsonString

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

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

func (*DescribeInstanceSpecsRequest) ToJsonString

func (r *DescribeInstanceSpecsRequest) ToJsonString() string

type DescribeInstanceSpecsRequestParams

type DescribeInstanceSpecsRequestParams struct {
	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Whether to return the AZ information.
	IncludeZoneStocks *bool `json:"IncludeZoneStocks,omitnil,omitempty" name:"IncludeZoneStocks"`
}

Predefined struct for user

type DescribeInstanceSpecsResponse

type DescribeInstanceSpecsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceSpecsResponseParams `json:"Response"`
}

func NewDescribeInstanceSpecsResponse

func NewDescribeInstanceSpecsResponse() (response *DescribeInstanceSpecsResponse)

func (*DescribeInstanceSpecsResponse) FromJsonString

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

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

func (*DescribeInstanceSpecsResponse) ToJsonString

func (r *DescribeInstanceSpecsResponse) ToJsonString() string

type DescribeInstanceSpecsResponseParams

type DescribeInstanceSpecsResponseParams struct {
	// Specification information
	InstanceSpecSet []*InstanceSpec `json:"InstanceSpecSet,omitnil,omitempty" name:"InstanceSpecSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values:
	// <li> CREATETIME: creation time</li>
	// <li> PERIODENDTIME: expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> ASC: ascending</li>
	// <li> DESC: descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Engine type. Currently, `MYSQL` is supported.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Instance status. Valid values:
	// creating
	// running
	// isolating
	// isolated
	// activating: Removing the instance from isolation
	// offlining: Eliminating the instance
	// offlined: Instance eliminated
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance ID list
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

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

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

func (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesRequestParams

type DescribeInstancesRequestParams struct {
	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values:
	// <li> CREATETIME: creation time</li>
	// <li> PERIODENDTIME: expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> ASC: ascending</li>
	// <li> DESC: descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Engine type. Currently, `MYSQL` is supported.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Instance status. Valid values:
	// creating
	// running
	// isolating
	// isolated
	// activating: Removing the instance from isolation
	// offlining: Eliminating the instance
	// offlined: Instance eliminated
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance ID list
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesResponseParams `json:"Response"`
}

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

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

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

func (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DescribeInstancesResponseParams

type DescribeInstancesResponseParams struct {
	// Number of instances
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance list
	InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstancesWithinSameClusterRequest

type DescribeInstancesWithinSameClusterRequest struct {
	*tchttp.BaseRequest

	// vpcId
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// vip
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
}

func NewDescribeInstancesWithinSameClusterRequest

func NewDescribeInstancesWithinSameClusterRequest() (request *DescribeInstancesWithinSameClusterRequest)

func (*DescribeInstancesWithinSameClusterRequest) FromJsonString

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

func (*DescribeInstancesWithinSameClusterRequest) ToJsonString

type DescribeInstancesWithinSameClusterRequestParams

type DescribeInstancesWithinSameClusterRequestParams struct {
	// vpcId
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// vip
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
}

Predefined struct for user

type DescribeInstancesWithinSameClusterResponse

type DescribeInstancesWithinSameClusterResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesWithinSameClusterResponseParams `json:"Response"`
}

func NewDescribeInstancesWithinSameClusterResponse

func NewDescribeInstancesWithinSameClusterResponse() (response *DescribeInstancesWithinSameClusterResponse)

func (*DescribeInstancesWithinSameClusterResponse) FromJsonString

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

func (*DescribeInstancesWithinSameClusterResponse) ToJsonString

type DescribeInstancesWithinSameClusterResponseParams

type DescribeInstancesWithinSameClusterResponseParams struct {
	// Number of instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance ID list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIsolatedInstancesRequest

type DescribeIsolatedInstancesRequest struct {
	*tchttp.BaseRequest

	// Number of returned results. the default value is 20. the maximum value is 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. valid values:.
	// <Li>CREATETIME: creation time</li>.
	// <li> PERIODENDTIME: expiration time</li>.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. value range:.
	// <Li>ASC: specifies ascending sort.</li>.
	// <li> DESC: sorts in descending order. </li>.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Search criteria. when multiple filters exist, the relationship between filters is logical AND.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Engine type: currently supports "MYSQL", "POSTGRESQL".
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

func NewDescribeIsolatedInstancesRequest

func NewDescribeIsolatedInstancesRequest() (request *DescribeIsolatedInstancesRequest)

func (*DescribeIsolatedInstancesRequest) FromJsonString

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

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

func (*DescribeIsolatedInstancesRequest) ToJsonString

func (r *DescribeIsolatedInstancesRequest) ToJsonString() string

type DescribeIsolatedInstancesRequestParams

type DescribeIsolatedInstancesRequestParams struct {
	// Number of returned results. the default value is 20. the maximum value is 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. valid values:.
	// <Li>CREATETIME: creation time</li>.
	// <li> PERIODENDTIME: expiration time</li>.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. value range:.
	// <Li>ASC: specifies ascending sort.</li>.
	// <li> DESC: sorts in descending order. </li>.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Search criteria. when multiple filters exist, the relationship between filters is logical AND.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Engine type: currently supports "MYSQL", "POSTGRESQL".
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

Predefined struct for user

type DescribeIsolatedInstancesResponse

type DescribeIsolatedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIsolatedInstancesResponseParams `json:"Response"`
}

func NewDescribeIsolatedInstancesResponse

func NewDescribeIsolatedInstancesResponse() (response *DescribeIsolatedInstancesResponse)

func (*DescribeIsolatedInstancesResponse) FromJsonString

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

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

func (*DescribeIsolatedInstancesResponse) ToJsonString

func (r *DescribeIsolatedInstancesResponse) ToJsonString() string

type DescribeIsolatedInstancesResponseParams

type DescribeIsolatedInstancesResponseParams struct {
	// Number of instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance list
	InstanceSet []*CynosdbInstance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMaintainPeriodRequest

type DescribeMaintainPeriodRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeMaintainPeriodRequest

func NewDescribeMaintainPeriodRequest() (request *DescribeMaintainPeriodRequest)

func (*DescribeMaintainPeriodRequest) FromJsonString

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

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

func (*DescribeMaintainPeriodRequest) ToJsonString

func (r *DescribeMaintainPeriodRequest) ToJsonString() string

type DescribeMaintainPeriodRequestParams

type DescribeMaintainPeriodRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeMaintainPeriodResponse

type DescribeMaintainPeriodResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMaintainPeriodResponseParams `json:"Response"`
}

func NewDescribeMaintainPeriodResponse

func NewDescribeMaintainPeriodResponse() (response *DescribeMaintainPeriodResponse)

func (*DescribeMaintainPeriodResponse) FromJsonString

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

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

func (*DescribeMaintainPeriodResponse) ToJsonString

func (r *DescribeMaintainPeriodResponse) ToJsonString() string

type DescribeMaintainPeriodResponseParams

type DescribeMaintainPeriodResponseParams struct {
	// Maintenance days of the week
	MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"`

	// Maintenance start time in seconds
	MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"`

	// Maintenance duration in seconds
	MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParamTemplateDetailRequest

type DescribeParamTemplateDetailRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDescribeParamTemplateDetailRequest

func NewDescribeParamTemplateDetailRequest() (request *DescribeParamTemplateDetailRequest)

func (*DescribeParamTemplateDetailRequest) FromJsonString

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

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

func (*DescribeParamTemplateDetailRequest) ToJsonString

func (r *DescribeParamTemplateDetailRequest) ToJsonString() string

type DescribeParamTemplateDetailRequestParams

type DescribeParamTemplateDetailRequestParams struct {
	// Parameter template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DescribeParamTemplateDetailResponse

type DescribeParamTemplateDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParamTemplateDetailResponseParams `json:"Response"`
}

func NewDescribeParamTemplateDetailResponse

func NewDescribeParamTemplateDetailResponse() (response *DescribeParamTemplateDetailResponse)

func (*DescribeParamTemplateDetailResponse) FromJsonString

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

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

func (*DescribeParamTemplateDetailResponse) ToJsonString

func (r *DescribeParamTemplateDetailResponse) ToJsonString() string

type DescribeParamTemplateDetailResponseParams

type DescribeParamTemplateDetailResponseParams struct {
	// Parameter template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Parameter template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Parameter template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// Engine version
	EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"`

	// Total number of parameters
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of parameters
	Items []*ParamDetail `json:"Items,omitnil,omitempty" name:"Items"`

	// Database type. Valid values:  `NORMAL`, `SERVERLESS`.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParamTemplatesRequest

type DescribeParamTemplatesRequest struct {
	*tchttp.BaseRequest

	// Database engine version number
	EngineVersions []*string `json:"EngineVersions,omitnil,omitempty" name:"EngineVersions"`

	// Template name
	TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"`

	// Template ID
	TemplateIds []*int64 `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"`

	// Database Type. Valid values: `NORMAL`, `SERVERLESS`.
	DbModes []*string `json:"DbModes,omitnil,omitempty" name:"DbModes"`

	// Offset for query
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on queries
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Product type of the queried template
	Products []*string `json:"Products,omitnil,omitempty" name:"Products"`

	// Template type
	TemplateTypes []*string `json:"TemplateTypes,omitnil,omitempty" name:"TemplateTypes"`

	// Version type
	EngineTypes []*string `json:"EngineTypes,omitnil,omitempty" name:"EngineTypes"`

	// The sorting order of the returned results
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

func NewDescribeParamTemplatesRequest

func NewDescribeParamTemplatesRequest() (request *DescribeParamTemplatesRequest)

func (*DescribeParamTemplatesRequest) FromJsonString

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

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

func (*DescribeParamTemplatesRequest) ToJsonString

func (r *DescribeParamTemplatesRequest) ToJsonString() string

type DescribeParamTemplatesRequestParams

type DescribeParamTemplatesRequestParams struct {
	// Database engine version number
	EngineVersions []*string `json:"EngineVersions,omitnil,omitempty" name:"EngineVersions"`

	// Template name
	TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"`

	// Template ID
	TemplateIds []*int64 `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"`

	// Database Type. Valid values: `NORMAL`, `SERVERLESS`.
	DbModes []*string `json:"DbModes,omitnil,omitempty" name:"DbModes"`

	// Offset for query
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on queries
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Product type of the queried template
	Products []*string `json:"Products,omitnil,omitempty" name:"Products"`

	// Template type
	TemplateTypes []*string `json:"TemplateTypes,omitnil,omitempty" name:"TemplateTypes"`

	// Version type
	EngineTypes []*string `json:"EngineTypes,omitnil,omitempty" name:"EngineTypes"`

	// The sorting order of the returned results
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

Predefined struct for user

type DescribeParamTemplatesResponse

type DescribeParamTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParamTemplatesResponseParams `json:"Response"`
}

func NewDescribeParamTemplatesResponse

func NewDescribeParamTemplatesResponse() (response *DescribeParamTemplatesResponse)

func (*DescribeParamTemplatesResponse) FromJsonString

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

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

func (*DescribeParamTemplatesResponse) ToJsonString

func (r *DescribeParamTemplatesResponse) ToJsonString() string

type DescribeParamTemplatesResponseParams

type DescribeParamTemplatesResponseParams struct {
	// Number of parameter templates
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Parameter template information
	Items []*ParamTemplateListInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsRequest

type DescribeProjectSecurityGroupsRequest struct {
	*tchttp.BaseRequest

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

	// Maximum entries returned per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Search by keyword
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`
}

func NewDescribeProjectSecurityGroupsRequest

func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)

func (*DescribeProjectSecurityGroupsRequest) FromJsonString

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

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

func (*DescribeProjectSecurityGroupsRequest) ToJsonString

func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string

type DescribeProjectSecurityGroupsRequestParams

type DescribeProjectSecurityGroupsRequestParams struct {
	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Maximum entries returned per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Search by keyword
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsResponse

type DescribeProjectSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProjectSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeProjectSecurityGroupsResponse

func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)

func (*DescribeProjectSecurityGroupsResponse) FromJsonString

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

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

func (*DescribeProjectSecurityGroupsResponse) ToJsonString

type DescribeProjectSecurityGroupsResponseParams

type DescribeProjectSecurityGroupsResponseParams struct {
	// Security group details
	Groups []*SecurityGroup `json:"Groups,omitnil,omitempty" name:"Groups"`

	// The total number of groups
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProxiesRequest

type DescribeProxiesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID (this parameter is required. for example, cynosdbmysql-2u2mh111).
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of returned results. Default value: `20`. Maximum value: `100`,
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values:
	// <li> CREATETIME: Creation time</li>
	// <li> PERIODENDTIME: Expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> `ASC`: Ascending.</li>
	// <li> `DESC`: Descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If there are more than one filter, the logical relationship between these filters is `AND`.
	Filters []*QueryParamFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeProxiesRequest

func NewDescribeProxiesRequest() (request *DescribeProxiesRequest)

func (*DescribeProxiesRequest) FromJsonString

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

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

func (*DescribeProxiesRequest) ToJsonString

func (r *DescribeProxiesRequest) ToJsonString() string

type DescribeProxiesRequestParams

type DescribeProxiesRequestParams struct {
	// Cluster ID (this parameter is required. for example, cynosdbmysql-2u2mh111).
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of returned results. Default value: `20`. Maximum value: `100`,
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values:
	// <li> CREATETIME: Creation time</li>
	// <li> PERIODENDTIME: Expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> `ASC`: Ascending.</li>
	// <li> `DESC`: Descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If there are more than one filter, the logical relationship between these filters is `AND`.
	Filters []*QueryParamFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeProxiesResponse

type DescribeProxiesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxiesResponseParams `json:"Response"`
}

func NewDescribeProxiesResponse

func NewDescribeProxiesResponse() (response *DescribeProxiesResponse)

func (*DescribeProxiesResponse) FromJsonString

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

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

func (*DescribeProxiesResponse) ToJsonString

func (r *DescribeProxiesResponse) ToJsonString() string

type DescribeProxiesResponseParams

type DescribeProxiesResponseParams struct {
	// Number of database proxy groups
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of database proxy groups.
	ProxyGroupInfos []*ProxyGroupInfo `json:"ProxyGroupInfos,omitnil,omitempty" name:"ProxyGroupInfos"`

	// Database proxy node
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyNodeInfos []*ProxyNodeInfo `json:"ProxyNodeInfos,omitnil,omitempty" name:"ProxyNodeInfos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProxyNodesRequest

type DescribeProxyNodesRequest struct {
	*tchttp.BaseRequest

	// Number of returned results. Default value: `20`. Maximum value: `100`,
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values:
	// <li> CREATETIME: Creation time</li>
	// <li> PERIODENDTIME: Expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> `ASC`: Ascending.</li>
	// <li> `DESC`: Descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If there are more than one filter, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeProxyNodesRequest

func NewDescribeProxyNodesRequest() (request *DescribeProxyNodesRequest)

func (*DescribeProxyNodesRequest) FromJsonString

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

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

func (*DescribeProxyNodesRequest) ToJsonString

func (r *DescribeProxyNodesRequest) ToJsonString() string

type DescribeProxyNodesRequestParams

type DescribeProxyNodesRequestParams struct {
	// Number of returned results. Default value: `20`. Maximum value: `100`,
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Record offset. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values:
	// <li> CREATETIME: Creation time</li>
	// <li> PERIODENDTIME: Expiration time</li>
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values:
	// <li> `ASC`: Ascending.</li>
	// <li> `DESC`: Descending</li>
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Filter. If there are more than one filter, the logical relationship between these filters is `AND`.
	Filters []*QueryFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeProxyNodesResponse

type DescribeProxyNodesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxyNodesResponseParams `json:"Response"`
}

func NewDescribeProxyNodesResponse

func NewDescribeProxyNodesResponse() (response *DescribeProxyNodesResponse)

func (*DescribeProxyNodesResponse) FromJsonString

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

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

func (*DescribeProxyNodesResponse) ToJsonString

func (r *DescribeProxyNodesResponse) ToJsonString() string

type DescribeProxyNodesResponseParams

type DescribeProxyNodesResponseParams struct {
	// Number of the database proxy nodes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of the database proxy nodes
	ProxyNodeInfos []*ProxyNodeInfo `json:"ProxyNodeInfos,omitnil,omitempty" name:"ProxyNodeInfos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProxySpecsRequest

type DescribeProxySpecsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeProxySpecsRequest

func NewDescribeProxySpecsRequest() (request *DescribeProxySpecsRequest)

func (*DescribeProxySpecsRequest) FromJsonString

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

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

func (*DescribeProxySpecsRequest) ToJsonString

func (r *DescribeProxySpecsRequest) ToJsonString() string

type DescribeProxySpecsRequestParams

type DescribeProxySpecsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeProxySpecsResponse

type DescribeProxySpecsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxySpecsResponseParams `json:"Response"`
}

func NewDescribeProxySpecsResponse

func NewDescribeProxySpecsResponse() (response *DescribeProxySpecsResponse)

func (*DescribeProxySpecsResponse) FromJsonString

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

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

func (*DescribeProxySpecsResponse) ToJsonString

func (r *DescribeProxySpecsResponse) ToJsonString() string

type DescribeProxySpecsResponseParams

type DescribeProxySpecsResponseParams struct {
	// List of database proxyspecifications
	ProxySpecs []*ProxySpec `json:"ProxySpecs,omitnil,omitempty" name:"ProxySpecs"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourcePackageDetailRequest

type DescribeResourcePackageDetailRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Instance D
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDescribeResourcePackageDetailRequest

func NewDescribeResourcePackageDetailRequest() (request *DescribeResourcePackageDetailRequest)

func (*DescribeResourcePackageDetailRequest) FromJsonString

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

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

func (*DescribeResourcePackageDetailRequest) ToJsonString

func (r *DescribeResourcePackageDetailRequest) ToJsonString() string

type DescribeResourcePackageDetailRequestParams

type DescribeResourcePackageDetailRequestParams struct {
	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Instance D
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeResourcePackageDetailResponse

type DescribeResourcePackageDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcePackageDetailResponseParams `json:"Response"`
}

func NewDescribeResourcePackageDetailResponse

func NewDescribeResourcePackageDetailResponse() (response *DescribeResourcePackageDetailResponse)

func (*DescribeResourcePackageDetailResponse) FromJsonString

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

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

func (*DescribeResourcePackageDetailResponse) ToJsonString

type DescribeResourcePackageDetailResponseParams

type DescribeResourcePackageDetailResponseParams struct {
	// Total number of deducted resource packs
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Resource pack details
	Detail []*PackageDetail `json:"Detail,omitnil,omitempty" name:"Detail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourcePackageListRequest

type DescribeResourcePackageListRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageId []*string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Resource pack name
	PackageName []*string `json:"PackageName,omitnil,omitempty" name:"PackageName"`

	// Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack).
	PackageType []*string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Region of the resource pack. Valid values: `China` (Chinese mainland), `overseas` (outside Chinese mainland).
	PackageRegion []*string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack status. Valid values: `using`, `expired`, `normal_finish` (used up), `apply_refund` (requesting a refund), `refund` (refunded).
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Sorting conditions. Valid values: `startTime` (effective time), `expireTime` (expiration date), `packageUsedSpec` (used capacity), `packageTotalSpec` (total storage capacity).
	// Sorting by array order
	OrderBy []*string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `ASC` (ascending), `DESC` (descending).
	OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeResourcePackageListRequest

func NewDescribeResourcePackageListRequest() (request *DescribeResourcePackageListRequest)

func (*DescribeResourcePackageListRequest) FromJsonString

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

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

func (*DescribeResourcePackageListRequest) ToJsonString

func (r *DescribeResourcePackageListRequest) ToJsonString() string

type DescribeResourcePackageListRequestParams

type DescribeResourcePackageListRequestParams struct {
	// The unique ID of a resource pack
	PackageId []*string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Resource pack name
	PackageName []*string `json:"PackageName,omitnil,omitempty" name:"PackageName"`

	// Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack).
	PackageType []*string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Region of the resource pack. Valid values: `China` (Chinese mainland), `overseas` (outside Chinese mainland).
	PackageRegion []*string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack status. Valid values: `using`, `expired`, `normal_finish` (used up), `apply_refund` (requesting a refund), `refund` (refunded).
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Sorting conditions. Valid values: `startTime` (effective time), `expireTime` (expiration date), `packageUsedSpec` (used capacity), `packageTotalSpec` (total storage capacity).
	// Sorting by array order
	OrderBy []*string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: `ASC` (ascending), `DESC` (descending).
	OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeResourcePackageListResponse

type DescribeResourcePackageListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcePackageListResponseParams `json:"Response"`
}

func NewDescribeResourcePackageListResponse

func NewDescribeResourcePackageListResponse() (response *DescribeResourcePackageListResponse)

func (*DescribeResourcePackageListResponse) FromJsonString

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

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

func (*DescribeResourcePackageListResponse) ToJsonString

func (r *DescribeResourcePackageListResponse) ToJsonString() string

type DescribeResourcePackageListResponseParams

type DescribeResourcePackageListResponseParams struct {
	// Total number of resource packs
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Resource pack details.
	Detail []*Package `json:"Detail,omitnil,omitempty" name:"Detail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourcePackageSaleSpecRequest

type DescribeResourcePackageSaleSpecRequest struct {
	*tchttp.BaseRequest

	// Instance type
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Region of the resource pack. Valid values: `China` (Chinese mainland), `overseas` (outside Chinese mainland).
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack type. Valid values: `CCU` (compute resource pack, `DISK` (storage resource pack).
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeResourcePackageSaleSpecRequest

func NewDescribeResourcePackageSaleSpecRequest() (request *DescribeResourcePackageSaleSpecRequest)

func (*DescribeResourcePackageSaleSpecRequest) FromJsonString

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

func (*DescribeResourcePackageSaleSpecRequest) ToJsonString

type DescribeResourcePackageSaleSpecRequestParams

type DescribeResourcePackageSaleSpecRequestParams struct {
	// Instance type
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Region of the resource pack. Valid values: `China` (Chinese mainland), `overseas` (outside Chinese mainland).
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Resource pack type. Valid values: `CCU` (compute resource pack, `DISK` (storage resource pack).
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeResourcePackageSaleSpecResponse

type DescribeResourcePackageSaleSpecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcePackageSaleSpecResponseParams `json:"Response"`
}

func NewDescribeResourcePackageSaleSpecResponse

func NewDescribeResourcePackageSaleSpecResponse() (response *DescribeResourcePackageSaleSpecResponse)

func (*DescribeResourcePackageSaleSpecResponse) FromJsonString

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

func (*DescribeResourcePackageSaleSpecResponse) ToJsonString

type DescribeResourcePackageSaleSpecResponseParams

type DescribeResourcePackageSaleSpecResponseParams struct {
	// Total number of available resource packs
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Specifies the details of the resource pack.
	Detail []*SalePackageSpec `json:"Detail,omitnil,omitempty" name:"Detail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourcesByDealNameRequest

type DescribeResourcesByDealNameRequest struct {
	*tchttp.BaseRequest

	// Order ID. (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.)
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// Order ID, which can be used to query the resource information of multiple orders ID (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.)
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

func NewDescribeResourcesByDealNameRequest

func NewDescribeResourcesByDealNameRequest() (request *DescribeResourcesByDealNameRequest)

func (*DescribeResourcesByDealNameRequest) FromJsonString

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

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

func (*DescribeResourcesByDealNameRequest) ToJsonString

func (r *DescribeResourcesByDealNameRequest) ToJsonString() string

type DescribeResourcesByDealNameRequestParams

type DescribeResourcesByDealNameRequestParams struct {
	// Order ID. (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.)
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// Order ID, which can be used to query the resource information of multiple orders ID (If the cluster is not delivered yet, the `DescribeResourcesByDealName` API may return the `InvalidParameterValue.DealNameNotFound` error. Call the API again until it succeeds.)
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

Predefined struct for user

type DescribeResourcesByDealNameResponse

type DescribeResourcesByDealNameResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcesByDealNameResponseParams `json:"Response"`
}

func NewDescribeResourcesByDealNameResponse

func NewDescribeResourcesByDealNameResponse() (response *DescribeResourcesByDealNameResponse)

func (*DescribeResourcesByDealNameResponse) FromJsonString

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

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

func (*DescribeResourcesByDealNameResponse) ToJsonString

func (r *DescribeResourcesByDealNameResponse) ToJsonString() string

type DescribeResourcesByDealNameResponseParams

type DescribeResourcesByDealNameResponseParams struct {
	// Billable resource ID information array
	BillingResourceInfos []*BillingResourceInfo `json:"BillingResourceInfos,omitnil,omitempty" name:"BillingResourceInfos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRollbackTimeRangeRequest

type DescribeRollbackTimeRangeRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeRollbackTimeRangeRequest

func NewDescribeRollbackTimeRangeRequest() (request *DescribeRollbackTimeRangeRequest)

func (*DescribeRollbackTimeRangeRequest) FromJsonString

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

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

func (*DescribeRollbackTimeRangeRequest) ToJsonString

func (r *DescribeRollbackTimeRangeRequest) ToJsonString() string

type DescribeRollbackTimeRangeRequestParams

type DescribeRollbackTimeRangeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeRollbackTimeRangeResponse

type DescribeRollbackTimeRangeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRollbackTimeRangeResponseParams `json:"Response"`
}

func NewDescribeRollbackTimeRangeResponse

func NewDescribeRollbackTimeRangeResponse() (response *DescribeRollbackTimeRangeResponse)

func (*DescribeRollbackTimeRangeResponse) FromJsonString

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

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

func (*DescribeRollbackTimeRangeResponse) ToJsonString

func (r *DescribeRollbackTimeRangeResponse) ToJsonString() string

type DescribeRollbackTimeRangeResponseParams

type DescribeRollbackTimeRangeResponseParams struct {
	// Valid regression time range start time point (abandoned).
	TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"`

	// Valid regression time range end time point (abandoned).
	TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`

	// Time range available for rollback
	RollbackTimeRanges []*RollbackTimeRange `json:"RollbackTimeRanges,omitnil,omitempty" name:"RollbackTimeRanges"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServerlessInstanceSpecsRequest

type DescribeServerlessInstanceSpecsRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeServerlessInstanceSpecsRequest

func NewDescribeServerlessInstanceSpecsRequest() (request *DescribeServerlessInstanceSpecsRequest)

func (*DescribeServerlessInstanceSpecsRequest) FromJsonString

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

func (*DescribeServerlessInstanceSpecsRequest) ToJsonString

type DescribeServerlessInstanceSpecsRequestParams

type DescribeServerlessInstanceSpecsRequestParams struct {
	// Availability zone
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`
}

Predefined struct for user

type DescribeServerlessInstanceSpecsResponse

type DescribeServerlessInstanceSpecsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServerlessInstanceSpecsResponseParams `json:"Response"`
}

func NewDescribeServerlessInstanceSpecsResponse

func NewDescribeServerlessInstanceSpecsResponse() (response *DescribeServerlessInstanceSpecsResponse)

func (*DescribeServerlessInstanceSpecsResponse) FromJsonString

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

func (*DescribeServerlessInstanceSpecsResponse) ToJsonString

type DescribeServerlessInstanceSpecsResponseParams

type DescribeServerlessInstanceSpecsResponseParams struct {
	// Available specifications of Serverless instance.
	Specs []*ServerlessSpec `json:"Specs,omitnil,omitempty" name:"Specs"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServerlessStrategyRequest

type DescribeServerlessStrategyRequest struct {
	*tchttp.BaseRequest

	// Specifies the serverless cluster id.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeServerlessStrategyRequest

func NewDescribeServerlessStrategyRequest() (request *DescribeServerlessStrategyRequest)

func (*DescribeServerlessStrategyRequest) FromJsonString

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

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

func (*DescribeServerlessStrategyRequest) ToJsonString

func (r *DescribeServerlessStrategyRequest) ToJsonString() string

type DescribeServerlessStrategyRequestParams

type DescribeServerlessStrategyRequestParams struct {
	// Specifies the serverless cluster id.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeServerlessStrategyResponse

type DescribeServerlessStrategyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServerlessStrategyResponseParams `json:"Response"`
}

func NewDescribeServerlessStrategyResponse

func NewDescribeServerlessStrategyResponse() (response *DescribeServerlessStrategyResponse)

func (*DescribeServerlessStrategyResponse) FromJsonString

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

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

func (*DescribeServerlessStrategyResponse) ToJsonString

func (r *DescribeServerlessStrategyResponse) ToJsonString() string

type DescribeServerlessStrategyResponseParams

type DescribeServerlessStrategyResponseParams struct {
	// Specifies how long (in seconds) the auto-pause is triggered when the cpu load is 0.
	AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"`

	// Specifies how long (in seconds) the auto-scaling is triggered when the cpu load exceeds the number of cores in the current specifications.
	AutoScaleUpDelay *int64 `json:"AutoScaleUpDelay,omitnil,omitempty" name:"AutoScaleUpDelay"`

	// Specifies how long (in seconds) the system will wait for the cpu load to be lower than the number of cores in the lower specification before triggering automatic scaling down.
	AutoScaleDownDelay *int64 `json:"AutoScaleDownDelay,omitnil,omitempty" name:"AutoScaleDownDelay"`

	// Whether to automatically pause. valid values:.
	// yes
	// no
	AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"`

	// Specifies whether the cluster allows upward scaling. valid values: <li>yes</li><li>no</li>.
	AutoScaleUp *string `json:"AutoScaleUp,omitnil,omitempty" name:"AutoScaleUp"`

	// Whether the cluster is allowed to scale down. valid values: <li>yes</li><li>no</li>.
	AutoScaleDown *string `json:"AutoScaleDown,omitnil,omitempty" name:"AutoScaleDown"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSlaveZonesRequest

type DescribeSlaveZonesRequest struct {
	*tchttp.BaseRequest

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

	// Cloud frame cluster ID.
	OssClusterId *int64 `json:"OssClusterId,omitnil,omitempty" name:"OssClusterId"`
}

func NewDescribeSlaveZonesRequest

func NewDescribeSlaveZonesRequest() (request *DescribeSlaveZonesRequest)

func (*DescribeSlaveZonesRequest) FromJsonString

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

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

func (*DescribeSlaveZonesRequest) ToJsonString

func (r *DescribeSlaveZonesRequest) ToJsonString() string

type DescribeSlaveZonesRequestParams

type DescribeSlaveZonesRequestParams struct {
	// Availability zone
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Cloud frame cluster ID.
	OssClusterId *int64 `json:"OssClusterId,omitnil,omitempty" name:"OssClusterId"`
}

Predefined struct for user

type DescribeSlaveZonesResponse

type DescribeSlaveZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSlaveZonesResponseParams `json:"Response"`
}

func NewDescribeSlaveZonesResponse

func NewDescribeSlaveZonesResponse() (response *DescribeSlaveZonesResponse)

func (*DescribeSlaveZonesResponse) FromJsonString

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

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

func (*DescribeSlaveZonesResponse) ToJsonString

func (r *DescribeSlaveZonesResponse) ToJsonString() string

type DescribeSlaveZonesResponseParams

type DescribeSlaveZonesResponseParams struct {
	// Secondary AZ.
	SlaveZones []*string `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSupportProxyVersionRequest

type DescribeSupportProxyVersionRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

func NewDescribeSupportProxyVersionRequest

func NewDescribeSupportProxyVersionRequest() (request *DescribeSupportProxyVersionRequest)

func (*DescribeSupportProxyVersionRequest) FromJsonString

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

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

func (*DescribeSupportProxyVersionRequest) ToJsonString

func (r *DescribeSupportProxyVersionRequest) ToJsonString() string

type DescribeSupportProxyVersionRequestParams

type DescribeSupportProxyVersionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

Predefined struct for user

type DescribeSupportProxyVersionResponse

type DescribeSupportProxyVersionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSupportProxyVersionResponseParams `json:"Response"`
}

func NewDescribeSupportProxyVersionResponse

func NewDescribeSupportProxyVersionResponse() (response *DescribeSupportProxyVersionResponse)

func (*DescribeSupportProxyVersionResponse) FromJsonString

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

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

func (*DescribeSupportProxyVersionResponse) ToJsonString

func (r *DescribeSupportProxyVersionResponse) ToJsonString() string

type DescribeSupportProxyVersionResponseParams

type DescribeSupportProxyVersionResponseParams struct {
	// Supported database proxy version collections.
	SupportProxyVersions []*string `json:"SupportProxyVersions,omitnil,omitempty" name:"SupportProxyVersions"`

	// The current proxy version number.
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"`

	// Specifies the proxy version details.
	SupportProxyVersionDetail []*ProxyVersionInfo `json:"SupportProxyVersionDetail,omitnil,omitempty" name:"SupportProxyVersionDetail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// Whether the virtual zone is included.
	IncludeVirtualZones *bool `json:"IncludeVirtualZones,omitnil,omitempty" name:"IncludeVirtualZones"`

	// Whether to display all AZs in a region and the user's permissions in each AZ.
	ShowPermission *bool `json:"ShowPermission,omitnil,omitempty" name:"ShowPermission"`
}

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 {
	// Whether the virtual zone is included.
	IncludeVirtualZones *bool `json:"IncludeVirtualZones,omitnil,omitempty" name:"IncludeVirtualZones"`

	// Whether to display all AZs in a region and the user's permissions in each AZ.
	ShowPermission *bool `json:"ShowPermission,omitnil,omitempty" name:"ShowPermission"`
}

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 {
	// Region information
	RegionSet []*SaleRegion `json:"RegionSet,omitnil,omitempty" name:"RegionSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ErrorLogItemExport

type ErrorLogItemExport struct {
	// Time
	Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Specifies the log level. valid values are note, warning, and error.
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// Log content.
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

type ExportInstanceErrorLogsRequest

type ExportInstanceErrorLogsRequest struct {
	*tchttp.BaseRequest

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

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

	// Log end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The max number of returned results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Log level
	LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"`

	KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"`

	// The template type. Valid values: `csv`, `original`.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Valid value: `Timestamp`
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. valid values: ASC or DESC.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewExportInstanceErrorLogsRequest

func NewExportInstanceErrorLogsRequest() (request *ExportInstanceErrorLogsRequest)

func (*ExportInstanceErrorLogsRequest) FromJsonString

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

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

func (*ExportInstanceErrorLogsRequest) ToJsonString

func (r *ExportInstanceErrorLogsRequest) ToJsonString() string

type ExportInstanceErrorLogsRequestParams

type ExportInstanceErrorLogsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

	// Log end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The max number of returned results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Log level
	LogLevels []*string `json:"LogLevels,omitnil,omitempty" name:"LogLevels"`

	KeyWords []*string `json:"KeyWords,omitnil,omitempty" name:"KeyWords"`

	// The template type. Valid values: `csv`, `original`.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Valid value: `Timestamp`
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. valid values: ASC or DESC.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type ExportInstanceErrorLogsResponse

type ExportInstanceErrorLogsResponse struct {
	*tchttp.BaseResponse
	Response *ExportInstanceErrorLogsResponseParams `json:"Response"`
}

func NewExportInstanceErrorLogsResponse

func NewExportInstanceErrorLogsResponse() (response *ExportInstanceErrorLogsResponse)

func (*ExportInstanceErrorLogsResponse) FromJsonString

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

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

func (*ExportInstanceErrorLogsResponse) ToJsonString

func (r *ExportInstanceErrorLogsResponse) ToJsonString() string

type ExportInstanceErrorLogsResponseParams

type ExportInstanceErrorLogsResponseParams struct {
	// Exported error log content.
	ErrorLogItems []*ErrorLogItemExport `json:"ErrorLogItems,omitnil,omitempty" name:"ErrorLogItems"`

	// Error log string.
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ExportInstanceSlowQueriesRequest

type ExportInstanceSlowQueriesRequest struct {
	*tchttp.BaseRequest

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

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

	// Transaction end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Username
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// Client host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// File type. Valid values: csv, original.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Sorting field. Valid values: `QueryTime`, `LockTime`, `RowsExamined`, and `RowsSent`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

func NewExportInstanceSlowQueriesRequest

func NewExportInstanceSlowQueriesRequest() (request *ExportInstanceSlowQueriesRequest)

func (*ExportInstanceSlowQueriesRequest) FromJsonString

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

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

func (*ExportInstanceSlowQueriesRequest) ToJsonString

func (r *ExportInstanceSlowQueriesRequest) ToJsonString() string

type ExportInstanceSlowQueriesRequestParams

type ExportInstanceSlowQueriesRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

	// Transaction end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Maximum number
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Username
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// Client host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// File type. Valid values: csv, original.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Sorting field. Valid values: `QueryTime`, `LockTime`, `RowsExamined`, and `RowsSent`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

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

Predefined struct for user

type ExportInstanceSlowQueriesResponse

type ExportInstanceSlowQueriesResponse struct {
	*tchttp.BaseResponse
	Response *ExportInstanceSlowQueriesResponseParams `json:"Response"`
}

func NewExportInstanceSlowQueriesResponse

func NewExportInstanceSlowQueriesResponse() (response *ExportInstanceSlowQueriesResponse)

func (*ExportInstanceSlowQueriesResponse) FromJsonString

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

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

func (*ExportInstanceSlowQueriesResponse) ToJsonString

func (r *ExportInstanceSlowQueriesResponse) ToJsonString() string

type ExportInstanceSlowQueriesResponseParams

type ExportInstanceSlowQueriesResponseParams struct {
	// Slow query export content
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ExportResourcePackageDeductDetailsRequest

type ExportResourcePackageDeductDetailsRequest struct {
	*tchttp.BaseRequest

	// Resource package ID to be exported.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Specifies the cluster ID of the cynos cluster that uses the resource package capacity.
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Sorting field. currently supports: createTime (resource package deduction time), successDeductSpec (resource package deduction amount).
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. supports ASC, DESC, ASC, DESC.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// A maximum of 2000 rows of data can be exported at a time. currently, a maximum of 2000 rows are supported.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset and page number.
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Specifies the format for exporting data. currently only supports csv format, reserved for future expansion.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`
}

func NewExportResourcePackageDeductDetailsRequest

func NewExportResourcePackageDeductDetailsRequest() (request *ExportResourcePackageDeductDetailsRequest)

func (*ExportResourcePackageDeductDetailsRequest) FromJsonString

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

func (*ExportResourcePackageDeductDetailsRequest) ToJsonString

type ExportResourcePackageDeductDetailsRequestParams

type ExportResourcePackageDeductDetailsRequestParams struct {
	// Resource package ID to be exported.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Specifies the cluster ID of the cynos cluster that uses the resource package capacity.
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Sorting field. currently supports: createTime (resource package deduction time), successDeductSpec (resource package deduction amount).
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting type. supports ASC, DESC, ASC, DESC.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// A maximum of 2000 rows of data can be exported at a time. currently, a maximum of 2000 rows are supported.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset and page number.
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Specifies the format for exporting data. currently only supports csv format, reserved for future expansion.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`
}

Predefined struct for user

type ExportResourcePackageDeductDetailsResponse

type ExportResourcePackageDeductDetailsResponse struct {
	*tchttp.BaseResponse
	Response *ExportResourcePackageDeductDetailsResponseParams `json:"Response"`
}

func NewExportResourcePackageDeductDetailsResponse

func NewExportResourcePackageDeductDetailsResponse() (response *ExportResourcePackageDeductDetailsResponse)

func (*ExportResourcePackageDeductDetailsResponse) FromJsonString

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

func (*ExportResourcePackageDeductDetailsResponse) ToJsonString

type ExportResourcePackageDeductDetailsResponseParams

type ExportResourcePackageDeductDetailsResponseParams struct {
	// File detail.
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InputAccount

type InputAccount struct {
	// Account
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Host. Default value: `%`
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`
}

type InquirePriceCreateRequest

type InquirePriceCreateRequest struct {
	*tchttp.BaseRequest

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of compute node to purchase
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// Instance type for purchase. Valid values: `PREPAID`, `POSTPAID`, `SERVERLESS`.
	InstancePayMode *string `json:"InstancePayMode,omitnil,omitempty" name:"InstancePayMode"`

	// Storage type for purchase. Valid values: `PREPAID`, `POSTPAID`.
	StoragePayMode *string `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// device type:common, exclusive
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// CCU size, which is required when `InstancePayMode` is `SERVERLESS`.
	Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"`

	// Storage size, which is required when `StoragePayMode` is `PREPAID`.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Validity period, which is required when `InstancePayMode` is `PREPAID`.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Duration unit, which is required when `InstancePayMode` is `PREPAID`. Valid values: `m` (month), `d` (day).
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
}

func NewInquirePriceCreateRequest

func NewInquirePriceCreateRequest() (request *InquirePriceCreateRequest)

func (*InquirePriceCreateRequest) FromJsonString

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

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

func (*InquirePriceCreateRequest) ToJsonString

func (r *InquirePriceCreateRequest) ToJsonString() string

type InquirePriceCreateRequestParams

type InquirePriceCreateRequestParams struct {
	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of compute node to purchase
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// Instance type for purchase. Valid values: `PREPAID`, `POSTPAID`, `SERVERLESS`.
	InstancePayMode *string `json:"InstancePayMode,omitnil,omitempty" name:"InstancePayMode"`

	// Storage type for purchase. Valid values: `PREPAID`, `POSTPAID`.
	StoragePayMode *string `json:"StoragePayMode,omitnil,omitempty" name:"StoragePayMode"`

	// device type:common, exclusive
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// CCU size, which is required when `InstancePayMode` is `SERVERLESS`.
	Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"`

	// Storage size, which is required when `StoragePayMode` is `PREPAID`.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Validity period, which is required when `InstancePayMode` is `PREPAID`.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Duration unit, which is required when `InstancePayMode` is `PREPAID`. Valid values: `m` (month), `d` (day).
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
}

Predefined struct for user

type InquirePriceCreateResponse

type InquirePriceCreateResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceCreateResponseParams `json:"Response"`
}

func NewInquirePriceCreateResponse

func NewInquirePriceCreateResponse() (response *InquirePriceCreateResponse)

func (*InquirePriceCreateResponse) FromJsonString

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

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

func (*InquirePriceCreateResponse) ToJsonString

func (r *InquirePriceCreateResponse) ToJsonString() string

type InquirePriceCreateResponseParams

type InquirePriceCreateResponseParams struct {
	// Instance price
	InstancePrice *TradePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"`

	// Storage price
	StoragePrice *TradePrice `json:"StoragePrice,omitnil,omitempty" name:"StoragePrice"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquirePriceModifyRequest

type InquirePriceModifyRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies the number of CPU cores.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory Size
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage size, storage resource adjustment: ClusterId, StorageLimit.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Instance ID. computational resource adjustment requires passing: ClusterId, instance ID, Cpu, Memory.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance device type.
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// Specifies the ccu size of the serverless instance.
	Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"`
}

func NewInquirePriceModifyRequest

func NewInquirePriceModifyRequest() (request *InquirePriceModifyRequest)

func (*InquirePriceModifyRequest) FromJsonString

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

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

func (*InquirePriceModifyRequest) ToJsonString

func (r *InquirePriceModifyRequest) ToJsonString() string

type InquirePriceModifyRequestParams

type InquirePriceModifyRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies the number of CPU cores.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory Size
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage size, storage resource adjustment: ClusterId, StorageLimit.
	StorageLimit *int64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Instance ID. computational resource adjustment requires passing: ClusterId, instance ID, Cpu, Memory.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance device type.
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// Specifies the ccu size of the serverless instance.
	Ccu *float64 `json:"Ccu,omitnil,omitempty" name:"Ccu"`
}

Predefined struct for user

type InquirePriceModifyResponse

type InquirePriceModifyResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceModifyResponseParams `json:"Response"`
}

func NewInquirePriceModifyResponse

func NewInquirePriceModifyResponse() (response *InquirePriceModifyResponse)

func (*InquirePriceModifyResponse) FromJsonString

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

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

func (*InquirePriceModifyResponse) ToJsonString

func (r *InquirePriceModifyResponse) ToJsonString() string

type InquirePriceModifyResponseParams

type InquirePriceModifyResponseParams struct {
	// Instance price.
	InstancePrice *TradePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"`

	// Specifies the storage price.
	StoragePrice *TradePrice `json:"StoragePrice,omitnil,omitempty" name:"StoragePrice"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquirePriceRenewRequest

type InquirePriceRenewRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Validity period, which needs to be used together with `TimeUnit`.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Unit of validity period, which needs to be used together with `TimeSpan`. Valid values: `d` (day), `m` (month).
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
}

func NewInquirePriceRenewRequest

func NewInquirePriceRenewRequest() (request *InquirePriceRenewRequest)

func (*InquirePriceRenewRequest) FromJsonString

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

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

func (*InquirePriceRenewRequest) ToJsonString

func (r *InquirePriceRenewRequest) ToJsonString() string

type InquirePriceRenewRequestParams

type InquirePriceRenewRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Validity period, which needs to be used together with `TimeUnit`.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Unit of validity period, which needs to be used together with `TimeSpan`. Valid values: `d` (day), `m` (month).
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
}

Predefined struct for user

type InquirePriceRenewResponse

type InquirePriceRenewResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceRenewResponseParams `json:"Response"`
}

func NewInquirePriceRenewResponse

func NewInquirePriceRenewResponse() (response *InquirePriceRenewResponse)

func (*InquirePriceRenewResponse) FromJsonString

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

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

func (*InquirePriceRenewResponse) ToJsonString

func (r *InquirePriceRenewResponse) ToJsonString() string

type InquirePriceRenewResponseParams

type InquirePriceRenewResponseParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID list
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Price of instance specification in array
	Prices []*TradePrice `json:"Prices,omitnil,omitempty" name:"Prices"`

	// Total renewal price of compute node
	InstanceRealTotalPrice *int64 `json:"InstanceRealTotalPrice,omitnil,omitempty" name:"InstanceRealTotalPrice"`

	// Total renewal price of storage node
	StorageRealTotalPrice *int64 `json:"StorageRealTotalPrice,omitnil,omitempty" name:"StorageRealTotalPrice"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstanceAbility

type InstanceAbility struct {
	// Specifies whether the instance supports forced reboot. valid values: yes (supported), no (unsupported).
	IsSupportForceRestart *string `json:"IsSupportForceRestart,omitnil,omitempty" name:"IsSupportForceRestart"`

	// Specifies the causes for not supporting forced reboot.
	NonsupportForceRestartReason *string `json:"NonsupportForceRestartReason,omitnil,omitempty" name:"NonsupportForceRestartReason"`
}

type InstanceAuditRule

type InstanceAuditRule struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies whether it is a rule-based audit. true - rule-based audit; false - comprehensive audit.
	AuditRule *bool `json:"AuditRule,omitnil,omitempty" name:"AuditRule"`

	// Specifies the audit rule details. valid when AuditRule=true.
	AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"`

	// Whether it is an audit policy.
	OldRule *bool `json:"OldRule,omitnil,omitempty" name:"OldRule"`

	// The rule template details of the instance application.
	RuleTemplates []*RuleTemplateInfo `json:"RuleTemplates,omitnil,omitempty" name:"RuleTemplates"`
}

type InstanceInitInfo

type InstanceInitInfo struct {
	// Instance CPU
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance type. Valid values:`rw`, `ro`.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Number of the instances. Value range: 1-15.
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// Minimum number of serverless instances. Value range: 1-15.
	MinRoCount *int64 `json:"MinRoCount,omitnil,omitempty" name:"MinRoCount"`

	// Maximum number of serverless instances. Value range: 1-15.
	MaxRoCount *int64 `json:"MaxRoCount,omitnil,omitempty" name:"MaxRoCount"`

	// Minimum specifications for serverless instance
	MinRoCpu *float64 `json:"MinRoCpu,omitnil,omitempty" name:"MinRoCpu"`

	// Maximum specifications for serverless instance
	MaxRoCpu *float64 `json:"MaxRoCpu,omitnil,omitempty" name:"MaxRoCpu"`
}

type InstanceNetInfo

type InstanceNetInfo struct {
	// Network type.
	InstanceGroupType *string `json:"InstanceGroupType,omitnil,omitempty" name:"InstanceGroupType"`

	// Instance group ID
	InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"`

	// Specifies the virtual private cloud ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Specifies the subnet ID.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Network type. valid values: 0 (basic network), 1 (vpc network), 2 (blackstone network).
	NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"`

	// VPC IP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// VPC port.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Specifies the public network domain name.
	WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"`

	// Public IP address
	WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"`

	// Public network port.
	WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"`

	// Public network enabled status.
	WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"`
}

type InstanceParamItem

type InstanceParamItem struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of instance parameters
	ParamsItems []*ParamItemDetail `json:"ParamsItems,omitnil,omitempty" name:"ParamsItems"`
}

type InstanceSpec

type InstanceSpec struct {
	// Number of instance CPU cores
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory in GB
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Maximum instance storage capacity GB
	MaxStorageSize *uint64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"`

	// Minimum instance storage capacity GB
	MinStorageSize *uint64 `json:"MinStorageSize,omitnil,omitempty" name:"MinStorageSize"`

	// Whether there is an inventory.
	HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"`

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

	// Maximum IOPS
	MaxIops *int64 `json:"MaxIops,omitnil,omitempty" name:"MaxIops"`

	// Maximum bandwidth
	MaxIoBandWidth *int64 `json:"MaxIoBandWidth,omitnil,omitempty" name:"MaxIoBandWidth"`

	// Regional inventory information.
	ZoneStockInfos []*ZoneStockInfo `json:"ZoneStockInfos,omitnil,omitempty" name:"ZoneStockInfos"`

	// Inventory quantity.
	StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"`
}

type IsolateClusterRequest

type IsolateClusterRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

func NewIsolateClusterRequest

func NewIsolateClusterRequest() (request *IsolateClusterRequest)

func (*IsolateClusterRequest) FromJsonString

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

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

func (*IsolateClusterRequest) ToJsonString

func (r *IsolateClusterRequest) ToJsonString() string

type IsolateClusterRequestParams

type IsolateClusterRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

Predefined struct for user

type IsolateClusterResponse

type IsolateClusterResponse struct {
	*tchttp.BaseResponse
	Response *IsolateClusterResponseParams `json:"Response"`
}

func NewIsolateClusterResponse

func NewIsolateClusterResponse() (response *IsolateClusterResponse)

func (*IsolateClusterResponse) FromJsonString

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

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

func (*IsolateClusterResponse) ToJsonString

func (r *IsolateClusterResponse) ToJsonString() string

type IsolateClusterResponseParams

type IsolateClusterResponseParams struct {
	// Task flow ID (returned for pay-as-you-go or serverless resources. if necessary to sync task status, please use the DescribeFlow api).
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Refund order number (returned for prepaid resources. if necessary, synchronize the order status by using the billing product's DescribeDealsByCond to synchronize the order status).
	// Note: This field may return null, indicating that no valid values can be obtained.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type IsolateInstanceRequest

type IsolateInstanceRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID array
	InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

func NewIsolateInstanceRequest

func NewIsolateInstanceRequest() (request *IsolateInstanceRequest)

func (*IsolateInstanceRequest) FromJsonString

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

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

func (*IsolateInstanceRequest) ToJsonString

func (r *IsolateInstanceRequest) ToJsonString() string

type IsolateInstanceRequestParams

type IsolateInstanceRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID array
	InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`
}

Predefined struct for user

type IsolateInstanceResponse

type IsolateInstanceResponse struct {
	*tchttp.BaseResponse
	Response *IsolateInstanceResponseParams `json:"Response"`
}

func NewIsolateInstanceResponse

func NewIsolateInstanceResponse() (response *IsolateInstanceResponse)

func (*IsolateInstanceResponse) FromJsonString

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

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

func (*IsolateInstanceResponse) ToJsonString

func (r *IsolateInstanceResponse) ToJsonString() string

type IsolateInstanceResponseParams

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

	// Order ID for isolated instance (prepaid instance)
	// Note: this field may return null, indicating that no valid values can be obtained.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LogicBackupConfigInfo

type LogicBackupConfigInfo struct {
	// Whether automatic logical backup is enabled.
	LogicBackupEnable *string `json:"LogicBackupEnable,omitnil,omitempty" name:"LogicBackupEnable"`

	// Specifies the automatic logic backup start time.
	LogicBackupTimeBeg *uint64 `json:"LogicBackupTimeBeg,omitnil,omitempty" name:"LogicBackupTimeBeg"`

	// Specifies the termination time of automatic logical backup.
	LogicBackupTimeEnd *uint64 `json:"LogicBackupTimeEnd,omitnil,omitempty" name:"LogicBackupTimeEnd"`

	// Specifies the retention time for automatic logical backup.
	LogicReserveDuration *uint64 `json:"LogicReserveDuration,omitnil,omitempty" name:"LogicReserveDuration"`

	// Whether cross-regional logical backup is enabled.
	LogicCrossRegionsEnable *string `json:"LogicCrossRegionsEnable,omitnil,omitempty" name:"LogicCrossRegionsEnable"`

	LogicCrossRegions []*string `json:"LogicCrossRegions,omitnil,omitempty" name:"LogicCrossRegions"`
}

type ModifiableInfo

type ModifiableInfo struct {
	IsModifiable *int64 `json:"IsModifiable,omitnil,omitempty" name:"IsModifiable"`
}

type ModifyAccountDescriptionRequest

type ModifyAccountDescriptionRequest struct {
	*tchttp.BaseRequest

	// Database account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Database account description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Host. Default value: `%`
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`
}

func NewModifyAccountDescriptionRequest

func NewModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest)

func (*ModifyAccountDescriptionRequest) FromJsonString

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

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

func (*ModifyAccountDescriptionRequest) ToJsonString

func (r *ModifyAccountDescriptionRequest) ToJsonString() string

type ModifyAccountDescriptionRequestParams

type ModifyAccountDescriptionRequestParams struct {
	// Database account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Database account description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Host. Default value: `%`
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`
}

Predefined struct for user

type ModifyAccountDescriptionResponse

type ModifyAccountDescriptionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountDescriptionResponseParams `json:"Response"`
}

func NewModifyAccountDescriptionResponse

func NewModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse)

func (*ModifyAccountDescriptionResponse) FromJsonString

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

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

func (*ModifyAccountDescriptionResponse) ToJsonString

func (r *ModifyAccountDescriptionResponse) ToJsonString() string

type ModifyAccountDescriptionResponseParams

type ModifyAccountDescriptionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAccountHostRequest

type ModifyAccountHostRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// New host
	NewHost *string `json:"NewHost,omitnil,omitempty" name:"NewHost"`

	// Account infomation
	Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"`
}

func NewModifyAccountHostRequest

func NewModifyAccountHostRequest() (request *ModifyAccountHostRequest)

func (*ModifyAccountHostRequest) FromJsonString

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

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

func (*ModifyAccountHostRequest) ToJsonString

func (r *ModifyAccountHostRequest) ToJsonString() string

type ModifyAccountHostRequestParams

type ModifyAccountHostRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// New host
	NewHost *string `json:"NewHost,omitnil,omitempty" name:"NewHost"`

	// Account infomation
	Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"`
}

Predefined struct for user

type ModifyAccountHostResponse

type ModifyAccountHostResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountHostResponseParams `json:"Response"`
}

func NewModifyAccountHostResponse

func NewModifyAccountHostResponse() (response *ModifyAccountHostResponse)

func (*ModifyAccountHostResponse) FromJsonString

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

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

func (*ModifyAccountHostResponse) ToJsonString

func (r *ModifyAccountHostResponse) ToJsonString() string

type ModifyAccountHostResponseParams

type ModifyAccountHostResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAccountPrivilegesRequest

type ModifyAccountPrivilegesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Account infomation
	Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"`

	// Array of global permissions
	GlobalPrivileges []*string `json:"GlobalPrivileges,omitnil,omitempty" name:"GlobalPrivileges"`

	// Array of database permissions
	DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitnil,omitempty" name:"DatabasePrivileges"`

	// Array of table permissions
	TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitnil,omitempty" name:"TablePrivileges"`
}

func NewModifyAccountPrivilegesRequest

func NewModifyAccountPrivilegesRequest() (request *ModifyAccountPrivilegesRequest)

func (*ModifyAccountPrivilegesRequest) FromJsonString

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

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

func (*ModifyAccountPrivilegesRequest) ToJsonString

func (r *ModifyAccountPrivilegesRequest) ToJsonString() string

type ModifyAccountPrivilegesRequestParams

type ModifyAccountPrivilegesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Account infomation
	Account *InputAccount `json:"Account,omitnil,omitempty" name:"Account"`

	// Array of global permissions
	GlobalPrivileges []*string `json:"GlobalPrivileges,omitnil,omitempty" name:"GlobalPrivileges"`

	// Array of database permissions
	DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitnil,omitempty" name:"DatabasePrivileges"`

	// Array of table permissions
	TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitnil,omitempty" name:"TablePrivileges"`
}

Predefined struct for user

type ModifyAccountPrivilegesResponse

type ModifyAccountPrivilegesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountPrivilegesResponseParams `json:"Response"`
}

func NewModifyAccountPrivilegesResponse

func NewModifyAccountPrivilegesResponse() (response *ModifyAccountPrivilegesResponse)

func (*ModifyAccountPrivilegesResponse) FromJsonString

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

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

func (*ModifyAccountPrivilegesResponse) ToJsonString

func (r *ModifyAccountPrivilegesResponse) ToJsonString() string

type ModifyAccountPrivilegesResponseParams

type ModifyAccountPrivilegesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAuditRuleTemplatesRequest

type ModifyAuditRuleTemplatesRequest struct {
	*tchttp.BaseRequest

	// Audit rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`

	// Audit rule after modification
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// New name of the rule template
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// New description of the rule template
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyAuditRuleTemplatesRequest

func NewModifyAuditRuleTemplatesRequest() (request *ModifyAuditRuleTemplatesRequest)

func (*ModifyAuditRuleTemplatesRequest) FromJsonString

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

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

func (*ModifyAuditRuleTemplatesRequest) ToJsonString

func (r *ModifyAuditRuleTemplatesRequest) ToJsonString() string

type ModifyAuditRuleTemplatesRequestParams

type ModifyAuditRuleTemplatesRequestParams struct {
	// Audit rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`

	// Audit rule after modification
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// New name of the rule template
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// New description of the rule template
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyAuditRuleTemplatesResponse

type ModifyAuditRuleTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAuditRuleTemplatesResponseParams `json:"Response"`
}

func NewModifyAuditRuleTemplatesResponse

func NewModifyAuditRuleTemplatesResponse() (response *ModifyAuditRuleTemplatesResponse)

func (*ModifyAuditRuleTemplatesResponse) FromJsonString

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

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

func (*ModifyAuditRuleTemplatesResponse) ToJsonString

func (r *ModifyAuditRuleTemplatesResponse) ToJsonString() string

type ModifyAuditRuleTemplatesResponseParams

type ModifyAuditRuleTemplatesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAuditServiceRequest

type ModifyAuditServiceRequest struct {
	*tchttp.BaseRequest

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

	// Log retention period
	LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"`

	// Frequent log retention period
	HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"`

	// The parameter used to change the audit rule of the instance to full audit
	AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"`

	// Rule audit
	AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"`

	// Rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

func NewModifyAuditServiceRequest

func NewModifyAuditServiceRequest() (request *ModifyAuditServiceRequest)

func (*ModifyAuditServiceRequest) FromJsonString

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

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

func (*ModifyAuditServiceRequest) ToJsonString

func (r *ModifyAuditServiceRequest) ToJsonString() string

type ModifyAuditServiceRequestParams

type ModifyAuditServiceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Log retention period
	LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"`

	// Frequent log retention period
	HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"`

	// The parameter used to change the audit rule of the instance to full audit
	AuditAll *bool `json:"AuditAll,omitnil,omitempty" name:"AuditAll"`

	// Rule audit
	AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"`

	// Rule template ID
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

Predefined struct for user

type ModifyAuditServiceResponse

type ModifyAuditServiceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAuditServiceResponseParams `json:"Response"`
}

func NewModifyAuditServiceResponse

func NewModifyAuditServiceResponse() (response *ModifyAuditServiceResponse)

func (*ModifyAuditServiceResponse) FromJsonString

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

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

func (*ModifyAuditServiceResponse) ToJsonString

func (r *ModifyAuditServiceResponse) ToJsonString() string

type ModifyAuditServiceResponseParams

type ModifyAuditServiceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupConfigRequest

type ModifyBackupConfigRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively
	BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"`

	// Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively.
	BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"`

	// Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800. Maximum value: 158112000.
	ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"`

	// Backup frequency. It is an array of 7 elements corresponding to Monday through Sunday. full: full backup; increment: incremental backup. This parameter cannot be modified currently and doesn't need to be entered.
	BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"`

	// Currently, this parameter does not support modification and is not required.
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	LogicBackupConfig *LogicBackupConfigInfo `json:"LogicBackupConfig,omitnil,omitempty" name:"LogicBackupConfig"`

	DeleteAutoLogicBackup *bool `json:"DeleteAutoLogicBackup,omitnil,omitempty" name:"DeleteAutoLogicBackup"`
}

func NewModifyBackupConfigRequest

func NewModifyBackupConfigRequest() (request *ModifyBackupConfigRequest)

func (*ModifyBackupConfigRequest) FromJsonString

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

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

func (*ModifyBackupConfigRequest) ToJsonString

func (r *ModifyBackupConfigRequest) ToJsonString() string

type ModifyBackupConfigRequestParams

type ModifyBackupConfigRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Full backup start time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively
	BackupTimeBeg *uint64 `json:"BackupTimeBeg,omitnil,omitempty" name:"BackupTimeBeg"`

	// Full backup end time. Value range: [0-24*3600]. For example, 0:00 AM, 1:00 AM, and 2:00 AM are represented by 0, 3600, and 7200, respectively.
	BackupTimeEnd *uint64 `json:"BackupTimeEnd,omitnil,omitempty" name:"BackupTimeEnd"`

	// Backup retention period in seconds. Backups will be cleared after this period elapses. 7 days is represented by 3600*24*7 = 604800. Maximum value: 158112000.
	ReserveDuration *uint64 `json:"ReserveDuration,omitnil,omitempty" name:"ReserveDuration"`

	// Backup frequency. It is an array of 7 elements corresponding to Monday through Sunday. full: full backup; increment: incremental backup. This parameter cannot be modified currently and doesn't need to be entered.
	BackupFreq []*string `json:"BackupFreq,omitnil,omitempty" name:"BackupFreq"`

	// Currently, this parameter does not support modification and is not required.
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	LogicBackupConfig *LogicBackupConfigInfo `json:"LogicBackupConfig,omitnil,omitempty" name:"LogicBackupConfig"`

	DeleteAutoLogicBackup *bool `json:"DeleteAutoLogicBackup,omitnil,omitempty" name:"DeleteAutoLogicBackup"`
}

Predefined struct for user

type ModifyBackupConfigResponse

type ModifyBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupConfigResponseParams `json:"Response"`
}

func NewModifyBackupConfigResponse

func NewModifyBackupConfigResponse() (response *ModifyBackupConfigResponse)

func (*ModifyBackupConfigResponse) FromJsonString

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

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

func (*ModifyBackupConfigResponse) ToJsonString

func (r *ModifyBackupConfigResponse) ToJsonString() string

type ModifyBackupConfigResponseParams

type ModifyBackupConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionRequest

type ModifyBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
	LimitType *string `json:"LimitType,omitnil,omitempty" name:"LimitType"`

	// This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil,omitempty" name:"VpcComparisonSymbol"`

	// Specified ips can download; specified ips are not allowed to download.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// Limit the vpc settings for downloads.
	LimitVpcs []*BackupLimitVpcItem `json:"LimitVpcs,omitnil,omitempty" name:"LimitVpcs"`

	// Specifies the ip settings for limiting downloads.
	LimitIps []*string `json:"LimitIps,omitnil,omitempty" name:"LimitIps"`
}

func NewModifyBackupDownloadRestrictionRequest

func NewModifyBackupDownloadRestrictionRequest() (request *ModifyBackupDownloadRestrictionRequest)

func (*ModifyBackupDownloadRestrictionRequest) FromJsonString

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

func (*ModifyBackupDownloadRestrictionRequest) ToJsonString

type ModifyBackupDownloadRestrictionRequestParams

type ModifyBackupDownloadRestrictionRequestParams struct {
	// Cluster ID
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
	LimitType *string `json:"LimitType,omitnil,omitempty" name:"LimitType"`

	// This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil,omitempty" name:"VpcComparisonSymbol"`

	// Specified ips can download; specified ips are not allowed to download.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// Limit the vpc settings for downloads.
	LimitVpcs []*BackupLimitVpcItem `json:"LimitVpcs,omitnil,omitempty" name:"LimitVpcs"`

	// Specifies the ip settings for limiting downloads.
	LimitIps []*string `json:"LimitIps,omitnil,omitempty" name:"LimitIps"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionResponse

type ModifyBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewModifyBackupDownloadRestrictionResponse

func NewModifyBackupDownloadRestrictionResponse() (response *ModifyBackupDownloadRestrictionResponse)

func (*ModifyBackupDownloadRestrictionResponse) FromJsonString

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

func (*ModifyBackupDownloadRestrictionResponse) ToJsonString

type ModifyBackupDownloadRestrictionResponseParams

type ModifyBackupDownloadRestrictionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupDownloadUserRestrictionRequest

type ModifyBackupDownloadUserRestrictionRequest struct {
	*tchttp.BaseRequest

	// Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
	LimitType *string `json:"LimitType,omitnil,omitempty" name:"LimitType"`

	// This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil,omitempty" name:"VpcComparisonSymbol"`

	// Specified ips can download; specified ips are not allowed to download.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// Limit the vpc settings for downloads.
	LimitVpcs []*BackupLimitVpcItem `json:"LimitVpcs,omitnil,omitempty" name:"LimitVpcs"`

	// Specifies the ip settings for limiting downloads.
	LimitIps []*string `json:"LimitIps,omitnil,omitempty" name:"LimitIps"`
}

func NewModifyBackupDownloadUserRestrictionRequest

func NewModifyBackupDownloadUserRestrictionRequest() (request *ModifyBackupDownloadUserRestrictionRequest)

func (*ModifyBackupDownloadUserRestrictionRequest) FromJsonString

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

func (*ModifyBackupDownloadUserRestrictionRequest) ToJsonString

type ModifyBackupDownloadUserRestrictionRequestParams

type ModifyBackupDownloadUserRestrictionRequestParams struct {
	// Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
	LimitType *string `json:"LimitType,omitnil,omitempty" name:"LimitType"`

	// This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil,omitempty" name:"VpcComparisonSymbol"`

	// Specified ips can download; specified ips are not allowed to download.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// Limit the vpc settings for downloads.
	LimitVpcs []*BackupLimitVpcItem `json:"LimitVpcs,omitnil,omitempty" name:"LimitVpcs"`

	// Specifies the ip settings for limiting downloads.
	LimitIps []*string `json:"LimitIps,omitnil,omitempty" name:"LimitIps"`
}

Predefined struct for user

type ModifyBackupDownloadUserRestrictionResponse

type ModifyBackupDownloadUserRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupDownloadUserRestrictionResponseParams `json:"Response"`
}

func NewModifyBackupDownloadUserRestrictionResponse

func NewModifyBackupDownloadUserRestrictionResponse() (response *ModifyBackupDownloadUserRestrictionResponse)

func (*ModifyBackupDownloadUserRestrictionResponse) FromJsonString

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

func (*ModifyBackupDownloadUserRestrictionResponse) ToJsonString

type ModifyBackupDownloadUserRestrictionResponseParams

type ModifyBackupDownloadUserRestrictionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupNameRequest

type ModifyBackupNameRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup file ID
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup name, which can contain up to 60 characters.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`
}

func NewModifyBackupNameRequest

func NewModifyBackupNameRequest() (request *ModifyBackupNameRequest)

func (*ModifyBackupNameRequest) FromJsonString

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

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

func (*ModifyBackupNameRequest) ToJsonString

func (r *ModifyBackupNameRequest) ToJsonString() string

type ModifyBackupNameRequestParams

type ModifyBackupNameRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Backup file ID
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup name, which can contain up to 60 characters.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`
}

Predefined struct for user

type ModifyBackupNameResponse

type ModifyBackupNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupNameResponseParams `json:"Response"`
}

func NewModifyBackupNameResponse

func NewModifyBackupNameResponse() (response *ModifyBackupNameResponse)

func (*ModifyBackupNameResponse) FromJsonString

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

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

func (*ModifyBackupNameResponse) ToJsonString

func (r *ModifyBackupNameResponse) ToJsonString() string

type ModifyBackupNameResponseParams

type ModifyBackupNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBinlogConfigRequest

type ModifyBinlogConfigRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies the Binlog configuration message.
	BinlogConfig *BinlogConfigInfo `json:"BinlogConfig,omitnil,omitempty" name:"BinlogConfig"`
}

func NewModifyBinlogConfigRequest

func NewModifyBinlogConfigRequest() (request *ModifyBinlogConfigRequest)

func (*ModifyBinlogConfigRequest) FromJsonString

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

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

func (*ModifyBinlogConfigRequest) ToJsonString

func (r *ModifyBinlogConfigRequest) ToJsonString() string

type ModifyBinlogConfigRequestParams

type ModifyBinlogConfigRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies the Binlog configuration message.
	BinlogConfig *BinlogConfigInfo `json:"BinlogConfig,omitnil,omitempty" name:"BinlogConfig"`
}

Predefined struct for user

type ModifyBinlogConfigResponse

type ModifyBinlogConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBinlogConfigResponseParams `json:"Response"`
}

func NewModifyBinlogConfigResponse

func NewModifyBinlogConfigResponse() (response *ModifyBinlogConfigResponse)

func (*ModifyBinlogConfigResponse) FromJsonString

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

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

func (*ModifyBinlogConfigResponse) ToJsonString

func (r *ModifyBinlogConfigResponse) ToJsonString() string

type ModifyBinlogConfigResponseParams

type ModifyBinlogConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBinlogSaveDaysRequest

type ModifyBinlogSaveDaysRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Binlog retention period in days
	BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"`
}

func NewModifyBinlogSaveDaysRequest

func NewModifyBinlogSaveDaysRequest() (request *ModifyBinlogSaveDaysRequest)

func (*ModifyBinlogSaveDaysRequest) FromJsonString

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

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

func (*ModifyBinlogSaveDaysRequest) ToJsonString

func (r *ModifyBinlogSaveDaysRequest) ToJsonString() string

type ModifyBinlogSaveDaysRequestParams

type ModifyBinlogSaveDaysRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Binlog retention period in days
	BinlogSaveDays *int64 `json:"BinlogSaveDays,omitnil,omitempty" name:"BinlogSaveDays"`
}

Predefined struct for user

type ModifyBinlogSaveDaysResponse

type ModifyBinlogSaveDaysResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBinlogSaveDaysResponseParams `json:"Response"`
}

func NewModifyBinlogSaveDaysResponse

func NewModifyBinlogSaveDaysResponse() (response *ModifyBinlogSaveDaysResponse)

func (*ModifyBinlogSaveDaysResponse) FromJsonString

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

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

func (*ModifyBinlogSaveDaysResponse) ToJsonString

func (r *ModifyBinlogSaveDaysResponse) ToJsonString() string

type ModifyBinlogSaveDaysResponseParams

type ModifyBinlogSaveDaysResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterDatabaseRequest

type ModifyClusterDatabaseRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`

	// Host permissions of the new authorized user
	NewUserHostPrivileges []*UserHostPrivilege `json:"NewUserHostPrivileges,omitnil,omitempty" name:"NewUserHostPrivileges"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Host permissions of previously authorized users
	OldUserHostPrivileges []*UserHostPrivilege `json:"OldUserHostPrivileges,omitnil,omitempty" name:"OldUserHostPrivileges"`
}

func NewModifyClusterDatabaseRequest

func NewModifyClusterDatabaseRequest() (request *ModifyClusterDatabaseRequest)

func (*ModifyClusterDatabaseRequest) FromJsonString

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

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

func (*ModifyClusterDatabaseRequest) ToJsonString

func (r *ModifyClusterDatabaseRequest) ToJsonString() string

type ModifyClusterDatabaseRequestParams

type ModifyClusterDatabaseRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"`

	// Host permissions of the new authorized user
	NewUserHostPrivileges []*UserHostPrivilege `json:"NewUserHostPrivileges,omitnil,omitempty" name:"NewUserHostPrivileges"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Host permissions of previously authorized users
	OldUserHostPrivileges []*UserHostPrivilege `json:"OldUserHostPrivileges,omitnil,omitempty" name:"OldUserHostPrivileges"`
}

Predefined struct for user

type ModifyClusterDatabaseResponse

type ModifyClusterDatabaseResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterDatabaseResponseParams `json:"Response"`
}

func NewModifyClusterDatabaseResponse

func NewModifyClusterDatabaseResponse() (response *ModifyClusterDatabaseResponse)

func (*ModifyClusterDatabaseResponse) FromJsonString

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

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

func (*ModifyClusterDatabaseResponse) ToJsonString

func (r *ModifyClusterDatabaseResponse) ToJsonString() string

type ModifyClusterDatabaseResponseParams

type ModifyClusterDatabaseResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterNameRequest

type ModifyClusterNameRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
}

func NewModifyClusterNameRequest

func NewModifyClusterNameRequest() (request *ModifyClusterNameRequest)

func (*ModifyClusterNameRequest) FromJsonString

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

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

func (*ModifyClusterNameRequest) ToJsonString

func (r *ModifyClusterNameRequest) ToJsonString() string

type ModifyClusterNameRequestParams

type ModifyClusterNameRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
}

Predefined struct for user

type ModifyClusterNameResponse

type ModifyClusterNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterNameResponseParams `json:"Response"`
}

func NewModifyClusterNameResponse

func NewModifyClusterNameResponse() (response *ModifyClusterNameResponse)

func (*ModifyClusterNameResponse) FromJsonString

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

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

func (*ModifyClusterNameResponse) ToJsonString

func (r *ModifyClusterNameResponse) ToJsonString() string

type ModifyClusterNameResponseParams

type ModifyClusterNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterParamRequest

type ModifyClusterParamRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of the parameters to be modified. Each element in the list is a combination of `ParamName`, `CurrentValue`, and `OldValue`. `ParamName` is the parameter name; `CurrentValue` is the current value; `OldValue` is the old value that doesn’t need to be verified.
	ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`

	// Valid values: `yes` (execute during maintenance time), `no` (execute now)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

func NewModifyClusterParamRequest

func NewModifyClusterParamRequest() (request *ModifyClusterParamRequest)

func (*ModifyClusterParamRequest) FromJsonString

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

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

func (*ModifyClusterParamRequest) ToJsonString

func (r *ModifyClusterParamRequest) ToJsonString() string

type ModifyClusterParamRequestParams

type ModifyClusterParamRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of the parameters to be modified. Each element in the list is a combination of `ParamName`, `CurrentValue`, and `OldValue`. `ParamName` is the parameter name; `CurrentValue` is the current value; `OldValue` is the old value that doesn’t need to be verified.
	ParamList []*ParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`

	// Valid values: `yes` (execute during maintenance time), `no` (execute now)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

Predefined struct for user

type ModifyClusterParamResponse

type ModifyClusterParamResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterParamResponseParams `json:"Response"`
}

func NewModifyClusterParamResponse

func NewModifyClusterParamResponse() (response *ModifyClusterParamResponse)

func (*ModifyClusterParamResponse) FromJsonString

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

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

func (*ModifyClusterParamResponse) ToJsonString

func (r *ModifyClusterParamResponse) ToJsonString() string

type ModifyClusterParamResponseParams

type ModifyClusterParamResponseParams struct {
	// Async request ID used to query the result
	AsyncRequestId *string `json:"AsyncRequestId,omitnil,omitempty" name:"AsyncRequestId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterPasswordComplexityRequest

type ModifyClusterPasswordComplexityRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Password length
	ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"`

	// Number of letters
	ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"`

	// Number of symbols
	ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"`

	// Number of digits
	ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"`

	// Password strength. Valid values: `MEDIUM`, `STRONG`.
	ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"`

	// Data dictionary
	ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"`
}

func NewModifyClusterPasswordComplexityRequest

func NewModifyClusterPasswordComplexityRequest() (request *ModifyClusterPasswordComplexityRequest)

func (*ModifyClusterPasswordComplexityRequest) FromJsonString

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

func (*ModifyClusterPasswordComplexityRequest) ToJsonString

type ModifyClusterPasswordComplexityRequestParams

type ModifyClusterPasswordComplexityRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Password length
	ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"`

	// Number of letters
	ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"`

	// Number of symbols
	ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"`

	// Number of digits
	ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"`

	// Password strength. Valid values: `MEDIUM`, `STRONG`.
	ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"`

	// Data dictionary
	ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"`
}

Predefined struct for user

type ModifyClusterPasswordComplexityResponse

type ModifyClusterPasswordComplexityResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterPasswordComplexityResponseParams `json:"Response"`
}

func NewModifyClusterPasswordComplexityResponse

func NewModifyClusterPasswordComplexityResponse() (response *ModifyClusterPasswordComplexityResponse)

func (*ModifyClusterPasswordComplexityResponse) FromJsonString

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

func (*ModifyClusterPasswordComplexityResponse) ToJsonString

type ModifyClusterPasswordComplexityResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterReadOnlyRequest

type ModifyClusterReadOnlyRequest struct {
	*tchttp.BaseRequest

	// List of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Cluster read-only switch, valid values: ON, OFF.
	ReadOnlyOperation *string `json:"ReadOnlyOperation,omitnil,omitempty" name:"ReadOnlyOperation"`

	// Valid values: `yes` (modify in maintenance window), `no` (execute now by default).
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

func NewModifyClusterReadOnlyRequest

func NewModifyClusterReadOnlyRequest() (request *ModifyClusterReadOnlyRequest)

func (*ModifyClusterReadOnlyRequest) FromJsonString

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

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

func (*ModifyClusterReadOnlyRequest) ToJsonString

func (r *ModifyClusterReadOnlyRequest) ToJsonString() string

type ModifyClusterReadOnlyRequestParams

type ModifyClusterReadOnlyRequestParams struct {
	// List of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Cluster read-only switch, valid values: ON, OFF.
	ReadOnlyOperation *string `json:"ReadOnlyOperation,omitnil,omitempty" name:"ReadOnlyOperation"`

	// Valid values: `yes` (modify in maintenance window), `no` (execute now by default).
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

Predefined struct for user

type ModifyClusterReadOnlyResponse

type ModifyClusterReadOnlyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterReadOnlyResponseParams `json:"Response"`
}

func NewModifyClusterReadOnlyResponse

func NewModifyClusterReadOnlyResponse() (response *ModifyClusterReadOnlyResponse)

func (*ModifyClusterReadOnlyResponse) FromJsonString

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

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

func (*ModifyClusterReadOnlyResponse) ToJsonString

func (r *ModifyClusterReadOnlyResponse) ToJsonString() string

type ModifyClusterReadOnlyResponseParams

type ModifyClusterReadOnlyResponseParams struct {
	// List of cluster task ids.
	ClusterTaskIds []*ClusterTaskId `json:"ClusterTaskIds,omitnil,omitempty" name:"ClusterTaskIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterSlaveZoneRequest

type ModifyClusterSlaveZoneRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Old replica AZ
	OldSlaveZone *string `json:"OldSlaveZone,omitnil,omitempty" name:"OldSlaveZone"`

	// New replica AZ
	NewSlaveZone *string `json:"NewSlaveZone,omitnil,omitempty" name:"NewSlaveZone"`

	// Specifies the binlog synchronization mode. the default value is async. valid values are sync, semisync, and async.
	BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"`

	SemiSyncTimeout *int64 `json:"SemiSyncTimeout,omitnil,omitempty" name:"SemiSyncTimeout"`
}

func NewModifyClusterSlaveZoneRequest

func NewModifyClusterSlaveZoneRequest() (request *ModifyClusterSlaveZoneRequest)

func (*ModifyClusterSlaveZoneRequest) FromJsonString

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

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

func (*ModifyClusterSlaveZoneRequest) ToJsonString

func (r *ModifyClusterSlaveZoneRequest) ToJsonString() string

type ModifyClusterSlaveZoneRequestParams

type ModifyClusterSlaveZoneRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Old replica AZ
	OldSlaveZone *string `json:"OldSlaveZone,omitnil,omitempty" name:"OldSlaveZone"`

	// New replica AZ
	NewSlaveZone *string `json:"NewSlaveZone,omitnil,omitempty" name:"NewSlaveZone"`

	// Specifies the binlog synchronization mode. the default value is async. valid values are sync, semisync, and async.
	BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"`

	SemiSyncTimeout *int64 `json:"SemiSyncTimeout,omitnil,omitempty" name:"SemiSyncTimeout"`
}

Predefined struct for user

type ModifyClusterSlaveZoneResponse

type ModifyClusterSlaveZoneResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterSlaveZoneResponseParams `json:"Response"`
}

func NewModifyClusterSlaveZoneResponse

func NewModifyClusterSlaveZoneResponse() (response *ModifyClusterSlaveZoneResponse)

func (*ModifyClusterSlaveZoneResponse) FromJsonString

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

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

func (*ModifyClusterSlaveZoneResponse) ToJsonString

func (r *ModifyClusterSlaveZoneResponse) ToJsonString() string

type ModifyClusterSlaveZoneResponseParams

type ModifyClusterSlaveZoneResponseParams struct {
	// Async FlowId
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsRequest

type ModifyDBInstanceSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Network group id (starting with the cynosdbmysql-grp- prefix) or cluster id.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of IDs of security groups to be modified, which is an array of one or more security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`
}

func NewModifyDBInstanceSecurityGroupsRequest

func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)

func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString

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

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

func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString

type ModifyDBInstanceSecurityGroupsRequestParams

type ModifyDBInstanceSecurityGroupsRequestParams struct {
	// Network group id (starting with the cynosdbmysql-grp- prefix) or cluster id.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of IDs of security groups to be modified, which is an array of one or more security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsResponse

type ModifyDBInstanceSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"`
}

func NewModifyDBInstanceSecurityGroupsResponse

func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)

func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString

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

func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString

type ModifyDBInstanceSecurityGroupsResponseParams

type ModifyDBInstanceSecurityGroupsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceNameRequest

type ModifyInstanceNameRequest struct {
	*tchttp.BaseRequest

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

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

func NewModifyInstanceNameRequest

func NewModifyInstanceNameRequest() (request *ModifyInstanceNameRequest)

func (*ModifyInstanceNameRequest) FromJsonString

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

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

func (*ModifyInstanceNameRequest) ToJsonString

func (r *ModifyInstanceNameRequest) ToJsonString() string

type ModifyInstanceNameRequestParams

type ModifyInstanceNameRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

Predefined struct for user

type ModifyInstanceNameResponse

type ModifyInstanceNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceNameResponseParams `json:"Response"`
}

func NewModifyInstanceNameResponse

func NewModifyInstanceNameResponse() (response *ModifyInstanceNameResponse)

func (*ModifyInstanceNameResponse) FromJsonString

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

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

func (*ModifyInstanceNameResponse) ToJsonString

func (r *ModifyInstanceNameResponse) ToJsonString() string

type ModifyInstanceNameResponseParams

type ModifyInstanceNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceParamRequest

type ModifyInstanceParamRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of cluster parameters
	ClusterParamList []*ModifyParamItem `json:"ClusterParamList,omitnil,omitempty" name:"ClusterParamList"`

	// List of the instance parameters
	InstanceParamList []*ModifyParamItem `json:"InstanceParamList,omitnil,omitempty" name:"InstanceParamList"`

	// Valid values: `yes` (modify in maintenance window),  `no`  (execute now by default).
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

func NewModifyInstanceParamRequest

func NewModifyInstanceParamRequest() (request *ModifyInstanceParamRequest)

func (*ModifyInstanceParamRequest) FromJsonString

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

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

func (*ModifyInstanceParamRequest) ToJsonString

func (r *ModifyInstanceParamRequest) ToJsonString() string

type ModifyInstanceParamRequestParams

type ModifyInstanceParamRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of cluster parameters
	ClusterParamList []*ModifyParamItem `json:"ClusterParamList,omitnil,omitempty" name:"ClusterParamList"`

	// List of the instance parameters
	InstanceParamList []*ModifyParamItem `json:"InstanceParamList,omitnil,omitempty" name:"InstanceParamList"`

	// Valid values: `yes` (modify in maintenance window),  `no`  (execute now by default).
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

Predefined struct for user

type ModifyInstanceParamResponse

type ModifyInstanceParamResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceParamResponseParams `json:"Response"`
}

func NewModifyInstanceParamResponse

func NewModifyInstanceParamResponse() (response *ModifyInstanceParamResponse)

func (*ModifyInstanceParamResponse) FromJsonString

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

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

func (*ModifyInstanceParamResponse) ToJsonString

func (r *ModifyInstanceParamResponse) ToJsonString() string

type ModifyInstanceParamResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyMaintainPeriodConfigRequest

type ModifyMaintainPeriodConfigRequest struct {
	*tchttp.BaseRequest

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

	// Maintenance start time in seconds. For example, 03:00 AM is represented by 10800
	MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"`

	// Maintenance duration in seconds. For example, one hour is represented by 3600
	MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"`

	// Maintenance days of the week. Valid values: [Mon, Tue, Wed, Thu, Fri, Sat, Sun].
	MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"`
}

func NewModifyMaintainPeriodConfigRequest

func NewModifyMaintainPeriodConfigRequest() (request *ModifyMaintainPeriodConfigRequest)

func (*ModifyMaintainPeriodConfigRequest) FromJsonString

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

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

func (*ModifyMaintainPeriodConfigRequest) ToJsonString

func (r *ModifyMaintainPeriodConfigRequest) ToJsonString() string

type ModifyMaintainPeriodConfigRequestParams

type ModifyMaintainPeriodConfigRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Maintenance start time in seconds. For example, 03:00 AM is represented by 10800
	MaintainStartTime *int64 `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"`

	// Maintenance duration in seconds. For example, one hour is represented by 3600
	MaintainDuration *int64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"`

	// Maintenance days of the week. Valid values: [Mon, Tue, Wed, Thu, Fri, Sat, Sun].
	MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"`
}

Predefined struct for user

type ModifyMaintainPeriodConfigResponse

type ModifyMaintainPeriodConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMaintainPeriodConfigResponseParams `json:"Response"`
}

func NewModifyMaintainPeriodConfigResponse

func NewModifyMaintainPeriodConfigResponse() (response *ModifyMaintainPeriodConfigResponse)

func (*ModifyMaintainPeriodConfigResponse) FromJsonString

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

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

func (*ModifyMaintainPeriodConfigResponse) ToJsonString

func (r *ModifyMaintainPeriodConfigResponse) ToJsonString() string

type ModifyMaintainPeriodConfigResponseParams

type ModifyMaintainPeriodConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyParamItem

type ModifyParamItem struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Current parameter value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Old parameter value (useful only in output parameters).
	OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"`

	// libra component type.
	Component *string `json:"Component,omitnil,omitempty" name:"Component"`
}

type ModifyParamTemplateRequest

type ModifyParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// Parameter list
	ParamList []*ModifyParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`
}

func NewModifyParamTemplateRequest

func NewModifyParamTemplateRequest() (request *ModifyParamTemplateRequest)

func (*ModifyParamTemplateRequest) FromJsonString

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

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

func (*ModifyParamTemplateRequest) ToJsonString

func (r *ModifyParamTemplateRequest) ToJsonString() string

type ModifyParamTemplateRequestParams

type ModifyParamTemplateRequestParams struct {
	// Template ID
	TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// Parameter list
	ParamList []*ModifyParamItem `json:"ParamList,omitnil,omitempty" name:"ParamList"`
}

Predefined struct for user

type ModifyParamTemplateResponse

type ModifyParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyParamTemplateResponseParams `json:"Response"`
}

func NewModifyParamTemplateResponse

func NewModifyParamTemplateResponse() (response *ModifyParamTemplateResponse)

func (*ModifyParamTemplateResponse) FromJsonString

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

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

func (*ModifyParamTemplateResponse) ToJsonString

func (r *ModifyParamTemplateResponse) ToJsonString() string

type ModifyParamTemplateResponseParams

type ModifyParamTemplateResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyProxyDescRequest

type ModifyProxyDescRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Database proxy description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyProxyDescRequest

func NewModifyProxyDescRequest() (request *ModifyProxyDescRequest)

func (*ModifyProxyDescRequest) FromJsonString

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

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

func (*ModifyProxyDescRequest) ToJsonString

func (r *ModifyProxyDescRequest) ToJsonString() string

type ModifyProxyDescRequestParams

type ModifyProxyDescRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Database proxy description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyProxyDescResponse

type ModifyProxyDescResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxyDescResponseParams `json:"Response"`
}

func NewModifyProxyDescResponse

func NewModifyProxyDescResponse() (response *ModifyProxyDescResponse)

func (*ModifyProxyDescResponse) FromJsonString

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

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

func (*ModifyProxyDescResponse) ToJsonString

func (r *ModifyProxyDescResponse) ToJsonString() string

type ModifyProxyDescResponseParams

type ModifyProxyDescResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyProxyRwSplitRequest

type ModifyProxyRwSplitRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Consistency type. Valid values: `eventual` (eventual consistency), `session` (session consistency), `global` (global consistency).
	ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"`

	// Consistency timeout period
	ConsistencyTimeOut *string `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"`

	// Assignment mode of read/write weights. Valid values: `system` (auto-assigned), `custom`
	WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"`

	// Read-Only weight of an instance
	InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"`

	// Whether to enable failover. If it is enabled, the connection address will route requests to the source instance in case of proxy failure. Valid values: `true`, `false`.
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Whether to automatically add read-only instances. Valid values: `true`, `false`
	AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"`

	// Whether to enable read/write separation
	OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"`

	// Read/Write type. Valid values:
	// `READWRITE`, `READONLY`.
	RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"`

	// Transaction split
	TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"`

	// Connection mode. Valid values:
	// `nearby`, `balance`.
	AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Whether to enable the connection pool. Valid values:
	// `yes`, `no`.
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool type. Valid values:
	// `ConnectionPoolType`, `SessionConnectionPool`.
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Connection persistence timeout
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`
}

func NewModifyProxyRwSplitRequest

func NewModifyProxyRwSplitRequest() (request *ModifyProxyRwSplitRequest)

func (*ModifyProxyRwSplitRequest) FromJsonString

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

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

func (*ModifyProxyRwSplitRequest) ToJsonString

func (r *ModifyProxyRwSplitRequest) ToJsonString() string

type ModifyProxyRwSplitRequestParams

type ModifyProxyRwSplitRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Consistency type. Valid values: `eventual` (eventual consistency), `session` (session consistency), `global` (global consistency).
	ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"`

	// Consistency timeout period
	ConsistencyTimeOut *string `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"`

	// Assignment mode of read/write weights. Valid values: `system` (auto-assigned), `custom`
	WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"`

	// Read-Only weight of an instance
	InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"`

	// Whether to enable failover. If it is enabled, the connection address will route requests to the source instance in case of proxy failure. Valid values: `true`, `false`.
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Whether to automatically add read-only instances. Valid values: `true`, `false`
	AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"`

	// Whether to enable read/write separation
	OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"`

	// Read/Write type. Valid values:
	// `READWRITE`, `READONLY`.
	RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"`

	// Transaction split
	TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"`

	// Connection mode. Valid values:
	// `nearby`, `balance`.
	AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Whether to enable the connection pool. Valid values:
	// `yes`, `no`.
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Connection pool type. Valid values:
	// `ConnectionPoolType`, `SessionConnectionPool`.
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`

	// Connection persistence timeout
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`
}

Predefined struct for user

type ModifyProxyRwSplitResponse

type ModifyProxyRwSplitResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProxyRwSplitResponseParams `json:"Response"`
}

func NewModifyProxyRwSplitResponse

func NewModifyProxyRwSplitResponse() (response *ModifyProxyRwSplitResponse)

func (*ModifyProxyRwSplitResponse) FromJsonString

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

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

func (*ModifyProxyRwSplitResponse) ToJsonString

func (r *ModifyProxyRwSplitResponse) ToJsonString() string

type ModifyProxyRwSplitResponseParams

type ModifyProxyRwSplitResponseParams struct {
	// Async FlowId
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyResourcePackageClustersRequest

type ModifyResourcePackageClustersRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// ID of the cluster to be bound
	BindClusterIds []*string `json:"BindClusterIds,omitnil,omitempty" name:"BindClusterIds"`

	// ID of the cluster to be unbound
	UnbindClusterIds []*string `json:"UnbindClusterIds,omitnil,omitempty" name:"UnbindClusterIds"`
}

func NewModifyResourcePackageClustersRequest

func NewModifyResourcePackageClustersRequest() (request *ModifyResourcePackageClustersRequest)

func (*ModifyResourcePackageClustersRequest) FromJsonString

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

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

func (*ModifyResourcePackageClustersRequest) ToJsonString

func (r *ModifyResourcePackageClustersRequest) ToJsonString() string

type ModifyResourcePackageClustersRequestParams

type ModifyResourcePackageClustersRequestParams struct {
	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// ID of the cluster to be bound
	BindClusterIds []*string `json:"BindClusterIds,omitnil,omitempty" name:"BindClusterIds"`

	// ID of the cluster to be unbound
	UnbindClusterIds []*string `json:"UnbindClusterIds,omitnil,omitempty" name:"UnbindClusterIds"`
}

Predefined struct for user

type ModifyResourcePackageClustersResponse

type ModifyResourcePackageClustersResponse struct {
	*tchttp.BaseResponse
	Response *ModifyResourcePackageClustersResponseParams `json:"Response"`
}

func NewModifyResourcePackageClustersResponse

func NewModifyResourcePackageClustersResponse() (response *ModifyResourcePackageClustersResponse)

func (*ModifyResourcePackageClustersResponse) FromJsonString

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

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

func (*ModifyResourcePackageClustersResponse) ToJsonString

type ModifyResourcePackageClustersResponseParams

type ModifyResourcePackageClustersResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyResourcePackageNameRequest

type ModifyResourcePackageNameRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Custom resource pack name, which can contains up to 120 characters.
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`
}

func NewModifyResourcePackageNameRequest

func NewModifyResourcePackageNameRequest() (request *ModifyResourcePackageNameRequest)

func (*ModifyResourcePackageNameRequest) FromJsonString

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

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

func (*ModifyResourcePackageNameRequest) ToJsonString

func (r *ModifyResourcePackageNameRequest) ToJsonString() string

type ModifyResourcePackageNameRequestParams

type ModifyResourcePackageNameRequestParams struct {
	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Custom resource pack name, which can contains up to 120 characters.
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`
}

Predefined struct for user

type ModifyResourcePackageNameResponse

type ModifyResourcePackageNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyResourcePackageNameResponseParams `json:"Response"`
}

func NewModifyResourcePackageNameResponse

func NewModifyResourcePackageNameResponse() (response *ModifyResourcePackageNameResponse)

func (*ModifyResourcePackageNameResponse) FromJsonString

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

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

func (*ModifyResourcePackageNameResponse) ToJsonString

func (r *ModifyResourcePackageNameResponse) ToJsonString() string

type ModifyResourcePackageNameResponseParams

type ModifyResourcePackageNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyResourcePackagesDeductionPriorityRequest

type ModifyResourcePackagesDeductionPriorityRequest struct {
	*tchttp.BaseRequest

	// Specifies the resource package type whose priority needs to be modified. CCU: compute resource package. DISK: storage resource package.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// The modified deduction priority takes effect for which cynos resource.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Resource package deduction priority.
	DeductionPriorities []*PackagePriority `json:"DeductionPriorities,omitnil,omitempty" name:"DeductionPriorities"`
}

func NewModifyResourcePackagesDeductionPriorityRequest

func NewModifyResourcePackagesDeductionPriorityRequest() (request *ModifyResourcePackagesDeductionPriorityRequest)

func (*ModifyResourcePackagesDeductionPriorityRequest) FromJsonString

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

func (*ModifyResourcePackagesDeductionPriorityRequest) ToJsonString

type ModifyResourcePackagesDeductionPriorityRequestParams

type ModifyResourcePackagesDeductionPriorityRequestParams struct {
	// Specifies the resource package type whose priority needs to be modified. CCU: compute resource package. DISK: storage resource package.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// The modified deduction priority takes effect for which cynos resource.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Resource package deduction priority.
	DeductionPriorities []*PackagePriority `json:"DeductionPriorities,omitnil,omitempty" name:"DeductionPriorities"`
}

Predefined struct for user

type ModifyResourcePackagesDeductionPriorityResponse

type ModifyResourcePackagesDeductionPriorityResponse struct {
	*tchttp.BaseResponse
	Response *ModifyResourcePackagesDeductionPriorityResponseParams `json:"Response"`
}

func NewModifyResourcePackagesDeductionPriorityResponse

func NewModifyResourcePackagesDeductionPriorityResponse() (response *ModifyResourcePackagesDeductionPriorityResponse)

func (*ModifyResourcePackagesDeductionPriorityResponse) FromJsonString

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

func (*ModifyResourcePackagesDeductionPriorityResponse) ToJsonString

type ModifyResourcePackagesDeductionPriorityResponseParams

type ModifyResourcePackagesDeductionPriorityResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyServerlessStrategyRequest

type ModifyServerlessStrategyRequest struct {
	*tchttp.BaseRequest

	// Specifies the serverless cluster id.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies whether the cluster automatically pauses. valid values for the optional range.
	// <li>yes</li>
	// <li>no</li>
	AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"`

	// Specifies the delay for cluster auto-pause in seconds. the value range is [600,691200]. the default value is 600.
	AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"`

	// The parameter is temporarily unavailable.
	AutoScaleUpDelay *int64 `json:"AutoScaleUpDelay,omitnil,omitempty" name:"AutoScaleUpDelay"`

	// The parameter is temporarily unavailable.
	AutoScaleDownDelay *int64 `json:"AutoScaleDownDelay,omitnil,omitempty" name:"AutoScaleDownDelay"`

	// Minimum value of cpu. for the optional range, refer to the API response of DescribeServerlessInstanceSpecs.
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// Maximum value of cpu, optional range refers to the API response of DescribeServerlessInstanceSpecs.
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// Minimum cpu value of a read-only instance. for valid values, refer to the API response of DescribeServerlessInstanceSpecs.
	MinRoCpu *float64 `json:"MinRoCpu,omitnil,omitempty" name:"MinRoCpu"`

	// Maximum value of read-only cpu, optional range refer to the API response of DescribeServerlessInstanceSpecs.
	MaxRoCpu *float64 `json:"MaxRoCpu,omitnil,omitempty" name:"MaxRoCpu"`

	// Specifies the minimum count of read-only nodes.
	MinRoCount *int64 `json:"MinRoCount,omitnil,omitempty" name:"MinRoCount"`

	// Maximum number of read-only nodes.
	MaxRoCount *int64 `json:"MaxRoCount,omitnil,omitempty" name:"MaxRoCount"`
}

func NewModifyServerlessStrategyRequest

func NewModifyServerlessStrategyRequest() (request *ModifyServerlessStrategyRequest)

func (*ModifyServerlessStrategyRequest) FromJsonString

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

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

func (*ModifyServerlessStrategyRequest) ToJsonString

func (r *ModifyServerlessStrategyRequest) ToJsonString() string

type ModifyServerlessStrategyRequestParams

type ModifyServerlessStrategyRequestParams struct {
	// Specifies the serverless cluster id.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Specifies whether the cluster automatically pauses. valid values for the optional range.
	// <li>yes</li>
	// <li>no</li>
	AutoPause *string `json:"AutoPause,omitnil,omitempty" name:"AutoPause"`

	// Specifies the delay for cluster auto-pause in seconds. the value range is [600,691200]. the default value is 600.
	AutoPauseDelay *int64 `json:"AutoPauseDelay,omitnil,omitempty" name:"AutoPauseDelay"`

	// The parameter is temporarily unavailable.
	AutoScaleUpDelay *int64 `json:"AutoScaleUpDelay,omitnil,omitempty" name:"AutoScaleUpDelay"`

	// The parameter is temporarily unavailable.
	AutoScaleDownDelay *int64 `json:"AutoScaleDownDelay,omitnil,omitempty" name:"AutoScaleDownDelay"`

	// Minimum value of cpu. for the optional range, refer to the API response of DescribeServerlessInstanceSpecs.
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// Maximum value of cpu, optional range refers to the API response of DescribeServerlessInstanceSpecs.
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// Minimum cpu value of a read-only instance. for valid values, refer to the API response of DescribeServerlessInstanceSpecs.
	MinRoCpu *float64 `json:"MinRoCpu,omitnil,omitempty" name:"MinRoCpu"`

	// Maximum value of read-only cpu, optional range refer to the API response of DescribeServerlessInstanceSpecs.
	MaxRoCpu *float64 `json:"MaxRoCpu,omitnil,omitempty" name:"MaxRoCpu"`

	// Specifies the minimum count of read-only nodes.
	MinRoCount *int64 `json:"MinRoCount,omitnil,omitempty" name:"MinRoCount"`

	// Maximum number of read-only nodes.
	MaxRoCount *int64 `json:"MaxRoCount,omitnil,omitempty" name:"MaxRoCount"`
}

Predefined struct for user

type ModifyServerlessStrategyResponse

type ModifyServerlessStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyServerlessStrategyResponseParams `json:"Response"`
}

func NewModifyServerlessStrategyResponse

func NewModifyServerlessStrategyResponse() (response *ModifyServerlessStrategyResponse)

func (*ModifyServerlessStrategyResponse) FromJsonString

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

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

func (*ModifyServerlessStrategyResponse) ToJsonString

func (r *ModifyServerlessStrategyResponse) ToJsonString() string

type ModifyServerlessStrategyResponseParams

type ModifyServerlessStrategyResponseParams struct {
	// Async process id.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyVipVportRequest

type ModifyVipVportRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance group ID
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`

	// Target IP to be modified
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Target port to be modified
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Valid hours of old IPs. If it is set to `0` hours, the IPs will be released immediately.
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`
}

func NewModifyVipVportRequest

func NewModifyVipVportRequest() (request *ModifyVipVportRequest)

func (*ModifyVipVportRequest) FromJsonString

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

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

func (*ModifyVipVportRequest) ToJsonString

func (r *ModifyVipVportRequest) ToJsonString() string

type ModifyVipVportRequestParams

type ModifyVipVportRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Instance group ID
	//
	// Deprecated: InstanceGrpId is deprecated.
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`

	// Target IP to be modified
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Target port to be modified
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Database type. Valid values:
	// <li> MYSQL </li>
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Valid hours of old IPs. If it is set to `0` hours, the IPs will be released immediately.
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`
}

Predefined struct for user

type ModifyVipVportResponse

type ModifyVipVportResponse struct {
	*tchttp.BaseResponse
	Response *ModifyVipVportResponseParams `json:"Response"`
}

func NewModifyVipVportResponse

func NewModifyVipVportResponse() (response *ModifyVipVportResponse)

func (*ModifyVipVportResponse) FromJsonString

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

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

func (*ModifyVipVportResponse) ToJsonString

func (r *ModifyVipVportResponse) ToJsonString() string

type ModifyVipVportResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Module

type Module struct {
	// Whether it is supported. Valid values: `yes`, `no`.
	IsDisable *string `json:"IsDisable,omitnil,omitempty" name:"IsDisable"`

	// Module name
	ModuleName *string `json:"ModuleName,omitnil,omitempty" name:"ModuleName"`
}

type NetAddr

type NetAddr struct {
	// Private IP address
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Specifies the private network port number.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Specifies the public network domain name.
	WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"`

	// Specifies the public network port number.
	WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"`

	// Network type (ro - read-only, rw/ha - read-write).
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Specifies the subnet ID.
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Specifies the virtual private cloud ID.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Description information
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Public IP address
	WanIP *string `json:"WanIP,omitnil,omitempty" name:"WanIP"`

	// Specifies the public network status.
	WanStatus *string `json:"WanStatus,omitnil,omitempty" name:"WanStatus"`

	// Instance group ID
	InstanceGroupId *string `json:"InstanceGroupId,omitnil,omitempty" name:"InstanceGroupId"`
}

type NewAccount

type NewAccount struct {
	// Account name, which can contain 1-16 letters, digits, and underscores. It must begin with a letter and end with a letter or digit.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Password, which can contain 8-64 characters.
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

	// Host
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Maximum number of user connections, which cannot be above 10,240.
	MaxUserConnections *int64 `json:"MaxUserConnections,omitnil,omitempty" name:"MaxUserConnections"`
}

type ObjectTask

type ObjectTask struct {
	// Task auto-increment ID.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task type
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Status of tasks.
	TaskStatus *string `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"`

	// Task ID (cluster ID | instance group ID | instance ID).
	ObjectId *string `json:"ObjectId,omitnil,omitempty" name:"ObjectId"`

	// Task type
	ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"`
}

type OfflineClusterRequest

type OfflineClusterRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewOfflineClusterRequest

func NewOfflineClusterRequest() (request *OfflineClusterRequest)

func (*OfflineClusterRequest) FromJsonString

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

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

func (*OfflineClusterRequest) ToJsonString

func (r *OfflineClusterRequest) ToJsonString() string

type OfflineClusterRequestParams

type OfflineClusterRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type OfflineClusterResponse

type OfflineClusterResponse struct {
	*tchttp.BaseResponse
	Response *OfflineClusterResponseParams `json:"Response"`
}

func NewOfflineClusterResponse

func NewOfflineClusterResponse() (response *OfflineClusterResponse)

func (*OfflineClusterResponse) FromJsonString

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

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

func (*OfflineClusterResponse) ToJsonString

func (r *OfflineClusterResponse) ToJsonString() string

type OfflineClusterResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OfflineInstanceRequest

type OfflineInstanceRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

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

func NewOfflineInstanceRequest

func NewOfflineInstanceRequest() (request *OfflineInstanceRequest)

func (*OfflineInstanceRequest) FromJsonString

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

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

func (*OfflineInstanceRequest) ToJsonString

func (r *OfflineInstanceRequest) ToJsonString() string

type OfflineInstanceRequestParams

type OfflineInstanceRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

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

Predefined struct for user

type OfflineInstanceResponse

type OfflineInstanceResponse struct {
	*tchttp.BaseResponse
	Response *OfflineInstanceResponseParams `json:"Response"`
}

func NewOfflineInstanceResponse

func NewOfflineInstanceResponse() (response *OfflineInstanceResponse)

func (*OfflineInstanceResponse) FromJsonString

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

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

func (*OfflineInstanceResponse) ToJsonString

func (r *OfflineInstanceResponse) ToJsonString() string

type OfflineInstanceResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OldAddrInfo

type OldAddrInfo struct {
	// IP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Port
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Expect recycle time.
	ReturnTime *string `json:"ReturnTime,omitnil,omitempty" name:"ReturnTime"`
}

type OpenAuditServiceRequest

type OpenAuditServiceRequest struct {
	*tchttp.BaseRequest

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

	// Log retention period
	LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"`

	// Frequent log retention period
	HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"`

	// Audit rule. If both this parameter and `RuleTemplateIds` are left empty, full audit will be applied.
	AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"`

	// Rule template ID. If both this parameter and `AuditRuleFilters` are left empty, full audit will be applied.
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

func NewOpenAuditServiceRequest

func NewOpenAuditServiceRequest() (request *OpenAuditServiceRequest)

func (*OpenAuditServiceRequest) FromJsonString

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

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

func (*OpenAuditServiceRequest) ToJsonString

func (r *OpenAuditServiceRequest) ToJsonString() string

type OpenAuditServiceRequestParams

type OpenAuditServiceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Log retention period
	LogExpireDay *uint64 `json:"LogExpireDay,omitnil,omitempty" name:"LogExpireDay"`

	// Frequent log retention period
	HighLogExpireDay *uint64 `json:"HighLogExpireDay,omitnil,omitempty" name:"HighLogExpireDay"`

	// Audit rule. If both this parameter and `RuleTemplateIds` are left empty, full audit will be applied.
	//
	// Deprecated: AuditRuleFilters is deprecated.
	AuditRuleFilters []*AuditRuleFilters `json:"AuditRuleFilters,omitnil,omitempty" name:"AuditRuleFilters"`

	// Rule template ID. If both this parameter and `AuditRuleFilters` are left empty, full audit will be applied.
	RuleTemplateIds []*string `json:"RuleTemplateIds,omitnil,omitempty" name:"RuleTemplateIds"`
}

Predefined struct for user

type OpenAuditServiceResponse

type OpenAuditServiceResponse struct {
	*tchttp.BaseResponse
	Response *OpenAuditServiceResponseParams `json:"Response"`
}

func NewOpenAuditServiceResponse

func NewOpenAuditServiceResponse() (response *OpenAuditServiceResponse)

func (*OpenAuditServiceResponse) FromJsonString

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

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

func (*OpenAuditServiceResponse) ToJsonString

func (r *OpenAuditServiceResponse) ToJsonString() string

type OpenAuditServiceResponseParams

type OpenAuditServiceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenClusterPasswordComplexityRequest

type OpenClusterPasswordComplexityRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Password length
	ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"`

	// Number of letters
	ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"`

	// Number of symbols
	ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"`

	// Number of digits
	ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"`

	// Password strength. Valid values: `MEDIUM`, `STRONG`.
	ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"`

	// Data dictionary
	ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"`
}

func NewOpenClusterPasswordComplexityRequest

func NewOpenClusterPasswordComplexityRequest() (request *OpenClusterPasswordComplexityRequest)

func (*OpenClusterPasswordComplexityRequest) FromJsonString

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

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

func (*OpenClusterPasswordComplexityRequest) ToJsonString

func (r *OpenClusterPasswordComplexityRequest) ToJsonString() string

type OpenClusterPasswordComplexityRequestParams

type OpenClusterPasswordComplexityRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Password length
	ValidatePasswordLength *int64 `json:"ValidatePasswordLength,omitnil,omitempty" name:"ValidatePasswordLength"`

	// Number of letters
	ValidatePasswordMixedCaseCount *int64 `json:"ValidatePasswordMixedCaseCount,omitnil,omitempty" name:"ValidatePasswordMixedCaseCount"`

	// Number of symbols
	ValidatePasswordSpecialCharCount *int64 `json:"ValidatePasswordSpecialCharCount,omitnil,omitempty" name:"ValidatePasswordSpecialCharCount"`

	// Number of digits
	ValidatePasswordNumberCount *int64 `json:"ValidatePasswordNumberCount,omitnil,omitempty" name:"ValidatePasswordNumberCount"`

	// Password strength. Valid values: `MEDIUM`, `STRONG`.
	ValidatePasswordPolicy *string `json:"ValidatePasswordPolicy,omitnil,omitempty" name:"ValidatePasswordPolicy"`

	// Data dictionary
	ValidatePasswordDictionary []*string `json:"ValidatePasswordDictionary,omitnil,omitempty" name:"ValidatePasswordDictionary"`
}

Predefined struct for user

type OpenClusterPasswordComplexityResponse

type OpenClusterPasswordComplexityResponse struct {
	*tchttp.BaseResponse
	Response *OpenClusterPasswordComplexityResponseParams `json:"Response"`
}

func NewOpenClusterPasswordComplexityResponse

func NewOpenClusterPasswordComplexityResponse() (response *OpenClusterPasswordComplexityResponse)

func (*OpenClusterPasswordComplexityResponse) FromJsonString

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

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

func (*OpenClusterPasswordComplexityResponse) ToJsonString

type OpenClusterPasswordComplexityResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenClusterReadOnlyInstanceGroupAccessRequest

type OpenClusterReadOnlyInstanceGroupAccessRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Port
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

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

func NewOpenClusterReadOnlyInstanceGroupAccessRequest

func NewOpenClusterReadOnlyInstanceGroupAccessRequest() (request *OpenClusterReadOnlyInstanceGroupAccessRequest)

func (*OpenClusterReadOnlyInstanceGroupAccessRequest) FromJsonString

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

func (*OpenClusterReadOnlyInstanceGroupAccessRequest) ToJsonString

type OpenClusterReadOnlyInstanceGroupAccessRequestParams

type OpenClusterReadOnlyInstanceGroupAccessRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Port
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

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

Predefined struct for user

type OpenClusterReadOnlyInstanceGroupAccessResponse

type OpenClusterReadOnlyInstanceGroupAccessResponse struct {
	*tchttp.BaseResponse
	Response *OpenClusterReadOnlyInstanceGroupAccessResponseParams `json:"Response"`
}

func NewOpenClusterReadOnlyInstanceGroupAccessResponse

func NewOpenClusterReadOnlyInstanceGroupAccessResponse() (response *OpenClusterReadOnlyInstanceGroupAccessResponse)

func (*OpenClusterReadOnlyInstanceGroupAccessResponse) FromJsonString

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

func (*OpenClusterReadOnlyInstanceGroupAccessResponse) ToJsonString

type OpenClusterReadOnlyInstanceGroupAccessResponseParams

type OpenClusterReadOnlyInstanceGroupAccessResponseParams struct {
	// Initiate process ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenClusterTransparentEncryptRequest

type OpenClusterTransparentEncryptRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Key type (cloud, custom).
	KeyType *string `json:"KeyType,omitnil,omitempty" name:"KeyType"`

	// Key Id.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// Key region.
	KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"`
}

func NewOpenClusterTransparentEncryptRequest

func NewOpenClusterTransparentEncryptRequest() (request *OpenClusterTransparentEncryptRequest)

func (*OpenClusterTransparentEncryptRequest) FromJsonString

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

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

func (*OpenClusterTransparentEncryptRequest) ToJsonString

func (r *OpenClusterTransparentEncryptRequest) ToJsonString() string

type OpenClusterTransparentEncryptRequestParams

type OpenClusterTransparentEncryptRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Key type (cloud, custom).
	KeyType *string `json:"KeyType,omitnil,omitempty" name:"KeyType"`

	// Key Id.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// Key region.
	KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"`
}

Predefined struct for user

type OpenClusterTransparentEncryptResponse

type OpenClusterTransparentEncryptResponse struct {
	*tchttp.BaseResponse
	Response *OpenClusterTransparentEncryptResponseParams `json:"Response"`
}

func NewOpenClusterTransparentEncryptResponse

func NewOpenClusterTransparentEncryptResponse() (response *OpenClusterTransparentEncryptResponse)

func (*OpenClusterTransparentEncryptResponse) FromJsonString

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

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

func (*OpenClusterTransparentEncryptResponse) ToJsonString

type OpenClusterTransparentEncryptResponseParams

type OpenClusterTransparentEncryptResponseParams struct {
	// Asynchronous task ID.
	//
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenReadOnlyInstanceExclusiveAccessRequest

type OpenReadOnlyInstanceExclusiveAccessRequest struct {
	*tchttp.BaseRequest

	// Please use the cluster information description (https://intl.cloud.tencent.com/document/api/1003/48086?from_cn_redirect=1) to obtain the clusterId.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Please use the cluster information description (https://intl.cloud.tencent.com/document/api/1003/48086?from_cn_redirect=1) to obtain the instanceId.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies the designated vpc ID. please use the "query vpc list" to obtain the vpc ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Specified subnet ID. if vpc ID is set, SubnetId is required. please use query subnet list (https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) to get SubnetId.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// User-Defined port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Security group ID. use [view security group](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) to obtain the SecurityGroupId.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

func NewOpenReadOnlyInstanceExclusiveAccessRequest

func NewOpenReadOnlyInstanceExclusiveAccessRequest() (request *OpenReadOnlyInstanceExclusiveAccessRequest)

func (*OpenReadOnlyInstanceExclusiveAccessRequest) FromJsonString

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

func (*OpenReadOnlyInstanceExclusiveAccessRequest) ToJsonString

type OpenReadOnlyInstanceExclusiveAccessRequestParams

type OpenReadOnlyInstanceExclusiveAccessRequestParams struct {
	// Please use the cluster information description (https://intl.cloud.tencent.com/document/api/1003/48086?from_cn_redirect=1) to obtain the clusterId.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Please use the cluster information description (https://intl.cloud.tencent.com/document/api/1003/48086?from_cn_redirect=1) to obtain the instanceId.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies the designated vpc ID. please use the "query vpc list" to obtain the vpc ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Specified subnet ID. if vpc ID is set, SubnetId is required. please use query subnet list (https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) to get SubnetId.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// User-Defined port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Security group ID. use [view security group](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) to obtain the SecurityGroupId.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type OpenReadOnlyInstanceExclusiveAccessResponse

type OpenReadOnlyInstanceExclusiveAccessResponse struct {
	*tchttp.BaseResponse
	Response *OpenReadOnlyInstanceExclusiveAccessResponseParams `json:"Response"`
}

func NewOpenReadOnlyInstanceExclusiveAccessResponse

func NewOpenReadOnlyInstanceExclusiveAccessResponse() (response *OpenReadOnlyInstanceExclusiveAccessResponse)

func (*OpenReadOnlyInstanceExclusiveAccessResponse) FromJsonString

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

func (*OpenReadOnlyInstanceExclusiveAccessResponse) ToJsonString

type OpenReadOnlyInstanceExclusiveAccessResponseParams

type OpenReadOnlyInstanceExclusiveAccessResponseParams struct {
	// Activation process ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenWanRequest

type OpenWanRequest struct {
	*tchttp.BaseRequest

	// Instance group ID
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`
}

func NewOpenWanRequest

func NewOpenWanRequest() (request *OpenWanRequest)

func (*OpenWanRequest) FromJsonString

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

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

func (*OpenWanRequest) ToJsonString

func (r *OpenWanRequest) ToJsonString() string

type OpenWanRequestParams

type OpenWanRequestParams struct {
	// Instance group ID
	//
	// Deprecated: InstanceGrpId is deprecated.
	InstanceGrpId *string `json:"InstanceGrpId,omitnil,omitempty" name:"InstanceGrpId"`
}

Predefined struct for user

type OpenWanResponse

type OpenWanResponse struct {
	*tchttp.BaseResponse
	Response *OpenWanResponseParams `json:"Response"`
}

func NewOpenWanResponse

func NewOpenWanResponse() (response *OpenWanResponse)

func (*OpenWanResponse) FromJsonString

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

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

func (*OpenWanResponse) ToJsonString

func (r *OpenWanResponse) ToJsonString() string

type OpenWanResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Package

type Package struct {
	// AppID
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// The unique ID of the resource package.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Resource package name.
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`

	// Specifies the resource package type.
	// CCU: compute resource package. DISK: storage resource package.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Resource package region of use.
	// China - common in the chinese mainland. overseas - universally applicable in hong kong (china), macao (china), taiwan (china), and overseas.
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Specifies the status of the resource package.
	// creating - indicates that it is in the process of being created.
	// {using} specifies that it is in use.
	// expired-expired;.
	// normal_finish - specifies that it is used up.
	// `Apply_refund`: apply for a refund.
	// Specifies that the fee has been refunded.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Total resource package quantity.
	PackageTotalSpec *float64 `json:"PackageTotalSpec,omitnil,omitempty" name:"PackageTotalSpec"`

	// Used amount of resource package.
	PackageUsedSpec *float64 `json:"PackageUsedSpec,omitnil,omitempty" name:"PackageUsedSpec"`

	// Whether there is inventory surplus.
	HasQuota *bool `json:"HasQuota,omitnil,omitempty" name:"HasQuota"`

	// Specifies the bound instance information.
	BindInstanceInfos []*BindInstanceInfo `json:"BindInstanceInfos,omitnil,omitempty" name:"BindInstanceInfos"`

	// Specifies the effective time: 2022-07-01 00:00:00.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the expiration time: 2022-08-01 00:00:00.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Information of the instance historically bound (now unbound) to the resource pack.
	HistoryBindResourceInfos []*BindInstanceInfo `json:"HistoryBindResourceInfos,omitnil,omitempty" name:"HistoryBindResourceInfos"`
}

type PackageDetail

type PackageDetail struct {
	// AppId account ID.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// The unique ID of the resource package.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

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

	// Successfully deduct capacity.
	SuccessDeductSpec *float64 `json:"SuccessDeductSpec,omitnil,omitempty" name:"SuccessDeductSpec"`

	// The used capacity of the resource package up to the present.
	PackageTotalUsedSpec *float64 `json:"PackageTotalUsedSpec,omitnil,omitempty" name:"PackageTotalUsedSpec"`

	// Deduction start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Deduction end time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Extension Information
	ExtendInfo *string `json:"ExtendInfo,omitnil,omitempty" name:"ExtendInfo"`
}

type PackagePriority

type PackagePriority struct {
	// The resource pack whose deduction priority needs to be customized.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Custom deduction priority.
	DeductionPriority *int64 `json:"DeductionPriority,omitnil,omitempty" name:"DeductionPriority"`
}

type ParamDetail

type ParamDetail struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter type. Valid values:  `integer`, `enum`, `float`, `string`, `func`.
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`

	// Whether `func` is supported. Valid values: `true` (supported), `false` (not supported).
	SupportFunc *bool `json:"SupportFunc,omitnil,omitempty" name:"SupportFunc"`

	// Default value
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Current value of the parameter
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Whether to restart the database for the modified parameters to take effect. Valid values:  `0` (no), `1` (yes).
	NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"`

	// Maximum value of the parameter
	Max *string `json:"Max,omitnil,omitempty" name:"Max"`

	// Minimum value of the parameter
	Min *string `json:"Min,omitnil,omitempty" name:"Min"`

	// Optional enumerated values of the parameter. if it is a non-enumerated value, it is empty.
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Valid values: `1` (global parameter),  `0`  (non-global parameter).
	IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"`

	// The match type. Valid value: `multiVal`.
	MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"`

	// Match values, which will be separated by comma when `MatchType` is `multiVal`.
	MatchValue *string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"`

	// true - indicates a formula. false - indicates it is not a formula.
	IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"`

	// Specifies that when the parameter is set as a formula, Func returns the set formula content.
	Func *string `json:"Func,omitnil,omitempty" name:"Func"`

	// Whether the parameter is modifiable.
	ModifiableInfo *ModifiableInfo `json:"ModifiableInfo,omitnil,omitempty" name:"ModifiableInfo"`

	// The default formula style of parameters that support formulas.
	FuncPattern *string `json:"FuncPattern,omitnil,omitempty" name:"FuncPattern"`
}

type ParamInfo

type ParamInfo struct {
	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Default value
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// If the parameter is of type enum/string/bool, the available options list.
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Maximum value when parameter type is `float` or `integer`.
	Max *string `json:"Max,omitnil,omitempty" name:"Max"`

	// Minimum value when parameter type is `float` or `integer`.
	Min *string `json:"Min,omitnil,omitempty" name:"Min"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Whether to restart the instance for the modified parameters to take effect.
	NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"`

	// Parameter type: `integer`, `float`, `string`, `enum`, `bool`.
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`

	// Match type. Regex can be used when parameter type is `string`. Valid value: `multiVal`.
	MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"`

	// Match values, which will be separated by semicolon when match type is `multiVal`.
	MatchValue *string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Whether it is a global parameter.
	IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"`

	// Whether the parameter is modifiable.
	ModifiableInfo *ModifiableInfo `json:"ModifiableInfo,omitnil,omitempty" name:"ModifiableInfo"`

	// Whether it is a function.
	IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"`

	// Function.
	Func *string `json:"Func,omitnil,omitempty" name:"Func"`

	// The default formula style of parameters that support formulas.
	FuncPattern *string `json:"FuncPattern,omitnil,omitempty" name:"FuncPattern"`
}

type ParamItem

type ParamItem struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// New value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Original value
	OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"`
}

type ParamItemDetail

type ParamItemDetail struct {
	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Default value
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// Enumerated values of the parameter It is null if the parameter is non-enumerated.
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Valid values: `1` (global parameter),  `0`  (non-global parameter).
	IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"`

	// Maximum value
	Max *string `json:"Max,omitnil,omitempty" name:"Max"`

	// Minimum value
	Min *string `json:"Min,omitnil,omitempty" name:"Min"`

	// Whether to restart the database for the modified parameters to take effect. Valid values:  `0` (no), `1` (yes)
	NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter type. Valid values:  `integer`, `enum`, `float`, `string`, `func`.
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Whether the type is a formula.
	IsFunc *bool `json:"IsFunc,omitnil,omitempty" name:"IsFunc"`

	// Parameter configuration formula.
	Func *string `json:"Func,omitnil,omitempty" name:"Func"`

	// The default formula style of parameters that support formulas.
	FuncPattern *string `json:"FuncPattern,omitnil,omitempty" name:"FuncPattern"`
}

type ParamTemplateListInfo

type ParamTemplateListInfo struct {
	// Parameter template ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Parameter template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Parameter template description
	TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"`

	// Engine version
	EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"`

	// Database Type. Valid values: `NORMAL`, `SERVERLESS`.
	DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"`

	// Parameter template details
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamInfoSet []*TemplateParamInfo `json:"ParamInfoSet,omitnil,omitempty" name:"ParamInfoSet"`
}

type PauseServerlessRequest

type PauseServerlessRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Whether to pause forcibly and ignore the current user connections. Valid values: `0` (no), `1` (yes). Default value: `1`
	ForcePause *int64 `json:"ForcePause,omitnil,omitempty" name:"ForcePause"`
}

func NewPauseServerlessRequest

func NewPauseServerlessRequest() (request *PauseServerlessRequest)

func (*PauseServerlessRequest) FromJsonString

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

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

func (*PauseServerlessRequest) ToJsonString

func (r *PauseServerlessRequest) ToJsonString() string

type PauseServerlessRequestParams

type PauseServerlessRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Whether to pause forcibly and ignore the current user connections. Valid values: `0` (no), `1` (yes). Default value: `1`
	ForcePause *int64 `json:"ForcePause,omitnil,omitempty" name:"ForcePause"`
}

Predefined struct for user

type PauseServerlessResponse

type PauseServerlessResponse struct {
	*tchttp.BaseResponse
	Response *PauseServerlessResponseParams `json:"Response"`
}

func NewPauseServerlessResponse

func NewPauseServerlessResponse() (response *PauseServerlessResponse)

func (*PauseServerlessResponse) FromJsonString

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

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

func (*PauseServerlessResponse) ToJsonString

func (r *PauseServerlessResponse) ToJsonString() string

type PauseServerlessResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PolicyRule

type PolicyRule struct {
	// Policy, which can be `ACCEPT` or `DROP`
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Source IP or source IP range, such as 192.168.0.0/16
	CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"`

	// Port
	PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"`

	// Network protocol, such as UDP and TCP
	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	// Protocol port ID or protocol port group ID.
	ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"`

	// IP address ID or IP address group ID.
	AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"`

	// id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Description
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`
}

type ProxyConnectionPoolInfo

type ProxyConnectionPoolInfo struct {
	// Specifies the persistence threshold of the connection pool. the unit is seconds.
	ConnectionPoolTimeOut *int64 `json:"ConnectionPoolTimeOut,omitnil,omitempty" name:"ConnectionPoolTimeOut"`

	// Whether the connection pool is enabled.
	OpenConnectionPool *string `json:"OpenConnectionPool,omitnil,omitempty" name:"OpenConnectionPool"`

	// Specifies the connection pool type. valid values: SessionConnectionPool (session-level connection pool).
	ConnectionPoolType *string `json:"ConnectionPoolType,omitnil,omitempty" name:"ConnectionPoolType"`
}

type ProxyGroup

type ProxyGroup struct {
	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Number of nodes in the proxy group
	ProxyNodeCount *int64 `json:"ProxyNodeCount,omitnil,omitempty" name:"ProxyNodeCount"`

	// Database proxy group status
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

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

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Current proxy version
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// User AppId
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Specifies that a read-write node activates the database proxy.
	OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"`
}

type ProxyGroupInfo

type ProxyGroupInfo struct {
	// Database proxy group.
	ProxyGroup *ProxyGroup `json:"ProxyGroup,omitnil,omitempty" name:"ProxyGroup"`

	// Database proxy group read-write separation information.
	ProxyGroupRwInfo *ProxyGroupRwInfo `json:"ProxyGroupRwInfo,omitnil,omitempty" name:"ProxyGroupRwInfo"`

	// Node information of the database proxy
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyNodes []*ProxyNodeInfo `json:"ProxyNodes,omitnil,omitempty" name:"ProxyNodes"`

	// Database proxy connection pool information.
	ConnectionPool *ProxyConnectionPoolInfo `json:"ConnectionPool,omitnil,omitempty" name:"ConnectionPool"`

	// Network information for database proxy
	// Note: This field may return null, indicating that no valid values can be obtained.
	NetAddrInfos []*NetAddr `json:"NetAddrInfos,omitnil,omitempty" name:"NetAddrInfos"`

	// Database proxy task set.
	Tasks []*ObjectTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`
}

type ProxyGroupRwInfo

type ProxyGroupRwInfo struct {
	// Consistency type. Valid values: `eventual` (eventual consistency), `session` (session consistency), `global` (global consistency).
	ConsistencyType *string `json:"ConsistencyType,omitnil,omitempty" name:"ConsistencyType"`

	// Consistency timeout period
	ConsistencyTimeOut *int64 `json:"ConsistencyTimeOut,omitnil,omitempty" name:"ConsistencyTimeOut"`

	// Weight mode. Valid values: `system` (auto-assigned), `custom`.
	WeightMode *string `json:"WeightMode,omitnil,omitempty" name:"WeightMode"`

	// Whether to enable failover
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Whether to automatically add read-only instance. Valid value: `yes`, `no`.
	AutoAddRo *string `json:"AutoAddRo,omitnil,omitempty" name:"AutoAddRo"`

	// Instance weight array
	InstanceWeights []*ProxyInstanceWeight `json:"InstanceWeights,omitnil,omitempty" name:"InstanceWeights"`

	// Whether to enable read-write nodes. valid values: yes, no.
	OpenRw *string `json:"OpenRw,omitnil,omitempty" name:"OpenRw"`

	// Read/write attribute. Valid values: `READWRITE`, `READONLY`.
	RwType *string `json:"RwType,omitnil,omitempty" name:"RwType"`

	// Transaction split
	TransSplit *bool `json:"TransSplit,omitnil,omitempty" name:"TransSplit"`

	// Connection mode. Valid values: `balance`, `nearby`.
	AccessMode *string `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`
}

type ProxyInstanceWeight

type ProxyInstanceWeight struct {
	// InstanID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance weight
	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`
}

type ProxyNodeInfo

type ProxyNodeInfo struct {
	// Database proxy node ID
	ProxyNodeId *string `json:"ProxyNodeId,omitnil,omitempty" name:"ProxyNodeId"`

	// Current node connections, which is not returned by the `DescribeProxyNodes` API.
	ProxyNodeConnections *int64 `json:"ProxyNodeConnections,omitnil,omitempty" name:"ProxyNodeConnections"`

	// CPU of the database proxy node
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory of the database proxy node
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// Status of the database proxy node
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// User AppID
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

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

	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	OssProxyNodeName *string `json:"OssProxyNodeName,omitnil,omitempty" name:"OssProxyNodeName"`
}

type ProxySpec

type ProxySpec struct {
	// Number of database proxy CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Database proxy memory
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`
}

type ProxyVersionInfo

type ProxyVersionInfo struct {
	// proxy version number.
	ProxyVersion *string `json:"ProxyVersion,omitnil,omitempty" name:"ProxyVersion"`

	// Version description: GA: stable version. BETA: BETA version. DEPRECATED: outdated.
	ProxyVersionType *string `json:"ProxyVersionType,omitnil,omitempty" name:"ProxyVersionType"`
}

type ProxyZone

type ProxyZone struct {
	// AZ of the proxy node
	ProxyNodeZone *string `json:"ProxyNodeZone,omitnil,omitempty" name:"ProxyNodeZone"`

	// The number of proxy nodes
	ProxyNodeCount *int64 `json:"ProxyNodeCount,omitnil,omitempty" name:"ProxyNodeCount"`
}

type QueryFilter

type QueryFilter struct {
	// Search field. Valid values: "InstanceId", "ProjectId", "InstanceName", "Vip"
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`

	// Search string
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`

	// Whether to use exact match
	ExactMatch *bool `json:"ExactMatch,omitnil,omitempty" name:"ExactMatch"`

	// Search field
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Operator
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

type QueryParamFilter

type QueryParamFilter struct {
	// Search field. Valid values: "InstanceId", "ProjectId", "InstanceName", "Vip"
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`

	// Search string
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`

	// Whether to use exact match
	ExactMatch *bool `json:"ExactMatch,omitnil,omitempty" name:"ExactMatch"`
}

type RefundResourcePackageRequest

type RefundResourcePackageRequest struct {
	*tchttp.BaseRequest

	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`
}

func NewRefundResourcePackageRequest

func NewRefundResourcePackageRequest() (request *RefundResourcePackageRequest)

func (*RefundResourcePackageRequest) FromJsonString

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

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

func (*RefundResourcePackageRequest) ToJsonString

func (r *RefundResourcePackageRequest) ToJsonString() string

type RefundResourcePackageRequestParams

type RefundResourcePackageRequestParams struct {
	// The unique ID of a resource pack
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`
}

Predefined struct for user

type RefundResourcePackageResponse

type RefundResourcePackageResponse struct {
	*tchttp.BaseResponse
	Response *RefundResourcePackageResponseParams `json:"Response"`
}

func NewRefundResourcePackageResponse

func NewRefundResourcePackageResponse() (response *RefundResourcePackageResponse)

func (*RefundResourcePackageResponse) FromJsonString

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

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

func (*RefundResourcePackageResponse) ToJsonString

func (r *RefundResourcePackageResponse) ToJsonString() string

type RefundResourcePackageResponseParams

type RefundResourcePackageResponseParams struct {
	// Each item has only one `dealName`, through which you can ensure the idempotency of the delivery API.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReloadBalanceProxyNodeRequest

type ReloadBalanceProxyNodeRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

func NewReloadBalanceProxyNodeRequest

func NewReloadBalanceProxyNodeRequest() (request *ReloadBalanceProxyNodeRequest)

func (*ReloadBalanceProxyNodeRequest) FromJsonString

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

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

func (*ReloadBalanceProxyNodeRequest) ToJsonString

func (r *ReloadBalanceProxyNodeRequest) ToJsonString() string

type ReloadBalanceProxyNodeRequestParams

type ReloadBalanceProxyNodeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

Predefined struct for user

type ReloadBalanceProxyNodeResponse

type ReloadBalanceProxyNodeResponse struct {
	*tchttp.BaseResponse
	Response *ReloadBalanceProxyNodeResponseParams `json:"Response"`
}

func NewReloadBalanceProxyNodeResponse

func NewReloadBalanceProxyNodeResponse() (response *ReloadBalanceProxyNodeResponse)

func (*ReloadBalanceProxyNodeResponse) FromJsonString

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

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

func (*ReloadBalanceProxyNodeResponse) ToJsonString

func (r *ReloadBalanceProxyNodeResponse) ToJsonString() string

type ReloadBalanceProxyNodeResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveClusterSlaveZoneRequest

type RemoveClusterSlaveZoneRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Replica AZ
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`
}

func NewRemoveClusterSlaveZoneRequest

func NewRemoveClusterSlaveZoneRequest() (request *RemoveClusterSlaveZoneRequest)

func (*RemoveClusterSlaveZoneRequest) FromJsonString

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

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

func (*RemoveClusterSlaveZoneRequest) ToJsonString

func (r *RemoveClusterSlaveZoneRequest) ToJsonString() string

type RemoveClusterSlaveZoneRequestParams

type RemoveClusterSlaveZoneRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Replica AZ
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`
}

Predefined struct for user

type RemoveClusterSlaveZoneResponse

type RemoveClusterSlaveZoneResponse struct {
	*tchttp.BaseResponse
	Response *RemoveClusterSlaveZoneResponseParams `json:"Response"`
}

func NewRemoveClusterSlaveZoneResponse

func NewRemoveClusterSlaveZoneResponse() (response *RemoveClusterSlaveZoneResponse)

func (*RemoveClusterSlaveZoneResponse) FromJsonString

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

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

func (*RemoveClusterSlaveZoneResponse) ToJsonString

func (r *RemoveClusterSlaveZoneResponse) ToJsonString() string

type RemoveClusterSlaveZoneResponseParams

type RemoveClusterSlaveZoneResponseParams struct {
	// Async FlowId
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReplayInstanceAuditLogRequest

type ReplayInstanceAuditLogRequest struct {
	*tchttp.BaseRequest

	// Source cluster id.
	SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"`

	// Source instance id.
	SourceInstanceId *string `json:"SourceInstanceId,omitnil,omitempty" name:"SourceInstanceId"`

	// Target cluster id.
	// Specifies the target cluster must be a cluster cloned from the original cluster within three days.
	TargetClusterId *string `json:"TargetClusterId,omitnil,omitempty" name:"TargetClusterId"`

	// Target instance id.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Username. host must be % username.
	TargetUserName *string `json:"TargetUserName,omitnil,omitempty" name:"TargetUserName"`

	// Password.
	TargetPassword *string `json:"TargetPassword,omitnil,omitempty" name:"TargetPassword"`

	// Start time. time format: yyyy-DD-mm hh:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the end time in the time format yyyy-DD-mm hh:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewReplayInstanceAuditLogRequest

func NewReplayInstanceAuditLogRequest() (request *ReplayInstanceAuditLogRequest)

func (*ReplayInstanceAuditLogRequest) FromJsonString

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

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

func (*ReplayInstanceAuditLogRequest) ToJsonString

func (r *ReplayInstanceAuditLogRequest) ToJsonString() string

type ReplayInstanceAuditLogRequestParams

type ReplayInstanceAuditLogRequestParams struct {
	// Source cluster id.
	SourceClusterId *string `json:"SourceClusterId,omitnil,omitempty" name:"SourceClusterId"`

	// Source instance id.
	SourceInstanceId *string `json:"SourceInstanceId,omitnil,omitempty" name:"SourceInstanceId"`

	// Target cluster id.
	// Specifies the target cluster must be a cluster cloned from the original cluster within three days.
	TargetClusterId *string `json:"TargetClusterId,omitnil,omitempty" name:"TargetClusterId"`

	// Target instance id.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Username. host must be % username.
	TargetUserName *string `json:"TargetUserName,omitnil,omitempty" name:"TargetUserName"`

	// Password.
	TargetPassword *string `json:"TargetPassword,omitnil,omitempty" name:"TargetPassword"`

	// Start time. time format: yyyy-DD-mm hh:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the end time in the time format yyyy-DD-mm hh:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type ReplayInstanceAuditLogResponse

type ReplayInstanceAuditLogResponse struct {
	*tchttp.BaseResponse
	Response *ReplayInstanceAuditLogResponseParams `json:"Response"`
}

func NewReplayInstanceAuditLogResponse

func NewReplayInstanceAuditLogResponse() (response *ReplayInstanceAuditLogResponse)

func (*ReplayInstanceAuditLogResponse) FromJsonString

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

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

func (*ReplayInstanceAuditLogResponse) ToJsonString

func (r *ReplayInstanceAuditLogResponse) ToJsonString() string

type ReplayInstanceAuditLogResponseParams

type ReplayInstanceAuditLogResponseParams struct {
	// Task ID.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// Database account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// New password of the database account
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Host. Default value: `%`
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`
}

func NewResetAccountPasswordRequest

func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)

func (*ResetAccountPasswordRequest) FromJsonString

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

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

func (*ResetAccountPasswordRequest) ToJsonString

func (r *ResetAccountPasswordRequest) ToJsonString() string

type ResetAccountPasswordRequestParams

type ResetAccountPasswordRequestParams struct {
	// Database account name
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// New password of the database account
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Host. Default value: `%`
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`
}

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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourcePackage

type ResourcePackage struct {
	// The unique ID of the resource package.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Resource package type: CCU: compute resource package.
	// DISK: storage resource package.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Deduction priority of the current resource package bound to the current instance.
	DeductionPriority *int64 `json:"DeductionPriority,omitnil,omitempty" name:"DeductionPriority"`
}

type RestartInstanceRequest

type RestartInstanceRequest struct {
	*tchttp.BaseRequest

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

func NewRestartInstanceRequest

func NewRestartInstanceRequest() (request *RestartInstanceRequest)

func (*RestartInstanceRequest) FromJsonString

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

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

func (*RestartInstanceRequest) ToJsonString

func (r *RestartInstanceRequest) ToJsonString() string

type RestartInstanceRequestParams

type RestartInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type RestartInstanceResponse

type RestartInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RestartInstanceResponseParams `json:"Response"`
}

func NewRestartInstanceResponse

func NewRestartInstanceResponse() (response *RestartInstanceResponse)

func (*RestartInstanceResponse) FromJsonString

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

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

func (*RestartInstanceResponse) ToJsonString

func (r *RestartInstanceResponse) ToJsonString() string

type RestartInstanceResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResumeServerlessRequest

type ResumeServerlessRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewResumeServerlessRequest

func NewResumeServerlessRequest() (request *ResumeServerlessRequest)

func (*ResumeServerlessRequest) FromJsonString

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

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

func (*ResumeServerlessRequest) ToJsonString

func (r *ResumeServerlessRequest) ToJsonString() string

type ResumeServerlessRequestParams

type ResumeServerlessRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type ResumeServerlessResponse

type ResumeServerlessResponse struct {
	*tchttp.BaseResponse
	Response *ResumeServerlessResponseParams `json:"Response"`
}

func NewResumeServerlessResponse

func NewResumeServerlessResponse() (response *ResumeServerlessResponse)

func (*ResumeServerlessResponse) FromJsonString

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

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

func (*ResumeServerlessResponse) ToJsonString

func (r *ResumeServerlessResponse) ToJsonString() string

type ResumeServerlessResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RollbackTimeRange

type RollbackTimeRange struct {
	// Start time
	TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"`

	// End time
	TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`
}

type RuleFilters

type RuleFilters struct {
	// Filter parameter name of the audit rule. Valid values: `host` (client IP), `user` (database account), `dbName` (database name), `sqlType` (SQL type), `sql` (SQL statement).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Filter match type of the audit rule. Valid values: `INC` (including), `EXC` (excluding), `EQS` (equal to), `NEQ` (not equal to).
	Compare *string `json:"Compare,omitnil,omitempty" name:"Compare"`

	// Filter match value of the audit rule
	Value []*string `json:"Value,omitnil,omitempty" name:"Value"`
}

type RuleTemplateInfo

type RuleTemplateInfo struct {
	// Rule template ID.
	RuleTemplateId *string `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"`

	// Rule template name.
	RuleTemplateName *string `json:"RuleTemplateName,omitnil,omitempty" name:"RuleTemplateName"`

	// The rule content.
	RuleFilters []*RuleFilters `json:"RuleFilters,omitnil,omitempty" name:"RuleFilters"`

	// Alarm level. valid values: 1 (low risk), 2 (medium risk), 3 (high risk).
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Alarm policy. 0 - no alert, 1 - alert.
	AlarmPolicy *int64 `json:"AlarmPolicy,omitnil,omitempty" name:"AlarmPolicy"`

	// Rule description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type SalePackageSpec

type SalePackageSpec struct {
	// Resource package region of use.
	PackageRegion *string `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`

	// Specifies the resource package type.
	// CCU - compute resource package.
	// Storage resource package.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

	// Resource pack version.
	// base - basic version; common - general version; enterprise - enterprise edition.
	PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"`

	// Minimum number of resources in the current version of the resource package. compute resource unit: pieces; storage resource: GB.
	MinPackageSpec *float64 `json:"MinPackageSpec,omitnil,omitempty" name:"MinPackageSpec"`

	// Specifies the maximum number of resources in the current version of the resource package. valid values: compute resource unit: pieces; storage resource: GB.
	MaxPackageSpec *float64 `json:"MaxPackageSpec,omitnil,omitempty" name:"MaxPackageSpec"`

	// Specifies the resource pack validity period. the measurement unit is day.
	ExpireDay *int64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"`
}

type SaleRegion

type SaleRegion struct {
	// Region name
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Numeric ID of a region
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Region name
	RegionZh *string `json:"RegionZh,omitnil,omitempty" name:"RegionZh"`

	// List of purchasable AZs
	ZoneSet []*SaleZone `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"`

	// Engine type
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Supported modules in a region
	Modules []*Module `json:"Modules,omitnil,omitempty" name:"Modules"`
}

type SaleZone

type SaleZone struct {
	// AZ name
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Numeric ID of an AZ
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// AZ name
	ZoneZh *string `json:"ZoneZh,omitnil,omitempty" name:"ZoneZh"`

	// Whether serverless cluster is supported. Valid values: <br>
	// `0`: No<br>
	// `1`: Yes
	IsSupportServerless *int64 `json:"IsSupportServerless,omitnil,omitempty" name:"IsSupportServerless"`

	// Whether standard cluster is supported. Valid values: <br>
	// `0`: No<br>
	// `1`: Yes
	IsSupportNormal *int64 `json:"IsSupportNormal,omitnil,omitempty" name:"IsSupportNormal"`

	// Physical zone
	PhysicalZone *string `json:"PhysicalZone,omitnil,omitempty" name:"PhysicalZone"`

	// Whether the user has AZ permission.
	HasPermission *bool `json:"HasPermission,omitnil,omitempty" name:"HasPermission"`

	// Whether it is a full-linkage RDMA AZ.
	IsWholeRdmaZone *string `json:"IsWholeRdmaZone,omitnil,omitempty" name:"IsWholeRdmaZone"`

	// Specifies whether a newly purchased cluster is allowed in the current availability zone. valid values: 1 (allowed), 0 (not allowed).
	IsSupportCreateCluster *int64 `json:"IsSupportCreateCluster,omitnil,omitempty" name:"IsSupportCreateCluster"`
}

type SearchClusterDatabasesRequest

type SearchClusterDatabasesRequest struct {
	*tchttp.BaseRequest

	// The cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Whether to search exactly
	// Valid values: `0` (fuzzy search), `1` (exact search).
	// Default value: `0`.
	MatchType *int64 `json:"MatchType,omitnil,omitempty" name:"MatchType"`
}

func NewSearchClusterDatabasesRequest

func NewSearchClusterDatabasesRequest() (request *SearchClusterDatabasesRequest)

func (*SearchClusterDatabasesRequest) FromJsonString

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

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

func (*SearchClusterDatabasesRequest) ToJsonString

func (r *SearchClusterDatabasesRequest) ToJsonString() string

type SearchClusterDatabasesRequestParams

type SearchClusterDatabasesRequestParams struct {
	// The cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Whether to search exactly
	// Valid values: `0` (fuzzy search), `1` (exact search).
	// Default value: `0`.
	MatchType *int64 `json:"MatchType,omitnil,omitempty" name:"MatchType"`
}

Predefined struct for user

type SearchClusterDatabasesResponse

type SearchClusterDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *SearchClusterDatabasesResponseParams `json:"Response"`
}

func NewSearchClusterDatabasesResponse

func NewSearchClusterDatabasesResponse() (response *SearchClusterDatabasesResponse)

func (*SearchClusterDatabasesResponse) FromJsonString

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

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

func (*SearchClusterDatabasesResponse) ToJsonString

func (r *SearchClusterDatabasesResponse) ToJsonString() string

type SearchClusterDatabasesResponseParams

type SearchClusterDatabasesResponseParams struct {
	// Database List
	// Note: This field may return null, indicating that no valid values can be obtained.
	Databases []*string `json:"Databases,omitnil,omitempty" name:"Databases"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchClusterTablesRequest

type SearchClusterTablesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Data table name
	Table *string `json:"Table,omitnil,omitempty" name:"Table"`

	// Data table type. Valid values:
	// `view`: Only return to view,
	// `base_table`: Only return to basic table,
	// `all`: Return to view and table.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`
}

func NewSearchClusterTablesRequest

func NewSearchClusterTablesRequest() (request *SearchClusterTablesRequest)

func (*SearchClusterTablesRequest) FromJsonString

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

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

func (*SearchClusterTablesRequest) ToJsonString

func (r *SearchClusterTablesRequest) ToJsonString() string

type SearchClusterTablesRequestParams

type SearchClusterTablesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Data table name
	Table *string `json:"Table,omitnil,omitempty" name:"Table"`

	// Data table type. Valid values:
	// `view`: Only return to view,
	// `base_table`: Only return to basic table,
	// `all`: Return to view and table.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`
}

Predefined struct for user

type SearchClusterTablesResponse

type SearchClusterTablesResponse struct {
	*tchttp.BaseResponse
	Response *SearchClusterTablesResponseParams `json:"Response"`
}

func NewSearchClusterTablesResponse

func NewSearchClusterTablesResponse() (response *SearchClusterTablesResponse)

func (*SearchClusterTablesResponse) FromJsonString

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

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

func (*SearchClusterTablesResponse) ToJsonString

func (r *SearchClusterTablesResponse) ToJsonString() string

type SearchClusterTablesResponseParams

type SearchClusterTablesResponseParams struct {
	// Data table list.
	Tables []*DatabaseTables `json:"Tables,omitnil,omitempty" name:"Tables"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SecurityGroup

type SecurityGroup struct {
	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Creation time in the format of yyyy-mm-dd hh:mm:ss
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Inbound rule
	Inbound []*PolicyRule `json:"Inbound,omitnil,omitempty" name:"Inbound"`

	// Outbound rule
	Outbound []*PolicyRule `json:"Outbound,omitnil,omitempty" name:"Outbound"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Security group name
	SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"`

	// Security group remarks
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"`
}

type ServerlessSpec

type ServerlessSpec struct {
	// Specifies the minimum value of the cpu.
	MinCpu *float64 `json:"MinCpu,omitnil,omitempty" name:"MinCpu"`

	// Maximum value of cpu.
	MaxCpu *float64 `json:"MaxCpu,omitnil,omitempty" name:"MaxCpu"`

	// Maximum storage space.
	MaxStorageSize *int64 `json:"MaxStorageSize,omitnil,omitempty" name:"MaxStorageSize"`

	// Specifies whether it is the default specification.
	IsDefault *int64 `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`

	// Whether there is inventory.
	HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"`

	// Inventory quantity.
	StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"`

	// Availability zone inventory information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneStockInfos []*ServerlessZoneStockInfo `json:"ZoneStockInfos,omitnil,omitempty" name:"ZoneStockInfos"`
}

type ServerlessZoneStockInfo

type ServerlessZoneStockInfo struct {
	// Availability zone
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Specifies the stored amount.
	StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"`

	// Whether it contains inventory.
	HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"`

	// Inventory information from availability zone.
	SlaveZoneStockInfos []*SlaveZoneStockInfo `json:"SlaveZoneStockInfos,omitnil,omitempty" name:"SlaveZoneStockInfos"`
}

type SetRenewFlagRequest

type SetRenewFlagRequest struct {
	*tchttp.BaseRequest

	// ID of the instance to be manipulated
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
}

func NewSetRenewFlagRequest

func NewSetRenewFlagRequest() (request *SetRenewFlagRequest)

func (*SetRenewFlagRequest) FromJsonString

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

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

func (*SetRenewFlagRequest) ToJsonString

func (r *SetRenewFlagRequest) ToJsonString() string

type SetRenewFlagRequestParams

type SetRenewFlagRequestParams struct {
	// ID of the instance to be manipulated
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal, 2: no renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
}

Predefined struct for user

type SetRenewFlagResponse

type SetRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *SetRenewFlagResponseParams `json:"Response"`
}

func NewSetRenewFlagResponse

func NewSetRenewFlagResponse() (response *SetRenewFlagResponse)

func (*SetRenewFlagResponse) FromJsonString

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

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

func (*SetRenewFlagResponse) ToJsonString

func (r *SetRenewFlagResponse) ToJsonString() string

type SetRenewFlagResponseParams

type SetRenewFlagResponseParams struct {
	// Number of successfully manipulated instances
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SlaveZoneAttrItem

type SlaveZoneAttrItem struct {
	// Availability zone
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// binlog synchronization mode.
	BinlogSyncWay *string `json:"BinlogSyncWay,omitnil,omitempty" name:"BinlogSyncWay"`
}

type SlaveZoneStockInfo

type SlaveZoneStockInfo struct {
	// Replica AZ.
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`

	// Inventory quantity in spare availability zone.
	StockCount *uint64 `json:"StockCount,omitnil,omitempty" name:"StockCount"`

	// Whether there is inventory in the spare availability zone.
	HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"`
}

type SlowQueriesItem

type SlowQueriesItem struct {
	// Execution timestamp
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Execution duration in seconds
	QueryTime *float64 `json:"QueryTime,omitnil,omitempty" name:"QueryTime"`

	// SQL statement
	SqlText *string `json:"SqlText,omitnil,omitempty" name:"SqlText"`

	// Client host
	UserHost *string `json:"UserHost,omitnil,omitempty" name:"UserHost"`

	// Username
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Database name
	Database *string `json:"Database,omitnil,omitempty" name:"Database"`

	// Lock duration in seconds
	LockTime *float64 `json:"LockTime,omitnil,omitempty" name:"LockTime"`

	// Number of scanned rows
	RowsExamined *int64 `json:"RowsExamined,omitnil,omitempty" name:"RowsExamined"`

	// Number of returned rows
	RowsSent *int64 `json:"RowsSent,omitnil,omitempty" name:"RowsSent"`

	// SQL template
	SqlTemplate *string `json:"SqlTemplate,omitnil,omitempty" name:"SqlTemplate"`

	// MD5 value of the SQL statement
	SqlMd5 *string `json:"SqlMd5,omitnil,omitempty" name:"SqlMd5"`

	// Remote reading count.
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncReadCountRemote *int64 `json:"SyncReadCountRemote,omitnil,omitempty" name:"SyncReadCountRemote"`

	// Number of remote read bytes.
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncReadBytesRemote *int64 `json:"SyncReadBytesRemote,omitnil,omitempty" name:"SyncReadBytesRemote"`

	// Time spent on remote reads (µs).
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncReadTimeRemote *int64 `json:"SyncReadTimeRemote,omitnil,omitempty" name:"SyncReadTimeRemote"`

	// Remote write count.
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncWriteCountRemote *int64 `json:"SyncWriteCountRemote,omitnil,omitempty" name:"SyncWriteCountRemote"`

	// Specifies the number of remote written bytes.
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncWriteBytesRemote *int64 `json:"SyncWriteBytesRemote,omitnil,omitempty" name:"SyncWriteBytesRemote"`

	// Time spent on remote writing (µs).
	// Specifies that the database kernel version is larger than 3.1.12.
	SyncWriteTimeRemote *int64 `json:"SyncWriteTimeRemote,omitnil,omitempty" name:"SyncWriteTimeRemote"`

	// Transaction submission delay (µs).
	// Specifies that the database kernel version is larger than 3.1.12.
	TrxCommitDelay *int64 `json:"TrxCommitDelay,omitnil,omitempty" name:"TrxCommitDelay"`
}

type SwitchClusterVpcRequest

type SwitchClusterVpcRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID in string
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Subnet ID in string
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Valid hours of old IP
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`
}

func NewSwitchClusterVpcRequest

func NewSwitchClusterVpcRequest() (request *SwitchClusterVpcRequest)

func (*SwitchClusterVpcRequest) FromJsonString

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

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

func (*SwitchClusterVpcRequest) ToJsonString

func (r *SwitchClusterVpcRequest) ToJsonString() string

type SwitchClusterVpcRequestParams

type SwitchClusterVpcRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID in string
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Subnet ID in string
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Valid hours of old IP
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`
}

Predefined struct for user

type SwitchClusterVpcResponse

type SwitchClusterVpcResponse struct {
	*tchttp.BaseResponse
	Response *SwitchClusterVpcResponseParams `json:"Response"`
}

func NewSwitchClusterVpcResponse

func NewSwitchClusterVpcResponse() (response *SwitchClusterVpcResponse)

func (*SwitchClusterVpcResponse) FromJsonString

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

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

func (*SwitchClusterVpcResponse) ToJsonString

func (r *SwitchClusterVpcResponse) ToJsonString() string

type SwitchClusterVpcResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchClusterZoneRequest

type SwitchClusterZoneRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The current AZ
	OldZone *string `json:"OldZone,omitnil,omitempty" name:"OldZone"`

	// New AZ
	NewZone *string `json:"NewZone,omitnil,omitempty" name:"NewZone"`

	// Valid values: `yes` (execute during maintenance time), `no` (execute now)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

func NewSwitchClusterZoneRequest

func NewSwitchClusterZoneRequest() (request *SwitchClusterZoneRequest)

func (*SwitchClusterZoneRequest) FromJsonString

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

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

func (*SwitchClusterZoneRequest) ToJsonString

func (r *SwitchClusterZoneRequest) ToJsonString() string

type SwitchClusterZoneRequestParams

type SwitchClusterZoneRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The current AZ
	OldZone *string `json:"OldZone,omitnil,omitempty" name:"OldZone"`

	// New AZ
	NewZone *string `json:"NewZone,omitnil,omitempty" name:"NewZone"`

	// Valid values: `yes` (execute during maintenance time), `no` (execute now)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

Predefined struct for user

type SwitchClusterZoneResponse

type SwitchClusterZoneResponse struct {
	*tchttp.BaseResponse
	Response *SwitchClusterZoneResponseParams `json:"Response"`
}

func NewSwitchClusterZoneResponse

func NewSwitchClusterZoneResponse() (response *SwitchClusterZoneResponse)

func (*SwitchClusterZoneResponse) FromJsonString

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

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

func (*SwitchClusterZoneResponse) ToJsonString

func (r *SwitchClusterZoneResponse) ToJsonString() string

type SwitchClusterZoneResponseParams

type SwitchClusterZoneResponseParams struct {
	// Async FlowId
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchProxyVpcRequest

type SwitchProxyVpcRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID in string
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Subnet ID in string
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Valid hours of old IP
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`

	// Database proxy group ID (required), which can be obtained through the `DescribeProxies` API.
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

func NewSwitchProxyVpcRequest

func NewSwitchProxyVpcRequest() (request *SwitchProxyVpcRequest)

func (*SwitchProxyVpcRequest) FromJsonString

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

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

func (*SwitchProxyVpcRequest) ToJsonString

func (r *SwitchProxyVpcRequest) ToJsonString() string

type SwitchProxyVpcRequestParams

type SwitchProxyVpcRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// VPC ID in string
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Subnet ID in string
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Valid hours of old IP
	OldIpReserveHours *int64 `json:"OldIpReserveHours,omitnil,omitempty" name:"OldIpReserveHours"`

	// Database proxy group ID (required), which can be obtained through the `DescribeProxies` API.
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`
}

Predefined struct for user

type SwitchProxyVpcResponse

type SwitchProxyVpcResponse struct {
	*tchttp.BaseResponse
	Response *SwitchProxyVpcResponseParams `json:"Response"`
}

func NewSwitchProxyVpcResponse

func NewSwitchProxyVpcResponse() (response *SwitchProxyVpcResponse)

func (*SwitchProxyVpcResponse) FromJsonString

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

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

func (*SwitchProxyVpcResponse) ToJsonString

func (r *SwitchProxyVpcResponse) ToJsonString() string

type SwitchProxyVpcResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type TablePrivileges

type TablePrivileges struct {
	// Database name
	Db *string `json:"Db,omitnil,omitempty" name:"Db"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Permission list
	Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

type Tag

type Tag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type TemplateParamInfo

type TemplateParamInfo struct {
	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Default value
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// The collection of optional value types when the parameter type is `enum`.
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// The maximum value when the parameter type is float/integer.
	Max *string `json:"Max,omitnil,omitempty" name:"Max"`

	// Minimum value when the parameter type is float/integer.
	Min *string `json:"Min,omitnil,omitempty" name:"Min"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Whether to restart the instance for the parameter to take effect
	NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Parameter type. Valid value: `integer`, `float`, `string`, `enum`.
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`
}

type TradePrice

type TradePrice struct {
	// Resource total price under prepaid mode, excluding discounts. unit: cent.
	TotalPrice *int64 `json:"TotalPrice,omitnil,omitempty" name:"TotalPrice"`

	// Total discount. `100` means no discount.
	Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted total price under prepaid mode, unit: fen. for example, the user enjoys a Discount = TotalPrice × Discount.
	TotalPriceDiscount *int64 `json:"TotalPriceDiscount,omitnil,omitempty" name:"TotalPriceDiscount"`

	// Unit resource price in postpaid mode, excluding discounts. unit: cent.
	UnitPrice *int64 `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"`

	// Unit resource price in postpaid mode after Discount, unit: fen. for example, the user enjoys a Discount = unitprice × Discount.
	UnitPriceDiscount *int64 `json:"UnitPriceDiscount,omitnil,omitempty" name:"UnitPriceDiscount"`

	// Price unit
	ChargeUnit *string `json:"ChargeUnit,omitnil,omitempty" name:"ChargeUnit"`
}

type UnbindClusterResourcePackagesRequest

type UnbindClusterResourcePackagesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The unique ID of a resource pack. If this parameter is left empty, all resource packs of the instance will be unbound.
	PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"`
}

func NewUnbindClusterResourcePackagesRequest

func NewUnbindClusterResourcePackagesRequest() (request *UnbindClusterResourcePackagesRequest)

func (*UnbindClusterResourcePackagesRequest) FromJsonString

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

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

func (*UnbindClusterResourcePackagesRequest) ToJsonString

func (r *UnbindClusterResourcePackagesRequest) ToJsonString() string

type UnbindClusterResourcePackagesRequestParams

type UnbindClusterResourcePackagesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The unique ID of a resource pack. If this parameter is left empty, all resource packs of the instance will be unbound.
	PackageIds []*string `json:"PackageIds,omitnil,omitempty" name:"PackageIds"`
}

Predefined struct for user

type UnbindClusterResourcePackagesResponse

type UnbindClusterResourcePackagesResponse struct {
	*tchttp.BaseResponse
	Response *UnbindClusterResourcePackagesResponseParams `json:"Response"`
}

func NewUnbindClusterResourcePackagesResponse

func NewUnbindClusterResourcePackagesResponse() (response *UnbindClusterResourcePackagesResponse)

func (*UnbindClusterResourcePackagesResponse) FromJsonString

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

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

func (*UnbindClusterResourcePackagesResponse) ToJsonString

type UnbindClusterResourcePackagesResponseParams

type UnbindClusterResourcePackagesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeClusterVersionRequest

type UpgradeClusterVersionRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Kernel version
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Upgrade time type. Valid values: `upgradeImmediate`, `upgradeInMaintain`.
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`
}

func NewUpgradeClusterVersionRequest

func NewUpgradeClusterVersionRequest() (request *UpgradeClusterVersionRequest)

func (*UpgradeClusterVersionRequest) FromJsonString

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

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

func (*UpgradeClusterVersionRequest) ToJsonString

func (r *UpgradeClusterVersionRequest) ToJsonString() string

type UpgradeClusterVersionRequestParams

type UpgradeClusterVersionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Kernel version
	CynosVersion *string `json:"CynosVersion,omitnil,omitempty" name:"CynosVersion"`

	// Upgrade time type. Valid values: `upgradeImmediate`, `upgradeInMaintain`.
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`
}

Predefined struct for user

type UpgradeClusterVersionResponse

type UpgradeClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeClusterVersionResponseParams `json:"Response"`
}

func NewUpgradeClusterVersionResponse

func NewUpgradeClusterVersionResponse() (response *UpgradeClusterVersionResponse)

func (*UpgradeClusterVersionResponse) FromJsonString

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

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

func (*UpgradeClusterVersionResponse) ToJsonString

func (r *UpgradeClusterVersionResponse) ToJsonString() string

type UpgradeClusterVersionResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeInstanceRequest

type UpgradeInstanceRequest struct {
	*tchttp.BaseRequest

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

	// Database CPU
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Database memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Upgrade type. Valid values: upgradeImmediate, upgradeInMaintain
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// This parameter has been disused.
	StorageLimit *uint64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange). If the system detects that the configuration modification process will cause a momentary disconnection, the process will be terminated.
	UpgradeMode *string `json:"UpgradeMode,omitnil,omitempty" name:"UpgradeMode"`
}

func NewUpgradeInstanceRequest

func NewUpgradeInstanceRequest() (request *UpgradeInstanceRequest)

func (*UpgradeInstanceRequest) FromJsonString

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

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

func (*UpgradeInstanceRequest) ToJsonString

func (r *UpgradeInstanceRequest) ToJsonString() string

type UpgradeInstanceRequestParams

type UpgradeInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database CPU
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Database memory in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Upgrade type. Valid values: upgradeImmediate, upgradeInMaintain
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// This parameter has been disused.
	StorageLimit *uint64 `json:"StorageLimit,omitnil,omitempty" name:"StorageLimit"`

	// Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// This parameter has been disused.
	DbType *string `json:"DbType,omitnil,omitempty" name:"DbType"`

	// Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)
	DealMode *int64 `json:"DealMode,omitnil,omitempty" name:"DealMode"`

	// Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange). If the system detects that the configuration modification process will cause a momentary disconnection, the process will be terminated.
	UpgradeMode *string `json:"UpgradeMode,omitnil,omitempty" name:"UpgradeMode"`
}

Predefined struct for user

type UpgradeInstanceResponse

type UpgradeInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeInstanceResponseParams `json:"Response"`
}

func NewUpgradeInstanceResponse

func NewUpgradeInstanceResponse() (response *UpgradeInstanceResponse)

func (*UpgradeInstanceResponse) FromJsonString

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

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

func (*UpgradeInstanceResponse) ToJsonString

func (r *UpgradeInstanceResponse) ToJsonString() string

type UpgradeInstanceResponseParams

type UpgradeInstanceResponseParams struct {
	// Frozen transaction ID.
	TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"`

	// Large order number.
	BigDealIds []*string `json:"BigDealIds,omitnil,omitempty" name:"BigDealIds"`

	// Order ID
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeProxyRequest

type UpgradeProxyRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// Number of nodes in the proxy group
	ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"`

	// ID of the database proxy group (disused)
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Load rebalance mode. Valid values: `auto`, `manual`
	ReloadBalance *string `json:"ReloadBalance,omitnil,omitempty" name:"ReloadBalance"`

	// Upgrade time. Valid values: `no` (upon upgrade completion), `timeWindow` (upgrade during instance maintenance time)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`

	// Node information of the atabase proxy
	ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"`
}

func NewUpgradeProxyRequest

func NewUpgradeProxyRequest() (request *UpgradeProxyRequest)

func (*UpgradeProxyRequest) FromJsonString

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

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

func (*UpgradeProxyRequest) ToJsonString

func (r *UpgradeProxyRequest) ToJsonString() string

type UpgradeProxyRequestParams

type UpgradeProxyRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of CPU cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// Number of nodes in the proxy group
	ProxyCount *int64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"`

	// ID of the database proxy group (disused)
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Load rebalance mode. Valid values: `auto`, `manual`
	ReloadBalance *string `json:"ReloadBalance,omitnil,omitempty" name:"ReloadBalance"`

	// Upgrade time. Valid values: `no` (upon upgrade completion), `timeWindow` (upgrade during instance maintenance time)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`

	// Node information of the atabase proxy
	ProxyZones []*ProxyZone `json:"ProxyZones,omitnil,omitempty" name:"ProxyZones"`
}

Predefined struct for user

type UpgradeProxyResponse

type UpgradeProxyResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeProxyResponseParams `json:"Response"`
}

func NewUpgradeProxyResponse

func NewUpgradeProxyResponse() (response *UpgradeProxyResponse)

func (*UpgradeProxyResponse) FromJsonString

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

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

func (*UpgradeProxyResponse) ToJsonString

func (r *UpgradeProxyResponse) ToJsonString() string

type UpgradeProxyResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeProxyVersionRequest

type UpgradeProxyVersionRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Current version of database proxy
	SrcProxyVersion *string `json:"SrcProxyVersion,omitnil,omitempty" name:"SrcProxyVersion"`

	// Target version of database proxy
	DstProxyVersion *string `json:"DstProxyVersion,omitnil,omitempty" name:"DstProxyVersion"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Upgrade time. Valid values: `no` (upon upgrade completion), `yes` (upgrade during instance maintenance time)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

func NewUpgradeProxyVersionRequest

func NewUpgradeProxyVersionRequest() (request *UpgradeProxyVersionRequest)

func (*UpgradeProxyVersionRequest) FromJsonString

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

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

func (*UpgradeProxyVersionRequest) ToJsonString

func (r *UpgradeProxyVersionRequest) ToJsonString() string

type UpgradeProxyVersionRequestParams

type UpgradeProxyVersionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Current version of database proxy
	SrcProxyVersion *string `json:"SrcProxyVersion,omitnil,omitempty" name:"SrcProxyVersion"`

	// Target version of database proxy
	DstProxyVersion *string `json:"DstProxyVersion,omitnil,omitempty" name:"DstProxyVersion"`

	// Database proxy group ID
	ProxyGroupId *string `json:"ProxyGroupId,omitnil,omitempty" name:"ProxyGroupId"`

	// Upgrade time. Valid values: `no` (upon upgrade completion), `yes` (upgrade during instance maintenance time)
	IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitnil,omitempty" name:"IsInMaintainPeriod"`
}

Predefined struct for user

type UpgradeProxyVersionResponse

type UpgradeProxyVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeProxyVersionResponseParams `json:"Response"`
}

func NewUpgradeProxyVersionResponse

func NewUpgradeProxyVersionResponse() (response *UpgradeProxyVersionResponse)

func (*UpgradeProxyVersionResponse) FromJsonString

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

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

func (*UpgradeProxyVersionResponse) ToJsonString

func (r *UpgradeProxyVersionResponse) ToJsonString() string

type UpgradeProxyVersionResponseParams

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

	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UserHostPrivilege

type UserHostPrivilege struct {
	// Authorized user
	DbUserName *string `json:"DbUserName,omitnil,omitempty" name:"DbUserName"`

	// Client IP
	DbHost *string `json:"DbHost,omitnil,omitempty" name:"DbHost"`

	// User permission
	DbPrivilege *string `json:"DbPrivilege,omitnil,omitempty" name:"DbPrivilege"`
}

type ZoneStockInfo

type ZoneStockInfo struct {
	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Whether there is an inventory.
	HasStock *bool `json:"HasStock,omitnil,omitempty" name:"HasStock"`

	// Quantity in stock
	StockCount *int64 `json:"StockCount,omitnil,omitempty" name:"StockCount"`

	// Available zone inventory information.
	SlaveZoneStockInfos []*SlaveZoneStockInfo `json:"SlaveZoneStockInfos,omitnil,omitempty" name:"SlaveZoneStockInfos"`
}

Jump to

Keyboard shortcuts

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