Documentation ¶
Index ¶
- Constants
- type ApplyResult
- type ApplyStatus
- type ClearTablesRequest
- type ClearTablesResponse
- type Client
- func (c *Client) ClearTables(request *ClearTablesRequest) (response *ClearTablesResponse, err error)
- func (c *Client) ClearTablesWithContext(ctx context.Context, request *ClearTablesRequest) (response *ClearTablesResponse, err error)
- func (c *Client) CompareIdlFiles(request *CompareIdlFilesRequest) (response *CompareIdlFilesResponse, err error)
- func (c *Client) CompareIdlFilesWithContext(ctx context.Context, request *CompareIdlFilesRequest) (response *CompareIdlFilesResponse, err error)
- func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateSnapshots(request *CreateSnapshotsRequest) (response *CreateSnapshotsResponse, err error)
- func (c *Client) CreateSnapshotsWithContext(ctx context.Context, request *CreateSnapshotsRequest) (response *CreateSnapshotsResponse, err error)
- func (c *Client) CreateTableGroup(request *CreateTableGroupRequest) (response *CreateTableGroupResponse, err error)
- func (c *Client) CreateTableGroupWithContext(ctx context.Context, request *CreateTableGroupRequest) (response *CreateTableGroupResponse, err error)
- func (c *Client) CreateTables(request *CreateTablesRequest) (response *CreateTablesResponse, err error)
- func (c *Client) CreateTablesWithContext(ctx context.Context, request *CreateTablesRequest) (response *CreateTablesResponse, err error)
- func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteIdlFiles(request *DeleteIdlFilesRequest) (response *DeleteIdlFilesResponse, err error)
- func (c *Client) DeleteIdlFilesWithContext(ctx context.Context, request *DeleteIdlFilesRequest) (response *DeleteIdlFilesResponse, err error)
- func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteTableDataFlow(request *DeleteTableDataFlowRequest) (response *DeleteTableDataFlowResponse, err error)
- func (c *Client) DeleteTableDataFlowWithContext(ctx context.Context, request *DeleteTableDataFlowRequest) (response *DeleteTableDataFlowResponse, err error)
- func (c *Client) DeleteTableGroup(request *DeleteTableGroupRequest) (response *DeleteTableGroupResponse, err error)
- func (c *Client) DeleteTableGroupWithContext(ctx context.Context, request *DeleteTableGroupRequest) (response *DeleteTableGroupResponse, err error)
- func (c *Client) DeleteTableIndex(request *DeleteTableIndexRequest) (response *DeleteTableIndexResponse, err error)
- func (c *Client) DeleteTableIndexWithContext(ctx context.Context, request *DeleteTableIndexRequest) (response *DeleteTableIndexResponse, err error)
- func (c *Client) DeleteTables(request *DeleteTablesRequest) (response *DeleteTablesResponse, err error)
- func (c *Client) DeleteTablesWithContext(ctx context.Context, request *DeleteTablesRequest) (response *DeleteTablesResponse, err error)
- func (c *Client) DescribeClusterTags(request *DescribeClusterTagsRequest) (response *DescribeClusterTagsResponse, err error)
- func (c *Client) DescribeClusterTagsWithContext(ctx context.Context, request *DescribeClusterTagsRequest) (response *DescribeClusterTagsResponse, err error)
- func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeIdlFileInfos(request *DescribeIdlFileInfosRequest) (response *DescribeIdlFileInfosResponse, err error)
- func (c *Client) DescribeIdlFileInfosWithContext(ctx context.Context, request *DescribeIdlFileInfosRequest) (response *DescribeIdlFileInfosResponse, err error)
- func (c *Client) DescribeMachine(request *DescribeMachineRequest) (response *DescribeMachineResponse, err error)
- func (c *Client) DescribeMachineWithContext(ctx context.Context, request *DescribeMachineRequest) (response *DescribeMachineResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeTableGroupTags(request *DescribeTableGroupTagsRequest) (response *DescribeTableGroupTagsResponse, err error)
- func (c *Client) DescribeTableGroupTagsWithContext(ctx context.Context, request *DescribeTableGroupTagsRequest) (response *DescribeTableGroupTagsResponse, err error)
- func (c *Client) DescribeTableGroups(request *DescribeTableGroupsRequest) (response *DescribeTableGroupsResponse, err error)
- func (c *Client) DescribeTableGroupsWithContext(ctx context.Context, request *DescribeTableGroupsRequest) (response *DescribeTableGroupsResponse, err error)
- func (c *Client) DescribeTableTags(request *DescribeTableTagsRequest) (response *DescribeTableTagsResponse, err error)
- func (c *Client) DescribeTableTagsWithContext(ctx context.Context, request *DescribeTableTagsRequest) (response *DescribeTableTagsResponse, err error)
- func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTablesInRecycle(request *DescribeTablesInRecycleRequest) (response *DescribeTablesInRecycleResponse, err error)
- func (c *Client) DescribeTablesInRecycleWithContext(ctx context.Context, request *DescribeTablesInRecycleRequest) (response *DescribeTablesInRecycleResponse, err error)
- func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeUinInWhitelist(request *DescribeUinInWhitelistRequest) (response *DescribeUinInWhitelistResponse, err error)
- func (c *Client) DescribeUinInWhitelistWithContext(ctx context.Context, request *DescribeUinInWhitelistRequest) (response *DescribeUinInWhitelistResponse, err error)
- func (c *Client) DisableRestProxy(request *DisableRestProxyRequest) (response *DisableRestProxyResponse, err error)
- func (c *Client) DisableRestProxyWithContext(ctx context.Context, request *DisableRestProxyRequest) (response *DisableRestProxyResponse, err error)
- func (c *Client) EnableRestProxy(request *EnableRestProxyRequest) (response *EnableRestProxyResponse, err error)
- func (c *Client) EnableRestProxyWithContext(ctx context.Context, request *EnableRestProxyRequest) (response *EnableRestProxyResponse, err error)
- func (c *Client) ImportSnapshots(request *ImportSnapshotsRequest) (response *ImportSnapshotsResponse, err error)
- func (c *Client) ImportSnapshotsWithContext(ctx context.Context, request *ImportSnapshotsRequest) (response *ImportSnapshotsResponse, err error)
- func (c *Client) MergeTablesData(request *MergeTablesDataRequest) (response *MergeTablesDataResponse, err error)
- func (c *Client) MergeTablesDataWithContext(ctx context.Context, request *MergeTablesDataRequest) (response *MergeTablesDataResponse, err error)
- func (c *Client) ModifyCensorship(request *ModifyCensorshipRequest) (response *ModifyCensorshipResponse, err error)
- func (c *Client) ModifyCensorshipWithContext(ctx context.Context, request *ModifyCensorshipRequest) (response *ModifyCensorshipResponse, err error)
- func (c *Client) ModifyClusterMachine(request *ModifyClusterMachineRequest) (response *ModifyClusterMachineResponse, err error)
- func (c *Client) ModifyClusterMachineWithContext(ctx context.Context, request *ModifyClusterMachineRequest) (response *ModifyClusterMachineResponse, err error)
- func (c *Client) ModifyClusterName(request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
- func (c *Client) ModifyClusterNameWithContext(ctx context.Context, request *ModifyClusterNameRequest) (response *ModifyClusterNameResponse, err error)
- func (c *Client) ModifyClusterPassword(request *ModifyClusterPasswordRequest) (response *ModifyClusterPasswordResponse, err error)
- func (c *Client) ModifyClusterPasswordWithContext(ctx context.Context, request *ModifyClusterPasswordRequest) (response *ModifyClusterPasswordResponse, err error)
- func (c *Client) ModifyClusterTags(request *ModifyClusterTagsRequest) (response *ModifyClusterTagsResponse, err error)
- func (c *Client) ModifyClusterTagsWithContext(ctx context.Context, request *ModifyClusterTagsRequest) (response *ModifyClusterTagsResponse, err error)
- func (c *Client) ModifySnapshots(request *ModifySnapshotsRequest) (response *ModifySnapshotsResponse, err error)
- func (c *Client) ModifySnapshotsWithContext(ctx context.Context, request *ModifySnapshotsRequest) (response *ModifySnapshotsResponse, err error)
- func (c *Client) ModifyTableGroupName(request *ModifyTableGroupNameRequest) (response *ModifyTableGroupNameResponse, err error)
- func (c *Client) ModifyTableGroupNameWithContext(ctx context.Context, request *ModifyTableGroupNameRequest) (response *ModifyTableGroupNameResponse, err error)
- func (c *Client) ModifyTableGroupTags(request *ModifyTableGroupTagsRequest) (response *ModifyTableGroupTagsResponse, err error)
- func (c *Client) ModifyTableGroupTagsWithContext(ctx context.Context, request *ModifyTableGroupTagsRequest) (response *ModifyTableGroupTagsResponse, err error)
- func (c *Client) ModifyTableMemos(request *ModifyTableMemosRequest) (response *ModifyTableMemosResponse, err error)
- func (c *Client) ModifyTableMemosWithContext(ctx context.Context, request *ModifyTableMemosRequest) (response *ModifyTableMemosResponse, err error)
- func (c *Client) ModifyTableQuotas(request *ModifyTableQuotasRequest) (response *ModifyTableQuotasResponse, err error)
- func (c *Client) ModifyTableQuotasWithContext(ctx context.Context, request *ModifyTableQuotasRequest) (response *ModifyTableQuotasResponse, err error)
- func (c *Client) ModifyTableTags(request *ModifyTableTagsRequest) (response *ModifyTableTagsResponse, err error)
- func (c *Client) ModifyTableTagsWithContext(ctx context.Context, request *ModifyTableTagsRequest) (response *ModifyTableTagsResponse, err error)
- func (c *Client) ModifyTables(request *ModifyTablesRequest) (response *ModifyTablesResponse, err error)
- func (c *Client) ModifyTablesWithContext(ctx context.Context, request *ModifyTablesRequest) (response *ModifyTablesResponse, err error)
- func (c *Client) RecoverRecycleTables(request *RecoverRecycleTablesRequest) (response *RecoverRecycleTablesResponse, err error)
- func (c *Client) RecoverRecycleTablesWithContext(ctx context.Context, request *RecoverRecycleTablesRequest) (response *RecoverRecycleTablesResponse, err error)
- func (c *Client) RollbackTables(request *RollbackTablesRequest) (response *RollbackTablesResponse, err error)
- func (c *Client) RollbackTablesWithContext(ctx context.Context, request *RollbackTablesRequest) (response *RollbackTablesResponse, err error)
- func (c *Client) SetTableDataFlow(request *SetTableDataFlowRequest) (response *SetTableDataFlowResponse, err error)
- func (c *Client) SetTableDataFlowWithContext(ctx context.Context, request *SetTableDataFlowRequest) (response *SetTableDataFlowResponse, err error)
- func (c *Client) SetTableIndex(request *SetTableIndexRequest) (response *SetTableIndexResponse, err error)
- func (c *Client) SetTableIndexWithContext(ctx context.Context, request *SetTableIndexRequest) (response *SetTableIndexResponse, err error)
- func (c *Client) UpdateApply(request *UpdateApplyRequest) (response *UpdateApplyResponse, err error)
- func (c *Client) UpdateApplyWithContext(ctx context.Context, request *UpdateApplyRequest) (response *UpdateApplyResponse, err error)
- func (c *Client) VerifyIdlFiles(request *VerifyIdlFilesRequest) (response *VerifyIdlFilesResponse, err error)
- func (c *Client) VerifyIdlFilesWithContext(ctx context.Context, request *VerifyIdlFilesRequest) (response *VerifyIdlFilesResponse, err error)
- type ClusterInfo
- type CompareIdlFilesRequest
- type CompareIdlFilesResponse
- type CompareTablesInfo
- type CreateBackupRequest
- type CreateBackupResponse
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateSnapshotsRequest
- type CreateSnapshotsResponse
- type CreateTableGroupRequest
- type CreateTableGroupResponse
- type CreateTablesRequest
- type CreateTablesResponse
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DeleteIdlFilesRequest
- type DeleteIdlFilesResponse
- type DeleteSnapshotsRequest
- type DeleteSnapshotsResponse
- type DeleteTableDataFlowRequest
- type DeleteTableDataFlowResponse
- type DeleteTableGroupRequest
- type DeleteTableGroupResponse
- type DeleteTableIndexRequest
- type DeleteTableIndexResponse
- type DeleteTablesRequest
- type DeleteTablesResponse
- type DescribeClusterTagsRequest
- type DescribeClusterTagsResponse
- type DescribeClustersRequest
- type DescribeClustersResponse
- type DescribeIdlFileInfosRequest
- type DescribeIdlFileInfosResponse
- type DescribeMachineRequest
- type DescribeMachineResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeSnapshotsRequest
- type DescribeSnapshotsResponse
- type DescribeTableGroupTagsRequest
- type DescribeTableGroupTagsResponse
- type DescribeTableGroupsRequest
- type DescribeTableGroupsResponse
- type DescribeTableTagsRequest
- type DescribeTableTagsResponse
- type DescribeTablesInRecycleRequest
- type DescribeTablesInRecycleResponse
- type DescribeTablesRequest
- type DescribeTablesResponse
- type DescribeTasksRequest
- type DescribeTasksResponse
- type DescribeUinInWhitelistRequest
- type DescribeUinInWhitelistResponse
- type DisableRestProxyRequest
- type DisableRestProxyResponse
- type EnableRestProxyRequest
- type EnableRestProxyResponse
- type ErrorInfo
- type FieldInfo
- type Filter
- type IdlFileInfo
- type IdlFileInfoWithoutContent
- type ImportSnapshotsRequest
- type ImportSnapshotsResponse
- type KafkaInfo
- type KeyFile
- type MachineInfo
- type MergeTableResult
- type MergeTablesDataRequest
- type MergeTablesDataResponse
- type MergeTablesInfo
- type ModifyCensorshipRequest
- type ModifyCensorshipResponse
- type ModifyClusterMachineRequest
- type ModifyClusterMachineResponse
- type ModifyClusterNameRequest
- type ModifyClusterNameResponse
- type ModifyClusterPasswordRequest
- type ModifyClusterPasswordResponse
- type ModifyClusterTagsRequest
- type ModifyClusterTagsResponse
- type ModifySnapshotsRequest
- type ModifySnapshotsResponse
- type ModifyTableGroupNameRequest
- type ModifyTableGroupNameResponse
- type ModifyTableGroupTagsRequest
- type ModifyTableGroupTagsResponse
- type ModifyTableMemosRequest
- type ModifyTableMemosResponse
- type ModifyTableQuotasRequest
- type ModifyTableQuotasResponse
- type ModifyTableTagsRequest
- type ModifyTableTagsResponse
- type ModifyTablesRequest
- type ModifyTablesResponse
- type ParsedTableInfoNew
- type PoolInfo
- type ProxyDetailInfo
- type ProxyMachineInfo
- type RecoverRecycleTablesRequest
- type RecoverRecycleTablesResponse
- type RegionInfo
- type RollbackTablesRequest
- type RollbackTablesResponse
- type SelectedTableInfoNew
- type SelectedTableWithField
- type ServerDetailInfo
- type ServerMachineInfo
- type SetTableDataFlowRequest
- type SetTableDataFlowResponse
- type SetTableIndexRequest
- type SetTableIndexResponse
- type SnapshotInfo
- type SnapshotInfoNew
- type SnapshotResult
- type TableGroupInfo
- type TableInfoNew
- type TableResultNew
- type TableRollbackResultNew
- type TagInfoUnit
- type TagsInfoOfCluster
- type TagsInfoOfTable
- type TagsInfoOfTableGroup
- type TaskInfoNew
- type UpdateApplyRequest
- type UpdateApplyResponse
- type VerifyIdlFilesRequest
- type VerifyIdlFilesResponse
Constants ¶
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" // 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" )
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,omitempty" name:"ApplicationId"` // Application type ApplicationType *int64 `json:"ApplicationType,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,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,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,omitempty" name:"Error"` }
type ApplyStatus ¶
type ApplyStatus struct { // Value format: cluster ID-application ID ApplicationId *string `json:"ApplicationId,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,omitempty" name:"ApplicationStatus"` // Application type ApplicationType *int64 `json:"ApplicationType,omitempty" name:"ApplicationType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
type ClearTablesRequest ¶
type ClearTablesRequest struct { *tchttp.BaseRequest // ID of the cluster instance where a table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of information of tables to be cleared SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 ClearTablesResponse ¶
type ClearTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of cleared tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of table clearing results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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) 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:
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:
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) 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"
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"
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"
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"
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" RESOURCENOTFOUND = "ResourceNotFound"
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" RESOURCENOTFOUND = "ResourceNotFound"
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) 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,omitempty" name:"ClusterName"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster region Region *string `json:"Region,omitempty" name:"Region"` // Cluster data description language type, such as `PROTO`, `TDR`, or `MIX` IdlType *string `json:"IdlType,omitempty" name:"IdlType"` // Network type NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // ID of the VPC instance with which a cluster is associated VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ID of the subnet instance with which a cluster is associated SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Creation time CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // Cluster password Password *string `json:"Password,omitempty" name:"Password"` // Password status PasswordStatus *string `json:"PasswordStatus,omitempty" name:"PasswordStatus"` // TcaplusDB SDK connection parameter: access ID ApiAccessId *string `json:"ApiAccessId,omitempty" name:"ApiAccessId"` // TcaplusDB SDK connection parameter: access address ApiAccessIp *string `json:"ApiAccessIp,omitempty" name:"ApiAccessIp"` // TcaplusDB SDK connection parameter: access port ApiAccessPort *int64 `json:"ApiAccessPort,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,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,omitempty" name:"ApiAccessIpv6"` // Cluster type // Note: this field may return `null`, indicating that no valid values can be obtained. ClusterType *int64 `json:"ClusterType,omitempty" name:"ClusterType"` // Cluster status // Note: this field may return `null`, indicating that no valid values can be obtained. ClusterStatus *int64 `json:"ClusterStatus,omitempty" name:"ClusterStatus"` // Read CU // Note: this field may return `null`, indicating that no valid values can be obtained. ReadCapacityUnit *int64 `json:"ReadCapacityUnit,omitempty" name:"ReadCapacityUnit"` // Write CU // Note: this field may return `null`, indicating that no valid values can be obtained. WriteCapacityUnit *int64 `json:"WriteCapacityUnit,omitempty" name:"WriteCapacityUnit"` // Disk capacity // Note: this field may return `null`, indicating that no valid values can be obtained. DiskVolume *int64 `json:"DiskVolume,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,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,omitempty" name:"ProxyList"` // Whether the cluster operation approval feature is enabled. Valid values: `0` (disabled), `1` (enabled) Censorship *int64 `json:"Censorship,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,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,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,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,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,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,omitempty" name:"IsReadOnlyUlogBackupExpireDay"` }
type CompareIdlFilesRequest ¶
type CompareIdlFilesRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be modified resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of tables to be modified SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // Selected list of uploaded IDL files. Either this parameter or `NewIdlFiles` must be selected ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitempty" name:"ExistingIdlFiles"` // List of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be selected NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,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 CompareIdlFilesResponse ¶
type CompareIdlFilesResponse struct { *tchttp.BaseResponse Response *struct { // Information list of all IDL files uploaded and verified in this request IdlFiles []*IdlFileInfo `json:"IdlFiles,omitempty" name:"IdlFiles"` // Number of tables verified to be valid in this request TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Verification result parsed from the selected table after the IDL description file is read TableInfos []*ParsedTableInfoNew `json:"TableInfos,omitempty" name:"TableInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 CompareTablesInfo ¶
type CompareTablesInfo struct { // Cluster ID of the source table SrcTableClusterId *string `json:"SrcTableClusterId,omitempty" name:"SrcTableClusterId"` // Table group ID of the source table SrcTableGroupId *string `json:"SrcTableGroupId,omitempty" name:"SrcTableGroupId"` // Source table name SrcTableName *string `json:"SrcTableName,omitempty" name:"SrcTableName"` // Cluster ID of the target table DstTableClusterId *string `json:"DstTableClusterId,omitempty" name:"DstTableClusterId"` // Table group ID of the target table DstTableGroupId *string `json:"DstTableGroupId,omitempty" name:"DstTableGroupId"` // Target table name DstTableName *string `json:"DstTableName,omitempty" name:"DstTableName"` // Source table ID SrcTableInstanceId *string `json:"SrcTableInstanceId,omitempty" name:"SrcTableInstanceId"` // Target table ID DstTableInstanceId *string `json:"DstTableInstanceId,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,omitempty" name:"ClusterId"` // Information list of tables to be backed up SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // Remarks Remark *string `json:"Remark,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 CreateBackupResponse ¶
type CreateBackupResponse struct { *tchttp.BaseResponse Response *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,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,omitempty" name:"ApplicationIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 CreateClusterRequest ¶
type CreateClusterRequest struct { *tchttp.BaseRequest // Cluster data description language type, such as `PROTO`, `TDR`, or `MIX` IdlType *string `json:"IdlType,omitempty" name:"IdlType"` // Cluster name, which can contain up to 32 letters and digits ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // ID of the VPC instance bound to a cluster in the format of `vpc-f49l6u0z` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ID of the subnet instance bound to a cluster in the format of `subnet-pxir56ns` SubnetId *string `json:"SubnetId,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,omitempty" name:"Password"` // Cluster tag list ResourceTags []*TagInfoUnit `json:"ResourceTags,omitempty" name:"ResourceTags"` // Whether to enable IPv6 address access for clusters Ipv6Enable *int64 `json:"Ipv6Enable,omitempty" name:"Ipv6Enable"` // Information of the machine at the storage layer (tcapsvr) in a dedicated cluster ServerList []*MachineInfo `json:"ServerList,omitempty" name:"ServerList"` // Information of the machine at the access layer (tcaproxy) in a dedicated cluster ProxyList []*MachineInfo `json:"ProxyList,omitempty" name:"ProxyList"` // Cluster type. Valid values: `1` (standard), `2` (dedicated) ClusterType *int64 `json:"ClusterType,omitempty" name:"ClusterType"` // Authentication type. Valid values: `0` (static password), `1` (signature) AuthType *int64 `json:"AuthType,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 CreateClusterResponse ¶
type CreateClusterResponse struct { *tchttp.BaseResponse Response *struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 CreateSnapshotsRequest ¶
type CreateSnapshotsRequest struct { *tchttp.BaseRequest // The ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Snapshot list SelectedTables []*SnapshotInfo `json:"SelectedTables,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 CreateSnapshotsResponse ¶
type CreateSnapshotsResponse struct { *tchttp.BaseResponse Response *struct { // The number of snapshots created in batches TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of snapshots created in batches TableResults []*SnapshotResult `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 CreateTableGroupRequest ¶
type CreateTableGroupRequest struct { *tchttp.BaseRequest // ID of the cluster where a table group resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table group name, which can contain up to 32 letters and digits TableGroupName *string `json:"TableGroupName,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,omitempty" name:"TableGroupId"` // Table group tag list ResourceTags []*TagInfoUnit `json:"ResourceTags,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 CreateTableGroupResponse ¶
type CreateTableGroupResponse struct { *tchttp.BaseResponse Response *struct { // ID of table group successfully created TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 CreateTablesRequest ¶
type CreateTablesRequest struct { *tchttp.BaseRequest // ID of the cluster where to create a table ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table creation IDL file list selected by user IdlFiles []*IdlFileInfo `json:"IdlFiles,omitempty" name:"IdlFiles"` // Information list of tables to be created SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // Table tag list ResourceTags []*TagInfoUnit `json:"ResourceTags,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 CreateTablesResponse ¶
type CreateTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of tables created in batches TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of tables created in batches TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteClusterRequest ¶
type DeleteClusterRequest struct { *tchttp.BaseRequest // ID of cluster to be deleted ClusterId *string `json:"ClusterId,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 DeleteClusterResponse ¶
type DeleteClusterResponse struct { *tchttp.BaseResponse Response *struct { // Task ID generated by cluster deletion TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteIdlFilesRequest ¶
type DeleteIdlFilesRequest struct { *tchttp.BaseRequest // ID of the cluster where IDL resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of information of IDL files to be deleted IdlFiles []*IdlFileInfo `json:"IdlFiles,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 DeleteIdlFilesResponse ¶
type DeleteIdlFilesResponse struct { *tchttp.BaseResponse Response *struct { // Number of returned results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Deletion result IdlFileInfos []*IdlFileInfoWithoutContent `json:"IdlFileInfos,omitempty" name:"IdlFileInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteSnapshotsRequest ¶
type DeleteSnapshotsRequest struct { *tchttp.BaseRequest // The ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of snapshots to delete SelectedTables []*SnapshotInfoNew `json:"SelectedTables,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 DeleteSnapshotsResponse ¶
type DeleteSnapshotsResponse struct { *tchttp.BaseResponse Response *struct { // The number of snapshots deleted in batches TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of snapshots deleted in batches TableResults []*SnapshotResult `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteTableDataFlowRequest ¶
type DeleteTableDataFlowRequest struct { *tchttp.BaseRequest // The ID of the cluster where the tables reside ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tables for which data subscription will be disabled SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 DeleteTableDataFlowResponse ¶
type DeleteTableDataFlowResponse struct { *tchttp.BaseResponse Response *struct { // The number of tables for which data subscription has been disabled TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of tables for which data subscription has been disabled TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteTableGroupRequest ¶
type DeleteTableGroupRequest struct { *tchttp.BaseRequest // ID of the cluster where a table group resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table group ID TableGroupId *string `json:"TableGroupId,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 DeleteTableGroupResponse ¶
type DeleteTableGroupResponse struct { *tchttp.BaseResponse Response *struct { // Task ID generated by table group deletion TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteTableIndexRequest ¶
type DeleteTableIndexRequest struct { *tchttp.BaseRequest // ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tables whose global indexes need to be deleted SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 DeleteTableIndexResponse ¶
type DeleteTableIndexResponse struct { *tchttp.BaseResponse Response *struct { // The number of tables whose global indexes are deleted TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The list of global index deletion results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DeleteTablesRequest ¶
type DeleteTablesRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be dropped resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of information of tables to be dropped SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 DeleteTablesResponse ¶
type DeleteTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of dropped tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of details of dropped tables TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeClusterTagsRequest ¶
type DescribeClusterTagsRequest struct { *tchttp.BaseRequest // The list of cluster IDs ClusterIds []*string `json:"ClusterIds,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 DescribeClusterTagsResponse ¶
type DescribeClusterTagsResponse struct { *tchttp.BaseResponse Response *struct { // The information list of cluster tags Rows []*TagsInfoOfCluster `json:"Rows,omitempty" name:"Rows"` // The number of returned results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeClustersRequest ¶
type DescribeClustersRequest struct { *tchttp.BaseRequest // List of IDs of clusters to be queried ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // Query filter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Query list offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results in query list. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Whether to enable IPv6 address access Ipv6Enable *int64 `json:"Ipv6Enable,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 DescribeClustersResponse ¶
type DescribeClustersResponse struct { *tchttp.BaseResponse Response *struct { // Number of cluster instances TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Cluster instance list Clusters []*ClusterInfo `json:"Clusters,omitempty" name:"Clusters"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeIdlFileInfosRequest ¶
type DescribeIdlFileInfosRequest struct { *tchttp.BaseRequest // ID of the cluster where a file resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // ID of the table group where a file resides TableGroupIds []*string `json:"TableGroupIds,omitempty" name:"TableGroupIds"` // File ID list IdlFileIds []*string `json:"IdlFileIds,omitempty" name:"IdlFileIds"` // Query list offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results in query list Limit *int64 `json:"Limit,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 DescribeIdlFileInfosResponse ¶
type DescribeIdlFileInfosResponse struct { *tchttp.BaseResponse Response *struct { // Number of files TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of file details IdlFileInfos []*IdlFileInfo `json:"IdlFileInfos,omitempty" name:"IdlFileInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeMachineRequest ¶
type DescribeMachineRequest struct { *tchttp.BaseRequest // If this parameter is not `0`, machines supporting IPv6 will be queried. Ipv6Enable *int64 `json:"Ipv6Enable,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 DescribeMachineResponse ¶
type DescribeMachineResponse struct { *tchttp.BaseResponse Response *struct { // The list of dedicated machine resources PoolList []*PoolInfo `json:"PoolList,omitempty" name:"PoolList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 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 DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *struct { // Number of queried AZs TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of AZ query results RegionInfos []*RegionInfo `json:"RegionInfos,omitempty" name:"RegionInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeSnapshotsRequest ¶
type DescribeSnapshotsRequest struct { *tchttp.BaseRequest // The ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The ID of the table group where the table resides TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` }
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 DescribeSnapshotsResponse ¶
type DescribeSnapshotsResponse struct { *tchttp.BaseResponse Response *struct { // The number of snapshots TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of snapshots TableResults []*SnapshotResult `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTableGroupTagsRequest ¶
type DescribeTableGroupTagsRequest struct { *tchttp.BaseRequest // The ID of the cluster where table group tags need to be queried ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of IDs of the table groups whose tags need to be queried TableGroupIds []*string `json:"TableGroupIds,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 DescribeTableGroupTagsResponse ¶
type DescribeTableGroupTagsResponse struct { *tchttp.BaseResponse Response *struct { // The information list of table group tags Rows []*TagsInfoOfTableGroup `json:"Rows,omitempty" name:"Rows"` // The number of returned results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTableGroupsRequest ¶
type DescribeTableGroupsRequest struct { *tchttp.BaseRequest // ID of the cluster where a table group resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table group ID list TableGroupIds []*string `json:"TableGroupIds,omitempty" name:"TableGroupIds"` // Filter. Valid values: TableGroupName, TableGroupId Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Query list offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results in query list Limit *int64 `json:"Limit,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 DescribeTableGroupsResponse ¶
type DescribeTableGroupsResponse struct { *tchttp.BaseResponse Response *struct { // Number of table groups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Table group information list TableGroups []*TableGroupInfo `json:"TableGroups,omitempty" name:"TableGroups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTableTagsRequest ¶
type DescribeTableTagsRequest struct { *tchttp.BaseRequest // The ID of the cluster where a table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table list SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 DescribeTableTagsResponse ¶
type DescribeTableTagsResponse struct { *tchttp.BaseResponse Response *struct { // The total number of returned results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The information list of table tags Rows []*TagsInfoOfTable `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTablesInRecycleRequest ¶
type DescribeTablesInRecycleRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be queried resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of IDs of the table groups where the table to be queried resides TableGroupIds []*string `json:"TableGroupIds,omitempty" name:"TableGroupIds"` // Filter. Valid values: TableName, TableInstanceId Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Query result offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned query results Limit *int64 `json:"Limit,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 DescribeTablesInRecycleResponse ¶
type DescribeTablesInRecycleResponse struct { *tchttp.BaseResponse Response *struct { // Number of tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Table details result list TableInfos []*TableInfoNew `json:"TableInfos,omitempty" name:"TableInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTablesRequest ¶
type DescribeTablesRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be queried resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of IDs of the table groups where the table to be queried resides TableGroupIds []*string `json:"TableGroupIds,omitempty" name:"TableGroupIds"` // Information list of tables to be queried SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // Filter. Valid values: TableName, TableInstanceId Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Query result offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned query results Limit *int64 `json:"Limit,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 DescribeTablesResponse ¶
type DescribeTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Table details result list TableInfos []*TableInfoNew `json:"TableInfos,omitempty" name:"TableInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // List of IDs of clusters where the tasks to be queried reside ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // List of IDs of tasks to be queried TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` // Filter. Valid values: Content, TaskType, Operator, Time Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Query list offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results in query list Limit *int64 `json:"Limit,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 DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *struct { // Number of tasks TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of details of queried tasks TaskInfos []*TaskInfoNew `json:"TaskInfos,omitempty" name:"TaskInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 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 DescribeUinInWhitelistResponse ¶
type DescribeUinInWhitelistResponse struct { *tchttp.BaseResponse Response *struct { // Query result. FALSE: yes, TRUE: no Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DisableRestProxyRequest ¶
type DisableRestProxyRequest struct { *tchttp.BaseRequest // The value is the same as `appid`. ClusterId *string `json:"ClusterId,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 DisableRestProxyResponse ¶
type DisableRestProxyResponse struct { *tchttp.BaseResponse Response *struct { // RestProxy status. Valid values: 0 (disabled), 1 (enabling), 2 (enabled), 3 (disabling). RestProxyStatus *uint64 `json:"RestProxyStatus,omitempty" name:"RestProxyStatus"` // `TaskId` is in the format of `AppInstanceId-taskId`, used to identify tasks of different clusters. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 EnableRestProxyRequest ¶
type EnableRestProxyRequest struct { *tchttp.BaseRequest // The value is the same as `appid`. ClusterId *string `json:"ClusterId,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 EnableRestProxyResponse ¶
type EnableRestProxyResponse struct { *tchttp.BaseResponse Response *struct { // RestProxy status. Valid values: 0 (disabled), 1 (enabling), 2 (enabled), 3 (disabling). RestProxyStatus *uint64 `json:"RestProxyStatus,omitempty" name:"RestProxyStatus"` // `TaskId` is in the format of `AppInstanceId-taskId`, used to identify tasks of different clusters. TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 FieldInfo ¶
type FieldInfo struct { // Table field name FieldName *string `json:"FieldName,omitempty" name:"FieldName"` // Whether it is a primary key field IsPrimaryKey *string `json:"IsPrimaryKey,omitempty" name:"IsPrimaryKey"` // Field type FieldType *string `json:"FieldType,omitempty" name:"FieldType"` // Field length FieldSize *int64 `json:"FieldSize,omitempty" name:"FieldSize"` }
type IdlFileInfo ¶
type IdlFileInfo struct { // Filename excluding extension FileName *string `json:"FileName,omitempty" name:"FileName"` // Data interface description language (IDL) type FileType *string `json:"FileType,omitempty" name:"FileType"` // File extension FileExtType *string `json:"FileExtType,omitempty" name:"FileExtType"` // File size in bytes FileSize *int64 `json:"FileSize,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,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,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,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,omitempty" name:"FileType"` // File extension // Note: this field may return null, indicating that no valid values can be obtained. FileExtType *string `json:"FileExtType,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,omitempty" name:"FileSize"` // File ID // Note: this field may return null, indicating that no valid values can be obtained. FileId *int64 `json:"FileId,omitempty" name:"FileId"` // Error message // Note: this field may return null, indicating that no valid values can be obtained. Error *ErrorInfo `json:"Error,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,omitempty" name:"ClusterId"` // The information of the snapshot to import Snapshots *SnapshotInfo `json:"Snapshots,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,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,omitempty" name:"ImportOriginTable"` // The file of the keys of the partial data KeyFile *KeyFile `json:"KeyFile,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,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,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 ImportSnapshotsResponse ¶
type ImportSnapshotsResponse struct { *tchttp.BaseResponse Response *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,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 KafkaInfo ¶
type KafkaInfo struct { // CKafka address Address *string `json:"Address,omitempty" name:"Address"` // CKafka topic Topic *string `json:"Topic,omitempty" name:"Topic"` // CKafka username User *string `json:"User,omitempty" name:"User"` // CKafka password Password *string `json:"Password,omitempty" name:"Password"` // CKafka instance Instance *string `json:"Instance,omitempty" name:"Instance"` // Whether VPC access is enabled IsVpc *int64 `json:"IsVpc,omitempty" name:"IsVpc"` }
type KeyFile ¶
type KeyFile struct { // Key file name FileName *string `json:"FileName,omitempty" name:"FileName"` // Key file extension FileExtType *string `json:"FileExtType,omitempty" name:"FileExtType"` // Key file content FileContent *string `json:"FileContent,omitempty" name:"FileContent"` // Key file size FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` }
type MachineInfo ¶
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,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,omitempty" name:"Error"` // Comparison results of tables Table *CompareTablesInfo `json:"Table,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,omitempty" name:"ApplicationId"` }
type MergeTablesDataRequest ¶
type MergeTablesDataRequest struct { *tchttp.BaseRequest // Tables to be merged SelectedTables []*MergeTablesInfo `json:"SelectedTables,omitempty" name:"SelectedTables"` // Valid values: `true` (only compare), `false` (compare and merge) IsOnlyCompare *bool `json:"IsOnlyCompare,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 MergeTablesDataResponse ¶
type MergeTablesDataResponse struct { *tchttp.BaseResponse Response *struct { // Table merging results Results []*MergeTableResult `json:"Results,omitempty" name:"Results"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 MergeTablesInfo ¶
type MergeTablesInfo struct { // Information of tables to be merged MergeTables *CompareTablesInfo `json:"MergeTables,omitempty" name:"MergeTables"` // Whether to check indexes CheckIndex *bool `json:"CheckIndex,omitempty" name:"CheckIndex"` }
type ModifyCensorshipRequest ¶
type ModifyCensorshipRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Whether to enable the operation approval feature for this cluster. Valid values: `0` (disable), `1` (enable) Censorship *int64 `json:"Censorship,omitempty" name:"Censorship"` // Approver UIN list Uins []*string `json:"Uins,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 ModifyCensorshipResponse ¶
type ModifyCensorshipResponse struct { *tchttp.BaseResponse Response *struct { // Cluster ID ClusterId *string `json:"ClusterId,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,omitempty" name:"Uins"` // Whether the operation approval feature is enabled for this cluster. Valid values: `0` (disabled), `1` (enabled) Censorship *int64 `json:"Censorship,omitempty" name:"Censorship"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyClusterMachineRequest ¶
type ModifyClusterMachineRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Information of the machines at the storage layer (tcapsvr) ServerList []*MachineInfo `json:"ServerList,omitempty" name:"ServerList"` // Information of the machines at the access layer (tcaproxy) ProxyList []*MachineInfo `json:"ProxyList,omitempty" name:"ProxyList"` // Cluster type. Valid values: `1` (standard), `2` (dedicated) ClusterType *int64 `json:"ClusterType,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 ModifyClusterMachineResponse ¶
type ModifyClusterMachineResponse struct { *tchttp.BaseResponse Response *struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyClusterNameRequest ¶
type ModifyClusterNameRequest struct { *tchttp.BaseRequest // ID of the cluster to be renamed ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name to be changed to, which can contain up to 32 letters and digits ClusterName *string `json:"ClusterName,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 ModifyClusterNameResponse ¶
type ModifyClusterNameResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyClusterPasswordRequest ¶
type ModifyClusterPasswordRequest struct { *tchttp.BaseRequest // ID of the cluster for which to modify the password ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Old cluster password OldPassword *string `json:"OldPassword,omitempty" name:"OldPassword"` // Expected expiration time of old cluster password OldPasswordExpireTime *string `json:"OldPasswordExpireTime,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,omitempty" name:"NewPassword"` // Update mode. 1: updates password, 2: updates old password expiration time. Default value: 1 Mode *string `json:"Mode,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 ModifyClusterPasswordResponse ¶
type ModifyClusterPasswordResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyClusterTagsRequest ¶
type ModifyClusterTagsRequest struct { *tchttp.BaseRequest // The ID of the cluster whose tags need to be modified ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tags to add or modify ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // Tags to delete DeleteTags []*TagInfoUnit `json:"DeleteTags,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 ModifyClusterTagsResponse ¶
type ModifyClusterTagsResponse struct { *tchttp.BaseResponse Response *struct { // Task ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifySnapshotsRequest ¶
type ModifySnapshotsRequest struct { *tchttp.BaseRequest // The ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Snapshot list SelectedTables []*SnapshotInfoNew `json:"SelectedTables,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 ModifySnapshotsResponse ¶
type ModifySnapshotsResponse struct { *tchttp.BaseResponse Response *struct { // The number of snapshots modified in batches TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of snapshots modified in batches TableResults []*SnapshotResult `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTableGroupNameRequest ¶
type ModifyTableGroupNameRequest struct { *tchttp.BaseRequest // ID of the cluster where a table group resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // ID of the table group to be renamed TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // New table group name, which can contain letters and symbols TableGroupName *string `json:"TableGroupName,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 ModifyTableGroupNameResponse ¶
type ModifyTableGroupNameResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTableGroupTagsRequest ¶
type ModifyTableGroupTagsRequest struct { *tchttp.BaseRequest // The ID of the cluster where table group tags need to be modified ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The ID of the table group whose tags need to be modified TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // The list of tags to add or modify ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // Tags to delete DeleteTags []*TagInfoUnit `json:"DeleteTags,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 ModifyTableGroupTagsResponse ¶
type ModifyTableGroupTagsResponse struct { *tchttp.BaseResponse Response *struct { // Task ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTableMemosRequest ¶
type ModifyTableMemosRequest struct { *tchttp.BaseRequest // ID of the cluster instance where a table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of details of selected tables TableMemos []*SelectedTableInfoNew `json:"TableMemos,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 ModifyTableMemosResponse ¶
type ModifyTableMemosResponse struct { *tchttp.BaseResponse Response *struct { // Number of tables modified for remarks TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of table remarks modification results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTableQuotasRequest ¶
type ModifyTableQuotasRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be scaled resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // List of quotas of tables selected for modification TableQuotas []*SelectedTableInfoNew `json:"TableQuotas,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 ModifyTableQuotasResponse ¶
type ModifyTableQuotasResponse struct { *tchttp.BaseResponse Response *struct { // Number of scaled tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of table scaling results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTableTagsRequest ¶
type ModifyTableTagsRequest struct { *tchttp.BaseRequest // The ID of the cluster where table tags need to be modified ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tables whose tags need to be modified SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // The list of tags to add or modify ReplaceTags []*TagInfoUnit `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // The list of tags to delete DeleteTags []*TagInfoUnit `json:"DeleteTags,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 ModifyTableTagsResponse ¶
type ModifyTableTagsResponse struct { *tchttp.BaseResponse Response *struct { // The total number of returned results TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Returned results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ModifyTablesRequest ¶
type ModifyTablesRequest struct { *tchttp.BaseRequest // ID of the cluster where the table to be modified resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Selected table modification IDL files IdlFiles []*IdlFileInfo `json:"IdlFiles,omitempty" name:"IdlFiles"` // List of tables to be modified SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 ModifyTablesResponse ¶
type ModifyTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of modified tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of table modification results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 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,omitempty" name:"TableIdlType"` // Table instance ID // Note: this field may return null, indicating that no valid values can be obtained. TableInstanceId *string `json:"TableInstanceId,omitempty" name:"TableInstanceId"` // Table name // Note: this field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,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,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,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,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,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,omitempty" name:"OldValueFields"` // Table group ID // Note: this field may return null, indicating that no valid values can be obtained. TableGroupId *string `json:"TableGroupId,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,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,omitempty" name:"SumValueFieldSize"` // Index key set // Note: this field may return null, indicating that no valid values can be obtained. IndexKeySet *string `json:"IndexKeySet,omitempty" name:"IndexKeySet"` // Shardkey set // Note: this field may return null, indicating that no valid values can be obtained. ShardingKeySet *string `json:"ShardingKeySet,omitempty" name:"ShardingKeySet"` // TDR version number // Note: this field may return null, indicating that no valid values can be obtained. TdrVersion *int64 `json:"TdrVersion,omitempty" name:"TdrVersion"` // Error message // Note: this field may return null, indicating that no valid values can be obtained. Error *ErrorInfo `json:"Error,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,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,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,omitempty" name:"SortRule"` }
type PoolInfo ¶
type PoolInfo struct { // Unique ID PoolUid *int64 `json:"PoolUid,omitempty" name:"PoolUid"` // Whether IPv6 is supported Ipv6Enable *int64 `json:"Ipv6Enable,omitempty" name:"Ipv6Enable"` // Remaining available cluster resources AvailableAppCount *int64 `json:"AvailableAppCount,omitempty" name:"AvailableAppCount"` // The list of machines at the storage layer (tcapsvr) ServerList []*ServerMachineInfo `json:"ServerList,omitempty" name:"ServerList"` // The list of machines at the access layer (tcaproxy) ProxyList []*ProxyMachineInfo `json:"ProxyList,omitempty" name:"ProxyList"` }
type ProxyDetailInfo ¶
type ProxyDetailInfo struct { // The unique ID of the access layer (tcaproxy) ProxyUid *string `json:"ProxyUid,omitempty" name:"ProxyUid"` // Machine type MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // The speed of processing request packets ProcessSpeed *int64 `json:"ProcessSpeed,omitempty" name:"ProcessSpeed"` // Request packet delay AverageProcessDelay *int64 `json:"AverageProcessDelay,omitempty" name:"AverageProcessDelay"` // The speed of processing delayed request packets SlowProcessSpeed *int64 `json:"SlowProcessSpeed,omitempty" name:"SlowProcessSpeed"` }
type ProxyMachineInfo ¶
type ProxyMachineInfo struct { // Unique ID ProxyUid *string `json:"ProxyUid,omitempty" name:"ProxyUid"` // Machine type MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // The number of proxy resources to be assigned AvailableCount *int64 `json:"AvailableCount,omitempty" name:"AvailableCount"` }
type RecoverRecycleTablesRequest ¶
type RecoverRecycleTablesRequest struct { *tchttp.BaseRequest // ID of the cluster where a table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Information of tables to be recovered SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,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 RecoverRecycleTablesResponse ¶
type RecoverRecycleTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of recovered tables TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of information of recovered tables TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 RegionInfo ¶
type RegionInfo struct { // Region `Ap-code` RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Region abbreviation RegionAbbr *string `json:"RegionAbbr,omitempty" name:"RegionAbbr"` // Region ID RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"` // Whether to support IPv6 address access. Valid values: 0 (support), 1 (not support) Ipv6Enable *uint64 `json:"Ipv6Enable,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,omitempty" name:"ClusterId"` // List of tables to be rolled back SelectedTables []*SelectedTableInfoNew `json:"SelectedTables,omitempty" name:"SelectedTables"` // Time to roll back to RollbackTime *string `json:"RollbackTime,omitempty" name:"RollbackTime"` // Rollback mode. `KEYS` is supported Mode *string `json:"Mode,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 RollbackTablesResponse ¶
type RollbackTablesResponse struct { *tchttp.BaseResponse Response *struct { // Number of table rollback task results TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Table rollback task result list TableResults []*TableRollbackResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 SelectedTableInfoNew ¶
type SelectedTableInfoNew struct { // ID of the table group where a table resides TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Table instance ID TableInstanceId *string `json:"TableInstanceId,omitempty" name:"TableInstanceId"` // Table description language type. Valid values: PROTO, TDR TableIdlType *string `json:"TableIdlType,omitempty" name:"TableIdlType"` // Table data structure type. Valid values: GENERIC, LIST TableType *string `json:"TableType,omitempty" name:"TableType"` // Number of LIST-type table elements ListElementNum *int64 `json:"ListElementNum,omitempty" name:"ListElementNum"` // Reserved table capacity in GB ReservedVolume *int64 `json:"ReservedVolume,omitempty" name:"ReservedVolume"` // Reserved table read QPS ReservedReadQps *int64 `json:"ReservedReadQps,omitempty" name:"ReservedReadQps"` // Reserved table write QPS ReservedWriteQps *int64 `json:"ReservedWriteQps,omitempty" name:"ReservedWriteQps"` // Table remarks Memo *string `json:"Memo,omitempty" name:"Memo"` // Key rollback filename, which is only used for rollback FileName *string `json:"FileName,omitempty" name:"FileName"` // Key rollback file extension, which is only used for rollback FileExtType *string `json:"FileExtType,omitempty" name:"FileExtType"` // Key rollback file size, which is only used for rollback FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` // Key rollback file content, which is only used for rollback FileContent *string `json:"FileContent,omitempty" name:"FileContent"` }
type SelectedTableWithField ¶
type SelectedTableWithField struct { // ID of the table group where the table resides TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Table ID TableInstanceId *string `json:"TableInstanceId,omitempty" name:"TableInstanceId"` // Table description language. Valid values: `PROTO`, `TDR` TableIdlType *string `json:"TableIdlType,omitempty" name:"TableIdlType"` // Table data structure. Valid values: `GENERIC`, `LIST` TableType *string `json:"TableType,omitempty" name:"TableType"` // The list of fields on which indexes will be created, table caching enabled, or data subscription enabled SelectedFields []*FieldInfo `json:"SelectedFields,omitempty" name:"SelectedFields"` // The number of index shards ShardNum *uint64 `json:"ShardNum,omitempty" name:"ShardNum"` // CKafka instance information KafkaInfo *KafkaInfo `json:"KafkaInfo,omitempty" name:"KafkaInfo"` }
type ServerDetailInfo ¶
type ServerDetailInfo struct { // The unique ID of the storage layer (tcapsvr) ServerUid *string `json:"ServerUid,omitempty" name:"ServerUid"` // Machine type MachineType *string `json:"MachineType,omitempty" name:"MachineType"` // Memory utilization MemoryRate *int64 `json:"MemoryRate,omitempty" name:"MemoryRate"` // Disk utilization DiskRate *int64 `json:"DiskRate,omitempty" name:"DiskRate"` // The number of reads ReadNum *int64 `json:"ReadNum,omitempty" name:"ReadNum"` // The number of writes WriteNum *int64 `json:"WriteNum,omitempty" name:"WriteNum"` }
type ServerMachineInfo ¶
type SetTableDataFlowRequest ¶
type SetTableDataFlowRequest struct { *tchttp.BaseRequest // The ID of the cluster where the tables reside ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tables for which data subscription will be enabled SelectedTables []*SelectedTableWithField `json:"SelectedTables,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 SetTableDataFlowResponse ¶
type SetTableDataFlowResponse struct { *tchttp.BaseResponse Response *struct { // The number of tables for which data subscription has been enabled TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The result list of tables for which data subscription has been enabled TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 SetTableIndexRequest ¶
type SetTableIndexRequest struct { *tchttp.BaseRequest // ID of the cluster where the table resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // The list of tables that need to create global indexes SelectedTables []*SelectedTableWithField `json:"SelectedTables,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 SetTableIndexResponse ¶
type SetTableIndexResponse struct { *tchttp.BaseResponse Response *struct { // The number of tables whose global indexes are created TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The list of global index creation results TableResults []*TableResultNew `json:"TableResults,omitempty" name:"TableResults"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 SnapshotInfo ¶
type SnapshotInfo struct { // The ID of the table group where the table resides TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // The time of the data from which the snapshot was created SnapshotTime *string `json:"SnapshotTime,omitempty" name:"SnapshotTime"` // Snapshot expiration time SnapshotDeadTime *string `json:"SnapshotDeadTime,omitempty" name:"SnapshotDeadTime"` }
type SnapshotInfoNew ¶
type SnapshotInfoNew struct { // The ID of the table group where the table resides TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // Snapshot expiration time SnapshotDeadTime *string `json:"SnapshotDeadTime,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,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,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,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,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,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,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,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,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,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,omitempty" name:"SnapshotStatus"` }
type TableGroupInfo ¶
type TableGroupInfo struct { // Table group ID TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Table group name TableGroupName *string `json:"TableGroupName,omitempty" name:"TableGroupName"` // Table group creation time CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // Number of tables in table group TableCount *uint64 `json:"TableCount,omitempty" name:"TableCount"` // Total table storage capacity in MB in table group TotalSize *uint64 `json:"TotalSize,omitempty" name:"TotalSize"` }
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,omitempty" name:"TableName"` // Table instance ID // Note: this field may return null, indicating that no valid values can be obtained. TableInstanceId *string `json:"TableInstanceId,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,omitempty" name:"TableSize"` // Table status // Note: this field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Table creation time // Note: this field may return null, indicating that no valid values can be obtained. CreatedTime *string `json:"CreatedTime,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,omitempty" name:"UpdatedTime"` // Table remarks // Note: this field may return null, indicating that no valid values can be obtained. Memo *string `json:"Memo,omitempty" name:"Memo"` // Error message // Note: this field may return null, indicating that no valid values can be obtained. Error *ErrorInfo `json:"Error,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,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,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,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,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,omitempty" name:"TxhBackupExpireDay"` }
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,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,omitempty" name:"TaskId"` // Table name // Note: this field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,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,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,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,omitempty" name:"TableGroupId"` // Error message // Note: this field may return null, indicating that no valid values can be obtained. Error *ErrorInfo `json:"Error,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,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,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,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,omitempty" name:"TaskId"` // Table name // Note: this field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,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,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,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,omitempty" name:"TableGroupId"` // Error message // Note: this field may return null, indicating that no valid values can be obtained. Error *ErrorInfo `json:"Error,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,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,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,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,omitempty" name:"TotalKeyNum"` }
type TagInfoUnit ¶
type TagsInfoOfCluster ¶
type TagsInfoOfCluster struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Tag information Tags []*TagInfoUnit `json:"Tags,omitempty" name:"Tags"` // Error message Error *ErrorInfo `json:"Error,omitempty" name:"Error"` }
type TagsInfoOfTable ¶
type TagsInfoOfTable struct { // Table instance ID TableInstanceId *string `json:"TableInstanceId,omitempty" name:"TableInstanceId"` // Table name TableName *string `json:"TableName,omitempty" name:"TableName"` // Table group ID TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Tag information Tags []*TagInfoUnit `json:"Tags,omitempty" name:"Tags"` // Error message Error *ErrorInfo `json:"Error,omitempty" name:"Error"` }
type TagsInfoOfTableGroup ¶
type TagsInfoOfTableGroup struct { // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Table group ID TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // Tag information Tags []*TagInfoUnit `json:"Tags,omitempty" name:"Tags"` // Error message Error *ErrorInfo `json:"Error,omitempty" name:"Error"` }
type TaskInfoNew ¶
type TaskInfoNew struct { // Task ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // Task type TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // ID of TcaplusDB internal transaction associated with task TransId *string `json:"TransId,omitempty" name:"TransId"` // ID of the cluster where a task resides ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Name of the cluster where a task resides ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Task progress Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Task creation time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Task last modified time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Operator Operator *string `json:"Operator,omitempty" name:"Operator"` // Task details Content *string `json:"Content,omitempty" name:"Content"` }
type UpdateApplyRequest ¶
type UpdateApplyRequest struct { *tchttp.BaseRequest // Application status ApplyStatus []*ApplyStatus `json:"ApplyStatus,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 UpdateApplyResponse ¶
type UpdateApplyResponse struct { *tchttp.BaseResponse Response *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,omitempty" name:"ApplyResults"` // Total number of updated applications TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 VerifyIdlFilesRequest ¶
type VerifyIdlFilesRequest struct { *tchttp.BaseRequest // ID of the cluster where to create a table ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // ID of the table group where to create a table TableGroupId *string `json:"TableGroupId,omitempty" name:"TableGroupId"` // List of information of uploaded IDL files. Either this parameter or `NewIdlFiles` must be present ExistingIdlFiles []*IdlFileInfo `json:"ExistingIdlFiles,omitempty" name:"ExistingIdlFiles"` // List of information of IDL files to be uploaded. Either this parameter or `ExistingIdlFiles` must be present NewIdlFiles []*IdlFileInfo `json:"NewIdlFiles,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 VerifyIdlFilesResponse ¶
type VerifyIdlFilesResponse struct { *tchttp.BaseResponse Response *struct { // Information list of all IDL files uploaded and verified in this request IdlFiles []*IdlFileInfo `json:"IdlFiles,omitempty" name:"IdlFiles"` // Number of valid tables parsed by reading IDL description file, excluding tables already created TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of valid tables parsed by reading IDL description file, excluding tables already created TableInfos []*ParsedTableInfoNew `json:"TableInfos,omitempty" name:"TableInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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