Documentation ¶
Index ¶
- Constants
- type AccountDetailInfo
- type ActionAlterUserRequest
- type ActionAlterUserRequestParams
- type ActionAlterUserResponse
- type ActionAlterUserResponseParams
- type AttachCBSSpec
- type BackUpJobDisplay
- type BackupCosInfo
- type BackupStatus
- type BackupTableContent
- type BindUser
- type CancelBackupJobRequest
- type CancelBackupJobRequestParams
- type CancelBackupJobResponse
- type CancelBackupJobResponseParams
- type CatalogPermission
- type ChargeProperties
- type CheckCoolDownWorkingVariableConfigCorrectRequest
- type CheckCoolDownWorkingVariableConfigCorrectRequestParams
- type CheckCoolDownWorkingVariableConfigCorrectResponse
- type CheckCoolDownWorkingVariableConfigCorrectResponseParams
- type Client
- func (c *Client) ActionAlterUser(request *ActionAlterUserRequest) (response *ActionAlterUserResponse, err error)
- func (c *Client) ActionAlterUserWithContext(ctx context.Context, request *ActionAlterUserRequest) (response *ActionAlterUserResponse, err error)
- func (c *Client) CancelBackupJob(request *CancelBackupJobRequest) (response *CancelBackupJobResponse, err error)
- func (c *Client) CancelBackupJobWithContext(ctx context.Context, request *CancelBackupJobRequest) (response *CancelBackupJobResponse, err error)
- func (c *Client) CheckCoolDownWorkingVariableConfigCorrect(request *CheckCoolDownWorkingVariableConfigCorrectRequest) (response *CheckCoolDownWorkingVariableConfigCorrectResponse, err error)
- func (c *Client) CheckCoolDownWorkingVariableConfigCorrectWithContext(ctx context.Context, request *CheckCoolDownWorkingVariableConfigCorrectRequest) (response *CheckCoolDownWorkingVariableConfigCorrectResponse, err error)
- func (c *Client) CopyTableDatas(request *CopyTableDatasRequest) (response *CopyTableDatasResponse, err error)
- func (c *Client) CopyTableDatasWithContext(ctx context.Context, request *CopyTableDatasRequest) (response *CopyTableDatasResponse, err error)
- func (c *Client) CreateBackUpSchedule(request *CreateBackUpScheduleRequest) (response *CreateBackUpScheduleResponse, err error)
- func (c *Client) CreateBackUpScheduleWithContext(ctx context.Context, request *CreateBackUpScheduleRequest) (response *CreateBackUpScheduleResponse, err error)
- func (c *Client) CreateCoolDownPolicy(request *CreateCoolDownPolicyRequest) (response *CreateCoolDownPolicyResponse, err error)
- func (c *Client) CreateCoolDownPolicyWithContext(ctx context.Context, request *CreateCoolDownPolicyRequest) (response *CreateCoolDownPolicyResponse, err error)
- func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateInstanceNew(request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
- func (c *Client) CreateInstanceNewWithContext(ctx context.Context, request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
- func (c *Client) CreateTable(request *CreateTableRequest) (response *CreateTableResponse, err error)
- func (c *Client) CreateTableWithContext(ctx context.Context, request *CreateTableRequest) (response *CreateTableResponse, err error)
- func (c *Client) CreateWorkloadGroup(request *CreateWorkloadGroupRequest) (response *CreateWorkloadGroupResponse, err error)
- func (c *Client) CreateWorkloadGroupWithContext(ctx context.Context, request *CreateWorkloadGroupRequest) (response *CreateWorkloadGroupResponse, err error)
- func (c *Client) DeleteBackUpData(request *DeleteBackUpDataRequest) (response *DeleteBackUpDataResponse, err error)
- func (c *Client) DeleteBackUpDataWithContext(ctx context.Context, request *DeleteBackUpDataRequest) (response *DeleteBackUpDataResponse, err error)
- func (c *Client) DeleteTable(request *DeleteTableRequest) (response *DeleteTableResponse, err error)
- func (c *Client) DeleteTableWithContext(ctx context.Context, request *DeleteTableRequest) (response *DeleteTableResponse, err error)
- func (c *Client) DeleteWorkloadGroup(request *DeleteWorkloadGroupRequest) (response *DeleteWorkloadGroupResponse, err error)
- func (c *Client) DeleteWorkloadGroupWithContext(ctx context.Context, request *DeleteWorkloadGroupRequest) (response *DeleteWorkloadGroupResponse, err error)
- func (c *Client) DescribeAreaRegion(request *DescribeAreaRegionRequest) (response *DescribeAreaRegionResponse, err error)
- func (c *Client) DescribeAreaRegionWithContext(ctx context.Context, request *DescribeAreaRegionRequest) (response *DescribeAreaRegionResponse, err error)
- func (c *Client) DescribeBackUpJob(request *DescribeBackUpJobRequest) (response *DescribeBackUpJobResponse, err error)
- func (c *Client) DescribeBackUpJobDetail(request *DescribeBackUpJobDetailRequest) (response *DescribeBackUpJobDetailResponse, err error)
- func (c *Client) DescribeBackUpJobDetailWithContext(ctx context.Context, request *DescribeBackUpJobDetailRequest) (response *DescribeBackUpJobDetailResponse, err error)
- func (c *Client) DescribeBackUpJobWithContext(ctx context.Context, request *DescribeBackUpJobRequest) (response *DescribeBackUpJobResponse, err error)
- func (c *Client) DescribeBackUpSchedules(request *DescribeBackUpSchedulesRequest) (response *DescribeBackUpSchedulesResponse, err error)
- func (c *Client) DescribeBackUpSchedulesWithContext(ctx context.Context, request *DescribeBackUpSchedulesRequest) (response *DescribeBackUpSchedulesResponse, err error)
- func (c *Client) DescribeBackUpTables(request *DescribeBackUpTablesRequest) (response *DescribeBackUpTablesResponse, err error)
- func (c *Client) DescribeBackUpTablesWithContext(ctx context.Context, request *DescribeBackUpTablesRequest) (response *DescribeBackUpTablesResponse, err error)
- func (c *Client) DescribeBackUpTaskDetail(request *DescribeBackUpTaskDetailRequest) (response *DescribeBackUpTaskDetailResponse, err error)
- func (c *Client) DescribeBackUpTaskDetailWithContext(ctx context.Context, request *DescribeBackUpTaskDetailRequest) (response *DescribeBackUpTaskDetailResponse, err error)
- func (c *Client) DescribeClusterConfigs(request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
- func (c *Client) DescribeClusterConfigsHistory(request *DescribeClusterConfigsHistoryRequest) (response *DescribeClusterConfigsHistoryResponse, err error)
- func (c *Client) DescribeClusterConfigsHistoryWithContext(ctx context.Context, request *DescribeClusterConfigsHistoryRequest) (response *DescribeClusterConfigsHistoryResponse, err error)
- func (c *Client) DescribeClusterConfigsWithContext(ctx context.Context, request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
- func (c *Client) DescribeCoolDownBackends(request *DescribeCoolDownBackendsRequest) (response *DescribeCoolDownBackendsResponse, err error)
- func (c *Client) DescribeCoolDownBackendsWithContext(ctx context.Context, request *DescribeCoolDownBackendsRequest) (response *DescribeCoolDownBackendsResponse, err error)
- func (c *Client) DescribeCoolDownPolicies(request *DescribeCoolDownPoliciesRequest) (response *DescribeCoolDownPoliciesResponse, err error)
- func (c *Client) DescribeCoolDownPoliciesWithContext(ctx context.Context, request *DescribeCoolDownPoliciesRequest) (response *DescribeCoolDownPoliciesResponse, err error)
- func (c *Client) DescribeCoolDownTableData(request *DescribeCoolDownTableDataRequest) (response *DescribeCoolDownTableDataResponse, err error)
- func (c *Client) DescribeCoolDownTableDataWithContext(ctx context.Context, request *DescribeCoolDownTableDataRequest) (response *DescribeCoolDownTableDataResponse, err error)
- func (c *Client) DescribeCreateTablesDDL(request *DescribeCreateTablesDDLRequest) (response *DescribeCreateTablesDDLResponse, err error)
- func (c *Client) DescribeCreateTablesDDLWithContext(ctx context.Context, request *DescribeCreateTablesDDLRequest) (response *DescribeCreateTablesDDLResponse, err error)
- func (c *Client) DescribeDatabase(request *DescribeDatabaseRequest) (response *DescribeDatabaseResponse, err error)
- func (c *Client) DescribeDatabaseAuditDownload(request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
- func (c *Client) DescribeDatabaseAuditDownloadWithContext(ctx context.Context, request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
- func (c *Client) DescribeDatabaseAuditRecords(request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
- func (c *Client) DescribeDatabaseAuditRecordsWithContext(ctx context.Context, request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
- func (c *Client) DescribeDatabaseWithContext(ctx context.Context, request *DescribeDatabaseRequest) (response *DescribeDatabaseResponse, err error)
- func (c *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
- func (c *Client) DescribeInstanceNodes(request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
- func (c *Client) DescribeInstanceNodesInfo(request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
- func (c *Client) DescribeInstanceNodesInfoWithContext(ctx context.Context, request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
- func (c *Client) DescribeInstanceNodesRole(request *DescribeInstanceNodesRoleRequest) (response *DescribeInstanceNodesRoleResponse, err error)
- func (c *Client) DescribeInstanceNodesRoleWithContext(ctx context.Context, request *DescribeInstanceNodesRoleRequest) (response *DescribeInstanceNodesRoleResponse, err error)
- func (c *Client) DescribeInstanceNodesWithContext(ctx context.Context, request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
- func (c *Client) DescribeInstanceOperationHistory(request *DescribeInstanceOperationHistoryRequest) (response *DescribeInstanceOperationHistoryResponse, err error)
- func (c *Client) DescribeInstanceOperationHistoryWithContext(ctx context.Context, request *DescribeInstanceOperationHistoryRequest) (response *DescribeInstanceOperationHistoryResponse, err error)
- func (c *Client) DescribeInstanceOperations(request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
- func (c *Client) DescribeInstanceOperationsWithContext(ctx context.Context, request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
- func (c *Client) DescribeInstanceState(request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
- func (c *Client) DescribeInstanceStateWithContext(ctx context.Context, request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
- func (c *Client) DescribeInstanceUsedSubnets(request *DescribeInstanceUsedSubnetsRequest) (response *DescribeInstanceUsedSubnetsResponse, err error)
- func (c *Client) DescribeInstanceUsedSubnetsWithContext(ctx context.Context, request *DescribeInstanceUsedSubnetsRequest) (response *DescribeInstanceUsedSubnetsResponse, err error)
- func (c *Client) DescribeInstanceWithContext(ctx context.Context, request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesHealthState(request *DescribeInstancesHealthStateRequest) (response *DescribeInstancesHealthStateResponse, err error)
- func (c *Client) DescribeInstancesHealthStateWithContext(ctx context.Context, request *DescribeInstancesHealthStateRequest) (response *DescribeInstancesHealthStateResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeQueryAnalyse(request *DescribeQueryAnalyseRequest) (response *DescribeQueryAnalyseResponse, err error)
- func (c *Client) DescribeQueryAnalyseWithContext(ctx context.Context, request *DescribeQueryAnalyseRequest) (response *DescribeQueryAnalyseResponse, err error)
- func (c *Client) DescribeRestoreTaskDetail(request *DescribeRestoreTaskDetailRequest) (response *DescribeRestoreTaskDetailResponse, err error)
- func (c *Client) DescribeRestoreTaskDetailWithContext(ctx context.Context, request *DescribeRestoreTaskDetailRequest) (response *DescribeRestoreTaskDetailResponse, err error)
- func (c *Client) DescribeSlowQueryRecords(request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsDownload(request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsDownloadWithContext(ctx context.Context, request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsWithContext(ctx context.Context, request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
- func (c *Client) DescribeSpec(request *DescribeSpecRequest) (response *DescribeSpecResponse, err error)
- func (c *Client) DescribeSpecWithContext(ctx context.Context, request *DescribeSpecRequest) (response *DescribeSpecResponse, err error)
- func (c *Client) DescribeSqlApis(request *DescribeSqlApisRequest) (response *DescribeSqlApisResponse, err error)
- func (c *Client) DescribeSqlApisWithContext(ctx context.Context, request *DescribeSqlApisRequest) (response *DescribeSqlApisResponse, err error)
- func (c *Client) DescribeTable(request *DescribeTableRequest) (response *DescribeTableResponse, err error)
- func (c *Client) DescribeTableList(request *DescribeTableListRequest) (response *DescribeTableListResponse, err error)
- func (c *Client) DescribeTableListWithContext(ctx context.Context, request *DescribeTableListRequest) (response *DescribeTableListResponse, err error)
- func (c *Client) DescribeTableWithContext(ctx context.Context, request *DescribeTableRequest) (response *DescribeTableResponse, err error)
- func (c *Client) DescribeUserBindWorkloadGroup(request *DescribeUserBindWorkloadGroupRequest) (response *DescribeUserBindWorkloadGroupResponse, err error)
- func (c *Client) DescribeUserBindWorkloadGroupWithContext(ctx context.Context, request *DescribeUserBindWorkloadGroupRequest) (response *DescribeUserBindWorkloadGroupResponse, err error)
- func (c *Client) DescribeUserPolicy(request *DescribeUserPolicyRequest) (response *DescribeUserPolicyResponse, err error)
- func (c *Client) DescribeUserPolicyWithContext(ctx context.Context, request *DescribeUserPolicyRequest) (response *DescribeUserPolicyResponse, err error)
- func (c *Client) DescribeWorkloadGroup(request *DescribeWorkloadGroupRequest) (response *DescribeWorkloadGroupResponse, err error)
- func (c *Client) DescribeWorkloadGroupWithContext(ctx context.Context, request *DescribeWorkloadGroupRequest) (response *DescribeWorkloadGroupResponse, err error)
- func (c *Client) DestroyInstance(request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
- func (c *Client) DestroyInstanceWithContext(ctx context.Context, request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
- func (c *Client) ExecuteParametrizedQuery(request *ExecuteParametrizedQueryRequest) (response *ExecuteParametrizedQueryResponse, err error)
- func (c *Client) ExecuteParametrizedQueryWithContext(ctx context.Context, request *ExecuteParametrizedQueryRequest) (response *ExecuteParametrizedQueryResponse, err error)
- func (c *Client) ExecuteSelectQuery(request *ExecuteSelectQueryRequest) (response *ExecuteSelectQueryResponse, err error)
- func (c *Client) ExecuteSelectQueryWithContext(ctx context.Context, request *ExecuteSelectQueryRequest) (response *ExecuteSelectQueryResponse, err error)
- func (c *Client) InsertDatasToTable(request *InsertDatasToTableRequest) (response *InsertDatasToTableResponse, err error)
- func (c *Client) InsertDatasToTableWithContext(ctx context.Context, request *InsertDatasToTableRequest) (response *InsertDatasToTableResponse, err error)
- func (c *Client) ModifyClusterConfigs(request *ModifyClusterConfigsRequest) (response *ModifyClusterConfigsResponse, err error)
- func (c *Client) ModifyClusterConfigsWithContext(ctx context.Context, request *ModifyClusterConfigsRequest) (response *ModifyClusterConfigsResponse, err error)
- func (c *Client) ModifyCoolDownPolicy(request *ModifyCoolDownPolicyRequest) (response *ModifyCoolDownPolicyResponse, err error)
- func (c *Client) ModifyCoolDownPolicyWithContext(ctx context.Context, request *ModifyCoolDownPolicyRequest) (response *ModifyCoolDownPolicyResponse, err error)
- func (c *Client) ModifyDatabaseTableAccess(request *ModifyDatabaseTableAccessRequest) (response *ModifyDatabaseTableAccessResponse, err error)
- func (c *Client) ModifyDatabaseTableAccessWithContext(ctx context.Context, request *ModifyDatabaseTableAccessRequest) (response *ModifyDatabaseTableAccessResponse, err error)
- func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyInstanceKeyValConfigs(request *ModifyInstanceKeyValConfigsRequest) (response *ModifyInstanceKeyValConfigsResponse, err error)
- func (c *Client) ModifyInstanceKeyValConfigsWithContext(ctx context.Context, request *ModifyInstanceKeyValConfigsRequest) (response *ModifyInstanceKeyValConfigsResponse, err error)
- func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyNodeStatus(request *ModifyNodeStatusRequest) (response *ModifyNodeStatusResponse, err error)
- func (c *Client) ModifyNodeStatusWithContext(ctx context.Context, request *ModifyNodeStatusRequest) (response *ModifyNodeStatusResponse, err error)
- func (c *Client) ModifySecurityGroups(request *ModifySecurityGroupsRequest) (response *ModifySecurityGroupsResponse, err error)
- func (c *Client) ModifySecurityGroupsWithContext(ctx context.Context, request *ModifySecurityGroupsRequest) (response *ModifySecurityGroupsResponse, err error)
- func (c *Client) ModifyUserBindWorkloadGroup(request *ModifyUserBindWorkloadGroupRequest) (response *ModifyUserBindWorkloadGroupResponse, err error)
- func (c *Client) ModifyUserBindWorkloadGroupWithContext(ctx context.Context, request *ModifyUserBindWorkloadGroupRequest) (response *ModifyUserBindWorkloadGroupResponse, err error)
- func (c *Client) ModifyUserPrivilegesV3(request *ModifyUserPrivilegesV3Request) (response *ModifyUserPrivilegesV3Response, err error)
- func (c *Client) ModifyUserPrivilegesV3WithContext(ctx context.Context, request *ModifyUserPrivilegesV3Request) (response *ModifyUserPrivilegesV3Response, err error)
- func (c *Client) ModifyWorkloadGroup(request *ModifyWorkloadGroupRequest) (response *ModifyWorkloadGroupResponse, err error)
- func (c *Client) ModifyWorkloadGroupStatus(request *ModifyWorkloadGroupStatusRequest) (response *ModifyWorkloadGroupStatusResponse, err error)
- func (c *Client) ModifyWorkloadGroupStatusWithContext(ctx context.Context, request *ModifyWorkloadGroupStatusRequest) (response *ModifyWorkloadGroupStatusResponse, err error)
- func (c *Client) ModifyWorkloadGroupWithContext(ctx context.Context, request *ModifyWorkloadGroupRequest) (response *ModifyWorkloadGroupResponse, err error)
- func (c *Client) OpenCoolDown(request *OpenCoolDownRequest) (response *OpenCoolDownResponse, err error)
- func (c *Client) OpenCoolDownPolicy(request *OpenCoolDownPolicyRequest) (response *OpenCoolDownPolicyResponse, err error)
- func (c *Client) OpenCoolDownPolicyWithContext(ctx context.Context, request *OpenCoolDownPolicyRequest) (response *OpenCoolDownPolicyResponse, err error)
- func (c *Client) OpenCoolDownWithContext(ctx context.Context, request *OpenCoolDownRequest) (response *OpenCoolDownResponse, err error)
- func (c *Client) QueryTableData(request *QueryTableDataRequest) (response *QueryTableDataResponse, err error)
- func (c *Client) QueryTableDataWithContext(ctx context.Context, request *QueryTableDataRequest) (response *QueryTableDataResponse, err error)
- func (c *Client) RecoverBackUpJob(request *RecoverBackUpJobRequest) (response *RecoverBackUpJobResponse, err error)
- func (c *Client) RecoverBackUpJobWithContext(ctx context.Context, request *RecoverBackUpJobRequest) (response *RecoverBackUpJobResponse, err error)
- func (c *Client) ReduceInstance(request *ReduceInstanceRequest) (response *ReduceInstanceResponse, err error)
- func (c *Client) ReduceInstanceWithContext(ctx context.Context, request *ReduceInstanceRequest) (response *ReduceInstanceResponse, err error)
- func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
- func (c *Client) ResizeDiskWithContext(ctx context.Context, request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
- func (c *Client) RestartClusterForConfigs(request *RestartClusterForConfigsRequest) (response *RestartClusterForConfigsResponse, err error)
- func (c *Client) RestartClusterForConfigsWithContext(ctx context.Context, request *RestartClusterForConfigsRequest) (response *RestartClusterForConfigsResponse, err error)
- func (c *Client) RestartClusterForNode(request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
- func (c *Client) RestartClusterForNodeWithContext(ctx context.Context, request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
- func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
- func (c *Client) ScaleOutInstanceWithContext(ctx context.Context, request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
- func (c *Client) ScaleUpInstance(request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
- func (c *Client) ScaleUpInstanceWithContext(ctx context.Context, request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
- func (c *Client) UpdateCoolDown(request *UpdateCoolDownRequest) (response *UpdateCoolDownResponse, err error)
- func (c *Client) UpdateCoolDownWithContext(ctx context.Context, request *UpdateCoolDownRequest) (response *UpdateCoolDownResponse, err error)
- func (c *Client) UpdateDatabase(request *UpdateDatabaseRequest) (response *UpdateDatabaseResponse, err error)
- func (c *Client) UpdateDatabaseWithContext(ctx context.Context, request *UpdateDatabaseRequest) (response *UpdateDatabaseResponse, err error)
- func (c *Client) UpdateTableSchema(request *UpdateTableSchemaRequest) (response *UpdateTableSchemaResponse, err error)
- func (c *Client) UpdateTableSchemaWithContext(ctx context.Context, request *UpdateTableSchemaRequest) (response *UpdateTableSchemaResponse, err error)
- type ClusterConfigsHistory
- type ClusterConfigsInfoFromEMR
- type Column
- type ConfigKeyValue
- type ConfigSubmitContext
- type CoolDownBackend
- type CoolDownPolicyInfo
- type CoolDownTableDataInfo
- type CopyTableDatasRequest
- type CopyTableDatasRequestParams
- type CopyTableDatasResponse
- type CopyTableDatasResponseParams
- type CosSourceInfo
- type CreateBackUpScheduleRequest
- type CreateBackUpScheduleRequestParams
- type CreateBackUpScheduleResponse
- type CreateBackUpScheduleResponseParams
- type CreateCoolDownPolicyRequest
- type CreateCoolDownPolicyRequestParams
- type CreateCoolDownPolicyResponse
- type CreateCoolDownPolicyResponseParams
- type CreateDatabaseRequest
- type CreateDatabaseRequestParams
- type CreateDatabaseResponse
- type CreateDatabaseResponseParams
- type CreateInstanceNewRequest
- type CreateInstanceNewRequestParams
- type CreateInstanceNewResponse
- type CreateInstanceNewResponseParams
- type CreateInstanceSpec
- type CreateTableRequest
- type CreateTableRequestParams
- type CreateTableResponse
- type CreateTableResponseParams
- type CreateTablesDDL
- type CreateWorkloadGroupRequest
- type CreateWorkloadGroupRequestParams
- type CreateWorkloadGroupResponse
- type CreateWorkloadGroupResponseParams
- type DataBaseAuditRecord
- type DatabasePermissions
- type DbInfo
- type DbTablesInfo
- type DeleteBackUpDataRequest
- type DeleteBackUpDataRequestParams
- type DeleteBackUpDataResponse
- type DeleteBackUpDataResponseParams
- type DeleteTableRequest
- type DeleteTableRequestParams
- type DeleteTableResponse
- type DeleteTableResponseParams
- type DeleteWorkloadGroupRequest
- type DeleteWorkloadGroupRequestParams
- type DeleteWorkloadGroupResponse
- type DeleteWorkloadGroupResponseParams
- type DescribeAreaRegionRequest
- type DescribeAreaRegionRequestParams
- type DescribeAreaRegionResponse
- type DescribeAreaRegionResponseParams
- type DescribeBackUpJobDetailRequest
- type DescribeBackUpJobDetailRequestParams
- type DescribeBackUpJobDetailResponse
- type DescribeBackUpJobDetailResponseParams
- type DescribeBackUpJobRequest
- type DescribeBackUpJobRequestParams
- type DescribeBackUpJobResponse
- type DescribeBackUpJobResponseParams
- type DescribeBackUpSchedulesRequest
- type DescribeBackUpSchedulesRequestParams
- type DescribeBackUpSchedulesResponse
- type DescribeBackUpSchedulesResponseParams
- type DescribeBackUpTablesRequest
- type DescribeBackUpTablesRequestParams
- type DescribeBackUpTablesResponse
- type DescribeBackUpTablesResponseParams
- type DescribeBackUpTaskDetailRequest
- type DescribeBackUpTaskDetailRequestParams
- type DescribeBackUpTaskDetailResponse
- type DescribeBackUpTaskDetailResponseParams
- type DescribeClusterConfigsHistoryRequest
- type DescribeClusterConfigsHistoryRequestParams
- type DescribeClusterConfigsHistoryResponse
- type DescribeClusterConfigsHistoryResponseParams
- type DescribeClusterConfigsRequest
- type DescribeClusterConfigsRequestParams
- type DescribeClusterConfigsResponse
- type DescribeClusterConfigsResponseParams
- type DescribeCoolDownBackendsRequest
- type DescribeCoolDownBackendsRequestParams
- type DescribeCoolDownBackendsResponse
- type DescribeCoolDownBackendsResponseParams
- type DescribeCoolDownPoliciesRequest
- type DescribeCoolDownPoliciesRequestParams
- type DescribeCoolDownPoliciesResponse
- type DescribeCoolDownPoliciesResponseParams
- type DescribeCoolDownTableDataRequest
- type DescribeCoolDownTableDataRequestParams
- type DescribeCoolDownTableDataResponse
- type DescribeCoolDownTableDataResponseParams
- type DescribeCreateTablesDDLRequest
- type DescribeCreateTablesDDLRequestParams
- type DescribeCreateTablesDDLResponse
- type DescribeCreateTablesDDLResponseParams
- type DescribeDatabaseAuditDownloadRequest
- type DescribeDatabaseAuditDownloadRequestParams
- type DescribeDatabaseAuditDownloadResponse
- type DescribeDatabaseAuditDownloadResponseParams
- type DescribeDatabaseAuditRecordsRequest
- type DescribeDatabaseAuditRecordsRequestParams
- type DescribeDatabaseAuditRecordsResponse
- type DescribeDatabaseAuditRecordsResponseParams
- type DescribeDatabaseRequest
- type DescribeDatabaseRequestParams
- type DescribeDatabaseResponse
- type DescribeDatabaseResponseParams
- type DescribeInstanceNodesInfoRequest
- type DescribeInstanceNodesInfoRequestParams
- type DescribeInstanceNodesInfoResponse
- type DescribeInstanceNodesInfoResponseParams
- type DescribeInstanceNodesRequest
- type DescribeInstanceNodesRequestParams
- type DescribeInstanceNodesResponse
- type DescribeInstanceNodesResponseParams
- type DescribeInstanceNodesRoleRequest
- type DescribeInstanceNodesRoleRequestParams
- type DescribeInstanceNodesRoleResponse
- type DescribeInstanceNodesRoleResponseParams
- type DescribeInstanceOperationHistoryRequest
- type DescribeInstanceOperationHistoryRequestParams
- type DescribeInstanceOperationHistoryResponse
- type DescribeInstanceOperationHistoryResponseParams
- type DescribeInstanceOperationsRequest
- type DescribeInstanceOperationsRequestParams
- type DescribeInstanceOperationsResponse
- type DescribeInstanceOperationsResponseParams
- type DescribeInstanceRequest
- type DescribeInstanceRequestParams
- type DescribeInstanceResponse
- type DescribeInstanceResponseParams
- type DescribeInstanceStateRequest
- type DescribeInstanceStateRequestParams
- type DescribeInstanceStateResponse
- type DescribeInstanceStateResponseParams
- type DescribeInstanceUsedSubnetsRequest
- type DescribeInstanceUsedSubnetsRequestParams
- type DescribeInstanceUsedSubnetsResponse
- type DescribeInstanceUsedSubnetsResponseParams
- type DescribeInstancesHealthStateRequest
- type DescribeInstancesHealthStateRequestParams
- type DescribeInstancesHealthStateResponse
- type DescribeInstancesHealthStateResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeQueryAnalyseRequest
- type DescribeQueryAnalyseRequestParams
- type DescribeQueryAnalyseResponse
- type DescribeQueryAnalyseResponseParams
- type DescribeRestoreTaskDetailRequest
- type DescribeRestoreTaskDetailRequestParams
- type DescribeRestoreTaskDetailResponse
- type DescribeRestoreTaskDetailResponseParams
- type DescribeSlowQueryRecordsDownloadRequest
- type DescribeSlowQueryRecordsDownloadRequestParams
- type DescribeSlowQueryRecordsDownloadResponse
- type DescribeSlowQueryRecordsDownloadResponseParams
- type DescribeSlowQueryRecordsRequest
- type DescribeSlowQueryRecordsRequestParams
- type DescribeSlowQueryRecordsResponse
- type DescribeSlowQueryRecordsResponseParams
- type DescribeSpecRequest
- type DescribeSpecRequestParams
- type DescribeSpecResponse
- type DescribeSpecResponseParams
- type DescribeSqlApisRequest
- type DescribeSqlApisRequestParams
- type DescribeSqlApisResponse
- type DescribeSqlApisResponseParams
- type DescribeTableListRequest
- type DescribeTableListRequestParams
- type DescribeTableListResponse
- type DescribeTableListResponseParams
- type DescribeTableRequest
- type DescribeTableRequestParams
- type DescribeTableResponse
- type DescribeTableResponseParams
- type DescribeUserBindWorkloadGroupRequest
- type DescribeUserBindWorkloadGroupRequestParams
- type DescribeUserBindWorkloadGroupResponse
- type DescribeUserBindWorkloadGroupResponseParams
- type DescribeUserPolicyRequest
- type DescribeUserPolicyRequestParams
- type DescribeUserPolicyResponse
- type DescribeUserPolicyResponseParams
- type DescribeWorkloadGroupRequest
- type DescribeWorkloadGroupRequestParams
- type DescribeWorkloadGroupResponse
- type DescribeWorkloadGroupResponseParams
- type DestroyInstanceRequest
- type DestroyInstanceRequestParams
- type DestroyInstanceResponse
- type DestroyInstanceResponseParams
- type DiskSpec
- type Distribution
- type DorisSourceInfo
- type ExecuteParametrizedQueryRequest
- type ExecuteParametrizedQueryRequestParams
- type ExecuteParametrizedQueryResponse
- type ExecuteParametrizedQueryResponseParams
- type ExecuteSelectQueryRequest
- type ExecuteSelectQueryRequestParams
- type ExecuteSelectQueryResponse
- type ExecuteSelectQueryResponseParams
- type FrontEndRule
- type IndexInfo
- type InsertDatasToTableRequest
- type InsertDatasToTableRequestParams
- type InsertDatasToTableResponse
- type InsertDatasToTableResponseParams
- type InstanceConfigItem
- type InstanceDetail
- type InstanceInfo
- type InstanceNode
- type InstanceOperation
- type ListInfo
- type ModifyClusterConfigsRequest
- type ModifyClusterConfigsRequestParams
- type ModifyClusterConfigsResponse
- type ModifyClusterConfigsResponseParams
- type ModifyCoolDownPolicyRequest
- type ModifyCoolDownPolicyRequestParams
- type ModifyCoolDownPolicyResponse
- type ModifyCoolDownPolicyResponseParams
- type ModifyDatabaseTableAccessRequest
- type ModifyDatabaseTableAccessRequestParams
- type ModifyDatabaseTableAccessResponse
- type ModifyDatabaseTableAccessResponseParams
- type ModifyInstanceKeyValConfigsRequest
- type ModifyInstanceKeyValConfigsRequestParams
- type ModifyInstanceKeyValConfigsResponse
- type ModifyInstanceKeyValConfigsResponseParams
- type ModifyInstanceRequest
- type ModifyInstanceRequestParams
- type ModifyInstanceResponse
- type ModifyInstanceResponseParams
- type ModifyNodeStatusRequest
- type ModifyNodeStatusRequestParams
- type ModifyNodeStatusResponse
- type ModifyNodeStatusResponseParams
- type ModifySecurityGroupsRequest
- type ModifySecurityGroupsRequestParams
- type ModifySecurityGroupsResponse
- type ModifySecurityGroupsResponseParams
- type ModifyUserBindWorkloadGroupRequest
- type ModifyUserBindWorkloadGroupRequestParams
- type ModifyUserBindWorkloadGroupResponse
- type ModifyUserBindWorkloadGroupResponseParams
- type ModifyUserPrivilegesV3Request
- type ModifyUserPrivilegesV3RequestParams
- type ModifyUserPrivilegesV3Response
- type ModifyUserPrivilegesV3ResponseParams
- type ModifyWorkloadGroupRequest
- type ModifyWorkloadGroupRequestParams
- type ModifyWorkloadGroupResponse
- type ModifyWorkloadGroupResponseParams
- type ModifyWorkloadGroupStatusRequest
- type ModifyWorkloadGroupStatusRequestParams
- type ModifyWorkloadGroupStatusResponse
- type ModifyWorkloadGroupStatusResponseParams
- type NetworkInfo
- type NodeInfo
- type NodeInfos
- type NodesSummary
- type OpenCoolDownPolicyRequest
- type OpenCoolDownPolicyRequestParams
- type OpenCoolDownPolicyResponse
- type OpenCoolDownPolicyResponseParams
- type OpenCoolDownRequest
- type OpenCoolDownRequestParams
- type OpenCoolDownResponse
- type OpenCoolDownResponseParams
- type Partition
- type PermissionHostInfo
- type PropertiesMap
- type Property
- type QueryDetails
- type QueryTableDataRequest
- type QueryTableDataRequestParams
- type QueryTableDataResponse
- type QueryTableDataResponseParams
- type RangeInfo
- type RecoverBackUpJobRequest
- type RecoverBackUpJobRequestParams
- type RecoverBackUpJobResponse
- type RecoverBackUpJobResponseParams
- type ReduceInstanceRequest
- type ReduceInstanceRequestParams
- type ReduceInstanceResponse
- type ReduceInstanceResponseParams
- type RegionAreaInfo
- type RegionInfo
- type ResizeDiskRequest
- type ResizeDiskRequestParams
- type ResizeDiskResponse
- type ResizeDiskResponseParams
- type ResourceSpec
- type RestartClusterForConfigsRequest
- type RestartClusterForConfigsRequestParams
- type RestartClusterForConfigsResponse
- type RestartClusterForConfigsResponseParams
- type RestartClusterForNodeRequest
- type RestartClusterForNodeRequestParams
- type RestartClusterForNodeResponse
- type RestartClusterForNodeResponseParams
- type RestoreStatus
- type Rows
- type ScaleOutInstanceRequest
- type ScaleOutInstanceRequestParams
- type ScaleOutInstanceResponse
- type ScaleOutInstanceResponseParams
- type ScaleUpInstanceRequest
- type ScaleUpInstanceRequestParams
- type ScaleUpInstanceResponse
- type ScaleUpInstanceResponseParams
- type SearchTags
- type SlowQueryRecord
- type TablePermissions
- type TablesDDL
- type Tag
- type UpdateCoolDownRequest
- type UpdateCoolDownRequestParams
- type UpdateCoolDownResponse
- type UpdateCoolDownResponseParams
- type UpdateDatabaseRequest
- type UpdateDatabaseRequestParams
- type UpdateDatabaseResponse
- type UpdateDatabaseResponseParams
- type UpdateTableSchemaRequest
- type UpdateTableSchemaRequestParams
- type UpdateTableSchemaResponse
- type UpdateTableSchemaResponseParams
- type UpdateUserPrivileges
- type UserInfo
- type UserWorkloadGroup
- type WorkloadGroupConfig
- type ZoneInfo
Constants ¶
const APIVersion = "2021-12-28"
const (
// Internal error.
INTERNALERROR = "InternalError"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDetailInfo ¶
type AccountDetailInfo struct { // Username // // Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Host name or IP address, which indicates the host to which the user belongs. // // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` // User description information // // Note: This field may return null, indicating that no valid values can be obtained. UserDescription *string `json:"UserDescription,omitnil,omitempty" name:"UserDescription"` }
type ActionAlterUserRequest ¶
type ActionAlterUserRequest struct { *tchttp.BaseRequest // User information UserInfo *UserInfo `json:"UserInfo,omitnil,omitempty" name:"UserInfo"` // API type ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"` // User permission type. 0: ordinary user; 1: administrator. UserPrivilege *int64 `json:"UserPrivilege,omitnil,omitempty" name:"UserPrivilege"` }
func NewActionAlterUserRequest ¶
func NewActionAlterUserRequest() (request *ActionAlterUserRequest)
func (*ActionAlterUserRequest) FromJsonString ¶
func (r *ActionAlterUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ActionAlterUserRequest) ToJsonString ¶
func (r *ActionAlterUserRequest) ToJsonString() string
type ActionAlterUserRequestParams ¶
type ActionAlterUserRequestParams struct { // User information UserInfo *UserInfo `json:"UserInfo,omitnil,omitempty" name:"UserInfo"` // API type ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"` // User permission type. 0: ordinary user; 1: administrator. UserPrivilege *int64 `json:"UserPrivilege,omitnil,omitempty" name:"UserPrivilege"` }
Predefined struct for user
type ActionAlterUserResponse ¶
type ActionAlterUserResponse struct { *tchttp.BaseResponse Response *ActionAlterUserResponseParams `json:"Response"` }
func NewActionAlterUserResponse ¶
func NewActionAlterUserResponse() (response *ActionAlterUserResponse)
func (*ActionAlterUserResponse) FromJsonString ¶
func (r *ActionAlterUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ActionAlterUserResponse) ToJsonString ¶
func (r *ActionAlterUserResponse) ToJsonString() string
type ActionAlterUserResponseParams ¶
type ActionAlterUserResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachCBSSpec ¶
type AttachCBSSpec struct { // Node disk type, such as CLOUD_SSD"\"CLOUD_PREMIUM DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk capacity, in GB DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Total number of disks DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // Description DiskDesc *string `json:"DiskDesc,omitnil,omitempty" name:"DiskDesc"` }
type BackUpJobDisplay ¶
type BackUpJobDisplay struct { // Backup instance ID JobId *int64 `json:"JobId,omitnil,omitempty" name:"JobId"` // Backup instance name Snapshot *string `json:"Snapshot,omitnil,omitempty" name:"Snapshot"` // Backup data volume BackUpSize *int64 `json:"BackUpSize,omitnil,omitempty" name:"BackUpSize"` // Backup single replica data volume // Note: This field may return null, indicating that no valid values can be obtained. BackUpSingleSize *int64 `json:"BackUpSingleSize,omitnil,omitempty" name:"BackUpSingleSize"` // Instance creation time BackUpTime *string `json:"BackUpTime,omitnil,omitempty" name:"BackUpTime"` // Instance expiration time ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Instance status JobStatus *string `json:"JobStatus,omitnil,omitempty" name:"JobStatus"` // 0: default; 1: one-time backup for the remote Doris // Note: This field may return null, indicating that no valid values can be obtained. BackupType *int64 `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 0: default; 1: immediate backup; 2: migration // Note: This field may return null, indicating that no valid values can be obtained. BackupTimeType *int64 `json:"BackupTimeType,omitnil,omitempty" name:"BackupTimeType"` // Connection information of the remote Doris // Note: This field may return null, indicating that no valid values can be obtained. DorisSourceInfo *DorisSourceInfo `json:"DorisSourceInfo,omitnil,omitempty" name:"DorisSourceInfo"` // The value corresponding to the instance status // Note: This field may return null, indicating that no valid values can be obtained. JobStatusNum *int64 `json:"JobStatusNum,omitnil,omitempty" name:"JobStatusNum"` // Information about cos in the backup instance // Note: This field may return null, indicating that no valid values can be obtained. BackupCosInfo *BackupCosInfo `json:"BackupCosInfo,omitnil,omitempty" name:"BackupCosInfo"` }
type BackupCosInfo ¶
type BackupCosInfo struct { // The cos bucket where the backup file is located. // Note: This field may return null, indicating that no valid values can be obtained. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // The full cos path where the backup file is located. // Note: This field may return null, indicating that no valid values can be obtained. CosPath *string `json:"CosPath,omitnil,omitempty" name:"CosPath"` // Backup file name // Note: This field may return null, indicating that no valid values can be obtained. SnapShotPath *string `json:"SnapShotPath,omitnil,omitempty" name:"SnapShotPath"` }
type BackupStatus ¶
type BackupStatus struct { // Backup task ID JobId *int64 `json:"JobId,omitnil,omitempty" name:"JobId"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // Database name DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Status State *string `json:"State,omitnil,omitempty" name:"State"` // Backup object BackupObjects *string `json:"BackupObjects,omitnil,omitempty" name:"BackupObjects"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Snapshot end time SnapshotFinishedTime *string `json:"SnapshotFinishedTime,omitnil,omitempty" name:"SnapshotFinishedTime"` // Upload end time UploadFinishedTime *string `json:"UploadFinishedTime,omitnil,omitempty" name:"UploadFinishedTime"` // End time FinishedTime *string `json:"FinishedTime,omitnil,omitempty" name:"FinishedTime"` // Unfinished tasks UnfinishedTasks *string `json:"UnfinishedTasks,omitnil,omitempty" name:"UnfinishedTasks"` // Progress Progress *string `json:"Progress,omitnil,omitempty" name:"Progress"` // Error message TaskErrMsg *string `json:"TaskErrMsg,omitnil,omitempty" name:"TaskErrMsg"` // Status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Timeout information Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // Backup instance ID // Note: This field may return null, indicating that no valid values can be obtained. BackupJobId *int64 `json:"BackupJobId,omitnil,omitempty" name:"BackupJobId"` // The ID of the snapshoit corresponding to the instance // Note: This field may return null, indicating that no valid values can be obtained. TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
type BackupTableContent ¶
type BackupTableContent struct { // Database // Note: This field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Table // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Total number of bytes in the table // Note: This field may return null, indicating that no valid values can be obtained. TotalBytes *int64 `json:"TotalBytes,omitnil,omitempty" name:"TotalBytes"` // Size of a single replica // Note: This field may return null, indicating that no valid values can be obtained. SingleReplicaBytes *string `json:"SingleReplicaBytes,omitnil,omitempty" name:"SingleReplicaBytes"` // Backup status // Note: This field may return null, indicating that no valid values can be obtained. BackupStatus *int64 `json:"BackupStatus,omitnil,omitempty" name:"BackupStatus"` // Error message of the backup // Note: This field may return null, indicating that no valid values can be obtained. BackupErrorMsg *string `json:"BackupErrorMsg,omitnil,omitempty" name:"BackupErrorMsg"` // Whether to bind the cold storage policy to the database and table // Note: This field may return null, indicating that no valid values can be obtained. IsOpenCoolDown *bool `json:"IsOpenCoolDown,omitnil,omitempty" name:"IsOpenCoolDown"` }
type BindUser ¶
type BindUser struct { // Username // Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Host information // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
type CancelBackupJobRequest ¶
type CancelBackupJobRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Backup instance ID to be canceled BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
func NewCancelBackupJobRequest ¶
func NewCancelBackupJobRequest() (request *CancelBackupJobRequest)
func (*CancelBackupJobRequest) FromJsonString ¶
func (r *CancelBackupJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelBackupJobRequest) ToJsonString ¶
func (r *CancelBackupJobRequest) ToJsonString() string
type CancelBackupJobRequestParams ¶
type CancelBackupJobRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Backup instance ID to be canceled BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
Predefined struct for user
type CancelBackupJobResponse ¶
type CancelBackupJobResponse struct { *tchttp.BaseResponse Response *CancelBackupJobResponseParams `json:"Response"` }
func NewCancelBackupJobResponse ¶
func NewCancelBackupJobResponse() (response *CancelBackupJobResponse)
func (*CancelBackupJobResponse) FromJsonString ¶
func (r *CancelBackupJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelBackupJobResponse) ToJsonString ¶
func (r *CancelBackupJobResponse) ToJsonString() string
type CancelBackupJobResponseParams ¶
type CancelBackupJobResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CatalogPermission ¶
type ChargeProperties ¶
type ChargeProperties struct { // Billing type: PREPAID for prepayment, and POSTPAID_BY_HOUR for postpayment. // Note: This field may return null, indicating that no valid values can be obtained. ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Whether to automatically renew. 1 means automatic renewal is enabled. // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Billing duration // Note: This field may return null, indicating that no valid values can be obtained. TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Billing time unit, and "m" means month, etc. // Note: This field may return null, indicating that no valid values can be obtained. TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
type CheckCoolDownWorkingVariableConfigCorrectRequest ¶
type CheckCoolDownWorkingVariableConfigCorrectRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewCheckCoolDownWorkingVariableConfigCorrectRequest ¶
func NewCheckCoolDownWorkingVariableConfigCorrectRequest() (request *CheckCoolDownWorkingVariableConfigCorrectRequest)
func (*CheckCoolDownWorkingVariableConfigCorrectRequest) FromJsonString ¶
func (r *CheckCoolDownWorkingVariableConfigCorrectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCoolDownWorkingVariableConfigCorrectRequest) ToJsonString ¶
func (r *CheckCoolDownWorkingVariableConfigCorrectRequest) ToJsonString() string
type CheckCoolDownWorkingVariableConfigCorrectRequestParams ¶
type CheckCoolDownWorkingVariableConfigCorrectRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type CheckCoolDownWorkingVariableConfigCorrectResponse ¶
type CheckCoolDownWorkingVariableConfigCorrectResponse struct { *tchttp.BaseResponse Response *CheckCoolDownWorkingVariableConfigCorrectResponseParams `json:"Response"` }
func NewCheckCoolDownWorkingVariableConfigCorrectResponse ¶
func NewCheckCoolDownWorkingVariableConfigCorrectResponse() (response *CheckCoolDownWorkingVariableConfigCorrectResponse)
func (*CheckCoolDownWorkingVariableConfigCorrectResponse) FromJsonString ¶
func (r *CheckCoolDownWorkingVariableConfigCorrectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCoolDownWorkingVariableConfigCorrectResponse) ToJsonString ¶
func (r *CheckCoolDownWorkingVariableConfigCorrectResponse) ToJsonString() string
type CheckCoolDownWorkingVariableConfigCorrectResponseParams ¶
type CheckCoolDownWorkingVariableConfigCorrectResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ActionAlterUser ¶
func (c *Client) ActionAlterUser(request *ActionAlterUserRequest) (response *ActionAlterUserResponse, err error)
ActionAlterUser This API is used to add and modify a user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ActionAlterUserWithContext ¶
func (c *Client) ActionAlterUserWithContext(ctx context.Context, request *ActionAlterUserRequest) (response *ActionAlterUserResponse, err error)
ActionAlterUser This API is used to add and modify a user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CancelBackupJob ¶
func (c *Client) CancelBackupJob(request *CancelBackupJobRequest) (response *CancelBackupJobResponse, err error)
CancelBackupJob This API is used to cancel the corresponding backup instance task.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CancelBackupJobWithContext ¶
func (c *Client) CancelBackupJobWithContext(ctx context.Context, request *CancelBackupJobRequest) (response *CancelBackupJobResponse, err error)
CancelBackupJob This API is used to cancel the corresponding backup instance task.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CheckCoolDownWorkingVariableConfigCorrect ¶
func (c *Client) CheckCoolDownWorkingVariableConfigCorrect(request *CheckCoolDownWorkingVariableConfigCorrectRequest) (response *CheckCoolDownWorkingVariableConfigCorrectResponse, err error)
CheckCoolDownWorkingVariableConfigCorrect This API is used to check whether variables and configurations for hot/cold data layering are correct.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CheckCoolDownWorkingVariableConfigCorrectWithContext ¶
func (c *Client) CheckCoolDownWorkingVariableConfigCorrectWithContext(ctx context.Context, request *CheckCoolDownWorkingVariableConfigCorrectRequest) (response *CheckCoolDownWorkingVariableConfigCorrectResponse, err error)
CheckCoolDownWorkingVariableConfigCorrect This API is used to check whether variables and configurations for hot/cold data layering are correct.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CopyTableDatas ¶
func (c *Client) CopyTableDatas(request *CopyTableDatasRequest) (response *CopyTableDatasResponse, err error)
CopyTableDatas This API is used to copy the source table to the target table.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CopyTableDatasWithContext ¶
func (c *Client) CopyTableDatasWithContext(ctx context.Context, request *CopyTableDatasRequest) (response *CopyTableDatasResponse, err error)
CopyTableDatas This API is used to copy the source table to the target table.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateBackUpSchedule ¶
func (c *Client) CreateBackUpSchedule(request *CreateBackUpScheduleRequest) (response *CreateBackUpScheduleResponse, err error)
CreateBackUpSchedule This API is used to create or modify backup policies.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateBackUpScheduleWithContext ¶
func (c *Client) CreateBackUpScheduleWithContext(ctx context.Context, request *CreateBackUpScheduleRequest) (response *CreateBackUpScheduleResponse, err error)
CreateBackUpSchedule This API is used to create or modify backup policies.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateCoolDownPolicy ¶
func (c *Client) CreateCoolDownPolicy(request *CreateCoolDownPolicyRequest) (response *CreateCoolDownPolicyResponse, err error)
CreateCoolDownPolicy This API is used to create a hot/cold data layering policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateCoolDownPolicyWithContext ¶
func (c *Client) CreateCoolDownPolicyWithContext(ctx context.Context, request *CreateCoolDownPolicyRequest) (response *CreateCoolDownPolicyResponse, err error)
CreateCoolDownPolicy This API is used to create a hot/cold data layering policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateDatabase ¶
func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase This API is used to create a TCHouse-D database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateDatabaseWithContext ¶
func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase This API is used to create a TCHouse-D database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateInstanceNew ¶
func (c *Client) CreateInstanceNew(request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
CreateInstanceNew This API is used to create clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateInstanceNewWithContext ¶
func (c *Client) CreateInstanceNewWithContext(ctx context.Context, request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
CreateInstanceNew This API is used to create clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateTable ¶
func (c *Client) CreateTable(request *CreateTableRequest) (response *CreateTableResponse, err error)
CreateTable This API is used to create a TCHouse-D table under the specified database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateTableWithContext ¶
func (c *Client) CreateTableWithContext(ctx context.Context, request *CreateTableRequest) (response *CreateTableResponse, err error)
CreateTable This API is used to create a TCHouse-D table under the specified database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateWorkloadGroup ¶
func (c *Client) CreateWorkloadGroup(request *CreateWorkloadGroupRequest) (response *CreateWorkloadGroupResponse, err error)
CreateWorkloadGroup This API is used to create resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) CreateWorkloadGroupWithContext ¶
func (c *Client) CreateWorkloadGroupWithContext(ctx context.Context, request *CreateWorkloadGroupRequest) (response *CreateWorkloadGroupResponse, err error)
CreateWorkloadGroup This API is used to create resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteBackUpData ¶
func (c *Client) DeleteBackUpData(request *DeleteBackUpDataRequest) (response *DeleteBackUpDataResponse, err error)
DeleteBackUpData This API is used to delete backup data.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteBackUpDataWithContext ¶
func (c *Client) DeleteBackUpDataWithContext(ctx context.Context, request *DeleteBackUpDataRequest) (response *DeleteBackUpDataResponse, err error)
DeleteBackUpData This API is used to delete backup data.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteTable ¶
func (c *Client) DeleteTable(request *DeleteTableRequest) (response *DeleteTableResponse, err error)
DeleteTable This API is used to delete the specified table in the specified database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteTableWithContext ¶
func (c *Client) DeleteTableWithContext(ctx context.Context, request *DeleteTableRequest) (response *DeleteTableResponse, err error)
DeleteTable This API is used to delete the specified table in the specified database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteWorkloadGroup ¶
func (c *Client) DeleteWorkloadGroup(request *DeleteWorkloadGroupRequest) (response *DeleteWorkloadGroupResponse, err error)
DeleteWorkloadGroup This API is used to delete resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DeleteWorkloadGroupWithContext ¶
func (c *Client) DeleteWorkloadGroupWithContext(ctx context.Context, request *DeleteWorkloadGroupRequest) (response *DeleteWorkloadGroupResponse, err error)
DeleteWorkloadGroup This API is used to delete resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeAreaRegion ¶
func (c *Client) DescribeAreaRegion(request *DescribeAreaRegionRequest) (response *DescribeAreaRegionResponse, err error)
DescribeAreaRegion This API is used to display region information and the total number of clusters in each region on the cluster list page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeAreaRegionWithContext ¶
func (c *Client) DescribeAreaRegionWithContext(ctx context.Context, request *DescribeAreaRegionRequest) (response *DescribeAreaRegionResponse, err error)
DescribeAreaRegion This API is used to display region information and the total number of clusters in each region on the cluster list page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpJob ¶
func (c *Client) DescribeBackUpJob(request *DescribeBackUpJobRequest) (response *DescribeBackUpJobResponse, err error)
DescribeBackUpJob This API is used to query the list of backup instances.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpJobDetail ¶
func (c *Client) DescribeBackUpJobDetail(request *DescribeBackUpJobDetailRequest) (response *DescribeBackUpJobDetailResponse, err error)
DescribeBackUpJobDetail This API is used to query backup task details.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpJobDetailWithContext ¶
func (c *Client) DescribeBackUpJobDetailWithContext(ctx context.Context, request *DescribeBackUpJobDetailRequest) (response *DescribeBackUpJobDetailResponse, err error)
DescribeBackUpJobDetail This API is used to query backup task details.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpJobWithContext ¶
func (c *Client) DescribeBackUpJobWithContext(ctx context.Context, request *DescribeBackUpJobRequest) (response *DescribeBackUpJobResponse, err error)
DescribeBackUpJob This API is used to query the list of backup instances.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpSchedules ¶
func (c *Client) DescribeBackUpSchedules(request *DescribeBackUpSchedulesRequest) (response *DescribeBackUpSchedulesResponse, err error)
DescribeBackUpSchedules This API is used to obtain the scheduled task information for the backup and migration.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpSchedulesWithContext ¶
func (c *Client) DescribeBackUpSchedulesWithContext(ctx context.Context, request *DescribeBackUpSchedulesRequest) (response *DescribeBackUpSchedulesResponse, err error)
DescribeBackUpSchedules This API is used to obtain the scheduled task information for the backup and migration.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpTables ¶
func (c *Client) DescribeBackUpTables(request *DescribeBackUpTablesRequest) (response *DescribeBackUpTablesResponse, err error)
DescribeBackUpTables This API is used to obtain the information of the table available for backup.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpTablesWithContext ¶
func (c *Client) DescribeBackUpTablesWithContext(ctx context.Context, request *DescribeBackUpTablesRequest) (response *DescribeBackUpTablesResponse, err error)
DescribeBackUpTables This API is used to obtain the information of the table available for backup.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpTaskDetail ¶
func (c *Client) DescribeBackUpTaskDetail(request *DescribeBackUpTaskDetailRequest) (response *DescribeBackUpTaskDetailResponse, err error)
DescribeBackUpTaskDetail This API is used to query the progress details of backup tasks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeBackUpTaskDetailWithContext ¶
func (c *Client) DescribeBackUpTaskDetailWithContext(ctx context.Context, request *DescribeBackUpTaskDetailRequest) (response *DescribeBackUpTaskDetailResponse, err error)
DescribeBackUpTaskDetail This API is used to query the progress details of backup tasks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeClusterConfigs ¶
func (c *Client) DescribeClusterConfigs(request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
DescribeClusterConfigs This API is used to get the contents of the latest configuration files (config.xml, metrika.xml, and user.xml) of the cluster and display them to the user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeClusterConfigsHistory ¶
func (c *Client) DescribeClusterConfigsHistory(request *DescribeClusterConfigsHistoryRequest) (response *DescribeClusterConfigsHistoryResponse, err error)
DescribeClusterConfigsHistory This API is used to obtain the modification history of cluster configuration files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeClusterConfigsHistoryWithContext ¶
func (c *Client) DescribeClusterConfigsHistoryWithContext(ctx context.Context, request *DescribeClusterConfigsHistoryRequest) (response *DescribeClusterConfigsHistoryResponse, err error)
DescribeClusterConfigsHistory This API is used to obtain the modification history of cluster configuration files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeClusterConfigsWithContext ¶
func (c *Client) DescribeClusterConfigsWithContext(ctx context.Context, request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
DescribeClusterConfigs This API is used to get the contents of the latest configuration files (config.xml, metrika.xml, and user.xml) of the cluster and display them to the user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownBackends ¶
func (c *Client) DescribeCoolDownBackends(request *DescribeCoolDownBackendsRequest) (response *DescribeCoolDownBackendsResponse, err error)
DescribeCoolDownBackends This API is used to query the list of backend nodes supporting hot/cold data layering.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownBackendsWithContext ¶
func (c *Client) DescribeCoolDownBackendsWithContext(ctx context.Context, request *DescribeCoolDownBackendsRequest) (response *DescribeCoolDownBackendsResponse, err error)
DescribeCoolDownBackends This API is used to query the list of backend nodes supporting hot/cold data layering.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownPolicies ¶
func (c *Client) DescribeCoolDownPolicies(request *DescribeCoolDownPoliciesRequest) (response *DescribeCoolDownPoliciesResponse, err error)
DescribeCoolDownPolicies This API is used to query the list of hot/cold data layering policies.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownPoliciesWithContext ¶
func (c *Client) DescribeCoolDownPoliciesWithContext(ctx context.Context, request *DescribeCoolDownPoliciesRequest) (response *DescribeCoolDownPoliciesResponse, err error)
DescribeCoolDownPolicies This API is used to query the list of hot/cold data layering policies.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownTableData ¶
func (c *Client) DescribeCoolDownTableData(request *DescribeCoolDownTableDataRequest) (response *DescribeCoolDownTableDataResponse, err error)
DescribeCoolDownTableData This API is used to query the layered hot and cold data in a table.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCoolDownTableDataWithContext ¶
func (c *Client) DescribeCoolDownTableDataWithContext(ctx context.Context, request *DescribeCoolDownTableDataRequest) (response *DescribeCoolDownTableDataResponse, err error)
DescribeCoolDownTableData This API is used to query the layered hot and cold data in a table.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCreateTablesDDL ¶
func (c *Client) DescribeCreateTablesDDL(request *DescribeCreateTablesDDLRequest) (response *DescribeCreateTablesDDLResponse, err error)
DescribeCreateTablesDDL This API is used to batch obtain the table creation DDL.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeCreateTablesDDLWithContext ¶
func (c *Client) DescribeCreateTablesDDLWithContext(ctx context.Context, request *DescribeCreateTablesDDLRequest) (response *DescribeCreateTablesDDLResponse, err error)
DescribeCreateTablesDDL This API is used to batch obtain the table creation DDL.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabase ¶
func (c *Client) DescribeDatabase(request *DescribeDatabaseRequest) (response *DescribeDatabaseResponse, err error)
DescribeDatabase This API is used to obtain the database information under a specific data source.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabaseAuditDownload ¶
func (c *Client) DescribeDatabaseAuditDownload(request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
DescribeDatabaseAuditDownload This API is used to download database audit logs.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabaseAuditDownloadWithContext ¶
func (c *Client) DescribeDatabaseAuditDownloadWithContext(ctx context.Context, request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
DescribeDatabaseAuditDownload This API is used to download database audit logs.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabaseAuditRecords ¶
func (c *Client) DescribeDatabaseAuditRecords(request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
DescribeDatabaseAuditRecords This API is used to get database audit records.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabaseAuditRecordsWithContext ¶
func (c *Client) DescribeDatabaseAuditRecordsWithContext(ctx context.Context, request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
DescribeDatabaseAuditRecords This API is used to get database audit records.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeDatabaseWithContext ¶
func (c *Client) DescribeDatabaseWithContext(ctx context.Context, request *DescribeDatabaseRequest) (response *DescribeDatabaseResponse, err error)
DescribeDatabase This API is used to obtain the database information under a specific data source.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstance ¶
func (c *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
DescribeInstance This API is used to query the specific information of a cluster based on the cluster ID.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodes ¶
func (c *Client) DescribeInstanceNodes(request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
DescribeInstanceNodes This API is used to get the list of cluster node information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodesInfo ¶
func (c *Client) DescribeInstanceNodesInfo(request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
DescribeInstanceNodesInfo This API is used to get the BE/FE node roles.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodesInfoWithContext ¶
func (c *Client) DescribeInstanceNodesInfoWithContext(ctx context.Context, request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
DescribeInstanceNodesInfo This API is used to get the BE/FE node roles.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodesRole ¶
func (c *Client) DescribeInstanceNodesRole(request *DescribeInstanceNodesRoleRequest) (response *DescribeInstanceNodesRoleResponse, err error)
DescribeInstanceNodesRole This API is used to obtain cluster node roles.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodesRoleWithContext ¶
func (c *Client) DescribeInstanceNodesRoleWithContext(ctx context.Context, request *DescribeInstanceNodesRoleRequest) (response *DescribeInstanceNodesRoleResponse, err error)
DescribeInstanceNodesRole This API is used to obtain cluster node roles.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceNodesWithContext ¶
func (c *Client) DescribeInstanceNodesWithContext(ctx context.Context, request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
DescribeInstanceNodes This API is used to get the list of cluster node information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceOperationHistory ¶
func (c *Client) DescribeInstanceOperationHistory(request *DescribeInstanceOperationHistoryRequest) (response *DescribeInstanceOperationHistoryResponse, err error)
DescribeInstanceOperationHistory This API is used to pull the operation list of the cluster. The API supports pagination query and filtering operation records by time range.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceOperationHistoryWithContext ¶
func (c *Client) DescribeInstanceOperationHistoryWithContext(ctx context.Context, request *DescribeInstanceOperationHistoryRequest) (response *DescribeInstanceOperationHistoryResponse, err error)
DescribeInstanceOperationHistory This API is used to pull the operation list of the cluster. The API supports pagination query and filtering operation records by time range.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceOperations ¶
func (c *Client) DescribeInstanceOperations(request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
DescribeInstanceOperations This API is used to pull operations of the cluster on the cluster details page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceOperationsWithContext ¶
func (c *Client) DescribeInstanceOperationsWithContext(ctx context.Context, request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
DescribeInstanceOperations This API is used to pull operations of the cluster on the cluster details page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceState ¶
func (c *Client) DescribeInstanceState(request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
DescribeInstanceState This API is used to display cluster status, process progress, etc. in the cluster details page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceStateWithContext ¶
func (c *Client) DescribeInstanceStateWithContext(ctx context.Context, request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
DescribeInstanceState This API is used to display cluster status, process progress, etc. in the cluster details page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceUsedSubnets ¶
func (c *Client) DescribeInstanceUsedSubnets(request *DescribeInstanceUsedSubnetsRequest) (response *DescribeInstanceUsedSubnetsResponse, err error)
DescribeInstanceUsedSubnets This API is used to obtain the information of subnets used by the cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceUsedSubnetsWithContext ¶
func (c *Client) DescribeInstanceUsedSubnetsWithContext(ctx context.Context, request *DescribeInstanceUsedSubnetsRequest) (response *DescribeInstanceUsedSubnetsResponse, err error)
DescribeInstanceUsedSubnets This API is used to obtain the information of subnets used by the cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstanceWithContext ¶
func (c *Client) DescribeInstanceWithContext(ctx context.Context, request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
DescribeInstance This API is used to query the specific information of a cluster based on the cluster ID.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the list of clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstancesHealthState ¶
func (c *Client) DescribeInstancesHealthState(request *DescribeInstancesHealthStateRequest) (response *DescribeInstancesHealthStateResponse, err error)
DescribeInstancesHealthState This API is used to check cluster health
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstancesHealthStateWithContext ¶
func (c *Client) DescribeInstancesHealthStateWithContext(ctx context.Context, request *DescribeInstancesHealthStateRequest) (response *DescribeInstancesHealthStateResponse, err error)
DescribeInstancesHealthState This API is used to check cluster health
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the list of clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeQueryAnalyse ¶
func (c *Client) DescribeQueryAnalyse(request *DescribeQueryAnalyseRequest) (response *DescribeQueryAnalyseResponse, err error)
DescribeQueryAnalyse This API is used to obtain the SQL query details of the Doris user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeQueryAnalyseWithContext ¶
func (c *Client) DescribeQueryAnalyseWithContext(ctx context.Context, request *DescribeQueryAnalyseRequest) (response *DescribeQueryAnalyseResponse, err error)
DescribeQueryAnalyse This API is used to obtain the SQL query details of the Doris user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeRestoreTaskDetail ¶
func (c *Client) DescribeRestoreTaskDetail(request *DescribeRestoreTaskDetailRequest) (response *DescribeRestoreTaskDetailResponse, err error)
DescribeRestoreTaskDetail This API is used to query the progress details of the recovery task.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeRestoreTaskDetailWithContext ¶
func (c *Client) DescribeRestoreTaskDetailWithContext(ctx context.Context, request *DescribeRestoreTaskDetailRequest) (response *DescribeRestoreTaskDetailResponse, err error)
DescribeRestoreTaskDetail This API is used to query the progress details of the recovery task.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecords ¶
func (c *Client) DescribeSlowQueryRecords(request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
DescribeSlowQueryRecords This API is used to get the slow log list.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsDownload ¶
func (c *Client) DescribeSlowQueryRecordsDownload(request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
DescribeSlowQueryRecordsDownload This API is used to download slow log files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsDownloadWithContext ¶
func (c *Client) DescribeSlowQueryRecordsDownloadWithContext(ctx context.Context, request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
DescribeSlowQueryRecordsDownload This API is used to download slow log files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsWithContext ¶
func (c *Client) DescribeSlowQueryRecordsWithContext(ctx context.Context, request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
DescribeSlowQueryRecords This API is used to get the slow log list.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSpec ¶
func (c *Client) DescribeSpec(request *DescribeSpecRequest) (response *DescribeSpecResponse, err error)
DescribeSpec This API is used to pull the specification list of data nodes and zookeeper nodes for the cluster on the purchase page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSpecWithContext ¶
func (c *Client) DescribeSpecWithContext(ctx context.Context, request *DescribeSpecRequest) (response *DescribeSpecResponse, err error)
DescribeSpec This API is used to pull the specification list of data nodes and zookeeper nodes for the cluster on the purchase page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSqlApis ¶
func (c *Client) DescribeSqlApis(request *DescribeSqlApisRequest) (response *DescribeSqlApisResponse, err error)
DescribeSqlApis This API is used to query the cluster information by executing SQL commands.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSqlApisWithContext ¶
func (c *Client) DescribeSqlApisWithContext(ctx context.Context, request *DescribeSqlApisRequest) (response *DescribeSqlApisResponse, err error)
DescribeSqlApis This API is used to query the cluster information by executing SQL commands.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeTable ¶
func (c *Client) DescribeTable(request *DescribeTableRequest) (response *DescribeTableResponse, err error)
DescribeTable This API is used to obtain the table information. It only supports querying table information in the TCHouse-D internal catalog.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeTableList ¶
func (c *Client) DescribeTableList(request *DescribeTableListRequest) (response *DescribeTableListResponse, err error)
DescribeTableList This API is used to obtain the list of tables under the specified data source and database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeTableListWithContext ¶
func (c *Client) DescribeTableListWithContext(ctx context.Context, request *DescribeTableListRequest) (response *DescribeTableListResponse, err error)
DescribeTableList This API is used to obtain the list of tables under the specified data source and database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeTableWithContext ¶
func (c *Client) DescribeTableWithContext(ctx context.Context, request *DescribeTableRequest) (response *DescribeTableResponse, err error)
DescribeTable This API is used to obtain the table information. It only supports querying table information in the TCHouse-D internal catalog.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeUserBindWorkloadGroup ¶
func (c *Client) DescribeUserBindWorkloadGroup(request *DescribeUserBindWorkloadGroupRequest) (response *DescribeUserBindWorkloadGroupResponse, err error)
DescribeUserBindWorkloadGroup This API is used to obtain the resource information bound to each user in the current cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeUserBindWorkloadGroupWithContext ¶
func (c *Client) DescribeUserBindWorkloadGroupWithContext(ctx context.Context, request *DescribeUserBindWorkloadGroupRequest) (response *DescribeUserBindWorkloadGroupResponse, err error)
DescribeUserBindWorkloadGroup This API is used to obtain the resource information bound to each user in the current cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeUserPolicy ¶
func (c *Client) DescribeUserPolicy(request *DescribeUserPolicyRequest) (response *DescribeUserPolicyResponse, err error)
DescribeUserPolicy This API is used to obtain detailed information of Doris users, including account information, permission host, and permission configuration.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeUserPolicyWithContext ¶
func (c *Client) DescribeUserPolicyWithContext(ctx context.Context, request *DescribeUserPolicyRequest) (response *DescribeUserPolicyResponse, err error)
DescribeUserPolicy This API is used to obtain detailed information of Doris users, including account information, permission host, and permission configuration.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeWorkloadGroup ¶
func (c *Client) DescribeWorkloadGroup(request *DescribeWorkloadGroupRequest) (response *DescribeWorkloadGroupResponse, err error)
DescribeWorkloadGroup This API is used to obtain resource group information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeWorkloadGroupWithContext ¶
func (c *Client) DescribeWorkloadGroupWithContext(ctx context.Context, request *DescribeWorkloadGroupRequest) (response *DescribeWorkloadGroupResponse, err error)
DescribeWorkloadGroup This API is used to obtain resource group information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DestroyInstance ¶
func (c *Client) DestroyInstance(request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
DestroyInstance This API is used to terminate clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DestroyInstanceWithContext ¶
func (c *Client) DestroyInstanceWithContext(ctx context.Context, request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
DestroyInstance This API is used to terminate clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ExecuteParametrizedQuery ¶
func (c *Client) ExecuteParametrizedQuery(request *ExecuteParametrizedQueryRequest) (response *ExecuteParametrizedQueryResponse, err error)
ExecuteParametrizedQuery This API is used to execute an SQL query statement with parameters and return the query results.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ExecuteParametrizedQueryWithContext ¶
func (c *Client) ExecuteParametrizedQueryWithContext(ctx context.Context, request *ExecuteParametrizedQueryRequest) (response *ExecuteParametrizedQueryResponse, err error)
ExecuteParametrizedQuery This API is used to execute an SQL query statement with parameters and return the query results.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ExecuteSelectQuery ¶
func (c *Client) ExecuteSelectQuery(request *ExecuteSelectQueryRequest) (response *ExecuteSelectQueryResponse, err error)
ExecuteSelectQuery This API is used to query data according to the specified database and table name, and support field selection and pagination.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ExecuteSelectQueryWithContext ¶
func (c *Client) ExecuteSelectQueryWithContext(ctx context.Context, request *ExecuteSelectQueryRequest) (response *ExecuteSelectQueryResponse, err error)
ExecuteSelectQuery This API is used to query data according to the specified database and table name, and support field selection and pagination.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) InsertDatasToTable ¶
func (c *Client) InsertDatasToTable(request *InsertDatasToTableRequest) (response *InsertDatasToTableResponse, err error)
InsertDatasToTable This API is used to insert data into TCHouse-D.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) InsertDatasToTableWithContext ¶
func (c *Client) InsertDatasToTableWithContext(ctx context.Context, request *InsertDatasToTableRequest) (response *InsertDatasToTableResponse, err error)
InsertDatasToTable This API is used to insert data into TCHouse-D.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyClusterConfigs ¶
func (c *Client) ModifyClusterConfigs(request *ModifyClusterConfigsRequest) (response *ModifyClusterConfigsResponse, err error)
ModifyClusterConfigs This API is used to modify the XML cluster configuration file on the cluster configuration page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyClusterConfigsWithContext ¶
func (c *Client) ModifyClusterConfigsWithContext(ctx context.Context, request *ModifyClusterConfigsRequest) (response *ModifyClusterConfigsResponse, err error)
ModifyClusterConfigs This API is used to modify the XML cluster configuration file on the cluster configuration page.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyCoolDownPolicy ¶
func (c *Client) ModifyCoolDownPolicy(request *ModifyCoolDownPolicyRequest) (response *ModifyCoolDownPolicyResponse, err error)
ModifyCoolDownPolicy This API is used to modify the hot/cold data layering policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyCoolDownPolicyWithContext ¶
func (c *Client) ModifyCoolDownPolicyWithContext(ctx context.Context, request *ModifyCoolDownPolicyRequest) (response *ModifyCoolDownPolicyResponse, err error)
ModifyCoolDownPolicy This API is used to modify the hot/cold data layering policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyDatabaseTableAccess ¶
func (c *Client) ModifyDatabaseTableAccess(request *ModifyDatabaseTableAccessRequest) (response *ModifyDatabaseTableAccessResponse, err error)
ModifyDatabaseTableAccess This API is used to GRANT and REVOKE the database and table in the Doris database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyDatabaseTableAccessWithContext ¶
func (c *Client) ModifyDatabaseTableAccessWithContext(ctx context.Context, request *ModifyDatabaseTableAccessRequest) (response *ModifyDatabaseTableAccessResponse, err error)
ModifyDatabaseTableAccess This API is used to GRANT and REVOKE the database and table in the Doris database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstance ¶
func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to modify the cluster's name.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstanceKeyValConfigs ¶
func (c *Client) ModifyInstanceKeyValConfigs(request *ModifyInstanceKeyValConfigsRequest) (response *ModifyInstanceKeyValConfigsResponse, err error)
ModifyInstanceKeyValConfigs This API is used to modify configurations in the KV mode.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstanceKeyValConfigsWithContext ¶
func (c *Client) ModifyInstanceKeyValConfigsWithContext(ctx context.Context, request *ModifyInstanceKeyValConfigsRequest) (response *ModifyInstanceKeyValConfigsResponse, err error)
ModifyInstanceKeyValConfigs This API is used to modify configurations in the KV mode.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstanceWithContext ¶
func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to modify the cluster's name.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyNodeStatus ¶
func (c *Client) ModifyNodeStatus(request *ModifyNodeStatusRequest) (response *ModifyNodeStatusResponse, err error)
ModifyNodeStatus This API is used to change the node status.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyNodeStatusWithContext ¶
func (c *Client) ModifyNodeStatusWithContext(ctx context.Context, request *ModifyNodeStatusRequest) (response *ModifyNodeStatusResponse, err error)
ModifyNodeStatus This API is used to change the node status.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifySecurityGroups ¶
func (c *Client) ModifySecurityGroups(request *ModifySecurityGroupsRequest) (response *ModifySecurityGroupsResponse, err error)
ModifySecurityGroups This API is used to edit security groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifySecurityGroupsWithContext ¶
func (c *Client) ModifySecurityGroupsWithContext(ctx context.Context, request *ModifySecurityGroupsRequest) (response *ModifySecurityGroupsResponse, err error)
ModifySecurityGroups This API is used to edit security groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyUserBindWorkloadGroup ¶
func (c *Client) ModifyUserBindWorkloadGroup(request *ModifyUserBindWorkloadGroupRequest) (response *ModifyUserBindWorkloadGroupResponse, err error)
ModifyUserBindWorkloadGroup This API is used to modify the resource group bound to the user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyUserBindWorkloadGroupWithContext ¶
func (c *Client) ModifyUserBindWorkloadGroupWithContext(ctx context.Context, request *ModifyUserBindWorkloadGroupRequest) (response *ModifyUserBindWorkloadGroupResponse, err error)
ModifyUserBindWorkloadGroup This API is used to modify the resource group bound to the user.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyUserPrivilegesV3 ¶
func (c *Client) ModifyUserPrivilegesV3(request *ModifyUserPrivilegesV3Request) (response *ModifyUserPrivilegesV3Response, err error)
ModifyUserPrivilegesV3 This API is used to modify user permissions and support three permission setting categories: catalog, all db, and some db tables.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyUserPrivilegesV3WithContext ¶
func (c *Client) ModifyUserPrivilegesV3WithContext(ctx context.Context, request *ModifyUserPrivilegesV3Request) (response *ModifyUserPrivilegesV3Response, err error)
ModifyUserPrivilegesV3 This API is used to modify user permissions and support three permission setting categories: catalog, all db, and some db tables.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyWorkloadGroup ¶
func (c *Client) ModifyWorkloadGroup(request *ModifyWorkloadGroupRequest) (response *ModifyWorkloadGroupResponse, err error)
ModifyWorkloadGroup This API is used to modify the resource group information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyWorkloadGroupStatus ¶
func (c *Client) ModifyWorkloadGroupStatus(request *ModifyWorkloadGroupStatusRequest) (response *ModifyWorkloadGroupStatusResponse, err error)
ModifyWorkloadGroupStatus This API is used to enable or disable resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyWorkloadGroupStatusWithContext ¶
func (c *Client) ModifyWorkloadGroupStatusWithContext(ctx context.Context, request *ModifyWorkloadGroupStatusRequest) (response *ModifyWorkloadGroupStatusResponse, err error)
ModifyWorkloadGroupStatus This API is used to enable or disable resource groups.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyWorkloadGroupWithContext ¶
func (c *Client) ModifyWorkloadGroupWithContext(ctx context.Context, request *ModifyWorkloadGroupRequest) (response *ModifyWorkloadGroupResponse, err error)
ModifyWorkloadGroup This API is used to modify the resource group information.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) OpenCoolDown ¶
func (c *Client) OpenCoolDown(request *OpenCoolDownRequest) (response *OpenCoolDownResponse, err error)
OpenCoolDown This API is used to enable hot/cold data layering.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) OpenCoolDownPolicy ¶
func (c *Client) OpenCoolDownPolicy(request *OpenCoolDownPolicyRequest) (response *OpenCoolDownPolicyResponse, err error)
OpenCoolDownPolicy This API is used to enable and describe the cold storage policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) OpenCoolDownPolicyWithContext ¶
func (c *Client) OpenCoolDownPolicyWithContext(ctx context.Context, request *OpenCoolDownPolicyRequest) (response *OpenCoolDownPolicyResponse, err error)
OpenCoolDownPolicy This API is used to enable and describe the cold storage policy.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) OpenCoolDownWithContext ¶
func (c *Client) OpenCoolDownWithContext(ctx context.Context, request *OpenCoolDownRequest) (response *OpenCoolDownResponse, err error)
OpenCoolDown This API is used to enable hot/cold data layering.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) QueryTableData ¶
func (c *Client) QueryTableData(request *QueryTableDataRequest) (response *QueryTableDataResponse, err error)
QueryTableData This API is used to query data according to the specified database and table names, and support field selection and pagination.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) QueryTableDataWithContext ¶
func (c *Client) QueryTableDataWithContext(ctx context.Context, request *QueryTableDataRequest) (response *QueryTableDataResponse, err error)
QueryTableData This API is used to query data according to the specified database and table names, and support field selection and pagination.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RecoverBackUpJob ¶
func (c *Client) RecoverBackUpJob(request *RecoverBackUpJobRequest) (response *RecoverBackUpJobResponse, err error)
RecoverBackUpJob This API is used to back up and recover.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RecoverBackUpJobWithContext ¶
func (c *Client) RecoverBackUpJobWithContext(ctx context.Context, request *RecoverBackUpJobRequest) (response *RecoverBackUpJobResponse, err error)
RecoverBackUpJob This API is used to back up and recover.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ReduceInstance ¶
func (c *Client) ReduceInstance(request *ReduceInstanceRequest) (response *ReduceInstanceResponse, err error)
ReduceInstance This API is used to scale in clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ReduceInstanceWithContext ¶
func (c *Client) ReduceInstanceWithContext(ctx context.Context, request *ReduceInstanceRequest) (response *ReduceInstanceResponse, err error)
ReduceInstance This API is used to scale in clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ResizeDisk ¶
func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk This API is used to expand cloud disks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ResizeDiskWithContext ¶
func (c *Client) ResizeDiskWithContext(ctx context.Context, request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk This API is used to expand cloud disks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForConfigs ¶
func (c *Client) RestartClusterForConfigs(request *RestartClusterForConfigsRequest) (response *RestartClusterForConfigsResponse, err error)
RestartClusterForConfigs This API is used to restart the cluster to make the configuration file take effect.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForConfigsWithContext ¶
func (c *Client) RestartClusterForConfigsWithContext(ctx context.Context, request *RestartClusterForConfigsRequest) (response *RestartClusterForConfigsResponse, err error)
RestartClusterForConfigs This API is used to restart the cluster to make the configuration file take effect.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForNode ¶
func (c *Client) RestartClusterForNode(request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
RestartClusterForNode This API is used to indicate the rolling restart of the clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForNodeWithContext ¶
func (c *Client) RestartClusterForNodeWithContext(ctx context.Context, request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
RestartClusterForNode This API is used to indicate the rolling restart of the clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleOutInstance ¶
func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to horizontally scale out nodes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleOutInstanceWithContext ¶
func (c *Client) ScaleOutInstanceWithContext(ctx context.Context, request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to horizontally scale out nodes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleUpInstance ¶
func (c *Client) ScaleUpInstance(request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
ScaleUpInstance This API is used to scale up/down computing resources.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleUpInstanceWithContext ¶
func (c *Client) ScaleUpInstanceWithContext(ctx context.Context, request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
ScaleUpInstance This API is used to scale up/down computing resources.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateCoolDown ¶
func (c *Client) UpdateCoolDown(request *UpdateCoolDownRequest) (response *UpdateCoolDownResponse, err error)
UpdateCoolDown This API is used to update the hot/cold data layering information on a cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateCoolDownWithContext ¶
func (c *Client) UpdateCoolDownWithContext(ctx context.Context, request *UpdateCoolDownRequest) (response *UpdateCoolDownResponse, err error)
UpdateCoolDown This API is used to update the hot/cold data layering information on a cluster.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateDatabase ¶
func (c *Client) UpdateDatabase(request *UpdateDatabaseRequest) (response *UpdateDatabaseResponse, err error)
UpdateDatabase This API is used to modify the attributes of a specified database, including setting the data volume quota, renaming the database, setting the replica quantity quota, and modifying other attributes of the database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateDatabaseWithContext ¶
func (c *Client) UpdateDatabaseWithContext(ctx context.Context, request *UpdateDatabaseRequest) (response *UpdateDatabaseResponse, err error)
UpdateDatabase This API is used to modify the attributes of a specified database, including setting the data volume quota, renaming the database, setting the replica quantity quota, and modifying other attributes of the database.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateTableSchema ¶
func (c *Client) UpdateTableSchema(request *UpdateTableSchemaRequest) (response *UpdateTableSchemaResponse, err error)
UpdateTableSchema This API is used to modify the attributes of a specified table. The API parameters are consistent with those for creating a table.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) UpdateTableSchemaWithContext ¶
func (c *Client) UpdateTableSchemaWithContext(ctx context.Context, request *UpdateTableSchemaRequest) (response *UpdateTableSchemaResponse, err error)
UpdateTableSchema This API is used to modify the attributes of a specified table. The API parameters are consistent with those for creating a table.
error code that may be returned:
INTERNALERROR = "InternalError"
type ClusterConfigsHistory ¶
type ClusterConfigsHistory struct { // Configuration file's name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Modified configuration file content; base64 code NewConfValue *string `json:"NewConfValue,omitnil,omitempty" name:"NewConfValue"` // Configuration file content before modification; base64 code OldConfValue *string `json:"OldConfValue,omitnil,omitempty" name:"OldConfValue"` // Reason for modification // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Modify sub-account ID UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"` }
type ClusterConfigsInfoFromEMR ¶
type ClusterConfigsInfoFromEMR struct { // Configuration file's name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Related attribute information corresponding to the configuration files FileConf *string `json:"FileConf,omitnil,omitempty" name:"FileConf"` // Other attribute information corresponding to the configuration files KeyConf *string `json:"KeyConf,omitnil,omitempty" name:"KeyConf"` // Contents of the configuration files, base64 encoded OriParam *string `json:"OriParam,omitnil,omitempty" name:"OriParam"` // This is used to indicate whether the current configuration file has been modified without a restart, and reminds the user that a restart is needed. NeedRestart *int64 `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"` // Configuration file path // Note: This field may return null, indicating that no valid values can be obtained. FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` // kv value of a configuration file // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: FileKeyValues is deprecated. FileKeyValues *string `json:"FileKeyValues,omitnil,omitempty" name:"FileKeyValues"` // kv value of a configuration file // Note: This field may return null, indicating that no valid values can be obtained. FileKeyValuesNew []*ConfigKeyValue `json:"FileKeyValuesNew,omitnil,omitempty" name:"FileKeyValuesNew"` }
type Column ¶
type Column struct { // Column name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Column type // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Aggregation type: When the table is an aggregation model (AGG_KEY), the column with the aggregation type is set as the metric column, and other columns are dimension columns. Aggregation type: ●SUM: sum; the values of multiple rows are accumulated. ●REPLACE: replacement; the values in the next batch of data will replace the values in the previously imported rows. ●MAX: retain the maximum value. // ●MIN: retain the minimum value. ●REPLACE_IF_NOT_NULL: non-null values replacement. The difference from REPLACE is that null values are not replaced. ●HLL_UNION: aggregation method for HLL type columns, which is aggregated by HyperLogLog algorithm. ●BITMAP_UNION: aggregation method for BIMTAP type columns; bitmap union aggregation. // Note: This field may return null, indicating that no valid values can be obtained. AggType *string `json:"AggType,omitnil,omitempty" name:"AggType"` // Whether the column value is allowed to be Null // Note: This field may return null, indicating that no valid values can be obtained. IsNull *bool `json:"IsNull,omitnil,omitempty" name:"IsNull"` // Whether it is a Key column. The meaning of different data models: // ●DUP_KEY: The column specified afterwards is the sorting column. // ●AGG_KEY: The column specified afterwards is the dimension column. // ●UNI_KEY: The column specified afterward is the primary key column. // Note: This field may return null, indicating that no valid values can be obtained. IsKey *bool `json:"IsKey,omitnil,omitempty" name:"IsKey"` // Column's default value // Note: This field may return null, indicating that no valid values can be obtained. DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` // Whether it is a partition column. The partition column must be a Key column. // // Note: This field may return null, indicating that no valid values can be obtained. IsPartition *bool `json:"IsPartition,omitnil,omitempty" name:"IsPartition"` // Whether it is a bucket column. The bucket column of the aggregation model and primary key model must be Key columns, while the bucket column of the detail model can be any column. // // Note: This field may return null, indicating that no valid values can be obtained. IsDistribution *bool `json:"IsDistribution,omitnil,omitempty" name:"IsDistribution"` // Whether it is an auto-increment column. Supported by TCHouse-D 2.1 version and later. // Limit: // 1. Only DUP_KEY and UNI_KEY model tables can contain auto-increment columns. // 2. A table can contain at most one auto-increment column. // 3. The type of the auto-increment column must be BIGINT type and cannot be null. // Note: This field may return null, indicating that no valid values can be obtained. AutoInc *bool `json:"AutoInc,omitnil,omitempty" name:"AutoInc"` // Column description // Note: This field may return null, indicating that no valid values can be obtained. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` }
type ConfigKeyValue ¶
type ConfigKeyValue struct { // key // Note: This field may return null, indicating that no valid values can be obtained. KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // Value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` // Notes // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 1 indicates read-only, 2 indicates editable but undeletable, and 3 indicates deletable. // Note: This field may return null, indicating that no valid values can be obtained. Display *int64 `json:"Display,omitnil,omitempty" name:"Display"` // 0 means not supported, and 1 means hot update is supported. // Note: This field may return null, indicating that no valid values can be obtained. SupportHotUpdate *int64 `json:"SupportHotUpdate,omitnil,omitempty" name:"SupportHotUpdate"` }
type ConfigSubmitContext ¶
type ConfigSubmitContext struct { // Configuration file's name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // New Base64-encoded content of the configuration file NewConfValue *string `json:"NewConfValue,omitnil,omitempty" name:"NewConfValue"` // Original Base64-encoded content of the configuration file OldConfValue *string `json:"OldConfValue,omitnil,omitempty" name:"OldConfValue"` // File path FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` }
type CoolDownBackend ¶
type CoolDownBackend struct { // Field: Host // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` // Field: DataUsedCapacity // Note: This field may return null, indicating that no valid values can be obtained. DataUsedCapacity *string `json:"DataUsedCapacity,omitnil,omitempty" name:"DataUsedCapacity"` // Field: TotalCapacity // Note: This field may return null, indicating that no valid values can be obtained. TotalCapacity *string `json:"TotalCapacity,omitnil,omitempty" name:"TotalCapacity"` // Field: RemoteUsedCapacity // Note: This field may return null, indicating that no valid values can be obtained. RemoteUsedCapacity *string `json:"RemoteUsedCapacity,omitnil,omitempty" name:"RemoteUsedCapacity"` }
type CoolDownPolicyInfo ¶
type CoolDownPolicyInfo struct { // Policy name // // Note: This field may return null, indicating that no valid values can be obtained. PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // cooldown_ttl // Note: This field may return null, indicating that no valid values can be obtained. CooldownDatetime *string `json:"CooldownDatetime,omitnil,omitempty" name:"CooldownDatetime"` // cooldown_datetime // Note: This field may return null, indicating that no valid values can be obtained. CooldownTtl *string `json:"CooldownTtl,omitnil,omitempty" name:"CooldownTtl"` }
type CoolDownTableDataInfo ¶
type CoolDownTableDataInfo struct { // Column: DatabaseName // Note: This field may return null, indicating that no valid values can be obtained. DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // Column: TableName // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Column: Size // Note: This field may return null, indicating that no valid values can be obtained. Size *string `json:"Size,omitnil,omitempty" name:"Size"` // Column: RemoteSize // Note: This field may return null, indicating that no valid values can be obtained. RemoteSize *string `json:"RemoteSize,omitnil,omitempty" name:"RemoteSize"` }
type CopyTableDatasRequest ¶
type CopyTableDatasRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of the database where the source table is located. CopiedFromDb *string `json:"CopiedFromDb,omitnil,omitempty" name:"CopiedFromDb"` // Source table name CopiedFromTable *string `json:"CopiedFromTable,omitnil,omitempty" name:"CopiedFromTable"` // Name of the database where the target table is located CopyToDb *string `json:"CopyToDb,omitnil,omitempty" name:"CopyToDb"` // Target table name. If the table already exists, the structure of the source table and target table should be the same. CopyToTable *string `json:"CopyToTable,omitnil,omitempty" name:"CopyToTable"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Whether the data in the target table is overwritten. The default value is False. IsDataOverwrite *bool `json:"IsDataOverwrite,omitnil,omitempty" name:"IsDataOverwrite"` }
func NewCopyTableDatasRequest ¶
func NewCopyTableDatasRequest() (request *CopyTableDatasRequest)
func (*CopyTableDatasRequest) FromJsonString ¶
func (r *CopyTableDatasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CopyTableDatasRequest) ToJsonString ¶
func (r *CopyTableDatasRequest) ToJsonString() string
type CopyTableDatasRequestParams ¶
type CopyTableDatasRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of the database where the source table is located. CopiedFromDb *string `json:"CopiedFromDb,omitnil,omitempty" name:"CopiedFromDb"` // Source table name CopiedFromTable *string `json:"CopiedFromTable,omitnil,omitempty" name:"CopiedFromTable"` // Name of the database where the target table is located CopyToDb *string `json:"CopyToDb,omitnil,omitempty" name:"CopyToDb"` // Target table name. If the table already exists, the structure of the source table and target table should be the same. CopyToTable *string `json:"CopyToTable,omitnil,omitempty" name:"CopyToTable"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Whether the data in the target table is overwritten. The default value is False. IsDataOverwrite *bool `json:"IsDataOverwrite,omitnil,omitempty" name:"IsDataOverwrite"` }
Predefined struct for user
type CopyTableDatasResponse ¶
type CopyTableDatasResponse struct { *tchttp.BaseResponse Response *CopyTableDatasResponseParams `json:"Response"` }
func NewCopyTableDatasResponse ¶
func NewCopyTableDatasResponse() (response *CopyTableDatasResponse)
func (*CopyTableDatasResponse) FromJsonString ¶
func (r *CopyTableDatasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CopyTableDatasResponse) ToJsonString ¶
func (r *CopyTableDatasResponse) ToJsonString() string
type CopyTableDatasResponseParams ¶
type CopyTableDatasResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CosSourceInfo ¶
type CosSourceInfo struct { // ID in cos authentication // Note: This field may return null, indicating that no valid values can be obtained. SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"` // Key in cos authentication // Note: This field may return null, indicating that no valid values can be obtained. SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"` // Path in cos authentication // Note: This field may return null, indicating that no valid values can be obtained. CosPath *string `json:"CosPath,omitnil,omitempty" name:"CosPath"` }
type CreateBackUpScheduleRequest ¶
type CreateBackUpScheduleRequest struct { *tchttp.BaseRequest // Required to be uploaded when editing ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // Selected weeks, separated by commas. // Discarded: Use ScheduleInfo. WeekDays *string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` // Hour for executing the backup taskDiscarded: Use ScheduleInfo. ExecuteHour *int64 `json:"ExecuteHour,omitnil,omitempty" name:"ExecuteHour"` // Backup table list BackUpTables []*BackupTableContent `json:"BackUpTables,omitnil,omitempty" name:"BackUpTables"` // 0: default; 1: one-time backup for the remote Doris BackupType *int64 `json:"BackupType,omitnil,omitempty" name:"BackupType"` // Connection information of the remote doris cluster DorisSourceInfo *DorisSourceInfo `json:"DorisSourceInfo,omitnil,omitempty" name:"DorisSourceInfo"` // 0: default; 1: one-time backup; 2: remote backup BackupTimeType *int64 `json:"BackupTimeType,omitnil,omitempty" name:"BackupTimeType"` // 0: default; 1: immediate recovery after the backup is completed. RestoreType *int64 `json:"RestoreType,omitnil,omitempty" name:"RestoreType"` // 0: default; 1: connecting to COS using a custom key. AuthType *int64 `json:"AuthType,omitnil,omitempty" name:"AuthType"` // Cos certification information CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` }
func NewCreateBackUpScheduleRequest ¶
func NewCreateBackUpScheduleRequest() (request *CreateBackUpScheduleRequest)
func (*CreateBackUpScheduleRequest) FromJsonString ¶
func (r *CreateBackUpScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackUpScheduleRequest) ToJsonString ¶
func (r *CreateBackUpScheduleRequest) ToJsonString() string
type CreateBackUpScheduleRequestParams ¶
type CreateBackUpScheduleRequestParams struct { // Required to be uploaded when editing ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // Selected weeks, separated by commas. // Discarded: Use ScheduleInfo. WeekDays *string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` // Hour for executing the backup taskDiscarded: Use ScheduleInfo. ExecuteHour *int64 `json:"ExecuteHour,omitnil,omitempty" name:"ExecuteHour"` // Backup table list BackUpTables []*BackupTableContent `json:"BackUpTables,omitnil,omitempty" name:"BackUpTables"` // 0: default; 1: one-time backup for the remote Doris BackupType *int64 `json:"BackupType,omitnil,omitempty" name:"BackupType"` // Connection information of the remote doris cluster DorisSourceInfo *DorisSourceInfo `json:"DorisSourceInfo,omitnil,omitempty" name:"DorisSourceInfo"` // 0: default; 1: one-time backup; 2: remote backup BackupTimeType *int64 `json:"BackupTimeType,omitnil,omitempty" name:"BackupTimeType"` // 0: default; 1: immediate recovery after the backup is completed. RestoreType *int64 `json:"RestoreType,omitnil,omitempty" name:"RestoreType"` // 0: default; 1: connecting to COS using a custom key. AuthType *int64 `json:"AuthType,omitnil,omitempty" name:"AuthType"` // Cos certification information CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` }
Predefined struct for user
type CreateBackUpScheduleResponse ¶
type CreateBackUpScheduleResponse struct { *tchttp.BaseResponse Response *CreateBackUpScheduleResponseParams `json:"Response"` }
func NewCreateBackUpScheduleResponse ¶
func NewCreateBackUpScheduleResponse() (response *CreateBackUpScheduleResponse)
func (*CreateBackUpScheduleResponse) FromJsonString ¶
func (r *CreateBackUpScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackUpScheduleResponse) ToJsonString ¶
func (r *CreateBackUpScheduleResponse) ToJsonString() string
type CreateBackUpScheduleResponseParams ¶
type CreateBackUpScheduleResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCoolDownPolicyRequest ¶
type CreateCoolDownPolicyRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // cooldown_ttl CoolDownTtl *string `json:"CoolDownTtl,omitnil,omitempty" name:"CoolDownTtl"` // cooldown_datetime CoolDownDatetime *string `json:"CoolDownDatetime,omitnil,omitempty" name:"CoolDownDatetime"` }
func NewCreateCoolDownPolicyRequest ¶
func NewCreateCoolDownPolicyRequest() (request *CreateCoolDownPolicyRequest)
func (*CreateCoolDownPolicyRequest) FromJsonString ¶
func (r *CreateCoolDownPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCoolDownPolicyRequest) ToJsonString ¶
func (r *CreateCoolDownPolicyRequest) ToJsonString() string
type CreateCoolDownPolicyRequestParams ¶
type CreateCoolDownPolicyRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // cooldown_ttl CoolDownTtl *string `json:"CoolDownTtl,omitnil,omitempty" name:"CoolDownTtl"` // cooldown_datetime CoolDownDatetime *string `json:"CoolDownDatetime,omitnil,omitempty" name:"CoolDownDatetime"` }
Predefined struct for user
type CreateCoolDownPolicyResponse ¶
type CreateCoolDownPolicyResponse struct { *tchttp.BaseResponse Response *CreateCoolDownPolicyResponseParams `json:"Response"` }
func NewCreateCoolDownPolicyResponse ¶
func NewCreateCoolDownPolicyResponse() (response *CreateCoolDownPolicyResponse)
func (*CreateCoolDownPolicyResponse) FromJsonString ¶
func (r *CreateCoolDownPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCoolDownPolicyResponse) ToJsonString ¶
func (r *CreateCoolDownPolicyResponse) ToJsonString() string
type CreateCoolDownPolicyResponseParams ¶
type CreateCoolDownPolicyResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of database to be created DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Database attributes. For keys with the same attributes, the priority of the table attribute is higher than that of the database attribute. Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
func NewCreateDatabaseRequest ¶
func NewCreateDatabaseRequest() (request *CreateDatabaseRequest)
func (*CreateDatabaseRequest) FromJsonString ¶
func (r *CreateDatabaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatabaseRequest) ToJsonString ¶
func (r *CreateDatabaseRequest) ToJsonString() string
type CreateDatabaseRequestParams ¶
type CreateDatabaseRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of database to be created DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Database attributes. For keys with the same attributes, the priority of the table attribute is higher than that of the database attribute. Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
Predefined struct for user
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { *tchttp.BaseResponse Response *CreateDatabaseResponseParams `json:"Response"` }
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse() (response *CreateDatabaseResponse)
func (*CreateDatabaseResponse) FromJsonString ¶
func (r *CreateDatabaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatabaseResponse) ToJsonString ¶
func (r *CreateDatabaseResponse) ToJsonString() string
type CreateDatabaseResponseParams ¶
type CreateDatabaseResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstanceNewRequest ¶
type CreateInstanceNewRequest struct { *tchttp.BaseRequest // Availability zone Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // FE specifications FeSpec *CreateInstanceSpec `json:"FeSpec,omitnil,omitempty" name:"FeSpec"` // BE specifications. BeSpec *CreateInstanceSpec `json:"BeSpec,omitnil,omitempty" name:"BeSpec"` // Whether it is highly available. HaFlag *bool `json:"HaFlag,omitnil,omitempty" name:"HaFlag"` // User VPCID UserVPCId *string `json:"UserVPCId,omitnil,omitempty" name:"UserVPCId"` // User subnet ID UserSubnetId *string `json:"UserSubnetId,omitnil,omitempty" name:"UserSubnetId"` // Product version number ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Payment type ChargeProperties *ChargeProperties `json:"ChargeProperties,omitnil,omitempty" name:"ChargeProperties"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Database password DorisUserPwd *string `json:"DorisUserPwd,omitnil,omitempty" name:"DorisUserPwd"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // High availability type: // 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), // 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), // 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number). HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether to enable multi-availability zone. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown. UserMultiZoneInfos *NetworkInfo `json:"UserMultiZoneInfos,omitnil,omitempty" name:"UserMultiZoneInfos"` }
func NewCreateInstanceNewRequest ¶
func NewCreateInstanceNewRequest() (request *CreateInstanceNewRequest)
func (*CreateInstanceNewRequest) FromJsonString ¶
func (r *CreateInstanceNewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNewRequest) ToJsonString ¶
func (r *CreateInstanceNewRequest) ToJsonString() string
type CreateInstanceNewRequestParams ¶
type CreateInstanceNewRequestParams struct { // Availability zone Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // FE specifications FeSpec *CreateInstanceSpec `json:"FeSpec,omitnil,omitempty" name:"FeSpec"` // BE specifications. BeSpec *CreateInstanceSpec `json:"BeSpec,omitnil,omitempty" name:"BeSpec"` // Whether it is highly available. HaFlag *bool `json:"HaFlag,omitnil,omitempty" name:"HaFlag"` // User VPCID UserVPCId *string `json:"UserVPCId,omitnil,omitempty" name:"UserVPCId"` // User subnet ID UserSubnetId *string `json:"UserSubnetId,omitnil,omitempty" name:"UserSubnetId"` // Product version number ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Payment type ChargeProperties *ChargeProperties `json:"ChargeProperties,omitnil,omitempty" name:"ChargeProperties"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Database password DorisUserPwd *string `json:"DorisUserPwd,omitnil,omitempty" name:"DorisUserPwd"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // High availability type: // 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), // 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), // 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number). HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether to enable multi-availability zone. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown. UserMultiZoneInfos *NetworkInfo `json:"UserMultiZoneInfos,omitnil,omitempty" name:"UserMultiZoneInfos"` }
Predefined struct for user
type CreateInstanceNewResponse ¶
type CreateInstanceNewResponse struct { *tchttp.BaseResponse Response *CreateInstanceNewResponseParams `json:"Response"` }
func NewCreateInstanceNewResponse ¶
func NewCreateInstanceNewResponse() (response *CreateInstanceNewResponse)
func (*CreateInstanceNewResponse) FromJsonString ¶
func (r *CreateInstanceNewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNewResponse) ToJsonString ¶
func (r *CreateInstanceNewResponse) ToJsonString() string
type CreateInstanceNewResponseParams ¶
type CreateInstanceNewResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstanceSpec ¶
type CreateTableRequest ¶
type CreateTableRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The database where the table is located; if it does not exist, create one. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the table to be created TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Table data model: // AGG_KEY: aggregation model; // UNI_KEY: primary key model; // DUP_KEY: detail model KeysType *string `json:"KeysType,omitnil,omitempty" name:"KeysType"` // Column information of the table Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Bucket information Distribution *Distribution `json:"Distribution,omitnil,omitempty" name:"Distribution"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Index information. The inverted index and N-Gram index can be configured through this parameter. The Prefix index is related to the sort key and key column, and do not require additional configuration. Configure bloom_filter_columns in the table attribute when BloomFilter index is required. IndexInfos []*IndexInfo `json:"IndexInfos,omitnil,omitempty" name:"IndexInfos"` // Partition information Partition *Partition `json:"Partition,omitnil,omitempty" name:"Partition"` // Table description TableComment *string `json:"TableComment,omitnil,omitempty" name:"TableComment"` // Table attribute Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
func NewCreateTableRequest ¶
func NewCreateTableRequest() (request *CreateTableRequest)
func (*CreateTableRequest) FromJsonString ¶
func (r *CreateTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTableRequest) ToJsonString ¶
func (r *CreateTableRequest) ToJsonString() string
type CreateTableRequestParams ¶
type CreateTableRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The database where the table is located; if it does not exist, create one. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the table to be created TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Table data model: // AGG_KEY: aggregation model; // UNI_KEY: primary key model; // DUP_KEY: detail model KeysType *string `json:"KeysType,omitnil,omitempty" name:"KeysType"` // Column information of the table Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Bucket information Distribution *Distribution `json:"Distribution,omitnil,omitempty" name:"Distribution"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Index information. The inverted index and N-Gram index can be configured through this parameter. The Prefix index is related to the sort key and key column, and do not require additional configuration. Configure bloom_filter_columns in the table attribute when BloomFilter index is required. IndexInfos []*IndexInfo `json:"IndexInfos,omitnil,omitempty" name:"IndexInfos"` // Partition information Partition *Partition `json:"Partition,omitnil,omitempty" name:"Partition"` // Table description TableComment *string `json:"TableComment,omitnil,omitempty" name:"TableComment"` // Table attribute Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
Predefined struct for user
type CreateTableResponse ¶
type CreateTableResponse struct { *tchttp.BaseResponse Response *CreateTableResponseParams `json:"Response"` }
func NewCreateTableResponse ¶
func NewCreateTableResponse() (response *CreateTableResponse)
func (*CreateTableResponse) FromJsonString ¶
func (r *CreateTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTableResponse) ToJsonString ¶
func (r *CreateTableResponse) ToJsonString() string
type CreateTableResponseParams ¶
type CreateTableResponseParams struct { // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTablesDDL ¶
type CreateTablesDDL struct { // Database name // // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // DDL information of the table // // Note: This field may return null, indicating that no valid values can be obtained. TablesDDLs []*TablesDDL `json:"TablesDDLs,omitnil,omitempty" name:"TablesDDLs"` }
type CreateWorkloadGroupRequest ¶
type CreateWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Resource group configuration WorkloadGroup *WorkloadGroupConfig `json:"WorkloadGroup,omitnil,omitempty" name:"WorkloadGroup"` }
func NewCreateWorkloadGroupRequest ¶
func NewCreateWorkloadGroupRequest() (request *CreateWorkloadGroupRequest)
func (*CreateWorkloadGroupRequest) FromJsonString ¶
func (r *CreateWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWorkloadGroupRequest) ToJsonString ¶
func (r *CreateWorkloadGroupRequest) ToJsonString() string
type CreateWorkloadGroupRequestParams ¶
type CreateWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Resource group configuration WorkloadGroup *WorkloadGroupConfig `json:"WorkloadGroup,omitnil,omitempty" name:"WorkloadGroup"` }
Predefined struct for user
type CreateWorkloadGroupResponse ¶
type CreateWorkloadGroupResponse struct { *tchttp.BaseResponse Response *CreateWorkloadGroupResponseParams `json:"Response"` }
func NewCreateWorkloadGroupResponse ¶
func NewCreateWorkloadGroupResponse() (response *CreateWorkloadGroupResponse)
func (*CreateWorkloadGroupResponse) FromJsonString ¶
func (r *CreateWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWorkloadGroupResponse) ToJsonString ¶
func (r *CreateWorkloadGroupResponse) ToJsonString() string
type CreateWorkloadGroupResponseParams ¶
type CreateWorkloadGroupResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DataBaseAuditRecord ¶
type DataBaseAuditRecord struct { // Query user // Note: This field may return null, indicating that no valid values can be obtained. OsUser *string `json:"OsUser,omitnil,omitempty" name:"OsUser"` // Query ID // Note: This field may return null, indicating that no valid values can be obtained. InitialQueryId *string `json:"InitialQueryId,omitnil,omitempty" name:"InitialQueryId"` // SQL statement // Note: This field may return null, indicating that no valid values can be obtained. Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Start time // Note: This field may return null, indicating that no valid values can be obtained. QueryStartTime *string `json:"QueryStartTime,omitnil,omitempty" name:"QueryStartTime"` // Execution duration // Note: This field may return null, indicating that no valid values can be obtained. DurationMs *int64 `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // The number of read rows // Note: This field may return null, indicating that no valid values can be obtained. ReadRows *int64 `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Total number of read bytes // Note: This field may return null, indicating that no valid values can be obtained. ResultRows *int64 `json:"ResultRows,omitnil,omitempty" name:"ResultRows"` // Result bytes // Note: This field may return null, indicating that no valid values can be obtained. ResultBytes *uint64 `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Memory // Note: This field may return null, indicating that no valid values can be obtained. MemoryUsage *int64 `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // Initial query IP // Note: This field may return null, indicating that no valid values can be obtained. InitialAddress *string `json:"InitialAddress,omitnil,omitempty" name:"InitialAddress"` // Database // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type // Note: This field may return null, indicating that no valid values can be obtained. SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // Catalog name // Note: This field may return null, indicating that no valid values can be obtained. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` }
type DatabasePermissions ¶
type DatabasePermissions struct { // Database name // // Note: This field may return null, indicating that no valid values can be obtained. DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // Permission name // Note: This field may return null, indicating that no valid values can be obtained. Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` }
type DbInfo ¶
type DbInfo struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database attribute // Note: This field may return null, indicating that no valid values can be obtained. Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` // Metadata address (Available when the data source is Hive or DLC.) // // Note: This field may return null, indicating that no valid values can be obtained. Location *string `json:"Location,omitnil,omitempty" name:"Location"` }
type DbTablesInfo ¶
type DbTablesInfo struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // The corresponding table list under this database. // Note: This field may return null, indicating that no valid values can be obtained. TablesName []*string `json:"TablesName,omitnil,omitempty" name:"TablesName"` }
type DeleteBackUpDataRequest ¶
type DeleteBackUpDataRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` // Whether to delete all instances IsDeleteAll *bool `json:"IsDeleteAll,omitnil,omitempty" name:"IsDeleteAll"` }
func NewDeleteBackUpDataRequest ¶
func NewDeleteBackUpDataRequest() (request *DeleteBackUpDataRequest)
func (*DeleteBackUpDataRequest) FromJsonString ¶
func (r *DeleteBackUpDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackUpDataRequest) ToJsonString ¶
func (r *DeleteBackUpDataRequest) ToJsonString() string
type DeleteBackUpDataRequestParams ¶
type DeleteBackUpDataRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` // Whether to delete all instances IsDeleteAll *bool `json:"IsDeleteAll,omitnil,omitempty" name:"IsDeleteAll"` }
Predefined struct for user
type DeleteBackUpDataResponse ¶
type DeleteBackUpDataResponse struct { *tchttp.BaseResponse Response *DeleteBackUpDataResponseParams `json:"Response"` }
func NewDeleteBackUpDataResponse ¶
func NewDeleteBackUpDataResponse() (response *DeleteBackUpDataResponse)
func (*DeleteBackUpDataResponse) FromJsonString ¶
func (r *DeleteBackUpDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackUpDataResponse) ToJsonString ¶
func (r *DeleteBackUpDataResponse) ToJsonString() string
type DeleteBackUpDataResponseParams ¶
type DeleteBackUpDataResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTableRequest ¶
type DeleteTableRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The name of the database where the table belongs needs to be deleted. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name to be deleted TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // True: The system will not check whether there are unfinished transactions in the table. The table will be deleted directly and cannot be recovered. False: The deleted table can be recovered within a period of time (default value). IsForce *bool `json:"IsForce,omitnil,omitempty" name:"IsForce"` }
func NewDeleteTableRequest ¶
func NewDeleteTableRequest() (request *DeleteTableRequest)
func (*DeleteTableRequest) FromJsonString ¶
func (r *DeleteTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTableRequest) ToJsonString ¶
func (r *DeleteTableRequest) ToJsonString() string
type DeleteTableRequestParams ¶
type DeleteTableRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The name of the database where the table belongs needs to be deleted. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name to be deleted TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // True: The system will not check whether there are unfinished transactions in the table. The table will be deleted directly and cannot be recovered. False: The deleted table can be recovered within a period of time (default value). IsForce *bool `json:"IsForce,omitnil,omitempty" name:"IsForce"` }
Predefined struct for user
type DeleteTableResponse ¶
type DeleteTableResponse struct { *tchttp.BaseResponse Response *DeleteTableResponseParams `json:"Response"` }
func NewDeleteTableResponse ¶
func NewDeleteTableResponse() (response *DeleteTableResponse)
func (*DeleteTableResponse) FromJsonString ¶
func (r *DeleteTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTableResponse) ToJsonString ¶
func (r *DeleteTableResponse) ToJsonString() string
type DeleteTableResponseParams ¶
type DeleteTableResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWorkloadGroupRequest ¶
type DeleteWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Resource group name to be deleted WorkloadGroupName *string `json:"WorkloadGroupName,omitnil,omitempty" name:"WorkloadGroupName"` }
func NewDeleteWorkloadGroupRequest ¶
func NewDeleteWorkloadGroupRequest() (request *DeleteWorkloadGroupRequest)
func (*DeleteWorkloadGroupRequest) FromJsonString ¶
func (r *DeleteWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWorkloadGroupRequest) ToJsonString ¶
func (r *DeleteWorkloadGroupRequest) ToJsonString() string
type DeleteWorkloadGroupRequestParams ¶
type DeleteWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Resource group name to be deleted WorkloadGroupName *string `json:"WorkloadGroupName,omitnil,omitempty" name:"WorkloadGroupName"` }
Predefined struct for user
type DeleteWorkloadGroupResponse ¶
type DeleteWorkloadGroupResponse struct { *tchttp.BaseResponse Response *DeleteWorkloadGroupResponseParams `json:"Response"` }
func NewDeleteWorkloadGroupResponse ¶
func NewDeleteWorkloadGroupResponse() (response *DeleteWorkloadGroupResponse)
func (*DeleteWorkloadGroupResponse) FromJsonString ¶
func (r *DeleteWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWorkloadGroupResponse) ToJsonString ¶
func (r *DeleteWorkloadGroupResponse) ToJsonString() string
type DeleteWorkloadGroupResponseParams ¶
type DeleteWorkloadGroupResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAreaRegionRequest ¶
type DescribeAreaRegionRequest struct { *tchttp.BaseRequest // Whether it is an international site IsInternationalSite *bool `json:"IsInternationalSite,omitnil,omitempty" name:"IsInternationalSite"` }
func NewDescribeAreaRegionRequest ¶
func NewDescribeAreaRegionRequest() (request *DescribeAreaRegionRequest)
func (*DescribeAreaRegionRequest) FromJsonString ¶
func (r *DescribeAreaRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAreaRegionRequest) ToJsonString ¶
func (r *DescribeAreaRegionRequest) ToJsonString() string
type DescribeAreaRegionRequestParams ¶
type DescribeAreaRegionRequestParams struct { // Whether it is an international site IsInternationalSite *bool `json:"IsInternationalSite,omitnil,omitempty" name:"IsInternationalSite"` }
Predefined struct for user
type DescribeAreaRegionResponse ¶
type DescribeAreaRegionResponse struct { *tchttp.BaseResponse Response *DescribeAreaRegionResponseParams `json:"Response"` }
func NewDescribeAreaRegionResponse ¶
func NewDescribeAreaRegionResponse() (response *DescribeAreaRegionResponse)
func (*DescribeAreaRegionResponse) FromJsonString ¶
func (r *DescribeAreaRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAreaRegionResponse) ToJsonString ¶
func (r *DescribeAreaRegionResponse) ToJsonString() string
type DescribeAreaRegionResponseParams ¶
type DescribeAreaRegionResponseParams struct { // Region list Items []*RegionAreaInfo `json:"Items,omitnil,omitempty" name:"Items"` // Front-end rule description // Note: This field may return null, indicating that no valid values can be obtained. FrontEndRules []*FrontEndRule `json:"FrontEndRules,omitnil,omitempty" name:"FrontEndRules"` // Return available allowlist names // Note: This field may return null, indicating that no valid values can be obtained. AvailableWhiteListNames []*string `json:"AvailableWhiteListNames,omitnil,omitempty" name:"AvailableWhiteListNames"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackUpJobDetailRequest ¶
type DescribeBackUpJobDetailRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
func NewDescribeBackUpJobDetailRequest ¶
func NewDescribeBackUpJobDetailRequest() (request *DescribeBackUpJobDetailRequest)
func (*DescribeBackUpJobDetailRequest) FromJsonString ¶
func (r *DescribeBackUpJobDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpJobDetailRequest) ToJsonString ¶
func (r *DescribeBackUpJobDetailRequest) ToJsonString() string
type DescribeBackUpJobDetailRequestParams ¶
type DescribeBackUpJobDetailRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
Predefined struct for user
type DescribeBackUpJobDetailResponse ¶
type DescribeBackUpJobDetailResponse struct { *tchttp.BaseResponse Response *DescribeBackUpJobDetailResponseParams `json:"Response"` }
func NewDescribeBackUpJobDetailResponse ¶
func NewDescribeBackUpJobDetailResponse() (response *DescribeBackUpJobDetailResponse)
func (*DescribeBackUpJobDetailResponse) FromJsonString ¶
func (r *DescribeBackUpJobDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpJobDetailResponse) ToJsonString ¶
func (r *DescribeBackUpJobDetailResponse) ToJsonString() string
type DescribeBackUpJobDetailResponseParams ¶
type DescribeBackUpJobDetailResponseParams struct { // Backup table details // Note: This field may return null, indicating that no valid values can be obtained. TableContents []*BackupTableContent `json:"TableContents,omitnil,omitempty" name:"TableContents"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackUpJobRequest ¶
type DescribeBackUpJobRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination size PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Start time BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // String type of jobid JobIdFiltersStr *string `json:"JobIdFiltersStr,omitnil,omitempty" name:"JobIdFiltersStr"` }
func NewDescribeBackUpJobRequest ¶
func NewDescribeBackUpJobRequest() (request *DescribeBackUpJobRequest)
func (*DescribeBackUpJobRequest) FromJsonString ¶
func (r *DescribeBackUpJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpJobRequest) ToJsonString ¶
func (r *DescribeBackUpJobRequest) ToJsonString() string
type DescribeBackUpJobRequestParams ¶
type DescribeBackUpJobRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination size PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Start time BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // String type of jobid JobIdFiltersStr *string `json:"JobIdFiltersStr,omitnil,omitempty" name:"JobIdFiltersStr"` }
Predefined struct for user
type DescribeBackUpJobResponse ¶
type DescribeBackUpJobResponse struct { *tchttp.BaseResponse Response *DescribeBackUpJobResponseParams `json:"Response"` }
func NewDescribeBackUpJobResponse ¶
func NewDescribeBackUpJobResponse() (response *DescribeBackUpJobResponse)
func (*DescribeBackUpJobResponse) FromJsonString ¶
func (r *DescribeBackUpJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpJobResponse) ToJsonString ¶
func (r *DescribeBackUpJobResponse) ToJsonString() string
type DescribeBackUpJobResponseParams ¶
type DescribeBackUpJobResponseParams struct { // Task list // Note: This field may return null, indicating that no valid values can be obtained. BackUpJobs []*BackUpJobDisplay `json:"BackUpJobs,omitnil,omitempty" name:"BackUpJobs"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackUpSchedulesRequest ¶
type DescribeBackUpSchedulesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBackUpSchedulesRequest ¶
func NewDescribeBackUpSchedulesRequest() (request *DescribeBackUpSchedulesRequest)
func (*DescribeBackUpSchedulesRequest) FromJsonString ¶
func (r *DescribeBackUpSchedulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpSchedulesRequest) ToJsonString ¶
func (r *DescribeBackUpSchedulesRequest) ToJsonString() string
type DescribeBackUpSchedulesRequestParams ¶
type DescribeBackUpSchedulesRequestParams struct { }
Predefined struct for user
type DescribeBackUpSchedulesResponse ¶
type DescribeBackUpSchedulesResponse struct { *tchttp.BaseResponse Response *DescribeBackUpSchedulesResponseParams `json:"Response"` }
func NewDescribeBackUpSchedulesResponse ¶
func NewDescribeBackUpSchedulesResponse() (response *DescribeBackUpSchedulesResponse)
func (*DescribeBackUpSchedulesResponse) FromJsonString ¶
func (r *DescribeBackUpSchedulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpSchedulesResponse) ToJsonString ¶
func (r *DescribeBackUpSchedulesResponse) ToJsonString() string
type DescribeBackUpSchedulesResponseParams ¶
type DescribeBackUpSchedulesResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackUpTablesRequest ¶
type DescribeBackUpTablesRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // It is 0 by default. It is 1 when a one-time backup of the remote doris is performed. It is 2 when one-time COS recovery is performed. BackupType *int64 `json:"BackupType,omitnil,omitempty" name:"BackupType"` // Connection information of the remote doris cluster DorisSourceInfo *DorisSourceInfo `json:"DorisSourceInfo,omitnil,omitempty" name:"DorisSourceInfo"` // COS information CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` }
func NewDescribeBackUpTablesRequest ¶
func NewDescribeBackUpTablesRequest() (request *DescribeBackUpTablesRequest)
func (*DescribeBackUpTablesRequest) FromJsonString ¶
func (r *DescribeBackUpTablesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpTablesRequest) ToJsonString ¶
func (r *DescribeBackUpTablesRequest) ToJsonString() string
type DescribeBackUpTablesRequestParams ¶
type DescribeBackUpTablesRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // It is 0 by default. It is 1 when a one-time backup of the remote doris is performed. It is 2 when one-time COS recovery is performed. BackupType *int64 `json:"BackupType,omitnil,omitempty" name:"BackupType"` // Connection information of the remote doris cluster DorisSourceInfo *DorisSourceInfo `json:"DorisSourceInfo,omitnil,omitempty" name:"DorisSourceInfo"` // COS information CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` }
Predefined struct for user
type DescribeBackUpTablesResponse ¶
type DescribeBackUpTablesResponse struct { *tchttp.BaseResponse Response *DescribeBackUpTablesResponseParams `json:"Response"` }
func NewDescribeBackUpTablesResponse ¶
func NewDescribeBackUpTablesResponse() (response *DescribeBackUpTablesResponse)
func (*DescribeBackUpTablesResponse) FromJsonString ¶
func (r *DescribeBackUpTablesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpTablesResponse) ToJsonString ¶
func (r *DescribeBackUpTablesResponse) ToJsonString() string
type DescribeBackUpTablesResponseParams ¶
type DescribeBackUpTablesResponseParams struct { // List of tables available for backup AvailableTables []*BackupTableContent `json:"AvailableTables,omitnil,omitempty" name:"AvailableTables"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackUpTaskDetailRequest ¶
type DescribeBackUpTaskDetailRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
func NewDescribeBackUpTaskDetailRequest ¶
func NewDescribeBackUpTaskDetailRequest() (request *DescribeBackUpTaskDetailRequest)
func (*DescribeBackUpTaskDetailRequest) FromJsonString ¶
func (r *DescribeBackUpTaskDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpTaskDetailRequest) ToJsonString ¶
func (r *DescribeBackUpTaskDetailRequest) ToJsonString() string
type DescribeBackUpTaskDetailRequestParams ¶
type DescribeBackUpTaskDetailRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
Predefined struct for user
type DescribeBackUpTaskDetailResponse ¶
type DescribeBackUpTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeBackUpTaskDetailResponseParams `json:"Response"` }
func NewDescribeBackUpTaskDetailResponse ¶
func NewDescribeBackUpTaskDetailResponse() (response *DescribeBackUpTaskDetailResponse)
func (*DescribeBackUpTaskDetailResponse) FromJsonString ¶
func (r *DescribeBackUpTaskDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackUpTaskDetailResponse) ToJsonString ¶
func (r *DescribeBackUpTaskDetailResponse) ToJsonString() string
type DescribeBackUpTaskDetailResponseParams ¶
type DescribeBackUpTaskDetailResponseParams struct { // Progress details of the backup task // Note: This field may return null, indicating that no valid values can be obtained. BackupStatus []*BackupStatus `json:"BackupStatus,omitnil,omitempty" name:"BackupStatus"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterConfigsHistoryRequest ¶
type DescribeClusterConfigsHistoryRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Start of the time range for configuration modification history StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for configuration modification history EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Configuration file name array to be queried. If it is empty, all historical records will be queried. Currently supported configuration file names are as follows: // apache_hdfs_broker.conf; be.conf; fe.conf; core-site.xml; hdfs-site.xml; odbcinst.ini ConfigFileNames []*string `json:"ConfigFileNames,omitnil,omitempty" name:"ConfigFileNames"` }
func NewDescribeClusterConfigsHistoryRequest ¶
func NewDescribeClusterConfigsHistoryRequest() (request *DescribeClusterConfigsHistoryRequest)
func (*DescribeClusterConfigsHistoryRequest) FromJsonString ¶
func (r *DescribeClusterConfigsHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsHistoryRequest) ToJsonString ¶
func (r *DescribeClusterConfigsHistoryRequest) ToJsonString() string
type DescribeClusterConfigsHistoryRequestParams ¶
type DescribeClusterConfigsHistoryRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Start of the time range for configuration modification history StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for configuration modification history EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Configuration file name array to be queried. If it is empty, all historical records will be queried. Currently supported configuration file names are as follows: // apache_hdfs_broker.conf; be.conf; fe.conf; core-site.xml; hdfs-site.xml; odbcinst.ini ConfigFileNames []*string `json:"ConfigFileNames,omitnil,omitempty" name:"ConfigFileNames"` }
Predefined struct for user
type DescribeClusterConfigsHistoryResponse ¶
type DescribeClusterConfigsHistoryResponse struct { *tchttp.BaseResponse Response *DescribeClusterConfigsHistoryResponseParams `json:"Response"` }
func NewDescribeClusterConfigsHistoryResponse ¶
func NewDescribeClusterConfigsHistoryResponse() (response *DescribeClusterConfigsHistoryResponse)
func (*DescribeClusterConfigsHistoryResponse) FromJsonString ¶
func (r *DescribeClusterConfigsHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsHistoryResponse) ToJsonString ¶
func (r *DescribeClusterConfigsHistoryResponse) ToJsonString() string
type DescribeClusterConfigsHistoryResponseParams ¶
type DescribeClusterConfigsHistoryResponseParams struct { // Total number of instances TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Modification history of the configuration file ClusterConfHistory []*ClusterConfigsHistory `json:"ClusterConfHistory,omitnil,omitempty" name:"ClusterConfHistory"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterConfigsRequest ¶
type DescribeClusterConfigsRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 0 indicates public cloud query, and 1 Qinge query. Qinge query shows all that needs to be displayed. ConfigType *int64 `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Search for files with fuzzy keywords FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 0 indicates cluster dimension and 1 node dimension ClusterConfigType *int64 `json:"ClusterConfigType,omitnil,omitempty" name:"ClusterConfigType"` // eth0's IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
func NewDescribeClusterConfigsRequest ¶
func NewDescribeClusterConfigsRequest() (request *DescribeClusterConfigsRequest)
func (*DescribeClusterConfigsRequest) FromJsonString ¶
func (r *DescribeClusterConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsRequest) ToJsonString ¶
func (r *DescribeClusterConfigsRequest) ToJsonString() string
type DescribeClusterConfigsRequestParams ¶
type DescribeClusterConfigsRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 0 indicates public cloud query, and 1 Qinge query. Qinge query shows all that needs to be displayed. ConfigType *int64 `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Search for files with fuzzy keywords FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 0 indicates cluster dimension and 1 node dimension ClusterConfigType *int64 `json:"ClusterConfigType,omitnil,omitempty" name:"ClusterConfigType"` // eth0's IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
Predefined struct for user
type DescribeClusterConfigsResponse ¶
type DescribeClusterConfigsResponse struct { *tchttp.BaseResponse Response *DescribeClusterConfigsResponseParams `json:"Response"` }
func NewDescribeClusterConfigsResponse ¶
func NewDescribeClusterConfigsResponse() (response *DescribeClusterConfigsResponse)
func (*DescribeClusterConfigsResponse) FromJsonString ¶
func (r *DescribeClusterConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsResponse) ToJsonString ¶
func (r *DescribeClusterConfigsResponse) ToJsonString() string
type DescribeClusterConfigsResponseParams ¶
type DescribeClusterConfigsResponseParams struct { // Return information about the instance's configuration file. ClusterConfList []*ClusterConfigsInfoFromEMR `json:"ClusterConfList,omitnil,omitempty" name:"ClusterConfList"` // Return the current kernel version. If it does not exist, a null character string is returned. BuildVersion *string `json:"BuildVersion,omitnil,omitempty" name:"BuildVersion"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCoolDownBackendsRequest ¶
type DescribeCoolDownBackendsRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeCoolDownBackendsRequest ¶
func NewDescribeCoolDownBackendsRequest() (request *DescribeCoolDownBackendsRequest)
func (*DescribeCoolDownBackendsRequest) FromJsonString ¶
func (r *DescribeCoolDownBackendsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownBackendsRequest) ToJsonString ¶
func (r *DescribeCoolDownBackendsRequest) ToJsonString() string
type DescribeCoolDownBackendsRequestParams ¶
type DescribeCoolDownBackendsRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeCoolDownBackendsResponse ¶
type DescribeCoolDownBackendsResponse struct { *tchttp.BaseResponse Response *DescribeCoolDownBackendsResponseParams `json:"Response"` }
func NewDescribeCoolDownBackendsResponse ¶
func NewDescribeCoolDownBackendsResponse() (response *DescribeCoolDownBackendsResponse)
func (*DescribeCoolDownBackendsResponse) FromJsonString ¶
func (r *DescribeCoolDownBackendsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownBackendsResponse) ToJsonString ¶
func (r *DescribeCoolDownBackendsResponse) ToJsonString() string
type DescribeCoolDownBackendsResponseParams ¶
type DescribeCoolDownBackendsResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Node information list // // Note: This field may return null, indicating that no valid values can be obtained. List []*CoolDownBackend `json:"List,omitnil,omitempty" name:"List"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCoolDownPoliciesRequest ¶
type DescribeCoolDownPoliciesRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeCoolDownPoliciesRequest ¶
func NewDescribeCoolDownPoliciesRequest() (request *DescribeCoolDownPoliciesRequest)
func (*DescribeCoolDownPoliciesRequest) FromJsonString ¶
func (r *DescribeCoolDownPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownPoliciesRequest) ToJsonString ¶
func (r *DescribeCoolDownPoliciesRequest) ToJsonString() string
type DescribeCoolDownPoliciesRequestParams ¶
type DescribeCoolDownPoliciesRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeCoolDownPoliciesResponse ¶
type DescribeCoolDownPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeCoolDownPoliciesResponseParams `json:"Response"` }
func NewDescribeCoolDownPoliciesResponse ¶
func NewDescribeCoolDownPoliciesResponse() (response *DescribeCoolDownPoliciesResponse)
func (*DescribeCoolDownPoliciesResponse) FromJsonString ¶
func (r *DescribeCoolDownPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownPoliciesResponse) ToJsonString ¶
func (r *DescribeCoolDownPoliciesResponse) ToJsonString() string
type DescribeCoolDownPoliciesResponseParams ¶
type DescribeCoolDownPoliciesResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // List of hot/cold data layering policies // Note: This field may return null, indicating that no valid values can be obtained. List []*CoolDownPolicyInfo `json:"List,omitnil,omitempty" name:"List"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCoolDownTableDataRequest ¶
type DescribeCoolDownTableDataRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database name DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` }
func NewDescribeCoolDownTableDataRequest ¶
func NewDescribeCoolDownTableDataRequest() (request *DescribeCoolDownTableDataRequest)
func (*DescribeCoolDownTableDataRequest) FromJsonString ¶
func (r *DescribeCoolDownTableDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownTableDataRequest) ToJsonString ¶
func (r *DescribeCoolDownTableDataRequest) ToJsonString() string
type DescribeCoolDownTableDataRequestParams ¶
type DescribeCoolDownTableDataRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database name DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` }
Predefined struct for user
type DescribeCoolDownTableDataResponse ¶
type DescribeCoolDownTableDataResponse struct { *tchttp.BaseResponse Response *DescribeCoolDownTableDataResponseParams `json:"Response"` }
func NewDescribeCoolDownTableDataResponse ¶
func NewDescribeCoolDownTableDataResponse() (response *DescribeCoolDownTableDataResponse)
func (*DescribeCoolDownTableDataResponse) FromJsonString ¶
func (r *DescribeCoolDownTableDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCoolDownTableDataResponse) ToJsonString ¶
func (r *DescribeCoolDownTableDataResponse) ToJsonString() string
type DescribeCoolDownTableDataResponseParams ¶
type DescribeCoolDownTableDataResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // List of tables containing layered hot and cold data // Note: This field may return null, indicating that no valid values can be obtained. List []*CoolDownTableDataInfo `json:"List,omitnil,omitempty" name:"List"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCreateTablesDDLRequest ¶
type DescribeCreateTablesDDLRequest struct { *tchttp.BaseRequest // Resource ID, TCHouse-D resource ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Require the database and table for the table creation DDL. DbTablesInfos []*DbTablesInfo `json:"DbTablesInfos,omitnil,omitempty" name:"DbTablesInfos"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Whether to hide partition information IsBrief *bool `json:"IsBrief,omitnil,omitempty" name:"IsBrief"` }
func NewDescribeCreateTablesDDLRequest ¶
func NewDescribeCreateTablesDDLRequest() (request *DescribeCreateTablesDDLRequest)
func (*DescribeCreateTablesDDLRequest) FromJsonString ¶
func (r *DescribeCreateTablesDDLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCreateTablesDDLRequest) ToJsonString ¶
func (r *DescribeCreateTablesDDLRequest) ToJsonString() string
type DescribeCreateTablesDDLRequestParams ¶
type DescribeCreateTablesDDLRequestParams struct { // Resource ID, TCHouse-D resource ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Require the database and table for the table creation DDL. DbTablesInfos []*DbTablesInfo `json:"DbTablesInfos,omitnil,omitempty" name:"DbTablesInfos"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Whether to hide partition information IsBrief *bool `json:"IsBrief,omitnil,omitempty" name:"IsBrief"` }
Predefined struct for user
type DescribeCreateTablesDDLResponse ¶
type DescribeCreateTablesDDLResponse struct { *tchttp.BaseResponse Response *DescribeCreateTablesDDLResponseParams `json:"Response"` }
func NewDescribeCreateTablesDDLResponse ¶
func NewDescribeCreateTablesDDLResponse() (response *DescribeCreateTablesDDLResponse)
func (*DescribeCreateTablesDDLResponse) FromJsonString ¶
func (r *DescribeCreateTablesDDLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCreateTablesDDLResponse) ToJsonString ¶
func (r *DescribeCreateTablesDDLResponse) ToJsonString() string
type DescribeCreateTablesDDLResponseParams ¶
type DescribeCreateTablesDDLResponseParams struct { // DDL information for creating a table // Note: This field may return null, indicating that no valid values can be obtained. CreateTablesDDLs []*CreateTablesDDL `json:"CreateTablesDDLs,omitnil,omitempty" name:"CreateTablesDDLs"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabaseAuditDownloadRequest ¶
type DescribeDatabaseAuditDownloadRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
func NewDescribeDatabaseAuditDownloadRequest ¶
func NewDescribeDatabaseAuditDownloadRequest() (request *DescribeDatabaseAuditDownloadRequest)
func (*DescribeDatabaseAuditDownloadRequest) FromJsonString ¶
func (r *DescribeDatabaseAuditDownloadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditDownloadRequest) ToJsonString ¶
func (r *DescribeDatabaseAuditDownloadRequest) ToJsonString() string
type DescribeDatabaseAuditDownloadRequestParams ¶
type DescribeDatabaseAuditDownloadRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
Predefined struct for user
type DescribeDatabaseAuditDownloadResponse ¶
type DescribeDatabaseAuditDownloadResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseAuditDownloadResponseParams `json:"Response"` }
func NewDescribeDatabaseAuditDownloadResponse ¶
func NewDescribeDatabaseAuditDownloadResponse() (response *DescribeDatabaseAuditDownloadResponse)
func (*DescribeDatabaseAuditDownloadResponse) FromJsonString ¶
func (r *DescribeDatabaseAuditDownloadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditDownloadResponse) ToJsonString ¶
func (r *DescribeDatabaseAuditDownloadResponse) ToJsonString() string
type DescribeDatabaseAuditDownloadResponseParams ¶
type DescribeDatabaseAuditDownloadResponseParams struct { // The cos address of the log CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabaseAuditRecordsRequest ¶
type DescribeDatabaseAuditRecordsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
func NewDescribeDatabaseAuditRecordsRequest ¶
func NewDescribeDatabaseAuditRecordsRequest() (request *DescribeDatabaseAuditRecordsRequest)
func (*DescribeDatabaseAuditRecordsRequest) FromJsonString ¶
func (r *DescribeDatabaseAuditRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditRecordsRequest) ToJsonString ¶
func (r *DescribeDatabaseAuditRecordsRequest) ToJsonString() string
type DescribeDatabaseAuditRecordsRequestParams ¶
type DescribeDatabaseAuditRecordsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
Predefined struct for user
type DescribeDatabaseAuditRecordsResponse ¶
type DescribeDatabaseAuditRecordsResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseAuditRecordsResponseParams `json:"Response"` }
func NewDescribeDatabaseAuditRecordsResponse ¶
func NewDescribeDatabaseAuditRecordsResponse() (response *DescribeDatabaseAuditRecordsResponse)
func (*DescribeDatabaseAuditRecordsResponse) FromJsonString ¶
func (r *DescribeDatabaseAuditRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditRecordsResponse) ToJsonString ¶
func (r *DescribeDatabaseAuditRecordsResponse) ToJsonString() string
type DescribeDatabaseAuditRecordsResponseParams ¶
type DescribeDatabaseAuditRecordsResponseParams struct { // Total TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Record list SlowQueryRecords *DataBaseAuditRecord `json:"SlowQueryRecords,omitnil,omitempty" name:"SlowQueryRecords"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabaseRequest ¶
type DescribeDatabaseRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Query the data source where the database is located. If it is not filled in, the internal data source (internal) will be used by default. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // The database information to be queried. If this parameter and FilterDbName are not filled in, all database information of the current data source will be queried by default. DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // Display the filtered database information. For example, %infor indicates database names ending with infor. This parameter only supports scenarios where CatalogName is internal. FilterDbName *string `json:"FilterDbName,omitnil,omitempty" name:"FilterDbName"` }
func NewDescribeDatabaseRequest ¶
func NewDescribeDatabaseRequest() (request *DescribeDatabaseRequest)
func (*DescribeDatabaseRequest) FromJsonString ¶
func (r *DescribeDatabaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseRequest) ToJsonString ¶
func (r *DescribeDatabaseRequest) ToJsonString() string
type DescribeDatabaseRequestParams ¶
type DescribeDatabaseRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Query the data source where the database is located. If it is not filled in, the internal data source (internal) will be used by default. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // The database information to be queried. If this parameter and FilterDbName are not filled in, all database information of the current data source will be queried by default. DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // Display the filtered database information. For example, %infor indicates database names ending with infor. This parameter only supports scenarios where CatalogName is internal. FilterDbName *string `json:"FilterDbName,omitnil,omitempty" name:"FilterDbName"` }
Predefined struct for user
type DescribeDatabaseResponse ¶
type DescribeDatabaseResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseResponseParams `json:"Response"` }
func NewDescribeDatabaseResponse ¶
func NewDescribeDatabaseResponse() (response *DescribeDatabaseResponse)
func (*DescribeDatabaseResponse) FromJsonString ¶
func (r *DescribeDatabaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseResponse) ToJsonString ¶
func (r *DescribeDatabaseResponse) ToJsonString() string
type DescribeDatabaseResponseParams ¶
type DescribeDatabaseResponseParams struct { // Database information // Note: This field may return null, indicating that no valid values can be obtained. DbInfos []*DbInfo `json:"DbInfos,omitnil,omitempty" name:"DbInfos"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceNodesInfoRequest ¶
type DescribeInstanceNodesInfoRequest struct { *tchttp.BaseRequest // Cluster ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` }
func NewDescribeInstanceNodesInfoRequest ¶
func NewDescribeInstanceNodesInfoRequest() (request *DescribeInstanceNodesInfoRequest)
func (*DescribeInstanceNodesInfoRequest) FromJsonString ¶
func (r *DescribeInstanceNodesInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesInfoRequest) ToJsonString ¶
func (r *DescribeInstanceNodesInfoRequest) ToJsonString() string
type DescribeInstanceNodesInfoRequestParams ¶
type DescribeInstanceNodesInfoRequestParams struct { // Cluster ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` }
Predefined struct for user
type DescribeInstanceNodesInfoResponse ¶
type DescribeInstanceNodesInfoResponse struct { *tchttp.BaseResponse Response *DescribeInstanceNodesInfoResponseParams `json:"Response"` }
func NewDescribeInstanceNodesInfoResponse ¶
func NewDescribeInstanceNodesInfoResponse() (response *DescribeInstanceNodesInfoResponse)
func (*DescribeInstanceNodesInfoResponse) FromJsonString ¶
func (r *DescribeInstanceNodesInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesInfoResponse) ToJsonString ¶
func (r *DescribeInstanceNodesInfoResponse) ToJsonString() string
type DescribeInstanceNodesInfoResponseParams ¶
type DescribeInstanceNodesInfoResponseParams struct { // Be node // Note: This field may return null, indicating that no valid values can be obtained. BeNodes []*string `json:"BeNodes,omitnil,omitempty" name:"BeNodes"` // Fe node // Note: This field may return null, indicating that no valid values can be obtained. FeNodes []*string `json:"FeNodes,omitnil,omitempty" name:"FeNodes"` // Fe master node FeMaster *string `json:"FeMaster,omitnil,omitempty" name:"FeMaster"` // Be node information // Note: This field may return null, indicating that no valid values can be obtained. BeNodeInfos []*NodeInfo `json:"BeNodeInfos,omitnil,omitempty" name:"BeNodeInfos"` // Fe node information // Note: This field may return null, indicating that no valid values can be obtained. FeNodeInfos []*NodeInfo `json:"FeNodeInfos,omitnil,omitempty" name:"FeNodeInfos"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceNodesRequest ¶
type DescribeInstanceNodesRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster role type, defaulted as "data node". NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display policy, and all items are displayed when All is selected. DisplayPolicy *string `json:"DisplayPolicy,omitnil,omitempty" name:"DisplayPolicy"` }
func NewDescribeInstanceNodesRequest ¶
func NewDescribeInstanceNodesRequest() (request *DescribeInstanceNodesRequest)
func (*DescribeInstanceNodesRequest) FromJsonString ¶
func (r *DescribeInstanceNodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesRequest) ToJsonString ¶
func (r *DescribeInstanceNodesRequest) ToJsonString() string
type DescribeInstanceNodesRequestParams ¶
type DescribeInstanceNodesRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster role type, defaulted as "data node". NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display policy, and all items are displayed when All is selected. DisplayPolicy *string `json:"DisplayPolicy,omitnil,omitempty" name:"DisplayPolicy"` }
Predefined struct for user
type DescribeInstanceNodesResponse ¶
type DescribeInstanceNodesResponse struct { *tchttp.BaseResponse Response *DescribeInstanceNodesResponseParams `json:"Response"` }
func NewDescribeInstanceNodesResponse ¶
func NewDescribeInstanceNodesResponse() (response *DescribeInstanceNodesResponse)
func (*DescribeInstanceNodesResponse) FromJsonString ¶
func (r *DescribeInstanceNodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesResponse) ToJsonString ¶
func (r *DescribeInstanceNodesResponse) ToJsonString() string
type DescribeInstanceNodesResponseParams ¶
type DescribeInstanceNodesResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Total number of instance nodes // Note: This field may return null, indicating that no valid values can be obtained. InstanceNodesList []*InstanceNode `json:"InstanceNodesList,omitnil,omitempty" name:"InstanceNodesList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceNodesRoleRequest ¶
type DescribeInstanceNodesRoleRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter IP addresses IpFilter *string `json:"IpFilter,omitnil,omitempty" name:"IpFilter"` }
func NewDescribeInstanceNodesRoleRequest ¶
func NewDescribeInstanceNodesRoleRequest() (request *DescribeInstanceNodesRoleRequest)
func (*DescribeInstanceNodesRoleRequest) FromJsonString ¶
func (r *DescribeInstanceNodesRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesRoleRequest) ToJsonString ¶
func (r *DescribeInstanceNodesRoleRequest) ToJsonString() string
type DescribeInstanceNodesRoleRequestParams ¶
type DescribeInstanceNodesRoleRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter IP addresses IpFilter *string `json:"IpFilter,omitnil,omitempty" name:"IpFilter"` }
Predefined struct for user
type DescribeInstanceNodesRoleResponse ¶
type DescribeInstanceNodesRoleResponse struct { *tchttp.BaseResponse Response *DescribeInstanceNodesRoleResponseParams `json:"Response"` }
func NewDescribeInstanceNodesRoleResponse ¶
func NewDescribeInstanceNodesRoleResponse() (response *DescribeInstanceNodesRoleResponse)
func (*DescribeInstanceNodesRoleResponse) FromJsonString ¶
func (r *DescribeInstanceNodesRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesRoleResponse) ToJsonString ¶
func (r *DescribeInstanceNodesRoleResponse) ToJsonString() string
type DescribeInstanceNodesRoleResponseParams ¶
type DescribeInstanceNodesRoleResponseParams struct { // Error code ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Total number of nodes TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // None NodeInfos []*NodeInfos `json:"NodeInfos,omitnil,omitempty" name:"NodeInfos"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceOperationHistoryRequest ¶
type DescribeInstanceOperationHistoryRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
func NewDescribeInstanceOperationHistoryRequest ¶
func NewDescribeInstanceOperationHistoryRequest() (request *DescribeInstanceOperationHistoryRequest)
func (*DescribeInstanceOperationHistoryRequest) FromJsonString ¶
func (r *DescribeInstanceOperationHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceOperationHistoryRequest) ToJsonString ¶
func (r *DescribeInstanceOperationHistoryRequest) ToJsonString() string
type DescribeInstanceOperationHistoryRequestParams ¶
type DescribeInstanceOperationHistoryRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
Predefined struct for user
type DescribeInstanceOperationHistoryResponse ¶
type DescribeInstanceOperationHistoryResponse struct { *tchttp.BaseResponse Response *DescribeInstanceOperationHistoryResponseParams `json:"Response"` }
func NewDescribeInstanceOperationHistoryResponse ¶
func NewDescribeInstanceOperationHistoryResponse() (response *DescribeInstanceOperationHistoryResponse)
func (*DescribeInstanceOperationHistoryResponse) FromJsonString ¶
func (r *DescribeInstanceOperationHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceOperationHistoryResponse) ToJsonString ¶
func (r *DescribeInstanceOperationHistoryResponse) ToJsonString() string
type DescribeInstanceOperationHistoryResponseParams ¶
type DescribeInstanceOperationHistoryResponseParams struct { // Total number of operation records TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Specific data of operation records Operations []*InstanceOperation `json:"Operations,omitnil,omitempty" name:"Operations"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceOperationsRequest ¶
type DescribeInstanceOperationsRequest struct { *tchttp.BaseRequest InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeInstanceOperationsRequest ¶
func NewDescribeInstanceOperationsRequest() (request *DescribeInstanceOperationsRequest)
func (*DescribeInstanceOperationsRequest) FromJsonString ¶
func (r *DescribeInstanceOperationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceOperationsRequest) ToJsonString ¶
func (r *DescribeInstanceOperationsRequest) ToJsonString() string
type DescribeInstanceOperationsRequestParams ¶
type DescribeInstanceOperationsRequestParams struct { InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeInstanceOperationsResponse ¶
type DescribeInstanceOperationsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceOperationsResponseParams `json:"Response"` }
func NewDescribeInstanceOperationsResponse ¶
func NewDescribeInstanceOperationsResponse() (response *DescribeInstanceOperationsResponse)
func (*DescribeInstanceOperationsResponse) FromJsonString ¶
func (r *DescribeInstanceOperationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceOperationsResponse) ToJsonString ¶
func (r *DescribeInstanceOperationsResponse) ToJsonString() string
type DescribeInstanceOperationsResponseParams ¶
type DescribeInstanceOperationsResponseParams struct { TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Note: This field may return null, indicating that no valid values can be obtained. Operations []*InstanceOperation `json:"Operations,omitnil,omitempty" name:"Operations"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceRequest ¶
type DescribeInstanceRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceRequest ¶
func NewDescribeInstanceRequest() (request *DescribeInstanceRequest)
func (*DescribeInstanceRequest) FromJsonString ¶
func (r *DescribeInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceRequest) ToJsonString ¶
func (r *DescribeInstanceRequest) ToJsonString() string
type DescribeInstanceRequestParams ¶
type DescribeInstanceRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct { *tchttp.BaseResponse Response *DescribeInstanceResponseParams `json:"Response"` }
func NewDescribeInstanceResponse ¶
func NewDescribeInstanceResponse() (response *DescribeInstanceResponse)
func (*DescribeInstanceResponse) FromJsonString ¶
func (r *DescribeInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceResponse) ToJsonString ¶
func (r *DescribeInstanceResponse) ToJsonString() string
type DescribeInstanceResponseParams ¶
type DescribeInstanceResponseParams struct { // Instance description information InstanceInfo *InstanceInfo `json:"InstanceInfo,omitnil,omitempty" name:"InstanceInfo"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceStateRequest ¶
type DescribeInstanceStateRequest struct { *tchttp.BaseRequest // Cluster instance name InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceStateRequest ¶
func NewDescribeInstanceStateRequest() (request *DescribeInstanceStateRequest)
func (*DescribeInstanceStateRequest) FromJsonString ¶
func (r *DescribeInstanceStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceStateRequest) ToJsonString ¶
func (r *DescribeInstanceStateRequest) ToJsonString() string
type DescribeInstanceStateRequestParams ¶
type DescribeInstanceStateRequestParams struct { // Cluster instance name InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceStateResponse ¶
type DescribeInstanceStateResponse struct { *tchttp.BaseResponse Response *DescribeInstanceStateResponseParams `json:"Response"` }
func NewDescribeInstanceStateResponse ¶
func NewDescribeInstanceStateResponse() (response *DescribeInstanceStateResponse)
func (*DescribeInstanceStateResponse) FromJsonString ¶
func (r *DescribeInstanceStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceStateResponse) ToJsonString ¶
func (r *DescribeInstanceStateResponse) ToJsonString() string
type DescribeInstanceStateResponseParams ¶
type DescribeInstanceStateResponseParams struct { // Cluster status. Example: Serving InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"` // Creation time of cluster operation // Note: This field may return null, indicating that no valid values can be obtained. FlowCreateTime *string `json:"FlowCreateTime,omitnil,omitempty" name:"FlowCreateTime"` // Cluster operation name // Note: This field may return null, indicating that no valid values can be obtained. FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"` // Cluster operation progress // Note: This field may return null, indicating that no valid values can be obtained. FlowProgress *float64 `json:"FlowProgress,omitnil,omitempty" name:"FlowProgress"` // Cluster status description. Example: running // Note: This field may return null, indicating that no valid values can be obtained. InstanceStateDesc *string `json:"InstanceStateDesc,omitnil,omitempty" name:"InstanceStateDesc"` // Cluster process error messages, such as "Creation failed, insufficient resources" // Note: This field may return null, indicating that no valid values can be obtained. FlowMsg *string `json:"FlowMsg,omitnil,omitempty" name:"FlowMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceUsedSubnetsRequest ¶
type DescribeInstanceUsedSubnetsRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceUsedSubnetsRequest ¶
func NewDescribeInstanceUsedSubnetsRequest() (request *DescribeInstanceUsedSubnetsRequest)
func (*DescribeInstanceUsedSubnetsRequest) FromJsonString ¶
func (r *DescribeInstanceUsedSubnetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceUsedSubnetsRequest) ToJsonString ¶
func (r *DescribeInstanceUsedSubnetsRequest) ToJsonString() string
type DescribeInstanceUsedSubnetsRequestParams ¶
type DescribeInstanceUsedSubnetsRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceUsedSubnetsResponse ¶
type DescribeInstanceUsedSubnetsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceUsedSubnetsResponseParams `json:"Response"` }
func NewDescribeInstanceUsedSubnetsResponse ¶
func NewDescribeInstanceUsedSubnetsResponse() (response *DescribeInstanceUsedSubnetsResponse)
func (*DescribeInstanceUsedSubnetsResponse) FromJsonString ¶
func (r *DescribeInstanceUsedSubnetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceUsedSubnetsResponse) ToJsonString ¶
func (r *DescribeInstanceUsedSubnetsResponse) ToJsonString() string
type DescribeInstanceUsedSubnetsResponseParams ¶
type DescribeInstanceUsedSubnetsResponseParams struct { // VPC information used by the cluster // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet information used by the cluster // Note: This field may return null, indicating that no valid values can be obtained. UsedSubnets []*string `json:"UsedSubnets,omitnil,omitempty" name:"UsedSubnets"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesHealthStateRequest ¶
type DescribeInstancesHealthStateRequest struct { *tchttp.BaseRequest // Cluster ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // If this parameter is left blank, all clusters corresponding to the current appId are involved. Otherwise, a specific cluster is involved. Input *string `json:"Input,omitnil,omitempty" name:"Input"` }
func NewDescribeInstancesHealthStateRequest ¶
func NewDescribeInstancesHealthStateRequest() (request *DescribeInstancesHealthStateRequest)
func (*DescribeInstancesHealthStateRequest) FromJsonString ¶
func (r *DescribeInstancesHealthStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesHealthStateRequest) ToJsonString ¶
func (r *DescribeInstancesHealthStateRequest) ToJsonString() string
type DescribeInstancesHealthStateRequestParams ¶
type DescribeInstancesHealthStateRequestParams struct { // Cluster ID // // Deprecated: InstanceID is deprecated. InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // If this parameter is left blank, all clusters corresponding to the current appId are involved. Otherwise, a specific cluster is involved. Input *string `json:"Input,omitnil,omitempty" name:"Input"` }
Predefined struct for user
type DescribeInstancesHealthStateResponse ¶
type DescribeInstancesHealthStateResponse struct { *tchttp.BaseResponse Response *DescribeInstancesHealthStateResponseParams `json:"Response"` }
func NewDescribeInstancesHealthStateResponse ¶
func NewDescribeInstancesHealthStateResponse() (response *DescribeInstancesHealthStateResponse)
func (*DescribeInstancesHealthStateResponse) FromJsonString ¶
func (r *DescribeInstancesHealthStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesHealthStateResponse) ToJsonString ¶
func (r *DescribeInstancesHealthStateResponse) ToJsonString() string
type DescribeInstancesHealthStateResponseParams ¶
type DescribeInstancesHealthStateResponseParams struct { // Base64-encoded data, which contains the cluster health information // Note: This field may return null, indicating that no valid values can be obtained. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // The name of the cluster ID for the search SearchInstanceId *string `json:"SearchInstanceId,omitnil,omitempty" name:"SearchInstanceId"` // The cluster name for the search SearchInstanceName *string `json:"SearchInstanceName,omitnil,omitempty" name:"SearchInstanceName"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Search tag list SearchTags []*SearchTags `json:"SearchTags,omitnil,omitempty" name:"SearchTags"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct { // The name of the cluster ID for the search SearchInstanceId *string `json:"SearchInstanceId,omitnil,omitempty" name:"SearchInstanceId"` // The cluster name for the search SearchInstanceName *string `json:"SearchInstanceName,omitnil,omitempty" name:"SearchInstanceName"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Search tag list SearchTags []*SearchTags `json:"SearchTags,omitnil,omitempty" name:"SearchTags"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct { // Total Number of Instances TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Quantities of instances array InstancesList []*InstanceInfo `json:"InstancesList,omitnil,omitempty" name:"InstancesList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeQueryAnalyseRequest ¶
type DescribeQueryAnalyseRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Start time of operation period StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of operation period. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // SQL fragments (fuzzy query supported) SQLFragment *string `json:"SQLFragment,omitnil,omitempty" name:"SQLFragment"` // Catalog filter condition CatalogFilter *string `json:"CatalogFilter,omitnil,omitempty" name:"CatalogFilter"` // Database name filter condition DatabaseFilter *string `json:"DatabaseFilter,omitnil,omitempty" name:"DatabaseFilter"` // SQL type filter criteria SQLTypeFilter *string `json:"SQLTypeFilter,omitnil,omitempty" name:"SQLTypeFilter"` // Sorting field SortField *string `json:"SortField,omitnil,omitempty" name:"SortField"` // Sorting order: asc (ascending) or desc (descending) SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"` // Minimum query execution time, in milliseconds. QueryTime *uint64 `json:"QueryTime,omitnil,omitempty" name:"QueryTime"` // Page number, defaults to 1. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, defaults to 10. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeQueryAnalyseRequest ¶
func NewDescribeQueryAnalyseRequest() (request *DescribeQueryAnalyseRequest)
func (*DescribeQueryAnalyseRequest) FromJsonString ¶
func (r *DescribeQueryAnalyseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQueryAnalyseRequest) ToJsonString ¶
func (r *DescribeQueryAnalyseRequest) ToJsonString() string
type DescribeQueryAnalyseRequestParams ¶
type DescribeQueryAnalyseRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Start time of operation period StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of operation period. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // SQL fragments (fuzzy query supported) SQLFragment *string `json:"SQLFragment,omitnil,omitempty" name:"SQLFragment"` // Catalog filter condition CatalogFilter *string `json:"CatalogFilter,omitnil,omitempty" name:"CatalogFilter"` // Database name filter condition DatabaseFilter *string `json:"DatabaseFilter,omitnil,omitempty" name:"DatabaseFilter"` // SQL type filter criteria SQLTypeFilter *string `json:"SQLTypeFilter,omitnil,omitempty" name:"SQLTypeFilter"` // Sorting field SortField *string `json:"SortField,omitnil,omitempty" name:"SortField"` // Sorting order: asc (ascending) or desc (descending) SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"` // Minimum query execution time, in milliseconds. QueryTime *uint64 `json:"QueryTime,omitnil,omitempty" name:"QueryTime"` // Page number, defaults to 1. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, defaults to 10. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeQueryAnalyseResponse ¶
type DescribeQueryAnalyseResponse struct { *tchttp.BaseResponse Response *DescribeQueryAnalyseResponseParams `json:"Response"` }
func NewDescribeQueryAnalyseResponse ¶
func NewDescribeQueryAnalyseResponse() (response *DescribeQueryAnalyseResponse)
func (*DescribeQueryAnalyseResponse) FromJsonString ¶
func (r *DescribeQueryAnalyseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQueryAnalyseResponse) ToJsonString ¶
func (r *DescribeQueryAnalyseResponse) ToJsonString() string
type DescribeQueryAnalyseResponseParams ¶
type DescribeQueryAnalyseResponseParams struct { // Query details QueryDetails []*QueryDetails `json:"QueryDetails,omitnil,omitempty" name:"QueryDetails"` // Total number of records TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Current page CurrentPage *uint64 `json:"CurrentPage,omitnil,omitempty" name:"CurrentPage"` // Number of records per page PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Total pages TotalPages *uint64 `json:"TotalPages,omitnil,omitempty" name:"TotalPages"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRestoreTaskDetailRequest ¶
type DescribeRestoreTaskDetailRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
func NewDescribeRestoreTaskDetailRequest ¶
func NewDescribeRestoreTaskDetailRequest() (request *DescribeRestoreTaskDetailRequest)
func (*DescribeRestoreTaskDetailRequest) FromJsonString ¶
func (r *DescribeRestoreTaskDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRestoreTaskDetailRequest) ToJsonString ¶
func (r *DescribeRestoreTaskDetailRequest) ToJsonString() string
type DescribeRestoreTaskDetailRequestParams ¶
type DescribeRestoreTaskDetailRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` }
Predefined struct for user
type DescribeRestoreTaskDetailResponse ¶
type DescribeRestoreTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeRestoreTaskDetailResponseParams `json:"Response"` }
func NewDescribeRestoreTaskDetailResponse ¶
func NewDescribeRestoreTaskDetailResponse() (response *DescribeRestoreTaskDetailResponse)
func (*DescribeRestoreTaskDetailResponse) FromJsonString ¶
func (r *DescribeRestoreTaskDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRestoreTaskDetailResponse) ToJsonString ¶
func (r *DescribeRestoreTaskDetailResponse) ToJsonString() string
type DescribeRestoreTaskDetailResponseParams ¶
type DescribeRestoreTaskDetailResponseParams struct { // Progress details of the recovery tasks // Note: This field may return null, indicating that no valid values can be obtained. RestoreStatus []*RestoreStatus `json:"RestoreStatus,omitnil,omitempty" name:"RestoreStatus"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowQueryRecordsDownloadRequest ¶
type DescribeSlowQueryRecordsDownloadRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Query SQL Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Sort parameters ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Sort parameters ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Sort parameters MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // IsQuery condition IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewDescribeSlowQueryRecordsDownloadRequest ¶
func NewDescribeSlowQueryRecordsDownloadRequest() (request *DescribeSlowQueryRecordsDownloadRequest)
func (*DescribeSlowQueryRecordsDownloadRequest) FromJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsDownloadRequest) ToJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadRequest) ToJsonString() string
type DescribeSlowQueryRecordsDownloadRequestParams ¶
type DescribeSlowQueryRecordsDownloadRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Query SQL Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Sort parameters ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Sort parameters ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Sort parameters MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // IsQuery condition IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type DescribeSlowQueryRecordsDownloadResponse ¶
type DescribeSlowQueryRecordsDownloadResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryRecordsDownloadResponseParams `json:"Response"` }
func NewDescribeSlowQueryRecordsDownloadResponse ¶
func NewDescribeSlowQueryRecordsDownloadResponse() (response *DescribeSlowQueryRecordsDownloadResponse)
func (*DescribeSlowQueryRecordsDownloadResponse) FromJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsDownloadResponse) ToJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadResponse) ToJsonString() string
type DescribeSlowQueryRecordsDownloadResponseParams ¶
type DescribeSlowQueryRecordsDownloadResponseParams struct { // cos address CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowQueryRecordsRequest ¶
type DescribeSlowQueryRecordsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates yes. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // SQL name Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // ReadRows sort field ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // ResultBytes sort field ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // MemoryUsage sort field MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` }
func NewDescribeSlowQueryRecordsRequest ¶
func NewDescribeSlowQueryRecordsRequest() (request *DescribeSlowQueryRecordsRequest)
func (*DescribeSlowQueryRecordsRequest) FromJsonString ¶
func (r *DescribeSlowQueryRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsRequest) ToJsonString ¶
func (r *DescribeSlowQueryRecordsRequest) ToJsonString() string
type DescribeSlowQueryRecordsRequestParams ¶
type DescribeSlowQueryRecordsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates yes. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // SQL name Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // ReadRows sort field ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // ResultBytes sort field ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // MemoryUsage sort field MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` }
Predefined struct for user
type DescribeSlowQueryRecordsResponse ¶
type DescribeSlowQueryRecordsResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryRecordsResponseParams `json:"Response"` }
func NewDescribeSlowQueryRecordsResponse ¶
func NewDescribeSlowQueryRecordsResponse() (response *DescribeSlowQueryRecordsResponse)
func (*DescribeSlowQueryRecordsResponse) FromJsonString ¶
func (r *DescribeSlowQueryRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsResponse) ToJsonString ¶
func (r *DescribeSlowQueryRecordsResponse) ToJsonString() string
type DescribeSlowQueryRecordsResponseParams ¶
type DescribeSlowQueryRecordsResponseParams struct { // Total TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Record list SlowQueryRecords []*SlowQueryRecord `json:"SlowQueryRecords,omitnil,omitempty" name:"SlowQueryRecords"` // All database names // Note: This field may return null, indicating that no valid values can be obtained. DBNameList []*string `json:"DBNameList,omitnil,omitempty" name:"DBNameList"` // All catalog names // Note: This field may return null, indicating that no valid values can be obtained. CatalogNameList []*string `json:"CatalogNameList,omitnil,omitempty" name:"CatalogNameList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSpecRequest ¶
type DescribeSpecRequest struct { *tchttp.BaseRequest // Region information, such as ap-guangzhou-1. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Billing type. PREPAID: annual/monthly package; POSTPAID_BY_HOUR: pay-as-you-go PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Multi-availability zone Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Model name SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` }
func NewDescribeSpecRequest ¶
func NewDescribeSpecRequest() (request *DescribeSpecRequest)
func (*DescribeSpecRequest) FromJsonString ¶
func (r *DescribeSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpecRequest) ToJsonString ¶
func (r *DescribeSpecRequest) ToJsonString() string
type DescribeSpecRequestParams ¶
type DescribeSpecRequestParams struct { // Region information, such as ap-guangzhou-1. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Billing type. PREPAID: annual/monthly package; POSTPAID_BY_HOUR: pay-as-you-go PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Multi-availability zone Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Model name SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` }
Predefined struct for user
type DescribeSpecResponse ¶
type DescribeSpecResponse struct { *tchttp.BaseResponse Response *DescribeSpecResponseParams `json:"Response"` }
func NewDescribeSpecResponse ¶
func NewDescribeSpecResponse() (response *DescribeSpecResponse)
func (*DescribeSpecResponse) FromJsonString ¶
func (r *DescribeSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpecResponse) ToJsonString ¶
func (r *DescribeSpecResponse) ToJsonString() string
type DescribeSpecResponseParams ¶
type DescribeSpecResponseParams struct { // Zookeeper node specification description MasterSpec []*ResourceSpec `json:"MasterSpec,omitnil,omitempty" name:"MasterSpec"` // Data node specification description CoreSpec []*ResourceSpec `json:"CoreSpec,omitnil,omitempty" name:"CoreSpec"` // Cloud disk list // Note: This field may return null, indicating that no valid values can be obtained. AttachCBSSpec []*DiskSpec `json:"AttachCBSSpec,omitnil,omitempty" name:"AttachCBSSpec"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSqlApisRequest ¶
type DescribeSqlApisRequest struct { *tchttp.BaseRequest // The IP address of the user link WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` // catalog name Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Catalog collection Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
func NewDescribeSqlApisRequest ¶
func NewDescribeSqlApisRequest() (request *DescribeSqlApisRequest)
func (*DescribeSqlApisRequest) FromJsonString ¶
func (r *DescribeSqlApisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSqlApisRequest) ToJsonString ¶
func (r *DescribeSqlApisRequest) ToJsonString() string
type DescribeSqlApisRequestParams ¶
type DescribeSqlApisRequestParams struct { // The IP address of the user link WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` // catalog name Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Catalog collection Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
Predefined struct for user
type DescribeSqlApisResponse ¶
type DescribeSqlApisResponse struct { *tchttp.BaseResponse Response *DescribeSqlApisResponseParams `json:"Response"` }
func NewDescribeSqlApisResponse ¶
func NewDescribeSqlApisResponse() (response *DescribeSqlApisResponse)
func (*DescribeSqlApisResponse) FromJsonString ¶
func (r *DescribeSqlApisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSqlApisResponse) ToJsonString ¶
func (r *DescribeSqlApisResponse) ToJsonString() string
type DescribeSqlApisResponseParams ¶
type DescribeSqlApisResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTableListRequest ¶
type DescribeTableListRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database for obtaining the list of tables DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Query the data source where the database is located. If it is not filled in, the internal data source (internal) will be used by default. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewDescribeTableListRequest ¶
func NewDescribeTableListRequest() (request *DescribeTableListRequest)
func (*DescribeTableListRequest) FromJsonString ¶
func (r *DescribeTableListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableListRequest) ToJsonString ¶
func (r *DescribeTableListRequest) ToJsonString() string
type DescribeTableListRequestParams ¶
type DescribeTableListRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database for obtaining the list of tables DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Query the data source where the database is located. If it is not filled in, the internal data source (internal) will be used by default. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type DescribeTableListResponse ¶
type DescribeTableListResponse struct { *tchttp.BaseResponse Response *DescribeTableListResponseParams `json:"Response"` }
func NewDescribeTableListResponse ¶
func NewDescribeTableListResponse() (response *DescribeTableListResponse)
func (*DescribeTableListResponse) FromJsonString ¶
func (r *DescribeTableListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableListResponse) ToJsonString ¶
func (r *DescribeTableListResponse) ToJsonString() string
type DescribeTableListResponseParams ¶
type DescribeTableListResponseParams struct { // List of table names // Note: This field may return null, indicating that no valid values can be obtained. TableNames []*string `json:"TableNames,omitnil,omitempty" name:"TableNames"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTableRequest ¶
type DescribeTableRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of database where the table is located DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name (Currently only internal tables are supported.) TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
func NewDescribeTableRequest ¶
func NewDescribeTableRequest() (request *DescribeTableRequest)
func (*DescribeTableRequest) FromJsonString ¶
func (r *DescribeTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableRequest) ToJsonString ¶
func (r *DescribeTableRequest) ToJsonString() string
type DescribeTableRequestParams ¶
type DescribeTableRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of database where the table is located DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name (Currently only internal tables are supported.) TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
Predefined struct for user
type DescribeTableResponse ¶
type DescribeTableResponse struct { *tchttp.BaseResponse Response *DescribeTableResponseParams `json:"Response"` }
func NewDescribeTableResponse ¶
func NewDescribeTableResponse() (response *DescribeTableResponse)
func (*DescribeTableResponse) FromJsonString ¶
func (r *DescribeTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableResponse) ToJsonString ¶
func (r *DescribeTableResponse) ToJsonString() string
type DescribeTableResponseParams ¶
type DescribeTableResponseParams struct { // Note: This field may return null, indicating that no valid values can be obtained. KeysType *string `json:"KeysType,omitnil,omitempty" name:"KeysType"` // Note: This field may return null, indicating that no valid values can be obtained. Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Note: This field may return null, indicating that no valid values can be obtained. IndexInfos []*IndexInfo `json:"IndexInfos,omitnil,omitempty" name:"IndexInfos"` // Note: This field may return null, indicating that no valid values can be obtained. Partition *Partition `json:"Partition,omitnil,omitempty" name:"Partition"` // Note: This field may return null, indicating that no valid values can be obtained. Distribution *Distribution `json:"Distribution,omitnil,omitempty" name:"Distribution"` // Note: This field may return null, indicating that no valid values can be obtained. TableComment *string `json:"TableComment,omitnil,omitempty" name:"TableComment"` // Note: This field may return null, indicating that no valid values can be obtained. Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserBindWorkloadGroupRequest ¶
type DescribeUserBindWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeUserBindWorkloadGroupRequest ¶
func NewDescribeUserBindWorkloadGroupRequest() (request *DescribeUserBindWorkloadGroupRequest)
func (*DescribeUserBindWorkloadGroupRequest) FromJsonString ¶
func (r *DescribeUserBindWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserBindWorkloadGroupRequest) ToJsonString ¶
func (r *DescribeUserBindWorkloadGroupRequest) ToJsonString() string
type DescribeUserBindWorkloadGroupRequestParams ¶
type DescribeUserBindWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeUserBindWorkloadGroupResponse ¶
type DescribeUserBindWorkloadGroupResponse struct { *tchttp.BaseResponse Response *DescribeUserBindWorkloadGroupResponseParams `json:"Response"` }
func NewDescribeUserBindWorkloadGroupResponse ¶
func NewDescribeUserBindWorkloadGroupResponse() (response *DescribeUserBindWorkloadGroupResponse)
func (*DescribeUserBindWorkloadGroupResponse) FromJsonString ¶
func (r *DescribeUserBindWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserBindWorkloadGroupResponse) ToJsonString ¶
func (r *DescribeUserBindWorkloadGroupResponse) ToJsonString() string
type DescribeUserBindWorkloadGroupResponseParams ¶
type DescribeUserBindWorkloadGroupResponseParams struct { // Resource group information bound to the user UserBindInfos []*UserWorkloadGroup `json:"UserBindInfos,omitnil,omitempty" name:"UserBindInfos"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserPolicyRequest ¶
type DescribeUserPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // You can specify one IP address or specify a percent sign (%) to indicate no limit. WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
func NewDescribeUserPolicyRequest ¶
func NewDescribeUserPolicyRequest() (request *DescribeUserPolicyRequest)
func (*DescribeUserPolicyRequest) FromJsonString ¶
func (r *DescribeUserPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserPolicyRequest) ToJsonString ¶
func (r *DescribeUserPolicyRequest) ToJsonString() string
type DescribeUserPolicyRequestParams ¶
type DescribeUserPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // You can specify one IP address or specify a percent sign (%) to indicate no limit. WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
Predefined struct for user
type DescribeUserPolicyResponse ¶
type DescribeUserPolicyResponse struct { *tchttp.BaseResponse Response *DescribeUserPolicyResponseParams `json:"Response"` }
func NewDescribeUserPolicyResponse ¶
func NewDescribeUserPolicyResponse() (response *DescribeUserPolicyResponse)
func (*DescribeUserPolicyResponse) FromJsonString ¶
func (r *DescribeUserPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserPolicyResponse) ToJsonString ¶
func (r *DescribeUserPolicyResponse) ToJsonString() string
type DescribeUserPolicyResponseParams ¶
type DescribeUserPolicyResponseParams struct { // Account details AccountInfo *AccountDetailInfo `json:"AccountInfo,omitnil,omitempty" name:"AccountInfo"` // Permission configuration information associated with different hosts Permissions *PermissionHostInfo `json:"Permissions,omitnil,omitempty" name:"Permissions"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWorkloadGroupRequest ¶
type DescribeWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeWorkloadGroupRequest ¶
func NewDescribeWorkloadGroupRequest() (request *DescribeWorkloadGroupRequest)
func (*DescribeWorkloadGroupRequest) FromJsonString ¶
func (r *DescribeWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWorkloadGroupRequest) ToJsonString ¶
func (r *DescribeWorkloadGroupRequest) ToJsonString() string
type DescribeWorkloadGroupRequestParams ¶
type DescribeWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeWorkloadGroupResponse ¶
type DescribeWorkloadGroupResponse struct { *tchttp.BaseResponse Response *DescribeWorkloadGroupResponseParams `json:"Response"` }
func NewDescribeWorkloadGroupResponse ¶
func NewDescribeWorkloadGroupResponse() (response *DescribeWorkloadGroupResponse)
func (*DescribeWorkloadGroupResponse) FromJsonString ¶
func (r *DescribeWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWorkloadGroupResponse) ToJsonString ¶
func (r *DescribeWorkloadGroupResponse) ToJsonString() string
type DescribeWorkloadGroupResponseParams ¶
type DescribeWorkloadGroupResponseParams struct { // Resource group information WorkloadGroups []*WorkloadGroupConfig `json:"WorkloadGroups,omitnil,omitempty" name:"WorkloadGroups"` // Whether to enable the resource group: open and close Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyInstanceRequest ¶
type DestroyInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDestroyInstanceRequest ¶
func NewDestroyInstanceRequest() (request *DestroyInstanceRequest)
func (*DestroyInstanceRequest) FromJsonString ¶
func (r *DestroyInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyInstanceRequest) ToJsonString ¶
func (r *DestroyInstanceRequest) ToJsonString() string
type DestroyInstanceRequestParams ¶
type DestroyInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DestroyInstanceResponse ¶
type DestroyInstanceResponse struct { *tchttp.BaseResponse Response *DestroyInstanceResponseParams `json:"Response"` }
func NewDestroyInstanceResponse ¶
func NewDestroyInstanceResponse() (response *DestroyInstanceResponse)
func (*DestroyInstanceResponse) FromJsonString ¶
func (r *DestroyInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyInstanceResponse) ToJsonString ¶
func (r *DestroyInstanceResponse) ToJsonString() string
type DestroyInstanceResponseParams ¶
type DestroyInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DiskSpec ¶
type DiskSpec struct { // Disk type, such as CLOUD_SSD and LOCAL_SSD DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk type description, such as cloud SSD and local SSD DiskDesc *string `json:"DiskDesc,omitnil,omitempty" name:"DiskDesc"` // Minimum disk size, in GB MinDiskSize *int64 `json:"MinDiskSize,omitnil,omitempty" name:"MinDiskSize"` // Maximum disk size, in GB MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"` // Number of disks DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` }
type Distribution ¶
type Distribution struct { // Bucket type: // ●Hash: hash bucket // ●Random: random number bucket // // Note: This field may return null, indicating that no valid values can be obtained. DistributionType *string `json:"DistributionType,omitnil,omitempty" name:"DistributionType"` // Number of buckets // Note: This field may return null, indicating that no valid values can be obtained. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` }
type DorisSourceInfo ¶
type DorisSourceInfo struct { // The IP address of fe in the Doris cluster // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` // The fe port number of the Doris cluster // Note: This field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Account of the Doris cluster // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Password of the Doris cluster // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
type ExecuteParametrizedQueryRequest ¶
type ExecuteParametrizedQueryRequest struct { *tchttp.BaseRequest // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // SQL query statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query parameter array. QueryParameter []*PropertiesMap `json:"QueryParameter,omitnil,omitempty" name:"QueryParameter"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewExecuteParametrizedQueryRequest ¶
func NewExecuteParametrizedQueryRequest() (request *ExecuteParametrizedQueryRequest)
func (*ExecuteParametrizedQueryRequest) FromJsonString ¶
func (r *ExecuteParametrizedQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteParametrizedQueryRequest) ToJsonString ¶
func (r *ExecuteParametrizedQueryRequest) ToJsonString() string
type ExecuteParametrizedQueryRequestParams ¶
type ExecuteParametrizedQueryRequestParams struct { // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // SQL query statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query parameter array. QueryParameter []*PropertiesMap `json:"QueryParameter,omitnil,omitempty" name:"QueryParameter"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type ExecuteParametrizedQueryResponse ¶
type ExecuteParametrizedQueryResponse struct { *tchttp.BaseResponse Response *ExecuteParametrizedQueryResponseParams `json:"Response"` }
func NewExecuteParametrizedQueryResponse ¶
func NewExecuteParametrizedQueryResponse() (response *ExecuteParametrizedQueryResponse)
func (*ExecuteParametrizedQueryResponse) FromJsonString ¶
func (r *ExecuteParametrizedQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteParametrizedQueryResponse) ToJsonString ¶
func (r *ExecuteParametrizedQueryResponse) ToJsonString() string
type ExecuteParametrizedQueryResponseParams ¶
type ExecuteParametrizedQueryResponseParams struct { // Total records of query results TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Field name array of query results Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // Field type array of query results FieldTypes []*string `json:"FieldTypes,omitnil,omitempty" name:"FieldTypes"` // Returned data record array. Each element is an array, containing the value of the corresponding field. Rows []*Rows `json:"Rows,omitnil,omitempty" name:"Rows"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExecuteSelectQueryRequest ¶
type ExecuteSelectQueryRequest struct { *tchttp.BaseRequest // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // SQL query statements only support select statements. Query *string `json:"Query,omitnil,omitempty" name:"Query"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewExecuteSelectQueryRequest ¶
func NewExecuteSelectQueryRequest() (request *ExecuteSelectQueryRequest)
func (*ExecuteSelectQueryRequest) FromJsonString ¶
func (r *ExecuteSelectQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteSelectQueryRequest) ToJsonString ¶
func (r *ExecuteSelectQueryRequest) ToJsonString() string
type ExecuteSelectQueryRequestParams ¶
type ExecuteSelectQueryRequestParams struct { // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // SQL query statements only support select statements. Query *string `json:"Query,omitnil,omitempty" name:"Query"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type ExecuteSelectQueryResponse ¶
type ExecuteSelectQueryResponse struct { *tchttp.BaseResponse Response *ExecuteSelectQueryResponseParams `json:"Response"` }
func NewExecuteSelectQueryResponse ¶
func NewExecuteSelectQueryResponse() (response *ExecuteSelectQueryResponse)
func (*ExecuteSelectQueryResponse) FromJsonString ¶
func (r *ExecuteSelectQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteSelectQueryResponse) ToJsonString ¶
func (r *ExecuteSelectQueryResponse) ToJsonString() string
type ExecuteSelectQueryResponseParams ¶
type ExecuteSelectQueryResponseParams struct { // Total records of query results TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Field name array of query results Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // Field type array of query results FieldTypes []*string `json:"FieldTypes,omitnil,omitempty" name:"FieldTypes"` // Returned data record array. Each element is an array, containing the value of the corresponding field. Rows []*Rows `json:"Rows,omitnil,omitempty" name:"Rows"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type FrontEndRule ¶
type FrontEndRule struct { // ID sequence // Note: This field may return null, indicating that no valid values can be obtained. ID *int64 `json:"ID,omitnil,omitempty" name:"ID"` // Rule name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Detailed rules // Note: This field may return null, indicating that no valid values can be obtained. Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
type IndexInfo ¶
type IndexInfo struct { // Index name // Note: This field may return null, indicating that no valid values can be obtained. IdxName *string `json:"IdxName,omitnil,omitempty" name:"IdxName"` // Column name for creating the index // Note: This field may return null, indicating that no valid values can be obtained. ColumnName *string `json:"ColumnName,omitnil,omitempty" name:"ColumnName"` // Index type: // INVERTED: inverted index // NGRAM_BF: N-Gram index // // Note: This field may return null, indicating that no valid values can be obtained. IdxType *string `json:"IdxType,omitnil,omitempty" name:"IdxType"` // Index attributes // Note: This field may return null, indicating that no valid values can be obtained. IdxProperties []*Property `json:"IdxProperties,omitnil,omitempty" name:"IdxProperties"` // Index description // Note: This field may return null, indicating that no valid values can be obtained. IdxComment *string `json:"IdxComment,omitnil,omitempty" name:"IdxComment"` }
type InsertDatasToTableRequest ¶
type InsertDatasToTableRequest struct { *tchttp.BaseRequest // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Table name Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Array of column names Columns []*string `json:"Columns,omitnil,omitempty" name:"Columns"` // Data line Rows []*Rows `json:"Rows,omitnil,omitempty" name:"Rows"` // Array of column types Types []*string `json:"Types,omitnil,omitempty" name:"Types"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to use the strict mode Strict *bool `json:"Strict,omitnil,omitempty" name:"Strict"` // Maximum filtration ratio, ranging from 0 to 1.0 MaxFilterRatio *float64 `json:"MaxFilterRatio,omitnil,omitempty" name:"MaxFilterRatio"` // Tags for inserting data Label *string `json:"Label,omitnil,omitempty" name:"Label"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewInsertDatasToTableRequest ¶
func NewInsertDatasToTableRequest() (request *InsertDatasToTableRequest)
func (*InsertDatasToTableRequest) FromJsonString ¶
func (r *InsertDatasToTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InsertDatasToTableRequest) ToJsonString ¶
func (r *InsertDatasToTableRequest) ToJsonString() string
type InsertDatasToTableRequestParams ¶
type InsertDatasToTableRequestParams struct { // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Table name Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Array of column names Columns []*string `json:"Columns,omitnil,omitempty" name:"Columns"` // Data line Rows []*Rows `json:"Rows,omitnil,omitempty" name:"Rows"` // Array of column types Types []*string `json:"Types,omitnil,omitempty" name:"Types"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to use the strict mode Strict *bool `json:"Strict,omitnil,omitempty" name:"Strict"` // Maximum filtration ratio, ranging from 0 to 1.0 MaxFilterRatio *float64 `json:"MaxFilterRatio,omitnil,omitempty" name:"MaxFilterRatio"` // Tags for inserting data Label *string `json:"Label,omitnil,omitempty" name:"Label"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type InsertDatasToTableResponse ¶
type InsertDatasToTableResponse struct { *tchttp.BaseResponse Response *InsertDatasToTableResponseParams `json:"Response"` }
func NewInsertDatasToTableResponse ¶
func NewInsertDatasToTableResponse() (response *InsertDatasToTableResponse)
func (*InsertDatasToTableResponse) FromJsonString ¶
func (r *InsertDatasToTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InsertDatasToTableResponse) ToJsonString ¶
func (r *InsertDatasToTableResponse) ToJsonString() string
type InsertDatasToTableResponseParams ¶
type InsertDatasToTableResponseParams struct { // Whether the insertion operation is successful Success *bool `json:"Success,omitnil,omitempty" name:"Success"` // Message description of the operation result Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Number of inserted data rows InsertCount *uint64 `json:"InsertCount,omitnil,omitempty" name:"InsertCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InstanceConfigItem ¶
type InstanceDetail ¶
type InstanceDetail struct { // Whether the alarm policy is available // Note: This field may return null, indicating that no valid values can be obtained. EnableAlarmStrategy *bool `json:"EnableAlarmStrategy,omitnil,omitempty" name:"EnableAlarmStrategy"` }
type InstanceInfo ¶
type InstanceInfo struct { // Cluster instance ID, "cdw-xxxx" string type // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster instance name // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Status, // Init is being created. Serving is running. // Deleted indicates the cluster has been terminated. Deleting indicates the cluster is being terminated. // Modify indicates the cluster is being changed. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Version // Note: This field may return null, indicating that no valid values can be obtained. Version *string `json:"Version,omitnil,omitempty" name:"Version"` // Region, ap-guangzhou // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Availability zone, ap-guangzhou-3 // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // VPC name // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet name // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Payment type: hour and prepay // Note: This field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Expiration time // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Data node description information // Note: This field may return null, indicating that no valid values can be obtained. MasterSummary *NodesSummary `json:"MasterSummary,omitnil,omitempty" name:"MasterSummary"` // Zookeeper node description information // Note: This field may return null, indicating that no valid values can be obtained. CoreSummary *NodesSummary `json:"CoreSummary,omitnil,omitempty" name:"CoreSummary"` // High availability, being true or false // Note: This field may return null, indicating that no valid values can be obtained. HA *string `json:"HA,omitnil,omitempty" name:"HA"` // High availability type: // 0: non-high availability // 1: read high availability // 2: read-write high availability // Note: This field may return null, indicating that no valid values can be obtained. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Access address. Example: 10.0.0.1:9000 // Note: This field may return null, indicating that no valid values can be obtained. AccessInfo *string `json:"AccessInfo,omitnil,omitempty" name:"AccessInfo"` // Record ID, in numerical type // Note: This field may return null, indicating that no valid values can be obtained. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Region ID, indicating the region // Note: This field may return null, indicating that no valid values can be obtained. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Note about availability zone, such as Guangzhou Zone 2 // Note: This field may return null, indicating that no valid values can be obtained. ZoneDesc *string `json:"ZoneDesc,omitnil,omitempty" name:"ZoneDesc"` // Error process description information // Note: This field may return null, indicating that no valid values can be obtained. FlowMsg *string `json:"FlowMsg,omitnil,omitempty" name:"FlowMsg"` // Status description, such as "running" // Note: This field may return null, indicating that no valid values can be obtained. StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // Automatic renewal marker // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Tag list // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitoring Information // Note: This field may return null, indicating that no valid values can be obtained. Monitor *string `json:"Monitor,omitnil,omitempty" name:"Monitor"` // Whether to enable logs. // Note: This field may return null, indicating that no valid values can be obtained. HasClsTopic *bool `json:"HasClsTopic,omitnil,omitempty" name:"HasClsTopic"` // Log Topic ID // Note: This field may return null, indicating that no valid values can be obtained. ClsTopicId *string `json:"ClsTopicId,omitnil,omitempty" name:"ClsTopicId"` // Logset ID // Note: This field may return null, indicating that no valid values can be obtained. ClsLogSetId *string `json:"ClsLogSetId,omitnil,omitempty" name:"ClsLogSetId"` // Whether to support XML configuration management. // Note: This field may return null, indicating that no valid values can be obtained. EnableXMLConfig *int64 `json:"EnableXMLConfig,omitnil,omitempty" name:"EnableXMLConfig"` // Region // Note: This field may return null, indicating that no valid values can be obtained. RegionDesc *string `json:"RegionDesc,omitnil,omitempty" name:"RegionDesc"` // Elastic network interface address // Note: This field may return null, indicating that no valid values can be obtained. Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // Cold and hot stratification coefficient // Note: This field may return null, indicating that no valid values can be obtained. CosMoveFactor *int64 `json:"CosMoveFactor,omitnil,omitempty" name:"CosMoveFactor"` // external/local/yunti // Note: This field may return null, indicating that no valid values can be obtained. Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"` // COS bucket // Note: This field may return null, indicating that no valid values can be obtained. CosBucketName *string `json:"CosBucketName,omitnil,omitempty" name:"CosBucketName"` // cbs // Note: This field may return null, indicating that no valid values can be obtained. CanAttachCbs *bool `json:"CanAttachCbs,omitnil,omitempty" name:"CanAttachCbs"` // Minor versions // Note: This field may return null, indicating that no valid values can be obtained. BuildVersion *string `json:"BuildVersion,omitnil,omitempty" name:"BuildVersion"` // Component Information // Note: The return type here is map[string]struct, not the string type displayed. You can refer to "Sample Value" to parse the data. // Note: This field may return null, indicating that no valid values can be obtained. Components *string `json:"Components,omitnil,omitempty" name:"Components"` // Determine whether the audit log table has a catalog field. // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: IfExistCatalog is deprecated. IfExistCatalog *int64 `json:"IfExistCatalog,omitnil,omitempty" name:"IfExistCatalog"` // Page features, used to block some page entrances on the front end. // Note: This field may return null, indicating that no valid values can be obtained. Characteristic []*string `json:"Characteristic,omitnil,omitempty" name:"Characteristic"` // Timeout period, in seconds // Note: This field may return null, indicating that no valid values can be obtained. RestartTimeout *string `json:"RestartTimeout,omitnil,omitempty" name:"RestartTimeout"` // The timeout time for the graceful restart of the kernel. If it is -1, it means it is not set. // Note: This field may return null, indicating that no valid values can be obtained. GraceShutdownWaitSeconds *string `json:"GraceShutdownWaitSeconds,omitnil,omitempty" name:"GraceShutdownWaitSeconds"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. // Note: This field may return null, indicating that no valid values can be obtained. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether users can bind security groups. // Note: This field may return null, indicating that no valid values can be obtained. IsWhiteSGs *bool `json:"IsWhiteSGs,omitnil,omitempty" name:"IsWhiteSGs"` // Bound security group information // Note: This field may return null, indicating that no valid values can be obtained. BindSGs []*string `json:"BindSGs,omitnil,omitempty" name:"BindSGs"` // Whether it is a multi-AZ. // Note: This field may return null, indicating that no valid values can be obtained. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // User availability zone and subnet information // Note: This field may return null, indicating that no valid values can be obtained. UserNetworkInfos *string `json:"UserNetworkInfos,omitnil,omitempty" name:"UserNetworkInfos"` // Whether to enable hot and cold stratification. 0 refers to disabled, and 1 refers to enabled. // Note: This field may return null, indicating that no valid values can be obtained. EnableCoolDown *int64 `json:"EnableCoolDown,omitnil,omitempty" name:"EnableCoolDown"` // COS buckets are used for hot and cold stratification // Note: This field may return null, indicating that no valid values can be obtained. CoolDownBucket *string `json:"CoolDownBucket,omitnil,omitempty" name:"CoolDownBucket"` // Instance extension information // Note: This field may return null, indicating that no valid values can be obtained. Details *InstanceDetail `json:"Details,omitnil,omitempty" name:"Details"` // Whether to enable DLC. 0: disable; 1: enable. // Note: This field may return null, indicating that no valid values can be obtained. EnableDlc *int64 `json:"EnableDlc,omitnil,omitempty" name:"EnableDlc"` // Account type. 0: ordinary user; 1: CAM user. // Note: This field may return null, indicating that no valid values can be obtained. AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"` }
type InstanceNode ¶
type InstanceNode struct { // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Model, such as S1 Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Number of CPU cores Core *int64 `json:"Core,omitnil,omitempty" name:"Core"` // Memory size Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Disk type DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk size DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // The name of the clickhouse cluster to which it belongs. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // rip // Note: This field may return null, indicating that no valid values can be obtained. Rip *string `json:"Rip,omitnil,omitempty" name:"Rip"` // FE node role // Note: This field may return null, indicating that no valid values can be obtained. FeRole *string `json:"FeRole,omitnil,omitempty" name:"FeRole"` // UUID // Note: This field may return null, indicating that no valid values can be obtained. UUID *string `json:"UUID,omitnil,omitempty" name:"UUID"` }
type InstanceOperation ¶
type InstanceOperation struct { // Operation name, such as create_instance, and scaleout_instance Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Operation result. Success indicates success; Fail indicates failure. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Operation name description, such as create, and modify the cluster name Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Operation level, such as Critical, Normal Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Operation level description, such as high risk, and normal LevelDesc *string `json:"LevelDesc,omitnil,omitempty" name:"LevelDesc"` // Operation start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Operation end time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Operation result description, such as Success and Fail. ResultDesc *string `json:"ResultDesc,omitnil,omitempty" name:"ResultDesc"` // Operation user ID OperateUin *string `json:"OperateUin,omitnil,omitempty" name:"OperateUin"` // The jobid corresponding to the operation JobId *int64 `json:"JobId,omitnil,omitempty" name:"JobId"` // Operation details OperationDetail *string `json:"OperationDetail,omitnil,omitempty" name:"OperationDetail"` }
type ListInfo ¶
type ListInfo struct { // Partition name // // Note: This field may return null, indicating that no valid values can be obtained. PartitionName *string `json:"PartitionName,omitnil,omitempty" name:"PartitionName"` // Enumeration values of each partition column // // Note: This field may return null, indicating that no valid values can be obtained. EnumValues []*string `json:"EnumValues,omitnil,omitempty" name:"EnumValues"` }
type ModifyClusterConfigsRequest ¶
type ModifyClusterConfigsRequest struct { *tchttp.BaseRequest // Cluster ID, for example, cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file modification information ModifyConfContext []*ConfigSubmitContext `json:"ModifyConfContext,omitnil,omitempty" name:"ModifyConfContext"` // Reason for modification Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewModifyClusterConfigsRequest ¶
func NewModifyClusterConfigsRequest() (request *ModifyClusterConfigsRequest)
func (*ModifyClusterConfigsRequest) FromJsonString ¶
func (r *ModifyClusterConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterConfigsRequest) ToJsonString ¶
func (r *ModifyClusterConfigsRequest) ToJsonString() string
type ModifyClusterConfigsRequestParams ¶
type ModifyClusterConfigsRequestParams struct { // Cluster ID, for example, cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file modification information ModifyConfContext []*ConfigSubmitContext `json:"ModifyConfContext,omitnil,omitempty" name:"ModifyConfContext"` // Reason for modification Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyClusterConfigsResponse ¶
type ModifyClusterConfigsResponse struct { *tchttp.BaseResponse Response *ModifyClusterConfigsResponseParams `json:"Response"` }
func NewModifyClusterConfigsResponse ¶
func NewModifyClusterConfigsResponse() (response *ModifyClusterConfigsResponse)
func (*ModifyClusterConfigsResponse) FromJsonString ¶
func (r *ModifyClusterConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterConfigsResponse) ToJsonString ¶
func (r *ModifyClusterConfigsResponse) ToJsonString() string
type ModifyClusterConfigsResponseParams ¶
type ModifyClusterConfigsResponseParams struct { // Process related information FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCoolDownPolicyRequest ¶
type ModifyCoolDownPolicyRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // cooldown_ttl CoolDownTtl *string `json:"CoolDownTtl,omitnil,omitempty" name:"CoolDownTtl"` // cooldown_datetime CoolDownDatetime *string `json:"CoolDownDatetime,omitnil,omitempty" name:"CoolDownDatetime"` }
func NewModifyCoolDownPolicyRequest ¶
func NewModifyCoolDownPolicyRequest() (request *ModifyCoolDownPolicyRequest)
func (*ModifyCoolDownPolicyRequest) FromJsonString ¶
func (r *ModifyCoolDownPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCoolDownPolicyRequest) ToJsonString ¶
func (r *ModifyCoolDownPolicyRequest) ToJsonString() string
type ModifyCoolDownPolicyRequestParams ¶
type ModifyCoolDownPolicyRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // cooldown_ttl CoolDownTtl *string `json:"CoolDownTtl,omitnil,omitempty" name:"CoolDownTtl"` // cooldown_datetime CoolDownDatetime *string `json:"CoolDownDatetime,omitnil,omitempty" name:"CoolDownDatetime"` }
Predefined struct for user
type ModifyCoolDownPolicyResponse ¶
type ModifyCoolDownPolicyResponse struct { *tchttp.BaseResponse Response *ModifyCoolDownPolicyResponseParams `json:"Response"` }
func NewModifyCoolDownPolicyResponse ¶
func NewModifyCoolDownPolicyResponse() (response *ModifyCoolDownPolicyResponse)
func (*ModifyCoolDownPolicyResponse) FromJsonString ¶
func (r *ModifyCoolDownPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCoolDownPolicyResponse) ToJsonString ¶
func (r *ModifyCoolDownPolicyResponse) ToJsonString() string
type ModifyCoolDownPolicyResponseParams ¶
type ModifyCoolDownPolicyResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDatabaseTableAccessRequest ¶
type ModifyDatabaseTableAccessRequest struct { *tchttp.BaseRequest // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Permission list Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"` // Operation type: GRANT or REVOKE GrantOrRevoke *string `json:"GrantOrRevoke,omitnil,omitempty" name:"GrantOrRevoke"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Table name. If it is null, it indicates that the entire database is authorized. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Role name, if authorized to the role Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to internal if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // Machine Group, defaults to % if not specified. WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
func NewModifyDatabaseTableAccessRequest ¶
func NewModifyDatabaseTableAccessRequest() (request *ModifyDatabaseTableAccessRequest)
func (*ModifyDatabaseTableAccessRequest) FromJsonString ¶
func (r *ModifyDatabaseTableAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseTableAccessRequest) ToJsonString ¶
func (r *ModifyDatabaseTableAccessRequest) ToJsonString() string
type ModifyDatabaseTableAccessRequestParams ¶
type ModifyDatabaseTableAccessRequestParams struct { // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Permission list Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"` // Operation type: GRANT or REVOKE GrantOrRevoke *string `json:"GrantOrRevoke,omitnil,omitempty" name:"GrantOrRevoke"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Table name. If it is null, it indicates that the entire database is authorized. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Role name, if authorized to the role Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to internal if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // Machine Group, defaults to % if not specified. WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
Predefined struct for user
type ModifyDatabaseTableAccessResponse ¶
type ModifyDatabaseTableAccessResponse struct { *tchttp.BaseResponse Response *ModifyDatabaseTableAccessResponseParams `json:"Response"` }
func NewModifyDatabaseTableAccessResponse ¶
func NewModifyDatabaseTableAccessResponse() (response *ModifyDatabaseTableAccessResponse)
func (*ModifyDatabaseTableAccessResponse) FromJsonString ¶
func (r *ModifyDatabaseTableAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseTableAccessResponse) ToJsonString ¶
func (r *ModifyDatabaseTableAccessResponse) ToJsonString() string
type ModifyDatabaseTableAccessResponseParams ¶
type ModifyDatabaseTableAccessResponseParams struct { // Whether the operation is successful Success *bool `json:"Success,omitnil,omitempty" name:"Success"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceKeyValConfigsRequest ¶
type ModifyInstanceKeyValConfigsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // File name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Add configuration list AddItems []*InstanceConfigItem `json:"AddItems,omitnil,omitempty" name:"AddItems"` // Update configuration list UpdateItems []*InstanceConfigItem `json:"UpdateItems,omitnil,omitempty" name:"UpdateItems"` // Delete configuration list DelItems []*InstanceConfigItem `json:"DelItems,omitnil,omitempty" name:"DelItems"` // Remarks (within 50 words) Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Hot update list HotUpdateItems []*InstanceConfigItem `json:"HotUpdateItems,omitnil,omitempty" name:"HotUpdateItems"` // Delete configuration list DeleteItems *InstanceConfigItem `json:"DeleteItems,omitnil,omitempty" name:"DeleteItems"` // IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
func NewModifyInstanceKeyValConfigsRequest ¶
func NewModifyInstanceKeyValConfigsRequest() (request *ModifyInstanceKeyValConfigsRequest)
func (*ModifyInstanceKeyValConfigsRequest) FromJsonString ¶
func (r *ModifyInstanceKeyValConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceKeyValConfigsRequest) ToJsonString ¶
func (r *ModifyInstanceKeyValConfigsRequest) ToJsonString() string
type ModifyInstanceKeyValConfigsRequestParams ¶
type ModifyInstanceKeyValConfigsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // File name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Add configuration list AddItems []*InstanceConfigItem `json:"AddItems,omitnil,omitempty" name:"AddItems"` // Update configuration list UpdateItems []*InstanceConfigItem `json:"UpdateItems,omitnil,omitempty" name:"UpdateItems"` // Delete configuration list DelItems []*InstanceConfigItem `json:"DelItems,omitnil,omitempty" name:"DelItems"` // Remarks (within 50 words) Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Hot update list HotUpdateItems []*InstanceConfigItem `json:"HotUpdateItems,omitnil,omitempty" name:"HotUpdateItems"` // Delete configuration list DeleteItems *InstanceConfigItem `json:"DeleteItems,omitnil,omitempty" name:"DeleteItems"` // IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
Predefined struct for user
type ModifyInstanceKeyValConfigsResponse ¶
type ModifyInstanceKeyValConfigsResponse struct { *tchttp.BaseResponse Response *ModifyInstanceKeyValConfigsResponseParams `json:"Response"` }
func NewModifyInstanceKeyValConfigsResponse ¶
func NewModifyInstanceKeyValConfigsResponse() (response *ModifyInstanceKeyValConfigsResponse)
func (*ModifyInstanceKeyValConfigsResponse) FromJsonString ¶
func (r *ModifyInstanceKeyValConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceKeyValConfigsResponse) ToJsonString ¶
func (r *ModifyInstanceKeyValConfigsResponse) ToJsonString() string
type ModifyInstanceKeyValConfigsResponseParams ¶
type ModifyInstanceKeyValConfigsResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Newly modified instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
func NewModifyInstanceRequest ¶
func NewModifyInstanceRequest() (request *ModifyInstanceRequest)
func (*ModifyInstanceRequest) FromJsonString ¶
func (r *ModifyInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceRequest) ToJsonString ¶
func (r *ModifyInstanceRequest) ToJsonString() string
type ModifyInstanceRequestParams ¶
type ModifyInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Newly modified instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyInstanceResponse ¶
type ModifyInstanceResponse struct { *tchttp.BaseResponse Response *ModifyInstanceResponseParams `json:"Response"` }
func NewModifyInstanceResponse ¶
func NewModifyInstanceResponse() (response *ModifyInstanceResponse)
func (*ModifyInstanceResponse) FromJsonString ¶
func (r *ModifyInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceResponse) ToJsonString ¶
func (r *ModifyInstanceResponse) ToJsonString() string
type ModifyInstanceResponseParams ¶
type ModifyInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNodeStatusRequest ¶
type ModifyNodeStatusRequest struct { *tchttp.BaseRequest // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node information NodeInfos []*NodeInfos `json:"NodeInfos,omitnil,omitempty" name:"NodeInfos"` // Node operation OperationCode *string `json:"OperationCode,omitnil,omitempty" name:"OperationCode"` // Timeout period (s) RestartTimeOut *string `json:"RestartTimeOut,omitnil,omitempty" name:"RestartTimeOut"` }
func NewModifyNodeStatusRequest ¶
func NewModifyNodeStatusRequest() (request *ModifyNodeStatusRequest)
func (*ModifyNodeStatusRequest) FromJsonString ¶
func (r *ModifyNodeStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNodeStatusRequest) ToJsonString ¶
func (r *ModifyNodeStatusRequest) ToJsonString() string
type ModifyNodeStatusRequestParams ¶
type ModifyNodeStatusRequestParams struct { // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node information NodeInfos []*NodeInfos `json:"NodeInfos,omitnil,omitempty" name:"NodeInfos"` // Node operation OperationCode *string `json:"OperationCode,omitnil,omitempty" name:"OperationCode"` // Timeout period (s) RestartTimeOut *string `json:"RestartTimeOut,omitnil,omitempty" name:"RestartTimeOut"` }
Predefined struct for user
type ModifyNodeStatusResponse ¶
type ModifyNodeStatusResponse struct { *tchttp.BaseResponse Response *ModifyNodeStatusResponseParams `json:"Response"` }
func NewModifyNodeStatusResponse ¶
func NewModifyNodeStatusResponse() (response *ModifyNodeStatusResponse)
func (*ModifyNodeStatusResponse) FromJsonString ¶
func (r *ModifyNodeStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNodeStatusResponse) ToJsonString ¶
func (r *ModifyNodeStatusResponse) ToJsonString() string
type ModifyNodeStatusResponseParams ¶
type ModifyNodeStatusResponseParams struct { // Process related information FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupsRequest ¶
type ModifySecurityGroupsRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Security group information before modification OldSecurityGroupIds []*string `json:"OldSecurityGroupIds,omitnil,omitempty" name:"OldSecurityGroupIds"` // Modified security group information ModifySecurityGroupIds []*string `json:"ModifySecurityGroupIds,omitnil,omitempty" name:"ModifySecurityGroupIds"` }
func NewModifySecurityGroupsRequest ¶
func NewModifySecurityGroupsRequest() (request *ModifySecurityGroupsRequest)
func (*ModifySecurityGroupsRequest) FromJsonString ¶
func (r *ModifySecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupsRequest) ToJsonString ¶
func (r *ModifySecurityGroupsRequest) ToJsonString() string
type ModifySecurityGroupsRequestParams ¶
type ModifySecurityGroupsRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Security group information before modification OldSecurityGroupIds []*string `json:"OldSecurityGroupIds,omitnil,omitempty" name:"OldSecurityGroupIds"` // Modified security group information ModifySecurityGroupIds []*string `json:"ModifySecurityGroupIds,omitnil,omitempty" name:"ModifySecurityGroupIds"` }
Predefined struct for user
type ModifySecurityGroupsResponse ¶
type ModifySecurityGroupsResponse struct { *tchttp.BaseResponse Response *ModifySecurityGroupsResponseParams `json:"Response"` }
func NewModifySecurityGroupsResponse ¶
func NewModifySecurityGroupsResponse() (response *ModifySecurityGroupsResponse)
func (*ModifySecurityGroupsResponse) FromJsonString ¶
func (r *ModifySecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupsResponse) ToJsonString ¶
func (r *ModifySecurityGroupsResponse) ToJsonString() string
type ModifySecurityGroupsResponseParams ¶
type ModifySecurityGroupsResponseParams struct { // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserBindWorkloadGroupRequest ¶
type ModifyUserBindWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The user information of the resource group needs to be bound. If an account has information of multiple hosts, all information needs to be uploaded. BindUsers []*BindUser `json:"BindUsers,omitnil,omitempty" name:"BindUsers"` // Name of the resource group bound before modification OldWorkloadGroupName *string `json:"OldWorkloadGroupName,omitnil,omitempty" name:"OldWorkloadGroupName"` // Name of the resource group bound after modification NewWorkloadGroupName *string `json:"NewWorkloadGroupName,omitnil,omitempty" name:"NewWorkloadGroupName"` }
func NewModifyUserBindWorkloadGroupRequest ¶
func NewModifyUserBindWorkloadGroupRequest() (request *ModifyUserBindWorkloadGroupRequest)
func (*ModifyUserBindWorkloadGroupRequest) FromJsonString ¶
func (r *ModifyUserBindWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserBindWorkloadGroupRequest) ToJsonString ¶
func (r *ModifyUserBindWorkloadGroupRequest) ToJsonString() string
type ModifyUserBindWorkloadGroupRequestParams ¶
type ModifyUserBindWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The user information of the resource group needs to be bound. If an account has information of multiple hosts, all information needs to be uploaded. BindUsers []*BindUser `json:"BindUsers,omitnil,omitempty" name:"BindUsers"` // Name of the resource group bound before modification OldWorkloadGroupName *string `json:"OldWorkloadGroupName,omitnil,omitempty" name:"OldWorkloadGroupName"` // Name of the resource group bound after modification NewWorkloadGroupName *string `json:"NewWorkloadGroupName,omitnil,omitempty" name:"NewWorkloadGroupName"` }
Predefined struct for user
type ModifyUserBindWorkloadGroupResponse ¶
type ModifyUserBindWorkloadGroupResponse struct { *tchttp.BaseResponse Response *ModifyUserBindWorkloadGroupResponseParams `json:"Response"` }
func NewModifyUserBindWorkloadGroupResponse ¶
func NewModifyUserBindWorkloadGroupResponse() (response *ModifyUserBindWorkloadGroupResponse)
func (*ModifyUserBindWorkloadGroupResponse) FromJsonString ¶
func (r *ModifyUserBindWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserBindWorkloadGroupResponse) ToJsonString ¶
func (r *ModifyUserBindWorkloadGroupResponse) ToJsonString() string
type ModifyUserBindWorkloadGroupResponseParams ¶
type ModifyUserBindWorkloadGroupResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserPrivilegesV3Request ¶
type ModifyUserPrivilegesV3Request struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // User permission UserPrivileges *UpdateUserPrivileges `json:"UserPrivileges,omitnil,omitempty" name:"UserPrivileges"` // The IP address of the user link WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
func NewModifyUserPrivilegesV3Request ¶
func NewModifyUserPrivilegesV3Request() (request *ModifyUserPrivilegesV3Request)
func (*ModifyUserPrivilegesV3Request) FromJsonString ¶
func (r *ModifyUserPrivilegesV3Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserPrivilegesV3Request) ToJsonString ¶
func (r *ModifyUserPrivilegesV3Request) ToJsonString() string
type ModifyUserPrivilegesV3RequestParams ¶
type ModifyUserPrivilegesV3RequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // User permission UserPrivileges *UpdateUserPrivileges `json:"UserPrivileges,omitnil,omitempty" name:"UserPrivileges"` // The IP address of the user link WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` }
Predefined struct for user
type ModifyUserPrivilegesV3Response ¶
type ModifyUserPrivilegesV3Response struct { *tchttp.BaseResponse Response *ModifyUserPrivilegesV3ResponseParams `json:"Response"` }
func NewModifyUserPrivilegesV3Response ¶
func NewModifyUserPrivilegesV3Response() (response *ModifyUserPrivilegesV3Response)
func (*ModifyUserPrivilegesV3Response) FromJsonString ¶
func (r *ModifyUserPrivilegesV3Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserPrivilegesV3Response) ToJsonString ¶
func (r *ModifyUserPrivilegesV3Response) ToJsonString() string
type ModifyUserPrivilegesV3ResponseParams ¶
type ModifyUserPrivilegesV3ResponseParams struct { // Error message; null means no error. // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWorkloadGroupRequest ¶
type ModifyWorkloadGroupRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Modified resource group information WorkloadGroup *WorkloadGroupConfig `json:"WorkloadGroup,omitnil,omitempty" name:"WorkloadGroup"` }
func NewModifyWorkloadGroupRequest ¶
func NewModifyWorkloadGroupRequest() (request *ModifyWorkloadGroupRequest)
func (*ModifyWorkloadGroupRequest) FromJsonString ¶
func (r *ModifyWorkloadGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWorkloadGroupRequest) ToJsonString ¶
func (r *ModifyWorkloadGroupRequest) ToJsonString() string
type ModifyWorkloadGroupRequestParams ¶
type ModifyWorkloadGroupRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Modified resource group information WorkloadGroup *WorkloadGroupConfig `json:"WorkloadGroup,omitnil,omitempty" name:"WorkloadGroup"` }
Predefined struct for user
type ModifyWorkloadGroupResponse ¶
type ModifyWorkloadGroupResponse struct { *tchttp.BaseResponse Response *ModifyWorkloadGroupResponseParams `json:"Response"` }
func NewModifyWorkloadGroupResponse ¶
func NewModifyWorkloadGroupResponse() (response *ModifyWorkloadGroupResponse)
func (*ModifyWorkloadGroupResponse) FromJsonString ¶
func (r *ModifyWorkloadGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWorkloadGroupResponse) ToJsonString ¶
func (r *ModifyWorkloadGroupResponse) ToJsonString() string
type ModifyWorkloadGroupResponseParams ¶
type ModifyWorkloadGroupResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWorkloadGroupStatusRequest ¶
type ModifyWorkloadGroupStatusRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to enable resource group: open and close OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` }
func NewModifyWorkloadGroupStatusRequest ¶
func NewModifyWorkloadGroupStatusRequest() (request *ModifyWorkloadGroupStatusRequest)
func (*ModifyWorkloadGroupStatusRequest) FromJsonString ¶
func (r *ModifyWorkloadGroupStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWorkloadGroupStatusRequest) ToJsonString ¶
func (r *ModifyWorkloadGroupStatusRequest) ToJsonString() string
type ModifyWorkloadGroupStatusRequestParams ¶
type ModifyWorkloadGroupStatusRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to enable resource group: open and close OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` }
Predefined struct for user
type ModifyWorkloadGroupStatusResponse ¶
type ModifyWorkloadGroupStatusResponse struct { *tchttp.BaseResponse Response *ModifyWorkloadGroupStatusResponseParams `json:"Response"` }
func NewModifyWorkloadGroupStatusResponse ¶
func NewModifyWorkloadGroupStatusResponse() (response *ModifyWorkloadGroupStatusResponse)
func (*ModifyWorkloadGroupStatusResponse) FromJsonString ¶
func (r *ModifyWorkloadGroupStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWorkloadGroupStatusResponse) ToJsonString ¶
func (r *ModifyWorkloadGroupStatusResponse) ToJsonString() string
type ModifyWorkloadGroupStatusResponseParams ¶
type ModifyWorkloadGroupStatusResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NetworkInfo ¶
type NetworkInfo struct { // Availability zone // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet ID // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // The number of available IP addresses in the current subnet // Note: This field may return null, indicating that no valid values can be obtained. SubnetIpNum *int64 `json:"SubnetIpNum,omitnil,omitempty" name:"SubnetIpNum"` }
type NodeInfo ¶
type NodeInfo struct { // User IP // Note: This field may return null, indicating that no valid values can be obtained. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Node status // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Node role name // Note: This field may return null, indicating that no valid values can be obtained. NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Component name // Note: This field may return null, indicating that no valid values can be obtained. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Node role // Note: This field may return null, indicating that no valid values can be obtained. NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // The time when the node was last restarted // Note: This field may return null, indicating that no valid values can be obtained. LastRestartTime *string `json:"LastRestartTime,omitnil,omitempty" name:"LastRestartTime"` // The availability zone where the node is located // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
type NodeInfos ¶
type NodeInfos struct { // Node name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Node status Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Node IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Node role NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Component name ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Last restart time LastRestartTime *string `json:"LastRestartTime,omitnil,omitempty" name:"LastRestartTime"` }
type NodesSummary ¶
type NodesSummary struct { // Model, such as S1 Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Number of nodes NodeSize *int64 `json:"NodeSize,omitnil,omitempty" name:"NodeSize"` // Number of CPU cores, in counts Core *int64 `json:"Core,omitnil,omitempty" name:"Core"` // Memory size, in GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Disk size, in GB Disk *int64 `json:"Disk,omitnil,omitempty" name:"Disk"` // Disk type DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk description DiskDesc *string `json:"DiskDesc,omitnil,omitempty" name:"DiskDesc"` // Information of mounted cloud disks // Note: This field may return null, indicating that no valid values can be obtained. AttachCBSSpec *AttachCBSSpec `json:"AttachCBSSpec,omitnil,omitempty" name:"AttachCBSSpec"` // Sub-product name // Note: This field may return null, indicating that no valid values can be obtained. SubProductType *string `json:"SubProductType,omitnil,omitempty" name:"SubProductType"` // Specified cores // Note: This field may return null, indicating that no valid values can be obtained. SpecCore *int64 `json:"SpecCore,omitnil,omitempty" name:"SpecCore"` // Specified memory // Note: This field may return null, indicating that no valid values can be obtained. SpecMemory *int64 `json:"SpecMemory,omitnil,omitempty" name:"SpecMemory"` // Disk size // Note: This field may return null, indicating that no valid values can be obtained. DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // Whether it is encrypted. // Note: This field may return null, indicating that no valid values can be obtained. Encrypt *int64 `json:"Encrypt,omitnil,omitempty" name:"Encrypt"` // Maximum disk // Note: This field may return null, indicating that no valid values can be obtained. MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"` }
type OpenCoolDownPolicyRequest ¶
type OpenCoolDownPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // DB name DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // Table name TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Operation type OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Separate with commas. The DB name is required, for example, db1.tb1,db1.tb2,db2.tb1. BatchOpenCoolDownTables *string `json:"BatchOpenCoolDownTables,omitnil,omitempty" name:"BatchOpenCoolDownTables"` // Policy name required for binding PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // Separate with commas, for example, p1,p2,p3. BatchOpenCoolDownPartitions *string `json:"BatchOpenCoolDownPartitions,omitnil,omitempty" name:"BatchOpenCoolDownPartitions"` }
func NewOpenCoolDownPolicyRequest ¶
func NewOpenCoolDownPolicyRequest() (request *OpenCoolDownPolicyRequest)
func (*OpenCoolDownPolicyRequest) FromJsonString ¶
func (r *OpenCoolDownPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenCoolDownPolicyRequest) ToJsonString ¶
func (r *OpenCoolDownPolicyRequest) ToJsonString() string
type OpenCoolDownPolicyRequestParams ¶
type OpenCoolDownPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // DB name DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // Table name TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Operation type OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Separate with commas. The DB name is required, for example, db1.tb1,db1.tb2,db2.tb1. BatchOpenCoolDownTables *string `json:"BatchOpenCoolDownTables,omitnil,omitempty" name:"BatchOpenCoolDownTables"` // Policy name required for binding PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // Separate with commas, for example, p1,p2,p3. BatchOpenCoolDownPartitions *string `json:"BatchOpenCoolDownPartitions,omitnil,omitempty" name:"BatchOpenCoolDownPartitions"` }
Predefined struct for user
type OpenCoolDownPolicyResponse ¶
type OpenCoolDownPolicyResponse struct { *tchttp.BaseResponse Response *OpenCoolDownPolicyResponseParams `json:"Response"` }
func NewOpenCoolDownPolicyResponse ¶
func NewOpenCoolDownPolicyResponse() (response *OpenCoolDownPolicyResponse)
func (*OpenCoolDownPolicyResponse) FromJsonString ¶
func (r *OpenCoolDownPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenCoolDownPolicyResponse) ToJsonString ¶
func (r *OpenCoolDownPolicyResponse) ToJsonString() string
type OpenCoolDownPolicyResponseParams ¶
type OpenCoolDownPolicyResponseParams struct { // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Returned information QueryDocument *string `json:"QueryDocument,omitnil,omitempty" name:"QueryDocument"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenCoolDownRequest ¶
type OpenCoolDownRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewOpenCoolDownRequest ¶
func NewOpenCoolDownRequest() (request *OpenCoolDownRequest)
func (*OpenCoolDownRequest) FromJsonString ¶
func (r *OpenCoolDownRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenCoolDownRequest) ToJsonString ¶
func (r *OpenCoolDownRequest) ToJsonString() string
type OpenCoolDownRequestParams ¶
type OpenCoolDownRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type OpenCoolDownResponse ¶
type OpenCoolDownResponse struct { *tchttp.BaseResponse Response *OpenCoolDownResponseParams `json:"Response"` }
func NewOpenCoolDownResponse ¶
func NewOpenCoolDownResponse() (response *OpenCoolDownResponse)
func (*OpenCoolDownResponse) FromJsonString ¶
func (r *OpenCoolDownResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenCoolDownResponse) ToJsonString ¶
func (r *OpenCoolDownResponse) ToJsonString() string
type OpenCoolDownResponseParams ¶
type OpenCoolDownResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Partition ¶
type Partition struct { // Partition type: // ●Range: The partition column is usually of time or integer type. Four writing methods are supported. // ●List: The partition value is an enumeration value. // // Note: This field may return null, indicating that no valid values can be obtained. PartitionType *string `json:"PartitionType,omitnil,omitempty" name:"PartitionType"` // Whether to automatically partition // // Note: This field may return null, indicating that no valid values can be obtained. AutoPartition *bool `json:"AutoPartition,omitnil,omitempty" name:"AutoPartition"` // Partition information when the partition type is Range // // Note: This field may return null, indicating that no valid values can be obtained. RangeInfos []*RangeInfo `json:"RangeInfos,omitnil,omitempty" name:"RangeInfos"` // Partition information when the partition type is List // // Note: This field may return null, indicating that no valid values can be obtained. ListInfos []*ListInfo `json:"ListInfos,omitnil,omitempty" name:"ListInfos"` }
type PermissionHostInfo ¶
type PermissionHostInfo struct { // A list of user permissions in the global scope, which can be applied to all databases and tables. // // Note: This field may return null, indicating that no valid values can be obtained. GlobalPermissions []*string `json:"GlobalPermissions,omitnil,omitempty" name:"GlobalPermissions"` // The key is the database name, and the value is the permission list of the user on the database. // Note: This field may return null, indicating that no valid values can be obtained. DatabasePermissions []*DatabasePermissions `json:"DatabasePermissions,omitnil,omitempty" name:"DatabasePermissions"` // The key is the full name of the table, and the value is the permission list of the user on the table. // // Note: This field may return null, indicating that no valid values can be obtained. TablePermissions []*TablePermissions `json:"TablePermissions,omitnil,omitempty" name:"TablePermissions"` // The key is the full name of the catalog, and the value is the permission list of the user on the catalog. // // Note: This field may return null, indicating that no valid values can be obtained. CatalogPermissions []*CatalogPermission `json:"CatalogPermissions,omitnil,omitempty" name:"CatalogPermissions"` }
type PropertiesMap ¶
type PropertiesMap struct { // key // Note: This field may return null, indicating that no valid values can be obtained. PropertyKey *string `json:"PropertyKey,omitnil,omitempty" name:"PropertyKey"` // value // Note: This field may return null, indicating that no valid values can be obtained. PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"` }
type Property ¶
type Property struct { // Attribute key // Note: This field may return null, indicating that no valid values can be obtained. PropertyKey *string `json:"PropertyKey,omitnil,omitempty" name:"PropertyKey"` // Attribute value // Note: This field may return null, indicating that no valid values can be obtained. PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"` }
type QueryDetails ¶
type QueryDetails struct { // Initiating User // Note: This field may return null, indicating that no valid values can be obtained. Initiator *string `json:"Initiator,omitnil,omitempty" name:"Initiator"` // Access source address // // Note: This field may return null, indicating that no valid values can be obtained. SourceAddress *string `json:"SourceAddress,omitnil,omitempty" name:"SourceAddress"` // Initial request ID // Note: This field may return null, indicating that no valid values can be obtained. InitialRequestId *string `json:"InitialRequestId,omitnil,omitempty" name:"InitialRequestId"` // catalog name // Note: This field may return null, indicating that no valid values can be obtained. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // Database name // Note: This field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitnil,omitempty" name:"Database"` // SQL Type: 0 is non-query, 1 is query, -1 is unrestricted. // Note: This field may return null, indicating that no valid values can be obtained. SQLType *string `json:"SQLType,omitnil,omitempty" name:"SQLType"` // SQL statement // Note: This field may return null, indicating that no valid values can be obtained. SQLStatement *string `json:"SQLStatement,omitnil,omitempty" name:"SQLStatement"` // Execution start time // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Runtime (s) // Note: This field may return null, indicating that no valid values can be obtained. Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"` // The number of read rows // Note: This field may return null, indicating that no valid values can be obtained. RowsRead *uint64 `json:"RowsRead,omitnil,omitempty" name:"RowsRead"` // Read data volume (MB) // Note: This field may return null, indicating that no valid values can be obtained. DataRead *float64 `json:"DataRead,omitnil,omitempty" name:"DataRead"` // Memory usage (MB) // Note: This field may return null, indicating that no valid values can be obtained. MemoryUsage *float64 `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` }
type QueryTableDataRequest ¶
type QueryTableDataRequest struct { *tchttp.BaseRequest // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Table name Table *string `json:"Table,omitnil,omitempty" name:"Table"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Array of fields to be queried SelectedFields []*string `json:"SelectedFields,omitnil,omitempty" name:"SelectedFields"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewQueryTableDataRequest ¶
func NewQueryTableDataRequest() (request *QueryTableDataRequest)
func (*QueryTableDataRequest) FromJsonString ¶
func (r *QueryTableDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryTableDataRequest) ToJsonString ¶
func (r *QueryTableDataRequest) ToJsonString() string
type QueryTableDataRequestParams ¶
type QueryTableDataRequestParams struct { // Database name Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Table name Table *string `json:"Table,omitnil,omitempty" name:"Table"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Array of fields to be queried SelectedFields []*string `json:"SelectedFields,omitnil,omitempty" name:"SelectedFields"` // Page number, which is 1 by default. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of records per page, which is 10 by default. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Catalog name, defaults to 'internal' if not specified. CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type QueryTableDataResponse ¶
type QueryTableDataResponse struct { *tchttp.BaseResponse Response *QueryTableDataResponseParams `json:"Response"` }
func NewQueryTableDataResponse ¶
func NewQueryTableDataResponse() (response *QueryTableDataResponse)
func (*QueryTableDataResponse) FromJsonString ¶
func (r *QueryTableDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryTableDataResponse) ToJsonString ¶
func (r *QueryTableDataResponse) ToJsonString() string
type QueryTableDataResponseParams ¶
type QueryTableDataResponseParams struct { // Total records of query results TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Field name array of query results Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // Field type array of query results FieldTypes []*string `json:"FieldTypes,omitnil,omitempty" name:"FieldTypes"` // Returned data record array. Each element is an array, containing the value of the corresponding field. Rows []*Rows `json:"Rows,omitnil,omitempty" name:"Rows"` // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RangeInfo ¶
type RangeInfo struct { // Range partition type: // ●FIXED: Define the left closed and right open interval of the partition. // ●LESS THAN: Only define the upper bound of the partition. // ●BATCH RANGE: Batch create RANGE partitions of numeric and time types, define the left closed and right open intervals of the partitions, and set the step size. // // Note: This field may return null, indicating that no valid values can be obtained. RangeType *string `json:"RangeType,omitnil,omitempty" name:"RangeType"` // Partition name // Note: This field may return null, indicating that no valid values can be obtained. PartitionName *string `json:"PartitionName,omitnil,omitempty" name:"PartitionName"` // The left-closed interval of each partition column when RangeType is FIXED or BATCH RANGE // // Note: This field may return null, indicating that no valid values can be obtained. Left *string `json:"Left,omitnil,omitempty" name:"Left"` // The right open interval of each partition column when RangeType is FIXED or BATCH RANGE // // Note: This field may return null, indicating that no valid values can be obtained. Right *string `json:"Right,omitnil,omitempty" name:"Right"` // The upper bound of each partition column when RangeType is LESS THAN // // Note: This field may return null, indicating that no valid values can be obtained. Max *string `json:"Max,omitnil,omitempty" name:"Max"` // RangeType is the step size of BATCH RANGE // // Note: This field may return null, indicating that no valid values can be obtained. StepLength *int64 `json:"StepLength,omitnil,omitempty" name:"StepLength"` // Fill it in when RangeType is BATCH RANGE or automatic partitioning. It indicates the step size unit when the partition column is of time type. // ●YEAR: year // ●MONTH: month // ●WEEK: week // ●DAY: day // // Note: This field may return null, indicating that no valid values can be obtained. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` }
type RecoverBackUpJobRequest ¶
type RecoverBackUpJobRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` // Number of new table replicas recovered ReplicationNum *int64 `json:"ReplicationNum,omitnil,omitempty" name:"ReplicationNum"` // Whether to retain the configuration in the source table during recovery. 1 indicates that the configurations in the source table are retained. ReserveSourceConfig *int64 `json:"ReserveSourceConfig,omitnil,omitempty" name:"ReserveSourceConfig"` // 0: default; 1: cos recovery RecoverType *int64 `json:"RecoverType,omitnil,omitempty" name:"RecoverType"` // CosSourceInfo object CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` // 0: default; 1: regular execution ScheduleType *int64 `json:"ScheduleType,omitnil,omitempty" name:"ScheduleType"` // YY-MM-DD Hour : Minute : Second NextTime *string `json:"NextTime,omitnil,omitempty" name:"NextTime"` // Scheduling name ScheduleName *string `json:"ScheduleName,omitnil,omitempty" name:"ScheduleName"` // create update OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Recovery granularity: All, Database, and Table RecoverScope *string `json:"RecoverScope,omitnil,omitempty" name:"RecoverScope"` // Recover database: If you back up by database, this field is required. Use commas to separate databases. RecoverDatabase *string `json:"RecoverDatabase,omitnil,omitempty" name:"RecoverDatabase"` }
func NewRecoverBackUpJobRequest ¶
func NewRecoverBackUpJobRequest() (request *RecoverBackUpJobRequest)
func (*RecoverBackUpJobRequest) FromJsonString ¶
func (r *RecoverBackUpJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverBackUpJobRequest) ToJsonString ¶
func (r *RecoverBackUpJobRequest) ToJsonString() string
type RecoverBackUpJobRequestParams ¶
type RecoverBackUpJobRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Task ID BackUpJobId *int64 `json:"BackUpJobId,omitnil,omitempty" name:"BackUpJobId"` // Number of new table replicas recovered ReplicationNum *int64 `json:"ReplicationNum,omitnil,omitempty" name:"ReplicationNum"` // Whether to retain the configuration in the source table during recovery. 1 indicates that the configurations in the source table are retained. ReserveSourceConfig *int64 `json:"ReserveSourceConfig,omitnil,omitempty" name:"ReserveSourceConfig"` // 0: default; 1: cos recovery RecoverType *int64 `json:"RecoverType,omitnil,omitempty" name:"RecoverType"` // CosSourceInfo object CosSourceInfo *CosSourceInfo `json:"CosSourceInfo,omitnil,omitempty" name:"CosSourceInfo"` // 0: default; 1: regular execution ScheduleType *int64 `json:"ScheduleType,omitnil,omitempty" name:"ScheduleType"` // YY-MM-DD Hour : Minute : Second NextTime *string `json:"NextTime,omitnil,omitempty" name:"NextTime"` // Scheduling name ScheduleName *string `json:"ScheduleName,omitnil,omitempty" name:"ScheduleName"` // create update OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Recovery granularity: All, Database, and Table RecoverScope *string `json:"RecoverScope,omitnil,omitempty" name:"RecoverScope"` // Recover database: If you back up by database, this field is required. Use commas to separate databases. RecoverDatabase *string `json:"RecoverDatabase,omitnil,omitempty" name:"RecoverDatabase"` }
Predefined struct for user
type RecoverBackUpJobResponse ¶
type RecoverBackUpJobResponse struct { *tchttp.BaseResponse Response *RecoverBackUpJobResponseParams `json:"Response"` }
func NewRecoverBackUpJobResponse ¶
func NewRecoverBackUpJobResponse() (response *RecoverBackUpJobResponse)
func (*RecoverBackUpJobResponse) FromJsonString ¶
func (r *RecoverBackUpJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverBackUpJobResponse) ToJsonString ¶
func (r *RecoverBackUpJobResponse) ToJsonString() string
type RecoverBackUpJobResponseParams ¶
type RecoverBackUpJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ReduceInstanceRequest ¶
type ReduceInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node list DelHosts []*string `json:"DelHosts,omitnil,omitempty" name:"DelHosts"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // High availability cluster type after scale-in. 0: non-high availability; 1: read high availability; 2: read-write high availability HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
func NewReduceInstanceRequest ¶
func NewReduceInstanceRequest() (request *ReduceInstanceRequest)
func (*ReduceInstanceRequest) FromJsonString ¶
func (r *ReduceInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReduceInstanceRequest) ToJsonString ¶
func (r *ReduceInstanceRequest) ToJsonString() string
type ReduceInstanceRequestParams ¶
type ReduceInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node list DelHosts []*string `json:"DelHosts,omitnil,omitempty" name:"DelHosts"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // High availability cluster type after scale-in. 0: non-high availability; 1: read high availability; 2: read-write high availability HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
Predefined struct for user
type ReduceInstanceResponse ¶
type ReduceInstanceResponse struct { *tchttp.BaseResponse Response *ReduceInstanceResponseParams `json:"Response"` }
func NewReduceInstanceResponse ¶
func NewReduceInstanceResponse() (response *ReduceInstanceResponse)
func (*ReduceInstanceResponse) FromJsonString ¶
func (r *ReduceInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReduceInstanceResponse) ToJsonString ¶
func (r *ReduceInstanceResponse) ToJsonString() string
type ReduceInstanceResponseParams ¶
type ReduceInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegionAreaInfo ¶
type RegionAreaInfo struct { // Region category information, such as south_china, east_china, etc. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of the corresponding Name, such as South China, East China, etc. Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Specific region list 1 Regions []*RegionInfo `json:"Regions,omitnil,omitempty" name:"Regions"` }
type RegionInfo ¶
type RegionInfo struct { // Region name, such as ap-guangzhou Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Region description, such as Guangzhou Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Unique marker of region RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // List of all availability zones in the region // Note: This field may return null, indicating that no valid values can be obtained. Zones []*ZoneInfo `json:"Zones,omitnil,omitempty" name:"Zones"` // Number of clusters in the region Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 0 indicates the international site; 1 indicates not. // Note: This field may return null, indicating that no valid values can be obtained. IsInternationalSite *uint64 `json:"IsInternationalSite,omitnil,omitempty" name:"IsInternationalSite"` // Bucket // Note: This field may return null, indicating that no valid values can be obtained. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` }
type ResizeDiskRequest ¶
type ResizeDiskRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Cloud disk size DiskSize *uint64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
func NewResizeDiskRequest ¶
func NewResizeDiskRequest() (request *ResizeDiskRequest)
func (*ResizeDiskRequest) FromJsonString ¶
func (r *ResizeDiskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDiskRequest) ToJsonString ¶
func (r *ResizeDiskRequest) ToJsonString() string
type ResizeDiskRequestParams ¶
type ResizeDiskRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Cloud disk size DiskSize *uint64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
Predefined struct for user
type ResizeDiskResponse ¶
type ResizeDiskResponse struct { *tchttp.BaseResponse Response *ResizeDiskResponseParams `json:"Response"` }
func NewResizeDiskResponse ¶
func NewResizeDiskResponse() (response *ResizeDiskResponse)
func (*ResizeDiskResponse) FromJsonString ¶
func (r *ResizeDiskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDiskResponse) ToJsonString ¶
func (r *ResizeDiskResponse) ToJsonString() string
type ResizeDiskResponseParams ¶
type ResizeDiskResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResourceSpec ¶
type ResourceSpec struct { // Specification name, such as SCH1 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Number of CPU cores Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Memory size, in GB Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"` // Classification markers, STANDARD/BIGDATA/HIGHIO respectively represent standard type/big data type/high IO. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // System disk description information // Note: This field may return null, indicating that no valid values can be obtained. SystemDisk *DiskSpec `json:"SystemDisk,omitnil,omitempty" name:"SystemDisk"` // Data disk description information // Note: This field may return null, indicating that no valid values can be obtained. DataDisk *DiskSpec `json:"DataDisk,omitnil,omitempty" name:"DataDisk"` // Limit of the maximum number of nodes // Note: This field may return null, indicating that no valid values can be obtained. MaxNodeSize *int64 `json:"MaxNodeSize,omitnil,omitempty" name:"MaxNodeSize"` // Whether it is available. False indicates sell-out. // Note: This field may return null, indicating that no valid values can be obtained. Available *bool `json:"Available,omitnil,omitempty" name:"Available"` // Specification description information // Note: This field may return null, indicating that no valid values can be obtained. ComputeSpecDesc *string `json:"ComputeSpecDesc,omitnil,omitempty" name:"ComputeSpecDesc"` // CVM inventory // Note: This field may return null, indicating that no valid values can be obtained. InstanceQuota *int64 `json:"InstanceQuota,omitnil,omitempty" name:"InstanceQuota"` }
type RestartClusterForConfigsRequest ¶
type RestartClusterForConfigsRequest struct { *tchttp.BaseRequest // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // grace_restart is an elegant scrolling restart. If this parameter is not filled in, restart now by default. OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` }
func NewRestartClusterForConfigsRequest ¶
func NewRestartClusterForConfigsRequest() (request *RestartClusterForConfigsRequest)
func (*RestartClusterForConfigsRequest) FromJsonString ¶
func (r *RestartClusterForConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForConfigsRequest) ToJsonString ¶
func (r *RestartClusterForConfigsRequest) ToJsonString() string
type RestartClusterForConfigsRequestParams ¶
type RestartClusterForConfigsRequestParams struct { // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // grace_restart is an elegant scrolling restart. If this parameter is not filled in, restart now by default. OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` }
Predefined struct for user
type RestartClusterForConfigsResponse ¶
type RestartClusterForConfigsResponse struct { *tchttp.BaseResponse Response *RestartClusterForConfigsResponseParams `json:"Response"` }
func NewRestartClusterForConfigsResponse ¶
func NewRestartClusterForConfigsResponse() (response *RestartClusterForConfigsResponse)
func (*RestartClusterForConfigsResponse) FromJsonString ¶
func (r *RestartClusterForConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForConfigsResponse) ToJsonString ¶
func (r *RestartClusterForConfigsResponse) ToJsonString() string
type RestartClusterForConfigsResponseParams ¶
type RestartClusterForConfigsResponseParams struct { // Process related information FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RestartClusterForNodeRequest ¶
type RestartClusterForNodeRequest struct { *tchttp.BaseRequest // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Each batch of restarts BatchSize *int64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"` // Restart node NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"` // False means non-rolling restart, and true means rolling restart. RollingRestart *bool `json:"RollingRestart,omitnil,omitempty" name:"RollingRestart"` }
func NewRestartClusterForNodeRequest ¶
func NewRestartClusterForNodeRequest() (request *RestartClusterForNodeRequest)
func (*RestartClusterForNodeRequest) FromJsonString ¶
func (r *RestartClusterForNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForNodeRequest) ToJsonString ¶
func (r *RestartClusterForNodeRequest) ToJsonString() string
type RestartClusterForNodeRequestParams ¶
type RestartClusterForNodeRequestParams struct { // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Each batch of restarts BatchSize *int64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"` // Restart node NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"` // False means non-rolling restart, and true means rolling restart. RollingRestart *bool `json:"RollingRestart,omitnil,omitempty" name:"RollingRestart"` }
Predefined struct for user
type RestartClusterForNodeResponse ¶
type RestartClusterForNodeResponse struct { *tchttp.BaseResponse Response *RestartClusterForNodeResponseParams `json:"Response"` }
func NewRestartClusterForNodeResponse ¶
func NewRestartClusterForNodeResponse() (response *RestartClusterForNodeResponse)
func (*RestartClusterForNodeResponse) FromJsonString ¶
func (r *RestartClusterForNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForNodeResponse) ToJsonString ¶
func (r *RestartClusterForNodeResponse) ToJsonString() string
type RestartClusterForNodeResponseParams ¶
type RestartClusterForNodeResponseParams struct { // Process related information FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RestoreStatus ¶
type RestoreStatus struct { // Recover the task ID JobId *int64 `json:"JobId,omitnil,omitempty" name:"JobId"` // Recover the task tag Label *string `json:"Label,omitnil,omitempty" name:"Label"` // Recover the task timestamp Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Recover the database where the task is located DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Recover the task status State *string `json:"State,omitnil,omitempty" name:"State"` // Whether to allow import during recovery AllowLoad *bool `json:"AllowLoad,omitnil,omitempty" name:"AllowLoad"` // Number of replicas ReplicationNum *string `json:"ReplicationNum,omitnil,omitempty" name:"ReplicationNum"` // Number of replicas ReplicaAllocation *string `json:"ReplicaAllocation,omitnil,omitempty" name:"ReplicaAllocation"` // Recover object RestoreObjects *string `json:"RestoreObjects,omitnil,omitempty" name:"RestoreObjects"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Metadata preparation time MetaPreparedTime *string `json:"MetaPreparedTime,omitnil,omitempty" name:"MetaPreparedTime"` // Snapshot end time SnapshotFinishedTime *string `json:"SnapshotFinishedTime,omitnil,omitempty" name:"SnapshotFinishedTime"` // Download end time DownloadFinishedTime *string `json:"DownloadFinishedTime,omitnil,omitempty" name:"DownloadFinishedTime"` // End time FinishedTime *string `json:"FinishedTime,omitnil,omitempty" name:"FinishedTime"` // Unfinished tasks UnfinishedTasks *string `json:"UnfinishedTasks,omitnil,omitempty" name:"UnfinishedTasks"` // Progress Progress *string `json:"Progress,omitnil,omitempty" name:"Progress"` // Error message TaskErrMsg *string `json:"TaskErrMsg,omitnil,omitempty" name:"TaskErrMsg"` // Status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Operation timeout period Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // Whether to maintain the number of replicas in the source table ReserveReplica *bool `json:"ReserveReplica,omitnil,omitempty" name:"ReserveReplica"` // Whether to maintain dynamic partitions in the source table ReserveDynamicPartitionEnable *bool `json:"ReserveDynamicPartitionEnable,omitnil,omitempty" name:"ReserveDynamicPartitionEnable"` // Backup instance ID // Note: This field may return null, indicating that no valid values can be obtained. BackupJobId *int64 `json:"BackupJobId,omitnil,omitempty" name:"BackupJobId"` // ID of the snapshot corresponding to the instance // Note: This field may return null, indicating that no valid values can be obtained. TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
type Rows ¶
type Rows struct { // A row of data // Note: This field may return null, indicating that no valid values can be obtained. DataRow []*string `json:"DataRow,omitnil,omitempty" name:"DataRow"` }
type ScaleOutInstanceRequest ¶
type ScaleOutInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of nodes NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` // Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
func NewScaleOutInstanceRequest ¶
func NewScaleOutInstanceRequest() (request *ScaleOutInstanceRequest)
func (*ScaleOutInstanceRequest) FromJsonString ¶
func (r *ScaleOutInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutInstanceRequest) ToJsonString ¶
func (r *ScaleOutInstanceRequest) ToJsonString() string
type ScaleOutInstanceRequestParams ¶
type ScaleOutInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of nodes NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` // Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
Predefined struct for user
type ScaleOutInstanceResponse ¶
type ScaleOutInstanceResponse struct { *tchttp.BaseResponse Response *ScaleOutInstanceResponseParams `json:"Response"` }
func NewScaleOutInstanceResponse ¶
func NewScaleOutInstanceResponse() (response *ScaleOutInstanceResponse)
func (*ScaleOutInstanceResponse) FromJsonString ¶
func (r *ScaleOutInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutInstanceResponse) ToJsonString ¶
func (r *ScaleOutInstanceResponse) ToJsonString() string
type ScaleOutInstanceResponseParams ¶
type ScaleOutInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ScaleUpInstanceRequest ¶
type ScaleUpInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node specifications SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Role (MATER/CORE). MASTER corresponds to FE, and CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewScaleUpInstanceRequest ¶
func NewScaleUpInstanceRequest() (request *ScaleUpInstanceRequest)
func (*ScaleUpInstanceRequest) FromJsonString ¶
func (r *ScaleUpInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleUpInstanceRequest) ToJsonString ¶
func (r *ScaleUpInstanceRequest) ToJsonString() string
type ScaleUpInstanceRequestParams ¶
type ScaleUpInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node specifications SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Role (MATER/CORE). MASTER corresponds to FE, and CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type ScaleUpInstanceResponse ¶
type ScaleUpInstanceResponse struct { *tchttp.BaseResponse Response *ScaleUpInstanceResponseParams `json:"Response"` }
func NewScaleUpInstanceResponse ¶
func NewScaleUpInstanceResponse() (response *ScaleUpInstanceResponse)
func (*ScaleUpInstanceResponse) FromJsonString ¶
func (r *ScaleUpInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleUpInstanceResponse) ToJsonString ¶
func (r *ScaleUpInstanceResponse) ToJsonString() string
type ScaleUpInstanceResponseParams ¶
type ScaleUpInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchTags ¶
type SearchTags struct { // Tag key TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` // 1 means only the tag key is entered without a value, and 0 means both the key and the value are entered. AllValue *int64 `json:"AllValue,omitnil,omitempty" name:"AllValue"` }
type SlowQueryRecord ¶
type SlowQueryRecord struct { // User query OsUser *string `json:"OsUser,omitnil,omitempty" name:"OsUser"` // ID query InitialQueryId *string `json:"InitialQueryId,omitnil,omitempty" name:"InitialQueryId"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Start time QueryStartTime *string `json:"QueryStartTime,omitnil,omitempty" name:"QueryStartTime"` // Execution duration DurationMs *int64 `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // The number of read rows ReadRows *int64 `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Total number of read bytes ResultRows *int64 `json:"ResultRows,omitnil,omitempty" name:"ResultRows"` // Result bytes ResultBytes *uint64 `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Memory MemoryUsage *int64 `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // Initial query IP InitialAddress *string `json:"InitialAddress,omitnil,omitempty" name:"InitialAddress"` // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates query statement. // Note: This field may return null, indicating that no valid values can be obtained. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // MB format of ResultBytes // Note: This field may return null, indicating that no valid values can be obtained. ResultBytesMB *float64 `json:"ResultBytesMB,omitnil,omitempty" name:"ResultBytesMB"` // MemoryUsage, in MB // Note: This field may return null, indicating that no valid values can be obtained. MemoryUsageMB *float64 `json:"MemoryUsageMB,omitnil,omitempty" name:"MemoryUsageMB"` // DurationMs, in seconds // Note: This field may return null, indicating that no valid values can be obtained. DurationSec *float64 `json:"DurationSec,omitnil,omitempty" name:"DurationSec"` }
type TablePermissions ¶
type TablePermissions struct { // Full name of the table // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Table permission // Note: This field may return null, indicating that no valid values can be obtained. Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` }
type TablesDDL ¶
type TablesDDL struct { // Table name // // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // DDL statement for creating a table // // Note: This field may return null, indicating that no valid values can be obtained. DDLInfo *string `json:"DDLInfo,omitnil,omitempty" name:"DDLInfo"` }
type UpdateCoolDownRequest ¶
type UpdateCoolDownRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to enable. 0: disable; 1: enable. Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"` // Address of the COS bucket where the user stores layered hot and cold data Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` }
func NewUpdateCoolDownRequest ¶
func NewUpdateCoolDownRequest() (request *UpdateCoolDownRequest)
func (*UpdateCoolDownRequest) FromJsonString ¶
func (r *UpdateCoolDownRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCoolDownRequest) ToJsonString ¶
func (r *UpdateCoolDownRequest) ToJsonString() string
type UpdateCoolDownRequestParams ¶
type UpdateCoolDownRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Whether to enable. 0: disable; 1: enable. Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"` // Address of the COS bucket where the user stores layered hot and cold data Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` }
Predefined struct for user
type UpdateCoolDownResponse ¶
type UpdateCoolDownResponse struct { *tchttp.BaseResponse Response *UpdateCoolDownResponseParams `json:"Response"` }
func NewUpdateCoolDownResponse ¶
func NewUpdateCoolDownResponse() (response *UpdateCoolDownResponse)
func (*UpdateCoolDownResponse) FromJsonString ¶
func (r *UpdateCoolDownResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCoolDownResponse) ToJsonString ¶
func (r *UpdateCoolDownResponse) ToJsonString() string
type UpdateCoolDownResponseParams ¶
type UpdateCoolDownResponseParams struct { // Error message // // Note: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateDatabaseRequest ¶
type UpdateDatabaseRequest struct { *tchttp.BaseRequest // The database name to be modified DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES. Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES. Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Quota value, which is used to set the quota of data volume or replicas. Quota *string `json:"Quota,omitnil,omitempty" name:"Quota"` // New database name, used for renaming operation. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // Attribute key-value pair to be set Properties []*PropertiesMap `json:"Properties,omitnil,omitempty" name:"Properties"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // The name of the catalog, if left unspecified, defaults to "internal". CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewUpdateDatabaseRequest ¶
func NewUpdateDatabaseRequest() (request *UpdateDatabaseRequest)
func (*UpdateDatabaseRequest) FromJsonString ¶
func (r *UpdateDatabaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDatabaseRequest) ToJsonString ¶
func (r *UpdateDatabaseRequest) ToJsonString() string
type UpdateDatabaseRequestParams ¶
type UpdateDatabaseRequestParams struct { // The database name to be modified DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES. Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES. Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Quota value, which is used to set the quota of data volume or replicas. Quota *string `json:"Quota,omitnil,omitempty" name:"Quota"` // New database name, used for renaming operation. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // Attribute key-value pair to be set Properties []*PropertiesMap `json:"Properties,omitnil,omitempty" name:"Properties"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // The name of the catalog, if left unspecified, defaults to "internal". CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type UpdateDatabaseResponse ¶
type UpdateDatabaseResponse struct { *tchttp.BaseResponse Response *UpdateDatabaseResponseParams `json:"Response"` }
func NewUpdateDatabaseResponse ¶
func NewUpdateDatabaseResponse() (response *UpdateDatabaseResponse)
func (*UpdateDatabaseResponse) FromJsonString ¶
func (r *UpdateDatabaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDatabaseResponse) ToJsonString ¶
func (r *UpdateDatabaseResponse) ToJsonString() string
type UpdateDatabaseResponseParams ¶
type UpdateDatabaseResponseParams struct { // Whether the operation is successful Success *bool `json:"Success,omitnil,omitempty" name:"Success"` // Message description of the operation result Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateTableSchemaRequest ¶
type UpdateTableSchemaRequest struct { *tchttp.BaseRequest // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database name DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Column Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Bucket information Distribution *Distribution `json:"Distribution,omitnil,omitempty" name:"Distribution"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Index information. The inverted index and N-Gram index can be configured through this parameter. The Prefix index is related to the sort key and key column, and do not require additional configuration. Configure bloom_filter_columns in the table attribute when BloomFilter index is required. IndexInfos []*IndexInfo `json:"IndexInfos,omitnil,omitempty" name:"IndexInfos"` // Table description TableComment *string `json:"TableComment,omitnil,omitempty" name:"TableComment"` // Table attribute Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
func NewUpdateTableSchemaRequest ¶
func NewUpdateTableSchemaRequest() (request *UpdateTableSchemaRequest)
func (*UpdateTableSchemaRequest) FromJsonString ¶
func (r *UpdateTableSchemaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTableSchemaRequest) ToJsonString ¶
func (r *UpdateTableSchemaRequest) ToJsonString() string
type UpdateTableSchemaRequestParams ¶
type UpdateTableSchemaRequestParams struct { // Resource ID, which is the TCHouse-D resource ID used for table creation. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database name DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // Column Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Bucket information Distribution *Distribution `json:"Distribution,omitnil,omitempty" name:"Distribution"` // Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in. PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // Index information. The inverted index and N-Gram index can be configured through this parameter. The Prefix index is related to the sort key and key column, and do not require additional configuration. Configure bloom_filter_columns in the table attribute when BloomFilter index is required. IndexInfos []*IndexInfo `json:"IndexInfos,omitnil,omitempty" name:"IndexInfos"` // Table description TableComment *string `json:"TableComment,omitnil,omitempty" name:"TableComment"` // Table attribute Properties []*Property `json:"Properties,omitnil,omitempty" name:"Properties"` }
Predefined struct for user
type UpdateTableSchemaResponse ¶
type UpdateTableSchemaResponse struct { *tchttp.BaseResponse Response *UpdateTableSchemaResponseParams `json:"Response"` }
func NewUpdateTableSchemaResponse ¶
func NewUpdateTableSchemaResponse() (response *UpdateTableSchemaResponse)
func (*UpdateTableSchemaResponse) FromJsonString ¶
func (r *UpdateTableSchemaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTableSchemaResponse) ToJsonString ¶
func (r *UpdateTableSchemaResponse) ToJsonString() string
type UpdateTableSchemaResponseParams ¶
type UpdateTableSchemaResponseParams struct { // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Is it successful Success *bool `json:"Success,omitnil,omitempty" name:"Success"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateUserPrivileges ¶
type UpdateUserPrivileges struct { // Whether to set catalog permission IsSetGlobalCatalog *bool `json:"IsSetGlobalCatalog,omitnil,omitempty" name:"IsSetGlobalCatalog"` }
type UserInfo ¶
type UserInfo struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` // The IP address of the user link WhiteHost *string `json:"WhiteHost,omitnil,omitempty" name:"WhiteHost"` // IP address of the user link before modification OldWhiteHost *string `json:"OldWhiteHost,omitnil,omitempty" name:"OldWhiteHost"` // Description Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"` // Original password OldPwd *string `json:"OldPwd,omitnil,omitempty" name:"OldPwd"` // UIN of the bound sub-user CamUin *string `json:"CamUin,omitnil,omitempty" name:"CamUin"` // Ranger group id list CamRangerGroupIds []*int64 `json:"CamRangerGroupIds,omitnil,omitempty" name:"CamRangerGroupIds"` }
type UserWorkloadGroup ¶
type UserWorkloadGroup struct { // test // Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // normal // Note: This field may return null, indicating that no valid values can be obtained. WorkloadGroupName *string `json:"WorkloadGroupName,omitnil,omitempty" name:"WorkloadGroupName"` }
type WorkloadGroupConfig ¶
type WorkloadGroupConfig struct { // Resource group name // Note: This field may return null, indicating that no valid values can be obtained. WorkloadGroupName *string `json:"WorkloadGroupName,omitnil,omitempty" name:"WorkloadGroupName"` // Note: This field may return null, indicating that no valid values can be obtained. CpuShare *int64 `json:"CpuShare,omitnil,omitempty" name:"CpuShare"` // Memory limit. The sum of memory limit values of all resource groups should be less than or equal to 100. // Note: This field may return null, indicating that no valid values can be obtained. MemoryLimit *int64 `json:"MemoryLimit,omitnil,omitempty" name:"MemoryLimit"` // Whether to allow over-allocation // Note: This field may return null, indicating that no valid values can be obtained. EnableMemoryOverCommit *bool `json:"EnableMemoryOverCommit,omitnil,omitempty" name:"EnableMemoryOverCommit"` // CPU hard limit // Note: This field may return null, indicating that no valid values can be obtained. CpuHardLimit *string `json:"CpuHardLimit,omitnil,omitempty" name:"CpuHardLimit"` }
type ZoneInfo ¶
type ZoneInfo struct { // Availability zone name, such as ap-guangzhou-1 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Availability zone description, such as Guangzhou region 1 Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Unique tag of the availability zone ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Encryptid // Note: This field may return null, indicating that no valid values can be obtained. Encrypt *int64 `json:"Encrypt,omitnil,omitempty" name:"Encrypt"` }