Documentation
¶
Index ¶
- Constants
- type Apis
- type Dcs2AddValueApi
- type Dcs2AddValueRequest
- type Dcs2AddValueResponse
- type Dcs2AddValueReturnObjResponse
- type Dcs2AddValueReturnObjRowsResponse
- type Dcs2AddValueReturnObjRowsValueMapResponse
- type Dcs2AsyncExportInstancesApi
- type Dcs2AsyncExportInstancesRequest
- type Dcs2AsyncExportInstancesResponse
- type Dcs2AsyncExportInstancesReturnObjResponse
- type Dcs2AutoScanExpiredKeysApi
- type Dcs2AutoScanExpiredKeysRequest
- type Dcs2AutoScanExpiredKeysResponse
- type Dcs2AutoScanExpiredKeysReturnObjResponse
- type Dcs2BatchAddLabelApi
- type Dcs2BatchAddLabelLabelKVListRequest
- type Dcs2BatchAddLabelRequest
- type Dcs2BatchAddLabelResponse
- type Dcs2BatchAddLabelReturnObjResponse
- type Dcs2BatchRestartVmApi
- type Dcs2BatchRestartVmRequest
- type Dcs2BatchRestartVmResponse
- type Dcs2BatchRestartVmReturnObjResponse
- type Dcs2BindElasticIPApi
- type Dcs2BindElasticIPRequest
- type Dcs2BindElasticIPResponse
- type Dcs2BindElasticIPReturnObjResponse
- type Dcs2ChangeAutoRenewStatusApi
- type Dcs2ChangeAutoRenewStatusRequest
- type Dcs2ChangeAutoRenewStatusResponse
- type Dcs2ChangeAutoRenewStatusReturnObjResponse
- type Dcs2CheckInstanceOperateApi
- type Dcs2CheckInstanceOperateRequest
- type Dcs2CheckInstanceOperateResponse
- type Dcs2CheckInstanceOperateReturnObjResponse
- type Dcs2CheckInstanceProdModifyApi
- type Dcs2CheckInstanceProdModifyRequest
- type Dcs2CheckInstanceProdModifyResponse
- type Dcs2CheckInstanceProdModifyReturnObjResponse
- type Dcs2CloseAutoScaleApi
- type Dcs2CloseAutoScaleRequest
- type Dcs2CloseAutoScaleResponse
- type Dcs2CloseAutoScaleReturnObjResponse
- type Dcs2ConfigAutoRetryTypeApi
- type Dcs2ConfigAutoRetryTypeRequest
- type Dcs2ConfigAutoRetryTypeResponse
- type Dcs2ConfigAutoRetryTypeReturnObjResponse
- type Dcs2CreateAccountApi
- type Dcs2CreateAccountRequest
- type Dcs2CreateAccountResponse
- type Dcs2CreateAccountReturnObjResponse
- type Dcs2CreateBackupApi
- type Dcs2CreateBackupRequest
- type Dcs2CreateBackupResponse
- type Dcs2CreateBackupReturnObjResponse
- type Dcs2CreateDbGroupApi
- type Dcs2CreateDbGroupRequest
- type Dcs2CreateDbGroupResponse
- type Dcs2CreateDbGroupReturnObjResponse
- type Dcs2CreateInstanceApi
- type Dcs2CreateInstanceRequest
- type Dcs2CreateInstanceResponse
- type Dcs2CreateInstanceReturnObjResponse
- type Dcs2CreateRedisTemplateApi
- type Dcs2CreateRedisTemplateParamsRequest
- type Dcs2CreateRedisTemplateRequest
- type Dcs2CreateRedisTemplateResponse
- type Dcs2CreateRedisTemplateReturnObjResponse
- type Dcs2CreateTransferTaskApi
- type Dcs2CreateTransferTaskRequest
- type Dcs2CreateTransferTaskResponse
- type Dcs2CreateTransferTaskReturnObjResponse
- type Dcs2CreateTransferTaskSourceDbInfoRequest
- type Dcs2CreateTransferTaskTargetDbInfoRequest
- type Dcs2DelAnalysisInstanceTaskApi
- type Dcs2DelAnalysisInstanceTaskRequest
- type Dcs2DelAnalysisInstanceTaskResponse
- type Dcs2DelAnalysisInstanceTaskReturnObjResponse
- type Dcs2DelTasksApi
- type Dcs2DelTasksRequest
- type Dcs2DelTasksResponse
- type Dcs2DelTasksReturnObjResponse
- type Dcs2DeleteAccountApi
- type Dcs2DeleteAccountRequest
- type Dcs2DeleteAccountResponse
- type Dcs2DeleteAccountReturnObjResponse
- type Dcs2DeleteBackupApi
- type Dcs2DeleteBackupRequest
- type Dcs2DeleteBackupResponse
- type Dcs2DeleteBackupReturnObjResponse
- type Dcs2DeleteBigKeyTaskApi
- type Dcs2DeleteBigKeyTaskRequest
- type Dcs2DeleteBigKeyTaskResponse
- type Dcs2DeleteDbGroupApi
- type Dcs2DeleteDbGroupRequest
- type Dcs2DeleteDbGroupResponse
- type Dcs2DeleteHotKeyTaskApi
- type Dcs2DeleteHotKeyTaskRequest
- type Dcs2DeleteHotKeyTaskResponse
- type Dcs2DeleteInstanceApi
- type Dcs2DeleteInstanceRequest
- type Dcs2DeleteInstanceResponse
- type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse
- type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsResponse
- type Dcs2DeleteInstanceReturnObjResponse
- type Dcs2DeleteInstancesApi
- type Dcs2DeleteInstancesRequest
- type Dcs2DeleteInstancesResponse
- type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse
- type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsResponse
- type Dcs2DeleteInstancesReturnObjResponse
- type Dcs2DeleteKeyApi
- type Dcs2DeleteKeyRequest
- type Dcs2DeleteKeyResponse
- type Dcs2DeleteKeyReturnObjResponse
- type Dcs2DeleteOffLineKeyAnalysisTaskInfoApi
- type Dcs2DeleteOffLineKeyAnalysisTaskInfoRequest
- type Dcs2DeleteOffLineKeyAnalysisTaskInfoResponse
- type Dcs2DeleteOffLineKeyAnalysisTaskInfoReturnObjResponse
- type Dcs2DeleteRedisTemplateApi
- type Dcs2DeleteRedisTemplateRequest
- type Dcs2DeleteRedisTemplateResponse
- type Dcs2DeleteRedisTemplateReturnObjResponse
- type Dcs2DeleteTransferTaskApi
- type Dcs2DeleteTransferTaskRequest
- type Dcs2DeleteTransferTaskResponse
- type Dcs2DeleteTransferTaskReturnObjResponse
- type Dcs2DeleteValueApi
- type Dcs2DeleteValueRequest
- type Dcs2DeleteValueResponse
- type Dcs2DeleteValueReturnObjResponse
- type Dcs2DeleteValueReturnObjRowsResponse
- type Dcs2DeleteValueReturnObjRowsValueMapResponse
- type Dcs2DescribeAccountsApi
- type Dcs2DescribeAccountsRequest
- type Dcs2DescribeAccountsResponse
- type Dcs2DescribeAccountsReturnObjResponse
- type Dcs2DescribeAccountsReturnObjRowsResponse
- type Dcs2DescribeAvailableRegionApi
- type Dcs2DescribeAvailableRegionRequest
- type Dcs2DescribeAvailableRegionResponse
- type Dcs2DescribeAvailableRegionReturnObjProductsResponse
- type Dcs2DescribeAvailableRegionReturnObjResponse
- type Dcs2DescribeAvailableResourceApi
- type Dcs2DescribeAvailableResourceRequest
- type Dcs2DescribeAvailableResourceResponse
- type Dcs2DescribeAvailableResourceReturnObjMirrorArrayResponse
- type Dcs2DescribeAvailableResourceReturnObjResponse
- type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResItemsResponse
- type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResponse
- type Dcs2DescribeBackupPolicyApi
- type Dcs2DescribeBackupPolicyRequest
- type Dcs2DescribeBackupPolicyResponse
- type Dcs2DescribeBackupPolicyReturnObjResponse
- type Dcs2DescribeBackupTasksApi
- type Dcs2DescribeBackupTasksRequest
- type Dcs2DescribeBackupTasksResponse
- type Dcs2DescribeBackupTasksReturnObjResponse
- type Dcs2DescribeBackupsApi
- type Dcs2DescribeBackupsRequest
- type Dcs2DescribeBackupsResponse
- type Dcs2DescribeBackupsReturnObjResponse
- type Dcs2DescribeBackupsReturnObjRowsResponse
- type Dcs2DescribeBigAndHotKeysApi
- type Dcs2DescribeBigAndHotKeysRequest
- type Dcs2DescribeBigAndHotKeysResponse
- type Dcs2DescribeBigAndHotKeysReturnObjResponse
- type Dcs2DescribeBigKeyTasksApi
- type Dcs2DescribeBigKeyTasksRequest
- type Dcs2DescribeBigKeyTasksResponse
- type Dcs2DescribeBigKeyTasksReturnObjResponse
- type Dcs2DescribeBigKeyTasksReturnObjRowsKeyNodesResponse
- type Dcs2DescribeBigKeyTasksReturnObjRowsResponse
- type Dcs2DescribeClusterMemberInfoApi
- type Dcs2DescribeClusterMemberInfoRequest
- type Dcs2DescribeClusterMemberInfoResponse
- type Dcs2DescribeClusterMemberInfoRowsNodesResponse
- type Dcs2DescribeClusterMemberInfoRowsNodesSlaveNodesResponse
- type Dcs2DescribeClusterMemberInfoRowsResponse
- type Dcs2DescribeCycleBinInstancesApi
- type Dcs2DescribeCycleBinInstancesRequest
- type Dcs2DescribeCycleBinInstancesResponse
- type Dcs2DescribeCycleBinInstancesReturnObjResponse
- type Dcs2DescribeCycleBinInstancesReturnObjRowsAzListResponse
- type Dcs2DescribeCycleBinInstancesReturnObjRowsLabelsResponse
- type Dcs2DescribeCycleBinInstancesReturnObjRowsResponse
- type Dcs2DescribeDBInstanceNetInfoApi
- type Dcs2DescribeDBInstanceNetInfoRequest
- type Dcs2DescribeDBInstanceNetInfoResponse
- type Dcs2DescribeDBInstanceNetInfoReturnObjResponse
- type Dcs2DescribeDbGroupApi
- type Dcs2DescribeDbGroupRequest
- type Dcs2DescribeDbGroupResponse
- type Dcs2DescribeDbGroupReturnObjResponse
- type Dcs2DescribeDbGroupReturnObjRowsResponse
- type Dcs2DescribeDbGroupsApi
- type Dcs2DescribeDbGroupsRequest
- type Dcs2DescribeDbGroupsResponse
- type Dcs2DescribeDbGroupsReturnObjResponse
- type Dcs2DescribeDbGroupsReturnObjRowsResponse
- type Dcs2DescribeDbKeyCountApi
- type Dcs2DescribeDbKeyCountRequest
- type Dcs2DescribeDbKeyCountResponse
- type Dcs2DescribeDbKeyCountReturnObjResponse
- type Dcs2DescribeDbKeyCountReturnObjRowsResponse
- type Dcs2DescribeDedicatedClusterInstanceListApi
- type Dcs2DescribeDedicatedClusterInstanceListRequest
- type Dcs2DescribeDedicatedClusterInstanceListResponse
- type Dcs2DescribeDedicatedClusterInstanceListReturnObjResponse
- type Dcs2DescribeDedicatedClusterInstanceListReturnObjRowsResponse
- type Dcs2DescribeEngineVersionApi
- type Dcs2DescribeEngineVersionRequest
- type Dcs2DescribeEngineVersionResponse
- type Dcs2DescribeHistoryMonitorItemsApi
- type Dcs2DescribeHistoryMonitorItemsRequest
- type Dcs2DescribeHistoryMonitorItemsResponse
- type Dcs2DescribeHistoryMonitorItemsReturnObjResponse
- type Dcs2DescribeHotKeyTasksApi
- type Dcs2DescribeHotKeyTasksRequest
- type Dcs2DescribeHotKeyTasksResponse
- type Dcs2DescribeHotKeyTasksReturnObjResponse
- type Dcs2DescribeHotKeyTasksReturnObjRowsResponse
- type Dcs2DescribeHotKeysApi
- type Dcs2DescribeHotKeysRequest
- type Dcs2DescribeHotKeysResponse
- type Dcs2DescribeHotKeysReturnObjResponse
- type Dcs2DescribeInstanceConfigApi
- type Dcs2DescribeInstanceConfigRequest
- type Dcs2DescribeInstanceConfigResponse
- type Dcs2DescribeInstanceConfigV2Api
- type Dcs2DescribeInstanceConfigV2Request
- type Dcs2DescribeInstanceConfigV2Response
- type Dcs2DescribeInstanceConfigV2ReturnObjResponse
- type Dcs2DescribeInstanceHistoryMonitorValuesApi
- type Dcs2DescribeInstanceHistoryMonitorValuesRequest
- type Dcs2DescribeInstanceHistoryMonitorValuesResponse
- type Dcs2DescribeInstanceHistoryMonitorValuesReturnObjResponse
- type Dcs2DescribeInstanceMaintainTimeApi
- type Dcs2DescribeInstanceMaintainTimeRequest
- type Dcs2DescribeInstanceMaintainTimeResponse
- type Dcs2DescribeInstanceMaintainTimeReturnObjResponse
- type Dcs2DescribeInstanceSSLApi
- type Dcs2DescribeInstanceSSLRequest
- type Dcs2DescribeInstanceSSLResponse
- type Dcs2DescribeInstanceSSLReturnObjResponse
- type Dcs2DescribeInstanceStrategyApi
- type Dcs2DescribeInstanceStrategyRequest
- type Dcs2DescribeInstanceStrategyResponse
- type Dcs2DescribeInstanceStrategyReturnObjResponse
- type Dcs2DescribeInstanceVersionApi
- type Dcs2DescribeInstanceVersionRequest
- type Dcs2DescribeInstanceVersionResponse
- type Dcs2DescribeInstanceVersionReturnObjEngineMajorVersionInfoResponse
- type Dcs2DescribeInstanceVersionReturnObjEngineMinorVersionInfoResponse
- type Dcs2DescribeInstanceVersionReturnObjProxyVersionInfoResponse
- type Dcs2DescribeInstanceVersionReturnObjResponse
- type Dcs2DescribeInstancesApi
- type Dcs2DescribeInstancesClusterMemberInfoApi
- type Dcs2DescribeInstancesClusterMemberInfoRequest
- type Dcs2DescribeInstancesClusterMemberInfoResponse
- type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesResponse
- type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsNodesResponse
- type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsResponse
- type Dcs2DescribeInstancesClusterMemberInfoReturnObjResponse
- type Dcs2DescribeInstancesOverviewApi
- type Dcs2DescribeInstancesOverviewRequest
- type Dcs2DescribeInstancesOverviewResponse
- type Dcs2DescribeInstancesOverviewReturnObjNodesResponse
- type Dcs2DescribeInstancesOverviewReturnObjNodesSlaveNodesResponse
- type Dcs2DescribeInstancesOverviewReturnObjResponse
- type Dcs2DescribeInstancesOverviewReturnObjRowsResponse
- type Dcs2DescribeInstancesOverviewReturnObjUserInfoAzListResponse
- type Dcs2DescribeInstancesOverviewReturnObjUserInfoResponse
- type Dcs2DescribeInstancesRequest
- type Dcs2DescribeInstancesResponse
- type Dcs2DescribeInstancesReturnObjResponse
- type Dcs2DescribeInstancesReturnObjRowsAzListResponse
- type Dcs2DescribeInstancesReturnObjRowsLabelsResponse
- type Dcs2DescribeInstancesReturnObjRowsResponse
- type Dcs2DescribeKeyTaskRecordApi
- type Dcs2DescribeKeyTaskRecordRequest
- type Dcs2DescribeKeyTaskRecordResponse
- type Dcs2DescribeKeyTaskRecordReturnObjKeyNodesResponse
- type Dcs2DescribeKeyTaskRecordReturnObjResponse
- type Dcs2DescribeLogicInstanceTopologyApi
- type Dcs2DescribeLogicInstanceTopologyRequest
- type Dcs2DescribeLogicInstanceTopologyResponse
- type Dcs2DescribeLogicInstanceTopologyReturnObjAccessNodesResponse
- type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesResponse
- type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesSlavesResponse
- type Dcs2DescribeLogicInstanceTopologyReturnObjResponse
- type Dcs2DescribeMemoryInfoApi
- type Dcs2DescribeMemoryInfoRequest
- type Dcs2DescribeMemoryInfoResponse
- type Dcs2DescribeMemoryInfoReturnObjResponse
- type Dcs2DescribeNodeHistoryMonitorValuesApi
- type Dcs2DescribeNodeHistoryMonitorValuesRequest
- type Dcs2DescribeNodeHistoryMonitorValuesResponse
- type Dcs2DescribeNodeHistoryMonitorValuesReturnObjResponse
- type Dcs2DescribeNodeMonitorItemsApi
- type Dcs2DescribeNodeMonitorItemsRequest
- type Dcs2DescribeNodeMonitorItemsResponse
- type Dcs2DescribeNodeMonitorItemsReturnObjResponse
- type Dcs2DescribeNodeMonitorValuesApi
- type Dcs2DescribeNodeMonitorValuesRequest
- type Dcs2DescribeNodeMonitorValuesResponse
- type Dcs2DescribeNodeMonitorValuesReturnObjResponse
- type Dcs2DescribeNodeMonitorValuesReturnObjRowsMetricResponse
- type Dcs2DescribeNodeMonitorValuesReturnObjRowsResponse
- type Dcs2DescribeNodeMonitorValuesReturnObjRowsValuesResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoApi
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoRequest
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLargestKeyPrefixesResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLenLevelCountResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeBytesResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeNumResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskListApi
- type Dcs2DescribeOffLineKeyAnalysisTaskListRequest
- type Dcs2DescribeOffLineKeyAnalysisTaskListResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjResponse
- type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjRowsResponse
- type Dcs2DescribeParameterModificationHistoryApi
- type Dcs2DescribeParameterModificationHistoryRequest
- type Dcs2DescribeParameterModificationHistoryResponse
- type Dcs2DescribeParameterModificationHistoryReturnObjResponse
- type Dcs2DescribeParameterModificationHistoryReturnObjRowsResponse
- type Dcs2DescribePriceApi
- type Dcs2DescribePriceRequest
- type Dcs2DescribePriceResponse
- type Dcs2DescribePriceReturnObjResponse
- type Dcs2DescribePriceReturnObjSubOrderPricesOrderItemPricesResponse
- type Dcs2DescribePriceReturnObjSubOrderPricesResponse
- type Dcs2DescribeRedisTemplateApi
- type Dcs2DescribeRedisTemplateDetailApi
- type Dcs2DescribeRedisTemplateDetailRequest
- type Dcs2DescribeRedisTemplateDetailResponse
- type Dcs2DescribeRedisTemplateDetailReturnObjParamsResponse
- type Dcs2DescribeRedisTemplateDetailReturnObjResponse
- type Dcs2DescribeRedisTemplateDetailReturnObjTemplateResponse
- type Dcs2DescribeRedisTemplateRequest
- type Dcs2DescribeRedisTemplateResponse
- type Dcs2DescribeRedisTemplateReturnObjListResponse
- type Dcs2DescribeRedisTemplateReturnObjResponse
- type Dcs2DescribeRunningLogRecordsApi
- type Dcs2DescribeRunningLogRecordsRequest
- type Dcs2DescribeRunningLogRecordsResponse
- type Dcs2DescribeRunningLogRecordsReturnObjResponse
- type Dcs2DescribeRunningLogRecordsReturnObjRowsResponse
- type Dcs2DescribeSecurityIpsApi
- type Dcs2DescribeSecurityIpsRequest
- type Dcs2DescribeSecurityIpsResponse
- type Dcs2DescribeSecurityIpsReturnObjResponse
- type Dcs2DescribeSecurityIpsReturnObjRowsResponse
- type Dcs2DescribeTopBigKeysApi
- type Dcs2DescribeTopBigKeysPolicyApi
- type Dcs2DescribeTopBigKeysPolicyRequest
- type Dcs2DescribeTopBigKeysPolicyResponse
- type Dcs2DescribeTopBigKeysPolicyReturnObjResponse
- type Dcs2DescribeTopBigKeysRequest
- type Dcs2DescribeTopBigKeysResponse
- type Dcs2DescribeTopBigKeysReturnObjResponse
- type Dcs2DescribeTopHotKeysPolicyApi
- type Dcs2DescribeTopHotKeysPolicyRequest
- type Dcs2DescribeTopHotKeysPolicyResponse
- type Dcs2DescribeTopHotKeysPolicyReturnObjResponse
- type Dcs2DescribeTopSlowLogRecoredsApi
- type Dcs2DescribeTopSlowLogRecoredsRequest
- type Dcs2DescribeTopSlowLogRecoredsResponse
- type Dcs2DescribeTopSlowLogRecoredsReturnObjResponse
- type Dcs2DescribeTopSlowLogRecoredsReturnObjRowsResponse
- type Dcs2DestroyInstanceApi
- type Dcs2DestroyInstanceRequest
- type Dcs2DestroyInstanceResponse
- type Dcs2DestroyInstanceReturnObjOrderPlacedEventsResponse
- type Dcs2DestroyInstanceReturnObjResponse
- type Dcs2DisableRenameCommandV2Api
- type Dcs2DisableRenameCommandV2Request
- type Dcs2DisableRenameCommandV2Response
- type Dcs2DoAnalysisInstanceTasksApi
- type Dcs2DoAnalysisInstanceTasksRequest
- type Dcs2DoAnalysisInstanceTasksResponse
- type Dcs2DoAnalysisInstanceTasksReturnObjResponse
- type Dcs2DownloadRedisRunLogApi
- type Dcs2DownloadRedisRunLogRequest
- type Dcs2DownloadRedisRunLogResponse
- type Dcs2DownloadRedisRunLogReturnObjResponse
- type Dcs2DownloadSslCertApi
- type Dcs2DownloadSslCertRequest
- type Dcs2DownloadSslCertResponse
- type Dcs2DownloadSslCertReturnObjResponse
- type Dcs2EditRedisTemplateApi
- type Dcs2EditRedisTemplateParamsRequest
- type Dcs2EditRedisTemplateRequest
- type Dcs2EditRedisTemplateResponse
- type Dcs2EditRedisTemplateReturnObjResponse
- type Dcs2EditRedisTemplateTemplateRequest
- type Dcs2EnableRWSepApi
- type Dcs2EnableRWSepRequest
- type Dcs2EnableRWSepResponse
- type Dcs2EnableRWSepReturnObjResponse
- type Dcs2EnableRenameCommandApi
- type Dcs2EnableRenameCommandRenameCommandsRequest
- type Dcs2EnableRenameCommandRequest
- type Dcs2EnableRenameCommandResponse
- type Dcs2EnableRenameCommandReturnObjResponse
- type Dcs2EnableRenameCommandV2Api
- type Dcs2EnableRenameCommandV2Request
- type Dcs2EnableRenameCommandV2Response
- type Dcs2EnableRenameCommandV2ReturnObjResponse
- type Dcs2ExchangeVipApi
- type Dcs2ExchangeVipRequest
- type Dcs2ExchangeVipResponse
- type Dcs2ExchangeVipReturnObjResponse
- type Dcs2ExcuteCommandApi
- type Dcs2ExcuteCommandRequest
- type Dcs2ExcuteCommandResponse
- type Dcs2ExcuteCommandReturnObjResponse
- type Dcs2ExcuteCommandReturnObjResultVOResponse
- type Dcs2ExecuteOffLineKeyAnalysisTaskApi
- type Dcs2ExecuteOffLineKeyAnalysisTaskRequest
- type Dcs2ExecuteOffLineKeyAnalysisTaskResponse
- type Dcs2ExecuteOffLineKeyAnalysisTaskReturnObjResponse
- type Dcs2FaultRecoveryApi
- type Dcs2FaultRecoveryRequest
- type Dcs2FaultRecoveryResponse
- type Dcs2FaultRecoveryReturnObjResponse
- type Dcs2FindHistoryBigAndHotKeyApi
- type Dcs2FindHistoryBigAndHotKeyRequest
- type Dcs2FindHistoryBigAndHotKeyResponse
- type Dcs2FindHistoryBigAndHotKeyReturnObjResponse
- type Dcs2FindHistorySlowLogApi
- type Dcs2FindHistorySlowLogRequest
- type Dcs2FindHistorySlowLogResponse
- type Dcs2FindHistorySlowLogReturnObjResponse
- type Dcs2FlushDataApi
- type Dcs2FlushDataRequest
- type Dcs2FlushDataResponse
- type Dcs2FlushDataReturnObjResponse
- type Dcs2FlushDbGroupDataApi
- type Dcs2FlushDbGroupDataRequest
- type Dcs2FlushDbGroupDataResponse
- type Dcs2FlushDbGroupDataReturnObjResponse
- type Dcs2FlushExpireKeysApi
- type Dcs2FlushExpireKeysRequest
- type Dcs2FlushExpireKeysResponse
- type Dcs2FlushExpireKeysReturnObjResponse
- type Dcs2GetClientIPInfoApi
- type Dcs2GetClientIPInfoRequest
- type Dcs2GetClientIPInfoResponse
- type Dcs2GetClientIPInfoReturnObjClientInfoListResponse
- type Dcs2GetClientIPInfoReturnObjClientmapResponse
- type Dcs2GetClientIPInfoReturnObjCmdmapResponse
- type Dcs2GetClientIPInfoReturnObjDbmapResponse
- type Dcs2GetClientIPInfoReturnObjResponse
- type Dcs2GetClientMapApi
- type Dcs2GetClientMapRequest
- type Dcs2GetClientMapResponse
- type Dcs2GetClientMapReturnObjResponse
- type Dcs2GetKeyMisslogApi
- type Dcs2GetKeyMisslogRequest
- type Dcs2GetKeyMisslogResponse
- type Dcs2GetKeyMisslogReturnObjResponse
- type Dcs2GetLabelListByResourcesApi
- type Dcs2GetLabelListByResourcesRequest
- type Dcs2GetLabelListByResourcesResponse
- type Dcs2GetLabelListByResourcesReturnObjResponse
- type Dcs2GetLabelListByResourcesReturnObjRowsProdResourceIdListResponse
- type Dcs2GetLabelListByResourcesReturnObjRowsResponse
- type Dcs2GetRdbDownLoadUrlApi
- type Dcs2GetRdbDownLoadUrlRequest
- type Dcs2GetRdbDownLoadUrlResponse
- type Dcs2GetRdbDownLoadUrlReturnObjResponse
- type Dcs2GetRedisNodeListApi
- type Dcs2GetRedisNodeListRequest
- type Dcs2GetRedisNodeListResponse
- type Dcs2GetRedisNodeListReturnObjResponse
- type Dcs2GetRedisNodeListReturnObjRowsResponse
- type Dcs2GetTaskInfoApi
- type Dcs2GetTaskInfoRequest
- type Dcs2GetTaskInfoResponse
- type Dcs2GetTaskProgressDetailInfoApi
- type Dcs2GetTaskProgressDetailInfoRequest
- type Dcs2GetTaskProgressDetailInfoResponse
- type Dcs2GetTaskProgressDetailInfoReturnObjDataSyncCountInfoResponse
- type Dcs2GetTaskProgressDetailInfoReturnObjResponse
- type Dcs2GetTaskProgressDetailInfoReturnObjSourceProgressInfoListResponse
- type Dcs2GetTransferTaskInfoApi
- type Dcs2GetTransferTaskInfoRequest
- type Dcs2GetTransferTaskInfoResponse
- type Dcs2GetTransferTaskInfoReturnObjDetailResponse
- type Dcs2GetTransferTaskInfoReturnObjDetailSourceDbInfoResponse
- type Dcs2GetTransferTaskInfoReturnObjDetailTargetDbInfoResponse
- type Dcs2GetTransferTaskInfoReturnObjResponse
- type Dcs2GetZonesApi
- type Dcs2GetZonesRequest
- type Dcs2GetZonesResponse
- type Dcs2GetZonesReturnObjResponse
- type Dcs2GetZonesReturnObjZoneListResponse
- type Dcs2GrantAccountPrivilegeApi
- type Dcs2GrantAccountPrivilegeRequest
- type Dcs2GrantAccountPrivilegeResponse
- type Dcs2GrantAccountPrivilegeReturnObjResponse
- type Dcs2HostDownFaultInjectApi
- type Dcs2HostDownFaultInjectNodesRequest
- type Dcs2HostDownFaultInjectRequest
- type Dcs2HostDownFaultInjectResponse
- type Dcs2HostDownFaultInjectReturnObjResponse
- type Dcs2HostTypeFaultInjectApi
- type Dcs2HostTypeFaultInjectNodesRequest
- type Dcs2HostTypeFaultInjectRequest
- type Dcs2HostTypeFaultInjectResponse
- type Dcs2HostTypeFaultInjectReturnObjResponse
- type Dcs2KillSelectedClientApi
- type Dcs2KillSelectedClientRequest
- type Dcs2KillSelectedClientResponse
- type Dcs2KillSelectedClientReturnObjResponse
- type Dcs2ListInstanceExperimentsApi
- type Dcs2ListInstanceExperimentsRequest
- type Dcs2ListInstanceExperimentsResponse
- type Dcs2ListInstanceExperimentsReturnObjResponse
- type Dcs2ListTaskInfoApi
- type Dcs2ListTaskInfoRequest
- type Dcs2ListTaskInfoResponse
- type Dcs2ListTaskInfoReturnObjResponse
- type Dcs2ListTasksApi
- type Dcs2ListTasksConditionRequest
- type Dcs2ListTasksRequest
- type Dcs2ListTasksResponse
- type Dcs2ListTasksReturnObjResponse
- type Dcs2LockDBInstanceWriteApi
- type Dcs2LockDBInstanceWriteRequest
- type Dcs2LockDBInstanceWriteResponse
- type Dcs2LockDBInstanceWriteReturnObjResponse
- type Dcs2ModifyAccountDescriptionApi
- type Dcs2ModifyAccountDescriptionRequest
- type Dcs2ModifyAccountDescriptionResponse
- type Dcs2ModifyAccountDescriptionReturnObjResponse
- type Dcs2ModifyAccountPasswordApi
- type Dcs2ModifyAccountPasswordRequest
- type Dcs2ModifyAccountPasswordResponse
- type Dcs2ModifyAccountPasswordReturnObjResponse
- type Dcs2ModifyBackupPolicyApi
- type Dcs2ModifyBackupPolicyRequest
- type Dcs2ModifyBackupPolicyResponse
- type Dcs2ModifyBigKeyPolicyApi
- type Dcs2ModifyBigKeyPolicyRequest
- type Dcs2ModifyBigKeyPolicyResponse
- type Dcs2ModifyBigKeyPolicyReturnObjResponse
- type Dcs2ModifyHotKeyPolicyApi
- type Dcs2ModifyHotKeyPolicyRequest
- type Dcs2ModifyHotKeyPolicyResponse
- type Dcs2ModifyHotKeyPolicyReturnObjResponse
- type Dcs2ModifyInstanceAttributeApi
- type Dcs2ModifyInstanceAttributeRequest
- type Dcs2ModifyInstanceAttributeResponse
- type Dcs2ModifyInstanceAttributeReturnObjResponse
- type Dcs2ModifyInstanceConfigApi
- type Dcs2ModifyInstanceConfigParamsRequest
- type Dcs2ModifyInstanceConfigRequest
- type Dcs2ModifyInstanceConfigResponse
- type Dcs2ModifyInstanceConfigReturnObjResponse
- type Dcs2ModifyInstanceConfigV2Api
- type Dcs2ModifyInstanceConfigV2Request
- type Dcs2ModifyInstanceConfigV2Response
- type Dcs2ModifyInstanceConfigV2ReturnObjResponse
- type Dcs2ModifyInstanceFeatureApi
- type Dcs2ModifyInstanceFeatureRequest
- type Dcs2ModifyInstanceFeatureResponse
- type Dcs2ModifyInstanceFeatureReturnObjResponse
- type Dcs2ModifyInstanceMaintainTimeApi
- type Dcs2ModifyInstanceMaintainTimeRequest
- type Dcs2ModifyInstanceMaintainTimeResponse
- type Dcs2ModifyInstanceMajorVersionApi
- type Dcs2ModifyInstanceMajorVersionRequest
- type Dcs2ModifyInstanceMajorVersionResponse
- type Dcs2ModifyInstancePasswordApi
- type Dcs2ModifyInstancePasswordRequest
- type Dcs2ModifyInstancePasswordResponse
- type Dcs2ModifyInstancePasswordReturnObjResponse
- type Dcs2ModifyInstanceSSLApi
- type Dcs2ModifyInstanceSSLRequest
- type Dcs2ModifyInstanceSSLResponse
- type Dcs2ModifyInstanceSSLReturnObjResponse
- type Dcs2ModifyInstanceSpecApi
- type Dcs2ModifyInstanceSpecRequest
- type Dcs2ModifyInstanceSpecResponse
- type Dcs2ModifyInstanceSpecReturnObjResponse
- type Dcs2ModifyInstanceStrategyApi
- type Dcs2ModifyInstanceStrategyRequest
- type Dcs2ModifyInstanceStrategyResponse
- type Dcs2ModifyInstanceStrategyReturnObjResponse
- type Dcs2ModifySecurityIpsApi
- type Dcs2ModifySecurityIpsRequest
- type Dcs2ModifySecurityIpsResponse
- type Dcs2ModifySecurityIpsReturnObjResponse
- type Dcs2NetworkLossFaultInjectApi
- type Dcs2NetworkLossFaultInjectNodesRequest
- type Dcs2NetworkLossFaultInjectRequest
- type Dcs2NetworkLossFaultInjectResponse
- type Dcs2NetworkLossFaultInjectReturnObjResponse
- type Dcs2OpenAutoScaleApi
- type Dcs2OpenAutoScaleRequest
- type Dcs2OpenAutoScaleResponse
- type Dcs2OpenAutoScaleReturnObjResponse
- type Dcs2OperateTransferTaskApi
- type Dcs2OperateTransferTaskRequest
- type Dcs2OperateTransferTaskResponse
- type Dcs2OperateTransferTaskReturnObjResponse
- type Dcs2PageListLabelApi
- type Dcs2PageListLabelRequest
- type Dcs2PageListLabelResponse
- type Dcs2PageListLabelReturnObjListDataResponse
- type Dcs2PageListLabelReturnObjListResponse
- type Dcs2PageListLabelReturnObjResponse
- type Dcs2PageQueryValuesApi
- type Dcs2PageQueryValuesRequest
- type Dcs2PageQueryValuesResponse
- type Dcs2PageQueryValuesReturnObjResponse
- type Dcs2PageQueryValuesReturnObjRowsByteValueMapResponse
- type Dcs2PageQueryValuesReturnObjRowsResponse
- type Dcs2QueryAnalysisInstanceTasksApi
- type Dcs2QueryAnalysisInstanceTasksInfoApi
- type Dcs2QueryAnalysisInstanceTasksInfoRequest
- type Dcs2QueryAnalysisInstanceTasksInfoResponse
- type Dcs2QueryAnalysisInstanceTasksRequest
- type Dcs2QueryAnalysisInstanceTasksResponse
- type Dcs2QueryAnalysisInstanceTasksReturnObjResponse
- type Dcs2QueryAnalysisInstanceTasksReturnObjRowsResponse
- type Dcs2QueryAutoScanConfSettingApi
- type Dcs2QueryAutoScanConfSettingRequest
- type Dcs2QueryAutoScanConfSettingResponse
- type Dcs2QueryAutoScanConfSettingReturnObjResponse
- type Dcs2QueryExportInstanceTaskApi
- type Dcs2QueryExportInstanceTaskRequest
- type Dcs2QueryExportInstanceTaskResponse
- type Dcs2QueryExportInstanceTaskReturnObjResponse
- type Dcs2QueryFragmentReplicationStateApi
- type Dcs2QueryFragmentReplicationStateRequest
- type Dcs2QueryFragmentReplicationStateResponse
- type Dcs2QueryFragmentReplicationStateReturnObjResponse
- type Dcs2QueryGroupKeyApi
- type Dcs2QueryGroupKeyNumberApi
- type Dcs2QueryGroupKeyNumberRequest
- type Dcs2QueryGroupKeyNumberResponse
- type Dcs2QueryGroupKeyNumberReturnObjResponse
- type Dcs2QueryGroupKeyNumberReturnObjRowsResponse
- type Dcs2QueryGroupKeyRequest
- type Dcs2QueryGroupKeyResponse
- type Dcs2QueryGroupKeyReturnObjResponse
- type Dcs2QueryInstAutoRenewStatusApi
- type Dcs2QueryInstAutoRenewStatusRequest
- type Dcs2QueryInstAutoRenewStatusResponse
- type Dcs2QueryInstAutoRenewStatusReturnObjResourcesDTOsResponse
- type Dcs2QueryInstAutoRenewStatusReturnObjResponse
- type Dcs2QueryManagerApi
- type Dcs2QueryManagerRequest
- type Dcs2QueryManagerResponse
- type Dcs2QueryManagerReturnObjResponse
- type Dcs2QueryManagerReturnObjRowsResponse
- type Dcs2QueryQuotaTotalAndUsedApi
- type Dcs2QueryQuotaTotalAndUsedRequest
- type Dcs2QueryQuotaTotalAndUsedResponse
- type Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListQuotaCenterAccountResourceDataListResponse
- type Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListResponse
- type Dcs2QueryQuotaTotalAndUsedReturnObjResponse
- type Dcs2QueryRWSepApi
- type Dcs2QueryRWSepRequest
- type Dcs2QueryRWSepResponse
- type Dcs2QueryRWSepReturnObjResponse
- type Dcs2QueryRenameCommandApi
- type Dcs2QueryRenameCommandRequest
- type Dcs2QueryRenameCommandResponse
- type Dcs2QueryRenameCommandReturnObjResponse
- type Dcs2QueryScanLogsApi
- type Dcs2QueryScanLogsRequest
- type Dcs2QueryScanLogsResponse
- type Dcs2QueryScanLogsReturnObjResponse
- type Dcs2QueryScanLogsReturnObjRowsResponse
- type Dcs2RenewInstanceApi
- type Dcs2RenewInstanceRequest
- type Dcs2RenewInstanceResponse
- type Dcs2RenewInstanceReturnObjOrderPlacedEventsResponse
- type Dcs2RenewInstanceReturnObjResponse
- type Dcs2ResetAccountPasswordApi
- type Dcs2ResetAccountPasswordRequest
- type Dcs2ResetAccountPasswordResponse
- type Dcs2ResetAccountPasswordReturnObjResponse
- type Dcs2ResetInstancePasswordApi
- type Dcs2ResetInstancePasswordRequest
- type Dcs2ResetInstancePasswordResponse
- type Dcs2ResetInstancePasswordReturnObjResponse
- type Dcs2RestartInstanceApi
- type Dcs2RestartInstanceRequest
- type Dcs2RestartInstanceResponse
- type Dcs2RestartTransferTaskApi
- type Dcs2RestartTransferTaskRequest
- type Dcs2RestartTransferTaskResponse
- type Dcs2RestartTransferTaskReturnObjResponse
- type Dcs2RestoreInstanceApi
- type Dcs2RestoreInstanceRequest
- type Dcs2RestoreInstanceResponse
- type Dcs2RestoreInstanceReturnObjResponse
- type Dcs2SlowLogResetApi
- type Dcs2SlowLogResetRequest
- type Dcs2SlowLogResetResponse
- type Dcs2SlowLogResetReturnObjResponse
- type Dcs2StatisticApi
- type Dcs2StatisticRequest
- type Dcs2StatisticResponse
- type Dcs2StatisticReturnObjResponse
- type Dcs2StatisticReturnObjStatisticsResponse
- type Dcs2StatusNumberApi
- type Dcs2StatusNumberRequest
- type Dcs2StatusNumberResponse
- type Dcs2StatusNumberReturnObjResponse
- type Dcs2StopTransferTaskApi
- type Dcs2StopTransferTaskRequest
- type Dcs2StopTransferTaskResponse
- type Dcs2StopTransferTaskReturnObjResponse
- type Dcs2SwitchInstanceHAApi
- type Dcs2SwitchInstanceHARequest
- type Dcs2SwitchInstanceHAResponse
- type Dcs2TransChargeTypeApi
- type Dcs2TransChargeTypeRequest
- type Dcs2TransChargeTypeResponse
- type Dcs2TransChargeTypeReturnObjResponse
- type Dcs2TransToPrePaidApi
- type Dcs2TransToPrePaidRequest
- type Dcs2TransToPrePaidResponse
- type Dcs2TransToPrePaidReturnObjResponse
- type Dcs2UnBindElasticIPApi
- type Dcs2UnBindElasticIPRequest
- type Dcs2UnBindElasticIPResponse
- type Dcs2UnBindElasticIPReturnObjResponse
- type Dcs2UnlockDBInstanceWriteApi
- type Dcs2UnlockDBInstanceWriteRequest
- type Dcs2UnlockDBInstanceWriteResponse
- type Dcs2UnlockDBInstanceWriteReturnObjResponse
- type Dcs2UpdateKeyApi
- type Dcs2UpdateKeyRequest
- type Dcs2UpdateKeyResponse
- type Dcs2UpdateKeyReturnObjResponse
- type Dcs2UpdateKeyReturnObjRowsResponse
- type Dcs2UpdateKeyReturnObjRowsValueMapResponse
- type Dcs2UpdateSlavePriorityApi
- type Dcs2UpdateSlavePriorityRequest
- type Dcs2UpdateSlavePriorityResponse
- type Dcs2UpdateSlavePriorityReturnObjResponse
- type Dcs2UpdateValueApi
- type Dcs2UpdateValueRequest
- type Dcs2UpdateValueResponse
- type Dcs2UpdateValueReturnObjResponse
- type Dcs2UpdateValueReturnObjRowsResponse
- type Dcs2UpdateValueReturnObjRowsValueMapResponse
- type Dcs2UpgradeInstanceMinorVersionApi
- type Dcs2UpgradeInstanceMinorVersionRequest
- type Dcs2UpgradeInstanceMinorVersionResponse
- type Dcs2UpgradeInstanceMinorVersionReturnObjResponse
- type Dcs2UpgradeInstanceProxyMinorVersionApi
- type Dcs2UpgradeInstanceProxyMinorVersionRequest
- type Dcs2UpgradeInstanceProxyMinorVersionResponse
- type Dcs2UpgradeInstanceProxyMinorVersionReturnObjResponse
- type Dcs2UploadSyncRunningLogApi
- type Dcs2UploadSyncRunningLogRequest
- type Dcs2UploadSyncRunningLogResponse
- type Dcs2UploadSyncRunningLogReturnObjResponse
Constants ¶
View Source
const EndpointName = "dcs2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apis ¶
type Apis struct { Dcs2DescribeClusterMemberInfoApi *Dcs2DescribeClusterMemberInfoApi Dcs2DescribeLogicInstanceTopologyApi *Dcs2DescribeLogicInstanceTopologyApi Dcs2DescribeInstanceMaintainTimeApi *Dcs2DescribeInstanceMaintainTimeApi Dcs2ModifyInstanceMaintainTimeApi *Dcs2ModifyInstanceMaintainTimeApi Dcs2SwitchInstanceHAApi *Dcs2SwitchInstanceHAApi Dcs2DescribeDbKeyCountApi *Dcs2DescribeDbKeyCountApi Dcs2DescribeMemoryInfoApi *Dcs2DescribeMemoryInfoApi Dcs2GetRedisNodeListApi *Dcs2GetRedisNodeListApi Dcs2FlushExpireKeysApi *Dcs2FlushExpireKeysApi Dcs2CreateAccountApi *Dcs2CreateAccountApi Dcs2DescribeAccountsApi *Dcs2DescribeAccountsApi Dcs2GrantAccountPrivilegeApi *Dcs2GrantAccountPrivilegeApi Dcs2ModifyAccountDescriptionApi *Dcs2ModifyAccountDescriptionApi Dcs2ModifyAccountPasswordApi *Dcs2ModifyAccountPasswordApi Dcs2ResetAccountPasswordApi *Dcs2ResetAccountPasswordApi Dcs2DeleteAccountApi *Dcs2DeleteAccountApi Dcs2CreateBackupApi *Dcs2CreateBackupApi Dcs2DescribeBackupTasksApi *Dcs2DescribeBackupTasksApi Dcs2DescribeBackupPolicyApi *Dcs2DescribeBackupPolicyApi Dcs2ModifyBackupPolicyApi *Dcs2ModifyBackupPolicyApi Dcs2DescribeBackupsApi *Dcs2DescribeBackupsApi Dcs2RestoreInstanceApi *Dcs2RestoreInstanceApi Dcs2DescribeNodeMonitorItemsApi *Dcs2DescribeNodeMonitorItemsApi Dcs2DescribeNodeMonitorValuesApi *Dcs2DescribeNodeMonitorValuesApi Dcs2DescribeDbGroupApi *Dcs2DescribeDbGroupApi Dcs2DeleteDbGroupApi *Dcs2DeleteDbGroupApi Dcs2CreateDbGroupApi *Dcs2CreateDbGroupApi Dcs2FlushDbGroupDataApi *Dcs2FlushDbGroupDataApi Dcs2DescribeInstanceStrategyApi *Dcs2DescribeInstanceStrategyApi Dcs2ModifyInstanceStrategyApi *Dcs2ModifyInstanceStrategyApi Dcs2DescribeHotKeysApi *Dcs2DescribeHotKeysApi Dcs2DescribeBigAndHotKeysApi *Dcs2DescribeBigAndHotKeysApi Dcs2DescribeKeyTaskRecordApi *Dcs2DescribeKeyTaskRecordApi Dcs2QueryRenameCommandApi *Dcs2QueryRenameCommandApi Dcs2TransToPrePaidApi *Dcs2TransToPrePaidApi Dcs2TransChargeTypeApi *Dcs2TransChargeTypeApi Dcs2DescribeSecurityIpsApi *Dcs2DescribeSecurityIpsApi Dcs2ModifySecurityIpsApi *Dcs2ModifySecurityIpsApi Dcs2EnableRenameCommandApi *Dcs2EnableRenameCommandApi Dcs2DescribeRunningLogRecordsApi *Dcs2DescribeRunningLogRecordsApi Dcs2BindElasticIPApi *Dcs2BindElasticIPApi Dcs2UnBindElasticIPApi *Dcs2UnBindElasticIPApi Dcs2ChangeAutoRenewStatusApi *Dcs2ChangeAutoRenewStatusApi Dcs2DescribeAvailableRegionApi *Dcs2DescribeAvailableRegionApi Dcs2DescribeInstancesApi *Dcs2DescribeInstancesApi Dcs2DescribeCycleBinInstancesApi *Dcs2DescribeCycleBinInstancesApi Dcs2DescribeDedicatedClusterInstanceListApi *Dcs2DescribeDedicatedClusterInstanceListApi Dcs2DescribePriceApi *Dcs2DescribePriceApi Dcs2RenewInstanceApi *Dcs2RenewInstanceApi Dcs2CreateInstanceApi *Dcs2CreateInstanceApi Dcs2ModifyInstanceSpecApi *Dcs2ModifyInstanceSpecApi Dcs2DeleteInstanceApi *Dcs2DeleteInstanceApi Dcs2DescribeAvailableResourceApi *Dcs2DescribeAvailableResourceApi Dcs2DescribeInstancesOverviewApi *Dcs2DescribeInstancesOverviewApi Dcs2DescribeEngineVersionApi *Dcs2DescribeEngineVersionApi Dcs2DescribeDBInstanceNetInfoApi *Dcs2DescribeDBInstanceNetInfoApi Dcs2ModifyInstanceMajorVersionApi *Dcs2ModifyInstanceMajorVersionApi Dcs2RestartInstanceApi *Dcs2RestartInstanceApi Dcs2FlushDataApi *Dcs2FlushDataApi Dcs2DescribeTopSlowLogRecoredsApi *Dcs2DescribeTopSlowLogRecoredsApi Dcs2DescribeTopBigKeysApi *Dcs2DescribeTopBigKeysApi Dcs2EnableRenameCommandV2Api *Dcs2EnableRenameCommandV2Api Dcs2DisableRenameCommandV2Api *Dcs2DisableRenameCommandV2Api Dcs2DescribeInstanceConfigV2Api *Dcs2DescribeInstanceConfigV2Api Dcs2ModifyInstanceConfigV2Api *Dcs2ModifyInstanceConfigV2Api Dcs2QueryInstAutoRenewStatusApi *Dcs2QueryInstAutoRenewStatusApi Dcs2DescribeDbGroupsApi *Dcs2DescribeDbGroupsApi Dcs2QueryGroupKeyNumberApi *Dcs2QueryGroupKeyNumberApi Dcs2QueryGroupKeyApi *Dcs2QueryGroupKeyApi Dcs2QueryManagerApi *Dcs2QueryManagerApi Dcs2PageQueryValuesApi *Dcs2PageQueryValuesApi Dcs2DeleteKeyApi *Dcs2DeleteKeyApi Dcs2UpdateKeyApi *Dcs2UpdateKeyApi Dcs2UpdateValueApi *Dcs2UpdateValueApi Dcs2AddValueApi *Dcs2AddValueApi Dcs2DeleteValueApi *Dcs2DeleteValueApi Dcs2DeleteBackupApi *Dcs2DeleteBackupApi Dcs2GetClientIPInfoApi *Dcs2GetClientIPInfoApi Dcs2KillSelectedClientApi *Dcs2KillSelectedClientApi Dcs2GetClientMapApi *Dcs2GetClientMapApi Dcs2FindHistoryBigAndHotKeyApi *Dcs2FindHistoryBigAndHotKeyApi Dcs2FindHistorySlowLogApi *Dcs2FindHistorySlowLogApi Dcs2DescribeHistoryMonitorItemsApi *Dcs2DescribeHistoryMonitorItemsApi Dcs2DescribeInstanceHistoryMonitorValuesApi *Dcs2DescribeInstanceHistoryMonitorValuesApi Dcs2DescribeNodeHistoryMonitorValuesApi *Dcs2DescribeNodeHistoryMonitorValuesApi Dcs2ExecuteOffLineKeyAnalysisTaskApi *Dcs2ExecuteOffLineKeyAnalysisTaskApi Dcs2DescribeOffLineKeyAnalysisTaskListApi *Dcs2DescribeOffLineKeyAnalysisTaskListApi Dcs2DescribeOffLineKeyAnalysisTaskInfoApi *Dcs2DescribeOffLineKeyAnalysisTaskInfoApi Dcs2DeleteOffLineKeyAnalysisTaskInfoApi *Dcs2DeleteOffLineKeyAnalysisTaskInfoApi Dcs2DescribeInstanceConfigApi *Dcs2DescribeInstanceConfigApi Dcs2DescribeParameterModificationHistoryApi *Dcs2DescribeParameterModificationHistoryApi Dcs2ModifyInstanceConfigApi *Dcs2ModifyInstanceConfigApi Dcs2CreateTransferTaskApi *Dcs2CreateTransferTaskApi Dcs2OperateTransferTaskApi *Dcs2OperateTransferTaskApi Dcs2ListTaskInfoApi *Dcs2ListTaskInfoApi Dcs2DescribeRedisTemplateApi *Dcs2DescribeRedisTemplateApi Dcs2DescribeRedisTemplateDetailApi *Dcs2DescribeRedisTemplateDetailApi Dcs2CreateRedisTemplateApi *Dcs2CreateRedisTemplateApi Dcs2DeleteRedisTemplateApi *Dcs2DeleteRedisTemplateApi Dcs2EditRedisTemplateApi *Dcs2EditRedisTemplateApi Dcs2GetRdbDownLoadUrlApi *Dcs2GetRdbDownLoadUrlApi Dcs2AutoScanExpiredKeysApi *Dcs2AutoScanExpiredKeysApi Dcs2QueryAutoScanConfSettingApi *Dcs2QueryAutoScanConfSettingApi Dcs2ModifyInstanceAttributeApi *Dcs2ModifyInstanceAttributeApi Dcs2QueryAnalysisInstanceTasksApi *Dcs2QueryAnalysisInstanceTasksApi Dcs2DoAnalysisInstanceTasksApi *Dcs2DoAnalysisInstanceTasksApi Dcs2QueryAnalysisInstanceTasksInfoApi *Dcs2QueryAnalysisInstanceTasksInfoApi Dcs2DelAnalysisInstanceTaskApi *Dcs2DelAnalysisInstanceTaskApi Dcs2LockDBInstanceWriteApi *Dcs2LockDBInstanceWriteApi Dcs2UnlockDBInstanceWriteApi *Dcs2UnlockDBInstanceWriteApi Dcs2ListTasksApi *Dcs2ListTasksApi Dcs2ModifyInstancePasswordApi *Dcs2ModifyInstancePasswordApi Dcs2ResetInstancePasswordApi *Dcs2ResetInstancePasswordApi Dcs2DescribeInstanceSSLApi *Dcs2DescribeInstanceSSLApi Dcs2ModifyInstanceSSLApi *Dcs2ModifyInstanceSSLApi Dcs2SlowLogResetApi *Dcs2SlowLogResetApi Dcs2ModifyInstanceFeatureApi *Dcs2ModifyInstanceFeatureApi Dcs2DescribeHotKeyTasksApi *Dcs2DescribeHotKeyTasksApi Dcs2DescribeBigKeyTasksApi *Dcs2DescribeBigKeyTasksApi Dcs2DeleteHotKeyTaskApi *Dcs2DeleteHotKeyTaskApi Dcs2DeleteBigKeyTaskApi *Dcs2DeleteBigKeyTaskApi Dcs2DeleteInstancesApi *Dcs2DeleteInstancesApi Dcs2PageListLabelApi *Dcs2PageListLabelApi Dcs2BatchAddLabelApi *Dcs2BatchAddLabelApi Dcs2GetLabelListByResourcesApi *Dcs2GetLabelListByResourcesApi Dcs2QueryQuotaTotalAndUsedApi *Dcs2QueryQuotaTotalAndUsedApi Dcs2GetZonesApi *Dcs2GetZonesApi Dcs2ExcuteCommandApi *Dcs2ExcuteCommandApi Dcs2StatusNumberApi *Dcs2StatusNumberApi Dcs2StatisticApi *Dcs2StatisticApi Dcs2CheckInstanceOperateApi *Dcs2CheckInstanceOperateApi Dcs2AsyncExportInstancesApi *Dcs2AsyncExportInstancesApi Dcs2UpdateSlavePriorityApi *Dcs2UpdateSlavePriorityApi Dcs2DescribeInstancesClusterMemberInfoApi *Dcs2DescribeInstancesClusterMemberInfoApi Dcs2QueryFragmentReplicationStateApi *Dcs2QueryFragmentReplicationStateApi Dcs2ExchangeVipApi *Dcs2ExchangeVipApi Dcs2DeleteTransferTaskApi *Dcs2DeleteTransferTaskApi Dcs2GetTransferTaskInfoApi *Dcs2GetTransferTaskInfoApi Dcs2ConfigAutoRetryTypeApi *Dcs2ConfigAutoRetryTypeApi Dcs2GetTaskProgressDetailInfoApi *Dcs2GetTaskProgressDetailInfoApi Dcs2StopTransferTaskApi *Dcs2StopTransferTaskApi Dcs2UploadSyncRunningLogApi *Dcs2UploadSyncRunningLogApi Dcs2RestartTransferTaskApi *Dcs2RestartTransferTaskApi Dcs2DescribeTopBigKeysPolicyApi *Dcs2DescribeTopBigKeysPolicyApi Dcs2ModifyBigKeyPolicyApi *Dcs2ModifyBigKeyPolicyApi Dcs2DescribeTopHotKeysPolicyApi *Dcs2DescribeTopHotKeysPolicyApi Dcs2ModifyHotKeyPolicyApi *Dcs2ModifyHotKeyPolicyApi Dcs2DownloadRedisRunLogApi *Dcs2DownloadRedisRunLogApi Dcs2DownloadSslCertApi *Dcs2DownloadSslCertApi Dcs2DelTasksApi *Dcs2DelTasksApi Dcs2GetTaskInfoApi *Dcs2GetTaskInfoApi Dcs2CheckInstanceProdModifyApi *Dcs2CheckInstanceProdModifyApi Dcs2QueryExportInstanceTaskApi *Dcs2QueryExportInstanceTaskApi Dcs2GetKeyMisslogApi *Dcs2GetKeyMisslogApi Dcs2DescribeInstanceVersionApi *Dcs2DescribeInstanceVersionApi Dcs2UpgradeInstanceMinorVersionApi *Dcs2UpgradeInstanceMinorVersionApi Dcs2UpgradeInstanceProxyMinorVersionApi *Dcs2UpgradeInstanceProxyMinorVersionApi Dcs2OpenAutoScaleApi *Dcs2OpenAutoScaleApi Dcs2CloseAutoScaleApi *Dcs2CloseAutoScaleApi Dcs2BatchRestartVmApi *Dcs2BatchRestartVmApi Dcs2QueryScanLogsApi *Dcs2QueryScanLogsApi Dcs2HostDownFaultInjectApi *Dcs2HostDownFaultInjectApi Dcs2HostTypeFaultInjectApi *Dcs2HostTypeFaultInjectApi Dcs2NetworkLossFaultInjectApi *Dcs2NetworkLossFaultInjectApi Dcs2FaultRecoveryApi *Dcs2FaultRecoveryApi Dcs2ListInstanceExperimentsApi *Dcs2ListInstanceExperimentsApi Dcs2EnableRWSepApi *Dcs2EnableRWSepApi Dcs2QueryRWSepApi *Dcs2QueryRWSepApi Dcs2DestroyInstanceApi *Dcs2DestroyInstanceApi }
type Dcs2AddValueApi ¶
type Dcs2AddValueApi struct {
// contains filtered or unexported fields
}
func NewDcs2AddValueApi ¶
func NewDcs2AddValueApi(client *core.CtyunClient) *Dcs2AddValueApi
func (*Dcs2AddValueApi) Do ¶
func (a *Dcs2AddValueApi) Do(ctx context.Context, credential core.Credential, req *Dcs2AddValueRequest) (*Dcs2AddValueResponse, error)
type Dcs2AddValueRequest ¶
type Dcs2AddValueRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* DB编号 */ Key string `json:"key,omitempty"` /* key */ RawType string `json:"type,omitempty"` /* key类型<li>hash<li>list<li>set<li>zset */ NewKey string `json:"newKey,omitempty"` /* hash的Key值<br>说明:type=hash时必填,其他不填 */ Score string `json:"score,omitempty"` /* score值,type=zset时,必填 */ NewValue string `json:"newValue,omitempty"` /* 集合对象中的newValue值 */ }
type Dcs2AddValueResponse ¶
type Dcs2AddValueResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2AddValueReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2AddValueReturnObjResponse ¶
type Dcs2AddValueReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows *Dcs2AddValueReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2AddValueReturnObjRowsResponse ¶
type Dcs2AddValueReturnObjRowsResponse struct { TotalItems int32 `json:"totalItems,omitempty"` /* 集合key总数量 */ NewKey string `json:"newKey,omitempty"` /* 新key */ OldKey string `json:"oldKey,omitempty"` /* 旧key */ GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ RawType string `json:"type,omitempty"` /* 类型 */ RedisIp string `json:"redisIp,omitempty"` /* 节点IP */ RedisPort string `json:"redisPort,omitempty"` /* 节点端口 */ Key string `json:"key,omitempty"` /* key值 */ ValueMap *Dcs2AddValueReturnObjRowsValueMapResponse `json:"valueMap"` /* valueMap {key:value} */ }
type Dcs2AddValueReturnObjRowsValueMapResponse ¶
type Dcs2AddValueReturnObjRowsValueMapResponse struct{}
type Dcs2AsyncExportInstancesApi ¶
type Dcs2AsyncExportInstancesApi struct {
// contains filtered or unexported fields
}
func NewDcs2AsyncExportInstancesApi ¶
func NewDcs2AsyncExportInstancesApi(client *core.CtyunClient) *Dcs2AsyncExportInstancesApi
func (*Dcs2AsyncExportInstancesApi) Do ¶
func (a *Dcs2AsyncExportInstancesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2AsyncExportInstancesRequest) (*Dcs2AsyncExportInstancesResponse, error)
type Dcs2AsyncExportInstancesRequest ¶
type Dcs2AsyncExportInstancesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProjectId string `json:"projectId,omitempty"` /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ Capacity string `json:"capacity,omitempty"` /* 实例规格容量,单位G */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Vip string `json:"vip,omitempty"` /* 实例虚拟IP */ Status int32 `json:"status,omitempty"` /* 实例状态<li> 0:有效<li>1:开通中<li>2:暂停<li>3:变更中<li>4:开通失败<li>5:停止中<li>6:已停止<li>8:已退订; */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎版本 */ PayType int32 `json:"payType,omitempty"` /* 付费类型<li>0:包年/包月<li>1: 按需 */ CpuArchType string `json:"cpuArchType,omitempty"` /* cpu架构<li>x86<li>arm */ LabelIds []string `json:"labelIds"` /* 标签ID */ }
type Dcs2AsyncExportInstancesResponse ¶
type Dcs2AsyncExportInstancesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2AsyncExportInstancesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2AsyncExportInstancesReturnObjResponse ¶
type Dcs2AsyncExportInstancesReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type Dcs2AutoScanExpiredKeysApi ¶
type Dcs2AutoScanExpiredKeysApi struct {
// contains filtered or unexported fields
}
func NewDcs2AutoScanExpiredKeysApi ¶
func NewDcs2AutoScanExpiredKeysApi(client *core.CtyunClient) *Dcs2AutoScanExpiredKeysApi
func (*Dcs2AutoScanExpiredKeysApi) Do ¶
func (a *Dcs2AutoScanExpiredKeysApi) Do(ctx context.Context, credential core.Credential, req *Dcs2AutoScanExpiredKeysRequest) (*Dcs2AutoScanExpiredKeysResponse, error)
type Dcs2AutoScanExpiredKeysRequest ¶
type Dcs2AutoScanExpiredKeysRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ EnableAutoScan bool `json:"enableAutoScan"` /* 是否启用自动扫描过期key功能<li>true:启用<li>false:禁用 */ FirstScanAt string `json:"firstScanAt,omitempty"` /* 首次扫描时间 */ Interval int32 `json:"interval,omitempty"` /* 扫描间隔(分) */ ScanKeysCount int32 `json:"scanKeysCount,omitempty"` /* 迭代扫描key数量 */ Timeout int32 `json:"timeout,omitempty"` /* 扫描超时(分) */ }
type Dcs2AutoScanExpiredKeysResponse ¶
type Dcs2AutoScanExpiredKeysResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2AutoScanExpiredKeysReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2AutoScanExpiredKeysReturnObjResponse ¶
type Dcs2AutoScanExpiredKeysReturnObjResponse struct{}
type Dcs2BatchAddLabelApi ¶
type Dcs2BatchAddLabelApi struct {
// contains filtered or unexported fields
}
func NewDcs2BatchAddLabelApi ¶
func NewDcs2BatchAddLabelApi(client *core.CtyunClient) *Dcs2BatchAddLabelApi
func (*Dcs2BatchAddLabelApi) Do ¶
func (a *Dcs2BatchAddLabelApi) Do(ctx context.Context, credential core.Credential, req *Dcs2BatchAddLabelRequest) (*Dcs2BatchAddLabelResponse, error)
type Dcs2BatchAddLabelRequest ¶
type Dcs2BatchAddLabelRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ LabelKVList []*Dcs2BatchAddLabelLabelKVListRequest `json:"labelKVList"` /* 标签列表对象 */ }
type Dcs2BatchAddLabelResponse ¶
type Dcs2BatchAddLabelResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2BatchAddLabelReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2BatchAddLabelReturnObjResponse ¶
type Dcs2BatchAddLabelReturnObjResponse struct{}
type Dcs2BatchRestartVmApi ¶
type Dcs2BatchRestartVmApi struct {
// contains filtered or unexported fields
}
func NewDcs2BatchRestartVmApi ¶
func NewDcs2BatchRestartVmApi(client *core.CtyunClient) *Dcs2BatchRestartVmApi
func (*Dcs2BatchRestartVmApi) Do ¶
func (a *Dcs2BatchRestartVmApi) Do(ctx context.Context, credential core.Credential, req *Dcs2BatchRestartVmRequest) (*Dcs2BatchRestartVmResponse, error)
type Dcs2BatchRestartVmRequest ¶
type Dcs2BatchRestartVmRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ VpcIps []string `json:"vpcIps"` /* 节点VpcIp列表 */ }
type Dcs2BatchRestartVmResponse ¶
type Dcs2BatchRestartVmResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2BatchRestartVmReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2BatchRestartVmReturnObjResponse ¶
type Dcs2BatchRestartVmReturnObjResponse struct{}
type Dcs2BindElasticIPApi ¶
type Dcs2BindElasticIPApi struct {
// contains filtered or unexported fields
}
func NewDcs2BindElasticIPApi ¶
func NewDcs2BindElasticIPApi(client *core.CtyunClient) *Dcs2BindElasticIPApi
func (*Dcs2BindElasticIPApi) Do ¶
func (a *Dcs2BindElasticIPApi) Do(ctx context.Context, credential core.Credential, req *Dcs2BindElasticIPRequest) (*Dcs2BindElasticIPResponse, error)
type Dcs2BindElasticIPRequest ¶
type Dcs2BindElasticIPRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ BindObjType int64 `json:"bindObjType,omitempty"` /* 绑定对象类型<li>4:VIP */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例标识 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP,您可以查看<a href="https://www.ctyun.cn/document/10026753/10026909">产品定义-弹性IP</a>来了解弹性IP<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8652&vid=88">新查询指定地域已创建的EIP</a> eipAddress字段。<br><span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=5723&isNormal=1&vid=88">创建EIP</a> */ BindByPaasProd int32 `json:"bindByPaasProd,omitempty"` /* 由组件侧绑定弹性IP:<br><li>1:是<br><li>0:否(默认值)<br><br>适用场景:<br><li>仅桌面云ELB绑定弹性IP需传1<br><li>其他场景传0 */ }
type Dcs2BindElasticIPResponse ¶
type Dcs2BindElasticIPResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2BindElasticIPReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2BindElasticIPReturnObjResponse ¶
type Dcs2BindElasticIPReturnObjResponse struct{}
type Dcs2ChangeAutoRenewStatusApi ¶
type Dcs2ChangeAutoRenewStatusApi struct {
// contains filtered or unexported fields
}
func NewDcs2ChangeAutoRenewStatusApi ¶
func NewDcs2ChangeAutoRenewStatusApi(client *core.CtyunClient) *Dcs2ChangeAutoRenewStatusApi
func (*Dcs2ChangeAutoRenewStatusApi) Do ¶
func (a *Dcs2ChangeAutoRenewStatusApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ChangeAutoRenewStatusRequest) (*Dcs2ChangeAutoRenewStatusResponse, error)
type Dcs2ChangeAutoRenewStatusRequest ¶
type Dcs2ChangeAutoRenewStatusRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ AutoRenewCycleType string `json:"autoRenewCycleType,omitempty"` /* 自动续订周期类型。<li>3:月<li>5:年 */ AutoRenewCycleCount int32 `json:"autoRenewCycleCount,omitempty"` /* 自动续费周期(月)<br>autoRenew=true时必填,可选:1-6,12,24,36 */ AutoRenewStatus string `json:"autoRenewStatus,omitempty"` /* 自动续订状态。<li>1:自动续订<li>0:不自动续订 */ Source string `json:"source,omitempty"` /* 来源。<li>8:表示自动续订操作来源 */ ProdInstIds []string `json:"prodInstIds"` /* 待改变自动续订状态的实例列表 */ }
type Dcs2ChangeAutoRenewStatusResponse ¶
type Dcs2ChangeAutoRenewStatusResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ChangeAutoRenewStatusReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ChangeAutoRenewStatusReturnObjResponse ¶
type Dcs2ChangeAutoRenewStatusReturnObjResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:自动续订下单成功<li>900:自动续订下单失败 */
}
type Dcs2CheckInstanceOperateApi ¶
type Dcs2CheckInstanceOperateApi struct {
// contains filtered or unexported fields
}
func NewDcs2CheckInstanceOperateApi ¶
func NewDcs2CheckInstanceOperateApi(client *core.CtyunClient) *Dcs2CheckInstanceOperateApi
func (*Dcs2CheckInstanceOperateApi) Do ¶
func (a *Dcs2CheckInstanceOperateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CheckInstanceOperateRequest) (*Dcs2CheckInstanceOperateResponse, error)
type Dcs2CheckInstanceOperateRequest ¶
type Dcs2CheckInstanceOperateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ Operate string `json:"operate,omitempty"` /* 操作类型,可选值:upgrade(扩容) */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ShardMemSize int32 `json:"shardMemSize,omitempty"` /* 目标实例的分片规格(单位:G)<br>目标实例为基础版与增强版时(OriginalMultipleReadLvs除外)必填<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中shardMemSizeItems(单分片内存可选值),若shardMemSizeItems为空则无需填写 */ ShardCount int32 `json:"shardCount,omitempty"` /* 目标实例的分片数量。<li>DirectClusterSingle: 3-256<li>DirectCluster: 3-256<li>ClusterOriginalProxy: 3-64<br><br>其他实例类型无需填写此参数 */ MemSize int32 `json:"memSize,omitempty"` /* 目标实例的总容量(单位:G)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 计算方式:单分片内存shardMemSize × 分片数量shardCount 或 使用表SeriesInfo中memSizeItems(内存可选值) */ CopiesCount int32 `json:"copiesCount,omitempty"` /* 目标实例的副本数;目标实例为OriginalMultipleReadLvs时必填,取值范围为[2,6] */ }
type Dcs2CheckInstanceOperateResponse ¶
type Dcs2CheckInstanceOperateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CheckInstanceOperateReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CheckInstanceProdModifyApi ¶
type Dcs2CheckInstanceProdModifyApi struct {
// contains filtered or unexported fields
}
func NewDcs2CheckInstanceProdModifyApi ¶
func NewDcs2CheckInstanceProdModifyApi(client *core.CtyunClient) *Dcs2CheckInstanceProdModifyApi
func (*Dcs2CheckInstanceProdModifyApi) Do ¶
func (a *Dcs2CheckInstanceProdModifyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CheckInstanceProdModifyRequest) (*Dcs2CheckInstanceProdModifyResponse, error)
type Dcs2CheckInstanceProdModifyRequest ¶
type Dcs2CheckInstanceProdModifyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Version string `json:"version,omitempty"` /* 目标实例的版本类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 查询version支持的参数范围 */ Edition string `json:"edition,omitempty"` /* 实例类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 查询选定version下支持的产品系列编码seriesCode属性值,seriesName为其对应的中文名 */ ShardMemSize int32 `json:"shardMemSize,omitempty"` /* 目标实例的分片规格(单位:G)<br/>目标实例为基础版与增强版时(OriginalMultipleReadLvs除外)必填<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中shardMemSizeItems(单分片内存可选值),若shardMemSizeItems为空则无需填写 */ ShardCount int32 `json:"shardCount,omitempty"` /* 目标实例的分片数量。<li>DirectClusterSingle: 3-256<li>DirectCluster: 3-256<li>ClusterOriginalProxy: 3-64<br><br>其他实例类型无需填写此参数 */ MemSize int32 `json:"memSize,omitempty"` /* 目标实例的总容量(单位:G)<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 计算方式:单分片内存shardMemSize × 分片数量shardCount 或 使用表SeriesInfo中memSizeItems(内存可选值) */ CopiesCount int32 `json:"copiesCount,omitempty"` /* 目标实例的副本数;目标实例为OriginalMultipleReadLvs时必填,取值范围为[2,6] */ }
type Dcs2CheckInstanceProdModifyResponse ¶
type Dcs2CheckInstanceProdModifyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CheckInstanceProdModifyReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CloseAutoScaleApi ¶
type Dcs2CloseAutoScaleApi struct {
// contains filtered or unexported fields
}
func NewDcs2CloseAutoScaleApi ¶
func NewDcs2CloseAutoScaleApi(client *core.CtyunClient) *Dcs2CloseAutoScaleApi
func (*Dcs2CloseAutoScaleApi) Do ¶
func (a *Dcs2CloseAutoScaleApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CloseAutoScaleRequest) (*Dcs2CloseAutoScaleResponse, error)
type Dcs2CloseAutoScaleRequest ¶
type Dcs2CloseAutoScaleRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例 ID */ }
type Dcs2CloseAutoScaleResponse ¶
type Dcs2CloseAutoScaleResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CloseAutoScaleReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CloseAutoScaleReturnObjResponse ¶
type Dcs2CloseAutoScaleReturnObjResponse struct{}
type Dcs2ConfigAutoRetryTypeApi ¶
type Dcs2ConfigAutoRetryTypeApi struct {
// contains filtered or unexported fields
}
func NewDcs2ConfigAutoRetryTypeApi ¶
func NewDcs2ConfigAutoRetryTypeApi(client *core.CtyunClient) *Dcs2ConfigAutoRetryTypeApi
func (*Dcs2ConfigAutoRetryTypeApi) Do ¶
func (a *Dcs2ConfigAutoRetryTypeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ConfigAutoRetryTypeRequest) (*Dcs2ConfigAutoRetryTypeResponse, error)
type Dcs2ConfigAutoRetryTypeRequest ¶
type Dcs2ConfigAutoRetryTypeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string `json:"taskId,omitempty"` /* 任务Id<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ AutoRetryType int32 `json:"autoRetryType,omitempty"` /* 自动重试类型<li>1:失败时,自动重试<li>2:失败时,不进行自动重试 */ }
type Dcs2ConfigAutoRetryTypeResponse ¶
type Dcs2ConfigAutoRetryTypeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ConfigAutoRetryTypeReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ConfigAutoRetryTypeReturnObjResponse ¶
type Dcs2ConfigAutoRetryTypeReturnObjResponse struct{}
type Dcs2CreateAccountApi ¶
type Dcs2CreateAccountApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateAccountApi ¶
func NewDcs2CreateAccountApi(client *core.CtyunClient) *Dcs2CreateAccountApi
func (*Dcs2CreateAccountApi) Do ¶
func (a *Dcs2CreateAccountApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateAccountRequest) (*Dcs2CreateAccountResponse, error)
type Dcs2CreateAccountRequest ¶
type Dcs2CreateAccountRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ AccountPassword string `json:"accountPassword,omitempty"` /* 账户密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ AccountPrivilege string `json:"accountPrivilege,omitempty"` /* 账户权限<li>ro:只读<li>rw:读写<li>dba:DBA所有权限<li>wo:只写<li>sync:同步权限<br>说明:经典版2.8,4.0,5.0只允许设置ro、rw。 */ AccountDescription string `json:"accountDescription,omitempty"` /* 账户描述信息 */ }
type Dcs2CreateAccountResponse ¶
type Dcs2CreateAccountResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CreateAccountReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateAccountReturnObjResponse ¶
type Dcs2CreateAccountReturnObjResponse struct{}
type Dcs2CreateBackupApi ¶
type Dcs2CreateBackupApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateBackupApi ¶
func NewDcs2CreateBackupApi(client *core.CtyunClient) *Dcs2CreateBackupApi
func (*Dcs2CreateBackupApi) Do ¶
func (a *Dcs2CreateBackupApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateBackupRequest) (*Dcs2CreateBackupResponse, error)
type Dcs2CreateBackupRequest ¶
type Dcs2CreateBackupRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2CreateBackupResponse ¶
type Dcs2CreateBackupResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CreateBackupReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateBackupReturnObjResponse ¶
type Dcs2CreateBackupReturnObjResponse struct {
RestoreName string `json:"restoreName,omitempty"` /* 备份名,格式为YYYYMMDDHHMMSS */
}
type Dcs2CreateDbGroupApi ¶
type Dcs2CreateDbGroupApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateDbGroupApi ¶
func NewDcs2CreateDbGroupApi(client *core.CtyunClient) *Dcs2CreateDbGroupApi
func (*Dcs2CreateDbGroupApi) Do ¶
func (a *Dcs2CreateDbGroupApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateDbGroupRequest) (*Dcs2CreateDbGroupResponse, error)
type Dcs2CreateDbGroupRequest ¶
type Dcs2CreateDbGroupRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* 分组名称,返回格式为:group.实例名. test */ Db string `json:"db,omitempty"` /* 数据库编号,取值范围:0-255 */ }
type Dcs2CreateDbGroupResponse ¶
type Dcs2CreateDbGroupResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CreateDbGroupReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateDbGroupReturnObjResponse ¶
type Dcs2CreateDbGroupReturnObjResponse struct { GroupName string `json:"groupName,omitempty"` /* 分组名称 */ GroupInfo string `json:"groupInfo,omitempty"` /* 分组信息 */ LastestTime string `json:"lastestTime,omitempty"` /* 更新时间 */ Dborder string `json:"dborder,omitempty"` /* 分组对应的db */ RedisSetName string `json:"redisSetName,omitempty"` /* 集群名 */ Title string `json:"title,omitempty"` /* 扩展,不使用 */ Nodes string `json:"nodes,omitempty"` /* 扩展,不使用 */ Link string `json:"link,omitempty"` /* 扩展,不使用 */ UserName string `json:"userName,omitempty"` /* 实例名称 */ UserPwd string `json:"userPwd,omitempty"` /* 用户密码 */ UseClientCache string `json:"useClientCache,omitempty"` /* 是否使用客户端缓存 */ MaxObjects string `json:"maxObjects,omitempty"` /* 扩展,不使用 */ MaxLife string `json:"maxLife,omitempty"` /* 扩展,不使用 */ }
type Dcs2CreateInstanceApi ¶
type Dcs2CreateInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateInstanceApi ¶
func NewDcs2CreateInstanceApi(client *core.CtyunClient) *Dcs2CreateInstanceApi
func (*Dcs2CreateInstanceApi) Do ¶
func (a *Dcs2CreateInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateInstanceRequest) (*Dcs2CreateInstanceResponse, error)
type Dcs2CreateInstanceRequest ¶
type Dcs2CreateInstanceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProjectID string /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ AutoPay *bool `json:"autoPay"` /* 是否自动支付(仅对包周期实例有效):<li>true:自动付费</li><li>false:手动付费(默认值)</li> <br>说明:选择为手动付费时,您需要在控制台的顶部菜单栏进入控制中心,单击费用中心 ,然后单击左侧导航栏的订单管理 > 我的订单,找到目标订单进行支付。 */ Period int32 `json:"period,omitempty"` /* 订购时长(月),仅当chargeType=PrePaid时必填,取值范围:1-6,12,24,36 */ ChargeType string `json:"chargeType,omitempty"` /* 计费模式:<li>PrePaid:包年包月(需配合period使用)</li><li>PostPaid:按需计费(默认值)</li> */ ZoneName string `json:"zoneName,omitempty"` /* 主可用区名称,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解可用区<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=17764&isNormal=1&vid=270">查询可用区信息</a> name字段 */ SecondaryZoneName string `json:"secondaryZoneName,omitempty"` /* 备可用区名称(双/多副本建议填写)<br>默认与主可用区相同 */ EngineVersion string `json:"engineVersion,omitempty"` /* Redis引擎版本<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的engineTypeItems(引擎版本可选值) */ Version string `json:"version,omitempty"` /* 版本类型。<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的version值<br>可选值:<li>BASIC:基础版<li>PLUS:增强版<li>Classic:经典版 */ Edition string `json:"edition,omitempty"` /* 实例类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的seriesCode值 */ HostType string `json:"hostType,omitempty"` /* 主机类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表resItems中resType==ecs的items(主机类型可选值) */ DataDiskType string `json:"dataDiskType,omitempty"` /* 磁盘类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表resItems中resType==ebs的items(磁盘类型可选值) */ DataDiskSize int32 `json:"dataDiskSize,omitempty"` /* 存储空间(GB,仅容量型支持),需为内存5-10倍且为10的倍数 */ MirrorCategoryName string `json:"mirrorCategoryName,omitempty"` /* 操作系统镜像类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表Mirror中attrName值 */ ShardMemSize string `json:"shardMemSize,omitempty"` /* 单分片内存(GB)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中shardMemSizeItems(单分片内存可选值),若shardMemSizeItems为空则无需填写 */ ShardCount int32 `json:"shardCount,omitempty"` /* 分片数量<li>DirectClusterSingle: 3-256</li><li>DirectCluster: 3-256</li><li>ClusterOriginalProxy: 3-64</li>其他实例类型无需填写此参数 */ Capacity string `json:"capacity,omitempty"` /* 内存容量(GB)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 计算方式:单分片内存shardMemSize × 分片数量shardCount 或 使用表SeriesInfo中memSizeItems(内存可选值) */ CopiesCount int32 `json:"copiesCount,omitempty"` /* 副本数量,取值范围2-6。<li>OriginalMultipleReadLvs:必填</li><li>StandardDual/DirectCluster/ClusterOriginalProxy:选填</li><li>其他实例类型:无需填写</li> */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称<li>字母开头</li><li>可包含字母/数字/中划线</li><li>长度1-39<li>实例名称不可重复</li> */ VpcId string `json:"vpcId,omitempty"` /* 虚拟私有云ID,您可以查看<a href="https://www.ctyun.cn/document/10026755/10028310">产品定义-虚拟私有云</a>来了解虚拟私有云<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4814&data=94&vid=88">查询VPC列表</a> vpcID字段。<br><span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4811&data=94&vid=88">创建VPC</a> */ SubnetId string `json:"subnetId,omitempty"` /* 子网ID,您可以查看<a href="https://www.ctyun.cn/document/10026755/10098380">基本概念</a>来查找子网的相关定义<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8659&data=94&vid=88">查询子网列表</a> subnetID字段。 */ Secgroups string `json:"secgroups,omitempty"` /* 安全组ID,您可以查看<a href="https://www.ctyun.cn/document/10026755/10028520">安全组概述</a>了解安全组相关信息<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/searchCtapi/ctApiDebug?product=18&api=4817&vid=88">查询用户安全组列表</a> id字段。 */ Password string `json:"password,omitempty"` /* 实例密码<li>长度8-26字符</li><li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型</li><li>不能有空格</li> */ AutoRenew *bool `json:"autoRenew"` /* 自动续费开关<li>true:开启</li><li>false:关闭(默认)</li> */ AutoRenewPeriod string `json:"autoRenewPeriod,omitempty"` /* 自动续费周期(月)<br>autoRenew=true时必填,可选:1-6,12,24,36 */ Size int32 `json:"size,omitempty"` /* 购买数量(1-100,默认1) */ }
type Dcs2CreateInstanceResponse ¶
type Dcs2CreateInstanceResponse struct { Message string `json:"message,omitempty"` /* 响应信息 */ StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ ReturnObj *Dcs2CreateInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateInstanceReturnObjResponse ¶
type Dcs2CreateInstanceReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否成功提交 */ NewOrderId string `json:"newOrderId,omitempty"` /* 订单ID */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 订单号 */ TotalPrice float64 `json:"totalPrice"` /* 总价 */ }
type Dcs2CreateRedisTemplateApi ¶
type Dcs2CreateRedisTemplateApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateRedisTemplateApi ¶
func NewDcs2CreateRedisTemplateApi(client *core.CtyunClient) *Dcs2CreateRedisTemplateApi
func (*Dcs2CreateRedisTemplateApi) Do ¶
func (a *Dcs2CreateRedisTemplateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateRedisTemplateRequest) (*Dcs2CreateRedisTemplateResponse, error)
type Dcs2CreateRedisTemplateRequest ¶
type Dcs2CreateRedisTemplateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Params []*Dcs2CreateRedisTemplateParamsRequest `json:"params"` /* 参数列表 */ }
type Dcs2CreateRedisTemplateResponse ¶
type Dcs2CreateRedisTemplateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CreateRedisTemplateReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateRedisTemplateReturnObjResponse ¶
type Dcs2CreateRedisTemplateReturnObjResponse struct{}
type Dcs2CreateTransferTaskApi ¶
type Dcs2CreateTransferTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2CreateTransferTaskApi ¶
func NewDcs2CreateTransferTaskApi(client *core.CtyunClient) *Dcs2CreateTransferTaskApi
func (*Dcs2CreateTransferTaskApi) Do ¶
func (a *Dcs2CreateTransferTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2CreateTransferTaskRequest) (*Dcs2CreateTransferTaskResponse, error)
type Dcs2CreateTransferTaskRequest ¶
type Dcs2CreateTransferTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ SourceDbInfo *Dcs2CreateTransferTaskSourceDbInfoRequest `json:"sourceDbInfo"` /* 源数据库 */ TargetDbInfo *Dcs2CreateTransferTaskTargetDbInfoRequest `json:"targetDbInfo"` /* 目标数据库 */ SyncMode int32 `json:"syncMode,omitempty"` /* 同步模式<li>1: 全量同步+增量同步<li>2:全量同步 */ ConflictMode int32 `json:"conflictMode,omitempty"` /* 数据冲突时的处理办法<li>1:中断迁移<li>2:跳过目标key,继续执行<li>3:覆盖目标key,继续执行 */ }
type Dcs2CreateTransferTaskResponse ¶
type Dcs2CreateTransferTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2CreateTransferTaskReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2CreateTransferTaskReturnObjResponse ¶
type Dcs2CreateTransferTaskReturnObjResponse struct{}
type Dcs2CreateTransferTaskSourceDbInfoRequest ¶
type Dcs2CreateTransferTaskSourceDbInfoRequest struct { SpuInstId string `json:"spuInstId,omitempty"` /* 实例ID */ IpAddr string `json:"ipAddr,omitempty"` /* 连接地址 */ OriginalCluster *bool `json:"originalCluster"` /* 是否是原生cluster集群,输入实例id可不填,否则必填 */ AccountName string `json:"accountName,omitempty"` /* 数据库账号 */ Password string `json:"password,omitempty"` /* 数据库密码 */ }
type Dcs2CreateTransferTaskTargetDbInfoRequest ¶
type Dcs2CreateTransferTaskTargetDbInfoRequest struct { SpuInstId string `json:"spuInstId,omitempty"` /* 实例ID */ IpAddr string `json:"ipAddr,omitempty"` /* 连接地址 */ OriginalCluster *bool `json:"originalCluster"` /* 是否是原生cluster集群,输入实例id可不填,否则必填 */ AccountName string `json:"accountName,omitempty"` /* 数据库账号 */ Password string `json:"password,omitempty"` /* 数据库密码 */ }
type Dcs2DelAnalysisInstanceTaskApi ¶
type Dcs2DelAnalysisInstanceTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2DelAnalysisInstanceTaskApi ¶
func NewDcs2DelAnalysisInstanceTaskApi(client *core.CtyunClient) *Dcs2DelAnalysisInstanceTaskApi
func (*Dcs2DelAnalysisInstanceTaskApi) Do ¶
func (a *Dcs2DelAnalysisInstanceTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DelAnalysisInstanceTaskRequest) (*Dcs2DelAnalysisInstanceTaskResponse, error)
type Dcs2DelAnalysisInstanceTaskRequest ¶
type Dcs2DelAnalysisInstanceTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ TaskId []string `json:"taskId"` /* 任务ID列表 */ }
type Dcs2DelAnalysisInstanceTaskResponse ¶
type Dcs2DelAnalysisInstanceTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DelAnalysisInstanceTaskReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DelAnalysisInstanceTaskReturnObjResponse ¶
type Dcs2DelAnalysisInstanceTaskReturnObjResponse struct{}
type Dcs2DelTasksApi ¶
type Dcs2DelTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2DelTasksApi ¶
func NewDcs2DelTasksApi(client *core.CtyunClient) *Dcs2DelTasksApi
func (*Dcs2DelTasksApi) Do ¶
func (a *Dcs2DelTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DelTasksRequest) (*Dcs2DelTasksResponse, error)
type Dcs2DelTasksRequest ¶
type Dcs2DelTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskIdList []string `json:"taskIdList"` /* 待删除的任务id列表(操作上限:50)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=16511&data=81&isNormal=1&vid=270">查询任务列表</a> */ }
type Dcs2DelTasksResponse ¶
type Dcs2DelTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DelTasksReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DelTasksReturnObjResponse ¶
type Dcs2DelTasksReturnObjResponse struct{}
type Dcs2DeleteAccountApi ¶
type Dcs2DeleteAccountApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteAccountApi ¶
func NewDcs2DeleteAccountApi(client *core.CtyunClient) *Dcs2DeleteAccountApi
func (*Dcs2DeleteAccountApi) Do ¶
func (a *Dcs2DeleteAccountApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteAccountRequest) (*Dcs2DeleteAccountResponse, error)
type Dcs2DeleteAccountRequest ¶
type Dcs2DeleteAccountRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ }
type Dcs2DeleteAccountResponse ¶
type Dcs2DeleteAccountResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteAccountReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteAccountReturnObjResponse ¶
type Dcs2DeleteAccountReturnObjResponse struct{}
type Dcs2DeleteBackupApi ¶
type Dcs2DeleteBackupApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteBackupApi ¶
func NewDcs2DeleteBackupApi(client *core.CtyunClient) *Dcs2DeleteBackupApi
func (*Dcs2DeleteBackupApi) Do ¶
func (a *Dcs2DeleteBackupApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteBackupRequest) (*Dcs2DeleteBackupResponse, error)
type Dcs2DeleteBackupRequest ¶
type Dcs2DeleteBackupRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ RestoreName string `json:"restoreName,omitempty"` /* 备份名<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7778&isNormal=1&vid=270">查询备份文件信息</a> Restore表restoreName字段 */ }
type Dcs2DeleteBackupResponse ¶
type Dcs2DeleteBackupResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteBackupReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteBackupReturnObjResponse ¶
type Dcs2DeleteBackupReturnObjResponse struct{}
type Dcs2DeleteBigKeyTaskApi ¶
type Dcs2DeleteBigKeyTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteBigKeyTaskApi ¶
func NewDcs2DeleteBigKeyTaskApi(client *core.CtyunClient) *Dcs2DeleteBigKeyTaskApi
func (*Dcs2DeleteBigKeyTaskApi) Do ¶
func (a *Dcs2DeleteBigKeyTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteBigKeyTaskRequest) (*Dcs2DeleteBigKeyTaskResponse, error)
type Dcs2DeleteBigKeyTaskRequest ¶
type Dcs2DeleteBigKeyTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ }
type Dcs2DeleteBigKeyTaskResponse ¶
type Dcs2DeleteBigKeyTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteDbGroupApi ¶
type Dcs2DeleteDbGroupApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteDbGroupApi ¶
func NewDcs2DeleteDbGroupApi(client *core.CtyunClient) *Dcs2DeleteDbGroupApi
func (*Dcs2DeleteDbGroupApi) Do ¶
func (a *Dcs2DeleteDbGroupApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteDbGroupRequest) (*Dcs2DeleteDbGroupResponse, error)
type Dcs2DeleteDbGroupRequest ¶
type Dcs2DeleteDbGroupRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Groupids []string `json:"groupids"` /* 分组名称集合 */ }
type Dcs2DeleteDbGroupResponse ¶
type Dcs2DeleteDbGroupResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteHotKeyTaskApi ¶
type Dcs2DeleteHotKeyTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteHotKeyTaskApi ¶
func NewDcs2DeleteHotKeyTaskApi(client *core.CtyunClient) *Dcs2DeleteHotKeyTaskApi
func (*Dcs2DeleteHotKeyTaskApi) Do ¶
func (a *Dcs2DeleteHotKeyTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteHotKeyTaskRequest) (*Dcs2DeleteHotKeyTaskResponse, error)
type Dcs2DeleteHotKeyTaskRequest ¶
type Dcs2DeleteHotKeyTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ }
type Dcs2DeleteHotKeyTaskResponse ¶
type Dcs2DeleteHotKeyTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteInstanceApi ¶
type Dcs2DeleteInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteInstanceApi ¶
func NewDcs2DeleteInstanceApi(client *core.CtyunClient) *Dcs2DeleteInstanceApi
func (*Dcs2DeleteInstanceApi) Do ¶
func (a *Dcs2DeleteInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteInstanceRequest) (*Dcs2DeleteInstanceResponse, error)
type Dcs2DeleteInstanceRequest ¶
type Dcs2DeleteInstanceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例Id */ }
type Dcs2DeleteInstanceResponse ¶
type Dcs2DeleteInstanceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteInstanceReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse ¶
type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否已提交 */ NewOrderId string `json:"newOrderId,omitempty"` /* 新订单ID */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 新订单号 */ TotalPrice float64 `json:"totalPrice"` /* 总价 */ }
type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsResponse ¶
type Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否已提交 */ OrderPlacedEvents []*Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse `json:"orderPlacedEvents"` /* orderPlacedEvent */ }
type Dcs2DeleteInstanceReturnObjResponse ¶
type Dcs2DeleteInstanceReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ BatchOrderPlacementResults []*Dcs2DeleteInstanceReturnObjBatchOrderPlacementResultsResponse `json:"batchOrderPlacementResults"` /* OrderPlacementResult */ }
type Dcs2DeleteInstancesApi ¶
type Dcs2DeleteInstancesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteInstancesApi ¶
func NewDcs2DeleteInstancesApi(client *core.CtyunClient) *Dcs2DeleteInstancesApi
func (*Dcs2DeleteInstancesApi) Do ¶
func (a *Dcs2DeleteInstancesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteInstancesRequest) (*Dcs2DeleteInstancesResponse, error)
type Dcs2DeleteInstancesRequest ¶
type Dcs2DeleteInstancesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstIds []string `json:"prodInstIds"` /* 实例Id列表,最多允许10个 */ }
type Dcs2DeleteInstancesResponse ¶
type Dcs2DeleteInstancesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteInstancesReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse ¶
type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否已提交 */ NewOrderId string `json:"newOrderId,omitempty"` /* 新订单ID */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 新订单号 */ TotalPrice float64 `json:"totalPrice"` /* 总价 */ }
type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsResponse ¶
type Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否已提交 */ OrderPlacedEvents []*Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse `json:"orderPlacedEvents"` /* orderPlacedEvent */ }
type Dcs2DeleteInstancesReturnObjResponse ¶
type Dcs2DeleteInstancesReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ BatchOrderPlacementResults []*Dcs2DeleteInstancesReturnObjBatchOrderPlacementResultsResponse `json:"batchOrderPlacementResults"` /* OrderPlacementResult */ }
type Dcs2DeleteKeyApi ¶
type Dcs2DeleteKeyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteKeyApi ¶
func NewDcs2DeleteKeyApi(client *core.CtyunClient) *Dcs2DeleteKeyApi
func (*Dcs2DeleteKeyApi) Do ¶
func (a *Dcs2DeleteKeyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteKeyRequest) (*Dcs2DeleteKeyResponse, error)
type Dcs2DeleteKeyRequest ¶
type Dcs2DeleteKeyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* DB编号 */ Key string `json:"key,omitempty"` /* key值 */ }
type Dcs2DeleteKeyResponse ¶
type Dcs2DeleteKeyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteKeyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteKeyReturnObjResponse ¶
type Dcs2DeleteKeyReturnObjResponse struct{}
type Dcs2DeleteOffLineKeyAnalysisTaskInfoApi ¶
type Dcs2DeleteOffLineKeyAnalysisTaskInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteOffLineKeyAnalysisTaskInfoApi ¶
func NewDcs2DeleteOffLineKeyAnalysisTaskInfoApi(client *core.CtyunClient) *Dcs2DeleteOffLineKeyAnalysisTaskInfoApi
func (*Dcs2DeleteOffLineKeyAnalysisTaskInfoApi) Do ¶
func (a *Dcs2DeleteOffLineKeyAnalysisTaskInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteOffLineKeyAnalysisTaskInfoRequest) (*Dcs2DeleteOffLineKeyAnalysisTaskInfoResponse, error)
type Dcs2DeleteOffLineKeyAnalysisTaskInfoRequest ¶
type Dcs2DeleteOffLineKeyAnalysisTaskInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ }
type Dcs2DeleteOffLineKeyAnalysisTaskInfoResponse ¶
type Dcs2DeleteOffLineKeyAnalysisTaskInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteOffLineKeyAnalysisTaskInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteOffLineKeyAnalysisTaskInfoReturnObjResponse ¶
type Dcs2DeleteOffLineKeyAnalysisTaskInfoReturnObjResponse struct{}
type Dcs2DeleteRedisTemplateApi ¶
type Dcs2DeleteRedisTemplateApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteRedisTemplateApi ¶
func NewDcs2DeleteRedisTemplateApi(client *core.CtyunClient) *Dcs2DeleteRedisTemplateApi
func (*Dcs2DeleteRedisTemplateApi) Do ¶
func (a *Dcs2DeleteRedisTemplateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteRedisTemplateRequest) (*Dcs2DeleteRedisTemplateResponse, error)
type Dcs2DeleteRedisTemplateRequest ¶
type Dcs2DeleteRedisTemplateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TemplateId string `json:"templateId,omitempty"` /* 模板ID */ }
type Dcs2DeleteRedisTemplateResponse ¶
type Dcs2DeleteRedisTemplateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteRedisTemplateReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteRedisTemplateReturnObjResponse ¶
type Dcs2DeleteRedisTemplateReturnObjResponse struct{}
type Dcs2DeleteTransferTaskApi ¶
type Dcs2DeleteTransferTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteTransferTaskApi ¶
func NewDcs2DeleteTransferTaskApi(client *core.CtyunClient) *Dcs2DeleteTransferTaskApi
func (*Dcs2DeleteTransferTaskApi) Do ¶
func (a *Dcs2DeleteTransferTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteTransferTaskRequest) (*Dcs2DeleteTransferTaskResponse, error)
type Dcs2DeleteTransferTaskRequest ¶
type Dcs2DeleteTransferTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskIdList []string `json:"taskIdList"` /* 待删除的任务id列表(操作上限:50)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ }
type Dcs2DeleteTransferTaskResponse ¶
type Dcs2DeleteTransferTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteTransferTaskReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteTransferTaskReturnObjResponse ¶
type Dcs2DeleteTransferTaskReturnObjResponse struct{}
type Dcs2DeleteValueApi ¶
type Dcs2DeleteValueApi struct {
// contains filtered or unexported fields
}
func NewDcs2DeleteValueApi ¶
func NewDcs2DeleteValueApi(client *core.CtyunClient) *Dcs2DeleteValueApi
func (*Dcs2DeleteValueApi) Do ¶
func (a *Dcs2DeleteValueApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DeleteValueRequest) (*Dcs2DeleteValueResponse, error)
type Dcs2DeleteValueRequest ¶
type Dcs2DeleteValueRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* DB编号 */ Key string `json:"key,omitempty"` /* key */ RawType string `json:"type,omitempty"` /* key类型<li>hash<li>list<li>set<li>zset */ Index int32 `json:"index,omitempty"` /* 索引 */ DelValue string `json:"delValue,omitempty"` /* 删除的元素key */ }
type Dcs2DeleteValueResponse ¶
type Dcs2DeleteValueResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DeleteValueReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DeleteValueReturnObjResponse ¶
type Dcs2DeleteValueReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows *Dcs2DeleteValueReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2DeleteValueReturnObjRowsResponse ¶
type Dcs2DeleteValueReturnObjRowsResponse struct { TotalItems int32 `json:"totalItems,omitempty"` /* 集合key总数量 */ NewKey string `json:"newKey,omitempty"` /* 新key */ OldKey string `json:"oldKey,omitempty"` /* 旧key */ GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ RawType string `json:"type,omitempty"` /* 类型 */ RedisIp string `json:"redisIp,omitempty"` /* 节点IP */ RedisPort string `json:"redisPort,omitempty"` /* 节点端口 */ Key string `json:"key,omitempty"` /* key值 */ ValueMap *Dcs2DeleteValueReturnObjRowsValueMapResponse `json:"valueMap"` /* valueMap {key:value} */ }
type Dcs2DeleteValueReturnObjRowsValueMapResponse ¶
type Dcs2DeleteValueReturnObjRowsValueMapResponse struct{}
type Dcs2DescribeAccountsApi ¶
type Dcs2DescribeAccountsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeAccountsApi ¶
func NewDcs2DescribeAccountsApi(client *core.CtyunClient) *Dcs2DescribeAccountsApi
func (*Dcs2DescribeAccountsApi) Do ¶
func (a *Dcs2DescribeAccountsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeAccountsRequest) (*Dcs2DescribeAccountsResponse, error)
type Dcs2DescribeAccountsRequest ¶
type Dcs2DescribeAccountsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeAccountsResponse ¶
type Dcs2DescribeAccountsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeAccountsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeAccountsReturnObjResponse ¶
type Dcs2DescribeAccountsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeAccountsReturnObjRowsResponse `json:"rows"` /* 账号集合,见Account */ }
type Dcs2DescribeAvailableRegionApi ¶
type Dcs2DescribeAvailableRegionApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeAvailableRegionApi ¶
func NewDcs2DescribeAvailableRegionApi(client *core.CtyunClient) *Dcs2DescribeAvailableRegionApi
func (*Dcs2DescribeAvailableRegionApi) Do ¶
func (a *Dcs2DescribeAvailableRegionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeAvailableRegionRequest) (*Dcs2DescribeAvailableRegionResponse, error)
type Dcs2DescribeAvailableRegionRequest ¶
type Dcs2DescribeAvailableRegionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ResPoolCode string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ }
type Dcs2DescribeAvailableRegionResponse ¶
type Dcs2DescribeAvailableRegionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj []*Dcs2DescribeAvailableRegionReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeAvailableRegionReturnObjProductsResponse ¶
type Dcs2DescribeAvailableRegionReturnObjProductsResponse struct { ProdName string `json:"prodName,omitempty"` /* 产品名称 */ ProdCode string `json:"prodCode,omitempty"` /* 产品编码 */ OuterProdCode string `json:"outerProdCode,omitempty"` /* 产品外部编码 */ ProdStatus string `json:"prodStatus,omitempty"` /* 产品状态<li>2:正常<li>其他表示异常 */ }
type Dcs2DescribeAvailableRegionReturnObjResponse ¶
type Dcs2DescribeAvailableRegionReturnObjResponse struct { ResPoolCode string `json:"resPoolCode,omitempty"` /* 资源池ID */ ResPoolName string `json:"resPoolName,omitempty"` /* 资源池名称 */ Products []*Dcs2DescribeAvailableRegionReturnObjProductsResponse `json:"products"` /* 产品实体 */ }
type Dcs2DescribeAvailableResourceApi ¶
type Dcs2DescribeAvailableResourceApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeAvailableResourceApi ¶
func NewDcs2DescribeAvailableResourceApi(client *core.CtyunClient) *Dcs2DescribeAvailableResourceApi
func (*Dcs2DescribeAvailableResourceApi) Do ¶
func (a *Dcs2DescribeAvailableResourceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeAvailableResourceRequest) (*Dcs2DescribeAvailableResourceResponse, error)
type Dcs2DescribeAvailableResourceRequest ¶
type Dcs2DescribeAvailableResourceRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */
}
type Dcs2DescribeAvailableResourceResponse ¶
type Dcs2DescribeAvailableResourceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeAvailableResourceReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeAvailableResourceReturnObjResponse ¶
type Dcs2DescribeAvailableResourceReturnObjResponse struct { SeriesInfoList []*Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResponse `json:"seriesInfoList"` /* 产品系列信息 */ MirrorArray []*Dcs2DescribeAvailableResourceReturnObjMirrorArrayResponse `json:"mirrorArray"` /* 系统镜像信息 */ }
type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResItemsResponse ¶
type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResItemsResponse struct { ResType string `json:"resType,omitempty"` /* 资源类型<li>ecs:云服务器<li>ebs:磁盘 */ ResName string `json:"resName,omitempty"` /* 资源名称 */ Items []string `json:"items"` /* 资源类型可选值<br>说明:以实际返回为准<br><br>云服务器<li>S7:通用型<li>C7:计算型<li>M7:内存型<li>HS1:海光通用型<li>HC1:海光计算增强型<li>KS1:鲲鹏通用型<li>KC1:鲲鹏计算增强型 <br><br>磁盘<li>SATA:普通IO<li>SAS:高IO<li>SSD:超高IO<li>FAST-SSD:极速型SSD */ }
type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResponse ¶
type Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResponse struct { Version string `json:"version,omitempty"` /* 版本类型<li>BASIC:基础版<li>PLUS:增强版<li>Classic:经典版<li>Capacity:容量型 */ SeriesCode string `json:"seriesCode,omitempty"` /* 产品系列编码 */ SeriesName string `json:"seriesName,omitempty"` /* 产品系列名称 */ SeriesId int64 `json:"seriesId,omitempty"` /* 产品系列ID */ ResItems []*Dcs2DescribeAvailableResourceReturnObjSeriesInfoListResItemsResponse `json:"resItems"` /* 资源类型信息 */ EngineTypeItems []string `json:"engineTypeItems"` /* 引擎版本 */ MemSizeItems []string `json:"memSizeItems"` /* 内存容量可选值(GB)<br>说明:version为Classic和Capacity有值 */ ShardMemSizeItems []string `json:"shardMemSizeItems"` /* 单分片内存可选值(GB)。<br>说明:version为BASIC和PLUS有值 */ }
type Dcs2DescribeBackupPolicyApi ¶
type Dcs2DescribeBackupPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeBackupPolicyApi ¶
func NewDcs2DescribeBackupPolicyApi(client *core.CtyunClient) *Dcs2DescribeBackupPolicyApi
func (*Dcs2DescribeBackupPolicyApi) Do ¶
func (a *Dcs2DescribeBackupPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeBackupPolicyRequest) (*Dcs2DescribeBackupPolicyResponse, error)
type Dcs2DescribeBackupPolicyRequest ¶
type Dcs2DescribeBackupPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeBackupPolicyResponse ¶
type Dcs2DescribeBackupPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeBackupPolicyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeBackupTasksApi ¶
type Dcs2DescribeBackupTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeBackupTasksApi ¶
func NewDcs2DescribeBackupTasksApi(client *core.CtyunClient) *Dcs2DescribeBackupTasksApi
func (*Dcs2DescribeBackupTasksApi) Do ¶
func (a *Dcs2DescribeBackupTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeBackupTasksRequest) (*Dcs2DescribeBackupTasksResponse, error)
type Dcs2DescribeBackupTasksRequest ¶
type Dcs2DescribeBackupTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ RestoreName string /* 备份名<br><span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7771&isNormal=1&vid=270">手动备份数据</a> restoreName字段 */ }
type Dcs2DescribeBackupTasksResponse ¶
type Dcs2DescribeBackupTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeBackupTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeBackupsApi ¶
type Dcs2DescribeBackupsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeBackupsApi ¶
func NewDcs2DescribeBackupsApi(client *core.CtyunClient) *Dcs2DescribeBackupsApi
func (*Dcs2DescribeBackupsApi) Do ¶
func (a *Dcs2DescribeBackupsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeBackupsRequest) (*Dcs2DescribeBackupsResponse, error)
type Dcs2DescribeBackupsRequest ¶
type Dcs2DescribeBackupsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeBackupsResponse ¶
type Dcs2DescribeBackupsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeBackupsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeBackupsReturnObjResponse ¶
type Dcs2DescribeBackupsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeBackupsReturnObjRowsResponse `json:"rows"` /* 备份文件信息集合,见Restore */ }
type Dcs2DescribeBackupsReturnObjRowsResponse ¶
type Dcs2DescribeBackupsReturnObjRowsResponse struct { RestoreName string `json:"restoreName,omitempty"` /* 备份名 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间(格式:yyyy-MM-dd HH:mm:ss) */ Status string `json:"status,omitempty"` /* 节点状态<li>success:成功<li>processing:进行中<li>fail:失败。 */ RecoveryStatus string `json:"recoveryStatus,omitempty"` /* 备份恢复状态<li>success:成功<li>processing:进行中<li>fail:失败<li>create:备份点创建。 */ RawType int32 `json:"type,omitempty"` /* 备份类型<li>0:手动备份<li>1:自动备份 */ }
type Dcs2DescribeBigAndHotKeysApi ¶
type Dcs2DescribeBigAndHotKeysApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeBigAndHotKeysApi ¶
func NewDcs2DescribeBigAndHotKeysApi(client *core.CtyunClient) *Dcs2DescribeBigAndHotKeysApi
func (*Dcs2DescribeBigAndHotKeysApi) Do ¶
func (a *Dcs2DescribeBigAndHotKeysApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeBigAndHotKeysRequest) (*Dcs2DescribeBigAndHotKeysResponse, error)
type Dcs2DescribeBigAndHotKeysRequest ¶
type Dcs2DescribeBigAndHotKeysRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeBigAndHotKeysResponse ¶
type Dcs2DescribeBigAndHotKeysResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeBigAndHotKeysReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeBigAndHotKeysReturnObjResponse ¶
type Dcs2DescribeBigAndHotKeysReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID,通过describeKeyTaskRecord接口查询结果 */
}
type Dcs2DescribeBigKeyTasksApi ¶
type Dcs2DescribeBigKeyTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeBigKeyTasksApi ¶
func NewDcs2DescribeBigKeyTasksApi(client *core.CtyunClient) *Dcs2DescribeBigKeyTasksApi
func (*Dcs2DescribeBigKeyTasksApi) Do ¶
func (a *Dcs2DescribeBigKeyTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeBigKeyTasksRequest) (*Dcs2DescribeBigKeyTasksResponse, error)
type Dcs2DescribeBigKeyTasksRequest ¶
type Dcs2DescribeBigKeyTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeBigKeyTasksResponse ¶
type Dcs2DescribeBigKeyTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeBigKeyTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeBigKeyTasksReturnObjResponse ¶
type Dcs2DescribeBigKeyTasksReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 对象总数量 */ Rows []*Dcs2DescribeBigKeyTasksReturnObjRowsResponse `json:"rows"` /* 对象列表 */ }
type Dcs2DescribeBigKeyTasksReturnObjRowsKeyNodesResponse ¶
type Dcs2DescribeBigKeyTasksReturnObjRowsKeyNodesResponse struct { Key string `json:"key,omitempty"` /* 要查询的key */ KeyType string `json:"keyType,omitempty"` /* Key的类型 */ Size int64 `json:"size,omitempty"` /* 大小<br>说明:对应String类型的key,则是统计key大小;对于list,hash,set,zset类型的key则是统计成员数据 */ Db int32 `json:"db,omitempty"` /* 热key所在分组db */ NodeUrl string `json:"nodeUrl,omitempty"` /* 热key所在节点的url */ }
type Dcs2DescribeBigKeyTasksReturnObjRowsResponse ¶
type Dcs2DescribeBigKeyTasksReturnObjRowsResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID */ Status string `json:"status,omitempty"` /* 状态<li>success:成功<li>processing:进行中<li>fail:失败 */ Time string `json:"time,omitempty"` /* 开始时间 */ ScanType string `json:"scanType,omitempty"` /* 执行方式<li>manual:手动<li>auto:自动 */ KeyNodes []*Dcs2DescribeBigKeyTasksReturnObjRowsKeyNodesResponse `json:"keyNodes"` /* key列表,大key(BigKeyNode)对象的集合 */ FinishedTime string `json:"finishedTime,omitempty"` /* 结束时间 */ TaskType int32 `json:"taskType,omitempty"` /* 任务类型<li>0:大key<li>1:热key */ }
type Dcs2DescribeClusterMemberInfoApi ¶
type Dcs2DescribeClusterMemberInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeClusterMemberInfoApi ¶
func NewDcs2DescribeClusterMemberInfoApi(client *core.CtyunClient) *Dcs2DescribeClusterMemberInfoApi
func (*Dcs2DescribeClusterMemberInfoApi) Do ¶
func (a *Dcs2DescribeClusterMemberInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeClusterMemberInfoRequest) (*Dcs2DescribeClusterMemberInfoResponse, error)
type Dcs2DescribeClusterMemberInfoRequest ¶
type Dcs2DescribeClusterMemberInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeClusterMemberInfoResponse ¶
type Dcs2DescribeClusterMemberInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ Total int32 `json:"total,omitempty"` /* 响应码描述 */ Rows []*Dcs2DescribeClusterMemberInfoRowsResponse `json:"rows"` /* 返回redis集群数据集,数据见rows */ }
type Dcs2DescribeClusterMemberInfoRowsNodesResponse ¶
type Dcs2DescribeClusterMemberInfoRowsNodesResponse struct { MasterName string `json:"masterName,omitempty"` /* 主节点名称 */ StartSlot string `json:"startSlot,omitempty"` /* 开始槽位 */ EndSlot string `json:"endSlot,omitempty"` /* 结束槽位 */ ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ Enabled *bool `json:"enabled"` /* 是否可用状态 */ FragmentName string `json:"fragmentName,omitempty"` /* 分片名称 */ SlaveNodes []*Dcs2DescribeClusterMemberInfoRowsNodesSlaveNodesResponse `json:"slaveNodes"` /* 从节点数组,数据见SlaveNode */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc连接地址 */ SpuInstDeployId string `json:"spuInstDeployId,omitempty"` /* 节点ID */ AzId string `json:"azId,omitempty"` /* 可用区ID */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ NodeVpcIp string `json:"nodeVpcIp,omitempty"` /* 节点VPCIP */ }
type Dcs2DescribeClusterMemberInfoRowsNodesSlaveNodesResponse ¶
type Dcs2DescribeClusterMemberInfoRowsNodesSlaveNodesResponse struct { SlaveName string `json:"slaveName,omitempty"` /* redis从节点名称 */ ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ Enabled *bool `json:"enabled"` /* 是否可用状态 */ VpcUrl string `json:"vpcUrl,omitempty"` /* 从节点vpc连接地址 */ SpuInstDeployId string `json:"spuInstDeployId,omitempty"` /* 节点ID */ AzId string `json:"azId,omitempty"` /* 可用区ID */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ NodeVpcIp string `json:"nodeVpcIp,omitempty"` /* 节点VpcIp */ }
type Dcs2DescribeClusterMemberInfoRowsResponse ¶
type Dcs2DescribeClusterMemberInfoRowsResponse struct { RedisSetName string `json:"redisSetName,omitempty"` /* redis集群名 */ RedisSetInfo string `json:"RedisSetInfo,omitempty"` /* redis集群节点信息 */ LastestTime string `json:"lastestTime,omitempty"` /* 更新时间戳 */ IsRWsep string `json:"isRWsep,omitempty"` /* 是否读写分离<li>true:开启<li>false:关闭 */ Nodes []*Dcs2DescribeClusterMemberInfoRowsNodesResponse `json:"nodes"` /* redis节点集合,数据见RedisNode */ SlotInfo string `json:"slotInfo,omitempty"` /* 槽位信息 */ Requirepass string `json:"Requirepass,omitempty"` /* redis节点密码 */ RequirepassEncrypt string `json:"requirepassEncrypt,omitempty"` /* redis节点密文 */ IsAuth string `json:"isAuth,omitempty"` /* 是否加密鉴权 */ }
type Dcs2DescribeCycleBinInstancesApi ¶
type Dcs2DescribeCycleBinInstancesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeCycleBinInstancesApi ¶
func NewDcs2DescribeCycleBinInstancesApi(client *core.CtyunClient) *Dcs2DescribeCycleBinInstancesApi
func (*Dcs2DescribeCycleBinInstancesApi) Do ¶
func (a *Dcs2DescribeCycleBinInstancesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeCycleBinInstancesRequest) (*Dcs2DescribeCycleBinInstancesResponse, error)
type Dcs2DescribeCycleBinInstancesRequest ¶
type Dcs2DescribeCycleBinInstancesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ PageIndex int32 /* 当前页码 */ PageSize int32 /* 每页大小 */ InstanceName string /* 实例名称 */ LabelIds []string /* 标签id列表,多个标签以逗号分隔 */ ProjectId string /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ }
type Dcs2DescribeCycleBinInstancesResponse ¶
type Dcs2DescribeCycleBinInstancesResponse struct { RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeCycleBinInstancesReturnObjResponse `json:"returnObj"` /* 响应对象 */ }
type Dcs2DescribeCycleBinInstancesReturnObjResponse ¶
type Dcs2DescribeCycleBinInstancesReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2DescribeCycleBinInstancesReturnObjRowsResponse `json:"rows"` /* 实例列表信息 */ }
type Dcs2DescribeCycleBinInstancesReturnObjRowsResponse ¶
type Dcs2DescribeCycleBinInstancesReturnObjRowsResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ User string `json:"user,omitempty"` /* 实例ID */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ AccessSets string `json:"accessSets,omitempty"` /* 接入机集群名 */ RedisSets string `json:"redisSets,omitempty"` /* REDIS集群名 */ Vip string `json:"vip,omitempty"` /* vip地址 */ Vipv6 string `json:"vipv6,omitempty"` /* IPV6格式的vip地址 */ Status int32 `json:"status,omitempty"` /* 实例状态<li>0:有效<li>1:开通中<li>2:暂停<li>3:变更中<li>4:开通失败<li>5:停止中<li>6:已停止<li>8:已退订 */ VipPort int32 `json:"vipPort,omitempty"` /* vip访问端口 */ CapacityInfo string `json:"capacityInfo,omitempty"` /* 容量信息 */ PayType int32 `json:"payType,omitempty"` /* 付费类型<li>0:包年/包月<li>1: 按需 */ PayTypeName string `json:"payTypeName,omitempty"` /* 付费类型名 */ ElasticIpBind int32 `json:"elasticIpBind,omitempty"` /* 是否绑定弹性IP<li>0:未绑定<li>1:已绑定 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP */ OuterElasticIpId string `json:"outerElasticIpId,omitempty"` /* 弹性IP ID */ Whitelists string `json:"whitelists,omitempty"` /* 访问白名单 */ Expiration string `json:"expiration,omitempty"` /* 过期时间 */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎版本 */ EngineVersionName string `json:"engineVersionName,omitempty"` /* 引擎版本名 */ ArchType string `json:"archType,omitempty"` /* 架构类型<li>1:集群版<li>2:标准版<li>3:直连Cluster版<li>4:容量版<li>5:Proxy集群版 */ NodeType string `json:"nodeType,omitempty"` /* 节点类型<li>1:双副本<li>2:单副本 */ SecurityGroup string `json:"securityGroup,omitempty"` /* 安全组 */ NetName string `json:"netName,omitempty"` /* vpc网络名称 */ Subnet string `json:"subnet,omitempty"` /* 子网名称 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间 */ ExpTime string `json:"expTime,omitempty"` /* 过期时间 */ ArchTypeName string `json:"archTypeName,omitempty"` /* 架构类型 */ NodeTypeName string `json:"nodeTypeName,omitempty"` /* 节点类型名 */ TplName string `json:"tplName,omitempty"` /* 模板名称 */ TplCode string `json:"tplCode,omitempty"` /* 模板编码 */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 维护时间 */ AzList []*Dcs2DescribeCycleBinInstancesReturnObjRowsAzListResponse `json:"azList"` /* 可用区列表 */ StatusName string `json:"statusName,omitempty"` /* 状态名称 */ ProtectionStatus bool `json:"protectionStatus,omitempty"` /* 实例退订保护状态 */ CopiesCount string `json:"copiesCount,omitempty"` /* 副本数 */ ReadReplica string `json:"readReplica,omitempty"` /* 只读副本数 */ ShardCount string `json:"shardCount,omitempty"` /* 分片数 */ Labels []*Dcs2DescribeCycleBinInstancesReturnObjRowsLabelsResponse `json:"labels"` /* 实例标签列表 */ CpuArchType string `json:"cpuArchType,omitempty"` /* cpu架构<li>x86<li>arm */ OuterProjectId string `json:"outerProjectId,omitempty"` /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ OuterProjectName string `json:"outerProjectName,omitempty"` /* 项目名 */ Description string `json:"description,omitempty"` /* 实例描述信息 */ DataDiskType string `json:"dataDiskType"` ShardMemSize string `json:"shardMemSize"` Capacity string `json:"capacity"` }
type Dcs2DescribeDBInstanceNetInfoApi ¶
type Dcs2DescribeDBInstanceNetInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeDBInstanceNetInfoApi ¶
func NewDcs2DescribeDBInstanceNetInfoApi(client *core.CtyunClient) *Dcs2DescribeDBInstanceNetInfoApi
func (*Dcs2DescribeDBInstanceNetInfoApi) Do ¶
func (a *Dcs2DescribeDBInstanceNetInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeDBInstanceNetInfoRequest) (*Dcs2DescribeDBInstanceNetInfoResponse, error)
type Dcs2DescribeDBInstanceNetInfoRequest ¶
type Dcs2DescribeDBInstanceNetInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeDBInstanceNetInfoResponse ¶
type Dcs2DescribeDBInstanceNetInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeDBInstanceNetInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeDBInstanceNetInfoReturnObjResponse ¶
type Dcs2DescribeDBInstanceNetInfoReturnObjResponse struct { ConnectionString string `json:"connectionString,omitempty"` /* 连接地址 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP */ NetName string `json:"netName,omitempty"` /* vpc网络 */ ExpTime string `json:"expTime,omitempty"` /* 过期时间 */ ArchTypeName string `json:"archTypeName,omitempty"` /* 架构类型 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例 ID */ }
type Dcs2DescribeDbGroupApi ¶
type Dcs2DescribeDbGroupApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeDbGroupApi ¶
func NewDcs2DescribeDbGroupApi(client *core.CtyunClient) *Dcs2DescribeDbGroupApi
func (*Dcs2DescribeDbGroupApi) Do ¶
func (a *Dcs2DescribeDbGroupApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeDbGroupRequest) (*Dcs2DescribeDbGroupResponse, error)
type Dcs2DescribeDbGroupRequest ¶
type Dcs2DescribeDbGroupRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeDbGroupResponse ¶
type Dcs2DescribeDbGroupResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeDbGroupReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeDbGroupReturnObjResponse ¶
type Dcs2DescribeDbGroupReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeDbGroupReturnObjRowsResponse `json:"rows"` /* GroupNode数据集List */ }
type Dcs2DescribeDbGroupReturnObjRowsResponse ¶
type Dcs2DescribeDbGroupReturnObjRowsResponse struct { GroupName string `json:"groupName,omitempty"` /* 分组名称 */ GroupInfo string `json:"groupInfo,omitempty"` /* 分组信息 */ LatestTime string `json:"latestTime,omitempty"` /* 更新时间, UTC格式 */ Dborder string `json:"dborder,omitempty"` /* 分组对应的db */ RedisSetName string `json:"redisSetName,omitempty"` /* redis集群名 */ Title string `json:"title,omitempty"` /* 拓展,未使用 */ Nodes string `json:"nodes,omitempty"` /* 拓展,未使用 */ Link string `json:"link,omitempty"` /* 拓展,未使用 */ UserName string `json:"userName,omitempty"` /* 实例名称 */ UserPwd string `json:"userPwd,omitempty"` /* 用户密码 */ UseClientCache string `json:"useClientCache,omitempty"` /* 拓展,未使用 */ MaxObjects string `json:"maxObjects,omitempty"` /* 拓展,未使用 */ MaxLife string `json:"maxLife,omitempty"` /* 拓展,未使用 */ }
type Dcs2DescribeDbGroupsApi ¶
type Dcs2DescribeDbGroupsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeDbGroupsApi ¶
func NewDcs2DescribeDbGroupsApi(client *core.CtyunClient) *Dcs2DescribeDbGroupsApi
func (*Dcs2DescribeDbGroupsApi) Do ¶
func (a *Dcs2DescribeDbGroupsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeDbGroupsRequest) (*Dcs2DescribeDbGroupsResponse, error)
type Dcs2DescribeDbGroupsRequest ¶
type Dcs2DescribeDbGroupsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeDbGroupsResponse ¶
type Dcs2DescribeDbGroupsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeDbGroupsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeDbGroupsReturnObjResponse ¶
type Dcs2DescribeDbGroupsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总行数 */ Rows []*Dcs2DescribeDbGroupsReturnObjRowsResponse `json:"rows"` /* DB列表 */ }
type Dcs2DescribeDbKeyCountApi ¶
type Dcs2DescribeDbKeyCountApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeDbKeyCountApi ¶
func NewDcs2DescribeDbKeyCountApi(client *core.CtyunClient) *Dcs2DescribeDbKeyCountApi
func (*Dcs2DescribeDbKeyCountApi) Do ¶
func (a *Dcs2DescribeDbKeyCountApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeDbKeyCountRequest) (*Dcs2DescribeDbKeyCountResponse, error)
type Dcs2DescribeDbKeyCountRequest ¶
type Dcs2DescribeDbKeyCountRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ Groups string /* DB编号,多个分组用逗号间隔 */ }
type Dcs2DescribeDbKeyCountResponse ¶
type Dcs2DescribeDbKeyCountResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeDbKeyCountReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeDbKeyCountReturnObjResponse ¶
type Dcs2DescribeDbKeyCountReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeDbKeyCountReturnObjRowsResponse `json:"rows"` /* rows */ }
type Dcs2DescribeDedicatedClusterInstanceListApi ¶
type Dcs2DescribeDedicatedClusterInstanceListApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeDedicatedClusterInstanceListApi ¶
func NewDcs2DescribeDedicatedClusterInstanceListApi(client *core.CtyunClient) *Dcs2DescribeDedicatedClusterInstanceListApi
func (*Dcs2DescribeDedicatedClusterInstanceListApi) Do ¶
func (a *Dcs2DescribeDedicatedClusterInstanceListApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeDedicatedClusterInstanceListRequest) (*Dcs2DescribeDedicatedClusterInstanceListResponse, error)
type Dcs2DescribeDedicatedClusterInstanceListRequest ¶
type Dcs2DescribeDedicatedClusterInstanceListRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ PageIndex int32 /* 当前页码 */ PageSize int32 /* 每页大小 */ InstanceName string /* 实例名称 */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeDedicatedClusterInstanceListResponse ¶
type Dcs2DescribeDedicatedClusterInstanceListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeDedicatedClusterInstanceListReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeDedicatedClusterInstanceListReturnObjResponse ¶
type Dcs2DescribeDedicatedClusterInstanceListReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2DescribeDedicatedClusterInstanceListReturnObjRowsResponse `json:"rows"` /* UserInfo */ }
type Dcs2DescribeDedicatedClusterInstanceListReturnObjRowsResponse ¶
type Dcs2DescribeDedicatedClusterInstanceListReturnObjRowsResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ User string `json:"user,omitempty"` /* 实例ID */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ AccessSets string `json:"accessSets,omitempty"` /* 接入机集群名 */ RedisSets string `json:"redisSets,omitempty"` /* REDIS集群名 */ Vip string `json:"vip,omitempty"` /* vip地址 */ Vipv6 string `json:"vipv6,omitempty"` /* IPV6格式的vip地址 */ Status int32 `json:"status,omitempty"` /* 实例状态<li>0:有效<li>1:开通中<li>2:暂停<li>3:变更中<li>4:开通失败<li>5:停止中<li>6:已停止<li>8:已退订 */ VipPort int32 `json:"vipPort,omitempty"` /* vip访问端口 */ CapacityInfo string `json:"capacityInfo,omitempty"` /* 容量信息 */ PayType int32 `json:"payType,omitempty"` /* 付费类型<li>0:包年/包月<li>1: 按需 */ PayTypeName string `json:"payTypeName,omitempty"` /* 付费类型名 */ ElasticIpBind int32 `json:"elasticIpBind,omitempty"` /* 是否绑定弹性IP<li>0:未绑定<li>1:已绑定 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP */ OuterElasticIpId string `json:"outerElasticIpId,omitempty"` /* 弹性IP ID */ Whitelists string `json:"whitelists,omitempty"` /* 访问白名单 */ Expiration string `json:"expiration,omitempty"` /* 过期时间 */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎版本 */ EngineVersionName string `json:"engineVersionName,omitempty"` /* 引擎版本名 */ ArchType string `json:"archType,omitempty"` /* 架构类型<li>1:集群版<li>2:标准版<li>3:直连Cluster版<li>4:容量版<li>5:Proxy集群版 */ NodeType string `json:"nodeType,omitempty"` /* 节点类型<li>1:双副本<li>2:单副本 */ SecurityGroup string `json:"securityGroup,omitempty"` /* 安全组 */ NetName string `json:"netName,omitempty"` /* vpc网络名称 */ Subnet string `json:"subnet,omitempty"` /* 子网名称 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间 */ ExpTime string `json:"expTime,omitempty"` /* 过期时间 */ ArchTypeName string `json:"archTypeName,omitempty"` /* 架构类型 */ NodeTypeName string `json:"nodeTypeName,omitempty"` /* 节点类型名 */ TplName string `json:"tplName,omitempty"` /* 模板名称 */ TplCode string `json:"tplCode,omitempty"` /* 模板编码 */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 维护时间 */ StatusName string `json:"statusName,omitempty"` /* 状态名称 */ ProtectionStatus bool `json:"protectionStatus"` /* 实例退订保护状态 */ CopiesCount string `json:"copiesCount,omitempty"` /* 副本数 */ ReadReplica string `json:"readReplica,omitempty"` /* 只读副本数 */ ShardCount string `json:"shardCount,omitempty"` /* 分片数 */ CpuArchType string `json:"cpuArchType,omitempty"` /* cpu架构<li>x86<li>arm */ OuterProjectId string `json:"outerProjectId,omitempty"` /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ OuterProjectName string `json:"outerProjectName,omitempty"` /* 项目名 */ Description string `json:"description,omitempty"` /* 实例描述信息 */ }
type Dcs2DescribeEngineVersionApi ¶
type Dcs2DescribeEngineVersionApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeEngineVersionApi ¶
func NewDcs2DescribeEngineVersionApi(client *core.CtyunClient) *Dcs2DescribeEngineVersionApi
func (*Dcs2DescribeEngineVersionApi) Do ¶
func (a *Dcs2DescribeEngineVersionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeEngineVersionRequest) (*Dcs2DescribeEngineVersionResponse, error)
type Dcs2DescribeEngineVersionRequest ¶
type Dcs2DescribeEngineVersionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeEngineVersionResponse ¶
type Dcs2DescribeEngineVersionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeHistoryMonitorItemsApi ¶
type Dcs2DescribeHistoryMonitorItemsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeHistoryMonitorItemsApi ¶
func NewDcs2DescribeHistoryMonitorItemsApi(client *core.CtyunClient) *Dcs2DescribeHistoryMonitorItemsApi
func (*Dcs2DescribeHistoryMonitorItemsApi) Do ¶
func (a *Dcs2DescribeHistoryMonitorItemsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeHistoryMonitorItemsRequest) (*Dcs2DescribeHistoryMonitorItemsResponse, error)
type Dcs2DescribeHistoryMonitorItemsRequest ¶
type Dcs2DescribeHistoryMonitorItemsRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */
}
type Dcs2DescribeHistoryMonitorItemsResponse ¶
type Dcs2DescribeHistoryMonitorItemsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeHistoryMonitorItemsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeHistoryMonitorItemsReturnObjResponse ¶
type Dcs2DescribeHistoryMonitorItemsReturnObjResponse struct{}
type Dcs2DescribeHotKeyTasksApi ¶
type Dcs2DescribeHotKeyTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeHotKeyTasksApi ¶
func NewDcs2DescribeHotKeyTasksApi(client *core.CtyunClient) *Dcs2DescribeHotKeyTasksApi
func (*Dcs2DescribeHotKeyTasksApi) Do ¶
func (a *Dcs2DescribeHotKeyTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeHotKeyTasksRequest) (*Dcs2DescribeHotKeyTasksResponse, error)
type Dcs2DescribeHotKeyTasksRequest ¶
type Dcs2DescribeHotKeyTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeHotKeyTasksResponse ¶
type Dcs2DescribeHotKeyTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeHotKeyTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeHotKeyTasksReturnObjResponse ¶
type Dcs2DescribeHotKeyTasksReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 对象总数量 */ Rows []*Dcs2DescribeHotKeyTasksReturnObjRowsResponse `json:"rows"` /* 对象列表 */ }
type Dcs2DescribeHotKeyTasksReturnObjRowsResponse ¶
type Dcs2DescribeHotKeyTasksReturnObjRowsResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID */ Status string `json:"status,omitempty"` /* 状态<li>success:成功<li>processing:进行中<li>fail:失败 */ Time string `json:"time,omitempty"` /* 开始时间,时间格式为“年月日时分秒”(如YYYYMMDDHHMMSS) */ ScanType string `json:"scanType,omitempty"` /* 执行方式 */ FinishedTime string `json:"finishedTime,omitempty"` /* 结束时间 */ TaskType int32 `json:"taskType,omitempty"` /* 任务类型<li>0:大key<li>1:热key */ }
type Dcs2DescribeHotKeysApi ¶
type Dcs2DescribeHotKeysApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeHotKeysApi ¶
func NewDcs2DescribeHotKeysApi(client *core.CtyunClient) *Dcs2DescribeHotKeysApi
func (*Dcs2DescribeHotKeysApi) Do ¶
func (a *Dcs2DescribeHotKeysApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeHotKeysRequest) (*Dcs2DescribeHotKeysResponse, error)
type Dcs2DescribeHotKeysRequest ¶
type Dcs2DescribeHotKeysRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeHotKeysResponse ¶
type Dcs2DescribeHotKeysResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeHotKeysReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeHotKeysReturnObjResponse ¶
type Dcs2DescribeHotKeysReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type Dcs2DescribeInstanceConfigApi ¶
type Dcs2DescribeInstanceConfigApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceConfigApi ¶
func NewDcs2DescribeInstanceConfigApi(client *core.CtyunClient) *Dcs2DescribeInstanceConfigApi
func (*Dcs2DescribeInstanceConfigApi) Do ¶
func (a *Dcs2DescribeInstanceConfigApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceConfigRequest) (*Dcs2DescribeInstanceConfigResponse, error)
type Dcs2DescribeInstanceConfigRequest ¶
type Dcs2DescribeInstanceConfigRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstanceConfigResponse ¶
type Dcs2DescribeInstanceConfigResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceConfigV2Api ¶
type Dcs2DescribeInstanceConfigV2Api struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceConfigV2Api ¶
func NewDcs2DescribeInstanceConfigV2Api(client *core.CtyunClient) *Dcs2DescribeInstanceConfigV2Api
func (*Dcs2DescribeInstanceConfigV2Api) Do ¶
func (a *Dcs2DescribeInstanceConfigV2Api) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceConfigV2Request) (*Dcs2DescribeInstanceConfigV2Response, error)
type Dcs2DescribeInstanceConfigV2Request ¶
type Dcs2DescribeInstanceConfigV2Request struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstanceConfigV2Response ¶
type Dcs2DescribeInstanceConfigV2Response struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstanceConfigV2ReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceConfigV2ReturnObjResponse ¶
type Dcs2DescribeInstanceConfigV2ReturnObjResponse struct { Maxmemory string `json:"maxmemory,omitempty"` /* 指定redis最大内存限制,1-1099511627776整数 */ Databases string `json:"databases,omitempty"` /* 设置数据库的数量 */ IsOpenSemiSync string `json:"isOpenSemiSync,omitempty"` /* 是否打开半同步开关 */ Appendfsync string `json:"appendfsync,omitempty"` /* 指定日志更新条件<li>no<li>everysec<li>always */ Dir string `json:"dir,omitempty"` /* 指定本地数据库存放目录 */ Logfile string `json:"logfile,omitempty"` /* 指定日志文件 */ AofNewsaveSize string `json:"aofNewsaveSize,omitempty"` /* 默认的aof文件重写大小 */ Maxclients string `json:"maxclients,omitempty"` /* 同一时间最大客户端连接数 */ IsOpenVersion string `json:"isOpenVersion,omitempty"` /* 是否开启乐观锁模板 */ AofNewsavePercentage string `json:"aofNewsavePercentage,omitempty"` /* 默认的aof文件重写内存占比的大小 */ }
type Dcs2DescribeInstanceHistoryMonitorValuesApi ¶
type Dcs2DescribeInstanceHistoryMonitorValuesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceHistoryMonitorValuesApi ¶
func NewDcs2DescribeInstanceHistoryMonitorValuesApi(client *core.CtyunClient) *Dcs2DescribeInstanceHistoryMonitorValuesApi
func (*Dcs2DescribeInstanceHistoryMonitorValuesApi) Do ¶
func (a *Dcs2DescribeInstanceHistoryMonitorValuesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceHistoryMonitorValuesRequest) (*Dcs2DescribeInstanceHistoryMonitorValuesResponse, error)
type Dcs2DescribeInstanceHistoryMonitorValuesRequest ¶
type Dcs2DescribeInstanceHistoryMonitorValuesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ RawType string /* 实例监控类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15090&isNormal=1&vid=270">查询性能监控指标列表</a> instanceMonitorList列表type字段 */ }
type Dcs2DescribeInstanceHistoryMonitorValuesResponse ¶
type Dcs2DescribeInstanceHistoryMonitorValuesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstanceHistoryMonitorValuesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceHistoryMonitorValuesReturnObjResponse ¶
type Dcs2DescribeInstanceHistoryMonitorValuesReturnObjResponse struct{}
type Dcs2DescribeInstanceMaintainTimeApi ¶
type Dcs2DescribeInstanceMaintainTimeApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceMaintainTimeApi ¶
func NewDcs2DescribeInstanceMaintainTimeApi(client *core.CtyunClient) *Dcs2DescribeInstanceMaintainTimeApi
func (*Dcs2DescribeInstanceMaintainTimeApi) Do ¶
func (a *Dcs2DescribeInstanceMaintainTimeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceMaintainTimeRequest) (*Dcs2DescribeInstanceMaintainTimeResponse, error)
type Dcs2DescribeInstanceMaintainTimeRequest ¶
type Dcs2DescribeInstanceMaintainTimeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstanceMaintainTimeResponse ¶
type Dcs2DescribeInstanceMaintainTimeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstanceMaintainTimeReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceMaintainTimeReturnObjResponse ¶
type Dcs2DescribeInstanceMaintainTimeReturnObjResponse struct {
MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 维护时间 */
}
type Dcs2DescribeInstanceSSLApi ¶
type Dcs2DescribeInstanceSSLApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceSSLApi ¶
func NewDcs2DescribeInstanceSSLApi(client *core.CtyunClient) *Dcs2DescribeInstanceSSLApi
func (*Dcs2DescribeInstanceSSLApi) Do ¶
func (a *Dcs2DescribeInstanceSSLApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceSSLRequest) (*Dcs2DescribeInstanceSSLResponse, error)
type Dcs2DescribeInstanceSSLRequest ¶
type Dcs2DescribeInstanceSSLRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstanceSSLResponse ¶
type Dcs2DescribeInstanceSSLResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstanceSSLReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceSSLReturnObjResponse ¶
type Dcs2DescribeInstanceSSLReturnObjResponse struct { Validity string `json:"validity,omitempty"` /* 证书有效期 */ SslSwitch *bool `json:"sslSwitch"` /* SSL开关状态<li>true:开启SSL<li>false:关闭SSL */ ProtectedConn string `json:"protectedConn,omitempty"` /* 受保护的连接地址 */ TlsVersion string `json:"tlsVersion,omitempty"` /* TLS版本 */ }
type Dcs2DescribeInstanceStrategyApi ¶
type Dcs2DescribeInstanceStrategyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceStrategyApi ¶
func NewDcs2DescribeInstanceStrategyApi(client *core.CtyunClient) *Dcs2DescribeInstanceStrategyApi
func (*Dcs2DescribeInstanceStrategyApi) Do ¶
func (a *Dcs2DescribeInstanceStrategyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceStrategyRequest) (*Dcs2DescribeInstanceStrategyResponse, error)
type Dcs2DescribeInstanceStrategyRequest ¶
type Dcs2DescribeInstanceStrategyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstanceStrategyResponse ¶
type Dcs2DescribeInstanceStrategyResponse struct { ReturnObj *Dcs2DescribeInstanceStrategyReturnObjResponse `json:"returnObj"` /* 响应对象 */ Message string `json:"message,omitempty"` /* 响应信息 */ StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceStrategyReturnObjResponse ¶
type Dcs2DescribeInstanceStrategyReturnObjResponse struct {
Result string `json:"result,omitempty"` /* 淘汰策略 */
}
type Dcs2DescribeInstanceVersionApi ¶
type Dcs2DescribeInstanceVersionApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstanceVersionApi ¶
func NewDcs2DescribeInstanceVersionApi(client *core.CtyunClient) *Dcs2DescribeInstanceVersionApi
func (*Dcs2DescribeInstanceVersionApi) Do ¶
func (a *Dcs2DescribeInstanceVersionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstanceVersionRequest) (*Dcs2DescribeInstanceVersionResponse, error)
type Dcs2DescribeInstanceVersionRequest ¶
type Dcs2DescribeInstanceVersionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例 ID */ }
type Dcs2DescribeInstanceVersionResponse ¶
type Dcs2DescribeInstanceVersionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstanceVersionReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstanceVersionReturnObjEngineMajorVersionInfoResponse ¶
type Dcs2DescribeInstanceVersionReturnObjEngineMajorVersionInfoResponse struct { EngineMajorVersion string `json:"engineMajorVersion,omitempty"` /* 引擎大版本 */ EngineVersionItems []string `json:"engineVersionItems"` /* 引擎所有大版本列表 */ UpgradableEngineVersionItems []string `json:"upgradableEngineVersionItems"` /* 引擎可升级大版本列表 */ }
type Dcs2DescribeInstanceVersionReturnObjResponse ¶
type Dcs2DescribeInstanceVersionReturnObjResponse struct { EngineMajorVersionInfo *Dcs2DescribeInstanceVersionReturnObjEngineMajorVersionInfoResponse `json:"engineMajorVersionInfo"` /* 引擎大版本信息 */ EngineMinorVersionInfo *Dcs2DescribeInstanceVersionReturnObjEngineMinorVersionInfoResponse `json:"engineMinorVersionInfo"` /* 引擎小版本信息 */ ProxyVersionInfo *Dcs2DescribeInstanceVersionReturnObjProxyVersionInfoResponse `json:"proxyVersionInfo"` /* 代理版本信息 */ }
type Dcs2DescribeInstancesApi ¶
type Dcs2DescribeInstancesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstancesApi ¶
func NewDcs2DescribeInstancesApi(client *core.CtyunClient) *Dcs2DescribeInstancesApi
func (*Dcs2DescribeInstancesApi) Do ¶
func (a *Dcs2DescribeInstancesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstancesRequest) (*Dcs2DescribeInstancesResponse, error)
type Dcs2DescribeInstancesClusterMemberInfoApi ¶
type Dcs2DescribeInstancesClusterMemberInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstancesClusterMemberInfoApi ¶
func NewDcs2DescribeInstancesClusterMemberInfoApi(client *core.CtyunClient) *Dcs2DescribeInstancesClusterMemberInfoApi
func (*Dcs2DescribeInstancesClusterMemberInfoApi) Do ¶
func (a *Dcs2DescribeInstancesClusterMemberInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstancesClusterMemberInfoRequest) (*Dcs2DescribeInstancesClusterMemberInfoResponse, error)
type Dcs2DescribeInstancesClusterMemberInfoRequest ¶
type Dcs2DescribeInstancesClusterMemberInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProjectId string /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ PageIndex int32 /* 当前页码 */ PageSize int32 /* 每页大小 */ }
type Dcs2DescribeInstancesClusterMemberInfoResponse ¶
type Dcs2DescribeInstancesClusterMemberInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstancesClusterMemberInfoReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesResponse ¶
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Total int32 `json:"total,omitempty"` /* 响应码描述 */ Rows []*Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsResponse `json:"rows"` /* 返回redis集群详细信息 */ }
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsNodesResponse ¶
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsNodesResponse struct { MasterName string `json:"masterName,omitempty"` /* 主节点名称 */ FragmentName string `json:"fragmentName,omitempty"` /* 分片名称 */ StartSlot string `json:"startSlot,omitempty"` /* 开始槽位 */ EndSlot string `json:"endSlot,omitempty"` /* 结束槽位 */ ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ Enabled *bool `json:"enabled"` /* 是否可用状态 */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc连接地址 */ }
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsResponse ¶
type Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsResponse struct { RedisSetName string `json:"redisSetName,omitempty"` /* redis集群名 */ RedisSetInfo string `json:"RedisSetInfo,omitempty"` /* redis集群节点信息 */ LastestTime string `json:"lastestTime,omitempty"` /* 更新时间戳 */ IsRWsep string `json:"isRWsep,omitempty"` /* 是否读写分离<li>true:开启<li>false:关闭 */ Nodes []*Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesRowsNodesResponse `json:"nodes"` /* redis节点集合,数据见RedisNode */ SlotInfo string `json:"slotInfo,omitempty"` /* 槽位信息 */ IsAuth string `json:"isAuth,omitempty"` /* 是否加密鉴权 */ }
type Dcs2DescribeInstancesClusterMemberInfoReturnObjResponse ¶
type Dcs2DescribeInstancesClusterMemberInfoReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 响应码描述 */ Instances []*Dcs2DescribeInstancesClusterMemberInfoReturnObjInstancesResponse `json:"instances"` /* redis集群列表 */ }
type Dcs2DescribeInstancesOverviewApi ¶
type Dcs2DescribeInstancesOverviewApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeInstancesOverviewApi ¶
func NewDcs2DescribeInstancesOverviewApi(client *core.CtyunClient) *Dcs2DescribeInstancesOverviewApi
func (*Dcs2DescribeInstancesOverviewApi) Do ¶
func (a *Dcs2DescribeInstancesOverviewApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeInstancesOverviewRequest) (*Dcs2DescribeInstancesOverviewResponse, error)
type Dcs2DescribeInstancesOverviewRequest ¶
type Dcs2DescribeInstancesOverviewRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeInstancesOverviewResponse ¶
type Dcs2DescribeInstancesOverviewResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstancesOverviewReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeInstancesOverviewReturnObjNodesResponse ¶
type Dcs2DescribeInstancesOverviewReturnObjNodesResponse struct { MasterName string `json:"masterName,omitempty"` /* 节点名称 */ StartSlot string `json:"startSlot,omitempty"` /* 起始槽位 */ EndSlot string `json:"endSlot,omitempty"` /* 结束槽位 */ ConnUrl string `json:"connUrl,omitempty"` /* 管理IP连接地址 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ Enabled *bool `json:"enabled"` /* 是否可用 */ SlaveNodes []*Dcs2DescribeInstancesOverviewReturnObjNodesSlaveNodesResponse `json:"slaveNodes"` /* 从节点 */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc地址 */ SpuInstDeployId string `json:"spuInstDeployId,omitempty"` /* 模块ID */ AzId string `json:"azId,omitempty"` /* 可用区编码 */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ }
type Dcs2DescribeInstancesOverviewReturnObjNodesSlaveNodesResponse ¶
type Dcs2DescribeInstancesOverviewReturnObjNodesSlaveNodesResponse struct { SlaveName string `json:"slaveName,omitempty"` /* slaveName */ ConnUrl string `json:"connUrl,omitempty"` /* 管理IP连接地址 */ Status string `json:"status,omitempty"` /* 节点状态, */ Enabled *bool `json:"enabled"` /* 是否可用 */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc地址 */ SpuInstDeployId string `json:"spuInstDeployId,omitempty"` /* 模块ID */ AzId string `json:"azId,omitempty"` /* 可用区编码 */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ }
type Dcs2DescribeInstancesOverviewReturnObjResponse ¶
type Dcs2DescribeInstancesOverviewReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2DescribeInstancesOverviewReturnObjRowsResponse `json:"rows"` /* 节点信息redisSubSet */ UserInfo *Dcs2DescribeInstancesOverviewReturnObjUserInfoResponse `json:"userInfo"` /* UserInfo */ Nodes []*Dcs2DescribeInstancesOverviewReturnObjNodesResponse `json:"nodes"` /* MasterNode */ }
type Dcs2DescribeInstancesOverviewReturnObjUserInfoResponse ¶
type Dcs2DescribeInstancesOverviewReturnObjUserInfoResponse struct { DataDiskType string `json:"dataDiskType"` ShardMemSize string `json:"shardMemSize"` PaasInstAttrs []struct { AttrKey string `json:"attrKey"` AttrVal string `json:"attrVal"` } `json:"paasInstAttrs"` ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ User string `json:"user,omitempty"` /* 产品实例标识 */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ AccessSets string `json:"accessSets,omitempty"` /* 接入机集群名 */ RedisSets string `json:"redisSets,omitempty"` /* REDIS集群名 */ RedisSubSet []string `json:"redisSubSet"` /* redisSubSet */ Vip string `json:"vip,omitempty"` /* vip地址 */ Vipv6 string `json:"vipv6,omitempty"` /* vipv6 */ Status int32 `json:"status,omitempty"` /* 实例状态<li>0:有效<li>1:开通中<li>2:暂停<li>3:变更中<li>4:开通失败<li>5:停止中<li>6:已停止<li>8:已退订 */ StatusName string `json:"statusName,omitempty"` /* 状态英文名 */ ProtectionStatus *bool `json:"protectionStatus"` /* 是否开启实例退订保护 */ VipPort int32 `json:"vipPort,omitempty"` /* 所属资源池 */ CapacityInfo string `json:"capacityInfo,omitempty"` /* 容量信息 */ Capacity string `json:"capacity,omitempty"` /* 实例规格容量 单位G */ ShardCount string `json:"shardCount,omitempty"` /* 分片数 */ PayType int32 `json:"payType,omitempty"` /* 付费类型<li>0:包年/包月<li>1: 按需 */ PayTypeName string `json:"payTypeName,omitempty"` /* 付费类型 */ ElasticIpBind int32 `json:"elasticIpBind,omitempty"` /* 是否绑定弹性IP<li>0:未绑定<li>1:已绑定 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP */ OuterElasticIpId string `json:"outerElasticIpId,omitempty"` /* 弹性IP ID */ ConnectionAddress string `json:"connectionAddress,omitempty"` /* 连接地址 */ Ipv6ConnectionAddress string `json:"ipv6ConnectionAddress,omitempty"` /* ipv6连接地址 */ Whitelists string `json:"whitelists,omitempty"` /* 访问白名单 */ Expiration string `json:"expiration,omitempty"` /* 过期时间 */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎版本 */ EngineVersionName string `json:"engineVersionName,omitempty"` /* 引擎版本名 */ ArchType string `json:"archType,omitempty"` /* 架构类型<li>1:集群版<li>2:标准版<li>3:直连Cluster版<li>4:容量版<li>5:Proxy集群版 */ NodeType string `json:"nodeType,omitempty"` /* 节点类型<li>1:双副本<li>2:单副本 */ SecurityGroup string `json:"securityGroup,omitempty"` /* 安全组 */ NetName string `json:"netName,omitempty"` /* vpc网络名称 */ Subnet string `json:"subnet,omitempty"` /* 子网名称 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间 */ ExpTime string `json:"expTime,omitempty"` /* 过期时间 */ ArchTypeName string `json:"archTypeName,omitempty"` /* 架构类型 */ NodeTypeName string `json:"nodeTypeName,omitempty"` /* 节点类型名 */ TplName string `json:"tplName,omitempty"` /* 模板名称 */ TplCode string `json:"tplCode,omitempty"` /* 模板编码 */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 维护时间 */ AzList []*Dcs2DescribeInstancesOverviewReturnObjUserInfoAzListResponse `json:"azList"` /* 可用区列表 */ Description string `json:"description,omitempty"` /* 实例描述信息 */ EnableMultiRead *bool `json:"enableMultiRead"` /* 是否开启读写分离 */ CopiesCount string `json:"copiesCount,omitempty"` /* 副本数 */ ReadReplica string `json:"readReplica,omitempty"` /* 只读副本数 */ AutoScaleFlag *bool `json:"autoScaleFlag"` /* 是否开启弹性伸缩 */ CpuArchType string `json:"cpuArchType,omitempty"` /* cpu架构<li>x86<li>arm */ }
type Dcs2DescribeInstancesRequest ¶
type Dcs2DescribeInstancesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ PageIndex int32 /* 当前页码 */ PageSize int32 /* 每页大小 */ InstanceName string /* 实例名称 */ LabelIds []string /* 标签id列表,多个标签以逗号分隔 */ ProjectId string /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ }
type Dcs2DescribeInstancesResponse ¶
type Dcs2DescribeInstancesResponse struct { RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeInstancesReturnObjResponse `json:"returnObj"` /* 响应对象 */ }
type Dcs2DescribeInstancesReturnObjResponse ¶
type Dcs2DescribeInstancesReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2DescribeInstancesReturnObjRowsResponse `json:"rows"` /* 实例列表信息 */ }
type Dcs2DescribeInstancesReturnObjRowsResponse ¶
type Dcs2DescribeInstancesReturnObjRowsResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ User string `json:"user,omitempty"` /* 实例ID */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ AccessSets string `json:"accessSets,omitempty"` /* 接入机集群名 */ RedisSets string `json:"redisSets,omitempty"` /* REDIS集群名 */ Vip string `json:"vip,omitempty"` /* vip地址 */ Vipv6 string `json:"vipv6,omitempty"` /* IPV6格式的vip地址 */ Status int32 `json:"status,omitempty"` /* 实例状态<li>0:有效<li>1:开通中<li>2:暂停<li>3:变更中<li>4:开通失败<li>5:停止中<li>6:已停止<li>8:已退订 */ VipPort int32 `json:"vipPort,omitempty"` /* vip访问端口 */ CapacityInfo string `json:"capacityInfo,omitempty"` /* 容量信息 */ PayType int32 `json:"payType,omitempty"` /* 付费类型<li>0:包年/包月<li>1: 按需 */ PayTypeName string `json:"payTypeName,omitempty"` /* 付费类型名 */ ElasticIpBind int32 `json:"elasticIpBind,omitempty"` /* 是否绑定弹性IP<li>0:未绑定<li>1:已绑定 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP */ OuterElasticIpId string `json:"outerElasticIpId,omitempty"` /* 弹性IP ID */ Whitelists string `json:"whitelists,omitempty"` /* 访问白名单 */ Expiration string `json:"expiration,omitempty"` /* 过期时间 */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎版本 */ EngineVersionName string `json:"engineVersionName,omitempty"` /* 引擎版本名 */ ArchType string `json:"archType,omitempty"` /* 架构类型<li>1:集群版<li>2:标准版<li>3:直连Cluster版<li>4:容量版<li>5:Proxy集群版 */ NodeType string `json:"nodeType,omitempty"` /* 节点类型<li>1:双副本<li>2:单副本 */ SecurityGroup string `json:"securityGroup,omitempty"` /* 安全组 */ NetName string `json:"netName,omitempty"` /* vpc网络名称 */ Subnet string `json:"subnet,omitempty"` /* 子网名称 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间 */ ExpTime string `json:"expTime,omitempty"` /* 过期时间 */ ArchTypeName string `json:"archTypeName,omitempty"` /* 架构类型 */ NodeTypeName string `json:"nodeTypeName,omitempty"` /* 节点类型名 */ TplName string `json:"tplName,omitempty"` /* 模板名称 */ TplCode string `json:"tplCode,omitempty"` /* 模板编码 */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 维护时间 */ AzList []*Dcs2DescribeInstancesReturnObjRowsAzListResponse `json:"azList"` /* 可用区列表 */ StatusName string `json:"statusName,omitempty"` /* 状态名称 */ ProtectionStatus bool `json:"protectionStatus,omitempty"` /* 实例退订保护状态 */ CopiesCount string `json:"copiesCount,omitempty"` /* 副本数 */ ReadReplica string `json:"readReplica,omitempty"` /* 只读副本数 */ ShardCount string `json:"shardCount,omitempty"` /* 分片数 */ Labels []*Dcs2DescribeInstancesReturnObjRowsLabelsResponse `json:"labels"` /* 实例标签列表 */ CpuArchType string `json:"cpuArchType,omitempty"` /* cpu架构<li>x86<li>arm */ OuterProjectId string `json:"outerProjectId,omitempty"` /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目<br>说明:默认值为"0" */ OuterProjectName string `json:"outerProjectName,omitempty"` /* 项目名 */ Description string `json:"description,omitempty"` /* 实例描述信息 */ DataDiskType string `json:"dataDiskType"` ShardMemSize string `json:"shardMemSize"` Capacity string `json:"capacity"` }
type Dcs2DescribeKeyTaskRecordApi ¶
type Dcs2DescribeKeyTaskRecordApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeKeyTaskRecordApi ¶
func NewDcs2DescribeKeyTaskRecordApi(client *core.CtyunClient) *Dcs2DescribeKeyTaskRecordApi
func (*Dcs2DescribeKeyTaskRecordApi) Do ¶
func (a *Dcs2DescribeKeyTaskRecordApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeKeyTaskRecordRequest) (*Dcs2DescribeKeyTaskRecordResponse, error)
type Dcs2DescribeKeyTaskRecordRequest ¶
type Dcs2DescribeKeyTaskRecordRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ TaskId string /* 任务ID */ }
type Dcs2DescribeKeyTaskRecordResponse ¶
type Dcs2DescribeKeyTaskRecordResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeKeyTaskRecordReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeKeyTaskRecordReturnObjKeyNodesResponse ¶
type Dcs2DescribeKeyTaskRecordReturnObjKeyNodesResponse struct { Key string `json:"key,omitempty"` /* 要查询的key */ QueryCount string `json:"queryCount,omitempty"` /* 请求次数 */ Counter int32 `json:"counter,omitempty"` /* 频次 */ Db int32 `json:"db,omitempty"` /* 热key所在分组db */ NodeUrl string `json:"nodeUrl,omitempty"` /* 热key所在节点的url */ }
type Dcs2DescribeKeyTaskRecordReturnObjResponse ¶
type Dcs2DescribeKeyTaskRecordReturnObjResponse struct { Status string `json:"status,omitempty"` /* 任务状态 */ Time string `json:"time,omitempty"` /* 任务开始查询时间 */ KeyNodes []*Dcs2DescribeKeyTaskRecordReturnObjKeyNodesResponse `json:"keyNodes"` /* 热key(HotKeyNode)或大key(BigKeyNode)对象的集合 */ }
type Dcs2DescribeLogicInstanceTopologyApi ¶
type Dcs2DescribeLogicInstanceTopologyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeLogicInstanceTopologyApi ¶
func NewDcs2DescribeLogicInstanceTopologyApi(client *core.CtyunClient) *Dcs2DescribeLogicInstanceTopologyApi
func (*Dcs2DescribeLogicInstanceTopologyApi) Do ¶
func (a *Dcs2DescribeLogicInstanceTopologyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeLogicInstanceTopologyRequest) (*Dcs2DescribeLogicInstanceTopologyResponse, error)
type Dcs2DescribeLogicInstanceTopologyRequest ¶
type Dcs2DescribeLogicInstanceTopologyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeLogicInstanceTopologyResponse ¶
type Dcs2DescribeLogicInstanceTopologyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeLogicInstanceTopologyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeLogicInstanceTopologyReturnObjAccessNodesResponse ¶
type Dcs2DescribeLogicInstanceTopologyReturnObjAccessNodesResponse struct { ClientConnNum int32 `json:"clientConnNum,omitempty"` /* 客户端连接数 */ ClientMaxConnNum int32 `json:"clientMaxConnNum,omitempty"` /* 接入机最大并发连接数 */ ConnNumPerRedis string `json:"connNumPerRedis,omitempty"` /* Redis节点每秒连接数 */ ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ ProxyName string `json:"proxyName,omitempty"` /* 代理名称 */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc连接地址 */ }
type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesResponse ¶
type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesResponse struct { ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ StartSlot string `json:"startSlot,omitempty"` /* 开始槽位 */ EndSlot string `json:"endSlot,omitempty"` /* 结束槽位 */ VpcUrl string `json:"vpcUrl,omitempty"` /* vpc连接地址 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ MasterName string `json:"masterName,omitempty"` /* 主节点名称 */ Slaves []*Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesSlavesResponse `json:"slaves"` /* 从节点集合,见SlaveNode */ }
type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesSlavesResponse ¶
type Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesSlavesResponse struct { SlaveName string `json:"slaveName,omitempty"` /* redis从节点名称 */ ConnUrl string `json:"connUrl,omitempty"` /* 连接地址 */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ Enabled string `json:"enabled,omitempty"` /* 是否可用状态 */ VpcUrl string `json:"vpcUrl,omitempty"` /* 从节点vpc连接地址 */ }
type Dcs2DescribeLogicInstanceTopologyReturnObjResponse ¶
type Dcs2DescribeLogicInstanceTopologyReturnObjResponse struct { RedisNodes []*Dcs2DescribeLogicInstanceTopologyReturnObjRedisNodesResponse `json:"redisNodes"` /* redis节点集合,见RedisNode */ AccessNodes []*Dcs2DescribeLogicInstanceTopologyReturnObjAccessNodesResponse `json:"accessNodes"` /* 接入机节点集合,见AccessNode */ }
type Dcs2DescribeMemoryInfoApi ¶
type Dcs2DescribeMemoryInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeMemoryInfoApi ¶
func NewDcs2DescribeMemoryInfoApi(client *core.CtyunClient) *Dcs2DescribeMemoryInfoApi
func (*Dcs2DescribeMemoryInfoApi) Do ¶
func (a *Dcs2DescribeMemoryInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeMemoryInfoRequest) (*Dcs2DescribeMemoryInfoResponse, error)
type Dcs2DescribeMemoryInfoRequest ¶
type Dcs2DescribeMemoryInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ Ip string /* redis节点Ip */ Port string /* redis节点端口 */ }
type Dcs2DescribeMemoryInfoResponse ¶
type Dcs2DescribeMemoryInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeMemoryInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeNodeHistoryMonitorValuesApi ¶
type Dcs2DescribeNodeHistoryMonitorValuesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeNodeHistoryMonitorValuesApi ¶
func NewDcs2DescribeNodeHistoryMonitorValuesApi(client *core.CtyunClient) *Dcs2DescribeNodeHistoryMonitorValuesApi
func (*Dcs2DescribeNodeHistoryMonitorValuesApi) Do ¶
func (a *Dcs2DescribeNodeHistoryMonitorValuesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeNodeHistoryMonitorValuesRequest) (*Dcs2DescribeNodeHistoryMonitorValuesResponse, error)
type Dcs2DescribeNodeHistoryMonitorValuesRequest ¶
type Dcs2DescribeNodeHistoryMonitorValuesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ RawType string /* 节点监控类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15090&isNormal=1&vid=270">查询性能监控指标列表</a> nodeMonitorList列表type字段 */ }
type Dcs2DescribeNodeHistoryMonitorValuesResponse ¶
type Dcs2DescribeNodeHistoryMonitorValuesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeNodeHistoryMonitorValuesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeNodeHistoryMonitorValuesReturnObjResponse ¶
type Dcs2DescribeNodeHistoryMonitorValuesReturnObjResponse struct{}
type Dcs2DescribeNodeMonitorItemsApi ¶
type Dcs2DescribeNodeMonitorItemsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeNodeMonitorItemsApi ¶
func NewDcs2DescribeNodeMonitorItemsApi(client *core.CtyunClient) *Dcs2DescribeNodeMonitorItemsApi
func (*Dcs2DescribeNodeMonitorItemsApi) Do ¶
func (a *Dcs2DescribeNodeMonitorItemsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeNodeMonitorItemsRequest) (*Dcs2DescribeNodeMonitorItemsResponse, error)
type Dcs2DescribeNodeMonitorItemsRequest ¶
type Dcs2DescribeNodeMonitorItemsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeNodeMonitorItemsResponse ¶
type Dcs2DescribeNodeMonitorItemsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeNodeMonitorItemsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeNodeMonitorValuesApi ¶
type Dcs2DescribeNodeMonitorValuesApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeNodeMonitorValuesApi ¶
func NewDcs2DescribeNodeMonitorValuesApi(client *core.CtyunClient) *Dcs2DescribeNodeMonitorValuesApi
func (*Dcs2DescribeNodeMonitorValuesApi) Do ¶
func (a *Dcs2DescribeNodeMonitorValuesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeNodeMonitorValuesRequest) (*Dcs2DescribeNodeMonitorValuesResponse, error)
type Dcs2DescribeNodeMonitorValuesRequest ¶
type Dcs2DescribeNodeMonitorValuesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ RawType string /* 监控类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7780&isNormal=1&vid=270">查询命令调用类族</a> returnObj表data字段 */ NodeName string /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ }
type Dcs2DescribeNodeMonitorValuesResponse ¶
type Dcs2DescribeNodeMonitorValuesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeNodeMonitorValuesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeNodeMonitorValuesReturnObjResponse ¶
type Dcs2DescribeNodeMonitorValuesReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeNodeMonitorValuesReturnObjRowsResponse `json:"rows"` /* 白名单列表 */ }
type Dcs2DescribeNodeMonitorValuesReturnObjRowsMetricResponse ¶
type Dcs2DescribeNodeMonitorValuesReturnObjRowsMetricResponse struct { Tenant_id string `json:"tenant_id,omitempty"` /* 租户ID */ Carms_obj_id string `json:"carms_obj_id,omitempty"` /* 实例ID */ Instance_name string `json:"instance_name,omitempty"` /* 实例名称 */ Redis_url string `json:"redis_url,omitempty"` /* 节点IP */ Carms_obj_name string `json:"carms_obj_name,omitempty"` /* 实例名称 */ Carms_obj_type string `json:"carms_obj_type,omitempty"` /* 组件类型,固定值 */ User_name string `json:"user_name,omitempty"` /* 实例名 */ Cache_exporter string `json:"cache_exporter,omitempty"` /* Exporter类型 */ Proxy_name string `json:"proxy_name,omitempty"` /* 代理节点名 */ Monitor_point string `json:"monitor_point,omitempty"` /* 监控节点 */ Instance_id string `json:"instance_id,omitempty"` /* 实例ID */ Region_name string `json:"region_name,omitempty"` /* 资源池名称 */ Cmd string `json:"cmd,omitempty"` /* 命令 */ Region_code string `json:"region_code,omitempty"` /* 资源池编码 */ Tenant_code string `json:"tenant_code,omitempty"` /* 租户编码 */ }
type Dcs2DescribeNodeMonitorValuesReturnObjRowsResponse ¶
type Dcs2DescribeNodeMonitorValuesReturnObjRowsResponse struct { Metric *Dcs2DescribeNodeMonitorValuesReturnObjRowsMetricResponse `json:"metric"` /* 监控指标 */ Values []*Dcs2DescribeNodeMonitorValuesReturnObjRowsValuesResponse `json:"values"` /* 键值对数组 */ }
type Dcs2DescribeNodeMonitorValuesReturnObjRowsValuesResponse ¶
type Dcs2DescribeNodeMonitorValuesReturnObjRowsValuesResponse struct {
Value []string `json:"value"` /* 时间、值字符串数组 */
}
type Dcs2DescribeOffLineKeyAnalysisTaskInfoApi ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeOffLineKeyAnalysisTaskInfoApi ¶
func NewDcs2DescribeOffLineKeyAnalysisTaskInfoApi(client *core.CtyunClient) *Dcs2DescribeOffLineKeyAnalysisTaskInfoApi
func (*Dcs2DescribeOffLineKeyAnalysisTaskInfoApi) Do ¶
func (a *Dcs2DescribeOffLineKeyAnalysisTaskInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeOffLineKeyAnalysisTaskInfoRequest) (*Dcs2DescribeOffLineKeyAnalysisTaskInfoResponse, error)
type Dcs2DescribeOffLineKeyAnalysisTaskInfoRequest ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ TaskId string /* 任务ID */ }
type Dcs2DescribeOffLineKeyAnalysisTaskInfoResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLenLevelCountResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLenLevelCountResponse struct{}
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoResponse struct { LargestKeyPrefixes *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLargestKeyPrefixesResponse `json:"LargestKeyPrefixes"` /* 最大key占用 */ TypeBytes *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeBytesResponse `json:"TypeBytes"` /* 类型直接占用大小 */ TypeNum *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeNumResponse `json:"TypeNum"` /* key类型数量大小 */ CurrentInstance string `json:"CurrentInstance,omitempty"` /* CurrentInstance */ TotleBytes int64 `json:"TotleBytes,omitempty"` /* 总字节数 */ TotleNum int64 `json:"TotleNum,omitempty"` /* key总数 */ LenLevelCount *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoLenLevelCountResponse `json:"LenLevelCount"` /* LenLevelCount */ }
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeBytesResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeBytesResponse struct{}
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeNumResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoTypeNumResponse struct{}
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID */ Rdbtype string `json:"rdbtype,omitempty"` /* rdb文件类型<li>0:上一个备份文件<li>1:新建备份文件<li>2:历史备份文件 */ UsedMemory int64 `json:"usedMemory,omitempty"` /* 已使用内存 */ Maxmemory int64 `json:"maxmemory,omitempty"` /* 总内存 */ UsedMemoryPercentage float64 `json:"usedMemoryPercentage"` /* 已使用内存比例% */ Totalkeys int64 `json:"totalkeys,omitempty"` /* 总key数量 */ Total_set_expirekeys int64 `json:"total_set_expirekeys,omitempty"` /* 设置过期key总数量 */ Total_set_expirekeysPercentage float64 `json:"total_set_expirekeysPercentage"` /* 设置过期key的比例 */ ExpiredKeys int64 `json:"expiredKeys,omitempty"` /* 已过期key数量 */ EvictedKeys int64 `json:"evictedKeys,omitempty"` /* 已逐出key数量 */ StartTime string `json:"startTime,omitempty"` /* 开始时间 */ EndTime string `json:"endTime,omitempty"` /* 结束时间 */ Rdbinfo *Dcs2DescribeOffLineKeyAnalysisTaskInfoReturnObjRdbinfoResponse `json:"rdbinfo"` /* 该对象返回格式随key类型变化 */ }
type Dcs2DescribeOffLineKeyAnalysisTaskListApi ¶
type Dcs2DescribeOffLineKeyAnalysisTaskListApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeOffLineKeyAnalysisTaskListApi ¶
func NewDcs2DescribeOffLineKeyAnalysisTaskListApi(client *core.CtyunClient) *Dcs2DescribeOffLineKeyAnalysisTaskListApi
func (*Dcs2DescribeOffLineKeyAnalysisTaskListApi) Do ¶
func (a *Dcs2DescribeOffLineKeyAnalysisTaskListApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeOffLineKeyAnalysisTaskListRequest) (*Dcs2DescribeOffLineKeyAnalysisTaskListResponse, error)
type Dcs2DescribeOffLineKeyAnalysisTaskListRequest ¶
type Dcs2DescribeOffLineKeyAnalysisTaskListRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeOffLineKeyAnalysisTaskListResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 对象总数量 */ Rows []*Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjRowsResponse `json:"rows"` /* 对象列表 */ }
type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjRowsResponse ¶
type Dcs2DescribeOffLineKeyAnalysisTaskListReturnObjRowsResponse struct { InstanceId string `json:"instanceId,omitempty"` /* 实例ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ StartTime string `json:"startTime,omitempty"` /* 开始时间 */ EndTime string `json:"endTime,omitempty"` /* 结束时间 */ RedisNodename string `json:"redisNodename,omitempty"` /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ Status string `json:"status,omitempty"` /* 分析进度标志<li>0:分析中<li>1:已完成<li>2:分析失败 */ }
type Dcs2DescribeParameterModificationHistoryApi ¶
type Dcs2DescribeParameterModificationHistoryApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeParameterModificationHistoryApi ¶
func NewDcs2DescribeParameterModificationHistoryApi(client *core.CtyunClient) *Dcs2DescribeParameterModificationHistoryApi
func (*Dcs2DescribeParameterModificationHistoryApi) Do ¶
func (a *Dcs2DescribeParameterModificationHistoryApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeParameterModificationHistoryRequest) (*Dcs2DescribeParameterModificationHistoryResponse, error)
type Dcs2DescribeParameterModificationHistoryRequest ¶
type Dcs2DescribeParameterModificationHistoryRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ HistoryId string /* 记录ID<br>说明:若historyId为空,则需要传入startTime、endTime, 按时间查询所有记录 */ Page int32 /* 页码 */ Rows int32 /* 行数 */ }
type Dcs2DescribeParameterModificationHistoryResponse ¶
type Dcs2DescribeParameterModificationHistoryResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeParameterModificationHistoryReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeParameterModificationHistoryReturnObjResponse ¶
type Dcs2DescribeParameterModificationHistoryReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeParameterModificationHistoryReturnObjRowsResponse `json:"rows"` /* 参数对象 */ }
type Dcs2DescribePriceApi ¶
type Dcs2DescribePriceApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribePriceApi ¶
func NewDcs2DescribePriceApi(client *core.CtyunClient) *Dcs2DescribePriceApi
func (*Dcs2DescribePriceApi) Do ¶
func (a *Dcs2DescribePriceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribePriceRequest) (*Dcs2DescribePriceResponse, error)
type Dcs2DescribePriceRequest ¶
type Dcs2DescribePriceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID<br>说明:orderType为BUY无需填写,其他值必填。 */ OrderType string `json:"orderType,omitempty"` /* 订单类型,可选值:<br><br><b>订购</b><li><strong>BUY</strong>:订购<br><br><b>续订</b><li><strong>RENEW</strong>:续订<br><br><b>架构变更</b><li><strong>UPGRADE</strong>:架构变更(说明:单机→主备,集群单机→集群主备时,内存容量不可变更)</li><br><b>纵向扩展</b><li><strong>EXPANSION</strong>:实例/分片规格扩容(适用:Single/Dual/StandardSingle/StandardDual/DirectClusterSingle/DirectCluster/ClusterOriginalProxy/OriginalMultipleReadLvs)<li><strong>CONTRACTION</strong>:实例/分片规格缩容(适用:同上)<br><br><b>横向扩展</b><li><strong>INCREASE_SHARDS</strong>:增加集群分片(适用:DirectClusterSingle/DirectCluster/ClusterOriginalProxy)<li><strong>DECREASE_SHARDS</strong>:减少集群分片(适用:同上)<br><br><b>副本调整</b><li><strong>INCREASE_REPLICAS</strong>:增加数据副本(适用:StandardDual/DirectCluster/ClusterOriginalProxy/OriginalMultipleReadLvs)<li><strong>DECREASE_REPLICAS</strong>:减少数据副本(适用:同上) */ Version string `json:"version,omitempty"` /* 版本类型,默认BASIC。<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的version值<br>可选值:<li>BASIC:基础版<li>PLUS:增强版<li>Classic:经典版 */ Edition string `json:"edition,omitempty"` /* 实例类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的seriesCode值 */ ShardMemSize string `json:"shardMemSize,omitempty"` /* 单分片内存(GB)<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中shardMemSizeItems(单分片内存可选值),若shardMemSizeItems为空则无需填写 */ ShardCount int32 `json:"shardCount,omitempty"` /* 分片数量<li>DirectClusterSingle: 3-256</li><li>DirectCluster: 3-256</li><li>ClusterOriginalProxy: 3-64</li>其他实例类型无需填写此参数 */ Capacity string `json:"capacity,omitempty"` /* 内存容量(GB)<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 计算方式:单分片内存shardMemSize × 分片数量shardCount 或 使用表SeriesInfo中memSizeItems(内存可选值) */ CopiesCount int32 `json:"copiesCount,omitempty"` /* 副本数量(2-6)<br>OriginalMultipleReadLvs必填,StandardDual/DirectCluster/ClusterOriginalProxy选填 */ HostType string `json:"hostType,omitempty"` /* 主机类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表resItems中resType==ecs的items(主机类型可选值) */ DataDiskType string `json:"dataDiskType,omitempty"` /* 磁盘类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表resItems中resType==ebs的items(磁盘类型可选值) */ DataDiskSize int32 `json:"dataDiskSize,omitempty"` /* 存储空间(GB,仅容量型支持),需为内存5-10倍且为10的倍数 */ Period string `json:"period,omitempty"` /* 订购时长(月),仅当chargeType=PrePaid时必填,取值范围:1-6,12,24,36 */ ChargeType string `json:"chargeType,omitempty"` /* 计费模式<li>PrePaid:包年包月(需配合period使用)<li>PostPaid:按需计费(默认值) */ EngineVersion string `json:"engineVersion,omitempty"` /* Redis引擎版本,当orderType为BUY时必填。<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的engineTypeItems(引擎版本可选值) */ Size int32 `json:"size,omitempty"` /* 数量,允许批量订购,允许范围1-100,默认1 */ }
type Dcs2DescribePriceResponse ¶
type Dcs2DescribePriceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribePriceReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribePriceReturnObjResponse ¶
type Dcs2DescribePriceReturnObjResponse struct { TotalPrice float64 `json:"totalPrice"` /* 订单总价 */ ServiceTag string `json:"serviceTag,omitempty"` /* serviceTag */ FinalPrice float64 `json:"finalPrice"` /* 订单最终价格 */ SubOrderPrices []*Dcs2DescribePriceReturnObjSubOrderPricesResponse `json:"subOrderPrices"` /* 子订单价格 */ VerifyStatusCode string `json:"verifyStatusCode,omitempty"` /* 状态校验 */ }
type Dcs2DescribePriceReturnObjSubOrderPricesOrderItemPricesResponse ¶
type Dcs2DescribePriceReturnObjSubOrderPricesOrderItemPricesResponse struct { ItemId string `json:"itemId,omitempty"` /* 子订单资源ID */ TotalPrice float64 `json:"totalPrice"` /* 子订单资源总价 */ FinalPrice float64 `json:"finalPrice"` /* 子订单资源最终价格 */ ResourceType string `json:"resourceType,omitempty"` /* 子订单资源类型 */ }
type Dcs2DescribePriceReturnObjSubOrderPricesResponse ¶
type Dcs2DescribePriceReturnObjSubOrderPricesResponse struct { TotalPrice float64 `json:"totalPrice"` /* 子订单总价 */ ServiceTag string `json:"serviceTag,omitempty"` /* serviceTag */ FinalPrice float64 `json:"finalPrice"` /* 子订单最终价格 */ OrderItemPrices []*Dcs2DescribePriceReturnObjSubOrderPricesOrderItemPricesResponse `json:"orderItemPrices"` /* 子订单价格明细 */ }
type Dcs2DescribeRedisTemplateApi ¶
type Dcs2DescribeRedisTemplateApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeRedisTemplateApi ¶
func NewDcs2DescribeRedisTemplateApi(client *core.CtyunClient) *Dcs2DescribeRedisTemplateApi
func (*Dcs2DescribeRedisTemplateApi) Do ¶
func (a *Dcs2DescribeRedisTemplateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeRedisTemplateRequest) (*Dcs2DescribeRedisTemplateResponse, error)
type Dcs2DescribeRedisTemplateDetailApi ¶
type Dcs2DescribeRedisTemplateDetailApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeRedisTemplateDetailApi ¶
func NewDcs2DescribeRedisTemplateDetailApi(client *core.CtyunClient) *Dcs2DescribeRedisTemplateDetailApi
func (*Dcs2DescribeRedisTemplateDetailApi) Do ¶
func (a *Dcs2DescribeRedisTemplateDetailApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeRedisTemplateDetailRequest) (*Dcs2DescribeRedisTemplateDetailResponse, error)
type Dcs2DescribeRedisTemplateDetailRequest ¶
type Dcs2DescribeRedisTemplateDetailRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TemplateId string /* 模板ID */ }
type Dcs2DescribeRedisTemplateDetailResponse ¶
type Dcs2DescribeRedisTemplateDetailResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeRedisTemplateDetailReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeRedisTemplateDetailReturnObjParamsResponse ¶
type Dcs2DescribeRedisTemplateDetailReturnObjParamsResponse struct { ParamName string `json:"paramName,omitempty"` /* 参数名称 */ Description string `json:"description,omitempty"` /* 参数描述 */ ValueRange string `json:"valueRange,omitempty"` /* 参数范围 */ DefaultValue string `json:"defaultValue,omitempty"` /* 默认值 */ NeedRestart *bool `json:"needRestart"` /* 参数修改后是否需要重启实例<li>true:需要重启<li>false:无需重启 */ CurrentValue string `json:"currentValue,omitempty"` /* 当前值 */ }
type Dcs2DescribeRedisTemplateDetailReturnObjResponse ¶
type Dcs2DescribeRedisTemplateDetailReturnObjResponse struct { Template *Dcs2DescribeRedisTemplateDetailReturnObjTemplateResponse `json:"template"` /* 总数 */ Params []*Dcs2DescribeRedisTemplateDetailReturnObjParamsResponse `json:"params"` /* 参数数组 */ }
type Dcs2DescribeRedisTemplateDetailReturnObjTemplateResponse ¶
type Dcs2DescribeRedisTemplateDetailReturnObjTemplateResponse struct { Id string `json:"id,omitempty"` /* 参数记录ID */ Name string `json:"name,omitempty"` /* 参数名称 */ Description string `json:"description,omitempty"` /* 参数描述 */ CacheMode string `json:"cacheMode,omitempty"` /* 适合的实例架构版本 */ SysTemplate *bool `json:"sysTemplate"` /* 是否为系统模板<li>true:系统模板<li>false:自定义模板 */ }
type Dcs2DescribeRedisTemplateRequest ¶
type Dcs2DescribeRedisTemplateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ RawType string /* 模板类型<li>sys:系统模板<li>custom:自定义模板 */ PageNum int32 /* 页码,默认1 */ PageSize int32 /* 每页记录数,默认值:10 */ }
type Dcs2DescribeRedisTemplateResponse ¶
type Dcs2DescribeRedisTemplateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeRedisTemplateReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeRedisTemplateReturnObjListResponse ¶
type Dcs2DescribeRedisTemplateReturnObjListResponse struct { Id string `json:"id,omitempty"` /* 参数记录ID */ Name string `json:"name,omitempty"` /* 参数名称 */ Description string `json:"description,omitempty"` /* 参数描述 */ CacheMode string `json:"cacheMode,omitempty"` /* 适合的实例架构版本<li>ORIGINAL_67:Redis 6.0/7.0类型<li>ORIGINAL_5:Redis 5.0类型<li>CLASSIC:经典版<li>ESSD:容量型 */ SysTemplate *bool `json:"sysTemplate"` /* 是否为系统模板<li>true:系统模板<li>false:自定义模板 */ }
type Dcs2DescribeRedisTemplateReturnObjResponse ¶
type Dcs2DescribeRedisTemplateReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Size int32 `json:"size,omitempty"` /* 本次返回数量 */ List []*Dcs2DescribeRedisTemplateReturnObjListResponse `json:"list"` /* 参数对象 */ }
type Dcs2DescribeRunningLogRecordsApi ¶
type Dcs2DescribeRunningLogRecordsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeRunningLogRecordsApi ¶
func NewDcs2DescribeRunningLogRecordsApi(client *core.CtyunClient) *Dcs2DescribeRunningLogRecordsApi
func (*Dcs2DescribeRunningLogRecordsApi) Do ¶
func (a *Dcs2DescribeRunningLogRecordsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeRunningLogRecordsRequest) (*Dcs2DescribeRunningLogRecordsResponse, error)
type Dcs2DescribeRunningLogRecordsRequest ¶
type Dcs2DescribeRunningLogRecordsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ PageSize int32 /* 每页大小,默认值为10 */ PageIndex int32 /* 页码,默认值为1 */ }
type Dcs2DescribeRunningLogRecordsResponse ¶
type Dcs2DescribeRunningLogRecordsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeRunningLogRecordsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeRunningLogRecordsReturnObjResponse ¶
type Dcs2DescribeRunningLogRecordsReturnObjResponse struct { Rows []*Dcs2DescribeRunningLogRecordsReturnObjRowsResponse `json:"rows"` /* rows */ Total int32 `json:"total,omitempty"` /* 数量 */ CurrentPage int32 `json:"currentPage,omitempty"` /* 当前页 */ }
type Dcs2DescribeSecurityIpsApi ¶
type Dcs2DescribeSecurityIpsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeSecurityIpsApi ¶
func NewDcs2DescribeSecurityIpsApi(client *core.CtyunClient) *Dcs2DescribeSecurityIpsApi
func (*Dcs2DescribeSecurityIpsApi) Do ¶
func (a *Dcs2DescribeSecurityIpsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeSecurityIpsRequest) (*Dcs2DescribeSecurityIpsResponse, error)
type Dcs2DescribeSecurityIpsRequest ¶
type Dcs2DescribeSecurityIpsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeSecurityIpsResponse ¶
type Dcs2DescribeSecurityIpsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeSecurityIpsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeSecurityIpsReturnObjResponse ¶
type Dcs2DescribeSecurityIpsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeSecurityIpsReturnObjRowsResponse `json:"rows"` /* 白名单集合 */ }
type Dcs2DescribeTopBigKeysApi ¶
type Dcs2DescribeTopBigKeysApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeTopBigKeysApi ¶
func NewDcs2DescribeTopBigKeysApi(client *core.CtyunClient) *Dcs2DescribeTopBigKeysApi
func (*Dcs2DescribeTopBigKeysApi) Do ¶
func (a *Dcs2DescribeTopBigKeysApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeTopBigKeysRequest) (*Dcs2DescribeTopBigKeysResponse, error)
type Dcs2DescribeTopBigKeysPolicyApi ¶
type Dcs2DescribeTopBigKeysPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeTopBigKeysPolicyApi ¶
func NewDcs2DescribeTopBigKeysPolicyApi(client *core.CtyunClient) *Dcs2DescribeTopBigKeysPolicyApi
func (*Dcs2DescribeTopBigKeysPolicyApi) Do ¶
func (a *Dcs2DescribeTopBigKeysPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeTopBigKeysPolicyRequest) (*Dcs2DescribeTopBigKeysPolicyResponse, error)
type Dcs2DescribeTopBigKeysPolicyRequest ¶
type Dcs2DescribeTopBigKeysPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeTopBigKeysPolicyResponse ¶
type Dcs2DescribeTopBigKeysPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ ReturnObj *Dcs2DescribeTopBigKeysPolicyReturnObjResponse `json:"returnObj"` /* 响应对象 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeTopBigKeysPolicyReturnObjResponse ¶
type Dcs2DescribeTopBigKeysPolicyReturnObjResponse struct { Enable_auto_scanBigkey string `json:"enable_auto_scanBigkey,omitempty"` /* 是否开启大key备份策略<li>true: 开启<li>false:关闭 */ Schedule_days string `json:"schedule_days,omitempty"` /* 星期几触发 */ Schedule_hours string `json:"schedule_hours,omitempty"` /* 整点时刻触发 */ }
type Dcs2DescribeTopBigKeysRequest ¶
type Dcs2DescribeTopBigKeysRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeTopBigKeysResponse ¶
type Dcs2DescribeTopBigKeysResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeTopBigKeysReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeTopBigKeysReturnObjResponse ¶
type Dcs2DescribeTopBigKeysReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type Dcs2DescribeTopHotKeysPolicyApi ¶
type Dcs2DescribeTopHotKeysPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeTopHotKeysPolicyApi ¶
func NewDcs2DescribeTopHotKeysPolicyApi(client *core.CtyunClient) *Dcs2DescribeTopHotKeysPolicyApi
func (*Dcs2DescribeTopHotKeysPolicyApi) Do ¶
func (a *Dcs2DescribeTopHotKeysPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeTopHotKeysPolicyRequest) (*Dcs2DescribeTopHotKeysPolicyResponse, error)
type Dcs2DescribeTopHotKeysPolicyRequest ¶
type Dcs2DescribeTopHotKeysPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DescribeTopHotKeysPolicyResponse ¶
type Dcs2DescribeTopHotKeysPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ ReturnObj *Dcs2DescribeTopHotKeysPolicyReturnObjResponse `json:"returnObj"` /* 响应对象 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeTopHotKeysPolicyReturnObjResponse ¶
type Dcs2DescribeTopHotKeysPolicyReturnObjResponse struct { Enable_auto_scanHotkey string `json:"enable_auto_scanHotkey,omitempty"` /* 是否开启热key备份策略<li>true: 开启<li>false:关闭 */ Schedule_days string `json:"schedule_days,omitempty"` /* 星期几触发 */ Schedule_hours string `json:"schedule_hours,omitempty"` /* 整点时刻触发 */ }
type Dcs2DescribeTopSlowLogRecoredsApi ¶
type Dcs2DescribeTopSlowLogRecoredsApi struct {
// contains filtered or unexported fields
}
func NewDcs2DescribeTopSlowLogRecoredsApi ¶
func NewDcs2DescribeTopSlowLogRecoredsApi(client *core.CtyunClient) *Dcs2DescribeTopSlowLogRecoredsApi
func (*Dcs2DescribeTopSlowLogRecoredsApi) Do ¶
func (a *Dcs2DescribeTopSlowLogRecoredsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DescribeTopSlowLogRecoredsRequest) (*Dcs2DescribeTopSlowLogRecoredsResponse, error)
type Dcs2DescribeTopSlowLogRecoredsRequest ¶
type Dcs2DescribeTopSlowLogRecoredsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ Size int32 /* 查询前N条 */ }
type Dcs2DescribeTopSlowLogRecoredsResponse ¶
type Dcs2DescribeTopSlowLogRecoredsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DescribeTopSlowLogRecoredsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DescribeTopSlowLogRecoredsReturnObjResponse ¶
type Dcs2DescribeTopSlowLogRecoredsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2DescribeTopSlowLogRecoredsReturnObjRowsResponse `json:"rows"` /* 慢日志列表 */ }
type Dcs2DestroyInstanceApi ¶
type Dcs2DestroyInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2DestroyInstanceApi ¶
func NewDcs2DestroyInstanceApi(client *core.CtyunClient) *Dcs2DestroyInstanceApi
func (*Dcs2DestroyInstanceApi) Do ¶
func (a *Dcs2DestroyInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DestroyInstanceRequest) (*Dcs2DestroyInstanceResponse, error)
type Dcs2DestroyInstanceRequest ¶
type Dcs2DestroyInstanceRequest struct { RegionId string `json:"regionId,omitempty"` /* 资源池ID,可调用 <a target="_blank" rel="noopener noreferrer" href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> 接口,使用resPoolCode字段。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type Dcs2DestroyInstanceResponse ¶
type Dcs2DestroyInstanceResponse struct { StatusCode int32 `json:"statusCode"` /* 响应状态码。<li>800:成功。<li>900:失败。 */ Message string `json:"message"` /* 响应信息。 */ ReturnObj *Dcs2DestroyInstanceReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj。 */ RequestId string `json:"requestId"` /* 请求 ID。 */ Code string `json:"code"` /* 响应码描述。 */ Error string `json:"error"` /* 错误码,参见错误码说明。 */ }
type Dcs2DestroyInstanceReturnObjResponse ¶
type Dcs2DestroyInstanceReturnObjResponse struct { ErrorMessage string `json:"errorMessage"` /* 错误信息。 */ OrderPlacedEvents []*Dcs2DestroyInstanceReturnObjOrderPlacedEventsResponse `json:"orderPlacedEvents"` /* 收费项。 */ }
type Dcs2DisableRenameCommandV2Api ¶
type Dcs2DisableRenameCommandV2Api struct {
// contains filtered or unexported fields
}
func NewDcs2DisableRenameCommandV2Api ¶
func NewDcs2DisableRenameCommandV2Api(client *core.CtyunClient) *Dcs2DisableRenameCommandV2Api
func (*Dcs2DisableRenameCommandV2Api) Do ¶
func (a *Dcs2DisableRenameCommandV2Api) Do(ctx context.Context, credential core.Credential, req *Dcs2DisableRenameCommandV2Request) (*Dcs2DisableRenameCommandV2Response, error)
type Dcs2DisableRenameCommandV2Request ¶
type Dcs2DisableRenameCommandV2Request struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2DisableRenameCommandV2Response ¶
type Dcs2DisableRenameCommandV2Response struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ RenameStatus *bool `json:"renameStatus"` /* 危险开关状态<li>false:未开启<li> true:开启 */ }
type Dcs2DoAnalysisInstanceTasksApi ¶
type Dcs2DoAnalysisInstanceTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2DoAnalysisInstanceTasksApi ¶
func NewDcs2DoAnalysisInstanceTasksApi(client *core.CtyunClient) *Dcs2DoAnalysisInstanceTasksApi
func (*Dcs2DoAnalysisInstanceTasksApi) Do ¶
func (a *Dcs2DoAnalysisInstanceTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DoAnalysisInstanceTasksRequest) (*Dcs2DoAnalysisInstanceTasksResponse, error)
type Dcs2DoAnalysisInstanceTasksRequest ¶
type Dcs2DoAnalysisInstanceTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NodeName string `json:"nodeName,omitempty"` /* 节点名称,多个节点用英文逗号分隔<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ }
type Dcs2DoAnalysisInstanceTasksResponse ¶
type Dcs2DoAnalysisInstanceTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DoAnalysisInstanceTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DoAnalysisInstanceTasksReturnObjResponse ¶
type Dcs2DoAnalysisInstanceTasksReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type Dcs2DownloadRedisRunLogApi ¶
type Dcs2DownloadRedisRunLogApi struct {
// contains filtered or unexported fields
}
func NewDcs2DownloadRedisRunLogApi ¶
func NewDcs2DownloadRedisRunLogApi(client *core.CtyunClient) *Dcs2DownloadRedisRunLogApi
func (*Dcs2DownloadRedisRunLogApi) Do ¶
func (a *Dcs2DownloadRedisRunLogApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DownloadRedisRunLogRequest) (*Dcs2DownloadRedisRunLogResponse, error)
type Dcs2DownloadRedisRunLogRequest ¶
type Dcs2DownloadRedisRunLogRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* redis节点名 */ LogType string /* 日志级别(仅云盘型缓存支持,默认INFO)<li>INFO<li>WARNING<li>ERROR<li>FATAL */ Date string /* 日期 */ }
type Dcs2DownloadRedisRunLogResponse ¶
type Dcs2DownloadRedisRunLogResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DownloadRedisRunLogReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2DownloadSslCertApi ¶
type Dcs2DownloadSslCertApi struct {
// contains filtered or unexported fields
}
func NewDcs2DownloadSslCertApi ¶
func NewDcs2DownloadSslCertApi(client *core.CtyunClient) *Dcs2DownloadSslCertApi
func (*Dcs2DownloadSslCertApi) Do ¶
func (a *Dcs2DownloadSslCertApi) Do(ctx context.Context, credential core.Credential, req *Dcs2DownloadSslCertRequest) (*Dcs2DownloadSslCertResponse, error)
type Dcs2DownloadSslCertRequest ¶
type Dcs2DownloadSslCertRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2DownloadSslCertResponse ¶
type Dcs2DownloadSslCertResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2DownloadSslCertReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2EditRedisTemplateApi ¶
type Dcs2EditRedisTemplateApi struct {
// contains filtered or unexported fields
}
func NewDcs2EditRedisTemplateApi ¶
func NewDcs2EditRedisTemplateApi(client *core.CtyunClient) *Dcs2EditRedisTemplateApi
func (*Dcs2EditRedisTemplateApi) Do ¶
func (a *Dcs2EditRedisTemplateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2EditRedisTemplateRequest) (*Dcs2EditRedisTemplateResponse, error)
type Dcs2EditRedisTemplateRequest ¶
type Dcs2EditRedisTemplateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ Template *Dcs2EditRedisTemplateTemplateRequest `json:"template"` /* 模板 */ Params []*Dcs2EditRedisTemplateParamsRequest `json:"params"` /* 参数列表 */ }
type Dcs2EditRedisTemplateResponse ¶
type Dcs2EditRedisTemplateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2EditRedisTemplateReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2EditRedisTemplateReturnObjResponse ¶
type Dcs2EditRedisTemplateReturnObjResponse struct{}
type Dcs2EditRedisTemplateTemplateRequest ¶
type Dcs2EditRedisTemplateTemplateRequest struct { Id string `json:"id,omitempty"` /* 参数记录ID */ Name string `json:"name,omitempty"` /* 参数名称 */ Description string `json:"description,omitempty"` /* 参数描述 */ CacheMode string `json:"cacheMode,omitempty"` /* 适合的实例架构版本<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15104&isNormal=1&vid=270">查询参数模板列表</a> Template表cacheMode字段 */ SysTemplate *bool `json:"sysTemplate"` /* 是否系统模板 */ }
type Dcs2EnableRWSepApi ¶
type Dcs2EnableRWSepApi struct {
// contains filtered or unexported fields
}
func NewDcs2EnableRWSepApi ¶
func NewDcs2EnableRWSepApi(client *core.CtyunClient) *Dcs2EnableRWSepApi
func (*Dcs2EnableRWSepApi) Do ¶
func (a *Dcs2EnableRWSepApi) Do(ctx context.Context, credential core.Credential, req *Dcs2EnableRWSepRequest) (*Dcs2EnableRWSepResponse, error)
type Dcs2EnableRWSepRequest ¶
type Dcs2EnableRWSepRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Enable string `json:"enable,omitempty"` /* 是否开启读写分离<li>true:开启<li>false:关闭 */ }
type Dcs2EnableRWSepResponse ¶
type Dcs2EnableRWSepResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2EnableRWSepReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2EnableRWSepReturnObjResponse ¶
type Dcs2EnableRWSepReturnObjResponse struct {
IsRWSep *bool `json:"isRWSep"` /* 是否开启了读写分离<li>true:开启<li>false:关闭 */
}
type Dcs2EnableRenameCommandApi ¶
type Dcs2EnableRenameCommandApi struct {
// contains filtered or unexported fields
}
func NewDcs2EnableRenameCommandApi ¶
func NewDcs2EnableRenameCommandApi(client *core.CtyunClient) *Dcs2EnableRenameCommandApi
func (*Dcs2EnableRenameCommandApi) Do ¶
func (a *Dcs2EnableRenameCommandApi) Do(ctx context.Context, credential core.Credential, req *Dcs2EnableRenameCommandRequest) (*Dcs2EnableRenameCommandResponse, error)
type Dcs2EnableRenameCommandRenameCommandsRequest ¶
type Dcs2EnableRenameCommandRenameCommandsRequest struct{}
type Dcs2EnableRenameCommandRequest ¶
type Dcs2EnableRenameCommandRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ RenameCommands *Dcs2EnableRenameCommandRenameCommandsRequest `json:"renameCommands"` /* 重命名的命令<br>参数为JSON对象,格式为键值对(原命令名:重命名后命令名).<br>支持命令:COMMAND,KEYS,FLUSHDB,FLUSHALL,HGETALL,SCAN,HSCAN,SSCAN,ZSCAN,SHUTDOWN,CONFIG" */ }
type Dcs2EnableRenameCommandResponse ¶
type Dcs2EnableRenameCommandResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2EnableRenameCommandReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2EnableRenameCommandReturnObjResponse ¶
type Dcs2EnableRenameCommandReturnObjResponse struct {
RenameStatus *bool `json:"renameStatus"` /* 危险命令开关状态<li>false:未开启</li><li>true:开启</li> */
}
type Dcs2EnableRenameCommandV2Api ¶
type Dcs2EnableRenameCommandV2Api struct {
// contains filtered or unexported fields
}
func NewDcs2EnableRenameCommandV2Api ¶
func NewDcs2EnableRenameCommandV2Api(client *core.CtyunClient) *Dcs2EnableRenameCommandV2Api
func (*Dcs2EnableRenameCommandV2Api) Do ¶
func (a *Dcs2EnableRenameCommandV2Api) Do(ctx context.Context, credential core.Credential, req *Dcs2EnableRenameCommandV2Request) (*Dcs2EnableRenameCommandV2Response, error)
type Dcs2EnableRenameCommandV2Request ¶
type Dcs2EnableRenameCommandV2Request struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2EnableRenameCommandV2Response ¶
type Dcs2EnableRenameCommandV2Response struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2EnableRenameCommandV2ReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2EnableRenameCommandV2ReturnObjResponse ¶
type Dcs2EnableRenameCommandV2ReturnObjResponse struct {
RenameStatus *bool `json:"renameStatus"` /* 危险开关状态<li>false:未开启<li> true:开启 */
}
type Dcs2ExchangeVipApi ¶
type Dcs2ExchangeVipApi struct {
// contains filtered or unexported fields
}
func NewDcs2ExchangeVipApi ¶
func NewDcs2ExchangeVipApi(client *core.CtyunClient) *Dcs2ExchangeVipApi
func (*Dcs2ExchangeVipApi) Do ¶
func (a *Dcs2ExchangeVipApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ExchangeVipRequest) (*Dcs2ExchangeVipResponse, error)
type Dcs2ExchangeVipRequest ¶
type Dcs2ExchangeVipRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string `json:"taskId,omitempty"` /* 数据迁移任务ID<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ }
type Dcs2ExchangeVipResponse ¶
type Dcs2ExchangeVipResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ExchangeVipReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ExchangeVipReturnObjResponse ¶
type Dcs2ExchangeVipReturnObjResponse struct{}
type Dcs2ExcuteCommandApi ¶
type Dcs2ExcuteCommandApi struct {
// contains filtered or unexported fields
}
func NewDcs2ExcuteCommandApi ¶
func NewDcs2ExcuteCommandApi(client *core.CtyunClient) *Dcs2ExcuteCommandApi
func (*Dcs2ExcuteCommandApi) Do ¶
func (a *Dcs2ExcuteCommandApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ExcuteCommandRequest) (*Dcs2ExcuteCommandResponse, error)
type Dcs2ExcuteCommandRequest ¶
type Dcs2ExcuteCommandRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupName string `json:"groupName,omitempty"` /* DB编号 */ Command string `json:"command,omitempty"` /* 命令 */ }
type Dcs2ExcuteCommandResponse ¶
type Dcs2ExcuteCommandResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ExcuteCommandReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ExcuteCommandReturnObjResponse ¶
type Dcs2ExcuteCommandReturnObjResponse struct {
ResultVO *Dcs2ExcuteCommandReturnObjResultVOResponse `json:"resultVO"` /* 执行结果 */
}
type Dcs2ExecuteOffLineKeyAnalysisTaskApi ¶
type Dcs2ExecuteOffLineKeyAnalysisTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2ExecuteOffLineKeyAnalysisTaskApi ¶
func NewDcs2ExecuteOffLineKeyAnalysisTaskApi(client *core.CtyunClient) *Dcs2ExecuteOffLineKeyAnalysisTaskApi
func (*Dcs2ExecuteOffLineKeyAnalysisTaskApi) Do ¶
func (a *Dcs2ExecuteOffLineKeyAnalysisTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ExecuteOffLineKeyAnalysisTaskRequest) (*Dcs2ExecuteOffLineKeyAnalysisTaskResponse, error)
type Dcs2ExecuteOffLineKeyAnalysisTaskRequest ¶
type Dcs2ExecuteOffLineKeyAnalysisTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NodeName string `json:"nodeName,omitempty"` /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ RdbType string `json:"rdbType,omitempty"` /* rdb文件类型<li>rdbNew:新建rdb文件<li>rdbBackup:使用历史rdb文件 */ RestoreName string `json:"restoreName,omitempty"` /* 备份名<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7778&isNormal=1&vid=270">查询备份文件信息</a> Restore表restoreName字段 */ }
type Dcs2ExecuteOffLineKeyAnalysisTaskResponse ¶
type Dcs2ExecuteOffLineKeyAnalysisTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ExecuteOffLineKeyAnalysisTaskReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ExecuteOffLineKeyAnalysisTaskReturnObjResponse ¶
type Dcs2ExecuteOffLineKeyAnalysisTaskReturnObjResponse struct{}
type Dcs2FaultRecoveryApi ¶
type Dcs2FaultRecoveryApi struct {
// contains filtered or unexported fields
}
func NewDcs2FaultRecoveryApi ¶
func NewDcs2FaultRecoveryApi(client *core.CtyunClient) *Dcs2FaultRecoveryApi
func (*Dcs2FaultRecoveryApi) Do ¶
func (a *Dcs2FaultRecoveryApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FaultRecoveryRequest) (*Dcs2FaultRecoveryResponse, error)
type Dcs2FaultRecoveryRequest ¶
type Dcs2FaultRecoveryRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ExperimentId string `json:"experimentId,omitempty"` /* 演练id,故障注入与故障恢复一起构成完整的一次故障演练。使用该id查询故障执行详情与执行撤销故障 */ }
type Dcs2FaultRecoveryResponse ¶
type Dcs2FaultRecoveryResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FaultRecoveryReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FindHistoryBigAndHotKeyApi ¶
type Dcs2FindHistoryBigAndHotKeyApi struct {
// contains filtered or unexported fields
}
func NewDcs2FindHistoryBigAndHotKeyApi ¶
func NewDcs2FindHistoryBigAndHotKeyApi(client *core.CtyunClient) *Dcs2FindHistoryBigAndHotKeyApi
func (*Dcs2FindHistoryBigAndHotKeyApi) Do ¶
func (a *Dcs2FindHistoryBigAndHotKeyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FindHistoryBigAndHotKeyRequest) (*Dcs2FindHistoryBigAndHotKeyResponse, error)
type Dcs2FindHistoryBigAndHotKeyRequest ¶
type Dcs2FindHistoryBigAndHotKeyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ }
type Dcs2FindHistoryBigAndHotKeyResponse ¶
type Dcs2FindHistoryBigAndHotKeyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FindHistoryBigAndHotKeyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FindHistoryBigAndHotKeyReturnObjResponse ¶
type Dcs2FindHistoryBigAndHotKeyReturnObjResponse struct{}
type Dcs2FindHistorySlowLogApi ¶
type Dcs2FindHistorySlowLogApi struct {
// contains filtered or unexported fields
}
func NewDcs2FindHistorySlowLogApi ¶
func NewDcs2FindHistorySlowLogApi(client *core.CtyunClient) *Dcs2FindHistorySlowLogApi
func (*Dcs2FindHistorySlowLogApi) Do ¶
func (a *Dcs2FindHistorySlowLogApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FindHistorySlowLogRequest) (*Dcs2FindHistorySlowLogResponse, error)
type Dcs2FindHistorySlowLogRequest ¶
type Dcs2FindHistorySlowLogRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<li>实例类型为Proxy集群、经典集群版时传入proxyName<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7741&isNormal=1&vid=270">查询实例的逻辑拓扑</a> AccessNode表proxyName字段<li>其他实例类型传入Redis节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ RedisSetName string /* redis集群名 */ StartTime string /* 开始时间 */ EndTime string /* 结束时间 */ Page int32 /* 页码,默认1 */ Rows int32 /* 每页行数,默认10,允许值范围1~100 */ }
type Dcs2FindHistorySlowLogResponse ¶
type Dcs2FindHistorySlowLogResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FindHistorySlowLogReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FindHistorySlowLogReturnObjResponse ¶
type Dcs2FindHistorySlowLogReturnObjResponse struct{}
type Dcs2FlushDataApi ¶
type Dcs2FlushDataApi struct {
// contains filtered or unexported fields
}
func NewDcs2FlushDataApi ¶
func NewDcs2FlushDataApi(client *core.CtyunClient) *Dcs2FlushDataApi
func (*Dcs2FlushDataApi) Do ¶
func (a *Dcs2FlushDataApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FlushDataRequest) (*Dcs2FlushDataResponse, error)
type Dcs2FlushDataRequest ¶
type Dcs2FlushDataRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2FlushDataResponse ¶
type Dcs2FlushDataResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FlushDataReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FlushDataReturnObjResponse ¶
type Dcs2FlushDataReturnObjResponse struct{}
type Dcs2FlushDbGroupDataApi ¶
type Dcs2FlushDbGroupDataApi struct {
// contains filtered or unexported fields
}
func NewDcs2FlushDbGroupDataApi ¶
func NewDcs2FlushDbGroupDataApi(client *core.CtyunClient) *Dcs2FlushDbGroupDataApi
func (*Dcs2FlushDbGroupDataApi) Do ¶
func (a *Dcs2FlushDbGroupDataApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FlushDbGroupDataRequest) (*Dcs2FlushDbGroupDataResponse, error)
type Dcs2FlushDbGroupDataRequest ¶
type Dcs2FlushDbGroupDataRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* 分组名称 */ }
type Dcs2FlushDbGroupDataResponse ¶
type Dcs2FlushDbGroupDataResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FlushDbGroupDataReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FlushDbGroupDataReturnObjResponse ¶
type Dcs2FlushDbGroupDataReturnObjResponse struct{}
type Dcs2FlushExpireKeysApi ¶
type Dcs2FlushExpireKeysApi struct {
// contains filtered or unexported fields
}
func NewDcs2FlushExpireKeysApi ¶
func NewDcs2FlushExpireKeysApi(client *core.CtyunClient) *Dcs2FlushExpireKeysApi
func (*Dcs2FlushExpireKeysApi) Do ¶
func (a *Dcs2FlushExpireKeysApi) Do(ctx context.Context, credential core.Credential, req *Dcs2FlushExpireKeysRequest) (*Dcs2FlushExpireKeysResponse, error)
type Dcs2FlushExpireKeysRequest ¶
type Dcs2FlushExpireKeysRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2FlushExpireKeysResponse ¶
type Dcs2FlushExpireKeysResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2FlushExpireKeysReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2FlushExpireKeysReturnObjResponse ¶
type Dcs2FlushExpireKeysReturnObjResponse struct{}
type Dcs2GetClientIPInfoApi ¶
type Dcs2GetClientIPInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetClientIPInfoApi ¶
func NewDcs2GetClientIPInfoApi(client *core.CtyunClient) *Dcs2GetClientIPInfoApi
func (*Dcs2GetClientIPInfoApi) Do ¶
func (a *Dcs2GetClientIPInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetClientIPInfoRequest) (*Dcs2GetClientIPInfoResponse, error)
type Dcs2GetClientIPInfoRequest ¶
type Dcs2GetClientIPInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<li>实例类型为Proxy集群、经典集群版时传入proxyName<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7741&isNormal=1&vid=270">查询实例的逻辑拓扑</a> AccessNode表proxyName字段<li>其他实例类型传入Redis节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ }
type Dcs2GetClientIPInfoResponse ¶
type Dcs2GetClientIPInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetClientIPInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetClientIPInfoReturnObjClientInfoListResponse ¶
type Dcs2GetClientIPInfoReturnObjClientInfoListResponse struct { ConnectionId string `json:"connectionId,omitempty"` /* 连接ID */ Addr string `json:"addr,omitempty"` /* 客户端连接地址 */ Cmd string `json:"cmd,omitempty"` /* 命令 */ Db string `json:"db,omitempty"` /* 数据库序号 */ Idle string `json:"idle,omitempty"` /* 过期时间 */ Age string `json:"age,omitempty"` /* 连接时长 */ }
type Dcs2GetClientIPInfoReturnObjClientmapResponse ¶
type Dcs2GetClientIPInfoReturnObjClientmapResponse struct{}
type Dcs2GetClientIPInfoReturnObjCmdmapResponse ¶
type Dcs2GetClientIPInfoReturnObjCmdmapResponse struct{}
type Dcs2GetClientIPInfoReturnObjDbmapResponse ¶
type Dcs2GetClientIPInfoReturnObjDbmapResponse struct{}
type Dcs2GetClientIPInfoReturnObjResponse ¶
type Dcs2GetClientIPInfoReturnObjResponse struct { InstanceId string `json:"instanceId,omitempty"` /* 实例名称(实例Id) */ Skuname string `json:"skuname,omitempty"` /* 规格名称 */ Nodeaddr string `json:"nodeaddr,omitempty"` /* 节点连接地址 */ Total int32 `json:"total,omitempty"` /* 客户端数量 */ TotalActives int32 `json:"totalActives,omitempty"` /* 活跃客户端数量 */ ClientInfoList []*Dcs2GetClientIPInfoReturnObjClientInfoListResponse `json:"clientInfoList"` /* 客户端信息 */ Clientmap *Dcs2GetClientIPInfoReturnObjClientmapResponse `json:"clientmap"` /* 客户端map */ Cmdmap *Dcs2GetClientIPInfoReturnObjCmdmapResponse `json:"cmdmap"` /* 命令Map */ Dbmap *Dcs2GetClientIPInfoReturnObjDbmapResponse `json:"dbmap"` /* 数据库Map */ }
type Dcs2GetClientMapApi ¶
type Dcs2GetClientMapApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetClientMapApi ¶
func NewDcs2GetClientMapApi(client *core.CtyunClient) *Dcs2GetClientMapApi
func (*Dcs2GetClientMapApi) Do ¶
func (a *Dcs2GetClientMapApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetClientMapRequest) (*Dcs2GetClientMapResponse, error)
type Dcs2GetClientMapRequest ¶
type Dcs2GetClientMapRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<li>实例类型为Proxy集群、经典集群版时传入proxyName<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7741&isNormal=1&vid=270">查询实例的逻辑拓扑</a> AccessNode表proxyName字段<li>其他实例类型传入Redis节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ }
type Dcs2GetClientMapResponse ¶
type Dcs2GetClientMapResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetClientMapReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetClientMapReturnObjResponse ¶
type Dcs2GetClientMapReturnObjResponse struct{}
type Dcs2GetKeyMisslogApi ¶
type Dcs2GetKeyMisslogApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetKeyMisslogApi ¶
func NewDcs2GetKeyMisslogApi(client *core.CtyunClient) *Dcs2GetKeyMisslogApi
func (*Dcs2GetKeyMisslogApi) Do ¶
func (a *Dcs2GetKeyMisslogApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetKeyMisslogRequest) (*Dcs2GetKeyMisslogResponse, error)
type Dcs2GetKeyMisslogRequest ¶
type Dcs2GetKeyMisslogRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ NodeName string /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ }
type Dcs2GetKeyMisslogResponse ¶
type Dcs2GetKeyMisslogResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetKeyMisslogReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetLabelListByResourcesApi ¶
type Dcs2GetLabelListByResourcesApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetLabelListByResourcesApi ¶
func NewDcs2GetLabelListByResourcesApi(client *core.CtyunClient) *Dcs2GetLabelListByResourcesApi
func (*Dcs2GetLabelListByResourcesApi) Do ¶
func (a *Dcs2GetLabelListByResourcesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetLabelListByResourcesRequest) (*Dcs2GetLabelListByResourcesResponse, error)
type Dcs2GetLabelListByResourcesRequest ¶
type Dcs2GetLabelListByResourcesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstIds []string `json:"prodInstIds"` /* 实例列表 */ }
type Dcs2GetLabelListByResourcesResponse ¶
type Dcs2GetLabelListByResourcesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetLabelListByResourcesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetLabelListByResourcesReturnObjResponse ¶
type Dcs2GetLabelListByResourcesReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2GetLabelListByResourcesReturnObjRowsResponse `json:"rows"` /* 绑定的产品资源 */ }
type Dcs2GetLabelListByResourcesReturnObjRowsProdResourceIdListResponse ¶
type Dcs2GetLabelListByResourcesReturnObjRowsProdResourceIdListResponse struct {
ResourceId string `json:"resourceId,omitempty"` /* 资源ID */
}
type Dcs2GetLabelListByResourcesReturnObjRowsResponse ¶
type Dcs2GetLabelListByResourcesReturnObjRowsResponse struct { ResourceCount string `json:"resourceCount,omitempty"` /* 绑定资源数 */ ProdResourceIdList []*Dcs2GetLabelListByResourcesReturnObjRowsProdResourceIdListResponse `json:"prodResourceIdList"` /* 资源绑定的标签列表 */ }
type Dcs2GetRdbDownLoadUrlApi ¶
type Dcs2GetRdbDownLoadUrlApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetRdbDownLoadUrlApi ¶
func NewDcs2GetRdbDownLoadUrlApi(client *core.CtyunClient) *Dcs2GetRdbDownLoadUrlApi
func (*Dcs2GetRdbDownLoadUrlApi) Do ¶
func (a *Dcs2GetRdbDownLoadUrlApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetRdbDownLoadUrlRequest) (*Dcs2GetRdbDownLoadUrlResponse, error)
type Dcs2GetRdbDownLoadUrlRequest ¶
type Dcs2GetRdbDownLoadUrlRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ RestoreName string /* 备份名<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7778&isNormal=1&vid=270">查询备份文件信息</a> Restore表restoreName字段 */ IpType string /* 网络类型<li>publicIp:公网IP<li>privateIp:私网IP */ }
type Dcs2GetRdbDownLoadUrlResponse ¶
type Dcs2GetRdbDownLoadUrlResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetRdbDownLoadUrlReturnObjResponse `json:"returnObj"` /* 返回数据对象,包含备份文件下载链接:<br>key格式:Redis节点名<br>value格式:备份文件下载URL */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetRdbDownLoadUrlReturnObjResponse ¶
type Dcs2GetRdbDownLoadUrlReturnObjResponse struct{}
type Dcs2GetRedisNodeListApi ¶
type Dcs2GetRedisNodeListApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetRedisNodeListApi ¶
func NewDcs2GetRedisNodeListApi(client *core.CtyunClient) *Dcs2GetRedisNodeListApi
func (*Dcs2GetRedisNodeListApi) Do ¶
func (a *Dcs2GetRedisNodeListApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetRedisNodeListRequest) (*Dcs2GetRedisNodeListResponse, error)
type Dcs2GetRedisNodeListRequest ¶
type Dcs2GetRedisNodeListRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2GetRedisNodeListResponse ¶
type Dcs2GetRedisNodeListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetRedisNodeListReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetRedisNodeListReturnObjResponse ¶
type Dcs2GetRedisNodeListReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 数量 */ Rows []*Dcs2GetRedisNodeListReturnObjRowsResponse `json:"rows"` /* rows */ }
type Dcs2GetTaskInfoApi ¶
type Dcs2GetTaskInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetTaskInfoApi ¶
func NewDcs2GetTaskInfoApi(client *core.CtyunClient) *Dcs2GetTaskInfoApi
func (*Dcs2GetTaskInfoApi) Do ¶
func (a *Dcs2GetTaskInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetTaskInfoRequest) (*Dcs2GetTaskInfoResponse, error)
type Dcs2GetTaskInfoRequest ¶
type Dcs2GetTaskInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string /* 任务ID */ }
type Dcs2GetTaskInfoResponse ¶
type Dcs2GetTaskInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetTaskProgressDetailInfoApi ¶
type Dcs2GetTaskProgressDetailInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetTaskProgressDetailInfoApi ¶
func NewDcs2GetTaskProgressDetailInfoApi(client *core.CtyunClient) *Dcs2GetTaskProgressDetailInfoApi
func (*Dcs2GetTaskProgressDetailInfoApi) Do ¶
func (a *Dcs2GetTaskProgressDetailInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetTaskProgressDetailInfoRequest) (*Dcs2GetTaskProgressDetailInfoResponse, error)
type Dcs2GetTaskProgressDetailInfoRequest ¶
type Dcs2GetTaskProgressDetailInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string /* 任务ID */ }
type Dcs2GetTaskProgressDetailInfoResponse ¶
type Dcs2GetTaskProgressDetailInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetTaskProgressDetailInfoReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetTaskProgressDetailInfoReturnObjDataSyncCountInfoResponse ¶
type Dcs2GetTaskProgressDetailInfoReturnObjDataSyncCountInfoResponse struct { ReadCount int64 `json:"readCount,omitempty"` /* 从源端读取的总命令数 */ ReadOps float64 `json:"readOps"` /* 从源端读取的命令总OPS */ WriteCount int64 `json:"writeCount,omitempty"` /* 发送给目标的总命令数 */ WriteOps float64 `json:"writeOps"` /* 发送给目标的命令总OPS */ }
type Dcs2GetTaskProgressDetailInfoReturnObjResponse ¶
type Dcs2GetTaskProgressDetailInfoReturnObjResponse struct { DataSyncCountInfo *Dcs2GetTaskProgressDetailInfoReturnObjDataSyncCountInfoResponse `json:"dataSyncCountInfo"` /* 命令同步信息汇总 */ SourceProgressInfoList []*Dcs2GetTaskProgressDetailInfoReturnObjSourceProgressInfoListResponse `json:"sourceProgressInfoList"` /* 同步进度信息 */ }
type Dcs2GetTaskProgressDetailInfoReturnObjSourceProgressInfoListResponse ¶
type Dcs2GetTaskProgressDetailInfoReturnObjSourceProgressInfoListResponse struct { Address string `json:"address,omitempty"` /* 源端ip:port */ SyncPercent float64 `json:"syncPercent"` /* 全量数据的同步百分比(不包含增量) */ AofOffsetDiff int64 `json:"aofOffsetDiff,omitempty"` /* AOF偏移差距(增量同步时有) */ State string `json:"state,omitempty"` /* 同步阶段<li>unknown status<li>hand shaking<li>waiting bgsave<li>receiving rdb<li>syncing rdb<li>syncing aof(增量同步时有) */ }
type Dcs2GetTransferTaskInfoApi ¶
type Dcs2GetTransferTaskInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetTransferTaskInfoApi ¶
func NewDcs2GetTransferTaskInfoApi(client *core.CtyunClient) *Dcs2GetTransferTaskInfoApi
func (*Dcs2GetTransferTaskInfoApi) Do ¶
func (a *Dcs2GetTransferTaskInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetTransferTaskInfoRequest) (*Dcs2GetTransferTaskInfoResponse, error)
type Dcs2GetTransferTaskInfoRequest ¶
type Dcs2GetTransferTaskInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string /* 任务ID */ }
type Dcs2GetTransferTaskInfoResponse ¶
type Dcs2GetTransferTaskInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetTransferTaskInfoReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetTransferTaskInfoReturnObjDetailResponse ¶
type Dcs2GetTransferTaskInfoReturnObjDetailResponse struct { SourceDbInfo *Dcs2GetTransferTaskInfoReturnObjDetailSourceDbInfoResponse `json:"sourceDbInfo"` /* 源库信息 */ TargetDbInfo *Dcs2GetTransferTaskInfoReturnObjDetailTargetDbInfoResponse `json:"targetDbInfo"` /* 目标库信息 */ }
type Dcs2GetTransferTaskInfoReturnObjDetailSourceDbInfoResponse ¶
type Dcs2GetTransferTaskInfoReturnObjDetailSourceDbInfoResponse struct { SpuInstId string `json:"spuInstId,omitempty"` /* 实例ID */ IpAddr string `json:"ipAddr,omitempty"` /* 连接地址 */ OriginalCluster *bool `json:"originalCluster"` /* 是否是原生cluster集群 */ AccountName string `json:"accountName,omitempty"` /* 数据库账号 */ Password string `json:"password,omitempty"` /* 数据库密码 */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ }
type Dcs2GetTransferTaskInfoReturnObjDetailTargetDbInfoResponse ¶
type Dcs2GetTransferTaskInfoReturnObjDetailTargetDbInfoResponse struct { SpuInstId string `json:"spuInstId,omitempty"` /* 实例ID */ IpAddr string `json:"ipAddr,omitempty"` /* 连接地址 */ OriginalCluster *bool `json:"originalCluster"` /* 是否是原生cluster集群 */ AccountName string `json:"accountName,omitempty"` /* 数据库账号 */ Password string `json:"password,omitempty"` /* 数据库密码 */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */ }
type Dcs2GetTransferTaskInfoReturnObjResponse ¶
type Dcs2GetTransferTaskInfoReturnObjResponse struct { UserId string `json:"userId,omitempty"` /* 用户ID */ TenantId string `json:"tenantId,omitempty"` /* 租户ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ SourceSpuInstId string `json:"sourceSpuInstId,omitempty"` /* 源库实例id */ TargetSpuInstId string `json:"targetSpuInstId,omitempty"` /* 目标库实例id */ SyncMode int32 `json:"syncMode,omitempty"` /* 同步模式<li>1:全量同步+增量同步<li>2:全量同步 */ RawType int32 `json:"type,omitempty"` /* 任务类型(1:数据迁移任务,其他:未知;本接口该字段固定返回1) */ ConflictMode int32 `json:"conflictMode,omitempty"` /* 数据冲突时的处理办法<li>1:中断迁移<li>2:跳过目标key,继续执行<li>3:覆盖目标key,继续执行 */ Status int32 `json:"status,omitempty"` /* 任务状态<li>0:初始态<li>1:运行中<li>2:成功<li>3:失败 */ RunStep int32 `json:"runStep,omitempty"` /* 迁移进度<li>1:全量同步中<li>2:增量同步中 */ CreateTime int64 `json:"createTime,omitempty"` /* 创建时间(秒) */ CompleteTime int64 `json:"completeTime,omitempty"` /* 结束时间(秒,-1表示时间未知) */ Detail *Dcs2GetTransferTaskInfoReturnObjDetailResponse `json:"detail"` /* 详情 */ }
type Dcs2GetZonesApi ¶
type Dcs2GetZonesApi struct {
// contains filtered or unexported fields
}
func NewDcs2GetZonesApi ¶
func NewDcs2GetZonesApi(client *core.CtyunClient) *Dcs2GetZonesApi
func (*Dcs2GetZonesApi) Do ¶
func (a *Dcs2GetZonesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GetZonesRequest) (*Dcs2GetZonesResponse, error)
type Dcs2GetZonesRequest ¶
type Dcs2GetZonesRequest struct { RegionIdHeader string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ RegionIdParam string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ }
type Dcs2GetZonesResponse ¶
type Dcs2GetZonesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GetZonesReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GetZonesReturnObjResponse ¶
type Dcs2GetZonesReturnObjResponse struct {
ZoneList []*Dcs2GetZonesReturnObjZoneListResponse `json:"zoneList"` /* 可用区列表 */
}
type Dcs2GrantAccountPrivilegeApi ¶
type Dcs2GrantAccountPrivilegeApi struct {
// contains filtered or unexported fields
}
func NewDcs2GrantAccountPrivilegeApi ¶
func NewDcs2GrantAccountPrivilegeApi(client *core.CtyunClient) *Dcs2GrantAccountPrivilegeApi
func (*Dcs2GrantAccountPrivilegeApi) Do ¶
func (a *Dcs2GrantAccountPrivilegeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2GrantAccountPrivilegeRequest) (*Dcs2GrantAccountPrivilegeResponse, error)
type Dcs2GrantAccountPrivilegeRequest ¶
type Dcs2GrantAccountPrivilegeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ AccountPrivilege string `json:"accountPrivilege,omitempty"` /* 账户权限<li>ro:只读<li>rw:读写<li>dba:DBA所有权限<li>wo:只写<li>sync:同步权限<br>说明:经典版2.8,4.0,5.0只允许设置ro、rw。 */ }
type Dcs2GrantAccountPrivilegeResponse ¶
type Dcs2GrantAccountPrivilegeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2GrantAccountPrivilegeReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2GrantAccountPrivilegeReturnObjResponse ¶
type Dcs2GrantAccountPrivilegeReturnObjResponse struct{}
type Dcs2HostDownFaultInjectApi ¶
type Dcs2HostDownFaultInjectApi struct {
// contains filtered or unexported fields
}
func NewDcs2HostDownFaultInjectApi ¶
func NewDcs2HostDownFaultInjectApi(client *core.CtyunClient) *Dcs2HostDownFaultInjectApi
func (*Dcs2HostDownFaultInjectApi) Do ¶
func (a *Dcs2HostDownFaultInjectApi) Do(ctx context.Context, credential core.Credential, req *Dcs2HostDownFaultInjectRequest) (*Dcs2HostDownFaultInjectResponse, error)
type Dcs2HostDownFaultInjectRequest ¶
type Dcs2HostDownFaultInjectRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Nodes []*Dcs2HostDownFaultInjectNodesRequest `json:"nodes"` /* 目标故障节点列表 */ Duration int32 `json:"duration,omitempty"` /* 故障持续时间(秒), 最小值为60 */ ActionCode string `json:"actionCode,omitempty"` /* 故障动作类型 <li>node-shutdown:主机宕机 */ }
type Dcs2HostDownFaultInjectResponse ¶
type Dcs2HostDownFaultInjectResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2HostDownFaultInjectReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2HostTypeFaultInjectApi ¶
type Dcs2HostTypeFaultInjectApi struct {
// contains filtered or unexported fields
}
func NewDcs2HostTypeFaultInjectApi ¶
func NewDcs2HostTypeFaultInjectApi(client *core.CtyunClient) *Dcs2HostTypeFaultInjectApi
func (*Dcs2HostTypeFaultInjectApi) Do ¶
func (a *Dcs2HostTypeFaultInjectApi) Do(ctx context.Context, credential core.Credential, req *Dcs2HostTypeFaultInjectRequest) (*Dcs2HostTypeFaultInjectResponse, error)
type Dcs2HostTypeFaultInjectRequest ¶
type Dcs2HostTypeFaultInjectRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Nodes []*Dcs2HostTypeFaultInjectNodesRequest `json:"nodes"` /* 目标故障节点列表 */ Duration int32 `json:"duration,omitempty"` /* 故障持续时间(秒), 最小值为60 */ Value int32 `json:"value,omitempty"` /* 故障注入参数, 范围[0, 100] <li>disk-burn类型其value值为磁盘io-util占用率<li>memory-load类型其value值为内存负载百分比<li>cpu-fullload类型其value值为CPU占用率 */ ActionCode string `json:"actionCode,omitempty"` /* 故障动作类型<li>memory-load: 内存负载注入<li>disk-burn:磁盘IO Utilization<li>cpu-fullload:CPU满载注入 */ }
type Dcs2HostTypeFaultInjectResponse ¶
type Dcs2HostTypeFaultInjectResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2HostTypeFaultInjectReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2KillSelectedClientApi ¶
type Dcs2KillSelectedClientApi struct {
// contains filtered or unexported fields
}
func NewDcs2KillSelectedClientApi ¶
func NewDcs2KillSelectedClientApi(client *core.CtyunClient) *Dcs2KillSelectedClientApi
func (*Dcs2KillSelectedClientApi) Do ¶
func (a *Dcs2KillSelectedClientApi) Do(ctx context.Context, credential core.Credential, req *Dcs2KillSelectedClientRequest) (*Dcs2KillSelectedClientResponse, error)
type Dcs2KillSelectedClientRequest ¶
type Dcs2KillSelectedClientRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NodeName string `json:"nodeName,omitempty"` /* 节点名称<li>实例类型为Proxy集群、经典集群版时传入proxyName<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7741&isNormal=1&vid=270">查询实例的逻辑拓扑</a> AccessNode表proxyName字段<li>其他实例类型传入Redis节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ Addr []string `json:"addr"` /* 客户端地址 */ }
type Dcs2KillSelectedClientResponse ¶
type Dcs2KillSelectedClientResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2KillSelectedClientReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2KillSelectedClientReturnObjResponse ¶
type Dcs2KillSelectedClientReturnObjResponse struct {
Result string `json:"result,omitempty"` /* 结果 */
}
type Dcs2ListInstanceExperimentsApi ¶
type Dcs2ListInstanceExperimentsApi struct {
// contains filtered or unexported fields
}
func NewDcs2ListInstanceExperimentsApi ¶
func NewDcs2ListInstanceExperimentsApi(client *core.CtyunClient) *Dcs2ListInstanceExperimentsApi
func (*Dcs2ListInstanceExperimentsApi) Do ¶
func (a *Dcs2ListInstanceExperimentsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ListInstanceExperimentsRequest) (*Dcs2ListInstanceExperimentsResponse, error)
type Dcs2ListInstanceExperimentsRequest ¶
type Dcs2ListInstanceExperimentsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ Page string /* 当前页,最小值为1, 默认1 */ Size string /* 当前页大小,范围[1, 100],默认10 */ ActionCode string /* 故障类型<li>memory-load: 内存负载<li>cpu-fullload:CPU满载注入<li>disk-burn: 磁盘IO Utilization<li>node-shutdown: 主机宕机<li>network-loss: 网络丢包 */ }
type Dcs2ListInstanceExperimentsResponse ¶
type Dcs2ListInstanceExperimentsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ListInstanceExperimentsReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ListTaskInfoApi ¶
type Dcs2ListTaskInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2ListTaskInfoApi ¶
func NewDcs2ListTaskInfoApi(client *core.CtyunClient) *Dcs2ListTaskInfoApi
func (*Dcs2ListTaskInfoApi) Do ¶
func (a *Dcs2ListTaskInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ListTaskInfoRequest) (*Dcs2ListTaskInfoResponse, error)
type Dcs2ListTaskInfoRequest ¶
type Dcs2ListTaskInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ PageNum string /* 页码(范围:> 0) */ PageSize string /* 数量(范围:[1,100]) */ Status string /* 查询指定的任务状态<li>0:所有状态(默认)<li>1:运行中<li>2:成功<li>3:失败 */ }
type Dcs2ListTaskInfoResponse ¶
type Dcs2ListTaskInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ListTaskInfoReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ListTaskInfoReturnObjResponse ¶
type Dcs2ListTaskInfoReturnObjResponse struct{}
type Dcs2ListTasksApi ¶
type Dcs2ListTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2ListTasksApi ¶
func NewDcs2ListTasksApi(client *core.CtyunClient) *Dcs2ListTasksApi
func (*Dcs2ListTasksApi) Do ¶
func (a *Dcs2ListTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ListTasksRequest) (*Dcs2ListTasksResponse, error)
type Dcs2ListTasksConditionRequest ¶
type Dcs2ListTasksConditionRequest struct { TaskTypeStr string `json:"taskTypeStr,omitempty"` /* 查询所有任务类型:空值,查询指定任务类型:输入指定taskType,多个时英文逗号分割;taskType可选值见taskType表 */ Status int32 `json:"status,omitempty"` /* 查询指定任务状态<li>1:所有状态的任务<li>0:初始态任务<li>1:运行中的任务<li>2:成功的任务<li>3:失败的任务 */ ProdInstId string `json:"prodInstId,omitempty"` /* 查询指定实例id的任务列表 */ StartTimeDesc int32 `json:"startTimeDesc,omitempty"` /* 返回数据的排序<li>0:按创建时间自然排序<li>1:按创建时间降序排序 */ }
type Dcs2ListTasksRequest ¶
type Dcs2ListTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ StartTime string `json:"startTime,omitempty"` /* 开始时间(yyyyMMdd) */ EndTime string `json:"endTime,omitempty"` /* 结束时间(yyyyMMdd)(最长时间跨度:31天) */ PageIndex int32 `json:"pageIndex,omitempty"` /* 页码(默认:1) */ PageSize int32 `json:"pageSize,omitempty"` /* 每页条数(默认:10,范围:1~100) */ Condition *Dcs2ListTasksConditionRequest `json:"condition"` /* 查询条件 */ }
type Dcs2ListTasksResponse ¶
type Dcs2ListTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ListTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ListTasksReturnObjResponse ¶
type Dcs2ListTasksReturnObjResponse struct {
Total int32 `json:"total,omitempty"` /* 总数 */
}
type Dcs2LockDBInstanceWriteApi ¶
type Dcs2LockDBInstanceWriteApi struct {
// contains filtered or unexported fields
}
func NewDcs2LockDBInstanceWriteApi ¶
func NewDcs2LockDBInstanceWriteApi(client *core.CtyunClient) *Dcs2LockDBInstanceWriteApi
func (*Dcs2LockDBInstanceWriteApi) Do ¶
func (a *Dcs2LockDBInstanceWriteApi) Do(ctx context.Context, credential core.Credential, req *Dcs2LockDBInstanceWriteRequest) (*Dcs2LockDBInstanceWriteResponse, error)
type Dcs2LockDBInstanceWriteRequest ¶
type Dcs2LockDBInstanceWriteRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ LockReason string `json:"lockReason,omitempty"` /* 锁定原因说明,最大长度512个字符 */ }
type Dcs2LockDBInstanceWriteResponse ¶
type Dcs2LockDBInstanceWriteResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2LockDBInstanceWriteReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyAccountDescriptionApi ¶
type Dcs2ModifyAccountDescriptionApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyAccountDescriptionApi ¶
func NewDcs2ModifyAccountDescriptionApi(client *core.CtyunClient) *Dcs2ModifyAccountDescriptionApi
func (*Dcs2ModifyAccountDescriptionApi) Do ¶
func (a *Dcs2ModifyAccountDescriptionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyAccountDescriptionRequest) (*Dcs2ModifyAccountDescriptionResponse, error)
type Dcs2ModifyAccountDescriptionRequest ¶
type Dcs2ModifyAccountDescriptionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ AccountDescription string `json:"accountDescription,omitempty"` /* 账户描述信息 */ }
type Dcs2ModifyAccountDescriptionResponse ¶
type Dcs2ModifyAccountDescriptionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyAccountDescriptionReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyAccountDescriptionReturnObjResponse ¶
type Dcs2ModifyAccountDescriptionReturnObjResponse struct{}
type Dcs2ModifyAccountPasswordApi ¶
type Dcs2ModifyAccountPasswordApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyAccountPasswordApi ¶
func NewDcs2ModifyAccountPasswordApi(client *core.CtyunClient) *Dcs2ModifyAccountPasswordApi
func (*Dcs2ModifyAccountPasswordApi) Do ¶
func (a *Dcs2ModifyAccountPasswordApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyAccountPasswordRequest) (*Dcs2ModifyAccountPasswordResponse, error)
type Dcs2ModifyAccountPasswordRequest ¶
type Dcs2ModifyAccountPasswordRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ AccountPassword string `json:"accountPassword,omitempty"` /* 新密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ OldAccountPassword string `json:"oldAccountPassword,omitempty"` /* 账户旧密码 */ }
type Dcs2ModifyAccountPasswordResponse ¶
type Dcs2ModifyAccountPasswordResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyAccountPasswordReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyAccountPasswordReturnObjResponse ¶
type Dcs2ModifyAccountPasswordReturnObjResponse struct{}
type Dcs2ModifyBackupPolicyApi ¶
type Dcs2ModifyBackupPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyBackupPolicyApi ¶
func NewDcs2ModifyBackupPolicyApi(client *core.CtyunClient) *Dcs2ModifyBackupPolicyApi
func (*Dcs2ModifyBackupPolicyApi) Do ¶
func (a *Dcs2ModifyBackupPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyBackupPolicyRequest) (*Dcs2ModifyBackupPolicyResponse, error)
type Dcs2ModifyBackupPolicyRequest ¶
type Dcs2ModifyBackupPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ PreferredBackupPeriod string `json:"preferredBackupPeriod,omitempty"` /* 日期范围,1-7表示周一至周日,多个日期使用英文逗号分隔。 */ PreferredBackupTime string `json:"preferredBackupTime,omitempty"` /* 备份时间,0-23点准点 */ }
type Dcs2ModifyBackupPolicyResponse ¶
type Dcs2ModifyBackupPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyBigKeyPolicyApi ¶
type Dcs2ModifyBigKeyPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyBigKeyPolicyApi ¶
func NewDcs2ModifyBigKeyPolicyApi(client *core.CtyunClient) *Dcs2ModifyBigKeyPolicyApi
func (*Dcs2ModifyBigKeyPolicyApi) Do ¶
func (a *Dcs2ModifyBigKeyPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyBigKeyPolicyRequest) (*Dcs2ModifyBigKeyPolicyResponse, error)
type Dcs2ModifyBigKeyPolicyRequest ¶
type Dcs2ModifyBigKeyPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ModifyType string `json:"modifyType,omitempty"` /* 操作类型<li> 0:开启自动扫描配置<li>1:关闭自动扫描配置<li>2:修改自动扫描配置 */ Days string `json:"days,omitempty"` /* 日期范围,1-7表示周一至周日,多个日期使用英文逗号分隔。 */ Hours string `json:"hours,omitempty"` /* 整点 */ }
type Dcs2ModifyBigKeyPolicyResponse ¶
type Dcs2ModifyBigKeyPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyBigKeyPolicyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyBigKeyPolicyReturnObjResponse ¶
type Dcs2ModifyBigKeyPolicyReturnObjResponse struct{}
type Dcs2ModifyHotKeyPolicyApi ¶
type Dcs2ModifyHotKeyPolicyApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyHotKeyPolicyApi ¶
func NewDcs2ModifyHotKeyPolicyApi(client *core.CtyunClient) *Dcs2ModifyHotKeyPolicyApi
func (*Dcs2ModifyHotKeyPolicyApi) Do ¶
func (a *Dcs2ModifyHotKeyPolicyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyHotKeyPolicyRequest) (*Dcs2ModifyHotKeyPolicyResponse, error)
type Dcs2ModifyHotKeyPolicyRequest ¶
type Dcs2ModifyHotKeyPolicyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ModifyType string `json:"modifyType,omitempty"` /* 操作类型<li> 0:开启自动扫描配置<li>1:关闭自动扫描配置<li>2:修改自动扫描配置 */ Days string `json:"days,omitempty"` /* 日期范围,1-7表示周一至周日,多个日期使用英文逗号分隔。 */ Hours string `json:"hours,omitempty"` /* 整点 */ }
type Dcs2ModifyHotKeyPolicyResponse ¶
type Dcs2ModifyHotKeyPolicyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyHotKeyPolicyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyHotKeyPolicyReturnObjResponse ¶
type Dcs2ModifyHotKeyPolicyReturnObjResponse struct{}
type Dcs2ModifyInstanceAttributeApi ¶
type Dcs2ModifyInstanceAttributeApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceAttributeApi ¶
func NewDcs2ModifyInstanceAttributeApi(client *core.CtyunClient) *Dcs2ModifyInstanceAttributeApi
func (*Dcs2ModifyInstanceAttributeApi) Do ¶
func (a *Dcs2ModifyInstanceAttributeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceAttributeRequest) (*Dcs2ModifyInstanceAttributeResponse, error)
type Dcs2ModifyInstanceAttributeRequest ¶
type Dcs2ModifyInstanceAttributeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Description string `json:"description,omitempty"` /* 实例描述信息,小于1024个字符 */ ProtectionStatus *bool `json:"protectionStatus"` /* 退订保护开关<li>true:开启<li>false:关闭<br>说明:传入空字符串或空格时自动转为 null */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 实例维护时间窗<li>格式:HH:mm-HH:mm<li>总时长必须为2小时<li>开始时间范围:00:00-22:00 */ }
type Dcs2ModifyInstanceAttributeResponse ¶
type Dcs2ModifyInstanceAttributeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceAttributeReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceAttributeReturnObjResponse ¶
type Dcs2ModifyInstanceAttributeReturnObjResponse struct{}
type Dcs2ModifyInstanceConfigApi ¶
type Dcs2ModifyInstanceConfigApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceConfigApi ¶
func NewDcs2ModifyInstanceConfigApi(client *core.CtyunClient) *Dcs2ModifyInstanceConfigApi
func (*Dcs2ModifyInstanceConfigApi) Do ¶
func (a *Dcs2ModifyInstanceConfigApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceConfigRequest) (*Dcs2ModifyInstanceConfigResponse, error)
type Dcs2ModifyInstanceConfigParamsRequest ¶
type Dcs2ModifyInstanceConfigParamsRequest struct { ParamName string `json:"paramName,omitempty"` /* 参数名称<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15097&isNormal=1&vid=270">查询实例配置参数</a> param表paramName字段 */ OriginalValue string `json:"originalValue,omitempty"` /* 旧值 */ CurrentValue string `json:"currentValue,omitempty"` /* 当前值 */ }
type Dcs2ModifyInstanceConfigRequest ¶
type Dcs2ModifyInstanceConfigRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Params []*Dcs2ModifyInstanceConfigParamsRequest `json:"params"` /* 参数列表 */ }
type Dcs2ModifyInstanceConfigResponse ¶
type Dcs2ModifyInstanceConfigResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceConfigReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceConfigReturnObjResponse ¶
type Dcs2ModifyInstanceConfigReturnObjResponse struct{}
type Dcs2ModifyInstanceConfigV2Api ¶
type Dcs2ModifyInstanceConfigV2Api struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceConfigV2Api ¶
func NewDcs2ModifyInstanceConfigV2Api(client *core.CtyunClient) *Dcs2ModifyInstanceConfigV2Api
func (*Dcs2ModifyInstanceConfigV2Api) Do ¶
func (a *Dcs2ModifyInstanceConfigV2Api) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceConfigV2Request) (*Dcs2ModifyInstanceConfigV2Response, error)
type Dcs2ModifyInstanceConfigV2Request ¶
type Dcs2ModifyInstanceConfigV2Request struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Appendfsync string `json:"appendfsync,omitempty"` /* 指定日志更新条件<li>no<li>everysec<li>always。<br>说明:2.8,4.0,5.0内核主备、集群主备版本禁止设置no */ }
type Dcs2ModifyInstanceConfigV2Response ¶
type Dcs2ModifyInstanceConfigV2Response struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceConfigV2ReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceConfigV2ReturnObjResponse ¶
type Dcs2ModifyInstanceConfigV2ReturnObjResponse struct{}
type Dcs2ModifyInstanceFeatureApi ¶
type Dcs2ModifyInstanceFeatureApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceFeatureApi ¶
func NewDcs2ModifyInstanceFeatureApi(client *core.CtyunClient) *Dcs2ModifyInstanceFeatureApi
func (*Dcs2ModifyInstanceFeatureApi) Do ¶
func (a *Dcs2ModifyInstanceFeatureApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceFeatureRequest) (*Dcs2ModifyInstanceFeatureResponse, error)
type Dcs2ModifyInstanceFeatureRequest ¶
type Dcs2ModifyInstanceFeatureRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Status int32 `json:"status,omitempty"` /* 限制说明<li>1:解除对实例的扩容/缩容/类型变更操作限制<li>2:限制实例的扩容/缩容/类型变更操作 */ }
type Dcs2ModifyInstanceFeatureResponse ¶
type Dcs2ModifyInstanceFeatureResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceFeatureReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceFeatureReturnObjResponse ¶
type Dcs2ModifyInstanceFeatureReturnObjResponse struct{}
type Dcs2ModifyInstanceMaintainTimeApi ¶
type Dcs2ModifyInstanceMaintainTimeApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceMaintainTimeApi ¶
func NewDcs2ModifyInstanceMaintainTimeApi(client *core.CtyunClient) *Dcs2ModifyInstanceMaintainTimeApi
func (*Dcs2ModifyInstanceMaintainTimeApi) Do ¶
func (a *Dcs2ModifyInstanceMaintainTimeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceMaintainTimeRequest) (*Dcs2ModifyInstanceMaintainTimeResponse, error)
type Dcs2ModifyInstanceMaintainTimeRequest ¶
type Dcs2ModifyInstanceMaintainTimeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例 ID */ MaintenanceTime string `json:"maintenanceTime,omitempty"` /* 实例维护时间窗<li>格式:HH:mm-HH:mm<li>总时长必须为2小时<li>开始时间范围:00:00-22:00 */ }
type Dcs2ModifyInstanceMaintainTimeResponse ¶
type Dcs2ModifyInstanceMaintainTimeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceMajorVersionApi ¶
type Dcs2ModifyInstanceMajorVersionApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceMajorVersionApi ¶
func NewDcs2ModifyInstanceMajorVersionApi(client *core.CtyunClient) *Dcs2ModifyInstanceMajorVersionApi
func (*Dcs2ModifyInstanceMajorVersionApi) Do ¶
func (a *Dcs2ModifyInstanceMajorVersionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceMajorVersionRequest) (*Dcs2ModifyInstanceMajorVersionResponse, error)
type Dcs2ModifyInstanceMajorVersionRequest ¶
type Dcs2ModifyInstanceMajorVersionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ EngineVersion string `json:"engineVersion,omitempty"` /* 引擎大版本<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=17922&isNormal=1&vid=270">查询实例版本信息</a> engineMajorVersionInfo表upgradableEngineVersionItems中的版本 */ }
type Dcs2ModifyInstanceMajorVersionResponse ¶
type Dcs2ModifyInstanceMajorVersionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstancePasswordApi ¶
type Dcs2ModifyInstancePasswordApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstancePasswordApi ¶
func NewDcs2ModifyInstancePasswordApi(client *core.CtyunClient) *Dcs2ModifyInstancePasswordApi
func (*Dcs2ModifyInstancePasswordApi) Do ¶
func (a *Dcs2ModifyInstancePasswordApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstancePasswordRequest) (*Dcs2ModifyInstancePasswordResponse, error)
type Dcs2ModifyInstancePasswordRequest ¶
type Dcs2ModifyInstancePasswordRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NewPassword string `json:"newPassword,omitempty"` /* 新密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ OldPassword string `json:"oldPassword,omitempty"` /* 旧密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ }
type Dcs2ModifyInstancePasswordResponse ¶
type Dcs2ModifyInstancePasswordResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstancePasswordReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstancePasswordReturnObjResponse ¶
type Dcs2ModifyInstancePasswordReturnObjResponse struct{}
type Dcs2ModifyInstanceSSLApi ¶
type Dcs2ModifyInstanceSSLApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceSSLApi ¶
func NewDcs2ModifyInstanceSSLApi(client *core.CtyunClient) *Dcs2ModifyInstanceSSLApi
func (*Dcs2ModifyInstanceSSLApi) Do ¶
func (a *Dcs2ModifyInstanceSSLApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceSSLRequest) (*Dcs2ModifyInstanceSSLResponse, error)
type Dcs2ModifyInstanceSSLRequest ¶
type Dcs2ModifyInstanceSSLRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ SslEnabled string `json:"sslEnabled,omitempty"` /* 操作类型<li>Disable: 关闭SSL<li>Enable: 开启SSL)<li>Update: 更新证书有效期 */ }
type Dcs2ModifyInstanceSSLResponse ¶
type Dcs2ModifyInstanceSSLResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceSSLReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceSSLReturnObjResponse ¶
type Dcs2ModifyInstanceSSLReturnObjResponse struct{}
type Dcs2ModifyInstanceSpecApi ¶
type Dcs2ModifyInstanceSpecApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceSpecApi ¶
func NewDcs2ModifyInstanceSpecApi(client *core.CtyunClient) *Dcs2ModifyInstanceSpecApi
func (*Dcs2ModifyInstanceSpecApi) Do ¶
func (a *Dcs2ModifyInstanceSpecApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceSpecRequest) (*Dcs2ModifyInstanceSpecResponse, error)
type Dcs2ModifyInstanceSpecRequest ¶
type Dcs2ModifyInstanceSpecRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ OrderType string `json:"orderType,omitempty"` /* 实例变更类型,可选值:<br><br><b>架构变更</b><li><strong>UPGRADE</strong>:架构变更(说明:单机→主备,集群单机→集群主备时,内存容量不可变更)</li><br><b>纵向扩展</b><li><strong>EXPANSION</strong>:实例/分片规格扩容(适用:Single/Dual/StandardSingle/StandardDual/DirectClusterSingle/DirectCluster/ClusterOriginalProxy/OriginalMultipleReadLvs)<li><strong>CONTRACTION</strong>:实例/分片规格缩容(适用:同上)<br><br><b>横向扩展</b><li><strong>INCREASE_SHARDS</strong>:增加集群分片(适用:DirectClusterSingle/DirectCluster/ClusterOriginalProxy)<li><strong>DECREASE_SHARDS</strong>:减少集群分片(适用:同上)<br><br><b>副本调整</b><li><strong>INCREASE_REPLICAS</strong>:增加数据副本(适用:StandardDual/DirectCluster/ClusterOriginalProxy/OriginalMultipleReadLvs)<li><strong>DECREASE_REPLICAS</strong>:减少数据副本(适用:同上) */ AutoPay *bool `json:"autoPay"` /* 是否自动支付(仅对包周期实例有效):<li>true:自动付费<li>false:手动付费(默认值)<br>选择为手动付费时,您需要在控制台的顶部菜单栏进入控制中心,单击费用中心 ,然后单击左侧导航栏的订单管理 > 我的订单,找到目标订单进行支付。 */ SecondaryZoneName string `json:"secondaryZoneName,omitempty"` /* 备可用区名称,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解可用区<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=17764&isNormal=1&vid=270">查询可用区信息</a> name字段<br>新增副本时必填<br>实例仅允许最多两个可用区。 */ Capacity string `json:"capacity,omitempty"` /* 目标实例的总容量(单位:G)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 计算方式:单分片内存shardMemSize × 分片数量shardCount 或 使用表SeriesInfo中memSizeItems(内存可选值) */ Version string `json:"version,omitempty"` /* 版本类型,默认BASIC<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的version值。<br>说明:当orderType为UPGRADE类型升级时必填。 */ Edition string `json:"edition,omitempty"` /* 实例类型<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中的seriesCode值 */ ShardMemSize string `json:"shardMemSize,omitempty"` /* 目标实例的单分片内存(GB)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7726&isNormal=1&vid=270">资源池可创建规格</a> 使用表SeriesInfo中shardMemSizeItems(单分片内存可选值),若shardMemSizeItems为空则无需填写 */ ShardCount int32 `json:"shardCount,omitempty"` /* 目标实例的分片数量<li>DirectClusterSingle: 3-256<li>DirectCluster: 3-256<li>ClusterOriginalProxy: 3-64<br><br>其他实例类型无需填写此参数 */ CopiesCount int32 `json:"copiesCount,omitempty"` /* 副本数量(2-6)<br>OriginalMultipleReadLvs必填,StandardDual/DirectCluster/ClusterOriginalProxy选填 */ }
type Dcs2ModifyInstanceSpecResponse ¶
type Dcs2ModifyInstanceSpecResponse struct { Message string `json:"message,omitempty"` /* 响应信息 */ StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ ReturnObj *Dcs2ModifyInstanceSpecReturnObjResponse `json:"returnObj"` /* 返回对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceSpecReturnObjResponse ¶
type Dcs2ModifyInstanceSpecReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否提交成功 */ NewOrderId string `json:"newOrderId,omitempty"` /* 新订单id */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 新订单号 */ TotalPrice float64 `json:"totalPrice"` /* 总价 */ }
type Dcs2ModifyInstanceStrategyApi ¶
type Dcs2ModifyInstanceStrategyApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifyInstanceStrategyApi ¶
func NewDcs2ModifyInstanceStrategyApi(client *core.CtyunClient) *Dcs2ModifyInstanceStrategyApi
func (*Dcs2ModifyInstanceStrategyApi) Do ¶
func (a *Dcs2ModifyInstanceStrategyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifyInstanceStrategyRequest) (*Dcs2ModifyInstanceStrategyResponse, error)
type Dcs2ModifyInstanceStrategyRequest ¶
type Dcs2ModifyInstanceStrategyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Policy string `json:"policy,omitempty"` /* 内存淘汰策略<li>volatile-lru:对设置了过期时间的 key 使用 LRU 淘汰<li>allkeys-lru:对所有 key 使用 LRU 淘汰<li>volatile-lfu:对设置了过期时间的 key 使用 LFU 淘汰<li>allkeys-lfu:对所有 key 使用 LFU 淘汰<li>volatile-random:对设置了过期时间的 key 随机淘汰<li>allkeys-random:对所有 key 随机淘汰<li>volatile-ttl:优先淘汰剩余时间短的 key<li>noeviction:不淘汰,内存满时返回错误(默认行为) */ }
type Dcs2ModifyInstanceStrategyResponse ¶
type Dcs2ModifyInstanceStrategyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifyInstanceStrategyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifyInstanceStrategyReturnObjResponse ¶
type Dcs2ModifyInstanceStrategyReturnObjResponse struct{}
type Dcs2ModifySecurityIpsApi ¶
type Dcs2ModifySecurityIpsApi struct {
// contains filtered or unexported fields
}
func NewDcs2ModifySecurityIpsApi ¶
func NewDcs2ModifySecurityIpsApi(client *core.CtyunClient) *Dcs2ModifySecurityIpsApi
func (*Dcs2ModifySecurityIpsApi) Do ¶
func (a *Dcs2ModifySecurityIpsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ModifySecurityIpsRequest) (*Dcs2ModifySecurityIpsResponse, error)
type Dcs2ModifySecurityIpsRequest ¶
type Dcs2ModifySecurityIpsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Group string `json:"group,omitempty"` /* 白名单分组名 */ Mode string `json:"mode,omitempty"` /* 修改方式<li>cover:覆盖原白名单分组<li>append:新增白名单分组<li>delete:删除该白名单分组 */ Ip string `json:"ip,omitempty"` /* 白名单列表<li>您可填写IP地址(如192.168.1.1)或IP段(如192.168.1.0/24)<li>同时添加多个IP请使用英文逗号隔开如192.168.0.1,192.168.1.0/24<br>说明:当 `mode=delete` 时,此参数为空 */ }
type Dcs2ModifySecurityIpsResponse ¶
type Dcs2ModifySecurityIpsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ModifySecurityIpsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ModifySecurityIpsReturnObjResponse ¶
type Dcs2ModifySecurityIpsReturnObjResponse struct{}
type Dcs2NetworkLossFaultInjectApi ¶
type Dcs2NetworkLossFaultInjectApi struct {
// contains filtered or unexported fields
}
func NewDcs2NetworkLossFaultInjectApi ¶
func NewDcs2NetworkLossFaultInjectApi(client *core.CtyunClient) *Dcs2NetworkLossFaultInjectApi
func (*Dcs2NetworkLossFaultInjectApi) Do ¶
func (a *Dcs2NetworkLossFaultInjectApi) Do(ctx context.Context, credential core.Credential, req *Dcs2NetworkLossFaultInjectRequest) (*Dcs2NetworkLossFaultInjectResponse, error)
type Dcs2NetworkLossFaultInjectRequest ¶
type Dcs2NetworkLossFaultInjectRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ Nodes []*Dcs2NetworkLossFaultInjectNodesRequest `json:"nodes"` /* 目标故障节点列表 */ Duration int32 `json:"duration,omitempty"` /* 故障持续时间(秒), 最小值为60 */ LossPercent int32 `json:"lossPercent,omitempty"` /* 丢包率, 范围[0, 100] */ ActionCode string `json:"actionCode,omitempty"` /* 故障动作类型<li>network-loss: 网络丢包 */ }
type Dcs2NetworkLossFaultInjectResponse ¶
type Dcs2NetworkLossFaultInjectResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2NetworkLossFaultInjectReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2OpenAutoScaleApi ¶
type Dcs2OpenAutoScaleApi struct {
// contains filtered or unexported fields
}
func NewDcs2OpenAutoScaleApi ¶
func NewDcs2OpenAutoScaleApi(client *core.CtyunClient) *Dcs2OpenAutoScaleApi
func (*Dcs2OpenAutoScaleApi) Do ¶
func (a *Dcs2OpenAutoScaleApi) Do(ctx context.Context, credential core.Credential, req *Dcs2OpenAutoScaleRequest) (*Dcs2OpenAutoScaleResponse, error)
type Dcs2OpenAutoScaleRequest ¶
type Dcs2OpenAutoScaleRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例 ID */ }
type Dcs2OpenAutoScaleResponse ¶
type Dcs2OpenAutoScaleResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2OpenAutoScaleReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2OpenAutoScaleReturnObjResponse ¶
type Dcs2OpenAutoScaleReturnObjResponse struct{}
type Dcs2OperateTransferTaskApi ¶
type Dcs2OperateTransferTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2OperateTransferTaskApi ¶
func NewDcs2OperateTransferTaskApi(client *core.CtyunClient) *Dcs2OperateTransferTaskApi
func (*Dcs2OperateTransferTaskApi) Do ¶
func (a *Dcs2OperateTransferTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2OperateTransferTaskRequest) (*Dcs2OperateTransferTaskResponse, error)
type Dcs2OperateTransferTaskRequest ¶
type Dcs2OperateTransferTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string `json:"taskId,omitempty"` /* 任务ID<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ OperateType int32 `json:"operateType,omitempty"` /* 操作类型<li>2:结束运行中的任务<li>3:删除成功或者失败的任务记录 */ }
type Dcs2OperateTransferTaskResponse ¶
type Dcs2OperateTransferTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2OperateTransferTaskReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2OperateTransferTaskReturnObjResponse ¶
type Dcs2OperateTransferTaskReturnObjResponse struct{}
type Dcs2PageListLabelApi ¶
type Dcs2PageListLabelApi struct {
// contains filtered or unexported fields
}
func NewDcs2PageListLabelApi ¶
func NewDcs2PageListLabelApi(client *core.CtyunClient) *Dcs2PageListLabelApi
func (*Dcs2PageListLabelApi) Do ¶
func (a *Dcs2PageListLabelApi) Do(ctx context.Context, credential core.Credential, req *Dcs2PageListLabelRequest) (*Dcs2PageListLabelResponse, error)
type Dcs2PageListLabelRequest ¶
type Dcs2PageListLabelRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ PageIndex int32 /* 当前页码(默认值:1) */ PageSize int32 /* 每页行数(默认值:10,范围:1-50) */ LabelKey string /* 标签键(精确匹配查询) */ LabelVal string /* 标签值(精确匹配查询) */ }
type Dcs2PageListLabelResponse ¶
type Dcs2PageListLabelResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2PageListLabelReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2PageListLabelReturnObjListDataResponse ¶
type Dcs2PageListLabelReturnObjListDataResponse struct { AccountId string `json:"accountId,omitempty"` /* 账户ID */ Key string `json:"key,omitempty"` /* 标签键 */ LabelId string `json:"labelId,omitempty"` /* 标签ID */ OperateType string `json:"operateType,omitempty"` /* 操作类型 */ UserId string `json:"userId,omitempty"` /* 用户ID */ Value string `json:"value,omitempty"` /* 标签值内容 */ }
type Dcs2PageListLabelReturnObjListResponse ¶
type Dcs2PageListLabelReturnObjListResponse struct { Key string `json:"key,omitempty"` /* 标签键 */ Data []*Dcs2PageListLabelReturnObjListDataResponse `json:"data"` /* 标签键值对象 */ }
type Dcs2PageListLabelReturnObjResponse ¶
type Dcs2PageListLabelReturnObjResponse struct { EndRow int32 `json:"endRow,omitempty"` /* 标签键结束行号 */ List []*Dcs2PageListLabelReturnObjListResponse `json:"list"` /* 标签键列表 */ PageNum int32 `json:"pageNum,omitempty"` /* 请求页码 */ PageSize int32 `json:"pageSize,omitempty"` /* 每页数量 */ Pages int32 `json:"pages,omitempty"` /* 总页数 */ Size int32 `json:"size,omitempty"` /* 标签键数量 */ StartRow int32 `json:"startRow,omitempty"` /* 标签键开始行号 */ Total int32 `json:"total,omitempty"` /* 标签键值对总数 */ }
type Dcs2PageQueryValuesApi ¶
type Dcs2PageQueryValuesApi struct {
// contains filtered or unexported fields
}
func NewDcs2PageQueryValuesApi ¶
func NewDcs2PageQueryValuesApi(client *core.CtyunClient) *Dcs2PageQueryValuesApi
func (*Dcs2PageQueryValuesApi) Do ¶
func (a *Dcs2PageQueryValuesApi) Do(ctx context.Context, credential core.Credential, req *Dcs2PageQueryValuesRequest) (*Dcs2PageQueryValuesResponse, error)
type Dcs2PageQueryValuesRequest ¶
type Dcs2PageQueryValuesRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ GroupId string /* DB编号 */ Key string /* key */ RawType string /* key类型 */ Start int32 /* 开始下标 */ PerPage int32 /* 每页显示数量 */ }
type Dcs2PageQueryValuesResponse ¶
type Dcs2PageQueryValuesResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2PageQueryValuesReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2PageQueryValuesReturnObjResponse ¶
type Dcs2PageQueryValuesReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2PageQueryValuesReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2PageQueryValuesReturnObjRowsByteValueMapResponse ¶
type Dcs2PageQueryValuesReturnObjRowsByteValueMapResponse struct{}
type Dcs2PageQueryValuesReturnObjRowsResponse ¶
type Dcs2PageQueryValuesReturnObjRowsResponse struct { TotalItems int32 `json:"totalItems,omitempty"` /* 集合key总数量 */ TotalPage int32 `json:"totalPage,omitempty"` /* 总页数 */ GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ Start int32 `json:"start,omitempty"` /* 开始下标 */ Index int32 `json:"index,omitempty"` /* 当前下标 */ RawType string `json:"type,omitempty"` /* 类型 */ PerPage int32 `json:"perPage,omitempty"` /* 每页显示数量 */ RedisIp string `json:"redisIp,omitempty"` /* key所在节点IP */ RedisPort string `json:"redisPort,omitempty"` /* key所在节点端口 */ Key string `json:"key,omitempty"` /* key值 */ ByteValueMap *Dcs2PageQueryValuesReturnObjRowsByteValueMapResponse `json:"byteValueMap"` /* 键值对,KEY是字符串,VALUE是字节数组 */ }
type Dcs2QueryAnalysisInstanceTasksApi ¶
type Dcs2QueryAnalysisInstanceTasksApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryAnalysisInstanceTasksApi ¶
func NewDcs2QueryAnalysisInstanceTasksApi(client *core.CtyunClient) *Dcs2QueryAnalysisInstanceTasksApi
func (*Dcs2QueryAnalysisInstanceTasksApi) Do ¶
func (a *Dcs2QueryAnalysisInstanceTasksApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryAnalysisInstanceTasksRequest) (*Dcs2QueryAnalysisInstanceTasksResponse, error)
type Dcs2QueryAnalysisInstanceTasksInfoApi ¶
type Dcs2QueryAnalysisInstanceTasksInfoApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryAnalysisInstanceTasksInfoApi ¶
func NewDcs2QueryAnalysisInstanceTasksInfoApi(client *core.CtyunClient) *Dcs2QueryAnalysisInstanceTasksInfoApi
func (*Dcs2QueryAnalysisInstanceTasksInfoApi) Do ¶
func (a *Dcs2QueryAnalysisInstanceTasksInfoApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryAnalysisInstanceTasksInfoRequest) (*Dcs2QueryAnalysisInstanceTasksInfoResponse, error)
type Dcs2QueryAnalysisInstanceTasksInfoRequest ¶
type Dcs2QueryAnalysisInstanceTasksInfoRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ TaskId string /* 任务ID */ }
type Dcs2QueryAnalysisInstanceTasksInfoResponse ¶
type Dcs2QueryAnalysisInstanceTasksInfoResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryAnalysisInstanceTasksRequest ¶
type Dcs2QueryAnalysisInstanceTasksRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2QueryAnalysisInstanceTasksResponse ¶
type Dcs2QueryAnalysisInstanceTasksResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryAnalysisInstanceTasksReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryAnalysisInstanceTasksReturnObjResponse ¶
type Dcs2QueryAnalysisInstanceTasksReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 对象总数量 */ Rows []*Dcs2QueryAnalysisInstanceTasksReturnObjRowsResponse `json:"rows"` /* 对象列表 */ }
type Dcs2QueryAnalysisInstanceTasksReturnObjRowsResponse ¶
type Dcs2QueryAnalysisInstanceTasksReturnObjRowsResponse struct { InstanceId string `json:"instanceId,omitempty"` /* 实例ID */ TaskId string `json:"taskId,omitempty"` /* 任务ID */ StartTime string `json:"startTime,omitempty"` /* 开始时间 */ EndTime string `json:"endTime,omitempty"` /* 结束时间 */ Nodestr string `json:"nodestr,omitempty"` /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ Excepnum int64 `json:"excepnum,omitempty"` /* 异常数量 */ Status string `json:"status,omitempty"` /* 状态<li>0:分析中<li>1:已完成<li>2:分析失败 */ }
type Dcs2QueryAutoScanConfSettingApi ¶
type Dcs2QueryAutoScanConfSettingApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryAutoScanConfSettingApi ¶
func NewDcs2QueryAutoScanConfSettingApi(client *core.CtyunClient) *Dcs2QueryAutoScanConfSettingApi
func (*Dcs2QueryAutoScanConfSettingApi) Do ¶
func (a *Dcs2QueryAutoScanConfSettingApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryAutoScanConfSettingRequest) (*Dcs2QueryAutoScanConfSettingResponse, error)
type Dcs2QueryAutoScanConfSettingRequest ¶
type Dcs2QueryAutoScanConfSettingRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2QueryAutoScanConfSettingResponse ¶
type Dcs2QueryAutoScanConfSettingResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryAutoScanConfSettingReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryAutoScanConfSettingReturnObjResponse ¶
type Dcs2QueryAutoScanConfSettingReturnObjResponse struct { FirstScanAt string `json:"firstScanAt,omitempty"` /* 首次扫描时间 */ Interval int32 `json:"interval,omitempty"` /* 扫描间隔(分) */ ScanKeysCount int32 `json:"scanKeysCount,omitempty"` /* 迭代扫描key数量 */ Timeout int32 `json:"timeout,omitempty"` /* 扫描超时(分) */ UpdatedAt string `json:"updatedAt,omitempty"` /* 更新时间 */ }
type Dcs2QueryExportInstanceTaskApi ¶
type Dcs2QueryExportInstanceTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryExportInstanceTaskApi ¶
func NewDcs2QueryExportInstanceTaskApi(client *core.CtyunClient) *Dcs2QueryExportInstanceTaskApi
func (*Dcs2QueryExportInstanceTaskApi) Do ¶
func (a *Dcs2QueryExportInstanceTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryExportInstanceTaskRequest) (*Dcs2QueryExportInstanceTaskResponse, error)
type Dcs2QueryExportInstanceTaskRequest ¶
type Dcs2QueryExportInstanceTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string /* 任务ID */ }
type Dcs2QueryExportInstanceTaskResponse ¶
type Dcs2QueryExportInstanceTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryExportInstanceTaskReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryFragmentReplicationStateApi ¶
type Dcs2QueryFragmentReplicationStateApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryFragmentReplicationStateApi ¶
func NewDcs2QueryFragmentReplicationStateApi(client *core.CtyunClient) *Dcs2QueryFragmentReplicationStateApi
func (*Dcs2QueryFragmentReplicationStateApi) Do ¶
func (a *Dcs2QueryFragmentReplicationStateApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryFragmentReplicationStateRequest) (*Dcs2QueryFragmentReplicationStateResponse, error)
type Dcs2QueryFragmentReplicationStateRequest ¶
type Dcs2QueryFragmentReplicationStateRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例 ID */ FragmentName string /* 分片名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7740&isNormal=1&vid=270">查询集群节点信息</a> RedisNode表fragmentName字段 */ }
type Dcs2QueryFragmentReplicationStateResponse ¶
type Dcs2QueryFragmentReplicationStateResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryFragmentReplicationStateReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryFragmentReplicationStateReturnObjResponse ¶
type Dcs2QueryFragmentReplicationStateReturnObjResponse struct { Role string `json:"role,omitempty"` /* 角色<li>master:主节点<li>slave: 从节点 */ VpcIp string `json:"vpcIp,omitempty"` /* vpc ip */ Status string `json:"status,omitempty"` /* 节点状态<li>CACHE.COMM.STATUS:正常<li>CACHE.DIAT.PREP:扩容数据准备<li>CACHE.DIAT.PROCESS:执行扩容数据<li>CACHE.DIAT.DEL:删除<li>CACHE.PROB.SWIT:故障待切换 */ AzName string `json:"azName,omitempty"` /* 可用区名称 */ }
type Dcs2QueryGroupKeyApi ¶
type Dcs2QueryGroupKeyApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryGroupKeyApi ¶
func NewDcs2QueryGroupKeyApi(client *core.CtyunClient) *Dcs2QueryGroupKeyApi
func (*Dcs2QueryGroupKeyApi) Do ¶
func (a *Dcs2QueryGroupKeyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryGroupKeyRequest) (*Dcs2QueryGroupKeyResponse, error)
type Dcs2QueryGroupKeyNumberApi ¶
type Dcs2QueryGroupKeyNumberApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryGroupKeyNumberApi ¶
func NewDcs2QueryGroupKeyNumberApi(client *core.CtyunClient) *Dcs2QueryGroupKeyNumberApi
func (*Dcs2QueryGroupKeyNumberApi) Do ¶
func (a *Dcs2QueryGroupKeyNumberApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryGroupKeyNumberRequest) (*Dcs2QueryGroupKeyNumberResponse, error)
type Dcs2QueryGroupKeyNumberRequest ¶
type Dcs2QueryGroupKeyNumberRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ GroupNames string /* DB编号,多个分组用逗号间隔 */ }
type Dcs2QueryGroupKeyNumberResponse ¶
type Dcs2QueryGroupKeyNumberResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryGroupKeyNumberReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryGroupKeyNumberReturnObjResponse ¶
type Dcs2QueryGroupKeyNumberReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总行数 */ Rows []*Dcs2QueryGroupKeyNumberReturnObjRowsResponse `json:"rows"` /* groupKeysNum列表 */ }
type Dcs2QueryGroupKeyRequest ¶
type Dcs2QueryGroupKeyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ GroupId string /* DB编号 */ Count int32 /* 查询数量,默认10 */ Cursor string /* 游标 */ Key string /* 匹配的key值 */ }
type Dcs2QueryGroupKeyResponse ¶
type Dcs2QueryGroupKeyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryGroupKeyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryInstAutoRenewStatusApi ¶
type Dcs2QueryInstAutoRenewStatusApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryInstAutoRenewStatusApi ¶
func NewDcs2QueryInstAutoRenewStatusApi(client *core.CtyunClient) *Dcs2QueryInstAutoRenewStatusApi
func (*Dcs2QueryInstAutoRenewStatusApi) Do ¶
func (a *Dcs2QueryInstAutoRenewStatusApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryInstAutoRenewStatusRequest) (*Dcs2QueryInstAutoRenewStatusResponse, error)
type Dcs2QueryInstAutoRenewStatusRequest ¶
type Dcs2QueryInstAutoRenewStatusRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ SpuCode string /* 产品类型,DCS2-缓存 */ }
type Dcs2QueryInstAutoRenewStatusResponse ¶
type Dcs2QueryInstAutoRenewStatusResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryInstAutoRenewStatusReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryInstAutoRenewStatusReturnObjResourcesDTOsResponse ¶
type Dcs2QueryInstAutoRenewStatusReturnObjResourcesDTOsResponse struct { InstanceId string `json:"instanceId,omitempty"` /* 虚拟实例标识 */ MasterResourceId string `json:"masterResourceId,omitempty"` /* 主虚拟资源ID */ ResourceType string `json:"resourceType,omitempty"` /* 资源类型 */ StartDate string `json:"startDate,omitempty"` /* 开始时间,值为 Unix 时间戳(毫秒级) */ ExpireDate string `json:"expireDate,omitempty"` /* 到期时间,值为 Unix 时间戳(毫秒级) */ AutoRenewStatus string `json:"autoRenewStatus,omitempty"` /* 自动续订状态<li>0/null:不自动续订<li>1:自动续订 */ }
type Dcs2QueryInstAutoRenewStatusReturnObjResponse ¶
type Dcs2QueryInstAutoRenewStatusReturnObjResponse struct { ErrorMsg string `json:"errorMsg,omitempty"` /* 错误信息 */ ResourcesDTOs []*Dcs2QueryInstAutoRenewStatusReturnObjResourcesDTOsResponse `json:"resourcesDTOs"` /* 数组 */ }
type Dcs2QueryManagerApi ¶
type Dcs2QueryManagerApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryManagerApi ¶
func NewDcs2QueryManagerApi(client *core.CtyunClient) *Dcs2QueryManagerApi
func (*Dcs2QueryManagerApi) Do ¶
func (a *Dcs2QueryManagerApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryManagerRequest) (*Dcs2QueryManagerResponse, error)
type Dcs2QueryManagerRequest ¶
type Dcs2QueryManagerRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ GroupId string /* DB编号 */ Key string /* key值 */ }
type Dcs2QueryManagerResponse ¶
type Dcs2QueryManagerResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryManagerReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryManagerReturnObjResponse ¶
type Dcs2QueryManagerReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2QueryManagerReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2QueryManagerReturnObjRowsResponse ¶
type Dcs2QueryManagerReturnObjRowsResponse struct { GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ RedisIp string `json:"redisIp,omitempty"` /* 节点IP */ RedisPort string `json:"redisPort,omitempty"` /* 节点端口 */ Key string `json:"key,omitempty"` /* key */ ByteValue []int32 `json:"byteValue"` /* 字节数组,内存 */ }
type Dcs2QueryQuotaTotalAndUsedApi ¶
type Dcs2QueryQuotaTotalAndUsedApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryQuotaTotalAndUsedApi ¶
func NewDcs2QueryQuotaTotalAndUsedApi(client *core.CtyunClient) *Dcs2QueryQuotaTotalAndUsedApi
func (*Dcs2QueryQuotaTotalAndUsedApi) Do ¶
func (a *Dcs2QueryQuotaTotalAndUsedApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryQuotaTotalAndUsedRequest) (*Dcs2QueryQuotaTotalAndUsedResponse, error)
type Dcs2QueryQuotaTotalAndUsedRequest ¶
type Dcs2QueryQuotaTotalAndUsedRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */
}
type Dcs2QueryQuotaTotalAndUsedResponse ¶
type Dcs2QueryQuotaTotalAndUsedResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryQuotaTotalAndUsedReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListQuotaCenterAccountResourceDataListResponse ¶
type Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListResponse ¶
type Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListResponse struct { UserId string `json:"userId,omitempty"` /* 用户ID */ AccountId string `json:"accountId,omitempty"` /* 账号ID */ TenantId string `json:"tenantId,omitempty"` /* 租户ID */ RegionId string `json:"regionId,omitempty"` /* 资源池ID */ QuotaCenterAccountResourceDataList []*Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListQuotaCenterAccountResourceDataListResponse `json:"quotaCenterAccountResourceDataList"` /* 配额信息 */ }
type Dcs2QueryQuotaTotalAndUsedReturnObjResponse ¶
type Dcs2QueryQuotaTotalAndUsedReturnObjResponse struct {
QuotaCenterDataList []*Dcs2QueryQuotaTotalAndUsedReturnObjQuotaCenterDataListResponse `json:"quotaCenterDataList"` /* 配额列表 */
}
type Dcs2QueryRWSepApi ¶
type Dcs2QueryRWSepApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryRWSepApi ¶
func NewDcs2QueryRWSepApi(client *core.CtyunClient) *Dcs2QueryRWSepApi
func (*Dcs2QueryRWSepApi) Do ¶
func (a *Dcs2QueryRWSepApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryRWSepRequest) (*Dcs2QueryRWSepResponse, error)
type Dcs2QueryRWSepRequest ¶
type Dcs2QueryRWSepRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2QueryRWSepResponse ¶
type Dcs2QueryRWSepResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryRWSepReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryRWSepReturnObjResponse ¶
type Dcs2QueryRWSepReturnObjResponse struct {
IsRWSep *bool `json:"isRWSep"` /* 是否开启了读写分离<li>true:开启<li>false:关闭 */
}
type Dcs2QueryRenameCommandApi ¶
type Dcs2QueryRenameCommandApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryRenameCommandApi ¶
func NewDcs2QueryRenameCommandApi(client *core.CtyunClient) *Dcs2QueryRenameCommandApi
func (*Dcs2QueryRenameCommandApi) Do ¶
func (a *Dcs2QueryRenameCommandApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryRenameCommandRequest) (*Dcs2QueryRenameCommandResponse, error)
type Dcs2QueryRenameCommandRequest ¶
type Dcs2QueryRenameCommandRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ }
type Dcs2QueryRenameCommandResponse ¶
type Dcs2QueryRenameCommandResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryRenameCommandReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryRenameCommandReturnObjResponse ¶
type Dcs2QueryRenameCommandReturnObjResponse struct {
RenameStatus *bool `json:"renameStatus"` /* 危险命令开关状态<li>false:未开启</li><li>true:开启</li> */
}
type Dcs2QueryScanLogsApi ¶
type Dcs2QueryScanLogsApi struct {
// contains filtered or unexported fields
}
func NewDcs2QueryScanLogsApi ¶
func NewDcs2QueryScanLogsApi(client *core.CtyunClient) *Dcs2QueryScanLogsApi
func (*Dcs2QueryScanLogsApi) Do ¶
func (a *Dcs2QueryScanLogsApi) Do(ctx context.Context, credential core.Credential, req *Dcs2QueryScanLogsRequest) (*Dcs2QueryScanLogsResponse, error)
type Dcs2QueryScanLogsRequest ¶
type Dcs2QueryScanLogsRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string /* 实例ID */ PageIndex int32 /* 页码 */ PageSize int32 /* 每页数量, 范围[1,100] */ }
type Dcs2QueryScanLogsResponse ¶
type Dcs2QueryScanLogsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2QueryScanLogsReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2QueryScanLogsReturnObjResponse ¶
type Dcs2QueryScanLogsReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 对象总数量 */ Rows []*Dcs2QueryScanLogsReturnObjRowsResponse `json:"rows"` /* 对象列表 */ }
type Dcs2QueryScanLogsReturnObjRowsResponse ¶
type Dcs2QueryScanLogsReturnObjRowsResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID */ Status int32 `json:"status,omitempty"` /* 扫描记录状态<li>0:待完成<li>1:处理完成<li>2:处理异常 */ RawType int32 `json:"type,omitempty"` /* 任务类型<li>0:手动分析<li>1:自动分析 */ StartTime string `json:"startTime,omitempty"` /* 扫描开始时间 */ EndTime string `json:"endTime,omitempty"` /* 扫描结束时间 */ ScanKeys int64 `json:"scanKeys,omitempty"` /* 扫描key总数 */ DelKeys int64 `json:"delKeys,omitempty"` /* 清理key数量 */ Msg string `json:"msg,omitempty"` /* 错误信息 */ }
type Dcs2RenewInstanceApi ¶
type Dcs2RenewInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2RenewInstanceApi ¶
func NewDcs2RenewInstanceApi(client *core.CtyunClient) *Dcs2RenewInstanceApi
func (*Dcs2RenewInstanceApi) Do ¶
func (a *Dcs2RenewInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2RenewInstanceRequest) (*Dcs2RenewInstanceResponse, error)
type Dcs2RenewInstanceRequest ¶
type Dcs2RenewInstanceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例Id */ AutoPay *bool `json:"autoPay"` /* 是否自动支付(仅对包周期实例有效):<li>true:自动付费<li>false:手动付费(默认值)<br>说明:选择为手动付费时,您需要在控制台的右上角选择我的订单,,然后单击左侧导航栏的订单管理 -> 待支付订单,找到目标订单进行支付。 */ Period int32 `json:"period,omitempty"` /* 订购时长(月),仅当包周期实例需要进行续费,取值范围:1-6,12,24,36。 */ }
type Dcs2RenewInstanceResponse ¶
type Dcs2RenewInstanceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2RenewInstanceReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2RenewInstanceReturnObjOrderPlacedEventsResponse ¶
type Dcs2RenewInstanceReturnObjOrderPlacedEventsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否提交 */ NewOrderId string `json:"newOrderId,omitempty"` /* 订单ID */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 订单号 */ TotalPrice float64 `json:"totalPrice"` /* 总价 */ }
type Dcs2RenewInstanceReturnObjResponse ¶
type Dcs2RenewInstanceReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息 */ Submitted *bool `json:"submitted"` /* 是否提交 */ OrderPlacedEvents []*Dcs2RenewInstanceReturnObjOrderPlacedEventsResponse `json:"orderPlacedEvents"` /* 收费项 */ }
type Dcs2ResetAccountPasswordApi ¶
type Dcs2ResetAccountPasswordApi struct {
// contains filtered or unexported fields
}
func NewDcs2ResetAccountPasswordApi ¶
func NewDcs2ResetAccountPasswordApi(client *core.CtyunClient) *Dcs2ResetAccountPasswordApi
func (*Dcs2ResetAccountPasswordApi) Do ¶
func (a *Dcs2ResetAccountPasswordApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ResetAccountPasswordRequest) (*Dcs2ResetAccountPasswordResponse, error)
type Dcs2ResetAccountPasswordRequest ¶
type Dcs2ResetAccountPasswordRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AccountName string `json:"accountName,omitempty"` /* 账户名称 */ AccountPassword string `json:"accountPassword,omitempty"` /* 新密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ }
type Dcs2ResetAccountPasswordResponse ¶
type Dcs2ResetAccountPasswordResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ResetAccountPasswordReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ResetAccountPasswordReturnObjResponse ¶
type Dcs2ResetAccountPasswordReturnObjResponse struct{}
type Dcs2ResetInstancePasswordApi ¶
type Dcs2ResetInstancePasswordApi struct {
// contains filtered or unexported fields
}
func NewDcs2ResetInstancePasswordApi ¶
func NewDcs2ResetInstancePasswordApi(client *core.CtyunClient) *Dcs2ResetInstancePasswordApi
func (*Dcs2ResetInstancePasswordApi) Do ¶
func (a *Dcs2ResetInstancePasswordApi) Do(ctx context.Context, credential core.Credential, req *Dcs2ResetInstancePasswordRequest) (*Dcs2ResetInstancePasswordResponse, error)
type Dcs2ResetInstancePasswordRequest ¶
type Dcs2ResetInstancePasswordRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NewPassword string `json:"newPassword,omitempty"` /* 新密码<li>长度8-26字符<li>必须同时包含大写字母、小写字母、数字、英文格式特殊符号(@%^*_+!$-=.) 中的三种类型<li>不能有空格 */ }
type Dcs2ResetInstancePasswordResponse ¶
type Dcs2ResetInstancePasswordResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2ResetInstancePasswordReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2ResetInstancePasswordReturnObjResponse ¶
type Dcs2ResetInstancePasswordReturnObjResponse struct{}
type Dcs2RestartInstanceApi ¶
type Dcs2RestartInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2RestartInstanceApi ¶
func NewDcs2RestartInstanceApi(client *core.CtyunClient) *Dcs2RestartInstanceApi
func (*Dcs2RestartInstanceApi) Do ¶
func (a *Dcs2RestartInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2RestartInstanceRequest) (*Dcs2RestartInstanceResponse, error)
type Dcs2RestartInstanceRequest ¶
type Dcs2RestartInstanceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 产品实例标识 */ }
type Dcs2RestartInstanceResponse ¶
type Dcs2RestartInstanceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2RestartTransferTaskApi ¶
type Dcs2RestartTransferTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2RestartTransferTaskApi ¶
func NewDcs2RestartTransferTaskApi(client *core.CtyunClient) *Dcs2RestartTransferTaskApi
func (*Dcs2RestartTransferTaskApi) Do ¶
func (a *Dcs2RestartTransferTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2RestartTransferTaskRequest) (*Dcs2RestartTransferTaskResponse, error)
type Dcs2RestartTransferTaskRequest ¶
type Dcs2RestartTransferTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskIdList []string `json:"taskIdList"` /* 待重启的任务id列表(操作上限:10)<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ }
type Dcs2RestartTransferTaskResponse ¶
type Dcs2RestartTransferTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2RestartTransferTaskReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2RestartTransferTaskReturnObjResponse ¶
type Dcs2RestartTransferTaskReturnObjResponse struct{}
type Dcs2RestoreInstanceApi ¶
type Dcs2RestoreInstanceApi struct {
// contains filtered or unexported fields
}
func NewDcs2RestoreInstanceApi ¶
func NewDcs2RestoreInstanceApi(client *core.CtyunClient) *Dcs2RestoreInstanceApi
func (*Dcs2RestoreInstanceApi) Do ¶
func (a *Dcs2RestoreInstanceApi) Do(ctx context.Context, credential core.Credential, req *Dcs2RestoreInstanceRequest) (*Dcs2RestoreInstanceResponse, error)
type Dcs2RestoreInstanceRequest ¶
type Dcs2RestoreInstanceRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ RestoreName string `json:"restoreName,omitempty"` /* 备份名<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7778&isNormal=1&vid=270">查询备份文件信息</a> Restore表restoreName字段 */ }
type Dcs2RestoreInstanceResponse ¶
type Dcs2RestoreInstanceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2RestoreInstanceReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2RestoreInstanceReturnObjResponse ¶
type Dcs2RestoreInstanceReturnObjResponse struct{}
type Dcs2SlowLogResetApi ¶
type Dcs2SlowLogResetApi struct {
// contains filtered or unexported fields
}
func NewDcs2SlowLogResetApi ¶
func NewDcs2SlowLogResetApi(client *core.CtyunClient) *Dcs2SlowLogResetApi
func (*Dcs2SlowLogResetApi) Do ¶
func (a *Dcs2SlowLogResetApi) Do(ctx context.Context, credential core.Credential, req *Dcs2SlowLogResetRequest) (*Dcs2SlowLogResetResponse, error)
type Dcs2SlowLogResetRequest ¶
type Dcs2SlowLogResetRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NodeName string `json:"nodeName,omitempty"` /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ }
type Dcs2SlowLogResetResponse ¶
type Dcs2SlowLogResetResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2SlowLogResetReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2SlowLogResetReturnObjResponse ¶
type Dcs2SlowLogResetReturnObjResponse struct{}
type Dcs2StatisticApi ¶
type Dcs2StatisticApi struct {
// contains filtered or unexported fields
}
func NewDcs2StatisticApi ¶
func NewDcs2StatisticApi(client *core.CtyunClient) *Dcs2StatisticApi
func (*Dcs2StatisticApi) Do ¶
func (a *Dcs2StatisticApi) Do(ctx context.Context, credential core.Credential, req *Dcs2StatisticRequest) (*Dcs2StatisticResponse, error)
type Dcs2StatisticRequest ¶
type Dcs2StatisticRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ IncludeFailure string /* 否 */ }
type Dcs2StatisticResponse ¶
type Dcs2StatisticResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2StatisticReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2StatisticReturnObjResponse ¶
type Dcs2StatisticReturnObjResponse struct {
Statistics *Dcs2StatisticReturnObjStatisticsResponse `json:"statistics"` /* 返回数据对象,数据见statistics */
}
type Dcs2StatisticReturnObjStatisticsResponse ¶
type Dcs2StatisticReturnObjStatisticsResponse struct { InstanceId string `json:"instanceId,omitempty"` /* 实例id */ InputKbps string `json:"inputKbps,omitempty"` /* 实例网络入流量,单位:kbit/s。 */ OutputKbps string `json:"outputKbps,omitempty"` /* 实例网络出流量,单位:kbit/s。 */ Keys int32 `json:"keys,omitempty"` /* 存储的KEY数量 */ UsedMemory int32 `json:"usedMemory,omitempty"` /* 使用中的内存,单位:MB。 */ MaxMemory int32 `json:"maxMemory,omitempty"` /* 最大的内存,单位:MB。 */ CmdGetCount int32 `json:"cmdGetCount,omitempty"` /* GET命令调用次数 */ CmdSetCount int32 `json:"cmdSetCount,omitempty"` /* SET命令调用次数 */ UsedCpu int32 `json:"usedCpu,omitempty"` /* 实例进程消耗cpu时间的累计值,单位:秒。 */ }
type Dcs2StatusNumberApi ¶
type Dcs2StatusNumberApi struct {
// contains filtered or unexported fields
}
func NewDcs2StatusNumberApi ¶
func NewDcs2StatusNumberApi(client *core.CtyunClient) *Dcs2StatusNumberApi
func (*Dcs2StatusNumberApi) Do ¶
func (a *Dcs2StatusNumberApi) Do(ctx context.Context, credential core.Credential, req *Dcs2StatusNumberRequest) (*Dcs2StatusNumberResponse, error)
type Dcs2StatusNumberRequest ¶
type Dcs2StatusNumberRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ IncludeFailure string /* 否 */ }
type Dcs2StatusNumberResponse ¶
type Dcs2StatusNumberResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2StatusNumberReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2StatusNumberReturnObjResponse ¶
type Dcs2StatusNumberReturnObjResponse struct { RunningCount int32 `json:"runningCount,omitempty"` /* 运行中的实例数 */ CreatingCount int32 `json:"creatingCount,omitempty"` /* 创建中的实例数 */ FrozenCount int32 `json:"frozenCount,omitempty"` /* 冻结中的实例数 */ ChangingCount int32 `json:"changingCount,omitempty"` /* 变更中的实例数 */ CreateFailedCount int32 `json:"createFailedCount,omitempty"` /* 创建失败的实例数 */ RestartingCount int32 `json:"restartingCount,omitempty"` /* 重启中的实例数 */ ErrorCount int32 `json:"errorCount,omitempty"` /* 异常的实例数 */ }
type Dcs2StopTransferTaskApi ¶
type Dcs2StopTransferTaskApi struct {
// contains filtered or unexported fields
}
func NewDcs2StopTransferTaskApi ¶
func NewDcs2StopTransferTaskApi(client *core.CtyunClient) *Dcs2StopTransferTaskApi
func (*Dcs2StopTransferTaskApi) Do ¶
func (a *Dcs2StopTransferTaskApi) Do(ctx context.Context, credential core.Credential, req *Dcs2StopTransferTaskRequest) (*Dcs2StopTransferTaskResponse, error)
type Dcs2StopTransferTaskRequest ¶
type Dcs2StopTransferTaskRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskIdList []string `json:"taskIdList"` /* 待停止的任务id列表(操作上限:10)<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ }
type Dcs2StopTransferTaskResponse ¶
type Dcs2StopTransferTaskResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2StopTransferTaskReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2StopTransferTaskReturnObjResponse ¶
type Dcs2StopTransferTaskReturnObjResponse struct{}
type Dcs2SwitchInstanceHAApi ¶
type Dcs2SwitchInstanceHAApi struct {
// contains filtered or unexported fields
}
func NewDcs2SwitchInstanceHAApi ¶
func NewDcs2SwitchInstanceHAApi(client *core.CtyunClient) *Dcs2SwitchInstanceHAApi
func (*Dcs2SwitchInstanceHAApi) Do ¶
func (a *Dcs2SwitchInstanceHAApi) Do(ctx context.Context, credential core.Credential, req *Dcs2SwitchInstanceHARequest) (*Dcs2SwitchInstanceHAResponse, error)
type Dcs2SwitchInstanceHARequest ¶
type Dcs2SwitchInstanceHARequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ MasterNodeIp string `json:"masterNodeIp,omitempty"` /* 主节点地址<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7740&isNormal=1&vid=270">查询集群节点信息</a> RedisNode表vpcUrl字段 */ }
type Dcs2SwitchInstanceHAResponse ¶
type Dcs2SwitchInstanceHAResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2TransChargeTypeApi ¶
type Dcs2TransChargeTypeApi struct {
// contains filtered or unexported fields
}
func NewDcs2TransChargeTypeApi ¶
func NewDcs2TransChargeTypeApi(client *core.CtyunClient) *Dcs2TransChargeTypeApi
func (*Dcs2TransChargeTypeApi) Do ¶
func (a *Dcs2TransChargeTypeApi) Do(ctx context.Context, credential core.Credential, req *Dcs2TransChargeTypeRequest) (*Dcs2TransChargeTypeResponse, error)
type Dcs2TransChargeTypeRequest ¶
type Dcs2TransChargeTypeRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ SpuCode string `json:"spuCode,omitempty"` /* 产品类型 */ CycleType string `json:"cycleType,omitempty"` /* 包周期类型<li>3:月<li>5:年 */ CycleCnt int32 `json:"cycleCnt,omitempty"` /* 包周期数量,可选范围:1-6,12,24,36 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ AutoPay bool `json:"autoPay"` /* 是否自动支付(仅对包周期实例有效):<li>true:自动付费<li>false:手动付费(默认值)<br>说明:选择为手动付费时,您需要在控制台的右上角选择我的订单,然后单击左侧导航栏的订单管理 -> 待支付订单,找到目标订单进行支付。 */ }
type Dcs2TransChargeTypeResponse ¶
type Dcs2TransChargeTypeResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2TransChargeTypeReturnObjResponse `json:"returnObj"` /* 返回对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2TransChargeTypeReturnObjResponse ¶
type Dcs2TransChargeTypeReturnObjResponse struct { MasterOrderId string `json:"masterOrderId,omitempty"` /* 主订单ID */ MasterOrderNo string `json:"masterOrderNo,omitempty"` /* 主订单编码 */ MasterOrderType string `json:"masterOrderType,omitempty"` /* 主订单类型 */ AccountId string `json:"accountId,omitempty"` /* 账号ID */ UserId string `json:"userId,omitempty"` /* 用户ID */ Source string `json:"source,omitempty"` /* 资源编码 */ CreateDate string `json:"createDate,omitempty"` /* 创建时间 */ CreateStff int32 `json:"createStff,omitempty"` /* 创建标志 */ UpdateStaff int32 `json:"updateStaff,omitempty"` /* 更新标志 */ UpdateDate string `json:"updateDate,omitempty"` /* 更新时间 */ }
type Dcs2TransToPrePaidApi ¶
type Dcs2TransToPrePaidApi struct {
// contains filtered or unexported fields
}
func NewDcs2TransToPrePaidApi ¶
func NewDcs2TransToPrePaidApi(client *core.CtyunClient) *Dcs2TransToPrePaidApi
func (*Dcs2TransToPrePaidApi) Do ¶
func (a *Dcs2TransToPrePaidApi) Do(ctx context.Context, credential core.Credential, req *Dcs2TransToPrePaidRequest) (*Dcs2TransToPrePaidResponse, error)
type Dcs2TransToPrePaidRequest ¶
type Dcs2TransToPrePaidRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ SpuCode string `json:"spuCode,omitempty"` /* 产品编码 */ }
type Dcs2TransToPrePaidResponse ¶
type Dcs2TransToPrePaidResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2TransToPrePaidReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2TransToPrePaidReturnObjResponse ¶
type Dcs2TransToPrePaidReturnObjResponse struct { MasterOrderId string `json:"masterOrderId,omitempty"` /* 主订单ID */ MasterOrderNo string `json:"masterOrderNo,omitempty"` /* 主订单编码 */ MasterOrderType string `json:"masterOrderType,omitempty"` /* 主订单类型 */ AccountId string `json:"accountId,omitempty"` /* 账号ID */ UserId string `json:"userId,omitempty"` /* 用户ID */ Source string `json:"source,omitempty"` /* 资源编码 */ CreateDate string `json:"createDate,omitempty"` /* 创建时间 */ UpdateDate string `json:"updateDate,omitempty"` /* 更新时间 */ }
type Dcs2UnBindElasticIPApi ¶
type Dcs2UnBindElasticIPApi struct {
// contains filtered or unexported fields
}
func NewDcs2UnBindElasticIPApi ¶
func NewDcs2UnBindElasticIPApi(client *core.CtyunClient) *Dcs2UnBindElasticIPApi
func (*Dcs2UnBindElasticIPApi) Do ¶
func (a *Dcs2UnBindElasticIPApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UnBindElasticIPRequest) (*Dcs2UnBindElasticIPResponse, error)
type Dcs2UnBindElasticIPRequest ¶
type Dcs2UnBindElasticIPRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ BindObjType int64 `json:"bindObjType,omitempty"` /* 绑定对象类型<li>4:VIP */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7739&isNormal=1&vid=270">查询实例网络信息</a> elasticIp字段获取当前实例绑定的弹性IP */ BindByPaasProd int32 `json:"bindByPaasProd,omitempty"` /* 由组件侧绑定弹性IP:<br><li>1:是<br><li>0:否(默认值)<br><br>适用场景:<br><li>仅桌面云ELB绑定弹性IP需传1<br><li>其他场景传0 */ }
type Dcs2UnBindElasticIPResponse ¶
type Dcs2UnBindElasticIPResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UnBindElasticIPReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UnBindElasticIPReturnObjResponse ¶
type Dcs2UnBindElasticIPReturnObjResponse struct{}
type Dcs2UnlockDBInstanceWriteApi ¶
type Dcs2UnlockDBInstanceWriteApi struct {
// contains filtered or unexported fields
}
func NewDcs2UnlockDBInstanceWriteApi ¶
func NewDcs2UnlockDBInstanceWriteApi(client *core.CtyunClient) *Dcs2UnlockDBInstanceWriteApi
func (*Dcs2UnlockDBInstanceWriteApi) Do ¶
func (a *Dcs2UnlockDBInstanceWriteApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UnlockDBInstanceWriteRequest) (*Dcs2UnlockDBInstanceWriteResponse, error)
type Dcs2UnlockDBInstanceWriteRequest ¶
type Dcs2UnlockDBInstanceWriteRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ }
type Dcs2UnlockDBInstanceWriteResponse ¶
type Dcs2UnlockDBInstanceWriteResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UnlockDBInstanceWriteReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpdateKeyApi ¶
type Dcs2UpdateKeyApi struct {
// contains filtered or unexported fields
}
func NewDcs2UpdateKeyApi ¶
func NewDcs2UpdateKeyApi(client *core.CtyunClient) *Dcs2UpdateKeyApi
func (*Dcs2UpdateKeyApi) Do ¶
func (a *Dcs2UpdateKeyApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UpdateKeyRequest) (*Dcs2UpdateKeyResponse, error)
type Dcs2UpdateKeyRequest ¶
type Dcs2UpdateKeyRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* DB编号 */ Key string `json:"key,omitempty"` /* key */ RawType string `json:"type,omitempty"` /* key类型,只能是hash */ NewKey string `json:"newKey,omitempty"` /* 新的hash key */ OldKey string `json:"oldKey,omitempty"` /* 旧的hash key */ }
type Dcs2UpdateKeyResponse ¶
type Dcs2UpdateKeyResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UpdateKeyReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpdateKeyReturnObjResponse ¶
type Dcs2UpdateKeyReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2UpdateKeyReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2UpdateKeyReturnObjRowsResponse ¶
type Dcs2UpdateKeyReturnObjRowsResponse struct { TotalItems int32 `json:"totalItems,omitempty"` /* 集合key总数量 */ NewKey string `json:"newKey,omitempty"` /* 新key */ OldKey string `json:"oldKey,omitempty"` /* 旧key */ GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ RawType string `json:"type,omitempty"` /* 类型 */ RedisIp string `json:"redisIp,omitempty"` /* 节点IP */ RedisPort string `json:"redisPort,omitempty"` /* 节点端口 */ Key string `json:"key,omitempty"` /* key值 */ ValueMap *Dcs2UpdateKeyReturnObjRowsValueMapResponse `json:"valueMap"` /* valueMap {key:value} */ }
type Dcs2UpdateKeyReturnObjRowsValueMapResponse ¶
type Dcs2UpdateKeyReturnObjRowsValueMapResponse struct{}
type Dcs2UpdateSlavePriorityApi ¶
type Dcs2UpdateSlavePriorityApi struct {
// contains filtered or unexported fields
}
func NewDcs2UpdateSlavePriorityApi ¶
func NewDcs2UpdateSlavePriorityApi(client *core.CtyunClient) *Dcs2UpdateSlavePriorityApi
func (*Dcs2UpdateSlavePriorityApi) Do ¶
func (a *Dcs2UpdateSlavePriorityApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UpdateSlavePriorityRequest) (*Dcs2UpdateSlavePriorityResponse, error)
type Dcs2UpdateSlavePriorityRequest ¶
type Dcs2UpdateSlavePriorityRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ NodeName string `json:"nodeName,omitempty"` /* 节点名称<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7752&isNormal=1&vid=270">获取redis节点名列表</a> node表nodeName字段 */ SlavePriority int32 `json:"slavePriority,omitempty"` /* 优先级范围为0-100,1为最高,100为最低,0为禁止切换 */ }
type Dcs2UpdateSlavePriorityResponse ¶
type Dcs2UpdateSlavePriorityResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ ReturnObj *Dcs2UpdateSlavePriorityReturnObjResponse `json:"returnObj"` /* 响应对象 */ Message string `json:"message,omitempty"` /* 响应信息 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpdateSlavePriorityReturnObjResponse ¶
type Dcs2UpdateSlavePriorityReturnObjResponse struct{}
type Dcs2UpdateValueApi ¶
type Dcs2UpdateValueApi struct {
// contains filtered or unexported fields
}
func NewDcs2UpdateValueApi ¶
func NewDcs2UpdateValueApi(client *core.CtyunClient) *Dcs2UpdateValueApi
func (*Dcs2UpdateValueApi) Do ¶
func (a *Dcs2UpdateValueApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UpdateValueRequest) (*Dcs2UpdateValueResponse, error)
type Dcs2UpdateValueRequest ¶
type Dcs2UpdateValueRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ GroupId string `json:"groupId,omitempty"` /* DB编号 */ Key string `json:"key,omitempty"` /* key */ RawType string `json:"type,omitempty"` /* key类型<li>hash<li>list<li>set<li>zset */ OldKey string `json:"oldKey,omitempty"` /* hash的Key值,type=hash时必填。 */ NewValue string `json:"newValue,omitempty"` /* newValue值 */ OldValue string `json:"oldValue,omitempty"` /* oldValue值。type=set或zset时必填 */ Index string `json:"index,omitempty"` /* 索引<br>说明:type=list时填写,用于确定修改的位置,其他不填 */ }
type Dcs2UpdateValueResponse ¶
type Dcs2UpdateValueResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UpdateValueReturnObjResponse `json:"returnObj"` /* 返回数据对象,数据见returnObj */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpdateValueReturnObjResponse ¶
type Dcs2UpdateValueReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总数 */ Rows []*Dcs2UpdateValueReturnObjRowsResponse `json:"rows"` /* value值列表 */ }
type Dcs2UpdateValueReturnObjRowsResponse ¶
type Dcs2UpdateValueReturnObjRowsResponse struct { TotalItems int32 `json:"totalItems,omitempty"` /* 集合key总数量 */ NewKey string `json:"newKey,omitempty"` /* 新key */ OldKey string `json:"oldKey,omitempty"` /* 旧key */ GroupId string `json:"groupId,omitempty"` /* 分组 */ DbOrder string `json:"dbOrder,omitempty"` /* DB编号 */ RawType string `json:"type,omitempty"` /* 类型 */ RedisIp string `json:"redisIp,omitempty"` /* 节点IP */ RedisPort string `json:"redisPort,omitempty"` /* 节点端口 */ Key string `json:"key,omitempty"` /* key值 */ ValueMap *Dcs2UpdateValueReturnObjRowsValueMapResponse `json:"valueMap"` /* valueMap {key:value} */ }
type Dcs2UpdateValueReturnObjRowsValueMapResponse ¶
type Dcs2UpdateValueReturnObjRowsValueMapResponse struct{}
type Dcs2UpgradeInstanceMinorVersionApi ¶
type Dcs2UpgradeInstanceMinorVersionApi struct {
// contains filtered or unexported fields
}
func NewDcs2UpgradeInstanceMinorVersionApi ¶
func NewDcs2UpgradeInstanceMinorVersionApi(client *core.CtyunClient) *Dcs2UpgradeInstanceMinorVersionApi
func (*Dcs2UpgradeInstanceMinorVersionApi) Do ¶
func (a *Dcs2UpgradeInstanceMinorVersionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UpgradeInstanceMinorVersionRequest) (*Dcs2UpgradeInstanceMinorVersionResponse, error)
type Dcs2UpgradeInstanceMinorVersionRequest ¶
type Dcs2UpgradeInstanceMinorVersionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ MinorEngineVersion string `json:"minorEngineVersion,omitempty"` /* 实例引擎小版本<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=17922&isNormal=1&vid=270">查询实例版本信息</a> engineMinorVersionInfo表upgradableEngineMinorVersionItems中的版本 */ }
type Dcs2UpgradeInstanceMinorVersionResponse ¶
type Dcs2UpgradeInstanceMinorVersionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UpgradeInstanceMinorVersionReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpgradeInstanceMinorVersionReturnObjResponse ¶
type Dcs2UpgradeInstanceMinorVersionReturnObjResponse struct{}
type Dcs2UpgradeInstanceProxyMinorVersionApi ¶
type Dcs2UpgradeInstanceProxyMinorVersionApi struct {
// contains filtered or unexported fields
}
func NewDcs2UpgradeInstanceProxyMinorVersionApi ¶
func NewDcs2UpgradeInstanceProxyMinorVersionApi(client *core.CtyunClient) *Dcs2UpgradeInstanceProxyMinorVersionApi
func (*Dcs2UpgradeInstanceProxyMinorVersionApi) Do ¶
func (a *Dcs2UpgradeInstanceProxyMinorVersionApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UpgradeInstanceProxyMinorVersionRequest) (*Dcs2UpgradeInstanceProxyMinorVersionResponse, error)
type Dcs2UpgradeInstanceProxyMinorVersionRequest ¶
type Dcs2UpgradeInstanceProxyMinorVersionRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ ProxyMinorVersion string `json:"proxyMinorVersion,omitempty"` /* 代理版本<br/><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=17922&isNormal=1&vid=270">查询实例版本信息</a> proxyVersionInfo表upgradableProxyMinorVersions中的版本 */ }
type Dcs2UpgradeInstanceProxyMinorVersionResponse ¶
type Dcs2UpgradeInstanceProxyMinorVersionResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UpgradeInstanceProxyMinorVersionReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UpgradeInstanceProxyMinorVersionReturnObjResponse ¶
type Dcs2UpgradeInstanceProxyMinorVersionReturnObjResponse struct{}
type Dcs2UploadSyncRunningLogApi ¶
type Dcs2UploadSyncRunningLogApi struct {
// contains filtered or unexported fields
}
func NewDcs2UploadSyncRunningLogApi ¶
func NewDcs2UploadSyncRunningLogApi(client *core.CtyunClient) *Dcs2UploadSyncRunningLogApi
func (*Dcs2UploadSyncRunningLogApi) Do ¶
func (a *Dcs2UploadSyncRunningLogApi) Do(ctx context.Context, credential core.Credential, req *Dcs2UploadSyncRunningLogRequest) (*Dcs2UploadSyncRunningLogResponse, error)
type Dcs2UploadSyncRunningLogRequest ¶
type Dcs2UploadSyncRunningLogRequest struct { RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=7830&isNormal=1&vid=270">查询可用的资源池</a> */ TaskId string `json:"taskId,omitempty"` /* 任务Id<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=49&api=15103&data=81&isNormal=1&vid=270">查询数据迁移任务列表</a> */ SearchDate string `json:"searchDate,omitempty"` /* 查询的日志时间(格式:yyyy-MM-dd) */ }
type Dcs2UploadSyncRunningLogResponse ¶
type Dcs2UploadSyncRunningLogResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码<li>800:成功<li>900:失败 */ Message string `json:"message,omitempty"` /* 响应信息 */ ReturnObj *Dcs2UploadSyncRunningLogReturnObjResponse `json:"returnObj"` /* 响应对象 */ RequestId string `json:"requestId,omitempty"` /* 请求 ID */ Code string `json:"code,omitempty"` /* 响应码描述 */ Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */ }
type Dcs2UploadSyncRunningLogReturnObjResponse ¶
type Dcs2UploadSyncRunningLogReturnObjResponse struct {
DownloadUrlList []string `json:"downloadUrlList"` /* 下载地址列表 */
}
Source Files
¶
- apis.go
- dcs2_add_value_api.go
- dcs2_async_export_instances_api.go
- dcs2_auto_scan_expired_keys_api.go
- dcs2_batch_add_label_api.go
- dcs2_batch_restart_vm_api.go
- dcs2_bind_elastic_i_p_api.go
- dcs2_change_auto_renew_status_api.go
- dcs2_check_instance_operate_api.go
- dcs2_check_instance_prod_modify_api.go
- dcs2_close_auto_scale_api.go
- dcs2_config_auto_retry_type_api.go
- dcs2_create_account_api.go
- dcs2_create_backup_api.go
- dcs2_create_db_group_api.go
- dcs2_create_instance_api.go
- dcs2_create_redis_template_api.go
- dcs2_create_transfer_task_api.go
- dcs2_del_analysis_instance_task_api.go
- dcs2_del_tasks_api.go
- dcs2_delete_account_api.go
- dcs2_delete_backup_api.go
- dcs2_delete_big_key_task_api.go
- dcs2_delete_db_group_api.go
- dcs2_delete_hot_key_task_api.go
- dcs2_delete_instance_api.go
- dcs2_delete_instances_api.go
- dcs2_delete_key_api.go
- dcs2_delete_off_line_key_analysis_task_info_api.go
- dcs2_delete_redis_template_api.go
- dcs2_delete_transfer_task_api.go
- dcs2_delete_value_api.go
- dcs2_describe_accounts_api.go
- dcs2_describe_available_region_api.go
- dcs2_describe_available_resource_api.go
- dcs2_describe_backup_policy_api.go
- dcs2_describe_backup_tasks_api.go
- dcs2_describe_backups_api.go
- dcs2_describe_big_and_hot_keys_api.go
- dcs2_describe_big_key_tasks_api.go
- dcs2_describe_cluster_member_info_api.go
- dcs2_describe_cycle_bin_instances_api.go
- dcs2_describe_d_b_instance_net_info_api.go
- dcs2_describe_db_group_api.go
- dcs2_describe_db_groups_api.go
- dcs2_describe_db_key_count_api.go
- dcs2_describe_dedicated_cluster_instance_list_api.go
- dcs2_describe_engine_version_api.go
- dcs2_describe_history_monitor_items_api.go
- dcs2_describe_hot_key_tasks_api.go
- dcs2_describe_hot_keys_api.go
- dcs2_describe_instance_config_api.go
- dcs2_describe_instance_config_v2_api.go
- dcs2_describe_instance_history_monitor_values_api.go
- dcs2_describe_instance_maintain_time_api.go
- dcs2_describe_instance_s_s_l_api.go
- dcs2_describe_instance_strategy_api.go
- dcs2_describe_instance_version_api.go
- dcs2_describe_instances_api.go
- dcs2_describe_instances_cluster_member_info_api.go
- dcs2_describe_instances_overview_api.go
- dcs2_describe_key_task_record_api.go
- dcs2_describe_logic_instance_topology_api.go
- dcs2_describe_memory_info_api.go
- dcs2_describe_node_history_monitor_values_api.go
- dcs2_describe_node_monitor_items_api.go
- dcs2_describe_node_monitor_values_api.go
- dcs2_describe_off_line_key_analysis_task_info_api.go
- dcs2_describe_off_line_key_analysis_task_list_api.go
- dcs2_describe_parameter_modification_history_api.go
- dcs2_describe_price_api.go
- dcs2_describe_redis_template_api.go
- dcs2_describe_redis_template_detail_api.go
- dcs2_describe_running_log_records_api.go
- dcs2_describe_security_ips_api.go
- dcs2_describe_top_big_keys_api.go
- dcs2_describe_top_big_keys_policy_api.go
- dcs2_describe_top_hot_keys_policy_api.go
- dcs2_describe_top_slow_log_recoreds_api.go
- dcs2_destroy_instance_api.go
- dcs2_disable_rename_command_v2_api.go
- dcs2_do_analysis_instance_tasks_api.go
- dcs2_download_redis_run_log_api.go
- dcs2_download_ssl_cert_api.go
- dcs2_edit_redis_template_api.go
- dcs2_enable_r_w_sep_api.go
- dcs2_enable_rename_command_api.go
- dcs2_enable_rename_command_v2_api.go
- dcs2_exchange_vip_api.go
- dcs2_excute_command_api.go
- dcs2_execute_off_line_key_analysis_task_api.go
- dcs2_fault_recovery_api.go
- dcs2_find_history_big_and_hot_key_api.go
- dcs2_find_history_slow_log_api.go
- dcs2_flush_data_api.go
- dcs2_flush_db_group_data_api.go
- dcs2_flush_expire_keys_api.go
- dcs2_get_client_i_p_info_api.go
- dcs2_get_client_map_api.go
- dcs2_get_key_misslog_api.go
- dcs2_get_label_list_by_resources_api.go
- dcs2_get_rdb_down_load_url_api.go
- dcs2_get_redis_node_list_api.go
- dcs2_get_task_info_api.go
- dcs2_get_task_progress_detail_info_api.go
- dcs2_get_transfer_task_info_api.go
- dcs2_get_zones_api.go
- dcs2_grant_account_privilege_api.go
- dcs2_host_down_fault_inject_api.go
- dcs2_host_type_fault_inject_api.go
- dcs2_kill_selected_client_api.go
- dcs2_list_instance_experiments_api.go
- dcs2_list_task_info_api.go
- dcs2_list_tasks_api.go
- dcs2_lock_d_b_instance_write_api.go
- dcs2_modify_account_description_api.go
- dcs2_modify_account_password_api.go
- dcs2_modify_backup_policy_api.go
- dcs2_modify_big_key_policy_api.go
- dcs2_modify_hot_key_policy_api.go
- dcs2_modify_instance_attribute_api.go
- dcs2_modify_instance_config_api.go
- dcs2_modify_instance_config_v2_api.go
- dcs2_modify_instance_feature_api.go
- dcs2_modify_instance_maintain_time_api.go
- dcs2_modify_instance_major_version_api.go
- dcs2_modify_instance_password_api.go
- dcs2_modify_instance_s_s_l_api.go
- dcs2_modify_instance_spec_api.go
- dcs2_modify_instance_strategy_api.go
- dcs2_modify_security_ips_api.go
- dcs2_network_loss_fault_inject_api.go
- dcs2_open_auto_scale_api.go
- dcs2_operate_transfer_task_api.go
- dcs2_page_list_label_api.go
- dcs2_page_query_values_api.go
- dcs2_query_analysis_instance_tasks_api.go
- dcs2_query_analysis_instance_tasks_info_api.go
- dcs2_query_auto_scan_conf_setting_api.go
- dcs2_query_export_instance_task_api.go
- dcs2_query_fragment_replication_state_api.go
- dcs2_query_group_key_api.go
- dcs2_query_group_key_number_api.go
- dcs2_query_inst_auto_renew_status_api.go
- dcs2_query_manager_api.go
- dcs2_query_quota_total_and_used_api.go
- dcs2_query_r_w_sep_api.go
- dcs2_query_rename_command_api.go
- dcs2_query_scan_logs_api.go
- dcs2_renew_instance_api.go
- dcs2_reset_account_password_api.go
- dcs2_reset_instance_password_api.go
- dcs2_restart_instance_api.go
- dcs2_restart_transfer_task_api.go
- dcs2_restore_instance_api.go
- dcs2_slow_log_reset_api.go
- dcs2_statistic_api.go
- dcs2_status_number_api.go
- dcs2_stop_transfer_task_api.go
- dcs2_switch_instance_h_a_api.go
- dcs2_trans_charge_type_api.go
- dcs2_trans_to_pre_paid_api.go
- dcs2_un_bind_elastic_i_p_api.go
- dcs2_unlock_d_b_instance_write_api.go
- dcs2_update_key_api.go
- dcs2_update_slave_priority_api.go
- dcs2_update_value_api.go
- dcs2_upgrade_instance_minor_version_api.go
- dcs2_upgrade_instance_proxy_minor_version_api.go
- dcs2_upload_sync_running_log_api.go
Click to show internal directories.
Click to hide internal directories.