v20190823

package
v3.0.959+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

	// API operation authentication error.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The old password has expired.
	FAILEDOPERATION_OLDPASSWORDHASEXPIRED = "FailedOperation.OldPasswordHasExpired"

	// The old password has not expired.
	FAILEDOPERATION_OLDPASSWORDINUSE = "FailedOperation.OldPasswordInUse"

	// Incorrect password.
	FAILEDOPERATION_PASSWORDFAILURE = "FailedOperation.PasswordFailure"

	// The requested region does not match.
	FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Invalid cluster name
	INVALIDPARAMETERVALUE_INVALIDAPPNAME = "InvalidParameterValue.InvalidAppName"

	// Invalid cluster name.
	INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"

	// Invalid table group name.
	INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"

	// Invalid time format.
	INVALIDPARAMETERVALUE_INVALIDTIMEVALUE = "InvalidParameterValue.InvalidTimeValue"

	// Invalid AZ name
	INVALIDPARAMETERVALUE_INVALIDZONENAME = "InvalidParameterValue.InvalidZoneName"

	// Unsupported application data description type.
	INVALIDPARAMETERVALUE_UNSUPPORTIDLTYPE = "InvalidParameterValue.UnsupportIdlType"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resources.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// Insufficient balance.
	RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"

	// No available cluster resources.
	RESOURCEINSUFFICIENT_NOAVAILABLEAPP = "ResourceInsufficient.NoAvailableApp"

	// No cluster resources available.
	RESOURCEINSUFFICIENT_NOAVAILABLECLUSTER = "ResourceInsufficient.NoAvailableCluster"

	// There are no VIP resources available in the VPC.
	RESOURCEINSUFFICIENT_NOENOUGHVIPINVPC = "ResourceInsufficient.NoEnoughVipInVPC"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The cluster name already exists.
	RESOURCEUNAVAILABLE_DUPLICATECLUSTERNAME = "ResourceUnavailable.DuplicateClusterName"

	// The table group ID or name already exists.
	RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPINFO = "ResourceUnavailable.DuplicateTableGroupInfo"

	// The table group name already exists.
	RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPNAME = "ResourceUnavailable.DuplicateTableGroupName"

	// No table group resources available.
	RESOURCEUNAVAILABLE_NOAVAILABLETABLEGROUP = "ResourceUnavailable.NoAvailableTableGroup"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-08-23"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyResult

type ApplyResult struct {
	// Application ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// Application type
	ApplicationType *int64 `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"`

	// Status. Valid values: `0` (pending approval), `1` (application approved and task submitted), `2` (rejected)
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	ApplicationStatus *int64 `json:"ApplicationStatus,omitnil,omitempty" name:"ApplicationStatus"`

	// ID of the submitted task
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Error information
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`
}

type ApplyStatus

type ApplyStatus struct {
	// Value format: cluster ID-application ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// Status. Valid values: `-1` (canceled), `0` (pending approval), `1` (application approved and task submitted), `2` (rejected). Only applications in the pending approval status can be updated.
	ApplicationStatus *int64 `json:"ApplicationStatus,omitnil,omitempty" name:"ApplicationStatus"`

	// Application type
	ApplicationType *int64 `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"`

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

type BackupExpireRuleInfo

type BackupExpireRuleInfo struct {
	// The ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// file tag, which is described above.
	FileTag *uint64 `json:"FileTag,omitnil,omitempty" name:"FileTag"`

	// Retention days, which is described above.
	ExpireDay *uint64 `json:"ExpireDay,omitnil,omitempty" name:"ExpireDay"`

	// Operation type, which is described above.
	OperType *uint64 `json:"OperType,omitnil,omitempty" name:"OperType"`
}

type BackupRecords

type BackupRecords struct {
	// Table group ID
	ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Backup source
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// File tag: TCAPLUS_FULL or OSDATA
	FileTag *string `json:"FileTag,omitnil,omitempty" name:"FileTag"`

	// Number of shards
	ShardCount *uint64 `json:"ShardCount,omitnil,omitempty" name:"ShardCount"`

	// Backup batch date
	BackupBatchTime *string `json:"BackupBatchTime,omitnil,omitempty" name:"BackupBatchTime"`

	// Total size of backup files
	BackupFileSize *uint64 `json:"BackupFileSize,omitnil,omitempty" name:"BackupFileSize"`

	// Backup success rate
	BackupSuccRate *string `json:"BackupSuccRate,omitnil,omitempty" name:"BackupSuccRate"`

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

	// Business ID
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`
}

type ClearTablesRequest

type ClearTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster instance where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of tables to be cleared
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewClearTablesRequest

func NewClearTablesRequest() (request *ClearTablesRequest)

func (*ClearTablesRequest) FromJsonString

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

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

func (*ClearTablesRequest) ToJsonString

func (r *ClearTablesRequest) ToJsonString() string

type ClearTablesRequestParams

type ClearTablesRequestParams struct {
	// ID of the cluster instance where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of tables to be cleared
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type ClearTablesResponse

type ClearTablesResponse struct {
	*tchttp.BaseResponse
	Response *ClearTablesResponseParams `json:"Response"`
}

func NewClearTablesResponse

func NewClearTablesResponse() (response *ClearTablesResponse)

func (*ClearTablesResponse) FromJsonString

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

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

func (*ClearTablesResponse) ToJsonString

func (r *ClearTablesResponse) ToJsonString() string

type ClearTablesResponseParams

type ClearTablesResponseParams struct {
	// Number of cleared tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of table clearing results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

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

func (c *Client) ClearTables(request *ClearTablesRequest) (response *ClearTablesResponse, err error)

ClearTables This API is used to clear table data based on the specified table information.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ClearTablesWithContext

func (c *Client) ClearTablesWithContext(ctx context.Context, request *ClearTablesRequest) (response *ClearTablesResponse, err error)

ClearTables This API is used to clear table data based on the specified table information.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CompareIdlFiles

func (c *Client) CompareIdlFiles(request *CompareIdlFilesRequest) (response *CompareIdlFilesResponse, err error)

CompareIdlFiles This API is used to select a target table, upload and verify the table modification file, and return the result of whether the table structure is allowed to be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CompareIdlFilesWithContext

func (c *Client) CompareIdlFilesWithContext(ctx context.Context, request *CompareIdlFilesRequest) (response *CompareIdlFilesResponse, err error)

CompareIdlFiles This API is used to select a target table, upload and verify the table modification file, and return the result of whether the table structure is allowed to be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateBackup

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

CreateBackup This API is used to create a backup task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateBackupWithContext

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

CreateBackup This API is used to create a backup task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateCluster

func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)

CreateCluster This API is used to create a TcaplusDB cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
INVALIDPARAMETERVALUE_UNSUPPORTIDLTYPE = "InvalidParameterValue.UnsupportIdlType"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCEINSUFFICIENT_NOAVAILABLECLUSTER = "ResourceInsufficient.NoAvailableCluster"
RESOURCEINSUFFICIENT_NOENOUGHVIPINVPC = "ResourceInsufficient.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_DUPLICATECLUSTERNAME = "ResourceUnavailable.DuplicateClusterName"

func (*Client) CreateClusterWithContext

func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)

CreateCluster This API is used to create a TcaplusDB cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
INVALIDPARAMETERVALUE_UNSUPPORTIDLTYPE = "InvalidParameterValue.UnsupportIdlType"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCEINSUFFICIENT_NOAVAILABLECLUSTER = "ResourceInsufficient.NoAvailableCluster"
RESOURCEINSUFFICIENT_NOENOUGHVIPINVPC = "ResourceInsufficient.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_DUPLICATECLUSTERNAME = "ResourceUnavailable.DuplicateClusterName"

func (*Client) CreateSnapshots

func (c *Client) CreateSnapshots(request *CreateSnapshotsRequest) (response *CreateSnapshotsResponse, err error)

CreateSnapshots This API is used to create one or more table snapshots at a specified past time point.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateSnapshotsWithContext

func (c *Client) CreateSnapshotsWithContext(ctx context.Context, request *CreateSnapshotsRequest) (response *CreateSnapshotsResponse, err error)

CreateSnapshots This API is used to create one or more table snapshots at a specified past time point.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateTableGroup

func (c *Client) CreateTableGroup(request *CreateTableGroupRequest) (response *CreateTableGroupResponse, err error)

CreateTableGroup This API is used to create a table group in a TcaplusDB cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPINFO = "ResourceUnavailable.DuplicateTableGroupInfo"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPNAME = "ResourceUnavailable.DuplicateTableGroupName"
RESOURCEUNAVAILABLE_NOAVAILABLETABLEGROUP = "ResourceUnavailable.NoAvailableTableGroup"

func (*Client) CreateTableGroupWithContext

func (c *Client) CreateTableGroupWithContext(ctx context.Context, request *CreateTableGroupRequest) (response *CreateTableGroupResponse, err error)

CreateTableGroup This API is used to create a table group in a TcaplusDB cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPINFO = "ResourceUnavailable.DuplicateTableGroupInfo"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPNAME = "ResourceUnavailable.DuplicateTableGroupName"
RESOURCEUNAVAILABLE_NOAVAILABLETABLEGROUP = "ResourceUnavailable.NoAvailableTableGroup"

func (*Client) CreateTables

func (c *Client) CreateTables(request *CreateTablesRequest) (response *CreateTablesResponse, err error)

CreateTables This API is used to create tables in batches based on the selected IDL file list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateTablesWithContext

func (c *Client) CreateTablesWithContext(ctx context.Context, request *CreateTablesRequest) (response *CreateTablesResponse, err error)

CreateTables This API is used to create tables in batches based on the selected IDL file list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteBackupRecords

func (c *Client) DeleteBackupRecords(request *DeleteBackupRecordsRequest) (response *DeleteBackupRecordsResponse, err error)

DeleteBackupRecords This API is used to delete a manual backup.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteBackupRecordsWithContext

func (c *Client) DeleteBackupRecordsWithContext(ctx context.Context, request *DeleteBackupRecordsRequest) (response *DeleteBackupRecordsResponse, err error)

DeleteBackupRecords This API is used to delete a manual backup.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)

DeleteCluster This API is used to delete a TcaplusDB cluster, which will succeed only after all resources (including table groups and tables) in the cluster are released.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteClusterWithContext

func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)

DeleteCluster This API is used to delete a TcaplusDB cluster, which will succeed only after all resources (including table groups and tables) in the cluster are released.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteIdlFiles

func (c *Client) DeleteIdlFiles(request *DeleteIdlFilesRequest) (response *DeleteIdlFilesResponse, err error)

DeleteIdlFiles This API is used to delete a target IDL file by specifying the cluster ID and information of the file to be deleted. If the file is associated with a table, deletion will fail.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteIdlFilesWithContext

func (c *Client) DeleteIdlFilesWithContext(ctx context.Context, request *DeleteIdlFilesRequest) (response *DeleteIdlFilesResponse, err error)

DeleteIdlFiles This API is used to delete a target IDL file by specifying the cluster ID and information of the file to be deleted. If the file is associated with a table, deletion will fail.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteSnapshots

func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)

DeleteSnapshots This API is used to delete one or more table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteSnapshotsWithContext

func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)

DeleteSnapshots This API is used to delete one or more table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableDataFlow

func (c *Client) DeleteTableDataFlow(request *DeleteTableDataFlowRequest) (response *DeleteTableDataFlowResponse, err error)

DeleteTableDataFlow This API is used to disable data subscription for tables.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableDataFlowWithContext

func (c *Client) DeleteTableDataFlowWithContext(ctx context.Context, request *DeleteTableDataFlowRequest) (response *DeleteTableDataFlowResponse, err error)

DeleteTableDataFlow This API is used to disable data subscription for tables.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableGroup

func (c *Client) DeleteTableGroup(request *DeleteTableGroupRequest) (response *DeleteTableGroupResponse, err error)

DeleteTableGroup This API is used to delete a table group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableGroupWithContext

func (c *Client) DeleteTableGroupWithContext(ctx context.Context, request *DeleteTableGroupRequest) (response *DeleteTableGroupResponse, err error)

DeleteTableGroup This API is used to delete a table group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableIndex

func (c *Client) DeleteTableIndex(request *DeleteTableIndexRequest) (response *DeleteTableIndexResponse, err error)

DeleteTableIndex This API is used to delete the global index from a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTableIndexWithContext

func (c *Client) DeleteTableIndexWithContext(ctx context.Context, request *DeleteTableIndexRequest) (response *DeleteTableIndexResponse, err error)

DeleteTableIndex This API is used to delete the global index from a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTables

func (c *Client) DeleteTables(request *DeleteTablesRequest) (response *DeleteTablesResponse, err error)

DeleteTables This API is used to drop a specified table. Calling this API for the first time means to move the table to the recycle bin, while calling it again means to drop the table completely from the recycle bin.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteTablesWithContext

func (c *Client) DeleteTablesWithContext(ctx context.Context, request *DeleteTablesRequest) (response *DeleteTablesResponse, err error)

DeleteTables This API is used to drop a specified table. Calling this API for the first time means to move the table to the recycle bin, while calling it again means to drop the table completely from the recycle bin.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeBackupRecords

func (c *Client) DescribeBackupRecords(request *DescribeBackupRecordsRequest) (response *DescribeBackupRecordsResponse, err error)

DescribeBackupRecords This API is used to query backup records.

When querying the cluster level, set `TableGroupId` to `-1` and `TableName` to `-1`.

When querying the cluster and table group levels, set `TableName` to `-1`.

When querying the cluster, table group, and table levels, both `TableGroupId` and `TableName` cannot be set to `-1`.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeBackupRecordsWithContext

func (c *Client) DescribeBackupRecordsWithContext(ctx context.Context, request *DescribeBackupRecordsRequest) (response *DescribeBackupRecordsResponse, err error)

DescribeBackupRecords This API is used to query backup records.

When querying the cluster level, set `TableGroupId` to `-1` and `TableName` to `-1`.

When querying the cluster and table group levels, set `TableName` to `-1`.

When querying the cluster, table group, and table levels, both `TableGroupId` and `TableName` cannot be set to `-1`.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeClusterTags

func (c *Client) DescribeClusterTags(request *DescribeClusterTagsRequest) (response *DescribeClusterTagsResponse, err error)

DescribeClusterTags This API is used to get the associated tag list of a cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeClusterTagsWithContext

func (c *Client) DescribeClusterTagsWithContext(ctx context.Context, request *DescribeClusterTagsRequest) (response *DescribeClusterTagsResponse, err error)

DescribeClusterTags This API is used to get the associated tag list of a cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeClusters

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

DescribeClusters This API is used to query the TcaplusDB cluster list, including cluster details.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeClustersWithContext

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

DescribeClusters This API is used to query the TcaplusDB cluster list, including cluster details.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeIdlFileInfos

func (c *Client) DescribeIdlFileInfos(request *DescribeIdlFileInfosRequest) (response *DescribeIdlFileInfosResponse, err error)

DescribeIdlFileInfos This API is used to query table description file details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeIdlFileInfosWithContext

func (c *Client) DescribeIdlFileInfosWithContext(ctx context.Context, request *DescribeIdlFileInfosRequest) (response *DescribeIdlFileInfosResponse, err error)

DescribeIdlFileInfos This API is used to query table description file details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeMachine

func (c *Client) DescribeMachine(request *DescribeMachineRequest) (response *DescribeMachineResponse, err error)

DescribeMachine This API is used to query the available machines in a dedicated cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeMachineWithContext

func (c *Client) DescribeMachineWithContext(ctx context.Context, request *DescribeMachineRequest) (response *DescribeMachineResponse, err error)

DescribeMachine This API is used to query the available machines in a dedicated cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeRegions

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

DescribeRegions This API is used to query the list of regions supported by the TcaplusDB service.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeRegionsWithContext

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

DescribeRegions This API is used to query the list of regions supported by the TcaplusDB service.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeSnapshots

func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)

DescribeSnapshots This API is used to query the list of table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPNAME = "InvalidParameterValue.InvalidAppName"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSnapshotsWithContext

func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)

DescribeSnapshots This API is used to query the list of table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPNAME = "InvalidParameterValue.InvalidAppName"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableGroupTags

func (c *Client) DescribeTableGroupTags(request *DescribeTableGroupTagsRequest) (response *DescribeTableGroupTagsResponse, err error)

DescribeTableGroupTags This API is used to get the associated tag list of a table group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableGroupTagsWithContext

func (c *Client) DescribeTableGroupTagsWithContext(ctx context.Context, request *DescribeTableGroupTagsRequest) (response *DescribeTableGroupTagsResponse, err error)

DescribeTableGroupTags This API is used to get the associated tag list of a table group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableGroups

func (c *Client) DescribeTableGroups(request *DescribeTableGroupsRequest) (response *DescribeTableGroupsResponse, err error)

DescribeTableGroups This API is used to query the table group list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableGroupsWithContext

func (c *Client) DescribeTableGroupsWithContext(ctx context.Context, request *DescribeTableGroupsRequest) (response *DescribeTableGroupsResponse, err error)

DescribeTableGroups This API is used to query the table group list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableTags

func (c *Client) DescribeTableTags(request *DescribeTableTagsRequest) (response *DescribeTableTagsResponse, err error)

DescribeTableTags This API is used to get table tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTableTagsWithContext

func (c *Client) DescribeTableTagsWithContext(ctx context.Context, request *DescribeTableTagsRequest) (response *DescribeTableTagsResponse, err error)

DescribeTableTags This API is used to get table tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTables

func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)

DescribeTables This API is used to query table details.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTablesInRecycle

func (c *Client) DescribeTablesInRecycle(request *DescribeTablesInRecycleRequest) (response *DescribeTablesInRecycleResponse, err error)

DescribeTablesInRecycle This API is used to query the details of a table in recycle bin.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTablesInRecycleWithContext

func (c *Client) DescribeTablesInRecycleWithContext(ctx context.Context, request *DescribeTablesInRecycleRequest) (response *DescribeTablesInRecycleResponse, err error)

DescribeTablesInRecycle This API is used to query the details of a table in recycle bin.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTablesWithContext

func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)

DescribeTables This API is used to query table details.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTasks

func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

DescribeTasks This API is used to query the task list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeTasksWithContext

func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

DescribeTasks This API is used to query the task list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeUinInWhitelist

func (c *Client) DescribeUinInWhitelist(request *DescribeUinInWhitelistRequest) (response *DescribeUinInWhitelistResponse, err error)

DescribeUinInWhitelist This API is used to query whether the current user is in the allowlist and control whether the user can create TDR-type apps or tables.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeUinInWhitelistWithContext

func (c *Client) DescribeUinInWhitelistWithContext(ctx context.Context, request *DescribeUinInWhitelistRequest) (response *DescribeUinInWhitelistResponse, err error)

DescribeUinInWhitelist This API is used to query whether the current user is in the allowlist and control whether the user can create TDR-type apps or tables.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DisableRestProxy

func (c *Client) DisableRestProxy(request *DisableRestProxyRequest) (response *DisableRestProxyResponse, err error)

DisableRestProxy This API is used to disable the RESTful API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DisableRestProxyWithContext

func (c *Client) DisableRestProxyWithContext(ctx context.Context, request *DisableRestProxyRequest) (response *DisableRestProxyResponse, err error)

DisableRestProxy This API is used to disable the RESTful API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableRestProxy

func (c *Client) EnableRestProxy(request *EnableRestProxyRequest) (response *EnableRestProxyResponse, err error)

EnableRestProxy This API is used to enable the RESTful API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPNAME = "InvalidParameterValue.InvalidAppName"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
INVALIDPARAMETERVALUE_INVALIDTIMEVALUE = "InvalidParameterValue.InvalidTimeValue"
INVALIDPARAMETERVALUE_INVALIDZONENAME = "InvalidParameterValue.InvalidZoneName"
INVALIDPARAMETERVALUE_UNSUPPORTIDLTYPE = "InvalidParameterValue.UnsupportIdlType"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableRestProxyWithContext

func (c *Client) EnableRestProxyWithContext(ctx context.Context, request *EnableRestProxyRequest) (response *EnableRestProxyResponse, err error)

EnableRestProxy This API is used to enable the RESTful API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPNAME = "InvalidParameterValue.InvalidAppName"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
INVALIDPARAMETERVALUE_INVALIDTIMEVALUE = "InvalidParameterValue.InvalidTimeValue"
INVALIDPARAMETERVALUE_INVALIDZONENAME = "InvalidParameterValue.InvalidZoneName"
INVALIDPARAMETERVALUE_UNSUPPORTIDLTYPE = "InvalidParameterValue.UnsupportIdlType"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ImportSnapshots

func (c *Client) ImportSnapshots(request *ImportSnapshotsRequest) (response *ImportSnapshotsResponse, err error)

ImportSnapshots This API is used to import a snapshot into a new table or the original table from which the snapshot was created.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ImportSnapshotsWithContext

func (c *Client) ImportSnapshotsWithContext(ctx context.Context, request *ImportSnapshotsRequest) (response *ImportSnapshotsResponse, err error)

ImportSnapshots This API is used to import a snapshot into a new table or the original table from which the snapshot was created.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) MergeTablesData

func (c *Client) MergeTablesData(request *MergeTablesDataRequest) (response *MergeTablesDataResponse, err error)

MergeTablesData This API is used to merge tables.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) MergeTablesDataWithContext

func (c *Client) MergeTablesDataWithContext(ctx context.Context, request *MergeTablesDataRequest) (response *MergeTablesDataResponse, err error)

MergeTablesData This API is used to merge tables.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyCensorship

func (c *Client) ModifyCensorship(request *ModifyCensorshipRequest) (response *ModifyCensorshipResponse, err error)

ModifyCensorship This API is used to enable or disable the cluster operation approval feature.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyCensorshipWithContext

func (c *Client) ModifyCensorshipWithContext(ctx context.Context, request *ModifyCensorshipRequest) (response *ModifyCensorshipResponse, err error)

ModifyCensorship This API is used to enable or disable the cluster operation approval feature.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyClusterMachine

func (c *Client) ModifyClusterMachine(request *ModifyClusterMachineRequest) (response *ModifyClusterMachineResponse, err error)

ModifyClusterMachine This API is used to modify the machines of a dedicated cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEINSUFFICIENT_NOAVAILABLEAPP = "ResourceInsufficient.NoAvailableApp"
RESOURCEINSUFFICIENT_NOAVAILABLECLUSTER = "ResourceInsufficient.NoAvailableCluster"

func (*Client) ModifyClusterMachineWithContext

func (c *Client) ModifyClusterMachineWithContext(ctx context.Context, request *ModifyClusterMachineRequest) (response *ModifyClusterMachineResponse, err error)

ModifyClusterMachine This API is used to modify the machines of a dedicated cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEINSUFFICIENT_NOAVAILABLEAPP = "ResourceInsufficient.NoAvailableApp"
RESOURCEINSUFFICIENT_NOAVAILABLECLUSTER = "ResourceInsufficient.NoAvailableCluster"

func (*Client) ModifyClusterName

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

ModifyClusterName This API is used to rename a specified cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATECLUSTERNAME = "ResourceUnavailable.DuplicateClusterName"

func (*Client) ModifyClusterNameWithContext

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

ModifyClusterName This API is used to rename a specified cluster.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REGIONMISMATCH = "FailedOperation.RegionMismatch"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDCLUSTERNAME = "InvalidParameterValue.InvalidClusterName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATECLUSTERNAME = "ResourceUnavailable.DuplicateClusterName"

func (*Client) ModifyClusterPassword

func (c *Client) ModifyClusterPassword(request *ModifyClusterPasswordRequest) (response *ModifyClusterPasswordResponse, err error)

ModifyClusterPassword This API is used to change the password of a specified cluster. The backend will allow the TcaplusDB SDK to access databases with both old and new passwords before the old password expires. You cannot submit a new password change request before the old password expires or submit a request to modify the expiration time of the old password after the old password expires.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OLDPASSWORDHASEXPIRED = "FailedOperation.OldPasswordHasExpired"
FAILEDOPERATION_OLDPASSWORDINUSE = "FailedOperation.OldPasswordInUse"
FAILEDOPERATION_PASSWORDFAILURE = "FailedOperation.PasswordFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDTIMEVALUE = "InvalidParameterValue.InvalidTimeValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterPasswordWithContext

func (c *Client) ModifyClusterPasswordWithContext(ctx context.Context, request *ModifyClusterPasswordRequest) (response *ModifyClusterPasswordResponse, err error)

ModifyClusterPassword This API is used to change the password of a specified cluster. The backend will allow the TcaplusDB SDK to access databases with both old and new passwords before the old password expires. You cannot submit a new password change request before the old password expires or submit a request to modify the expiration time of the old password after the old password expires.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OLDPASSWORDHASEXPIRED = "FailedOperation.OldPasswordHasExpired"
FAILEDOPERATION_OLDPASSWORDINUSE = "FailedOperation.OldPasswordInUse"
FAILEDOPERATION_PASSWORDFAILURE = "FailedOperation.PasswordFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDTIMEVALUE = "InvalidParameterValue.InvalidTimeValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterTags

func (c *Client) ModifyClusterTags(request *ModifyClusterTagsRequest) (response *ModifyClusterTagsResponse, err error)

ModifyClusterTags This API is used to modify cluster tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyClusterTagsWithContext

func (c *Client) ModifyClusterTagsWithContext(ctx context.Context, request *ModifyClusterTagsRequest) (response *ModifyClusterTagsResponse, err error)

ModifyClusterTags This API is used to modify cluster tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySnapshots

func (c *Client) ModifySnapshots(request *ModifySnapshotsRequest) (response *ModifySnapshotsResponse, err error)

ModifySnapshots This API is used to modify the expiration time of one or more table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySnapshotsWithContext

func (c *Client) ModifySnapshotsWithContext(ctx context.Context, request *ModifySnapshotsRequest) (response *ModifySnapshotsResponse, err error)

ModifySnapshots This API is used to modify the expiration time of one or more table snapshots.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableGroupName

func (c *Client) ModifyTableGroupName(request *ModifyTableGroupNameRequest) (response *ModifyTableGroupNameResponse, err error)

ModifyTableGroupName This API is used to rename a TcaplusDB table group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPNAME = "ResourceUnavailable.DuplicateTableGroupName"

func (*Client) ModifyTableGroupNameWithContext

func (c *Client) ModifyTableGroupNameWithContext(ctx context.Context, request *ModifyTableGroupNameRequest) (response *ModifyTableGroupNameResponse, err error)

ModifyTableGroupName This API is used to rename a TcaplusDB table group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDTABLEGROUPNAME = "InvalidParameterValue.InvalidTableGroupName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_DUPLICATETABLEGROUPNAME = "ResourceUnavailable.DuplicateTableGroupName"

func (*Client) ModifyTableGroupTags

func (c *Client) ModifyTableGroupTags(request *ModifyTableGroupTagsRequest) (response *ModifyTableGroupTagsResponse, err error)

ModifyTableGroupTags This API is used to modify table group tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableGroupTagsWithContext

func (c *Client) ModifyTableGroupTagsWithContext(ctx context.Context, request *ModifyTableGroupTagsRequest) (response *ModifyTableGroupTagsResponse, err error)

ModifyTableGroupTags This API is used to modify table group tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableMemos

func (c *Client) ModifyTableMemos(request *ModifyTableMemosRequest) (response *ModifyTableMemosResponse, err error)

ModifyTableMemos This API is used to modify table remarks.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableMemosWithContext

func (c *Client) ModifyTableMemosWithContext(ctx context.Context, request *ModifyTableMemosRequest) (response *ModifyTableMemosResponse, err error)

ModifyTableMemos This API is used to modify table remarks.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableQuotas

func (c *Client) ModifyTableQuotas(request *ModifyTableQuotasRequest) (response *ModifyTableQuotasResponse, err error)

ModifyTableQuotas This API is used to scale a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableQuotasWithContext

func (c *Client) ModifyTableQuotasWithContext(ctx context.Context, request *ModifyTableQuotasRequest) (response *ModifyTableQuotasResponse, err error)

ModifyTableQuotas This API is used to scale a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_BALANCEERROR = "ResourceInsufficient.BalanceError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableTags

func (c *Client) ModifyTableTags(request *ModifyTableTagsRequest) (response *ModifyTableTagsResponse, err error)

ModifyTableTags This API is used to modify table tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTableTagsWithContext

func (c *Client) ModifyTableTagsWithContext(ctx context.Context, request *ModifyTableTagsRequest) (response *ModifyTableTagsResponse, err error)

ModifyTableTags This API is used to modify table tags.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTables

func (c *Client) ModifyTables(request *ModifyTablesRequest) (response *ModifyTablesResponse, err error)

ModifyTables This API is used to modify specified tables in batches based on the selected table definition IDL file.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyTablesWithContext

func (c *Client) ModifyTablesWithContext(ctx context.Context, request *ModifyTablesRequest) (response *ModifyTablesResponse, err error)

ModifyTables This API is used to modify specified tables in batches based on the selected table definition IDL file.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RecoverRecycleTables

func (c *Client) RecoverRecycleTables(request *RecoverRecycleTablesRequest) (response *RecoverRecycleTablesResponse, err error)

RecoverRecycleTables This API is used to recover a dropped table from the recycle bin. It will not work for tables to be released due to arrears.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RecoverRecycleTablesWithContext

func (c *Client) RecoverRecycleTablesWithContext(ctx context.Context, request *RecoverRecycleTablesRequest) (response *RecoverRecycleTablesResponse, err error)

RecoverRecycleTables This API is used to recover a dropped table from the recycle bin. It will not work for tables to be released due to arrears.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RollbackTables

func (c *Client) RollbackTables(request *RollbackTablesRequest) (response *RollbackTablesResponse, err error)

RollbackTables This API is used to roll back table data.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) RollbackTablesWithContext

func (c *Client) RollbackTablesWithContext(ctx context.Context, request *RollbackTablesRequest) (response *RollbackTablesResponse, err error)

RollbackTables This API is used to roll back table data.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) SetBackupExpireRule

func (c *Client) SetBackupExpireRule(request *SetBackupExpireRuleRequest) (response *SetBackupExpireRuleResponse, err error)

SetBackupExpireRule This API is used to add/delete/modify backup expiration policy. `ClusterId` must be a specific cluster ID (appid).

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetBackupExpireRuleWithContext

func (c *Client) SetBackupExpireRuleWithContext(ctx context.Context, request *SetBackupExpireRuleRequest) (response *SetBackupExpireRuleResponse, err error)

SetBackupExpireRule This API is used to add/delete/modify backup expiration policy. `ClusterId` must be a specific cluster ID (appid).

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetTableDataFlow

func (c *Client) SetTableDataFlow(request *SetTableDataFlowRequest) (response *SetTableDataFlowResponse, err error)

SetTableDataFlow This API is used to enable data subscription for tables or modify the feature's configurations.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetTableDataFlowWithContext

func (c *Client) SetTableDataFlowWithContext(ctx context.Context, request *SetTableDataFlowRequest) (response *SetTableDataFlowResponse, err error)

SetTableDataFlow This API is used to enable data subscription for tables or modify the feature's configurations.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetTableIndex

func (c *Client) SetTableIndex(request *SetTableIndexRequest) (response *SetTableIndexResponse, err error)

SetTableIndex This API is used to create a global index for a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetTableIndexWithContext

func (c *Client) SetTableIndexWithContext(ctx context.Context, request *SetTableIndexRequest) (response *SetTableIndexResponse, err error)

SetTableIndex This API is used to create a global index for a table.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UpdateApply

func (c *Client) UpdateApply(request *UpdateApplyRequest) (response *UpdateApplyResponse, err error)

UpdateApply This API is used to update the application status.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) UpdateApplyWithContext

func (c *Client) UpdateApplyWithContext(ctx context.Context, request *UpdateApplyRequest) (response *UpdateApplyResponse, err error)

UpdateApply This API is used to update the application status.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) VerifyIdlFiles

func (c *Client) VerifyIdlFiles(request *VerifyIdlFilesRequest) (response *VerifyIdlFilesResponse, err error)

VerifyIdlFiles This API is used to upload and verify a table creation file and return the definition of tables that are verified to be valid.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) VerifyIdlFilesWithContext

func (c *Client) VerifyIdlFilesWithContext(ctx context.Context, request *VerifyIdlFilesRequest) (response *VerifyIdlFilesResponse, err error)

VerifyIdlFiles This API is used to upload and verify a table creation file and return the definition of tables that are verified to be valid.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

type ClusterInfo

type ClusterInfo struct {
	// Cluster name
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

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

	// Cluster region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Cluster data description language type, such as `PROTO`, `TDR`, or `MIX`
	IdlType *string `json:"IdlType,omitnil,omitempty" name:"IdlType"`

	// Network type
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// ID of the VPC instance with which a cluster is associated
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet instance with which a cluster is associated
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

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

	// Cluster password
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Password status
	PasswordStatus *string `json:"PasswordStatus,omitnil,omitempty" name:"PasswordStatus"`

	// TcaplusDB SDK connection parameter: access ID
	ApiAccessId *string `json:"ApiAccessId,omitnil,omitempty" name:"ApiAccessId"`

	// TcaplusDB SDK connection parameter: access address
	ApiAccessIp *string `json:"ApiAccessIp,omitnil,omitempty" name:"ApiAccessIp"`

	// TcaplusDB SDK connection parameter: access port
	ApiAccessPort *int64 `json:"ApiAccessPort,omitnil,omitempty" name:"ApiAccessPort"`

	// If `PasswordStatus` is `unmodifiable`, the old password has not expired, and this field will display its expiration time; otherwise, this field will be empty
	// Note: this field may return null, indicating that no valid values can be obtained.
	OldPasswordExpireTime *string `json:"OldPasswordExpireTime,omitnil,omitempty" name:"OldPasswordExpireTime"`

	// TcaplusDB SDK connection parameter for accessing IPv6 addresses
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAccessIpv6 *string `json:"ApiAccessIpv6,omitnil,omitempty" name:"ApiAccessIpv6"`

	// Cluster type. Valid values: `0` and `1` (shared cluster), `2` (dedicated cluster).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClusterType *int64 `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// Cluster status. Valid values: `0` (Running), `1` (Isolated. This status is caused by overdue payments), `2` (To be repossessed. This status is caused when the cluster is actively deleted.),·`3` (To be released. The resources occupied by the table can be released in this status.), `4` (Modifying).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClusterStatus *int64 `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"`

	// Read CU
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReadCapacityUnit *int64 `json:"ReadCapacityUnit,omitnil,omitempty" name:"ReadCapacityUnit"`

	// Write CU
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	WriteCapacityUnit *int64 `json:"WriteCapacityUnit,omitnil,omitempty" name:"WriteCapacityUnit"`

	// Disk capacity
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DiskVolume *int64 `json:"DiskVolume,omitnil,omitempty" name:"DiskVolume"`

	// Information of the machine at the storage layer (tcapsvr) in a dedicated cluster
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ServerList []*ServerDetailInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// Information of the machine at the access layer (tcaproxy) in a dedicated cluster
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ProxyList []*ProxyDetailInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`

	// Whether the cluster operation approval feature is enabled. Valid values: `0` (disabled), `1` (enabled)
	Censorship *int64 `json:"Censorship,omitnil,omitempty" name:"Censorship"`

	// Approver UIN list
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	DbaUins []*string `json:"DbaUins,omitnil,omitempty" name:"DbaUins"`

	// Whether data subscription is enabled
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DataFlowStatus *int64 `json:"DataFlowStatus,omitnil,omitempty" name:"DataFlowStatus"`

	// CKafka information when data subscription is enabled
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	KafkaInfo *KafkaInfo `json:"KafkaInfo,omitnil,omitempty" name:"KafkaInfo"`

	// The number of days after which the cluster Txh backup file will expire and be deleted.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TxhBackupExpireDay *uint64 `json:"TxhBackupExpireDay,omitnil,omitempty" name:"TxhBackupExpireDay"`

	// The number of days after which the cluster Ulog backup file will expire and be deleted.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	UlogBackupExpireDay *uint64 `json:"UlogBackupExpireDay,omitnil,omitempty" name:"UlogBackupExpireDay"`

	// Whether the expiration policy of cluster Ulog backup file is read-only. `0`: Yes; `1`: No.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IsReadOnlyUlogBackupExpireDay *uint64 `json:"IsReadOnlyUlogBackupExpireDay,omitnil,omitempty" name:"IsReadOnlyUlogBackupExpireDay"`

	// restproxy Status
	// Note: This field may return null, indicating that no valid values can be obtained.
	RestProxyStatus *int64 `json:"RestProxyStatus,omitnil,omitempty" name:"RestProxyStatus"`
}

type CompareIdlFilesRequest

type CompareIdlFilesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be modified resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of tables to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Selected list of uploaded IDL files. Either this parameter or `NewIdlFiles` must be selected
	ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitnil,omitempty" name:"ExistingIdlFiles"`

	// List of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be selected
	NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,omitnil,omitempty" name:"NewIdlFiles"`
}

func NewCompareIdlFilesRequest

func NewCompareIdlFilesRequest() (request *CompareIdlFilesRequest)

func (*CompareIdlFilesRequest) FromJsonString

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

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

func (*CompareIdlFilesRequest) ToJsonString

func (r *CompareIdlFilesRequest) ToJsonString() string

type CompareIdlFilesRequestParams

type CompareIdlFilesRequestParams struct {
	// ID of the cluster where the table to be modified resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of tables to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Selected list of uploaded IDL files. Either this parameter or `NewIdlFiles` must be selected
	ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitnil,omitempty" name:"ExistingIdlFiles"`

	// List of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be selected
	NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,omitnil,omitempty" name:"NewIdlFiles"`
}

Predefined struct for user

type CompareIdlFilesResponse

type CompareIdlFilesResponse struct {
	*tchttp.BaseResponse
	Response *CompareIdlFilesResponseParams `json:"Response"`
}

func NewCompareIdlFilesResponse

func NewCompareIdlFilesResponse() (response *CompareIdlFilesResponse)

func (*CompareIdlFilesResponse) FromJsonString

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

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

func (*CompareIdlFilesResponse) ToJsonString

func (r *CompareIdlFilesResponse) ToJsonString() string

type CompareIdlFilesResponseParams

type CompareIdlFilesResponseParams struct {
	// Information list of all IDL files uploaded and verified in this request
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// Number of tables verified to be valid in this request
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Verification result parsed from the selected table after the IDL description file is read
	TableInfos []*ParsedTableInfoNew `json:"TableInfos,omitnil,omitempty" name:"TableInfos"`

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

Predefined struct for user

type CompareTablesInfo

type CompareTablesInfo struct {
	// Cluster ID of the source table
	SrcTableClusterId *string `json:"SrcTableClusterId,omitnil,omitempty" name:"SrcTableClusterId"`

	// Table group ID of the source table
	SrcTableGroupId *string `json:"SrcTableGroupId,omitnil,omitempty" name:"SrcTableGroupId"`

	// Source table name
	SrcTableName *string `json:"SrcTableName,omitnil,omitempty" name:"SrcTableName"`

	// Cluster ID of the target table
	DstTableClusterId *string `json:"DstTableClusterId,omitnil,omitempty" name:"DstTableClusterId"`

	// Table group ID of the target table
	DstTableGroupId *string `json:"DstTableGroupId,omitnil,omitempty" name:"DstTableGroupId"`

	// Target table name
	DstTableName *string `json:"DstTableName,omitnil,omitempty" name:"DstTableName"`

	// Source table ID
	SrcTableInstanceId *string `json:"SrcTableInstanceId,omitnil,omitempty" name:"SrcTableInstanceId"`

	// Target table ID
	DstTableInstanceId *string `json:"DstTableInstanceId,omitnil,omitempty" name:"DstTableInstanceId"`
}

type CreateBackupRequest

type CreateBackupRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be backed up resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Information list of tables to be backed up
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

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 {
	// ID of the cluster where the table to be backed up resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Information list of tables to be backed up
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

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 {
	// List of backup creation task IDs
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// List of backup creation application IDs
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	ApplicationIds []*string `json:"ApplicationIds,omitnil,omitempty" name:"ApplicationIds"`

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

Predefined struct for user

type CreateClusterRequest

type CreateClusterRequest struct {
	*tchttp.BaseRequest

	// Cluster data description language type, such as `PROTO`, `TDR`, or `MIX`
	IdlType *string `json:"IdlType,omitnil,omitempty" name:"IdlType"`

	// Cluster name, which can contain up to 32 letters and digits
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// ID of the VPC instance bound to a cluster in the format of `vpc-f49l6u0z`
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet instance bound to a cluster in the format of `subnet-pxir56ns`
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Cluster access password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Cluster tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Whether to enable IPv6 address access for clusters
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`

	// Information of the machine at the storage layer (tcapsvr) in a dedicated cluster
	ServerList []*MachineInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// Information of the machine at the access layer (tcaproxy) in a dedicated cluster
	ProxyList []*MachineInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`

	// Cluster type. Valid values: `1` (standard), `2` (dedicated)
	ClusterType *int64 `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// Authentication type. Valid values: `0` (static password), `1` (signature)
	AuthType *int64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`
}

func NewCreateClusterRequest

func NewCreateClusterRequest() (request *CreateClusterRequest)

func (*CreateClusterRequest) FromJsonString

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

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

func (*CreateClusterRequest) ToJsonString

func (r *CreateClusterRequest) ToJsonString() string

type CreateClusterRequestParams

type CreateClusterRequestParams struct {
	// Cluster data description language type, such as `PROTO`, `TDR`, or `MIX`
	IdlType *string `json:"IdlType,omitnil,omitempty" name:"IdlType"`

	// Cluster name, which can contain up to 32 letters and digits
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// ID of the VPC instance bound to a cluster in the format of `vpc-f49l6u0z`
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet instance bound to a cluster in the format of `subnet-pxir56ns`
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Cluster access password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Cluster tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Whether to enable IPv6 address access for clusters
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`

	// Information of the machine at the storage layer (tcapsvr) in a dedicated cluster
	ServerList []*MachineInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// Information of the machine at the access layer (tcaproxy) in a dedicated cluster
	ProxyList []*MachineInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`

	// Cluster type. Valid values: `1` (standard), `2` (dedicated)
	ClusterType *int64 `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// Authentication type. Valid values: `0` (static password), `1` (signature)
	AuthType *int64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`
}

Predefined struct for user

type CreateClusterResponse

type CreateClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterResponseParams `json:"Response"`
}

func NewCreateClusterResponse

func NewCreateClusterResponse() (response *CreateClusterResponse)

func (*CreateClusterResponse) FromJsonString

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

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

func (*CreateClusterResponse) ToJsonString

func (r *CreateClusterResponse) ToJsonString() string

type CreateClusterResponseParams

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

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

Predefined struct for user

type CreateSnapshotsRequest

type CreateSnapshotsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Snapshot list
	SelectedTables []*SnapshotInfo `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewCreateSnapshotsRequest

func NewCreateSnapshotsRequest() (request *CreateSnapshotsRequest)

func (*CreateSnapshotsRequest) FromJsonString

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

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

func (*CreateSnapshotsRequest) ToJsonString

func (r *CreateSnapshotsRequest) ToJsonString() string

type CreateSnapshotsRequestParams

type CreateSnapshotsRequestParams struct {
	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Snapshot list
	SelectedTables []*SnapshotInfo `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type CreateSnapshotsResponse

type CreateSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *CreateSnapshotsResponseParams `json:"Response"`
}

func NewCreateSnapshotsResponse

func NewCreateSnapshotsResponse() (response *CreateSnapshotsResponse)

func (*CreateSnapshotsResponse) FromJsonString

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

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

func (*CreateSnapshotsResponse) ToJsonString

func (r *CreateSnapshotsResponse) ToJsonString() string

type CreateSnapshotsResponseParams

type CreateSnapshotsResponseParams struct {
	// The number of snapshots created in batches
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of snapshots created in batches
	TableResults []*SnapshotResult `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type CreateTableGroupRequest

type CreateTableGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group name, which can contain up to 32 letters and digits
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`

	// Table group ID, which can be customized but must be unique in one cluster. If it is not specified, the auto-increment mode will be used.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table group tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

func NewCreateTableGroupRequest

func NewCreateTableGroupRequest() (request *CreateTableGroupRequest)

func (*CreateTableGroupRequest) FromJsonString

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

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

func (*CreateTableGroupRequest) ToJsonString

func (r *CreateTableGroupRequest) ToJsonString() string

type CreateTableGroupRequestParams

type CreateTableGroupRequestParams struct {
	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group name, which can contain up to 32 letters and digits
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`

	// Table group ID, which can be customized but must be unique in one cluster. If it is not specified, the auto-increment mode will be used.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table group tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

Predefined struct for user

type CreateTableGroupResponse

type CreateTableGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateTableGroupResponseParams `json:"Response"`
}

func NewCreateTableGroupResponse

func NewCreateTableGroupResponse() (response *CreateTableGroupResponse)

func (*CreateTableGroupResponse) FromJsonString

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

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

func (*CreateTableGroupResponse) ToJsonString

func (r *CreateTableGroupResponse) ToJsonString() string

type CreateTableGroupResponseParams

type CreateTableGroupResponseParams struct {
	// ID of table group successfully created
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

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

Predefined struct for user

type CreateTablesRequest

type CreateTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where to create a table
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table creation IDL file list selected by user
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// Information list of tables to be created
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Table tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

func NewCreateTablesRequest

func NewCreateTablesRequest() (request *CreateTablesRequest)

func (*CreateTablesRequest) FromJsonString

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

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

func (*CreateTablesRequest) ToJsonString

func (r *CreateTablesRequest) ToJsonString() string

type CreateTablesRequestParams

type CreateTablesRequestParams struct {
	// ID of the cluster where to create a table
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table creation IDL file list selected by user
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// Information list of tables to be created
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Table tag list
	ResourceTags []*TagInfoUnit `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

Predefined struct for user

type CreateTablesResponse

type CreateTablesResponse struct {
	*tchttp.BaseResponse
	Response *CreateTablesResponseParams `json:"Response"`
}

func NewCreateTablesResponse

func NewCreateTablesResponse() (response *CreateTablesResponse)

func (*CreateTablesResponse) FromJsonString

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

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

func (*CreateTablesResponse) ToJsonString

func (r *CreateTablesResponse) ToJsonString() string

type CreateTablesResponseParams

type CreateTablesResponseParams struct {
	// Number of tables created in batches
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of tables created in batches
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DeleteBackupRecordsRequest

type DeleteBackupRecordsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID of the backup records to be deleted
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Details of the backup records to be deleted
	BackupRecords []*BackupRecords `json:"BackupRecords,omitnil,omitempty" name:"BackupRecords"`
}

func NewDeleteBackupRecordsRequest

func NewDeleteBackupRecordsRequest() (request *DeleteBackupRecordsRequest)

func (*DeleteBackupRecordsRequest) FromJsonString

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

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

func (*DeleteBackupRecordsRequest) ToJsonString

func (r *DeleteBackupRecordsRequest) ToJsonString() string

type DeleteBackupRecordsRequestParams

type DeleteBackupRecordsRequestParams struct {
	// Cluster ID of the backup records to be deleted
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Details of the backup records to be deleted
	BackupRecords []*BackupRecords `json:"BackupRecords,omitnil,omitempty" name:"BackupRecords"`
}

Predefined struct for user

type DeleteBackupRecordsResponse

type DeleteBackupRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBackupRecordsResponseParams `json:"Response"`
}

func NewDeleteBackupRecordsResponse

func NewDeleteBackupRecordsResponse() (response *DeleteBackupRecordsResponse)

func (*DeleteBackupRecordsResponse) FromJsonString

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

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

func (*DeleteBackupRecordsResponse) ToJsonString

func (r *DeleteBackupRecordsResponse) ToJsonString() string

type DeleteBackupRecordsResponseParams

type DeleteBackupRecordsResponseParams struct {
	// `TaskId` is in the format of `AppInstanceId-taskId`, which is used to identify tasks of different clusters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type DeleteClusterRequest

type DeleteClusterRequest struct {
	*tchttp.BaseRequest

	// ID of cluster to be deleted
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDeleteClusterRequest

func NewDeleteClusterRequest() (request *DeleteClusterRequest)

func (*DeleteClusterRequest) FromJsonString

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

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

func (*DeleteClusterRequest) ToJsonString

func (r *DeleteClusterRequest) ToJsonString() string

type DeleteClusterRequestParams

type DeleteClusterRequestParams struct {
	// ID of cluster to be deleted
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DeleteClusterResponse

type DeleteClusterResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterResponseParams `json:"Response"`
}

func NewDeleteClusterResponse

func NewDeleteClusterResponse() (response *DeleteClusterResponse)

func (*DeleteClusterResponse) FromJsonString

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

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

func (*DeleteClusterResponse) ToJsonString

func (r *DeleteClusterResponse) ToJsonString() string

type DeleteClusterResponseParams

type DeleteClusterResponseParams struct {
	// Task ID generated by cluster deletion
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type DeleteIdlFilesRequest

type DeleteIdlFilesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where IDL resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of IDL files to be deleted
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`
}

func NewDeleteIdlFilesRequest

func NewDeleteIdlFilesRequest() (request *DeleteIdlFilesRequest)

func (*DeleteIdlFilesRequest) FromJsonString

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

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

func (*DeleteIdlFilesRequest) ToJsonString

func (r *DeleteIdlFilesRequest) ToJsonString() string

type DeleteIdlFilesRequestParams

type DeleteIdlFilesRequestParams struct {
	// ID of the cluster where IDL resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of IDL files to be deleted
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`
}

Predefined struct for user

type DeleteIdlFilesResponse

type DeleteIdlFilesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIdlFilesResponseParams `json:"Response"`
}

func NewDeleteIdlFilesResponse

func NewDeleteIdlFilesResponse() (response *DeleteIdlFilesResponse)

func (*DeleteIdlFilesResponse) FromJsonString

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

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

func (*DeleteIdlFilesResponse) ToJsonString

func (r *DeleteIdlFilesResponse) ToJsonString() string

type DeleteIdlFilesResponseParams

type DeleteIdlFilesResponseParams struct {
	// Number of returned results
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Deletion result
	IdlFileInfos []*IdlFileInfoWithoutContent `json:"IdlFileInfos,omitnil,omitempty" name:"IdlFileInfos"`

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

Predefined struct for user

type DeleteSnapshotsRequest

type DeleteSnapshotsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of snapshots to delete
	SelectedTables []*SnapshotInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDeleteSnapshotsRequest

func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)

func (*DeleteSnapshotsRequest) FromJsonString

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

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

func (*DeleteSnapshotsRequest) ToJsonString

func (r *DeleteSnapshotsRequest) ToJsonString() string

type DeleteSnapshotsRequestParams

type DeleteSnapshotsRequestParams struct {
	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of snapshots to delete
	SelectedTables []*SnapshotInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DeleteSnapshotsResponse

type DeleteSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSnapshotsResponseParams `json:"Response"`
}

func NewDeleteSnapshotsResponse

func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)

func (*DeleteSnapshotsResponse) FromJsonString

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

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

func (*DeleteSnapshotsResponse) ToJsonString

func (r *DeleteSnapshotsResponse) ToJsonString() string

type DeleteSnapshotsResponseParams

type DeleteSnapshotsResponseParams struct {
	// The number of snapshots deleted in batches
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of snapshots deleted in batches
	TableResults []*SnapshotResult `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DeleteTableDataFlowRequest

type DeleteTableDataFlowRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables for which data subscription will be disabled
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDeleteTableDataFlowRequest

func NewDeleteTableDataFlowRequest() (request *DeleteTableDataFlowRequest)

func (*DeleteTableDataFlowRequest) FromJsonString

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

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

func (*DeleteTableDataFlowRequest) ToJsonString

func (r *DeleteTableDataFlowRequest) ToJsonString() string

type DeleteTableDataFlowRequestParams

type DeleteTableDataFlowRequestParams struct {
	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables for which data subscription will be disabled
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DeleteTableDataFlowResponse

type DeleteTableDataFlowResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTableDataFlowResponseParams `json:"Response"`
}

func NewDeleteTableDataFlowResponse

func NewDeleteTableDataFlowResponse() (response *DeleteTableDataFlowResponse)

func (*DeleteTableDataFlowResponse) FromJsonString

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

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

func (*DeleteTableDataFlowResponse) ToJsonString

func (r *DeleteTableDataFlowResponse) ToJsonString() string

type DeleteTableDataFlowResponseParams

type DeleteTableDataFlowResponseParams struct {
	// The number of tables for which data subscription has been disabled
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of tables for which data subscription has been disabled
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DeleteTableGroupRequest

type DeleteTableGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group ID
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`
}

func NewDeleteTableGroupRequest

func NewDeleteTableGroupRequest() (request *DeleteTableGroupRequest)

func (*DeleteTableGroupRequest) FromJsonString

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

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

func (*DeleteTableGroupRequest) ToJsonString

func (r *DeleteTableGroupRequest) ToJsonString() string

type DeleteTableGroupRequestParams

type DeleteTableGroupRequestParams struct {
	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group ID
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`
}

Predefined struct for user

type DeleteTableGroupResponse

type DeleteTableGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTableGroupResponseParams `json:"Response"`
}

func NewDeleteTableGroupResponse

func NewDeleteTableGroupResponse() (response *DeleteTableGroupResponse)

func (*DeleteTableGroupResponse) FromJsonString

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

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

func (*DeleteTableGroupResponse) ToJsonString

func (r *DeleteTableGroupResponse) ToJsonString() string

type DeleteTableGroupResponseParams

type DeleteTableGroupResponseParams struct {
	// Task ID generated by table group deletion
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type DeleteTableIndexRequest

type DeleteTableIndexRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables whose global indexes need to be deleted
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDeleteTableIndexRequest

func NewDeleteTableIndexRequest() (request *DeleteTableIndexRequest)

func (*DeleteTableIndexRequest) FromJsonString

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

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

func (*DeleteTableIndexRequest) ToJsonString

func (r *DeleteTableIndexRequest) ToJsonString() string

type DeleteTableIndexRequestParams

type DeleteTableIndexRequestParams struct {
	// ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables whose global indexes need to be deleted
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DeleteTableIndexResponse

type DeleteTableIndexResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTableIndexResponseParams `json:"Response"`
}

func NewDeleteTableIndexResponse

func NewDeleteTableIndexResponse() (response *DeleteTableIndexResponse)

func (*DeleteTableIndexResponse) FromJsonString

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

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

func (*DeleteTableIndexResponse) ToJsonString

func (r *DeleteTableIndexResponse) ToJsonString() string

type DeleteTableIndexResponseParams

type DeleteTableIndexResponseParams struct {
	// The number of tables whose global indexes are deleted
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The list of global index deletion results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DeleteTablesRequest

type DeleteTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be dropped resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of tables to be dropped
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDeleteTablesRequest

func NewDeleteTablesRequest() (request *DeleteTablesRequest)

func (*DeleteTablesRequest) FromJsonString

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

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

func (*DeleteTablesRequest) ToJsonString

func (r *DeleteTablesRequest) ToJsonString() string

type DeleteTablesRequestParams

type DeleteTablesRequestParams struct {
	// ID of the cluster where the table to be dropped resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of information of tables to be dropped
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DeleteTablesResponse

type DeleteTablesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTablesResponseParams `json:"Response"`
}

func NewDeleteTablesResponse

func NewDeleteTablesResponse() (response *DeleteTablesResponse)

func (*DeleteTablesResponse) FromJsonString

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

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

func (*DeleteTablesResponse) ToJsonString

func (r *DeleteTablesResponse) ToJsonString() string

type DeleteTablesResponseParams

type DeleteTablesResponseParams struct {
	// Number of dropped tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of details of dropped tables
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DescribeBackupRecordsRequest

type DescribeBackupRecordsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID, which is used to query a specified cluster
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of results per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Table group ID used as a filter condition
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name used as a filter condition
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`
}

func NewDescribeBackupRecordsRequest

func NewDescribeBackupRecordsRequest() (request *DescribeBackupRecordsRequest)

func (*DescribeBackupRecordsRequest) FromJsonString

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

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

func (*DescribeBackupRecordsRequest) ToJsonString

func (r *DescribeBackupRecordsRequest) ToJsonString() string

type DescribeBackupRecordsRequestParams

type DescribeBackupRecordsRequestParams struct {
	// Cluster ID, which is used to query a specified cluster
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Number of results per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Table group ID used as a filter condition
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name used as a filter condition
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`
}

Predefined struct for user

type DescribeBackupRecordsResponse

type DescribeBackupRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupRecordsResponseParams `json:"Response"`
}

func NewDescribeBackupRecordsResponse

func NewDescribeBackupRecordsResponse() (response *DescribeBackupRecordsResponse)

func (*DescribeBackupRecordsResponse) FromJsonString

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

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

func (*DescribeBackupRecordsResponse) ToJsonString

func (r *DescribeBackupRecordsResponse) ToJsonString() string

type DescribeBackupRecordsResponseParams

type DescribeBackupRecordsResponseParams struct {
	// Backup record details
	BackupRecords []*BackupRecords `json:"BackupRecords,omitnil,omitempty" name:"BackupRecords"`

	// Number of returned entries
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeClusterTagsRequest

type DescribeClusterTagsRequest struct {
	*tchttp.BaseRequest

	// The list of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeClusterTagsRequest

func NewDescribeClusterTagsRequest() (request *DescribeClusterTagsRequest)

func (*DescribeClusterTagsRequest) FromJsonString

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

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

func (*DescribeClusterTagsRequest) ToJsonString

func (r *DescribeClusterTagsRequest) ToJsonString() string

type DescribeClusterTagsRequestParams

type DescribeClusterTagsRequestParams struct {
	// The list of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeClusterTagsResponse

type DescribeClusterTagsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterTagsResponseParams `json:"Response"`
}

func NewDescribeClusterTagsResponse

func NewDescribeClusterTagsResponse() (response *DescribeClusterTagsResponse)

func (*DescribeClusterTagsResponse) FromJsonString

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

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

func (*DescribeClusterTagsResponse) ToJsonString

func (r *DescribeClusterTagsResponse) ToJsonString() string

type DescribeClusterTagsResponseParams

type DescribeClusterTagsResponseParams struct {
	// The information list of cluster tags
	Rows []*TagsInfoOfCluster `json:"Rows,omitnil,omitempty" name:"Rows"`

	// The number of returned results
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. 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

	// List of IDs of clusters to be queried
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Query filter
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether to enable IPv6 address access
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`
}

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 {
	// List of IDs of clusters to be queried
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// Query filter
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether to enable IPv6 address access
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`
}

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 cluster instances
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Cluster instance list
	Clusters []*ClusterInfo `json:"Clusters,omitnil,omitempty" name:"Clusters"`

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

Predefined struct for user

type DescribeIdlFileInfosRequest

type DescribeIdlFileInfosRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a file resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group where a file resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// File ID list
	IdlFileIds []*string `json:"IdlFileIds,omitnil,omitempty" name:"IdlFileIds"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeIdlFileInfosRequest

func NewDescribeIdlFileInfosRequest() (request *DescribeIdlFileInfosRequest)

func (*DescribeIdlFileInfosRequest) FromJsonString

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

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

func (*DescribeIdlFileInfosRequest) ToJsonString

func (r *DescribeIdlFileInfosRequest) ToJsonString() string

type DescribeIdlFileInfosRequestParams

type DescribeIdlFileInfosRequestParams struct {
	// ID of the cluster where a file resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group where a file resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// File ID list
	IdlFileIds []*string `json:"IdlFileIds,omitnil,omitempty" name:"IdlFileIds"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeIdlFileInfosResponse

type DescribeIdlFileInfosResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdlFileInfosResponseParams `json:"Response"`
}

func NewDescribeIdlFileInfosResponse

func NewDescribeIdlFileInfosResponse() (response *DescribeIdlFileInfosResponse)

func (*DescribeIdlFileInfosResponse) FromJsonString

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

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

func (*DescribeIdlFileInfosResponse) ToJsonString

func (r *DescribeIdlFileInfosResponse) ToJsonString() string

type DescribeIdlFileInfosResponseParams

type DescribeIdlFileInfosResponseParams struct {
	// Number of files
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of file details
	IdlFileInfos []*IdlFileInfo `json:"IdlFileInfos,omitnil,omitempty" name:"IdlFileInfos"`

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

Predefined struct for user

type DescribeMachineRequest

type DescribeMachineRequest struct {
	*tchttp.BaseRequest

	// If this parameter is not `0`, machines supporting IPv6 will be queried.
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`
}

func NewDescribeMachineRequest

func NewDescribeMachineRequest() (request *DescribeMachineRequest)

func (*DescribeMachineRequest) FromJsonString

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

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

func (*DescribeMachineRequest) ToJsonString

func (r *DescribeMachineRequest) ToJsonString() string

type DescribeMachineRequestParams

type DescribeMachineRequestParams struct {
	// If this parameter is not `0`, machines supporting IPv6 will be queried.
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`
}

Predefined struct for user

type DescribeMachineResponse

type DescribeMachineResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachineResponseParams `json:"Response"`
}

func NewDescribeMachineResponse

func NewDescribeMachineResponse() (response *DescribeMachineResponse)

func (*DescribeMachineResponse) FromJsonString

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

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

func (*DescribeMachineResponse) ToJsonString

func (r *DescribeMachineResponse) ToJsonString() string

type DescribeMachineResponseParams

type DescribeMachineResponseParams struct {
	// The list of dedicated machine resources
	PoolList []*PoolInfo `json:"PoolList,omitnil,omitempty" name:"PoolList"`

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

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

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

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

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

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

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

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams

type DescribeRegionsResponseParams struct {
	// Number of queried AZs
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of AZ query results
	RegionInfos []*RegionInfo `json:"RegionInfos,omitnil,omitempty" name:"RegionInfos"`

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

Predefined struct for user

type DescribeSnapshotsRequest

type DescribeSnapshotsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Snapshot name
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// The list of snapshots pulled in batches
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDescribeSnapshotsRequest

func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)

func (*DescribeSnapshotsRequest) FromJsonString

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

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

func (*DescribeSnapshotsRequest) ToJsonString

func (r *DescribeSnapshotsRequest) ToJsonString() string

type DescribeSnapshotsRequestParams

type DescribeSnapshotsRequestParams struct {
	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Snapshot name
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// The list of snapshots pulled in batches
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DescribeSnapshotsResponse

type DescribeSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSnapshotsResponseParams `json:"Response"`
}

func NewDescribeSnapshotsResponse

func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)

func (*DescribeSnapshotsResponse) FromJsonString

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

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

func (*DescribeSnapshotsResponse) ToJsonString

func (r *DescribeSnapshotsResponse) ToJsonString() string

type DescribeSnapshotsResponseParams

type DescribeSnapshotsResponseParams struct {
	// The number of snapshots
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of snapshots
	TableResults []*SnapshotResult `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type DescribeTableGroupTagsRequest

type DescribeTableGroupTagsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where table group tags need to be queried
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of IDs of the table groups whose tags need to be queried
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`
}

func NewDescribeTableGroupTagsRequest

func NewDescribeTableGroupTagsRequest() (request *DescribeTableGroupTagsRequest)

func (*DescribeTableGroupTagsRequest) FromJsonString

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

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

func (*DescribeTableGroupTagsRequest) ToJsonString

func (r *DescribeTableGroupTagsRequest) ToJsonString() string

type DescribeTableGroupTagsRequestParams

type DescribeTableGroupTagsRequestParams struct {
	// The ID of the cluster where table group tags need to be queried
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of IDs of the table groups whose tags need to be queried
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`
}

Predefined struct for user

type DescribeTableGroupTagsResponse

type DescribeTableGroupTagsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTableGroupTagsResponseParams `json:"Response"`
}

func NewDescribeTableGroupTagsResponse

func NewDescribeTableGroupTagsResponse() (response *DescribeTableGroupTagsResponse)

func (*DescribeTableGroupTagsResponse) FromJsonString

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

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

func (*DescribeTableGroupTagsResponse) ToJsonString

func (r *DescribeTableGroupTagsResponse) ToJsonString() string

type DescribeTableGroupTagsResponseParams

type DescribeTableGroupTagsResponseParams struct {
	// The information list of table group tags
	Rows []*TagsInfoOfTableGroup `json:"Rows,omitnil,omitempty" name:"Rows"`

	// The number of returned results
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeTableGroupsRequest

type DescribeTableGroupsRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group ID list
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Filter. Valid values: TableGroupName, TableGroupId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeTableGroupsRequest

func NewDescribeTableGroupsRequest() (request *DescribeTableGroupsRequest)

func (*DescribeTableGroupsRequest) FromJsonString

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

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

func (*DescribeTableGroupsRequest) ToJsonString

func (r *DescribeTableGroupsRequest) ToJsonString() string

type DescribeTableGroupsRequestParams

type DescribeTableGroupsRequestParams struct {
	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table group ID list
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Filter. Valid values: TableGroupName, TableGroupId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeTableGroupsResponse

type DescribeTableGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTableGroupsResponseParams `json:"Response"`
}

func NewDescribeTableGroupsResponse

func NewDescribeTableGroupsResponse() (response *DescribeTableGroupsResponse)

func (*DescribeTableGroupsResponse) FromJsonString

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

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

func (*DescribeTableGroupsResponse) ToJsonString

func (r *DescribeTableGroupsResponse) ToJsonString() string

type DescribeTableGroupsResponseParams

type DescribeTableGroupsResponseParams struct {
	// Number of table groups
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Table group information list
	TableGroups []*TableGroupInfo `json:"TableGroups,omitnil,omitempty" name:"TableGroups"`

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

Predefined struct for user

type DescribeTableTagsRequest

type DescribeTableTagsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table list
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewDescribeTableTagsRequest

func NewDescribeTableTagsRequest() (request *DescribeTableTagsRequest)

func (*DescribeTableTagsRequest) FromJsonString

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

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

func (*DescribeTableTagsRequest) ToJsonString

func (r *DescribeTableTagsRequest) ToJsonString() string

type DescribeTableTagsRequestParams

type DescribeTableTagsRequestParams struct {
	// The ID of the cluster where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Table list
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type DescribeTableTagsResponse

type DescribeTableTagsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTableTagsResponseParams `json:"Response"`
}

func NewDescribeTableTagsResponse

func NewDescribeTableTagsResponse() (response *DescribeTableTagsResponse)

func (*DescribeTableTagsResponse) FromJsonString

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

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

func (*DescribeTableTagsResponse) ToJsonString

func (r *DescribeTableTagsResponse) ToJsonString() string

type DescribeTableTagsResponseParams

type DescribeTableTagsResponseParams struct {
	// The total number of returned results
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The information list of table tags
	Rows []*TagsInfoOfTable `json:"Rows,omitnil,omitempty" name:"Rows"`

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

Predefined struct for user

type DescribeTablesInRecycleRequest

type DescribeTablesInRecycleRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be queried resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of IDs of the table groups where the table to be queried resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Filter. Valid values: TableName, TableInstanceId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned query results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeTablesInRecycleRequest

func NewDescribeTablesInRecycleRequest() (request *DescribeTablesInRecycleRequest)

func (*DescribeTablesInRecycleRequest) FromJsonString

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

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

func (*DescribeTablesInRecycleRequest) ToJsonString

func (r *DescribeTablesInRecycleRequest) ToJsonString() string

type DescribeTablesInRecycleRequestParams

type DescribeTablesInRecycleRequestParams struct {
	// ID of the cluster where the table to be queried resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of IDs of the table groups where the table to be queried resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Filter. Valid values: TableName, TableInstanceId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned query results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeTablesInRecycleResponse

type DescribeTablesInRecycleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTablesInRecycleResponseParams `json:"Response"`
}

func NewDescribeTablesInRecycleResponse

func NewDescribeTablesInRecycleResponse() (response *DescribeTablesInRecycleResponse)

func (*DescribeTablesInRecycleResponse) FromJsonString

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

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

func (*DescribeTablesInRecycleResponse) ToJsonString

func (r *DescribeTablesInRecycleResponse) ToJsonString() string

type DescribeTablesInRecycleResponseParams

type DescribeTablesInRecycleResponseParams struct {
	// Number of tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Table details result list
	TableInfos []*TableInfoNew `json:"TableInfos,omitnil,omitempty" name:"TableInfos"`

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

Predefined struct for user

type DescribeTablesRequest

type DescribeTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be queried resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of IDs of the table groups where the table to be queried resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Information list of tables to be queriedu200d. If you need to filter the tables, use the`Filter` parameter.
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Filter. Valid values: TableName, TableInstanceId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned query results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeTablesRequest

func NewDescribeTablesRequest() (request *DescribeTablesRequest)

func (*DescribeTablesRequest) FromJsonString

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

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

func (*DescribeTablesRequest) ToJsonString

func (r *DescribeTablesRequest) ToJsonString() string

type DescribeTablesRequestParams

type DescribeTablesRequestParams struct {
	// ID of the cluster where the table to be queried resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of IDs of the table groups where the table to be queried resides
	TableGroupIds []*string `json:"TableGroupIds,omitnil,omitempty" name:"TableGroupIds"`

	// Information list of tables to be queriedu200d. If you need to filter the tables, use the`Filter` parameter.
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Filter. Valid values: TableName, TableInstanceId
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned query results
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeTablesResponse

type DescribeTablesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTablesResponseParams `json:"Response"`
}

func NewDescribeTablesResponse

func NewDescribeTablesResponse() (response *DescribeTablesResponse)

func (*DescribeTablesResponse) FromJsonString

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

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

func (*DescribeTablesResponse) ToJsonString

func (r *DescribeTablesResponse) ToJsonString() string

type DescribeTablesResponseParams

type DescribeTablesResponseParams struct {
	// Number of tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Table details result list
	TableInfos []*TableInfoNew `json:"TableInfos,omitnil,omitempty" name:"TableInfos"`

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

Predefined struct for user

type DescribeTasksRequest

type DescribeTasksRequest struct {
	*tchttp.BaseRequest

	// List of IDs of clusters where the tasks to be queried reside
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// List of IDs of tasks to be queried
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Filter. Valid values: Content, TaskType, Operator, Time
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeTasksRequest

func NewDescribeTasksRequest() (request *DescribeTasksRequest)

func (*DescribeTasksRequest) FromJsonString

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

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

func (*DescribeTasksRequest) ToJsonString

func (r *DescribeTasksRequest) ToJsonString() string

type DescribeTasksRequestParams

type DescribeTasksRequestParams struct {
	// List of IDs of clusters where the tasks to be queried reside
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// List of IDs of tasks to be queried
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Filter. Valid values: Content, TaskType, Operator, Time
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query list offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results in query list
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeTasksResponse

type DescribeTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTasksResponseParams `json:"Response"`
}

func NewDescribeTasksResponse

func NewDescribeTasksResponse() (response *DescribeTasksResponse)

func (*DescribeTasksResponse) FromJsonString

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

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

func (*DescribeTasksResponse) ToJsonString

func (r *DescribeTasksResponse) ToJsonString() string

type DescribeTasksResponseParams

type DescribeTasksResponseParams struct {
	// Number of tasks
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of details of queried tasks
	TaskInfos []*TaskInfoNew `json:"TaskInfos,omitnil,omitempty" name:"TaskInfos"`

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

Predefined struct for user

type DescribeUinInWhitelistRequest

type DescribeUinInWhitelistRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeUinInWhitelistRequest

func NewDescribeUinInWhitelistRequest() (request *DescribeUinInWhitelistRequest)

func (*DescribeUinInWhitelistRequest) FromJsonString

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

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

func (*DescribeUinInWhitelistRequest) ToJsonString

func (r *DescribeUinInWhitelistRequest) ToJsonString() string

type DescribeUinInWhitelistRequestParams

type DescribeUinInWhitelistRequestParams struct {
}

Predefined struct for user

type DescribeUinInWhitelistResponse

type DescribeUinInWhitelistResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUinInWhitelistResponseParams `json:"Response"`
}

func NewDescribeUinInWhitelistResponse

func NewDescribeUinInWhitelistResponse() (response *DescribeUinInWhitelistResponse)

func (*DescribeUinInWhitelistResponse) FromJsonString

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

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

func (*DescribeUinInWhitelistResponse) ToJsonString

func (r *DescribeUinInWhitelistResponse) ToJsonString() string

type DescribeUinInWhitelistResponseParams

type DescribeUinInWhitelistResponseParams struct {
	// Query result. FALSE: yes, TRUE: no
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

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

Predefined struct for user

type DisableRestProxyRequest

type DisableRestProxyRequest struct {
	*tchttp.BaseRequest

	// The value is the same as `appid`.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDisableRestProxyRequest

func NewDisableRestProxyRequest() (request *DisableRestProxyRequest)

func (*DisableRestProxyRequest) FromJsonString

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

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

func (*DisableRestProxyRequest) ToJsonString

func (r *DisableRestProxyRequest) ToJsonString() string

type DisableRestProxyRequestParams

type DisableRestProxyRequestParams struct {
	// The value is the same as `appid`.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DisableRestProxyResponse

type DisableRestProxyResponse struct {
	*tchttp.BaseResponse
	Response *DisableRestProxyResponseParams `json:"Response"`
}

func NewDisableRestProxyResponse

func NewDisableRestProxyResponse() (response *DisableRestProxyResponse)

func (*DisableRestProxyResponse) FromJsonString

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

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

func (*DisableRestProxyResponse) ToJsonString

func (r *DisableRestProxyResponse) ToJsonString() string

type DisableRestProxyResponseParams

type DisableRestProxyResponseParams struct {
	// RestProxy status. Valid values: 0 (disabled), 1 (enabling), 2 (enabled), 3 (disabling).
	RestProxyStatus *uint64 `json:"RestProxyStatus,omitnil,omitempty" name:"RestProxyStatus"`

	// `TaskId` is in the format of `AppInstanceId-taskId`, used to identify tasks of different clusters.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type EnableRestProxyRequest

type EnableRestProxyRequest struct {
	*tchttp.BaseRequest

	// The value is the same as `appid`.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewEnableRestProxyRequest

func NewEnableRestProxyRequest() (request *EnableRestProxyRequest)

func (*EnableRestProxyRequest) FromJsonString

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

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

func (*EnableRestProxyRequest) ToJsonString

func (r *EnableRestProxyRequest) ToJsonString() string

type EnableRestProxyRequestParams

type EnableRestProxyRequestParams struct {
	// The value is the same as `appid`.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type EnableRestProxyResponse

type EnableRestProxyResponse struct {
	*tchttp.BaseResponse
	Response *EnableRestProxyResponseParams `json:"Response"`
}

func NewEnableRestProxyResponse

func NewEnableRestProxyResponse() (response *EnableRestProxyResponse)

func (*EnableRestProxyResponse) FromJsonString

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

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

func (*EnableRestProxyResponse) ToJsonString

func (r *EnableRestProxyResponse) ToJsonString() string

type EnableRestProxyResponseParams

type EnableRestProxyResponseParams struct {
	// RestProxy status. Valid values: 0 (disabled), 1 (enabling), 2 (enabled), 3 (disabling).
	RestProxyStatus *uint64 `json:"RestProxyStatus,omitnil,omitempty" name:"RestProxyStatus"`

	// `TaskId` is in the format of `AppInstanceId-taskId`, used to identify tasks of different clusters.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type ErrorInfo

type ErrorInfo struct {
	// Error code
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// Error message
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type FieldInfo

type FieldInfo struct {
	// Table field name
	FieldName *string `json:"FieldName,omitnil,omitempty" name:"FieldName"`

	// Whether it is a primary key field
	IsPrimaryKey *string `json:"IsPrimaryKey,omitnil,omitempty" name:"IsPrimaryKey"`

	// Field type
	FieldType *string `json:"FieldType,omitnil,omitempty" name:"FieldType"`

	// Field length
	FieldSize *int64 `json:"FieldSize,omitnil,omitempty" name:"FieldSize"`
}

type Filter

type Filter struct {
	// Filter field name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter field value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Filter field value
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type IdlFileInfo

type IdlFileInfo struct {
	// Filename excluding extension
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Data interface description language (IDL) type
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// File extension
	FileExtType *string `json:"FileExtType,omitnil,omitempty" name:"FileExtType"`

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

	// File ID, which is meaningful for files already uploaded
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *int64 `json:"FileId,omitnil,omitempty" name:"FileId"`

	// File content, which is meaningful for files to be uploaded in this request
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`
}

type IdlFileInfoWithoutContent

type IdlFileInfoWithoutContent struct {
	// Filename excluding extension
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Data interface description language (IDL) type
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// File extension
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileExtType *string `json:"FileExtType,omitnil,omitempty" name:"FileExtType"`

	// File size in bytes
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// File ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *int64 `json:"FileId,omitnil,omitempty" name:"FileId"`

	// Error message
	// Note: this field may return null, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`
}

type ImportSnapshotsRequest

type ImportSnapshotsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the original table (from which the snapshot was created) resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The information of the snapshot to import
	Snapshots *SnapshotInfo `json:"Snapshots,omitnil,omitempty" name:"Snapshots"`

	// Whether to import partial data of the snapshot. Valid values: `TRUE` (import partial data), `FALSE` (import all data).
	ImportSpecialKey *string `json:"ImportSpecialKey,omitnil,omitempty" name:"ImportSpecialKey"`

	// Whether to import to the original table. Valid values: `TRUE` (import to the original table), `FALSE` (import to a new table).
	ImportOriginTable *string `json:"ImportOriginTable,omitnil,omitempty" name:"ImportOriginTable"`

	// The file of the keys of the partial data
	KeyFile *KeyFile `json:"KeyFile,omitnil,omitempty" name:"KeyFile"`

	// The ID of the table group where the new table resides, which is valid only when `ImportOriginTable` is set to `FALSE`
	NewTableGroupId *string `json:"NewTableGroupId,omitnil,omitempty" name:"NewTableGroupId"`

	// The name of the new table, which is valid only when `ImportOriginTable` is set to `FALSE`. TcaplusDB will automatically create a table named `NewTableName` of the same structure as that of the original table.
	NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"`
}

func NewImportSnapshotsRequest

func NewImportSnapshotsRequest() (request *ImportSnapshotsRequest)

func (*ImportSnapshotsRequest) FromJsonString

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

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

func (*ImportSnapshotsRequest) ToJsonString

func (r *ImportSnapshotsRequest) ToJsonString() string

type ImportSnapshotsRequestParams

type ImportSnapshotsRequestParams struct {
	// The ID of the cluster where the original table (from which the snapshot was created) resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The information of the snapshot to import
	Snapshots *SnapshotInfo `json:"Snapshots,omitnil,omitempty" name:"Snapshots"`

	// Whether to import partial data of the snapshot. Valid values: `TRUE` (import partial data), `FALSE` (import all data).
	ImportSpecialKey *string `json:"ImportSpecialKey,omitnil,omitempty" name:"ImportSpecialKey"`

	// Whether to import to the original table. Valid values: `TRUE` (import to the original table), `FALSE` (import to a new table).
	ImportOriginTable *string `json:"ImportOriginTable,omitnil,omitempty" name:"ImportOriginTable"`

	// The file of the keys of the partial data
	KeyFile *KeyFile `json:"KeyFile,omitnil,omitempty" name:"KeyFile"`

	// The ID of the table group where the new table resides, which is valid only when `ImportOriginTable` is set to `FALSE`
	NewTableGroupId *string `json:"NewTableGroupId,omitnil,omitempty" name:"NewTableGroupId"`

	// The name of the new table, which is valid only when `ImportOriginTable` is set to `FALSE`. TcaplusDB will automatically create a table named `NewTableName` of the same structure as that of the original table.
	NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"`
}

Predefined struct for user

type ImportSnapshotsResponse

type ImportSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *ImportSnapshotsResponseParams `json:"Response"`
}

func NewImportSnapshotsResponse

func NewImportSnapshotsResponse() (response *ImportSnapshotsResponse)

func (*ImportSnapshotsResponse) FromJsonString

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

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

func (*ImportSnapshotsResponse) ToJsonString

func (r *ImportSnapshotsResponse) ToJsonString() string

type ImportSnapshotsResponseParams

type ImportSnapshotsResponseParams struct {
	// `TaskId` is in the format of `AppInstanceId-taskId`, used to identify tasks of different clusters.
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// `ApplicationId` is in the format of `AppInstanceId-applicationId`, which is used to identify applications of different clusters.
	// Note: u200dThis field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

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

Predefined struct for user

type KafkaInfo

type KafkaInfo struct {
	// CKafka address
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// CKafka topic
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// CKafka username
	User *string `json:"User,omitnil,omitempty" name:"User"`

	// CKafka password
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// CKafka instance
	Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"`

	// Whether VPC access is enabled
	IsVpc *int64 `json:"IsVpc,omitnil,omitempty" name:"IsVpc"`
}

type KeyFile

type KeyFile struct {
	// Key file name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Key file extension
	FileExtType *string `json:"FileExtType,omitnil,omitempty" name:"FileExtType"`

	// Key file content
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// Key file size
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`
}

type MachineInfo

type MachineInfo struct {
	// Machine type
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Machine quantity
	MachineNum *int64 `json:"MachineNum,omitnil,omitempty" name:"MachineNum"`
}

type MergeTableResult

type MergeTableResult struct {
	// Task ID
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// If table merging is successful, `null` will be returned
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// Comparison results of tables
	Table *CompareTablesInfo `json:"Table,omitnil,omitempty" name:"Table"`

	// Application ID
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`
}

type MergeTablesDataRequest

type MergeTablesDataRequest struct {
	*tchttp.BaseRequest

	// Tables to be merged
	SelectedTables []*MergeTablesInfo `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Valid values: `true` (only compare), `false` (compare and merge)
	IsOnlyCompare *bool `json:"IsOnlyCompare,omitnil,omitempty" name:"IsOnlyCompare"`
}

func NewMergeTablesDataRequest

func NewMergeTablesDataRequest() (request *MergeTablesDataRequest)

func (*MergeTablesDataRequest) FromJsonString

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

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

func (*MergeTablesDataRequest) ToJsonString

func (r *MergeTablesDataRequest) ToJsonString() string

type MergeTablesDataRequestParams

type MergeTablesDataRequestParams struct {
	// Tables to be merged
	SelectedTables []*MergeTablesInfo `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Valid values: `true` (only compare), `false` (compare and merge)
	IsOnlyCompare *bool `json:"IsOnlyCompare,omitnil,omitempty" name:"IsOnlyCompare"`
}

Predefined struct for user

type MergeTablesDataResponse

type MergeTablesDataResponse struct {
	*tchttp.BaseResponse
	Response *MergeTablesDataResponseParams `json:"Response"`
}

func NewMergeTablesDataResponse

func NewMergeTablesDataResponse() (response *MergeTablesDataResponse)

func (*MergeTablesDataResponse) FromJsonString

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

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

func (*MergeTablesDataResponse) ToJsonString

func (r *MergeTablesDataResponse) ToJsonString() string

type MergeTablesDataResponseParams

type MergeTablesDataResponseParams struct {
	// Table merging results
	Results []*MergeTableResult `json:"Results,omitnil,omitempty" name:"Results"`

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

Predefined struct for user

type MergeTablesInfo

type MergeTablesInfo struct {
	// Information of tables to be merged
	MergeTables *CompareTablesInfo `json:"MergeTables,omitnil,omitempty" name:"MergeTables"`

	// Whether to check indexes
	CheckIndex *bool `json:"CheckIndex,omitnil,omitempty" name:"CheckIndex"`
}

type ModifyCensorshipRequest

type ModifyCensorshipRequest struct {
	*tchttp.BaseRequest

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

	// Whether to enable the operation approval feature for this cluster. Valid values: `0` (disable), `1` (enable)
	Censorship *int64 `json:"Censorship,omitnil,omitempty" name:"Censorship"`

	// Approver UIN list
	Uins []*string `json:"Uins,omitnil,omitempty" name:"Uins"`
}

func NewModifyCensorshipRequest

func NewModifyCensorshipRequest() (request *ModifyCensorshipRequest)

func (*ModifyCensorshipRequest) FromJsonString

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

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

func (*ModifyCensorshipRequest) ToJsonString

func (r *ModifyCensorshipRequest) ToJsonString() string

type ModifyCensorshipRequestParams

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

	// Whether to enable the operation approval feature for this cluster. Valid values: `0` (disable), `1` (enable)
	Censorship *int64 `json:"Censorship,omitnil,omitempty" name:"Censorship"`

	// Approver UIN list
	Uins []*string `json:"Uins,omitnil,omitempty" name:"Uins"`
}

Predefined struct for user

type ModifyCensorshipResponse

type ModifyCensorshipResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCensorshipResponseParams `json:"Response"`
}

func NewModifyCensorshipResponse

func NewModifyCensorshipResponse() (response *ModifyCensorshipResponse)

func (*ModifyCensorshipResponse) FromJsonString

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

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

func (*ModifyCensorshipResponse) ToJsonString

func (r *ModifyCensorshipResponse) ToJsonString() string

type ModifyCensorshipResponseParams

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

	// Approver UIN list
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	Uins []*string `json:"Uins,omitnil,omitempty" name:"Uins"`

	// Whether the operation approval feature is enabled for this cluster. Valid values: `0` (disabled), `1` (enabled)
	Censorship *int64 `json:"Censorship,omitnil,omitempty" name:"Censorship"`

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

Predefined struct for user

type ModifyClusterMachineRequest

type ModifyClusterMachineRequest struct {
	*tchttp.BaseRequest

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

	// Information of the machines at the storage layer (tcapsvr)
	ServerList []*MachineInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// Information of the machines at the access layer (tcaproxy)
	ProxyList []*MachineInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`

	// Cluster type. Valid values: `1` (standard), `2` (dedicated)
	ClusterType *int64 `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewModifyClusterMachineRequest

func NewModifyClusterMachineRequest() (request *ModifyClusterMachineRequest)

func (*ModifyClusterMachineRequest) FromJsonString

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

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

func (*ModifyClusterMachineRequest) ToJsonString

func (r *ModifyClusterMachineRequest) ToJsonString() string

type ModifyClusterMachineRequestParams

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

	// Information of the machines at the storage layer (tcapsvr)
	ServerList []*MachineInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// Information of the machines at the access layer (tcaproxy)
	ProxyList []*MachineInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`

	// Cluster type. Valid values: `1` (standard), `2` (dedicated)
	ClusterType *int64 `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type ModifyClusterMachineResponse

type ModifyClusterMachineResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterMachineResponseParams `json:"Response"`
}

func NewModifyClusterMachineResponse

func NewModifyClusterMachineResponse() (response *ModifyClusterMachineResponse)

func (*ModifyClusterMachineResponse) FromJsonString

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

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

func (*ModifyClusterMachineResponse) ToJsonString

func (r *ModifyClusterMachineResponse) ToJsonString() string

type ModifyClusterMachineResponseParams

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

	// The unique request ID, which is returned for each request. 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

	// ID of the cluster to be renamed
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name to be changed to, which can contain up to 32 letters and digits
	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 {
	// ID of the cluster to be renamed
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Cluster name to be changed to, which can contain up to 32 letters and digits
	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, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterPasswordRequest

type ModifyClusterPasswordRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster for which to modify the password
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Old cluster password
	OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"`

	// Expected expiration time of old cluster password
	OldPasswordExpireTime *string `json:"OldPasswordExpireTime,omitnil,omitempty" name:"OldPasswordExpireTime"`

	// New cluster password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
	NewPassword *string `json:"NewPassword,omitnil,omitempty" name:"NewPassword"`

	// Update mode. 1: updates password, 2: updates old password expiration time. Default value: 1
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
}

func NewModifyClusterPasswordRequest

func NewModifyClusterPasswordRequest() (request *ModifyClusterPasswordRequest)

func (*ModifyClusterPasswordRequest) FromJsonString

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

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

func (*ModifyClusterPasswordRequest) ToJsonString

func (r *ModifyClusterPasswordRequest) ToJsonString() string

type ModifyClusterPasswordRequestParams

type ModifyClusterPasswordRequestParams struct {
	// ID of the cluster for which to modify the password
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Old cluster password
	OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"`

	// Expected expiration time of old cluster password
	OldPasswordExpireTime *string `json:"OldPasswordExpireTime,omitnil,omitempty" name:"OldPasswordExpireTime"`

	// New cluster password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
	NewPassword *string `json:"NewPassword,omitnil,omitempty" name:"NewPassword"`

	// Update mode. 1: updates password, 2: updates old password expiration time. Default value: 1
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
}

Predefined struct for user

type ModifyClusterPasswordResponse

type ModifyClusterPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterPasswordResponseParams `json:"Response"`
}

func NewModifyClusterPasswordResponse

func NewModifyClusterPasswordResponse() (response *ModifyClusterPasswordResponse)

func (*ModifyClusterPasswordResponse) FromJsonString

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

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

func (*ModifyClusterPasswordResponse) ToJsonString

func (r *ModifyClusterPasswordResponse) ToJsonString() string

type ModifyClusterPasswordResponseParams

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

Predefined struct for user

type ModifyClusterTagsRequest

type ModifyClusterTagsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster whose tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// Tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

func NewModifyClusterTagsRequest

func NewModifyClusterTagsRequest() (request *ModifyClusterTagsRequest)

func (*ModifyClusterTagsRequest) FromJsonString

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

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

func (*ModifyClusterTagsRequest) ToJsonString

func (r *ModifyClusterTagsRequest) ToJsonString() string

type ModifyClusterTagsRequestParams

type ModifyClusterTagsRequestParams struct {
	// The ID of the cluster whose tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// Tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

Predefined struct for user

type ModifyClusterTagsResponse

type ModifyClusterTagsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterTagsResponseParams `json:"Response"`
}

func NewModifyClusterTagsResponse

func NewModifyClusterTagsResponse() (response *ModifyClusterTagsResponse)

func (*ModifyClusterTagsResponse) FromJsonString

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

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

func (*ModifyClusterTagsResponse) ToJsonString

func (r *ModifyClusterTagsResponse) ToJsonString() string

type ModifyClusterTagsResponseParams

type ModifyClusterTagsResponseParams struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type ModifySnapshotsRequest

type ModifySnapshotsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Snapshot list
	SelectedTables []*SnapshotInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewModifySnapshotsRequest

func NewModifySnapshotsRequest() (request *ModifySnapshotsRequest)

func (*ModifySnapshotsRequest) FromJsonString

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

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

func (*ModifySnapshotsRequest) ToJsonString

func (r *ModifySnapshotsRequest) ToJsonString() string

type ModifySnapshotsRequestParams

type ModifySnapshotsRequestParams struct {
	// The ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Snapshot list
	SelectedTables []*SnapshotInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type ModifySnapshotsResponse

type ModifySnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *ModifySnapshotsResponseParams `json:"Response"`
}

func NewModifySnapshotsResponse

func NewModifySnapshotsResponse() (response *ModifySnapshotsResponse)

func (*ModifySnapshotsResponse) FromJsonString

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

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

func (*ModifySnapshotsResponse) ToJsonString

func (r *ModifySnapshotsResponse) ToJsonString() string

type ModifySnapshotsResponseParams

type ModifySnapshotsResponseParams struct {
	// The number of snapshots modified in batches
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of snapshots modified in batches
	TableResults []*SnapshotResult `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type ModifyTableGroupNameRequest

type ModifyTableGroupNameRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group to be renamed
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// New table group name, which can contain letters and symbols
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`
}

func NewModifyTableGroupNameRequest

func NewModifyTableGroupNameRequest() (request *ModifyTableGroupNameRequest)

func (*ModifyTableGroupNameRequest) FromJsonString

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

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

func (*ModifyTableGroupNameRequest) ToJsonString

func (r *ModifyTableGroupNameRequest) ToJsonString() string

type ModifyTableGroupNameRequestParams

type ModifyTableGroupNameRequestParams struct {
	// ID of the cluster where a table group resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group to be renamed
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// New table group name, which can contain letters and symbols
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`
}

Predefined struct for user

type ModifyTableGroupNameResponse

type ModifyTableGroupNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableGroupNameResponseParams `json:"Response"`
}

func NewModifyTableGroupNameResponse

func NewModifyTableGroupNameResponse() (response *ModifyTableGroupNameResponse)

func (*ModifyTableGroupNameResponse) FromJsonString

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

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

func (*ModifyTableGroupNameResponse) ToJsonString

func (r *ModifyTableGroupNameResponse) ToJsonString() string

type ModifyTableGroupNameResponseParams

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

Predefined struct for user

type ModifyTableGroupTagsRequest

type ModifyTableGroupTagsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where table group tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The ID of the table group whose tags need to be modified
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// Tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

func NewModifyTableGroupTagsRequest

func NewModifyTableGroupTagsRequest() (request *ModifyTableGroupTagsRequest)

func (*ModifyTableGroupTagsRequest) FromJsonString

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

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

func (*ModifyTableGroupTagsRequest) ToJsonString

func (r *ModifyTableGroupTagsRequest) ToJsonString() string

type ModifyTableGroupTagsRequestParams

type ModifyTableGroupTagsRequestParams struct {
	// The ID of the cluster where table group tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The ID of the table group whose tags need to be modified
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// Tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

Predefined struct for user

type ModifyTableGroupTagsResponse

type ModifyTableGroupTagsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableGroupTagsResponseParams `json:"Response"`
}

func NewModifyTableGroupTagsResponse

func NewModifyTableGroupTagsResponse() (response *ModifyTableGroupTagsResponse)

func (*ModifyTableGroupTagsResponse) FromJsonString

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

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

func (*ModifyTableGroupTagsResponse) ToJsonString

func (r *ModifyTableGroupTagsResponse) ToJsonString() string

type ModifyTableGroupTagsResponseParams

type ModifyTableGroupTagsResponseParams struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type ModifyTableMemosRequest

type ModifyTableMemosRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster instance where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of details of selected tables
	TableMemos []*SelectedTableInfoNew `json:"TableMemos,omitnil,omitempty" name:"TableMemos"`
}

func NewModifyTableMemosRequest

func NewModifyTableMemosRequest() (request *ModifyTableMemosRequest)

func (*ModifyTableMemosRequest) FromJsonString

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

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

func (*ModifyTableMemosRequest) ToJsonString

func (r *ModifyTableMemosRequest) ToJsonString() string

type ModifyTableMemosRequestParams

type ModifyTableMemosRequestParams struct {
	// ID of the cluster instance where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of details of selected tables
	TableMemos []*SelectedTableInfoNew `json:"TableMemos,omitnil,omitempty" name:"TableMemos"`
}

Predefined struct for user

type ModifyTableMemosResponse

type ModifyTableMemosResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableMemosResponseParams `json:"Response"`
}

func NewModifyTableMemosResponse

func NewModifyTableMemosResponse() (response *ModifyTableMemosResponse)

func (*ModifyTableMemosResponse) FromJsonString

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

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

func (*ModifyTableMemosResponse) ToJsonString

func (r *ModifyTableMemosResponse) ToJsonString() string

type ModifyTableMemosResponseParams

type ModifyTableMemosResponseParams struct {
	// Number of tables modified for remarks
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of table remarks modification results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type ModifyTableQuotasRequest

type ModifyTableQuotasRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be scaled resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of quotas of tables selected for modification
	TableQuotas []*SelectedTableInfoNew `json:"TableQuotas,omitnil,omitempty" name:"TableQuotas"`
}

func NewModifyTableQuotasRequest

func NewModifyTableQuotasRequest() (request *ModifyTableQuotasRequest)

func (*ModifyTableQuotasRequest) FromJsonString

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

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

func (*ModifyTableQuotasRequest) ToJsonString

func (r *ModifyTableQuotasRequest) ToJsonString() string

type ModifyTableQuotasRequestParams

type ModifyTableQuotasRequestParams struct {
	// ID of the cluster where the table to be scaled resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of quotas of tables selected for modification
	TableQuotas []*SelectedTableInfoNew `json:"TableQuotas,omitnil,omitempty" name:"TableQuotas"`
}

Predefined struct for user

type ModifyTableQuotasResponse

type ModifyTableQuotasResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableQuotasResponseParams `json:"Response"`
}

func NewModifyTableQuotasResponse

func NewModifyTableQuotasResponse() (response *ModifyTableQuotasResponse)

func (*ModifyTableQuotasResponse) FromJsonString

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

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

func (*ModifyTableQuotasResponse) ToJsonString

func (r *ModifyTableQuotasResponse) ToJsonString() string

type ModifyTableQuotasResponseParams

type ModifyTableQuotasResponseParams struct {
	// Number of scaled tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of table scaling results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type ModifyTableTagsRequest

type ModifyTableTagsRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where table tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables whose tags need to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// The list of tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

func NewModifyTableTagsRequest

func NewModifyTableTagsRequest() (request *ModifyTableTagsRequest)

func (*ModifyTableTagsRequest) FromJsonString

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

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

func (*ModifyTableTagsRequest) ToJsonString

func (r *ModifyTableTagsRequest) ToJsonString() string

type ModifyTableTagsRequestParams

type ModifyTableTagsRequestParams struct {
	// The ID of the cluster where table tags need to be modified
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables whose tags need to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// The list of tags to add or modify
	ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitnil,omitempty" name:"ReplaceTags"`

	// The list of tags to delete
	DeleteTags []*TagInfoUnit `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"`
}

Predefined struct for user

type ModifyTableTagsResponse

type ModifyTableTagsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableTagsResponseParams `json:"Response"`
}

func NewModifyTableTagsResponse

func NewModifyTableTagsResponse() (response *ModifyTableTagsResponse)

func (*ModifyTableTagsResponse) FromJsonString

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

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

func (*ModifyTableTagsResponse) ToJsonString

func (r *ModifyTableTagsResponse) ToJsonString() string

type ModifyTableTagsResponseParams

type ModifyTableTagsResponseParams struct {
	// The total number of returned results
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Returned results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type ModifyTablesRequest

type ModifyTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be modified resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Selected table modification IDL files
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// List of tables to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewModifyTablesRequest

func NewModifyTablesRequest() (request *ModifyTablesRequest)

func (*ModifyTablesRequest) FromJsonString

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

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

func (*ModifyTablesRequest) ToJsonString

func (r *ModifyTablesRequest) ToJsonString() string

type ModifyTablesRequestParams

type ModifyTablesRequestParams struct {
	// ID of the cluster where the table to be modified resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Selected table modification IDL files
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// List of tables to be modified
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type ModifyTablesResponse

type ModifyTablesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTablesResponseParams `json:"Response"`
}

func NewModifyTablesResponse

func NewModifyTablesResponse() (response *ModifyTablesResponse)

func (*ModifyTablesResponse) FromJsonString

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

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

func (*ModifyTablesResponse) ToJsonString

func (r *ModifyTablesResponse) ToJsonString() string

type ModifyTablesResponseParams

type ModifyTablesResponseParams struct {
	// Number of modified tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of table modification results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type ParsedTableInfoNew

type ParsedTableInfoNew struct {
	// Table description language type. Valid values: PROTO, TDR
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

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

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

	// Table data structure type. Valid values: GENERIC, LIST
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Primary key field information
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyFields *string `json:"KeyFields,omitnil,omitempty" name:"KeyFields"`

	// Old primary key field information, which is valid during verification of table modification
	// Note: this field may return null, indicating that no valid values can be obtained.
	OldKeyFields *string `json:"OldKeyFields,omitnil,omitempty" name:"OldKeyFields"`

	// Non-primary key field information
	// Note: this field may return null, indicating that no valid values can be obtained.
	ValueFields *string `json:"ValueFields,omitnil,omitempty" name:"ValueFields"`

	// Old non-primary key field information, which is valid during verification of table modification
	// Note: this field may return null, indicating that no valid values can be obtained.
	OldValueFields *string `json:"OldValueFields,omitnil,omitempty" name:"OldValueFields"`

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

	// Total size of primary key field
	// Note: this field may return null, indicating that no valid values can be obtained.
	SumKeyFieldSize *int64 `json:"SumKeyFieldSize,omitnil,omitempty" name:"SumKeyFieldSize"`

	// Total size of non-primary key fields
	// Note: this field may return null, indicating that no valid values can be obtained.
	SumValueFieldSize *int64 `json:"SumValueFieldSize,omitnil,omitempty" name:"SumValueFieldSize"`

	// Index key set
	// Note: this field may return null, indicating that no valid values can be obtained.
	IndexKeySet *string `json:"IndexKeySet,omitnil,omitempty" name:"IndexKeySet"`

	// Shardkey set
	// Note: this field may return null, indicating that no valid values can be obtained.
	ShardingKeySet *string `json:"ShardingKeySet,omitnil,omitempty" name:"ShardingKeySet"`

	// TDR version number
	// Note: this field may return null, indicating that no valid values can be obtained.
	TdrVersion *int64 `json:"TdrVersion,omitnil,omitempty" name:"TdrVersion"`

	// Error message
	// Note: this field may return null, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// Number of LIST-type table elements
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListElementNum *int64 `json:"ListElementNum,omitnil,omitempty" name:"ListElementNum"`

	// Number of SORTLIST-type table sort fields
	// Note: this field may return null, indicating that no valid values can be obtained.
	SortFieldNum *int64 `json:"SortFieldNum,omitnil,omitempty" name:"SortFieldNum"`

	// Sort order of SORTLIST-type tables
	// Note: this field may return null, indicating that no valid values can be obtained.
	SortRule *int64 `json:"SortRule,omitnil,omitempty" name:"SortRule"`
}

type PoolInfo

type PoolInfo struct {
	// Unique ID
	PoolUid *int64 `json:"PoolUid,omitnil,omitempty" name:"PoolUid"`

	// Whether IPv6 is supported
	Ipv6Enable *int64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`

	// Remaining available cluster resources
	AvailableAppCount *int64 `json:"AvailableAppCount,omitnil,omitempty" name:"AvailableAppCount"`

	// The list of machines at the storage layer (tcapsvr)
	ServerList []*ServerMachineInfo `json:"ServerList,omitnil,omitempty" name:"ServerList"`

	// The list of machines at the access layer (tcaproxy)
	ProxyList []*ProxyMachineInfo `json:"ProxyList,omitnil,omitempty" name:"ProxyList"`
}

type ProxyDetailInfo

type ProxyDetailInfo struct {
	// The unique ID of the access layer (tcaproxy)
	ProxyUid *string `json:"ProxyUid,omitnil,omitempty" name:"ProxyUid"`

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

	// The speed of processing request packets
	ProcessSpeed *int64 `json:"ProcessSpeed,omitnil,omitempty" name:"ProcessSpeed"`

	// Request packet delay
	AverageProcessDelay *int64 `json:"AverageProcessDelay,omitnil,omitempty" name:"AverageProcessDelay"`

	// The speed of processing delayed request packets
	SlowProcessSpeed *int64 `json:"SlowProcessSpeed,omitnil,omitempty" name:"SlowProcessSpeed"`

	// Version
	// Note: This field may return null, indicating that no valid values can be obtained.
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`
}

type ProxyMachineInfo

type ProxyMachineInfo struct {
	// Unique ID
	ProxyUid *string `json:"ProxyUid,omitnil,omitempty" name:"ProxyUid"`

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

	// The number of proxy resources to be assigned
	AvailableCount *int64 `json:"AvailableCount,omitnil,omitempty" name:"AvailableCount"`
}

type RecoverRecycleTablesRequest

type RecoverRecycleTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Information of tables to be recovered
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewRecoverRecycleTablesRequest

func NewRecoverRecycleTablesRequest() (request *RecoverRecycleTablesRequest)

func (*RecoverRecycleTablesRequest) FromJsonString

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

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

func (*RecoverRecycleTablesRequest) ToJsonString

func (r *RecoverRecycleTablesRequest) ToJsonString() string

type RecoverRecycleTablesRequestParams

type RecoverRecycleTablesRequestParams struct {
	// ID of the cluster where a table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Information of tables to be recovered
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type RecoverRecycleTablesResponse

type RecoverRecycleTablesResponse struct {
	*tchttp.BaseResponse
	Response *RecoverRecycleTablesResponseParams `json:"Response"`
}

func NewRecoverRecycleTablesResponse

func NewRecoverRecycleTablesResponse() (response *RecoverRecycleTablesResponse)

func (*RecoverRecycleTablesResponse) FromJsonString

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

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

func (*RecoverRecycleTablesResponse) ToJsonString

func (r *RecoverRecycleTablesResponse) ToJsonString() string

type RecoverRecycleTablesResponseParams

type RecoverRecycleTablesResponseParams struct {
	// Number of recovered tables
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of information of recovered tables
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region `Ap-code`
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// Region abbreviation
	RegionAbbr *string `json:"RegionAbbr,omitnil,omitempty" name:"RegionAbbr"`

	// Region ID
	RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Whether to support IPv6 address access. Valid values: 0 (support), 1 (not support)
	Ipv6Enable *uint64 `json:"Ipv6Enable,omitnil,omitempty" name:"Ipv6Enable"`
}

type RollbackTablesRequest

type RollbackTablesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table to be rolled back resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of tables to be rolled back
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Time to roll back to
	RollbackTime *string `json:"RollbackTime,omitnil,omitempty" name:"RollbackTime"`

	// Rollback mode. `KEYS` is supported
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
}

func NewRollbackTablesRequest

func NewRollbackTablesRequest() (request *RollbackTablesRequest)

func (*RollbackTablesRequest) FromJsonString

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

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

func (*RollbackTablesRequest) ToJsonString

func (r *RollbackTablesRequest) ToJsonString() string

type RollbackTablesRequestParams

type RollbackTablesRequestParams struct {
	// ID of the cluster where the table to be rolled back resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// List of tables to be rolled back
	SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`

	// Time to roll back to
	RollbackTime *string `json:"RollbackTime,omitnil,omitempty" name:"RollbackTime"`

	// Rollback mode. `KEYS` is supported
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
}

Predefined struct for user

type RollbackTablesResponse

type RollbackTablesResponse struct {
	*tchttp.BaseResponse
	Response *RollbackTablesResponseParams `json:"Response"`
}

func NewRollbackTablesResponse

func NewRollbackTablesResponse() (response *RollbackTablesResponse)

func (*RollbackTablesResponse) FromJsonString

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

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

func (*RollbackTablesResponse) ToJsonString

func (r *RollbackTablesResponse) ToJsonString() string

type RollbackTablesResponseParams

type RollbackTablesResponseParams struct {
	// Number of table rollback task results
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Table rollback task result list
	TableResults []*TableRollbackResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type SelectedTableInfoNew

type SelectedTableInfoNew struct {
	// ID of the table group where a table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Table instance ID
	TableInstanceId *string `json:"TableInstanceId,omitnil,omitempty" name:"TableInstanceId"`

	// Table description language type. Valid values: PROTO, TDR
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

	// Table data structure type. Valid values: GENERIC, LIST
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Number of LIST-type table elements
	ListElementNum *int64 `json:"ListElementNum,omitnil,omitempty" name:"ListElementNum"`

	// Reserved table capacity in GB
	ReservedVolume *int64 `json:"ReservedVolume,omitnil,omitempty" name:"ReservedVolume"`

	// Reserved table read QPS
	ReservedReadQps *int64 `json:"ReservedReadQps,omitnil,omitempty" name:"ReservedReadQps"`

	// Reserved table write QPS
	ReservedWriteQps *int64 `json:"ReservedWriteQps,omitnil,omitempty" name:"ReservedWriteQps"`

	// Table remarks
	Memo *string `json:"Memo,omitnil,omitempty" name:"Memo"`

	// Key rollback filename, which is only used for rollback
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Key rollback file extension, which is only used for rollback
	FileExtType *string `json:"FileExtType,omitnil,omitempty" name:"FileExtType"`

	// Key rollback file size, which is only used for rollback
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// Key rollback file content, which is only used for rollback
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`
}

type SelectedTableWithField

type SelectedTableWithField struct {
	// ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Table ID
	TableInstanceId *string `json:"TableInstanceId,omitnil,omitempty" name:"TableInstanceId"`

	// Table description language. Valid values: `PROTO`, `TDR`
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

	// Table data structure. Valid values: `GENERIC`, `LIST`
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// The list of fields on which indexes will be created, table caching enabled, or data subscription enabled
	SelectedFields []*FieldInfo `json:"SelectedFields,omitnil,omitempty" name:"SelectedFields"`

	// The number of index shards
	ShardNum *uint64 `json:"ShardNum,omitnil,omitempty" name:"ShardNum"`

	// CKafka instance information
	KafkaInfo *KafkaInfo `json:"KafkaInfo,omitnil,omitempty" name:"KafkaInfo"`
}

type ServerDetailInfo

type ServerDetailInfo struct {
	// The unique ID of the storage layer (tcapsvr)
	ServerUid *string `json:"ServerUid,omitnil,omitempty" name:"ServerUid"`

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

	// Memory utilization
	MemoryRate *int64 `json:"MemoryRate,omitnil,omitempty" name:"MemoryRate"`

	// Disk utilization
	DiskRate *int64 `json:"DiskRate,omitnil,omitempty" name:"DiskRate"`

	// The number of reads
	ReadNum *int64 `json:"ReadNum,omitnil,omitempty" name:"ReadNum"`

	// The number of writes
	WriteNum *int64 `json:"WriteNum,omitnil,omitempty" name:"WriteNum"`

	// Version
	// Note: This field may return null, indicating that no valid values can be obtained.
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`
}

type ServerMachineInfo

type ServerMachineInfo struct {
	// The unique ID of the machine
	ServerUid *string `json:"ServerUid,omitnil,omitempty" name:"ServerUid"`

	// Machine type
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`
}

type SetBackupExpireRuleRequest

type SetBackupExpireRuleRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Array of retention policies
	BackupExpireRules []*BackupExpireRuleInfo `json:"BackupExpireRules,omitnil,omitempty" name:"BackupExpireRules"`
}

func NewSetBackupExpireRuleRequest

func NewSetBackupExpireRuleRequest() (request *SetBackupExpireRuleRequest)

func (*SetBackupExpireRuleRequest) FromJsonString

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

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

func (*SetBackupExpireRuleRequest) ToJsonString

func (r *SetBackupExpireRuleRequest) ToJsonString() string

type SetBackupExpireRuleRequestParams

type SetBackupExpireRuleRequestParams struct {
	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Array of retention policies
	BackupExpireRules []*BackupExpireRuleInfo `json:"BackupExpireRules,omitnil,omitempty" name:"BackupExpireRules"`
}

Predefined struct for user

type SetBackupExpireRuleResponse

type SetBackupExpireRuleResponse struct {
	*tchttp.BaseResponse
	Response *SetBackupExpireRuleResponseParams `json:"Response"`
}

func NewSetBackupExpireRuleResponse

func NewSetBackupExpireRuleResponse() (response *SetBackupExpireRuleResponse)

func (*SetBackupExpireRuleResponse) FromJsonString

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

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

func (*SetBackupExpireRuleResponse) ToJsonString

func (r *SetBackupExpireRuleResponse) ToJsonString() string

type SetBackupExpireRuleResponseParams

type SetBackupExpireRuleResponseParams struct {
	// `TaskId` is in the format of `AppInstanceId-taskId`, which is used to identify tasks of different clusters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type SetTableDataFlowRequest

type SetTableDataFlowRequest struct {
	*tchttp.BaseRequest

	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables for which data subscription will be enabled
	SelectedTables []*SelectedTableWithField `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewSetTableDataFlowRequest

func NewSetTableDataFlowRequest() (request *SetTableDataFlowRequest)

func (*SetTableDataFlowRequest) FromJsonString

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

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

func (*SetTableDataFlowRequest) ToJsonString

func (r *SetTableDataFlowRequest) ToJsonString() string

type SetTableDataFlowRequestParams

type SetTableDataFlowRequestParams struct {
	// The ID of the cluster where the tables reside
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables for which data subscription will be enabled
	SelectedTables []*SelectedTableWithField `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type SetTableDataFlowResponse

type SetTableDataFlowResponse struct {
	*tchttp.BaseResponse
	Response *SetTableDataFlowResponseParams `json:"Response"`
}

func NewSetTableDataFlowResponse

func NewSetTableDataFlowResponse() (response *SetTableDataFlowResponse)

func (*SetTableDataFlowResponse) FromJsonString

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

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

func (*SetTableDataFlowResponse) ToJsonString

func (r *SetTableDataFlowResponse) ToJsonString() string

type SetTableDataFlowResponseParams

type SetTableDataFlowResponseParams struct {
	// The number of tables for which data subscription has been enabled
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The result list of tables for which data subscription has been enabled
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type SetTableIndexRequest

type SetTableIndexRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables that need to create global indexes
	SelectedTables []*SelectedTableWithField `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

func NewSetTableIndexRequest

func NewSetTableIndexRequest() (request *SetTableIndexRequest)

func (*SetTableIndexRequest) FromJsonString

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

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

func (*SetTableIndexRequest) ToJsonString

func (r *SetTableIndexRequest) ToJsonString() string

type SetTableIndexRequestParams

type SetTableIndexRequestParams struct {
	// ID of the cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The list of tables that need to create global indexes
	SelectedTables []*SelectedTableWithField `json:"SelectedTables,omitnil,omitempty" name:"SelectedTables"`
}

Predefined struct for user

type SetTableIndexResponse

type SetTableIndexResponse struct {
	*tchttp.BaseResponse
	Response *SetTableIndexResponseParams `json:"Response"`
}

func NewSetTableIndexResponse

func NewSetTableIndexResponse() (response *SetTableIndexResponse)

func (*SetTableIndexResponse) FromJsonString

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

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

func (*SetTableIndexResponse) ToJsonString

func (r *SetTableIndexResponse) ToJsonString() string

type SetTableIndexResponseParams

type SetTableIndexResponseParams struct {
	// The number of tables whose global indexes are created
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The list of global index creation results
	TableResults []*TableResultNew `json:"TableResults,omitnil,omitempty" name:"TableResults"`

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

Predefined struct for user

type SnapshotInfo

type SnapshotInfo struct {
	// The ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Snapshot name
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// The time of the data from which the snapshot was created
	SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"`

	// Snapshot expiration time
	SnapshotDeadTime *string `json:"SnapshotDeadTime,omitnil,omitempty" name:"SnapshotDeadTime"`
}

type SnapshotInfoNew

type SnapshotInfoNew struct {
	// The ID of the table group where the table resides
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Snapshot name
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// Snapshot expiration time
	SnapshotDeadTime *string `json:"SnapshotDeadTime,omitnil,omitempty" name:"SnapshotDeadTime"`
}

type SnapshotResult

type SnapshotResult struct {
	// The ID of the table group where the table resides
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Task ID, which is valid for the API that creates one task at a time
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Error information
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// Snapshot name
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// The time of the data from which the snapshot was created
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"`

	// When the snapshot expires
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotDeadTime *string `json:"SnapshotDeadTime,omitnil,omitempty" name:"SnapshotDeadTime"`

	// When the snapshot was created
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotCreateTime *string `json:"SnapshotCreateTime,omitnil,omitempty" name:"SnapshotCreateTime"`

	// Snapshot size
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotSize *uint64 `json:"SnapshotSize,omitnil,omitempty" name:"SnapshotSize"`

	// Snapshot status. Valid values: `0` (creating), `1` (normal), `2` (deleting), `3` (expired), `4` (rolling back).
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	SnapshotStatus *uint64 `json:"SnapshotStatus,omitnil,omitempty" name:"SnapshotStatus"`
}

type SyncTableField

type SyncTableField struct {
	// Field name of TcaplusDB table
	SourceName *string `json:"SourceName,omitnil,omitempty" name:"SourceName"`

	// Field name of the target cache table
	TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"`
}

type SyncTableInfo

type SyncTableInfo struct {
	// Sharded table quantity of the target cache table
	TargetTableSplitNum *uint64 `json:"TargetTableSplitNum,omitnil,omitempty" name:"TargetTableSplitNum"`

	// Prefix of the target cache table name
	TargetTableNamePrefix []*string `json:"TargetTableNamePrefix,omitnil,omitempty" name:"TargetTableNamePrefix"`

	// Instance ID of the cache database
	TargetSyncDBInstanceId *string `json:"TargetSyncDBInstanceId,omitnil,omitempty" name:"TargetSyncDBInstanceId"`

	// Name of the database where the cache table resides
	TargetDatabaseName *string `json:"TargetDatabaseName,omitnil,omitempty" name:"TargetDatabaseName"`

	// Caching status. Valid values: `0` (creating), `1` (caching), `2` (disabled), `-1` (deleted).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// ID of cluster where the table resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The ID of the table group where the table resides
	TableGroupId *uint64 `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Table ID
	TableId *string `json:"TableId,omitnil,omitempty" name:"TableId"`

	// Mapping from the primary key field of the TcaplusDB table to the field of the target cache table
	KeyFieldMapping []*SyncTableField `json:"KeyFieldMapping,omitnil,omitempty" name:"KeyFieldMapping"`

	// Mapping of TcaplusDB table field to target cache table field
	ValueFieldMapping []*SyncTableField `json:"ValueFieldMapping,omitnil,omitempty" name:"ValueFieldMapping"`
}

type TableGroupInfo

type TableGroupInfo struct {
	// Table group ID
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Table group name
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`

	// Table group creation time
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Number of tables in table group
	TableCount *uint64 `json:"TableCount,omitnil,omitempty" name:"TableCount"`

	// Total table storage capacity in MB in table group
	TotalSize *uint64 `json:"TotalSize,omitnil,omitempty" name:"TotalSize"`

	// The number of days before the backup files of the Txh tables expire and are deleted.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TxhBackupExpireDay *uint64 `json:"TxhBackupExpireDay,omitnil,omitempty" name:"TxhBackupExpireDay"`

	// Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
	EnableMysql *uint64 `json:"EnableMysql,omitnil,omitempty" name:"EnableMysql"`

	// MySQL load rebalancing vip
	// Note: This field may return null, indicating that no valid values can be obtained.
	MysqlConnIp *string `json:"MysqlConnIp,omitnil,omitempty" name:"MysqlConnIp"`

	// MySQL load rebalancing vport
	// Note: This field may return null, indicating that no valid values can be obtained.
	MysqlConnPort *uint64 `json:"MysqlConnPort,omitnil,omitempty" name:"MysqlConnPort"`
}

type TableInfoNew

type TableInfoNew struct {
	// Table name
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

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

	// Table data structure type, such as `GENERIC` or `LIST`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Table data interface description language (IDL) type, such as `PROTO` or `TDR`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

	// ID of the cluster where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Name of the cluster where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// ID of the table group where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Name of the table group where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableGroupName *string `json:"TableGroupName,omitnil,omitempty" name:"TableGroupName"`

	// JSON string of table's primary key field structure
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyStruct *string `json:"KeyStruct,omitnil,omitempty" name:"KeyStruct"`

	// JSON string of table non-primary key field structure
	// Note: this field may return null, indicating that no valid values can be obtained.
	ValueStruct *string `json:"ValueStruct,omitnil,omitempty" name:"ValueStruct"`

	// Table shardkey set, which is valid for PROTO-type tables
	// Note: this field may return null, indicating that no valid values can be obtained.
	ShardingKeySet *string `json:"ShardingKeySet,omitnil,omitempty" name:"ShardingKeySet"`

	// Table index key field set, which is valid for PROTO-type tables
	// Note: this field may return null, indicating that no valid values can be obtained.
	IndexStruct *string `json:"IndexStruct,omitnil,omitempty" name:"IndexStruct"`

	// Number of LIST-type table elements
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListElementNum *uint64 `json:"ListElementNum,omitnil,omitempty" name:"ListElementNum"`

	// Information list of IDL files associated with table
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// Reserved table capacity in GB
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReservedVolume *int64 `json:"ReservedVolume,omitnil,omitempty" name:"ReservedVolume"`

	// Reserved table read QPS
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReservedReadQps *int64 `json:"ReservedReadQps,omitnil,omitempty" name:"ReservedReadQps"`

	// Reserved table write QPS
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReservedWriteQps *int64 `json:"ReservedWriteQps,omitnil,omitempty" name:"ReservedWriteQps"`

	// Actual table data size in MB
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableSize *int64 `json:"TableSize,omitnil,omitempty" name:"TableSize"`

	// Table status
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

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

	// Table's last modified time
	// Note: this field may return null, indicating that no valid values can be obtained.
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`

	// Table remarks
	// Note: this field may return null, indicating that no valid values can be obtained.
	Memo *string `json:"Memo,omitnil,omitempty" name:"Memo"`

	// Error message
	// Note: this field may return null, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// TcaplusDB SDK data access ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAccessId *string `json:"ApiAccessId,omitnil,omitempty" name:"ApiAccessId"`

	// Number of SORTLIST-type table sort fields
	// Note: this field may return null, indicating that no valid values can be obtained.
	SortFieldNum *int64 `json:"SortFieldNum,omitnil,omitempty" name:"SortFieldNum"`

	// Sort order of SORTLIST-type tables
	// Note: this field may return null, indicating that no valid values can be obtained.
	SortRule *int64 `json:"SortRule,omitnil,omitempty" name:"SortRule"`

	// Information about global indexes, table caching, or data subscription
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DbClusterInfoStruct *string `json:"DbClusterInfoStruct,omitnil,omitempty" name:"DbClusterInfoStruct"`

	// The number of days after which the table Txh backup files will be expire and deleted.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TxhBackupExpireDay *uint64 `json:"TxhBackupExpireDay,omitnil,omitempty" name:"TxhBackupExpireDay"`

	// Cached information of the table
	// Note: This field may return null, indicating that no valid values can be obtained.
	SyncTableInfo *SyncTableInfo `json:"SyncTableInfo,omitnil,omitempty" name:"SyncTableInfo"`
}

type TableResultNew

type TableResultNew struct {
	// Table instance ID in the format of `tcaplus-3be64cbb`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableInstanceId *string `json:"TableInstanceId,omitnil,omitempty" name:"TableInstanceId"`

	// Task ID, which is valid for the API that creates one task
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

	// Table data structure type, such as `GENERIC` or `LIST`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Table data interface description language (IDL) type, such as `PROTO` or `TDR`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

	// ID of the table group where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Error message
	// Note: this field may return null, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// Task ID list, which is valid for the API that creates multiple tasks
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Cluster operation application ID
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`
}

type TableRollbackResultNew

type TableRollbackResultNew struct {
	// Table instance ID in the format of `tcaplus-3be64cbb`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableInstanceId *string `json:"TableInstanceId,omitnil,omitempty" name:"TableInstanceId"`

	// Task ID, which is valid for the API that creates one task
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

	// Table data structure type, such as `GENERIC` or `LIST`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Table data interface description language (IDL) type, such as `PROTO` or `TDR`
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableIdlType *string `json:"TableIdlType,omitnil,omitempty" name:"TableIdlType"`

	// ID of the table group where a table resides
	// Note: this field may return null, indicating that no valid values can be obtained.
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Error message
	// Note: this field may return null, indicating that no valid values can be obtained.
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`

	// Task ID list, which is valid for the API that creates multiple tasks
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// ID of uploaded key file
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"`

	// Number of keys successfully verified
	// Note: this field may return null, indicating that no valid values can be obtained.
	SuccKeyNum *uint64 `json:"SuccKeyNum,omitnil,omitempty" name:"SuccKeyNum"`

	// Total number of keys contained in key file
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalKeyNum *uint64 `json:"TotalKeyNum,omitnil,omitempty" name:"TotalKeyNum"`
}

type TagInfoUnit

type TagInfoUnit struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type TagsInfoOfCluster

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

	// Tag information
	Tags []*TagInfoUnit `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Error message
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`
}

type TagsInfoOfTable

type TagsInfoOfTable struct {
	// Table instance ID
	TableInstanceId *string `json:"TableInstanceId,omitnil,omitempty" name:"TableInstanceId"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Table group ID
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Tag information
	Tags []*TagInfoUnit `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Error message
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`
}

type TagsInfoOfTableGroup

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

	// Table group ID
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// Tag information
	Tags []*TagInfoUnit `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Error message
	Error *ErrorInfo `json:"Error,omitnil,omitempty" name:"Error"`
}

type TaskInfoNew

type TaskInfoNew struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task type
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// ID of TcaplusDB internal transaction associated with task
	TransId *string `json:"TransId,omitnil,omitempty" name:"TransId"`

	// ID of the cluster where a task resides
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Name of the cluster where a task resides
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Task progress
	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	// Task creation time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

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

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

	// Task details
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

type UpdateApplyRequest

type UpdateApplyRequest struct {
	*tchttp.BaseRequest

	// Application status
	ApplyStatus []*ApplyStatus `json:"ApplyStatus,omitnil,omitempty" name:"ApplyStatus"`
}

func NewUpdateApplyRequest

func NewUpdateApplyRequest() (request *UpdateApplyRequest)

func (*UpdateApplyRequest) FromJsonString

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

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

func (*UpdateApplyRequest) ToJsonString

func (r *UpdateApplyRequest) ToJsonString() string

type UpdateApplyRequestParams

type UpdateApplyRequestParams struct {
	// Application status
	ApplyStatus []*ApplyStatus `json:"ApplyStatus,omitnil,omitempty" name:"ApplyStatus"`
}

Predefined struct for user

type UpdateApplyResponse

type UpdateApplyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateApplyResponseParams `json:"Response"`
}

func NewUpdateApplyResponse

func NewUpdateApplyResponse() (response *UpdateApplyResponse)

func (*UpdateApplyResponse) FromJsonString

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

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

func (*UpdateApplyResponse) ToJsonString

func (r *UpdateApplyResponse) ToJsonString() string

type UpdateApplyResponseParams

type UpdateApplyResponseParams struct {
	// List of updated applications
	// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
	ApplyResults []*ApplyResult `json:"ApplyResults,omitnil,omitempty" name:"ApplyResults"`

	// Total number of updated applications
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type VerifyIdlFilesRequest

type VerifyIdlFilesRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster where to create a table
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group where to create a table
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// List of information of uploaded IDL files. Either this parameter or `NewIdlFiles` must be present
	ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitnil,omitempty" name:"ExistingIdlFiles"`

	// List of information of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be present
	NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,omitnil,omitempty" name:"NewIdlFiles"`
}

func NewVerifyIdlFilesRequest

func NewVerifyIdlFilesRequest() (request *VerifyIdlFilesRequest)

func (*VerifyIdlFilesRequest) FromJsonString

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

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

func (*VerifyIdlFilesRequest) ToJsonString

func (r *VerifyIdlFilesRequest) ToJsonString() string

type VerifyIdlFilesRequestParams

type VerifyIdlFilesRequestParams struct {
	// ID of the cluster where to create a table
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ID of the table group where to create a table
	TableGroupId *string `json:"TableGroupId,omitnil,omitempty" name:"TableGroupId"`

	// List of information of uploaded IDL files. Either this parameter or `NewIdlFiles` must be present
	ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitnil,omitempty" name:"ExistingIdlFiles"`

	// List of information of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be present
	NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,omitnil,omitempty" name:"NewIdlFiles"`
}

Predefined struct for user

type VerifyIdlFilesResponse

type VerifyIdlFilesResponse struct {
	*tchttp.BaseResponse
	Response *VerifyIdlFilesResponseParams `json:"Response"`
}

func NewVerifyIdlFilesResponse

func NewVerifyIdlFilesResponse() (response *VerifyIdlFilesResponse)

func (*VerifyIdlFilesResponse) FromJsonString

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

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

func (*VerifyIdlFilesResponse) ToJsonString

func (r *VerifyIdlFilesResponse) ToJsonString() string

type VerifyIdlFilesResponseParams

type VerifyIdlFilesResponseParams struct {
	// Information list of all IDL files uploaded and verified in this request
	IdlFiles []*IdlFileInfo `json:"IdlFiles,omitnil,omitempty" name:"IdlFiles"`

	// Number of valid tables parsed by reading IDL description file, excluding tables already created
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of valid tables parsed by reading IDL description file, excluding tables already created
	TableInfos []*ParsedTableInfoNew `json:"TableInfos,omitnil,omitempty" name:"TableInfos"`

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

Predefined struct for user

Jump to

Keyboard shortcuts

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