Documentation ¶
Index ¶
- type ActionInfo
- type AddQueueUserListRequest
- type AddQueueUserListResponse
- type AddSnapshotCrossRegionPolicyRequest
- type AddSnapshotCrossRegionPolicyRequestBody
- type AddSnapshotCrossRegionPolicyResponse
- type AddWorkloadPlanStageRequest
- type AddWorkloadPlanStageResponse
- type AddWorkloadQueueRequest
- type AddWorkloadQueueResponse
- type AlarmConfigResponse
- type AlarmDetailResponse
- type AlarmStatisticResponse
- type AlarmSubRequest
- type AlarmSubUpdateRequest
- type AlarmSubscriptionResponse
- type AssociateEipRequest
- type AssociateEipResponse
- type AssociateElbRequest
- type AssociateElbResponse
- type AuditDumpRecord
- type AvailabilityZone
- type BackupPolicy
- type BackupStrategyDetail
- type BatchCreateClusterCnRequest
- type BatchCreateClusterCnResponse
- type BatchCreateCn
- type BatchCreateResourceTag
- type BatchCreateResourceTagRequest
- type BatchCreateResourceTagResponse
- type BatchCreateResourceTags
- type BatchDeleteClusterCnRequest
- type BatchDeleteClusterCnResponse
- type BatchDeleteCn
- type BatchDeleteResourceTag
- type BatchDeleteResourceTagRequest
- type BatchDeleteResourceTagResponse
- type BatchDeleteResourceTags
- type CancelReadonlyClusterRequest
- type CancelReadonlyClusterResponse
- type CheckClusterRequest
- type CheckClusterResponse
- type CheckDisasterNameRequest
- type CheckDisasterNameResponse
- type CheckTableNameResult
- type CheckTableRestoreRequest
- type CheckTableRestoreRequestBody
- type CheckTableRestoreResponse
- type Cluster
- type ClusterCheckBody
- type ClusterCheckRequestBody
- type ClusterConfiguration
- type ClusterDescriptionInfo
- type ClusterDetail
- type ClusterDisasterRecovery
- type ClusterElbInfo
- type ClusterFlavorResp
- type ClusterInfo
- type ClusterMetric
- type ClusterNodeInfo
- type ClusterRecoveryProgress
- type ClusterRing
- type ClusterShrinkReq
- type ClusterSnapshots
- type ClusterUpdateRecordResp
- type CompatibleConfigurationResp
- type CompatibleDataStoreResp
- type CompatibleFaultResp
- type CompatibleInstanceVolumeResp
- type CompatibleReplicasResp
- type ConfigurationParameter
- type ConfigurationParameterUnit
- type ConfigurationParameterValue
- type ConfigurationParameterValues
- type ConfigurationRecordResp
- type ConvertToLogicalClusterRequest
- type ConvertToLogicalClusterResponse
- type CoordinatorNode
- type CopySnapshotRequest
- type CopySnapshotResponse
- type CreateAlarmSubRequest
- type CreateAlarmSubResponse
- type CreateClusterDns
- type CreateClusterDnsRequest
- type CreateClusterDnsResponse
- type CreateClusterInfo
- type CreateClusterRequest
- type CreateClusterRequestBody
- type CreateClusterResponse
- type CreateClusterV2Request
- type CreateClusterV2Response
- type CreateClusterWorkloadRequest
- type CreateClusterWorkloadResponse
- type CreateDataSourceRequest
- type CreateDataSourceResponse
- type CreateDisasterRecovery
- type CreateDisasterRecoveryReq
- type CreateDisasterRecoveryRequest
- type CreateDisasterRecoveryResponse
- type CreateEventSubRequest
- type CreateEventSubResponse
- type CreateLogicalClusterInfo
- type CreateLogicalClusterRequest
- type CreateLogicalClusterRequestBody
- type CreateLogicalClusterResponse
- type CreateSnapshotPolicyRequest
- type CreateSnapshotPolicyResponse
- type CreateSnapshotRequest
- type CreateSnapshotRequestBody
- type CreateSnapshotResponse
- type CreateWorkloadPlanRequest
- type CreateWorkloadPlanResponse
- type CrossRegionSnapshotConfig
- type DatabaseOmUserActionReq
- type DatabaseOmUserInfo
- type DatabasePermissionReq
- type DatabaseUser
- type DatabaseUserInfoReq
- type Datastore
- type DeleteAlarmSubRequest
- type DeleteAlarmSubResponse
- type DeleteClusterDnsRequest
- type DeleteClusterDnsResponse
- type DeleteClusterNodesRequest
- type DeleteClusterNodesRequestBody
- type DeleteClusterNodesResponse
- type DeleteClusterRequest
- type DeleteClusterRequestBody
- type DeleteClusterResponse
- type DeleteDataSourceRequest
- type DeleteDataSourceResponse
- type DeleteDisasterRecoveryRequest
- type DeleteDisasterRecoveryResponse
- type DeleteEventSubRequest
- type DeleteEventSubResponse
- type DeleteLogicalClusterRequest
- type DeleteLogicalClusterResponse
- type DeleteQueueUserListRequest
- type DeleteQueueUserListResponse
- type DeleteSnapshotCrossRegionPolicyRequest
- type DeleteSnapshotCrossRegionPolicyResponse
- type DeleteSnapshotPolicyRequest
- type DeleteSnapshotPolicyResponse
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- type DeleteWorkloadPlanRequest
- type DeleteWorkloadPlanResponse
- type DeleteWorkloadPlanStageRequest
- type DeleteWorkloadPlanStageResponse
- type DeleteWorkloadQueueRequest
- type DeleteWorkloadQueueResponse
- type Detail
- type DisableLtsLogsRequest
- type DisableLtsLogsResponse
- type DisassociateEipRequest
- type DisassociateEipResponse
- type DisassociateElbRequest
- type DisassociateElbResponse
- type DisasterRecovery
- type DisasterRecoveryCluster
- type DisasterRecoveryClusterVo
- type DisasterRecoveryId
- type DisasterRecoveryQueryResp
- type DiskResp
- type DssPool
- type ElbResp
- type EnableLogicalClusterRequest
- type EnableLogicalClusterRequestBody
- type EnableLogicalClusterResponse
- type EnableLtsLogsRequest
- type EnableLtsLogsResponse
- type Endpoints
- type EventResponse
- type EventSpecResponse
- type EventSubRequest
- type EventSubUpdateRequest
- type EventSubscriptionResponse
- type ExecuteClusterUpgradeActionRequest
- type ExecuteClusterUpgradeActionRequestBody
- type ExecuteClusterUpgradeActionResponse
- type ExecuteDatabaseOmUserActionRequest
- type ExecuteDatabaseOmUserActionResponse
- type ExecuteRedistributionClusterRequest
- type ExecuteRedistributionClusterResponse
- type ExpandInstanceStorage
- type ExpandInstanceStorageRequest
- type ExpandInstanceStorageResponse
- type ExtDataSource
- type ExtDataSourceReq
- type FailedReason
- type FineGrainedSnapshotDetail
- type Grant
- type HostOverviewResponse
- type IndicatorInfo
- type LinkCopyReq
- type LinkResp
- type ListAlarmConfigsRequest
- type ListAlarmConfigsResponse
- type ListAlarmDetailRequest
- type ListAlarmDetailResponse
- type ListAlarmStatisticRequest
- type ListAlarmStatisticResponse
- type ListAlarmSubsRequest
- type ListAlarmSubsResponse
- type ListAuditLogRequest
- type ListAuditLogResponse
- type ListAvailabilityZonesRequest
- type ListAvailabilityZonesResponse
- type ListAvailableDisasterClustersRequest
- type ListAvailableDisasterClustersResponse
- type ListClusterCnRequest
- type ListClusterCnResponse
- type ListClusterConfigurationsParameterRequest
- type ListClusterConfigurationsParameterResponse
- type ListClusterConfigurationsRequest
- type ListClusterConfigurationsResponse
- type ListClusterDetailsRequest
- type ListClusterDetailsResponse
- type ListClusterNodesRequest
- type ListClusterNodesResponse
- type ListClusterScaleInNumbersRequest
- type ListClusterScaleInNumbersResponse
- type ListClusterSnapshotsRequest
- type ListClusterSnapshotsResponse
- type ListClusterTagsRequest
- type ListClusterTagsResponse
- type ListClusterWorkloadRequest
- type ListClusterWorkloadResponse
- type ListClustersRequest
- type ListClustersResponse
- type ListConfigurationsAuditRecordsRequest
- type ListConfigurationsAuditRecordsResponse
- type ListDataSourceRequest
- type ListDataSourceResponse
- type ListDatabaseUsersRequest
- type ListDatabaseUsersResponse
- type ListDisasterRecoverRequest
- type ListDisasterRecoverResponse
- type ListDssPoolsRequest
- type ListDssPoolsResponse
- type ListElbsRequest
- type ListElbsResponse
- type ListEventSpecsRequest
- type ListEventSpecsResponse
- type ListEventSubsRequest
- type ListEventSubsResponse
- type ListEventsRequest
- type ListEventsResponse
- type ListHostDiskRequest
- type ListHostDiskResponse
- type ListHostNetRequest
- type ListHostNetResponse
- type ListHostOverviewRequest
- type ListHostOverviewResponse
- type ListJobDetailsRequest
- type ListJobDetailsResponse
- type ListLogicalClusterRingsRequest
- type ListLogicalClusterRingsResponse
- type ListLogicalClusterTasksRequest
- type ListLogicalClusterTasksResponse
- type ListLogicalClusterVolumesRequest
- type ListLogicalClusterVolumesResponse
- type ListLogicalClustersRequest
- type ListLogicalClustersResponse
- type ListLtsLogsRequest
- type ListLtsLogsResponse
- type ListMetricsDataRequest
- type ListMetricsDataResponse
- type ListMetricsRequest
- type ListMetricsResponse
- type ListMonitorIndicatorDataRequest
- type ListMonitorIndicatorDataResponse
- type ListMonitorIndicatorsRequest
- type ListMonitorIndicatorsResponse
- type ListNodeTypesRequest
- type ListNodeTypesResponse
- type ListPlanExecLogsRequest
- type ListPlanExecLogsResponse
- type ListQueriesCondition
- type ListQueriesData
- type ListQueriesDto
- type ListQueriesRequest
- type ListQueriesRequestBody
- type ListQueriesResponse
- type ListQueriesStatus
- type ListQuotasRequest
- type ListQuotasResponse
- type ListSchemasRequest
- type ListSchemasResponse
- type ListSnapshotCrossRegionPolicyRequest
- type ListSnapshotCrossRegionPolicyResponse
- type ListSnapshotCrossRegionRequest
- type ListSnapshotCrossRegionResponse
- type ListSnapshotDetailsRequest
- type ListSnapshotDetailsResponse
- type ListSnapshotPolicyRequest
- type ListSnapshotPolicyResponse
- type ListSnapshotStatisticsRequest
- type ListSnapshotStatisticsResponse
- type ListSnapshotsRequest
- type ListSnapshotsResponse
- type ListStatisticsRequest
- type ListStatisticsResponse
- type ListTablesStatisticDto
- type ListTablesStatisticRequest
- type ListTablesStatisticResponse
- type ListTagsRequest
- type ListTagsResponse
- type ListTopoRingsRequest
- type ListTopoRingsResponse
- type ListUpdatableVersionRequest
- type ListUpdatableVersionResponse
- type ListUpdateRecordRequest
- type ListUpdateRecordResponse
- type ListWorkloadPlansRequest
- type ListWorkloadPlansResponse
- type ListWorkloadQueueRequest
- type ListWorkloadQueueResponse
- type ListWorkloadQueueUsersRequest
- type ListWorkloadQueueUsersResponse
- type LogicalClusterInfo
- type LogicalClusterRingInfo
- type LogicalClusterTaskInfo
- type LogicalClusterVolume
- type LtslogInfo
- type MaintainWindow
- type MaintenanceWindow
- type ModifyClusterDns
- type NetResp
- type NodeTypeAvailableZones
- type NodeTypeDatastores
- type NodeTypeDatastoresAttachments
- type NodeTypeElasticVolumeSpecs
- type NodeTypes
- type Nodes
- type ObjectAuthority
- type OccupyResource
- type OpenPublicIp
- type ParameterGroup
- type PauseDisasterRecoveryRequest
- type PauseDisasterRecoveryResponse
- type PlanLog
- type PlanStage
- type ProjectTag
- type PublicEndpoints
- type PublicIp
- type QueueResourceItem
- type QuotasQuotas
- type QuotasResource
- type RdsRedisInfo
- type ReconfigureExtDataSourceAction
- type ReconfigureExtDataSourceActionReq
- type RedisConf
- type RedisConfReq
- type RedisProgress
- type RedisTable
- type RedisTableDetail
- type RedistributionReq
- type ResetPasswordRequest
- type ResetPasswordRequestBody
- type ResetPasswordResponse
- type ResizeClusterRequest
- type ResizeClusterRequestBody
- type ResizeClusterResponse
- type ResizeClusterWithExistedNodesRequest
- type ResizeClusterWithExistedNodesRequestBody
- type ResizeClusterWithExistedNodesResponse
- type ResizeInfo
- type ResourceTag
- type RestartClusterRequest
- type RestartClusterRequestBody
- type RestartClusterResponse
- type RestartLogicalClusterRequest
- type RestartLogicalClusterResponse
- type Restore
- type RestoreClusterRequest
- type RestoreClusterRequestBody
- type RestoreClusterResponse
- type RestoreDisasterRequest
- type RestoreDisasterResponse
- type RestorePoint
- type RestoreRedistributionRequest
- type RestoreRedistributionResponse
- type RestoreTableRequest
- type RestoreTableRequestBody
- type RestoreTableResponse
- type Revoke
- type RingHost
- type RoleAuthority
- type SaveClusterDescriptionInfoRequest
- type SaveClusterDescriptionInfoResponse
- type ScaleOut
- type ScheduleConf
- type SchemaInfo
- type ShowClusterRedistributionRequest
- type ShowClusterRedistributionResponse
- type ShowDatabaseAuthorityRequest
- type ShowDatabaseAuthorityResponse
- type ShowDatabaseOmUserStatusRequest
- type ShowDatabaseOmUserStatusResponse
- type ShowDatabaseUserRequest
- type ShowDatabaseUserResponse
- type ShowDisasterDetailRequest
- type ShowDisasterDetailResponse
- type ShowDisasterProgressRequest
- type ShowDisasterProgressResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowQueryDetailRequest
- type ShowQueryDetailResponse
- type ShowResourceStatisticsRequest
- type ShowResourceStatisticsResponse
- type ShowWorkloadPlanRequest
- type ShowWorkloadPlanResponse
- type ShowWorkloadPlanStageRequest
- type ShowWorkloadPlanStageResponse
- type ShowWorkloadQueueRequest
- type ShowWorkloadQueueResponse
- type ShrinkClusterRequest
- type ShrinkClusterResponse
- type SimpleFieldDto
- type Snapshot
- type SnapshotDetail
- type SnapshotRegion
- type SnapshotResp
- type Snapshots
- type SnapshotsStatistic
- type StartDisasterRecoveryRequest
- type StartDisasterRecoveryResponse
- type StartWorkloadPlanRequest
- type StartWorkloadPlanResponse
- type Statistic
- type StatusStatistics
- type StopRedistributionRequest
- type StopRedistributionResponse
- type StopWorkloadPlanRequest
- type StopWorkloadPlanResponse
- type SwitchFailoverDisasterRequest
- type SwitchFailoverDisasterResponse
- type SwitchOverClusterRequest
- type SwitchOverClusterResponse
- type SwitchPlanStageRequest
- type SwitchPlanStageResponse
- type SwitchoverDisasterRecoveryRequest
- type SwitchoverDisasterRecoveryResponse
- type SyncIamUsersRequest
- type SyncIamUsersResponse
- type TableDetail
- type Tag
- type Tags
- type TopoInstanceInfo
- type TopoRingInfo
- type TrendQueryData
- type TrendQueryDataResp
- type UpdateAlarmSubRequest
- type UpdateAlarmSubResponse
- type UpdateClusterDnsRequest
- type UpdateClusterDnsResponse
- type UpdateConfigurationRequest
- type UpdateConfigurationResponse
- type UpdateDataSourceRequest
- type UpdateDataSourceResponse
- type UpdateDatabaseAuthorityRequest
- type UpdateDatabaseAuthorityResponse
- type UpdateDatabaseUserInfoRequest
- type UpdateDatabaseUserInfoResponse
- type UpdateDisasterInfoRequest
- type UpdateDisasterInfoResponse
- type UpdateDisasterRecoveryReq
- type UpdateDisasterRecoveryRequest
- type UpdateEventSubRequest
- type UpdateEventSubResponse
- type UpdateItemResp
- type UpdateLogicalClusterRequest
- type UpdateLogicalClusterRequestBody
- type UpdateLogicalClusterResponse
- type UpdateMaintenanceWindowRequest
- type UpdateMaintenanceWindowResponse
- type UpdateQueueResourcesRequest
- type UpdateQueueResourcesResponse
- type UpdateSchemasRequest
- type UpdateSchemasResponse
- type V2CreateCluster
- type V2CreateClusterReq
- type Volume
- type VolumeResp
- type WorkloadPlanInfo
- type WorkloadPlanReq
- type WorkloadPlanStageIdReq
- type WorkloadPlanStageReq
- type WorkloadPlanStageReqWorkloadPlanStage
- type WorkloadQueue
- type WorkloadQueueInfo
- type WorkloadQueueItem
- type WorkloadQueueReq
- type WorkloadQueueRequest
- type WorkloadQueueUser
- type WorkloadQueueUserReq
- type WorkloadQueueUserReqUserList
- type WorkloadResource
- type WorkloadResourceItem
- type WorkloadSchemaReq
- type WorkloadStatus
- type WorkloadStatusReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶ added in v0.1.72
type ActionInfo struct { // 操作名称。当前只允许Create,Expand,Restart,Delete,Shrink ActionName *string `json:"action_name,omitempty"` // 操作进度,默认10 Progress *int32 `json:"progress,omitempty"` // 是否完成操作 Completed *bool `json:"completed,omitempty"` // 操作开始时间 StartTime *string `json:"start_time,omitempty"` // 操作结束时间 EndTime *string `json:"end_time,omitempty"` // 操作结果。success或者failed,默认空字符串 Result *string `json:"result,omitempty"` // 操作日志 Logs *string `json:"logs,omitempty"` }
ActionInfo 逻辑集群操作信息
func (ActionInfo) String ¶ added in v0.1.72
func (o ActionInfo) String() string
type AddQueueUserListRequest ¶ added in v0.1.77
type AddQueueUserListRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 队列名称 QueueName string `json:"queue_name"` Body *WorkloadQueueUserReq `json:"body,omitempty"` }
AddQueueUserListRequest Request Object
func (AddQueueUserListRequest) String ¶ added in v0.1.77
func (o AddQueueUserListRequest) String() string
type AddQueueUserListResponse ¶ added in v0.1.77
type AddQueueUserListResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
AddQueueUserListResponse Response Object
func (AddQueueUserListResponse) String ¶ added in v0.1.77
func (o AddQueueUserListResponse) String() string
type AddSnapshotCrossRegionPolicyRequest ¶ added in v0.1.64
type AddSnapshotCrossRegionPolicyRequest struct {
Body *AddSnapshotCrossRegionPolicyRequestBody `json:"body,omitempty"`
}
AddSnapshotCrossRegionPolicyRequest Request Object
func (AddSnapshotCrossRegionPolicyRequest) String ¶ added in v0.1.64
func (o AddSnapshotCrossRegionPolicyRequest) String() string
type AddSnapshotCrossRegionPolicyRequestBody ¶ added in v0.1.64
type AddSnapshotCrossRegionPolicyRequestBody struct { // 集群ID ClusterId string `json:"cluster_id"` // 目的项目ID DestinationProjectId string `json:"destination_project_id"` // 目的区域 DestinationRegion string `json:"destination_region"` // 状态 Status bool `json:"status"` // 保留天数 BackKeepDay int32 `json:"back_keep_day"` }
AddSnapshotCrossRegionPolicyRequestBody 设置快照跨区域策略请求信息
func (AddSnapshotCrossRegionPolicyRequestBody) String ¶ added in v0.1.64
func (o AddSnapshotCrossRegionPolicyRequestBody) String() string
type AddSnapshotCrossRegionPolicyResponse ¶ added in v0.1.64
type AddSnapshotCrossRegionPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
AddSnapshotCrossRegionPolicyResponse Response Object
func (AddSnapshotCrossRegionPolicyResponse) String ¶ added in v0.1.64
func (o AddSnapshotCrossRegionPolicyResponse) String() string
type AddWorkloadPlanStageRequest ¶ added in v0.1.77
type AddWorkloadPlanStageRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` Body *WorkloadPlanStageReq `json:"body,omitempty"` }
AddWorkloadPlanStageRequest Request Object
func (AddWorkloadPlanStageRequest) String ¶ added in v0.1.77
func (o AddWorkloadPlanStageRequest) String() string
type AddWorkloadPlanStageResponse ¶ added in v0.1.77
type AddWorkloadPlanStageResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
AddWorkloadPlanStageResponse Response Object
func (AddWorkloadPlanStageResponse) String ¶ added in v0.1.77
func (o AddWorkloadPlanStageResponse) String() string
type AddWorkloadQueueRequest ¶ added in v0.1.14
type AddWorkloadQueueRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *WorkloadQueueReq `json:"body,omitempty"` }
AddWorkloadQueueRequest Request Object
func (AddWorkloadQueueRequest) String ¶ added in v0.1.14
func (o AddWorkloadQueueRequest) String() string
type AddWorkloadQueueResponse ¶ added in v0.1.14
type AddWorkloadQueueResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
AddWorkloadQueueResponse Response Object
func (AddWorkloadQueueResponse) String ¶ added in v0.1.14
func (o AddWorkloadQueueResponse) String() string
type AlarmConfigResponse ¶ added in v0.1.14
type AlarmConfigResponse struct { // 告警配置ID Id *string `json:"id,omitempty"` // 告警ID AlarmId *string `json:"alarm_id,omitempty"` // 告警名称 AlarmName *string `json:"alarm_name,omitempty"` // 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS NameSpace *string `json:"name_space,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 用户是否可见 IsUserVisible *string `json:"is_user_visible,omitempty"` // 是否覆盖 IsConverge *string `json:"is_converge,omitempty"` // 覆盖时间 ConvergeTime *int32 `json:"converge_time,omitempty"` // 运维是否可见 IsMaintainVisible *string `json:"is_maintain_visible,omitempty"` }
AlarmConfigResponse 告警配置详情
func (AlarmConfigResponse) String ¶ added in v0.1.14
func (o AlarmConfigResponse) String() string
type AlarmDetailResponse ¶ added in v0.1.14
type AlarmDetailResponse struct { // 告警定义ID AlarmId *string `json:"alarm_id,omitempty"` // 告警名称 AlarmName *string `json:"alarm_name,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 告警服务 AlarmSource *string `json:"alarm_source,omitempty"` // 告警消息 AlarmMessage *string `json:"alarm_message,omitempty"` // 告警定位信息 AlarmLocation *string `json:"alarm_location,omitempty"` // 告警源ID ResourceId *string `json:"resource_id,omitempty"` // 告警源名称 ResourceIdName *string `json:"resource_id_name,omitempty"` // 告警日期 AlarmGenerateDate *string `json:"alarm_generate_date,omitempty"` // 告警状态 AlarmStatus *string `json:"alarm_status,omitempty"` }
AlarmDetailResponse 告警详情
func (AlarmDetailResponse) String ¶ added in v0.1.14
func (o AlarmDetailResponse) String() string
type AlarmStatisticResponse ¶ added in v0.1.14
type AlarmStatisticResponse struct { // 日期 Date *string `json:"date,omitempty"` // 紧急 Urgent *string `json:"urgent,omitempty"` // 重要 Important *string `json:"important,omitempty"` // 次要 Minor *string `json:"minor,omitempty"` // 提示 Prompt *string `json:"prompt,omitempty"` }
AlarmStatisticResponse 告警统计
func (AlarmStatisticResponse) String ¶ added in v0.1.14
func (o AlarmStatisticResponse) String() string
type AlarmSubRequest ¶ added in v0.1.14
type AlarmSubRequest struct { // 告警订阅名称 Name string `json:"name"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 消息主题地址 NotificationTarget string `json:"notification_target"` // 消息主题名称 NotificationTargetName string `json:"notification_target_name"` // 消息主题类型,支持SMN NotificationTargetType string `json:"notification_target_type"` // 时区 TimeZone string `json:"time_zone"` }
AlarmSubRequest 创建订阅告警请求体
func (AlarmSubRequest) String ¶ added in v0.1.14
func (o AlarmSubRequest) String() string
type AlarmSubUpdateRequest ¶ added in v0.1.14
type AlarmSubUpdateRequest struct { // 告警订阅名称 Name string `json:"name"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 消息主题地址 NotificationTarget string `json:"notification_target"` // 消息主题名称 NotificationTargetName string `json:"notification_target_name"` // 消息主题类型,支持SMN NotificationTargetType string `json:"notification_target_type"` }
func (AlarmSubUpdateRequest) String ¶ added in v0.1.14
func (o AlarmSubUpdateRequest) String() string
type AlarmSubscriptionResponse ¶ added in v0.1.14
type AlarmSubscriptionResponse struct { // 告警订阅ID Id *string `json:"id,omitempty"` // 告警订阅名称 Name *string `json:"name,omitempty"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS NameSpace *string `json:"name_space,omitempty"` // 消息主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息主题类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` }
AlarmSubscriptionResponse 告警订阅详情
func (AlarmSubscriptionResponse) String ¶ added in v0.1.14
func (o AlarmSubscriptionResponse) String() string
type AssociateEipRequest ¶ added in v0.1.14
type AssociateEipRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 未绑定的弹性IP的ID EipId string `json:"eip_id"` }
AssociateEipRequest Request Object
func (AssociateEipRequest) String ¶ added in v0.1.14
func (o AssociateEipRequest) String() string
type AssociateEipResponse ¶ added in v0.1.14
type AssociateEipResponse struct {
HttpStatusCode int `json:"-"`
}
AssociateEipResponse Response Object
func (AssociateEipResponse) String ¶ added in v0.1.14
func (o AssociateEipResponse) String() string
type AssociateElbRequest ¶ added in v0.1.14
type AssociateElbRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 未绑定的弹性负载均衡ID ElbId string `json:"elb_id"` }
AssociateElbRequest Request Object
func (AssociateElbRequest) String ¶ added in v0.1.14
func (o AssociateElbRequest) String() string
type AssociateElbResponse ¶ added in v0.1.14
type AssociateElbResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
AssociateElbResponse Response Object
func (AssociateElbResponse) String ¶ added in v0.1.14
func (o AssociateElbResponse) String() string
type AuditDumpRecord ¶ added in v0.1.14
type AuditDumpRecord struct { // 集群id。 ClusterId *string `json:"cluster_id,omitempty"` // 执行时间。 ExectorTime *string `json:"exector_time,omitempty"` // 开始时间。 BeginTime *string `json:"begin_time,omitempty"` // 结束时间。 EndTime *string `json:"end_time,omitempty"` // 桶名。 BucketName *string `json:"bucket_name,omitempty"` // 前缀。 LocationPrefix *string `json:"location_prefix,omitempty"` // 结果。 Result *string `json:"result,omitempty"` // 失败原因。 FailedReason *string `json:"failed_reason,omitempty"` }
AuditDumpRecord 审计日志
func (AuditDumpRecord) String ¶ added in v0.1.14
func (o AuditDumpRecord) String() string
type AvailabilityZone ¶ added in v0.1.14
type AvailabilityZone struct { // 可用区唯一编码。 Code string `json:"code"` // 可用区名称。 Name string `json:"name"` // 可用区状态。 - available:可用。 - unavailable:不可用。 Status string `json:"status"` // 可用区组,如:center。 PublicBorderGroup string `json:"public_border_group"` }
AvailabilityZone 可用区详情。
func (AvailabilityZone) String ¶ added in v0.1.14
func (o AvailabilityZone) String() string
type BackupPolicy ¶ added in v0.1.14
type BackupPolicy struct { // 保留天数。 KeepDay *int32 `json:"keep_day,omitempty"` BackupStrategies *BackupStrategyDetail `json:"backup_strategies,omitempty"` // 备份设备。 DeviceName *string `json:"device_name,omitempty"` // 端口。 ServerPort *string `json:"server_port,omitempty"` // 参数。 BackupParam *string `json:"backup_param,omitempty"` // 备份介质服务IP。 ServerIps *[]string `json:"server_ips,omitempty"` }
BackupPolicy 备份策略
func (BackupPolicy) String ¶ added in v0.1.14
func (o BackupPolicy) String() string
type BackupStrategyDetail ¶ added in v0.1.14
type BackupStrategyDetail struct { // 策略ID。 PolicyId *string `json:"policy_id,omitempty"` // 策略名称。 PolicyName *string `json:"policy_name,omitempty"` // 执行策略。 BackupStrategy *string `json:"backup_strategy,omitempty"` // 备份类型。 BackupType *string `json:"backup_type,omitempty"` // 备份级别。 BackupLevel *string `json:"backup_level,omitempty"` // 下次触发时间。 NextFireTime *string `json:"next_fire_time,omitempty"` // 更新时间。 UpdateTime *string `json:"update_time,omitempty"` }
BackupStrategyDetail 备份策略
func (BackupStrategyDetail) String ¶ added in v0.1.14
func (o BackupStrategyDetail) String() string
type BatchCreateClusterCnRequest ¶ added in v0.1.14
type BatchCreateClusterCnRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` Body *BatchCreateCn `json:"body,omitempty"` }
BatchCreateClusterCnRequest Request Object
func (BatchCreateClusterCnRequest) String ¶ added in v0.1.14
func (o BatchCreateClusterCnRequest) String() string
type BatchCreateClusterCnResponse ¶ added in v0.1.14
type BatchCreateClusterCnResponse struct { // 批量增加CN节点任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateClusterCnResponse Response Object
func (BatchCreateClusterCnResponse) String ¶ added in v0.1.14
func (o BatchCreateClusterCnResponse) String() string
type BatchCreateCn ¶ added in v0.1.14
type BatchCreateCn struct { // 批量增加CN节点任务完成,集群总CN数量。集群支持的CN节点数量与集群当前版本和节点数量相关,具体支持范围可根据“查询集群CN节点”查询,“min_num”为支持的最小数量,max_num为支持的最大数量。 Num int32 `json:"num"` }
BatchCreateCn 批量增加CN节点任务完成,集群总CN数量。
func (BatchCreateCn) String ¶ added in v0.1.14
func (o BatchCreateCn) String() string
type BatchCreateResourceTag ¶ added in v0.1.14
type BatchCreateResourceTag struct { // 标签键。 Key string `json:"key"` // 标签值。 Value string `json:"value"` }
BatchCreateResourceTag 标签详情。
func (BatchCreateResourceTag) String ¶ added in v0.1.14
func (o BatchCreateResourceTag) String() string
type BatchCreateResourceTagRequest ¶ added in v0.1.14
type BatchCreateResourceTagRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` Body *BatchCreateResourceTags `json:"body,omitempty"` }
BatchCreateResourceTagRequest Request Object
func (BatchCreateResourceTagRequest) String ¶ added in v0.1.14
func (o BatchCreateResourceTagRequest) String() string
type BatchCreateResourceTagResponse ¶ added in v0.1.14
type BatchCreateResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateResourceTagResponse Response Object
func (BatchCreateResourceTagResponse) String ¶ added in v0.1.14
func (o BatchCreateResourceTagResponse) String() string
type BatchCreateResourceTags ¶ added in v0.1.14
type BatchCreateResourceTags struct { // 标签列表 Tags []BatchCreateResourceTag `json:"tags"` }
BatchCreateResourceTags 标签列表信息
func (BatchCreateResourceTags) String ¶ added in v0.1.14
func (o BatchCreateResourceTags) String() string
type BatchDeleteClusterCnRequest ¶ added in v0.1.14
type BatchDeleteClusterCnRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` Body *BatchDeleteCn `json:"body,omitempty"` }
BatchDeleteClusterCnRequest Request Object
func (BatchDeleteClusterCnRequest) String ¶ added in v0.1.14
func (o BatchDeleteClusterCnRequest) String() string
type BatchDeleteClusterCnResponse ¶ added in v0.1.14
type BatchDeleteClusterCnResponse struct { // 批量删除CN节点任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteClusterCnResponse Response Object
func (BatchDeleteClusterCnResponse) String ¶ added in v0.1.14
func (o BatchDeleteClusterCnResponse) String() string
type BatchDeleteCn ¶ added in v0.1.14
type BatchDeleteCn struct { // 批量删除CN节点ID Instances *[]string `json:"instances,omitempty"` }
BatchDeleteCn 批量删除CN节点ID信息
func (BatchDeleteCn) String ¶ added in v0.1.14
func (o BatchDeleteCn) String() string
type BatchDeleteResourceTag ¶ added in v0.1.14
type BatchDeleteResourceTag struct { // 标签键。 Key string `json:"key"` // 标签值。 Value string `json:"value"` }
BatchDeleteResourceTag 标签详情。
func (BatchDeleteResourceTag) String ¶ added in v0.1.14
func (o BatchDeleteResourceTag) String() string
type BatchDeleteResourceTagRequest ¶ added in v0.1.14
type BatchDeleteResourceTagRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` Body *BatchDeleteResourceTags `json:"body,omitempty"` }
BatchDeleteResourceTagRequest Request Object
func (BatchDeleteResourceTagRequest) String ¶ added in v0.1.14
func (o BatchDeleteResourceTagRequest) String() string
type BatchDeleteResourceTagResponse ¶ added in v0.1.14
type BatchDeleteResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteResourceTagResponse Response Object
func (BatchDeleteResourceTagResponse) String ¶ added in v0.1.14
func (o BatchDeleteResourceTagResponse) String() string
type BatchDeleteResourceTags ¶ added in v0.1.14
type BatchDeleteResourceTags struct { // 标签列表 Tags []BatchDeleteResourceTag `json:"tags"` }
BatchDeleteResourceTags 标签列表信息
func (BatchDeleteResourceTags) String ¶ added in v0.1.14
func (o BatchDeleteResourceTags) String() string
type CancelReadonlyClusterRequest ¶ added in v0.1.14
type CancelReadonlyClusterRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
CancelReadonlyClusterRequest Request Object
func (CancelReadonlyClusterRequest) String ¶ added in v0.1.14
func (o CancelReadonlyClusterRequest) String() string
type CancelReadonlyClusterResponse ¶ added in v0.1.14
type CancelReadonlyClusterResponse struct {
HttpStatusCode int `json:"-"`
}
CancelReadonlyClusterResponse Response Object
func (CancelReadonlyClusterResponse) String ¶ added in v0.1.14
func (o CancelReadonlyClusterResponse) String() string
type CheckClusterRequest ¶ added in v0.1.14
type CheckClusterRequest struct {
Body *ClusterCheckRequestBody `json:"body,omitempty"`
}
CheckClusterRequest Request Object
func (CheckClusterRequest) String ¶ added in v0.1.14
func (o CheckClusterRequest) String() string
type CheckClusterResponse ¶ added in v0.1.14
type CheckClusterResponse struct {
HttpStatusCode int `json:"-"`
}
CheckClusterResponse Response Object
func (CheckClusterResponse) String ¶ added in v0.1.14
func (o CheckClusterResponse) String() string
type CheckDisasterNameRequest ¶ added in v0.1.40
type CheckDisasterNameRequest struct { // 容灾名称 DrName string `json:"dr_name"` // 容灾类型 Type *string `json:"type,omitempty"` // 备集群所在region StandbyRegion *string `json:"standby_region,omitempty"` // 备集群所在项目ID StandbyProjectId *string `json:"standby_project_id,omitempty"` }
CheckDisasterNameRequest Request Object
func (CheckDisasterNameRequest) String ¶ added in v0.1.40
func (o CheckDisasterNameRequest) String() string
type CheckDisasterNameResponse ¶ added in v0.1.40
type CheckDisasterNameResponse struct {
HttpStatusCode int `json:"-"`
}
CheckDisasterNameResponse Response Object
func (CheckDisasterNameResponse) String ¶ added in v0.1.40
func (o CheckDisasterNameResponse) String() string
type CheckTableNameResult ¶ added in v0.1.64
type CheckTableNameResult struct { // 数据库名称 Database *string `json:"database,omitempty"` // 恢复源表信息 RestoreTableList *[]string `json:"restore_table_list,omitempty"` // 恢复目的表信息 TargetTableList *[]string `json:"target_table_list,omitempty"` }
CheckTableNameResult 表名检查结果
func (CheckTableNameResult) String ¶ added in v0.1.64
func (o CheckTableNameResult) String() string
type CheckTableRestoreRequest ¶ added in v0.1.64
type CheckTableRestoreRequest struct { // 快照ID SnapshotId string `json:"snapshot_id"` Body *CheckTableRestoreRequestBody `json:"body,omitempty"` }
CheckTableRestoreRequest Request Object
func (CheckTableRestoreRequest) String ¶ added in v0.1.64
func (o CheckTableRestoreRequest) String() string
type CheckTableRestoreRequestBody ¶ added in v0.1.64
type CheckTableRestoreRequestBody struct { // 名称是否区分大小写 CaseSensitive bool `json:"case_sensitive"` // 数据库名称 Database string `json:"database"` // 源表信息 RestoreTableList []TableDetail `json:"restore_table_list"` // 目的表信息 TargetTableList []TableDetail `json:"target_table_list"` }
CheckTableRestoreRequestBody 恢复表前检查表名请求体
func (CheckTableRestoreRequestBody) String ¶ added in v0.1.64
func (o CheckTableRestoreRequestBody) String() string
type CheckTableRestoreResponse ¶ added in v0.1.64
type CheckTableRestoreResponse struct { CheckTableNameResult *CheckTableNameResult `json:"check_table_name_result,omitempty"` HttpStatusCode int `json:"-"` }
CheckTableRestoreResponse Response Object
func (CheckTableRestoreResponse) String ¶ added in v0.1.64
func (o CheckTableRestoreResponse) String() string
type ClusterCheckBody ¶ added in v0.1.14
type ClusterCheckBody struct { // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 集群规格名称 Flavor string `json:"flavor"` // 可用区列表 AvailabilityZones []string `json:"availability_zones"` // 实例节点个数 NumNode int32 `json:"num_node"` // 集群安全组ID SecurityGroupId *string `json:"security_group_id,omitempty"` // 集群版本 DatastoreVersion string `json:"datastore_version"` // 集群虚拟私有云ID VpcId string `json:"vpc_id"` // 集群子网ID SubnetId string `json:"subnet_id"` PublicIp *OpenPublicIp `json:"public_ip,omitempty"` // 跨规格恢复 CrossSpecRestore *string `json:"cross_spec_restore,omitempty"` Volume *Volume `json:"volume,omitempty"` // 旧主机名 OldClusterHostname *string `json:"old_cluster_hostname,omitempty"` RestorePoint *RestorePoint `json:"restore_point,omitempty"` // 标签列表 TagList *[]Tag `json:"tag_list,omitempty"` // 存储池ID DssPoolId *string `json:"dss_pool_id,omitempty"` // 数据库端口 DbPort *string `json:"db_port,omitempty"` // 管理员密码 DbPassword *string `json:"db_password,omitempty"` // 管理员用户 DbName *string `json:"db_name,omitempty"` // cn节点数量 NumCn *int32 `json:"num_cn,omitempty"` // 集群名称 Name *string `json:"name,omitempty"` }
func (ClusterCheckBody) String ¶ added in v0.1.14
func (o ClusterCheckBody) String() string
type ClusterCheckRequestBody ¶ added in v0.1.14
type ClusterCheckRequestBody struct {
Cluster *ClusterCheckBody `json:"cluster"`
}
ClusterCheckRequestBody 创建集群校验请求体
func (ClusterCheckRequestBody) String ¶ added in v0.1.14
func (o ClusterCheckRequestBody) String() string
type ClusterConfiguration ¶ added in v0.1.14
type ClusterConfiguration struct { // 参数组ID。 Id string `json:"id"` // 参数组名称。 Name string `json:"name"` // 参数组类型。 Type string `json:"type"` // 集群参数状态。 - In-Sync:已同步。 - Applying:应用中。 - Pending-Reboot:需重启生效。 - Sync-Failure:应用失败。 Status string `json:"status"` // 参数应用失败原因。 FailReason string `json:"fail_reason"` }
ClusterConfiguration 集群所关联的参数组详情。
func (ClusterConfiguration) String ¶ added in v0.1.14
func (o ClusterConfiguration) String() string
type ClusterDescriptionInfo ¶ added in v0.1.61
type ClusterDescriptionInfo struct { // 集群描述信息 DescriptionInfo string `json:"description_info"` }
ClusterDescriptionInfo 集群描述对象
func (ClusterDescriptionInfo) String ¶ added in v0.1.61
func (o ClusterDescriptionInfo) String() string
type ClusterDetail ¶
type ClusterDetail struct { // 集群ID Id string `json:"id"` // 集群名称 Name string `json:"name"` // 集群状态,有效值包括: - CREATING:创建中 - ACTIVE:可用 - FAILED:不可用 - CREATE_FAILED:创建失败 - DELETING:删除中 - DELETE_FAILED:删除失败 - DELETED:已删除 - FROZEN:已冻结 Status string `json:"status"` // 数据仓库版本 Version string `json:"version"` // 集群上次修改时间,格式为ISO8601:YYYY-MM-DDThh:mm:ssZ Updated string `json:"updated"` // 集群创建时间,格式为ISO8601:YYYY-MM-DDThh:mm:ssZ Created string `json:"created"` // 集群服务端口。 Port int32 `json:"port"` // 集群的内网连接信息。 Endpoints []Endpoints `json:"endpoints"` // 集群实例 Nodes []Nodes `json:"nodes"` // 集群标签 Tags []Tags `json:"tags"` // 管理员用户名 UserName string `json:"user_name"` // 节点数量 NumberOfNode int32 `json:"number_of_node"` // 事件数 RecentEvent int32 `json:"recent_event"` // 可用区 AvailabilityZone string `json:"availability_zone"` // 企业项目ID。值为0表示默认企业项目“default”。 EnterpriseProjectId string `json:"enterprise_project_id"` // 节点类型 NodeType string `json:"node_type"` // 虚拟私有云ID VpcId string `json:"vpc_id"` // 子网ID SubnetId string `json:"subnet_id"` PublicIp *PublicIp `json:"public_ip"` // 集群的公网连接信息,如果未指定,则默认不使用公网连接信息。 PublicEndpoints []PublicEndpoints `json:"public_endpoints"` // 任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。key值的有效值包括: - CREATING:创建中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - REDISTRIBUTING:重分布中 - ELB_BINDING:弹性负载均衡绑定中 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_SWITCHING:弹性负载均衡切换中 - NETWORK_CONFIGURING:网络配置中 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BINDING:登录开通中 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 - REPAIRING:修复中 ActionProgress map[string]string `json:"action_progress"` // “可用”集群状态的子状态,有效值包括: - NORMAL:正常 - READONLY:只读 - REDISTRIBUTING:重分布中 - REDISTRIBUTION-FAILURE:重分布失败 - UNBALANCED:非均衡 - UNBALANCED | READONLY:非均衡,只读 - DEGRADED:节点故障 - DEGRADED | READONLY:节点故障,只读 - DEGRADED | UNBALANCED:节点故障,非均衡 - UNBALANCED | REDISTRIBUTING:非均衡,重分布中 - UNBALANCED | REDISTRIBUTION-FAILURE:非均衡,重分布失败 - READONLY | REDISTRIBUTION-FAILURE:只读,重分布失败 - UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:非均衡,只读,重分布失败 - DEGRADED | REDISTRIBUTION-FAILURE:节点故障,重分布失败 - DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY:节点故障,非均衡,只读 SubStatus string `json:"sub_status"` // 集群管理任务,有效值包括: - UNFREEZING:解冻中 - FREEZING:冻结中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - DELETING_EXT_DATASOURCE:删除MRS连接 - REBOOT_FAILURE:重启失败 - RESIZE_FAILURE:扩容失败 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - CREATING_NODE:添加节点 - CREATE_NODE_FAILED:添加节点失败 - DELETING_NODE:删除节点 - DELETE_NODE_FAILED:删除节点失败 - REDISTRIBUTING:重分布中 - REDISTRIBUTE_FAILURE:重分布失败 - WAITING_REDISTRIBUTION:待重分布 - REDISTRIBUTION_PAUSED:重分布暂停 - ELB_BINDING:弹性负载均衡绑定中 - ELB_BIND_FAILED:弹性负载均衡绑定失败 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_UNBIND_FAILED:弹性负载均衡解绑失败 - ELB_SWITCHING:弹性负载均衡切换中 - ELB_SWITCHING_FAILED:弹性负载均衡切换失败 - NETWORK_CONFIGURING:网络配置中 - NETWORK_CONFIG_FAILED:网络配置失败 - DISK_EXPAND_FAILED:磁盘扩容失败 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - ACTIVE_STANDY_SWITCHOVER_FAILURE:主备恢复失败 - CLUSTER_SHRINK_FAILED:缩容失败 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECK_FAILED:缩容检测失败 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING_FAILED:规格变更失败 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BIND_FAILED:登录开通失败 - MANAGE_IP_BINDING:登录开通中 - ORDER_PENDING:订单待支付 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 TaskStatus string `json:"task_status"` ParameterGroup *ParameterGroup `json:"parameter_group,omitempty"` // 节点类型ID NodeTypeId string `json:"node_type_id"` // 安全组ID SecurityGroupId string `json:"security_group_id"` // 内网IP地址列表 PrivateIp []string `json:"private_ip"` MaintainWindow *MaintainWindow `json:"maintain_window"` ResizeInfo *ResizeInfo `json:"resize_info,omitempty"` FailedReasons *FailedReason `json:"failed_reasons,omitempty"` Elb *ElbResp `json:"elb,omitempty"` }
ClusterDetail 集群详情对象
func (ClusterDetail) String ¶
func (o ClusterDetail) String() string
type ClusterDisasterRecovery ¶ added in v0.1.44
type ClusterDisasterRecovery struct { PrimaryCluster *ClusterRecoveryProgress `json:"primary_cluster,omitempty"` StandbyCluster *ClusterRecoveryProgress `json:"standby_cluster,omitempty"` // latest_barrier_time LatestBarrierTime *string `json:"latest_barrier_time,omitempty"` // last_recovery_spend LastRecoverySpend *int64 `json:"last_recovery_spend,omitempty"` // recovery_point_object RecoveryPointObject *int64 `json:"recovery_point_object,omitempty"` // recovery_time_object RecoveryTimeObject *int64 `json:"recovery_time_object,omitempty"` }
ClusterDisasterRecovery 集群容灾恢复详情
func (ClusterDisasterRecovery) String ¶ added in v0.1.44
func (o ClusterDisasterRecovery) String() string
type ClusterElbInfo ¶ added in v0.1.14
type ClusterElbInfo struct { // 弹性负载均衡ID Id *string `json:"id,omitempty"` // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 弹性负载均衡名称 Name *string `json:"name,omitempty"` // 弹性负载均衡描述 Description *string `json:"description,omitempty"` // 弹性负载均衡地址 VipAddress *string `json:"vip_address,omitempty"` // 子网ID VipSubnetId *string `json:"vip_subnet_id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 弹性负载均衡类型。枚举值:Internal,External Type *string `json:"type,omitempty"` // 弹性负载均衡的管理状态。枚举值:ACTIVE,PENDING_CREATE,ERROR AdminStateUp *bool `json:"admin_state_up,omitempty"` // 绑定状态: 0为未绑定,1为已绑定 Bandwidth *int32 `json:"bandwidth,omitempty"` // 虚拟私有云ID VpcId *string `json:"vpc_id,omitempty"` }
ClusterElbInfo Elb返回体
func (ClusterElbInfo) String ¶ added in v0.1.14
func (o ClusterElbInfo) String() string
type ClusterFlavorResp ¶ added in v0.1.61
type ClusterFlavorResp struct { // ID Id *string `json:"id,omitempty"` // 连接 Links *[]LinkResp `json:"links,omitempty"` }
func (ClusterFlavorResp) String ¶ added in v0.1.61
func (o ClusterFlavorResp) String() string
type ClusterInfo ¶
type ClusterInfo struct { // 集群ID。 Id string `json:"id"` // 集群名称 Name string `json:"name"` // 集群状态,有效值包括: - CREATING:创建中 - ACTIVE:可用 - FAILED:不可用 - CREATE_FAILED:创建失败 - DELETING:删除中 - DELETE_FAILED:删除失败 - DELETED:已删除 - FROZEN:已冻结 Status string `json:"status"` // 数据仓库版本 Version string `json:"version"` // 集群上次修改时间,格式为 ISO8601:YYYY-MM-DDThh:mm:ssZ Updated string `json:"updated"` // 集群创建时间,格式为 ISO8601:YYYY-MM-DDThh:mm:ssZ。 Created string `json:"created"` // 集群服务端口。 Port int32 `json:"port"` // 集群的内网连接信息 Endpoints []Endpoints `json:"endpoints"` // 集群实例 Nodes []Nodes `json:"nodes"` // 集群标签 Tags []Tags `json:"tags"` // 管理员用户名 UserName string `json:"user_name"` // 节点数量 NumberOfNode int32 `json:"number_of_node"` // 事件数 RecentEvent int32 `json:"recent_event"` // 可用区 AvailabilityZone string `json:"availability_zone"` // 企业项目ID。值为0表示默认企业项目“default” EnterpriseProjectId string `json:"enterprise_project_id"` // 节点类型 NodeType string `json:"node_type"` // 虚拟私有云ID VpcId string `json:"vpc_id"` // 子网ID SubnetId string `json:"subnet_id"` PublicIp *PublicIp `json:"public_ip"` // 集群的公网连接信息,如果未指定,则默认不使用公网连接信息。 PublicEndpoints []PublicEndpoints `json:"public_endpoints"` // 任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。key值的有效值包括: - CREATING:创建中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - REDISTRIBUTING:重分布中 - ELB_BINDING:弹性负载均衡绑定中 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_SWITCHING:弹性负载均衡切换中 - NETWORK_CONFIGURING:网络配置中 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BINDING:登录开通中 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 - REPAIRING:修复中 ActionProgress map[string]string `json:"action_progress"` // “可用”集群状态的子状态,有效值包括: - NORMAL:正常 - READONLY:只读 - REDISTRIBUTING:重分布中 - REDISTRIBUTION-FAILURE:重分布失败 - UNBALANCED:非均衡 - UNBALANCED | READONLY:非均衡,只读 - DEGRADED:节点故障 - DEGRADED | READONLY:节点故障,只读 - DEGRADED | UNBALANCED:节点故障,非均衡 - UNBALANCED | REDISTRIBUTING:非均衡,重分布中 - UNBALANCED | REDISTRIBUTION-FAILURE:非均衡,重分布失败 - READONLY | REDISTRIBUTION-FAILURE:只读,重分布失败 - UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:非均衡,只读,重分布失败 - DEGRADED | REDISTRIBUTION-FAILURE:节点故障,重分布失败 - DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY:节点故障,非均衡,只读 SubStatus string `json:"sub_status"` // 集群管理任务,有效值包括: - UNFREEZING:解冻中 - FREEZING:冻结中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - DELETING_EXT_DATASOURCE:删除MRS连接 - REBOOT_FAILURE:重启失败 - RESIZE_FAILURE:扩容失败 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - CREATING_NODE:添加节点 - CREATE_NODE_FAILED:添加节点失败 - DELETING_NODE:删除节点 - DELETE_NODE_FAILED:删除节点失败 - REDISTRIBUTING:重分布中 - REDISTRIBUTE_FAILURE:重分布失败 - WAITING_REDISTRIBUTION:待重分布 - REDISTRIBUTION_PAUSED:重分布暂停 - ELB_BINDING:弹性负载均衡绑定中 - ELB_BIND_FAILED:弹性负载均衡绑定失败 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_UNBIND_FAILED:弹性负载均衡解绑失败 - ELB_SWITCHING:弹性负载均衡切换中 - ELB_SWITCHING_FAILED:弹性负载均衡切换失败 - NETWORK_CONFIGURING:网络配置中 - NETWORK_CONFIG_FAILED:网络配置失败 - DISK_EXPAND_FAILED:磁盘扩容失败 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - ACTIVE_STANDY_SWITCHOVER_FAILURE:主备恢复失败 - CLUSTER_SHRINK_FAILED:缩容失败 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECK_FAILED:缩容检测失败 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING_FAILED:规格变更失败 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BIND_FAILED:登录开通失败 - MANAGE_IP_BINDING:登录开通中 - ORDER_PENDING:订单待支付 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 TaskStatus string `json:"task_status"` // 安全组ID SecurityGroupId string `json:"security_group_id"` FailedReasons *FailedReason `json:"failed_reasons,omitempty"` }
ClusterInfo 集群列表对象。
func (ClusterInfo) String ¶
func (o ClusterInfo) String() string
type ClusterMetric ¶ added in v0.1.86
type ClusterMetric struct { // 指标名称。 Scope *string `json:"scope,omitempty"` // 指标表相关字段信息。 Fields *[]SimpleFieldDto `json:"fields,omitempty"` // 作用域。 MetricName *string `json:"metric_name,omitempty"` // 采集速率。 CollectRate *int32 `json:"collect_rate,omitempty"` // 采集时间范围。 CollectRange *[]string `json:"collect_range,omitempty"` // 创建时间。 CreateTime *string `json:"create_time,omitempty"` }
func (ClusterMetric) String ¶ added in v0.1.86
func (o ClusterMetric) String() string
type ClusterNodeInfo ¶ added in v0.1.72
type ClusterNodeInfo struct { // 节点ID Id *string `json:"id,omitempty"` // 节点名称 Name *string `json:"name,omitempty"` // 节点状态 Status *string `json:"status,omitempty"` // 节点子状态 SubStatus *string `json:"sub_status,omitempty"` // 节点规格 Spec *string `json:"spec,omitempty"` // 实例创建类型 InstCreateType *string `json:"inst_create_type,omitempty"` // 节点别名 AliasName *string `json:"alias_name,omitempty"` // 可用区编码 AzCode *string `json:"az_code,omitempty"` }
ClusterNodeInfo 逻辑集群节点信息
func (ClusterNodeInfo) String ¶ added in v0.1.72
func (o ClusterNodeInfo) String() string
type ClusterRecoveryProgress ¶ added in v0.1.44
type ClusterRecoveryProgress struct { // key Key *string `json:"key,omitempty"` // action_type ActionType *string `json:"action_type,omitempty"` // unrestore_keys UnrestoreKeys *string `json:"unrestore_keys,omitempty"` // action_start_time ActionStartTime *string `json:"action_start_time,omitempty"` // action_end_time ActionEndTime *string `json:"action_end_time,omitempty"` }
ClusterRecoveryProgress 集群容灾进度详情
func (ClusterRecoveryProgress) String ¶ added in v0.1.44
func (o ClusterRecoveryProgress) String() string
type ClusterRing ¶ added in v0.1.72
type ClusterRing struct { // 集群主机信息 RingHosts []RingHost `json:"ring_hosts"` }
ClusterRing 集群主机信息
func (ClusterRing) String ¶ added in v0.1.72
func (o ClusterRing) String() string
type ClusterShrinkReq ¶ added in v0.1.18
type ClusterShrinkReq struct { // 缩容数 ShrinkNumber int32 `json:"shrink_number"` // 在线 Online bool `json:"online"` // 数据库类型 Type string `json:"type"` // 重试 Retry *bool `json:"retry,omitempty"` // 执行备份 ForceBackup bool `json:"force_backup"` // 是否需要委托 NeedAgency bool `json:"need_agency"` }
ClusterShrinkReq 集群缩容请求
func (ClusterShrinkReq) String ¶ added in v0.1.18
func (o ClusterShrinkReq) String() string
type ClusterSnapshots ¶ added in v0.1.14
type ClusterSnapshots struct { // 快照ID。 Id *string `json:"id,omitempty"` // 快照名称。 Name *string `json:"name,omitempty"` // 快照描述。 Description *string `json:"description,omitempty"` // 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。 Started *string `json:"started,omitempty"` // 快照大小,单位 GB。 Size *float64 `json:"size,omitempty"` // 快照状态: - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。 - RESTORING:恢复中。 Status *string `json:"status,omitempty"` // 快照对应的集群ID ClusterId *string `json:"cluster_id,omitempty"` Datastore *Datastore `json:"datastore,omitempty"` // 快照对应的集群名称。 ClusterName *string `json:"cluster_name,omitempty"` // 快照更新时间。 Updated *string `json:"updated,omitempty"` // 快照类型: - MANUAL :手动快照, - AUTO :自动快照。 Type *string `json:"type,omitempty"` // 快照预计开始时间。 BakExpectedStartTime *string `json:"bak_expected_start_time,omitempty"` // 快照保留天数。 BakKeepDay *int32 `json:"bak_keep_day,omitempty"` // 快照策略。 BakPeriod *string `json:"bak_period,omitempty"` // 数据库用户。 DbUser *string `json:"db_user,omitempty"` // 快照进度。 Progress *string `json:"progress,omitempty"` // 快照BakcupKey。 BackupKey *string `json:"backup_key,omitempty"` // 增量快照,使用的前一个快照BakcupKey。 PriorBackupKey *string `json:"prior_backup_key,omitempty"` // 对应全量快照BakcupKey。 BaseBackupKey *string `json:"base_backup_key,omitempty"` // 备份介质。 BackupDevice *string `json:"backup_device,omitempty"` // 累计快照大小。 TotalBackupSize *int32 `json:"total_backup_size,omitempty"` // 对应全量快照名称。 BaseBackupName *string `json:"base_backup_name,omitempty"` // 是否支持就地恢复。 SupportInplaceRestore *bool `json:"support_inplace_restore,omitempty"` // 是否是细粒度备份。 FineGrainedBackup *bool `json:"fine_grained_backup,omitempty"` // 备份级别。 BackupLevel *string `json:"backup_level,omitempty"` FineGrainedBackupDetail *FineGrainedSnapshotDetail `json:"fine_grained_backup_detail,omitempty"` // guestAgent版本。 GuestAgentVersion *string `json:"guest_agent_version,omitempty"` // 集群状态。 ClusterStatus *string `json:"cluster_status,omitempty"` }
ClusterSnapshots 集群快照对象列表
func (ClusterSnapshots) String ¶ added in v0.1.14
func (o ClusterSnapshots) String() string
type ClusterUpdateRecordResp ¶ added in v0.1.64
type ClusterUpdateRecordResp struct { // 升级项目ID ItemId *string `json:"item_id,omitempty"` // 升级状态 Status *string `json:"status,omitempty"` // 升级类型 RecordType *string `json:"record_type,omitempty"` // 升级前版本 FromVersion *string `json:"from_version,omitempty"` // 目标版本 ToVersion *string `json:"to_version,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 升级任务ID JobId *string `json:"job_id,omitempty"` // 失败原因 FailedReason *string `json:"failed_reason,omitempty"` }
ClusterUpdateRecordResp 集群升级记录响应体
func (ClusterUpdateRecordResp) String ¶ added in v0.1.64
func (o ClusterUpdateRecordResp) String() string
type CompatibleConfigurationResp ¶ added in v0.1.61
type CompatibleConfigurationResp struct { // ID Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 连接 Links *[]LinkResp `json:"links,omitempty"` }
func (CompatibleConfigurationResp) String ¶ added in v0.1.61
func (o CompatibleConfigurationResp) String() string
type CompatibleDataStoreResp ¶ added in v0.1.61
type CompatibleDataStoreResp struct { // 类型 Type *string `json:"type,omitempty"` // 版本 Version *string `json:"version,omitempty"` }
func (CompatibleDataStoreResp) String ¶ added in v0.1.61
func (o CompatibleDataStoreResp) String() string
type CompatibleFaultResp ¶ added in v0.1.61
type CompatibleFaultResp struct { // 信息 Message *string `json:"message,omitempty"` // 创建者 Created *string `json:"created,omitempty"` // 详细 Details *string `json:"details,omitempty"` }
func (CompatibleFaultResp) String ¶ added in v0.1.61
func (o CompatibleFaultResp) String() string
type CompatibleInstanceVolumeResp ¶ added in v0.1.61
type CompatibleInstanceVolumeResp struct { // 类型 Type *string `json:"type,omitempty"` // 连接 Used *float32 `json:"used,omitempty"` // 大小 Size *int32 `json:"size,omitempty"` }
func (CompatibleInstanceVolumeResp) String ¶ added in v0.1.61
func (o CompatibleInstanceVolumeResp) String() string
type CompatibleReplicasResp ¶ added in v0.1.61
type CompatibleReplicasResp struct { // ID Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 连接 Links *[]LinkResp `json:"links,omitempty"` }
func (CompatibleReplicasResp) String ¶ added in v0.1.61
func (o CompatibleReplicasResp) String() string
type ConfigurationParameter ¶ added in v0.1.14
type ConfigurationParameter struct { // 参数名称。 Name string `json:"name"` // 参数值。 Values []ConfigurationParameterUnit `json:"values"` // 参数单位。 Unit string `json:"unit"` // 参数类型,包括boolean、string、integer、float、list。 Type string `json:"type"` // 是否只读。 Readonly bool `json:"readonly"` // 参数值范围。 ValueRange string `json:"value_range"` // 是否需要重启。 RestartRequired bool `json:"restart_required"` // 参数描述。 Description string `json:"description"` }
ConfigurationParameter 集群使用的参数配置项详情。
func (ConfigurationParameter) String ¶ added in v0.1.14
func (o ConfigurationParameter) String() string
type ConfigurationParameterUnit ¶ added in v0.1.14
type ConfigurationParameterUnit struct { // 参数类型,包括:cn、dn。 Type string `json:"type"` // 参数值。 Value string `json:"value"` // 参数默认值。 DefaultValue string `json:"default_value"` }
ConfigurationParameterUnit 集群使用的参数配置值。
func (ConfigurationParameterUnit) String ¶ added in v0.1.14
func (o ConfigurationParameterUnit) String() string
type ConfigurationParameterValue ¶ added in v0.1.14
type ConfigurationParameterValue struct { // 参数类型,包括:cn、dn。 Type string `json:"type"` // 参数名称。 Name string `json:"name"` // 参数值。 Value string `json:"value"` }
ConfigurationParameterValue 集群参数配置详情。
func (ConfigurationParameterValue) String ¶ added in v0.1.14
func (o ConfigurationParameterValue) String() string
type ConfigurationParameterValues ¶ added in v0.1.14
type ConfigurationParameterValues struct { // 集群参数配置列表 Configurations []ConfigurationParameterValue `json:"configurations"` }
ConfigurationParameterValues 集群参数配置列表信息
func (ConfigurationParameterValues) String ¶ added in v0.1.14
func (o ConfigurationParameterValues) String() string
type ConfigurationRecordResp ¶ added in v0.1.61
type ConfigurationRecordResp struct { // ID Id *string `json:"id,omitempty"` // 操作 Operator *string `json:"operator,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 失败原因 FailedReason *string `json:"failed_reason,omitempty"` }
func (ConfigurationRecordResp) String ¶ added in v0.1.61
func (o ConfigurationRecordResp) String() string
type ConvertToLogicalClusterRequest ¶ added in v0.1.72
type ConvertToLogicalClusterRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 逻辑集群名称 Name string `json:"name"` }
ConvertToLogicalClusterRequest Request Object
func (ConvertToLogicalClusterRequest) String ¶ added in v0.1.72
func (o ConvertToLogicalClusterRequest) String() string
type ConvertToLogicalClusterResponse ¶ added in v0.1.72
type ConvertToLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
ConvertToLogicalClusterResponse Response Object
func (ConvertToLogicalClusterResponse) String ¶ added in v0.1.72
func (o ConvertToLogicalClusterResponse) String() string
type CoordinatorNode ¶ added in v0.1.14
type CoordinatorNode struct { // 节点ID。 Id string `json:"id"` // 节点名称。 Name string `json:"name"` // 内网IP。 PrivateIp string `json:"private_ip"` }
CoordinatorNode CN节点详情。
func (CoordinatorNode) String ¶ added in v0.1.14
func (o CoordinatorNode) String() string
type CopySnapshotRequest ¶ added in v0.1.14
type CopySnapshotRequest struct { // 快照ID SnapshotId string `json:"snapshot_id"` Body *LinkCopyReq `json:"body,omitempty"` }
CopySnapshotRequest Request Object
func (CopySnapshotRequest) String ¶ added in v0.1.14
func (o CopySnapshotRequest) String() string
type CopySnapshotResponse ¶ added in v0.1.14
type CopySnapshotResponse struct { // 快照id。 SnapshotId *string `json:"snapshot_id,omitempty"` HttpStatusCode int `json:"-"` }
CopySnapshotResponse Response Object
func (CopySnapshotResponse) String ¶ added in v0.1.14
func (o CopySnapshotResponse) String() string
type CreateAlarmSubRequest ¶ added in v0.1.14
type CreateAlarmSubRequest struct {
Body *AlarmSubRequest `json:"body,omitempty"`
}
CreateAlarmSubRequest Request Object
func (CreateAlarmSubRequest) String ¶ added in v0.1.14
func (o CreateAlarmSubRequest) String() string
type CreateAlarmSubResponse ¶ added in v0.1.14
type CreateAlarmSubResponse struct { // 告警订阅ID Id *string `json:"id,omitempty"` // 告警订阅名称 Name *string `json:"name,omitempty"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS NameSpace *string `json:"name_space,omitempty"` // 消息主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息主题类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
CreateAlarmSubResponse Response Object
func (CreateAlarmSubResponse) String ¶ added in v0.1.14
func (o CreateAlarmSubResponse) String() string
type CreateClusterDns ¶ added in v0.1.14
type CreateClusterDns struct { // 待创建的域名。 Name string `json:"name"` // 域名类型。 - public:公网域名。 - private:内网域名。 Type string `json:"type"` // 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 - 取值范围:300~2147483647。 - 默认值为300s。 Ttl int32 `json:"ttl"` }
CreateClusterDns 申请的域名信息。
func (CreateClusterDns) String ¶ added in v0.1.14
func (o CreateClusterDns) String() string
type CreateClusterDnsRequest ¶ added in v0.1.14
type CreateClusterDnsRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` Body *CreateClusterDns `json:"body,omitempty"` }
CreateClusterDnsRequest Request Object
func (CreateClusterDnsRequest) String ¶ added in v0.1.14
func (o CreateClusterDnsRequest) String() string
type CreateClusterDnsResponse ¶ added in v0.1.14
type CreateClusterDnsResponse struct {
HttpStatusCode int `json:"-"`
}
CreateClusterDnsResponse Response Object
func (CreateClusterDnsResponse) String ¶ added in v0.1.14
func (o CreateClusterDnsResponse) String() string
type CreateClusterInfo ¶
type CreateClusterInfo struct { // 节点类型 NodeType string `json:"node_type"` // 集群节点数量,集群模式取值范围为3~256,实时数仓(单机模式)取值为1。 NumberOfNode int32 `json:"number_of_node"` // 指定子网ID,用于集群网络配置。 SubnetId string `json:"subnet_id"` // 指定安全组ID,用于集群网络配置。 SecurityGroupId string `json:"security_group_id"` // 指定虚拟私有云ID,用于集群网络配置。 VpcId string `json:"vpc_id"` // 配置集群可用区。 AvailabilityZone *string `json:"availability_zone,omitempty"` // 集群服务端口,取值范围为8000~30000,默认值:8000。 Port *int32 `json:"port,omitempty"` // 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线或下划线,长度为4~64个字符。 Name string `json:"name"` // DWS集群管理员用户名。用户命名要求如下: - 只能由小写字母、数字或下划线组成。 - 必须由小写字母或下划线开头。 - 长度为1~63个字符。 - 用户名不能为DWS数据库的关键字。 UserName string `json:"user_name"` // DWS集群管理员密码。 UserPwd string `json:"user_pwd"` PublicIp *PublicIp `json:"public_ip,omitempty"` // CN部署量,取值范围为2~集群节点数,最大值为20,默认值为3。 NumberOfCn *int32 `json:"number_of_cn,omitempty"` // 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Tags *Tags `json:"tags,omitempty"` }
CreateClusterInfo 集群对象
func (CreateClusterInfo) String ¶
func (o CreateClusterInfo) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Body *CreateClusterRequestBody `json:"body,omitempty"`
}
CreateClusterRequest Request Object
func (CreateClusterRequest) String ¶
func (o CreateClusterRequest) String() string
type CreateClusterRequestBody ¶
type CreateClusterRequestBody struct {
Cluster *CreateClusterInfo `json:"cluster"`
}
CreateClusterRequestBody This is a auto create Body Object
func (CreateClusterRequestBody) String ¶
func (o CreateClusterRequestBody) String() string
type CreateClusterResponse ¶
type CreateClusterResponse struct { Cluster *Cluster `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
CreateClusterResponse Response Object
func (CreateClusterResponse) String ¶
func (o CreateClusterResponse) String() string
type CreateClusterV2Request ¶ added in v0.1.27
type CreateClusterV2Request struct {
Body *V2CreateClusterReq `json:"body,omitempty"`
}
CreateClusterV2Request Request Object
func (CreateClusterV2Request) String ¶ added in v0.1.27
func (o CreateClusterV2Request) String() string
type CreateClusterV2Response ¶ added in v0.1.27
type CreateClusterV2Response struct { Cluster *Cluster `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
CreateClusterV2Response Response Object
func (CreateClusterV2Response) String ¶ added in v0.1.27
func (o CreateClusterV2Response) String() string
type CreateClusterWorkloadRequest ¶ added in v0.1.14
type CreateClusterWorkloadRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *WorkloadStatusReq `json:"body,omitempty"` }
CreateClusterWorkloadRequest Request Object
func (CreateClusterWorkloadRequest) String ¶ added in v0.1.14
func (o CreateClusterWorkloadRequest) String() string
type CreateClusterWorkloadResponse ¶ added in v0.1.14
type CreateClusterWorkloadResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
CreateClusterWorkloadResponse Response Object
func (CreateClusterWorkloadResponse) String ¶ added in v0.1.14
func (o CreateClusterWorkloadResponse) String() string
type CreateDataSourceRequest ¶ added in v0.1.14
type CreateDataSourceRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *ExtDataSourceReq `json:"body,omitempty"` }
CreateDataSourceRequest Request Object
func (CreateDataSourceRequest) String ¶ added in v0.1.14
func (o CreateDataSourceRequest) String() string
type CreateDataSourceResponse ¶ added in v0.1.14
type CreateDataSourceResponse struct { // 数据源id。 Id *string `json:"id,omitempty"` // 创建数据源job_id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDataSourceResponse Response Object
func (CreateDataSourceResponse) String ¶ added in v0.1.14
func (o CreateDataSourceResponse) String() string
type CreateDisasterRecovery ¶ added in v0.1.14
type CreateDisasterRecovery struct { // 名称 Name string `json:"name"` // 容灾类型 DrType string `json:"dr_type"` // 主集群ID PrimaryClusterId string `json:"primary_cluster_id"` // 备集群ID StandbyClusterId string `json:"standby_cluster_id"` // 同步周期 DrSyncPeriod string `json:"dr_sync_period"` // 主集群OBS桶 PrimaryObsBucket *string `json:"primary_obs_bucket,omitempty"` // 备集群obs桶 StandbyObsBucket *string `json:"standby_obs_bucket,omitempty"` }
func (CreateDisasterRecovery) String ¶ added in v0.1.14
func (o CreateDisasterRecovery) String() string
type CreateDisasterRecoveryReq ¶ added in v0.1.18
type CreateDisasterRecoveryReq struct {
DisasterRecovery *CreateDisasterRecovery `json:"disaster_recovery"`
}
func (CreateDisasterRecoveryReq) String ¶ added in v0.1.18
func (o CreateDisasterRecoveryReq) String() string
type CreateDisasterRecoveryRequest ¶ added in v0.1.14
type CreateDisasterRecoveryRequest struct {
Body *CreateDisasterRecoveryReq `json:"body,omitempty"`
}
CreateDisasterRecoveryRequest Request Object
func (CreateDisasterRecoveryRequest) String ¶ added in v0.1.14
func (o CreateDisasterRecoveryRequest) String() string
type CreateDisasterRecoveryResponse ¶ added in v0.1.14
type CreateDisasterRecoveryResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
CreateDisasterRecoveryResponse Response Object
func (CreateDisasterRecoveryResponse) String ¶ added in v0.1.14
func (o CreateDisasterRecoveryResponse) String() string
type CreateEventSubRequest ¶ added in v0.1.14
type CreateEventSubRequest struct {
Body *EventSubRequest `json:"body,omitempty"`
}
CreateEventSubRequest Request Object
func (CreateEventSubRequest) String ¶ added in v0.1.14
func (o CreateEventSubRequest) String() string
type CreateEventSubResponse ¶ added in v0.1.14
type CreateEventSubResponse struct { // 订阅ID Id *string `json:"id,omitempty"` // 订阅名称 Name *string `json:"name,omitempty"` // 事件源类型 SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` // 消息通知主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息通知主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息通知类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
CreateEventSubResponse Response Object
func (CreateEventSubResponse) String ¶ added in v0.1.14
func (o CreateEventSubResponse) String() string
type CreateLogicalClusterInfo ¶ added in v0.1.72
type CreateLogicalClusterInfo struct { // 逻辑集群名称 LogicalClusterName string `json:"logical_cluster_name"` // 逻辑集群环信息 ClusterRings []ClusterRing `json:"cluster_rings"` }
CreateLogicalClusterInfo 创建逻辑集群请求信息
func (CreateLogicalClusterInfo) String ¶ added in v0.1.72
func (o CreateLogicalClusterInfo) String() string
type CreateLogicalClusterRequest ¶ added in v0.1.72
type CreateLogicalClusterRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *CreateLogicalClusterRequestBody `json:"body,omitempty"` }
CreateLogicalClusterRequest Request Object
func (CreateLogicalClusterRequest) String ¶ added in v0.1.72
func (o CreateLogicalClusterRequest) String() string
type CreateLogicalClusterRequestBody ¶ added in v0.1.72
type CreateLogicalClusterRequestBody struct {
LogicalCluster *CreateLogicalClusterInfo `json:"logical_cluster"`
}
CreateLogicalClusterRequestBody This is a auto create Body Object
func (CreateLogicalClusterRequestBody) String ¶ added in v0.1.72
func (o CreateLogicalClusterRequestBody) String() string
type CreateLogicalClusterResponse ¶ added in v0.1.72
type CreateLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
CreateLogicalClusterResponse Response Object
func (CreateLogicalClusterResponse) String ¶ added in v0.1.72
func (o CreateLogicalClusterResponse) String() string
type CreateSnapshotPolicyRequest ¶ added in v0.1.14
type CreateSnapshotPolicyRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *BackupPolicy `json:"body,omitempty"` }
CreateSnapshotPolicyRequest Request Object
func (CreateSnapshotPolicyRequest) String ¶ added in v0.1.14
func (o CreateSnapshotPolicyRequest) String() string
type CreateSnapshotPolicyResponse ¶ added in v0.1.14
type CreateSnapshotPolicyResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateSnapshotPolicyResponse Response Object
func (CreateSnapshotPolicyResponse) String ¶ added in v0.1.14
func (o CreateSnapshotPolicyResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct {
Body *CreateSnapshotRequestBody `json:"body,omitempty"`
}
CreateSnapshotRequest Request Object
func (CreateSnapshotRequest) String ¶
func (o CreateSnapshotRequest) String() string
type CreateSnapshotRequestBody ¶
type CreateSnapshotRequestBody struct {
Snapshot *Snapshot `json:"snapshot"`
}
CreateSnapshotRequestBody This is a auto create Body Object
func (CreateSnapshotRequestBody) String ¶
func (o CreateSnapshotRequestBody) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { Snapshot *SnapshotResp `json:"snapshot,omitempty"` HttpStatusCode int `json:"-"` }
CreateSnapshotResponse Response Object
func (CreateSnapshotResponse) String ¶
func (o CreateSnapshotResponse) String() string
type CreateWorkloadPlanRequest ¶ added in v0.1.14
type CreateWorkloadPlanRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *WorkloadPlanReq `json:"body,omitempty"` }
CreateWorkloadPlanRequest Request Object
func (CreateWorkloadPlanRequest) String ¶ added in v0.1.14
func (o CreateWorkloadPlanRequest) String() string
type CreateWorkloadPlanResponse ¶ added in v0.1.14
type CreateWorkloadPlanResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
CreateWorkloadPlanResponse Response Object
func (CreateWorkloadPlanResponse) String ¶ added in v0.1.14
func (o CreateWorkloadPlanResponse) String() string
type CrossRegionSnapshotConfig ¶ added in v0.1.64
type CrossRegionSnapshotConfig struct { // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 集群名称 ClusterName *string `json:"cluster_name,omitempty"` // 源区域 SourceRegion *string `json:"source_region,omitempty"` // 源项目ID SourceProjectId *string `json:"source_project_id,omitempty"` // 目的区域 DestinationRegion *string `json:"destination_region,omitempty"` // 目的项目ID DestinationProjectId *string `json:"destination_project_id,omitempty"` // 状态 Status *bool `json:"status,omitempty"` // 保存时间 BackKeepDay *int32 `json:"back_keep_day,omitempty"` // 总大小 TotalSize *int64 `json:"total_size,omitempty"` }
CrossRegionSnapshotConfig 快照跨区域配置信息
func (CrossRegionSnapshotConfig) String ¶ added in v0.1.64
func (o CrossRegionSnapshotConfig) String() string
type DatabaseOmUserActionReq ¶ added in v0.1.61
type DatabaseOmUserActionReq struct { // 操作类型,取值如下: - addOmUser:添加运维用户 - deleteOmUser:删除运维用户 - increaseOmUserPeriod :延长用户有效期 Operation string `json:"operation"` }
DatabaseOmUserActionReq 数据库运维用户操作请求
func (DatabaseOmUserActionReq) String ¶ added in v0.1.61
func (o DatabaseOmUserActionReq) String() string
type DatabaseOmUserInfo ¶ added in v0.1.61
type DatabaseOmUserInfo struct { // 运维账户状态 OmUserStatus *string `json:"om_user_status,omitempty"` // 运维账户过期状态 OmUserExpiresTime *string `json:"om_user_expires_time,omitempty"` }
DatabaseOmUserInfo 数据库运维账户信息 包含账户状态 账户过期时间(时间戳)
func (DatabaseOmUserInfo) String ¶ added in v0.1.61
func (o DatabaseOmUserInfo) String() string
type DatabasePermissionReq ¶ added in v0.1.44
type DatabasePermissionReq struct { // 对象类型 [DATABASE | SCHEMA | TABLE | VIEW | COLUMN | FUNCTION| SEQUENCE | NODEGROUP | ROLE] Type string `json:"type"` // 是否授权操作 IsGrant bool `json:"is_grant"` // 授权列表 is_grant为true时必填 GrantList *[]Grant `json:"grant_list,omitempty"` // 撤销权限列表 is_grant为false时必填 RevokeList *[]Revoke `json:"revoke_list,omitempty"` // 被授权角色列表 RoleList []string `json:"role_list"` // 权限所属对象列表 ObjectList *interface{} `json:"object_list"` // schema下所有数据库对象权限,默认false AllObject *bool `json:"all_object,omitempty"` // 撤销权限是否级联撤销 默认 true Cascade *bool `json:"cascade,omitempty"` // 数据库名称 Database string `json:"database"` // 模式名称 Schema *string `json:"schema,omitempty"` // 表名 Table *string `json:"table,omitempty"` }
DatabasePermissionReq 数据库权限请求
func (DatabasePermissionReq) String ¶ added in v0.1.44
func (o DatabasePermissionReq) String() string
type DatabaseUser ¶ added in v0.1.44
type DatabaseUser struct { // 用户名 Name *string `json:"name,omitempty"` // 是否可以登陆 Login *bool `json:"login,omitempty"` }
DatabaseUser 用户基本信息
func (DatabaseUser) String ¶ added in v0.1.44
func (o DatabaseUser) String() string
type DatabaseUserInfoReq ¶ added in v0.1.44
type DatabaseUserInfoReq struct { // 是否可以登陆 Login *bool `json:"login,omitempty"` // 创建角色权限 Createrole *bool `json:"createrole,omitempty"` // 创建数据库权限 Createdb *bool `json:"createdb,omitempty"` // 系统管理员 Systemadmin *bool `json:"systemadmin,omitempty"` // 审计管理员 Auditadmin *bool `json:"auditadmin,omitempty"` // 继承所在组权限 Inherit *bool `json:"inherit,omitempty"` // 访问外表权限 Useft *bool `json:"useft,omitempty"` // 连接数限制 ConnLimit *int32 `json:"conn_limit,omitempty"` // 是否允许流复制 Replication *bool `json:"replication,omitempty"` // 角色生效时间 yyyy-MM-ddTHH:mm:ssZ ValidBegin *string `json:"valid_begin,omitempty"` // 角色过期时间 yyyy-MM-ddTHH:mm:ssZ ValidUntil *string `json:"valid_until,omitempty"` // 是否锁定 Lock *bool `json:"lock,omitempty"` }
DatabaseUserInfoReq 用户详细信息
func (DatabaseUserInfoReq) String ¶ added in v0.1.44
func (o DatabaseUserInfoReq) String() string
type Datastore ¶ added in v0.1.14
type Datastore struct { // 集群类型。 Type *string `json:"type,omitempty"` // 集群版本。 Version *string `json:"version,omitempty"` }
Datastore 集群版本
type DeleteAlarmSubRequest ¶ added in v0.1.14
type DeleteAlarmSubRequest struct { // 告警订阅ID AlarmSubId string `json:"alarm_sub_id"` }
DeleteAlarmSubRequest Request Object
func (DeleteAlarmSubRequest) String ¶ added in v0.1.14
func (o DeleteAlarmSubRequest) String() string
type DeleteAlarmSubResponse ¶ added in v0.1.14
type DeleteAlarmSubResponse struct { // 告警订阅ID Id *string `json:"id,omitempty"` // 告警订阅名称 Name *string `json:"name,omitempty"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS NameSpace *string `json:"name_space,omitempty"` // 消息主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息主题类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAlarmSubResponse Response Object
func (DeleteAlarmSubResponse) String ¶ added in v0.1.14
func (o DeleteAlarmSubResponse) String() string
type DeleteClusterDnsRequest ¶ added in v0.1.14
type DeleteClusterDnsRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` // 域名类型,支持删除公网域名。 Type string `json:"type"` }
DeleteClusterDnsRequest Request Object
func (DeleteClusterDnsRequest) String ¶ added in v0.1.14
func (o DeleteClusterDnsRequest) String() string
type DeleteClusterDnsResponse ¶ added in v0.1.14
type DeleteClusterDnsResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteClusterDnsResponse Response Object
func (DeleteClusterDnsResponse) String ¶ added in v0.1.14
func (o DeleteClusterDnsResponse) String() string
type DeleteClusterNodesRequest ¶ added in v0.1.72
type DeleteClusterNodesRequest struct { // 指定待删除节点集群的ID ClusterId string `json:"cluster_id"` Body *DeleteClusterNodesRequestBody `json:"body,omitempty"` }
DeleteClusterNodesRequest Request Object
func (DeleteClusterNodesRequest) String ¶ added in v0.1.72
func (o DeleteClusterNodesRequest) String() string
type DeleteClusterNodesRequestBody ¶ added in v0.1.72
type DeleteClusterNodesRequestBody struct { // 逻辑集群节点ID列表 NodeList []string `json:"node_list"` // 操作类型,clear|delete OperateType string `json:"operate_type"` }
DeleteClusterNodesRequestBody 逻辑集群节点操作请求
func (DeleteClusterNodesRequestBody) String ¶ added in v0.1.72
func (o DeleteClusterNodesRequestBody) String() string
type DeleteClusterNodesResponse ¶ added in v0.1.72
type DeleteClusterNodesResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
DeleteClusterNodesResponse Response Object
func (DeleteClusterNodesResponse) String ¶ added in v0.1.72
func (o DeleteClusterNodesResponse) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { // 指定待删除集群的ID ClusterId string `json:"cluster_id"` Body *DeleteClusterRequestBody `json:"body,omitempty"` }
DeleteClusterRequest Request Object
func (DeleteClusterRequest) String ¶
func (o DeleteClusterRequest) String() string
type DeleteClusterRequestBody ¶
type DeleteClusterRequestBody struct { // 集群需要保留的快照数 KeepLastManualSnapshot int32 `json:"keep_last_manual_snapshot"` }
DeleteClusterRequestBody This is a auto create Body Object
func (DeleteClusterRequestBody) String ¶
func (o DeleteClusterRequestBody) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteClusterResponse Response Object
func (DeleteClusterResponse) String ¶
func (o DeleteClusterResponse) String() string
type DeleteDataSourceRequest ¶ added in v0.1.18
type DeleteDataSourceRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 数据源id ExtDataSourceId string `json:"ext_data_source_id"` }
DeleteDataSourceRequest Request Object
func (DeleteDataSourceRequest) String ¶ added in v0.1.18
func (o DeleteDataSourceRequest) String() string
type DeleteDataSourceResponse ¶ added in v0.1.18
type DeleteDataSourceResponse struct { // 删除数据源job_id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDataSourceResponse Response Object
func (DeleteDataSourceResponse) String ¶ added in v0.1.18
func (o DeleteDataSourceResponse) String() string
type DeleteDisasterRecoveryRequest ¶ added in v0.1.14
type DeleteDisasterRecoveryRequest struct { // 集群的ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
DeleteDisasterRecoveryRequest Request Object
func (DeleteDisasterRecoveryRequest) String ¶ added in v0.1.14
func (o DeleteDisasterRecoveryRequest) String() string
type DeleteDisasterRecoveryResponse ¶ added in v0.1.14
type DeleteDisasterRecoveryResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDisasterRecoveryResponse Response Object
func (DeleteDisasterRecoveryResponse) String ¶ added in v0.1.14
func (o DeleteDisasterRecoveryResponse) String() string
type DeleteEventSubRequest ¶ added in v0.1.14
type DeleteEventSubRequest struct { // 事件订阅ID EventSubId string `json:"event_sub_id"` }
DeleteEventSubRequest Request Object
func (DeleteEventSubRequest) String ¶ added in v0.1.14
func (o DeleteEventSubRequest) String() string
type DeleteEventSubResponse ¶ added in v0.1.14
type DeleteEventSubResponse struct { // 订阅ID Id *string `json:"id,omitempty"` // 订阅名称 Name *string `json:"name,omitempty"` // 事件源类型 SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` // 消息通知主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息通知主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息通知类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
DeleteEventSubResponse Response Object
func (DeleteEventSubResponse) String ¶ added in v0.1.14
func (o DeleteEventSubResponse) String() string
type DeleteLogicalClusterRequest ¶ added in v0.1.72
type DeleteLogicalClusterRequest struct { // 指定待删除集群的ID ClusterId string `json:"cluster_id"` // 指定待删除逻辑集群的ID LogicalClusterId string `json:"logical_cluster_id"` }
DeleteLogicalClusterRequest Request Object
func (DeleteLogicalClusterRequest) String ¶ added in v0.1.72
func (o DeleteLogicalClusterRequest) String() string
type DeleteLogicalClusterResponse ¶ added in v0.1.72
type DeleteLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
DeleteLogicalClusterResponse Response Object
func (DeleteLogicalClusterResponse) String ¶ added in v0.1.72
func (o DeleteLogicalClusterResponse) String() string
type DeleteQueueUserListRequest ¶ added in v0.1.77
type DeleteQueueUserListRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 队列名称 QueueName string `json:"queue_name"` Body *WorkloadQueueUserReq `json:"body,omitempty"` }
DeleteQueueUserListRequest Request Object
func (DeleteQueueUserListRequest) String ¶ added in v0.1.77
func (o DeleteQueueUserListRequest) String() string
type DeleteQueueUserListResponse ¶ added in v0.1.77
type DeleteQueueUserListResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
DeleteQueueUserListResponse Response Object
func (DeleteQueueUserListResponse) String ¶ added in v0.1.77
func (o DeleteQueueUserListResponse) String() string
type DeleteSnapshotCrossRegionPolicyRequest ¶ added in v0.1.64
type DeleteSnapshotCrossRegionPolicyRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
DeleteSnapshotCrossRegionPolicyRequest Request Object
func (DeleteSnapshotCrossRegionPolicyRequest) String ¶ added in v0.1.64
func (o DeleteSnapshotCrossRegionPolicyRequest) String() string
type DeleteSnapshotCrossRegionPolicyResponse ¶ added in v0.1.64
type DeleteSnapshotCrossRegionPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSnapshotCrossRegionPolicyResponse Response Object
func (DeleteSnapshotCrossRegionPolicyResponse) String ¶ added in v0.1.64
func (o DeleteSnapshotCrossRegionPolicyResponse) String() string
type DeleteSnapshotPolicyRequest ¶ added in v0.1.14
type DeleteSnapshotPolicyRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 快照策略ID。 Id string `json:"id"` }
DeleteSnapshotPolicyRequest Request Object
func (DeleteSnapshotPolicyRequest) String ¶ added in v0.1.14
func (o DeleteSnapshotPolicyRequest) String() string
type DeleteSnapshotPolicyResponse ¶ added in v0.1.14
type DeleteSnapshotPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSnapshotPolicyResponse Response Object
func (DeleteSnapshotPolicyResponse) String ¶ added in v0.1.14
func (o DeleteSnapshotPolicyResponse) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { // 快照ID。 SnapshotId string `json:"snapshot_id"` }
DeleteSnapshotRequest Request Object
func (DeleteSnapshotRequest) String ¶
func (o DeleteSnapshotRequest) String() string
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSnapshotResponse Response Object
func (DeleteSnapshotResponse) String ¶
func (o DeleteSnapshotResponse) String() string
type DeleteWorkloadPlanRequest ¶ added in v0.1.64
type DeleteWorkloadPlanRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` }
DeleteWorkloadPlanRequest Request Object
func (DeleteWorkloadPlanRequest) String ¶ added in v0.1.64
func (o DeleteWorkloadPlanRequest) String() string
type DeleteWorkloadPlanResponse ¶ added in v0.1.64
type DeleteWorkloadPlanResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
DeleteWorkloadPlanResponse Response Object
func (DeleteWorkloadPlanResponse) String ¶ added in v0.1.64
func (o DeleteWorkloadPlanResponse) String() string
type DeleteWorkloadPlanStageRequest ¶ added in v0.1.77
type DeleteWorkloadPlanStageRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` // 计划阶段ID StageId string `json:"stage_id"` }
DeleteWorkloadPlanStageRequest Request Object
func (DeleteWorkloadPlanStageRequest) String ¶ added in v0.1.77
func (o DeleteWorkloadPlanStageRequest) String() string
type DeleteWorkloadPlanStageResponse ¶ added in v0.1.77
type DeleteWorkloadPlanStageResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
DeleteWorkloadPlanStageResponse Response Object
func (DeleteWorkloadPlanStageResponse) String ¶ added in v0.1.77
func (o DeleteWorkloadPlanStageResponse) String() string
type DeleteWorkloadQueueRequest ¶ added in v0.1.14
type DeleteWorkloadQueueRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 逻辑集群名称。逻辑集群模式下该字段必填。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 工作负载队列名称。 WorkloadQueueName string `json:"workload_queue_name"` }
DeleteWorkloadQueueRequest Request Object
func (DeleteWorkloadQueueRequest) String ¶ added in v0.1.14
func (o DeleteWorkloadQueueRequest) String() string
type DeleteWorkloadQueueResponse ¶ added in v0.1.14
type DeleteWorkloadQueueResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
DeleteWorkloadQueueResponse Response Object
func (DeleteWorkloadQueueResponse) String ¶ added in v0.1.14
func (o DeleteWorkloadQueueResponse) String() string
type Detail ¶
type Detail struct { // 属性类型。 Type *string `json:"type,omitempty"` // 属性值。 Value string `json:"value"` // 属性单位。 Unit string `json:"unit"` }
Detail 节点类型详细
type DisableLtsLogsRequest ¶ added in v0.1.72
type DisableLtsLogsRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` }
DisableLtsLogsRequest Request Object
func (DisableLtsLogsRequest) String ¶ added in v0.1.72
func (o DisableLtsLogsRequest) String() string
type DisableLtsLogsResponse ¶ added in v0.1.72
type DisableLtsLogsResponse struct {
HttpStatusCode int `json:"-"`
}
DisableLtsLogsResponse Response Object
func (DisableLtsLogsResponse) String ¶ added in v0.1.72
func (o DisableLtsLogsResponse) String() string
type DisassociateEipRequest ¶ added in v0.1.14
type DisassociateEipRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 集群绑定的弹性IP EipId string `json:"eip_id"` }
DisassociateEipRequest Request Object
func (DisassociateEipRequest) String ¶ added in v0.1.14
func (o DisassociateEipRequest) String() string
type DisassociateEipResponse ¶ added in v0.1.14
type DisassociateEipResponse struct {
HttpStatusCode int `json:"-"`
}
DisassociateEipResponse Response Object
func (DisassociateEipResponse) String ¶ added in v0.1.14
func (o DisassociateEipResponse) String() string
type DisassociateElbRequest ¶ added in v0.1.14
type DisassociateElbRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 集群已绑定的弹性负载均衡ID ElbId string `json:"elb_id"` }
DisassociateElbRequest Request Object
func (DisassociateElbRequest) String ¶ added in v0.1.14
func (o DisassociateElbRequest) String() string
type DisassociateElbResponse ¶ added in v0.1.14
type DisassociateElbResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
DisassociateElbResponse Response Object
func (DisassociateElbResponse) String ¶ added in v0.1.14
func (o DisassociateElbResponse) String() string
type DisasterRecovery ¶ added in v0.1.18
type DisasterRecovery struct { // ID Id *string `json:"id,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 容灾类型 DrType *string `json:"dr_type,omitempty"` // 主集群ID PrimaryClusterId *string `json:"primary_cluster_id,omitempty"` // 主集群名称 PrimaryClusterName *string `json:"primary_cluster_name,omitempty"` // 备集群ID StandbyClusterId *string `json:"standby_cluster_id,omitempty"` // 备集群名称 StandbyClusterName *string `json:"standby_cluster_name,omitempty"` // 主集群角色 PrimaryClusterRole *string `json:"primary_cluster_role,omitempty"` // 备集群角色 StandbyClusterRole *string `json:"standby_cluster_role,omitempty"` // 主集群状态 PrimaryClusterStatus *string `json:"primary_cluster_status,omitempty"` // 备集群状态 StandbyClusterStatus *string `json:"standby_cluster_status,omitempty"` // 主集群region PrimaryClusterRegion *string `json:"primary_cluster_region,omitempty"` // 备集群region StandbyClusterRegion *string `json:"standby_cluster_region,omitempty"` // 主集群project_id PrimaryClusterProjectId *string `json:"primary_cluster_project_id,omitempty"` // 备集群project_id StandbyClusterProjectId *string `json:"standby_cluster_project_id,omitempty"` // 最近同步时间 LastDisasterTime *string `json:"last_disaster_time,omitempty"` // 启动时间 StartTime *string `json:"start_time,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` }
func (DisasterRecovery) String ¶ added in v0.1.18
func (o DisasterRecovery) String() string
type DisasterRecoveryCluster ¶ added in v0.1.40
type DisasterRecoveryCluster struct { // 容灾集群信息ID Id *string `json:"id,omitempty"` // 容灾集群名称 Name *string `json:"name,omitempty"` // 容灾集群所在AZ ClusterAz *string `json:"cluster_az,omitempty"` // 容灾集群角色 Role *string `json:"role,omitempty"` // 容灾集群所在region Region *string `json:"region,omitempty"` // 容灾集群状态 Status *string `json:"status,omitempty"` // 容灾进度 Progress *string `json:"progress,omitempty"` // 上一次容灾时间 LastSuccessTime *string `json:"last_success_time,omitempty"` // OBS桶名称 ObsBucketName *string `json:"obs_bucket_name,omitempty"` }
DisasterRecoveryCluster 容灾集群信息
func (DisasterRecoveryCluster) String ¶ added in v0.1.40
func (o DisasterRecoveryCluster) String() string
type DisasterRecoveryClusterVo ¶ added in v0.1.40
type DisasterRecoveryClusterVo struct { // 集群ID Id *string `json:"id,omitempty"` // 集群名称 Name *string `json:"name,omitempty"` }
DisasterRecoveryClusterVo 容灾可用集群信息
func (DisasterRecoveryClusterVo) String ¶ added in v0.1.40
func (o DisasterRecoveryClusterVo) String() string
type DisasterRecoveryId ¶ added in v0.1.14
type DisasterRecoveryId struct { // 容灾ID Id *string `json:"id,omitempty"` }
func (DisasterRecoveryId) String ¶ added in v0.1.14
func (o DisasterRecoveryId) String() string
type DisasterRecoveryQueryResp ¶ added in v0.1.44
type DisasterRecoveryQueryResp struct { // 容灾ID Id *string `json:"id,omitempty"` // 容灾名称 Name *string `json:"name,omitempty"` // 容灾类型 DrType *string `json:"dr_type,omitempty"` // 容灾状态 Status *string `json:"status,omitempty"` PrimaryCluster *DisasterRecoveryCluster `json:"primary_cluster,omitempty"` StandbyCluster *DisasterRecoveryCluster `json:"standby_cluster,omitempty"` // 容灾同步周期 DrSyncPeriod *string `json:"dr_sync_period,omitempty"` // 容灾启动时间 StartTime *string `json:"start_time,omitempty"` // 容灾创建时间 CreateTime *string `json:"create_time,omitempty"` }
DisasterRecoveryQueryResp 查询容灾信息返回体
func (DisasterRecoveryQueryResp) String ¶ added in v0.1.44
func (o DisasterRecoveryQueryResp) String() string
type DiskResp ¶ added in v0.1.14
type DiskResp struct { // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 主机名称 HostName *string `json:"host_name,omitempty"` // 磁盘名称 DiskName *string `json:"disk_name,omitempty"` // 磁盘类型(系统盘、数据盘、日志盘)。 DiskType *string `json:"disk_type,omitempty"` // 磁盘总容量(GB)。 Total *float64 `json:"total,omitempty"` // 磁盘已使用容量(GB)。 Used *float64 `json:"used,omitempty"` // 磁盘可用容量(GB)。 Available *float64 `json:"available,omitempty"` // 磁盘使用率(%)。 UsedPercentage *float64 `json:"used_percentage,omitempty"` // IO等待时间(ms)。 Await *float64 `json:"await,omitempty"` // IO服务时间(ms)。 Svctm *float64 `json:"svctm,omitempty"` // IO使用率(%)。 Util *float64 `json:"util,omitempty"` // 磁盘读速率(KB/s)。 ReadRate *float64 `json:"read_rate,omitempty"` // 磁盘写速率(KB/s)。 WriteRate *float64 `json:"write_rate,omitempty"` }
type DssPool ¶ added in v0.1.14
type DssPool struct { // 专属分布式存储池名称。 Id string `json:"id"` // 专属分布式存储池ID。 Name string `json:"name"` // 专属分布式存储池的存储类型。 - SSD:超高IO专属分布式存储池。 Type string `json:"type"` // 专属分布式存储池归属的project_id。 ProjectId string `json:"project_id"` // 专属分布式存储池所属可用区。 AvailabilityZone string `json:"availability_zone"` // 申请的专属分布式存储容量,单位TB。 Capacity int32 `json:"capacity"` // 专属分布式存储池的状态。 - available:专属分布式存储池处于可用状态。 - deploying:专属分布式存储池处于正在部署的过程中,不可使用。 - extending:专属分布式存储池处于正在扩容的过程中,可使用。 Status string `json:"status"` // 专属分布式存储池的创建时间。 - 时间格式:UTC YYYY-MM-DDTHH:MM:SS CreatedAt string `json:"created_at"` }
DssPool 专属分布式存储池详情。
type ElbResp ¶ added in v0.1.20
type ElbResp struct { // 公网ip PublicIp *string `json:"public_ip,omitempty"` // 内网ip PrivateIp *string `json:"private_ip,omitempty"` // Elb终端地址 PrivateEndpoint *string `json:"private_endpoint,omitempty"` // Elb名称 Name *string `json:"name,omitempty"` // Elb的ID Id *string `json:"id,omitempty"` // Elb所属VPC的ID VpcId *string `json:"vpc_id,omitempty"` }
ElbResp 集群ELB的相关信息
type EnableLogicalClusterRequest ¶ added in v0.1.72
type EnableLogicalClusterRequest struct { // 指定集群的ID ClusterId string `json:"cluster_id"` Body *EnableLogicalClusterRequestBody `json:"body,omitempty"` }
EnableLogicalClusterRequest Request Object
func (EnableLogicalClusterRequest) String ¶ added in v0.1.72
func (o EnableLogicalClusterRequest) String() string
type EnableLogicalClusterRequestBody ¶ added in v0.1.72
type EnableLogicalClusterRequestBody struct { // true-切换开关 Enable bool `json:"enable"` }
EnableLogicalClusterRequestBody 切换逻辑集群开关请求
func (EnableLogicalClusterRequestBody) String ¶ added in v0.1.72
func (o EnableLogicalClusterRequestBody) String() string
type EnableLogicalClusterResponse ¶ added in v0.1.72
type EnableLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
EnableLogicalClusterResponse Response Object
func (EnableLogicalClusterResponse) String ¶ added in v0.1.72
func (o EnableLogicalClusterResponse) String() string
type EnableLtsLogsRequest ¶ added in v0.1.72
type EnableLtsLogsRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` }
EnableLtsLogsRequest Request Object
func (EnableLtsLogsRequest) String ¶ added in v0.1.72
func (o EnableLtsLogsRequest) String() string
type EnableLtsLogsResponse ¶ added in v0.1.72
type EnableLtsLogsResponse struct {
HttpStatusCode int `json:"-"`
}
EnableLtsLogsResponse Response Object
func (EnableLtsLogsResponse) String ¶ added in v0.1.72
func (o EnableLtsLogsResponse) String() string
type Endpoints ¶
type Endpoints struct { // 内网连接信息。 ConnectInfo *string `json:"connect_info,omitempty"` // 内网JDBC URL,默认格式如下: jdbc:postgresql://<connect_info>/<YOUR_DATABASE_NAME> JdbcUrl *string `json:"jdbc_url,omitempty"` }
Endpoints 集群的内网连接信息。
type EventResponse ¶ added in v0.1.14
type EventResponse struct { // 事件类别 Category *string `json:"category,omitempty"` // 事件描述 Description *string `json:"description,omitempty"` // 事件ID EventId *string `json:"event_id,omitempty"` // 事件定义名称 Name *string `json:"name,omitempty"` // 事件显示名称 DisplayName *string `json:"display_name,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件源类别 SourceType *string `json:"source_type,omitempty"` // 时间 OccurTime *int64 `json:"occur_time,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件源名称 SourceName *string `json:"source_name,omitempty"` // 状态 Status *int32 `json:"status,omitempty"` // 事件主题 Subject *string `json:"subject,omitempty"` // 事件信息 Context *string `json:"context,omitempty"` }
EventResponse 事件返回体
func (EventResponse) String ¶ added in v0.1.14
func (o EventResponse) String() string
type EventSpecResponse ¶ added in v0.1.14
type EventSpecResponse struct { // 事件配置ID Id *string `json:"id,omitempty"` // 事件配置定义名称 Name *string `json:"name,omitempty"` // 事件配置显示名称 DisplayName *string `json:"display_name,omitempty"` // 事件配置描述 Description *string `json:"description,omitempty"` // 事件主题 Subject *string `json:"subject,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件源类型 SourceType *string `json:"source_type,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` }
EventSpecResponse 事件配置对象
func (EventSpecResponse) String ¶ added in v0.1.14
func (o EventSpecResponse) String() string
type EventSubRequest ¶ added in v0.1.14
type EventSubRequest struct { // 事件订阅名称 Name string `json:"name"` // 事件源类型支持cluster,backup,disaster-recovery SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别支持management,monitor,security,system alarm Category *string `json:"category,omitempty"` // 事件级别支持normal,warning Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 消息通知地址 NotificationTarget string `json:"notification_target"` // 消息主题名称 NotificationTargetName string `json:"notification_target_name"` // 消息通知类型只支持SMN NotificationTargetType string `json:"notification_target_type"` // 时区 TimeZone *string `json:"time_zone,omitempty"` }
EventSubRequest 创建事件订阅请求体
func (EventSubRequest) String ¶ added in v0.1.14
func (o EventSubRequest) String() string
type EventSubUpdateRequest ¶ added in v0.1.14
type EventSubUpdateRequest struct { // 事件订阅名称 Name string `json:"name"` // 事件源类型支持cluster,backup,disaster-recovery SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别支持management,monitor,security,system alarm Category *string `json:"category,omitempty"` // 事件级别支持normal,warning Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 消息通知地址 NotificationTarget string `json:"notification_target"` // 消息主题名称 NotificationTargetName string `json:"notification_target_name"` // 消息通知类型只支持SMN NotificationTargetType string `json:"notification_target_type"` }
EventSubUpdateRequest 更新订阅事件请求体
func (EventSubUpdateRequest) String ¶ added in v0.1.14
func (o EventSubUpdateRequest) String() string
type EventSubscriptionResponse ¶ added in v0.1.14
type EventSubscriptionResponse struct { // 订阅ID Id *string `json:"id,omitempty"` // 订阅名称 Name *string `json:"name,omitempty"` // 事件源类型 SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` // 消息通知主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息通知主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息通知类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` }
EventSubscriptionResponse 事件订阅详情
func (EventSubscriptionResponse) String ¶ added in v0.1.14
func (o EventSubscriptionResponse) String() string
type ExecuteClusterUpgradeActionRequest ¶ added in v0.1.64
type ExecuteClusterUpgradeActionRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *ExecuteClusterUpgradeActionRequestBody `json:"body,omitempty"` }
ExecuteClusterUpgradeActionRequest Request Object
func (ExecuteClusterUpgradeActionRequest) String ¶ added in v0.1.64
func (o ExecuteClusterUpgradeActionRequest) String() string
type ExecuteClusterUpgradeActionRequestBody ¶ added in v0.1.64
type ExecuteClusterUpgradeActionRequestBody struct { // 当前集群要做的操作 Action string `json:"action"` // 升级项ID ItemId string `json:"item_id"` }
func (ExecuteClusterUpgradeActionRequestBody) String ¶ added in v0.1.64
func (o ExecuteClusterUpgradeActionRequestBody) String() string
type ExecuteClusterUpgradeActionResponse ¶ added in v0.1.64
type ExecuteClusterUpgradeActionResponse struct { // 集群升级任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ExecuteClusterUpgradeActionResponse Response Object
func (ExecuteClusterUpgradeActionResponse) String ¶ added in v0.1.64
func (o ExecuteClusterUpgradeActionResponse) String() string
type ExecuteDatabaseOmUserActionRequest ¶ added in v0.1.61
type ExecuteDatabaseOmUserActionRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *DatabaseOmUserActionReq `json:"body,omitempty"` }
ExecuteDatabaseOmUserActionRequest Request Object
func (ExecuteDatabaseOmUserActionRequest) String ¶ added in v0.1.61
func (o ExecuteDatabaseOmUserActionRequest) String() string
type ExecuteDatabaseOmUserActionResponse ¶ added in v0.1.61
type ExecuteDatabaseOmUserActionResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` OmUserInfo *DatabaseOmUserInfo `json:"om_user_info,omitempty"` HttpStatusCode int `json:"-"` }
ExecuteDatabaseOmUserActionResponse Response Object
func (ExecuteDatabaseOmUserActionResponse) String ¶ added in v0.1.61
func (o ExecuteDatabaseOmUserActionResponse) String() string
type ExecuteRedistributionClusterRequest ¶ added in v0.1.14
type ExecuteRedistributionClusterRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *RedistributionReq `json:"body,omitempty"` }
ExecuteRedistributionClusterRequest Request Object
func (ExecuteRedistributionClusterRequest) String ¶ added in v0.1.14
func (o ExecuteRedistributionClusterRequest) String() string
type ExecuteRedistributionClusterResponse ¶ added in v0.1.14
type ExecuteRedistributionClusterResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ExecuteRedistributionClusterResponse Response Object
func (ExecuteRedistributionClusterResponse) String ¶ added in v0.1.14
func (o ExecuteRedistributionClusterResponse) String() string
type ExpandInstanceStorage ¶ added in v0.1.18
type ExpandInstanceStorage struct { // 磁盘扩容后单节点有效存储容量(GB / 节点)。该容量必须大于当前单节点有效容量,小于等于集群规格支持的单节点最大容量,扩容容量为规格支持的步长倍数。集群规格配置详情可根据“查询节点类型”查询。 NewSize int32 `json:"new_size"` }
ExpandInstanceStorage 磁盘扩容后单节点有效存储容量(GB / 节点),集群总容量 = 单节点容量 x 节点数量。
func (ExpandInstanceStorage) String ¶ added in v0.1.18
func (o ExpandInstanceStorage) String() string
type ExpandInstanceStorageRequest ¶ added in v0.1.18
type ExpandInstanceStorageRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` Body *ExpandInstanceStorage `json:"body,omitempty"` }
ExpandInstanceStorageRequest Request Object
func (ExpandInstanceStorageRequest) String ¶ added in v0.1.18
func (o ExpandInstanceStorageRequest) String() string
type ExpandInstanceStorageResponse ¶ added in v0.1.18
type ExpandInstanceStorageResponse struct {
HttpStatusCode int `json:"-"`
}
ExpandInstanceStorageResponse Response Object
func (ExpandInstanceStorageResponse) String ¶ added in v0.1.18
func (o ExpandInstanceStorageResponse) String() string
type ExtDataSource ¶ added in v0.1.14
type ExtDataSource struct { // id。 Id *string `json:"id,omitempty"` // 数据源名称。 Name *string `json:"name,omitempty"` // 类型。 Type *string `json:"type,omitempty"` // 数据库。 ConnectInfo *string `json:"connect_info,omitempty"` // 用户名。 UserName *string `json:"user_name,omitempty"` // 版本。 Version *string `json:"version,omitempty"` // 配置状态。 ConfigureStatus *string `json:"configure_status,omitempty"` // 状态。 Status *string `json:"status,omitempty"` // 数据源id。 DataSourceId *string `json:"data_source_id,omitempty"` // 创建时间。 Created *string `json:"created,omitempty"` // 更新时间。 Updated *string `json:"updated,omitempty"` // 数据源更新时间。 DataSourceUpdated *string `json:"data_source_updated,omitempty"` // 扩展信息。 ExtendProperties *interface{} `json:"extend_properties,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 失败原因。 FailReason *string `json:"fail_reason,omitempty"` }
ExtDataSource 数据源信息
func (ExtDataSource) String ¶ added in v0.1.14
func (o ExtDataSource) String() string
type ExtDataSourceReq ¶ added in v0.1.18
type ExtDataSourceReq struct { // 数据源id DataSourceId *string `json:"data_source_id,omitempty"` // 类型 Type string `json:"type"` // 数据源名称 DataSourceName string `json:"data_source_name"` // 用户名 UserName string `json:"user_name"` // 密码 UserPwd *string `json:"user_pwd,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 重启 Reboot *bool `json:"reboot,omitempty"` // 数据库 ConnectInfo *string `json:"connect_info,omitempty"` }
ExtDataSourceReq 数据源请求
func (ExtDataSourceReq) String ¶ added in v0.1.18
func (o ExtDataSourceReq) String() string
type FailedReason ¶
type FailedReason struct { // 错误码。 ErrorCode *string `json:"error_code,omitempty"` // 错误信息。 ErrorMsg *string `json:"error_msg,omitempty"` }
FailedReason
func (FailedReason) String ¶
func (o FailedReason) String() string
type FineGrainedSnapshotDetail ¶ added in v0.1.14
type FineGrainedSnapshotDetail struct { // 数据库。 Database *string `json:"database,omitempty"` // 模式列表。 SchemaList *[]string `json:"schema_list,omitempty"` // 表集合。 TableList *[]string `json:"table_list,omitempty"` }
FineGrainedSnapshotDetail 细粒度备份信息
func (FineGrainedSnapshotDetail) String ¶ added in v0.1.14
func (o FineGrainedSnapshotDetail) String() string
type Grant ¶ added in v0.1.44
type Grant struct { // 权限名称,根据不通数据库对象类型,拥有权限不同 - database CREATE | CONNECT | TEMPORARY | TEMP ALL PRIVILEGES - schema CREATE | USAGE | ALTER | DROP ALL PRIVILEGES - table SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP ALL PRIVILEGES - view SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP ALL PRIVILEGES - column SELECT | INSERT | UPDATE | REFERENCES ALL PRIVILEGES - function EXECUTE ALL PRIVILEGES - sequence SELECT | UPDATE | USAGE ALL PRIVILEGES - nodegroup CREATE | USAGE | COMPUTE ALL PRIVILEGES - role role_name(角色名称) Permission string `json:"permission"` // 是否包含授权选项 GrantWith bool `json:"grant_with"` }
Grant 授权信息
type HostOverviewResponse ¶ added in v0.1.14
type HostOverviewResponse struct { // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 主机名称 HostName *string `json:"host_name,omitempty"` // 主机状态 HostStat *string `json:"host_stat,omitempty"` // IP地址 WorkIp *string `json:"work_ip,omitempty"` // 系统中未使用的内存(GB)。 MemFree *float64 `json:"mem_free,omitempty"` // 总内存(GB)。 MemTotal *float64 `json:"mem_total,omitempty"` // 内存使用率(GB)。 MemUsage *float64 `json:"mem_usage,omitempty"` // 缓存内存(GB)。 MemCached *float64 `json:"mem_cached,omitempty"` // 缓冲内存(MB)。 MemBuffer *float64 `json:"mem_buffer,omitempty"` // ram暂存在swap中的大小(GB)。 SwapFree *float64 `json:"swap_free,omitempty"` // 交换空间总和(GB)。 SwapTotal *float64 `json:"swap_total,omitempty"` // CPU使用率(%)。 CpuUsage *float64 `json:"cpu_usage,omitempty"` // 系统CPU占用率(%)。 CpuUsageSys *float64 `json:"cpu_usage_sys,omitempty"` // 用户CPU占用率(%)。 CpuUsageUsr *float64 `json:"cpu_usage_usr,omitempty"` // 空闲CPU占用率(%)。 CpuIdle *float64 `json:"cpu_idle,omitempty"` // IO等待(%)。 CpuIowait *float64 `json:"cpu_iowait,omitempty"` // 磁盘平均使用率(%)。 DiskUsageAvg *float64 `json:"disk_usage_avg,omitempty"` // 磁盘总容量(GB)。 DiskTotal *float64 `json:"disk_total,omitempty"` // 磁盘使用容量(GB)。 DiskUsed *float64 `json:"disk_used,omitempty"` // 磁盘可用容量(GB)。 DiskAvailable *float64 `json:"disk_available,omitempty"` // 磁盘IO(KB/s)。 DiskIo *float64 `json:"disk_io,omitempty"` // 磁盘读速率(KB/s)。 DiskIoRead *float64 `json:"disk_io_read,omitempty"` // 磁盘写速率(KB/s)。 DiskIoWrite *float64 `json:"disk_io_write,omitempty"` // TCP协议栈重传率(%)。 TcpResendRate *float64 `json:"tcp_resend_rate,omitempty"` // 网络IO(KB/s)。 NetIo *float64 `json:"net_io,omitempty"` }
func (HostOverviewResponse) String ¶ added in v0.1.14
func (o HostOverviewResponse) String() string
type IndicatorInfo ¶ added in v0.1.23
type IndicatorInfo struct { // 监控指标名称。 IndicatorName *string `json:"indicator_name,omitempty"` // 采集模块名称。 PluginName *string `json:"plugin_name,omitempty"` // 默认采集频率。 DefaultCollectRate *string `json:"default_collect_rate,omitempty"` // 支持的集群版本。 SupportDatastoreVersion *string `json:"support_datastore_version,omitempty"` }
func (IndicatorInfo) String ¶ added in v0.1.23
func (o IndicatorInfo) String() string
type LinkCopyReq ¶ added in v0.1.18
type LinkCopyReq struct { // 快照名称 BackupName string `json:"backup_name"` // 描述 Description *string `json:"description,omitempty"` }
LinkCopyReq 快照复制请求
func (LinkCopyReq) String ¶ added in v0.1.18
func (o LinkCopyReq) String() string
type LinkResp ¶ added in v0.1.61
type ListAlarmConfigsRequest ¶ added in v0.1.14
type ListAlarmConfigsRequest struct { // 偏移量 Offset *string `json:"offset,omitempty"` // 限制条目数 Limit *string `json:"limit,omitempty"` }
ListAlarmConfigsRequest Request Object
func (ListAlarmConfigsRequest) String ¶ added in v0.1.14
func (o ListAlarmConfigsRequest) String() string
type ListAlarmConfigsResponse ¶ added in v0.1.14
type ListAlarmConfigsResponse struct { // 告警配置总数 Count *int32 `json:"count,omitempty"` // 告警配置列表 AlarmConfigs *[]AlarmConfigResponse `json:"alarm_configs,omitempty"` HttpStatusCode int `json:"-"` }
ListAlarmConfigsResponse Response Object
func (ListAlarmConfigsResponse) String ¶ added in v0.1.14
func (o ListAlarmConfigsResponse) String() string
type ListAlarmDetailRequest ¶ added in v0.1.14
type ListAlarmDetailRequest struct { // 时区 TimeZone string `json:"time_zone"` // 当前页 Offset *string `json:"offset,omitempty"` // 总页数 Limit *string `json:"limit,omitempty"` }
ListAlarmDetailRequest Request Object
func (ListAlarmDetailRequest) String ¶ added in v0.1.14
func (o ListAlarmDetailRequest) String() string
type ListAlarmDetailResponse ¶ added in v0.1.14
type ListAlarmDetailResponse struct { // 告警详情总数 Count *int32 `json:"count,omitempty"` // 告警列表 AlarmDetails *[]AlarmDetailResponse `json:"alarm_details,omitempty"` HttpStatusCode int `json:"-"` }
ListAlarmDetailResponse Response Object
func (ListAlarmDetailResponse) String ¶ added in v0.1.14
func (o ListAlarmDetailResponse) String() string
type ListAlarmStatisticRequest ¶ added in v0.1.14
type ListAlarmStatisticRequest struct { // 时区 TimeZone string `json:"time_zone"` }
ListAlarmStatisticRequest Request Object
func (ListAlarmStatisticRequest) String ¶ added in v0.1.14
func (o ListAlarmStatisticRequest) String() string
type ListAlarmStatisticResponse ¶ added in v0.1.14
type ListAlarmStatisticResponse struct { // 告警统计列表 AlarmStatistics *[]AlarmStatisticResponse `json:"alarm_statistics,omitempty"` HttpStatusCode int `json:"-"` }
ListAlarmStatisticResponse Response Object
func (ListAlarmStatisticResponse) String ¶ added in v0.1.14
func (o ListAlarmStatisticResponse) String() string
type ListAlarmSubsRequest ¶ added in v0.1.14
type ListAlarmSubsRequest struct { // 偏移量 Offset *string `json:"offset,omitempty"` // 限制条目数 Limit *string `json:"limit,omitempty"` }
ListAlarmSubsRequest Request Object
func (ListAlarmSubsRequest) String ¶ added in v0.1.14
func (o ListAlarmSubsRequest) String() string
type ListAlarmSubsResponse ¶ added in v0.1.14
type ListAlarmSubsResponse struct { // 告警订阅总数 Count *int32 `json:"count,omitempty"` // 告警订阅列表 AlarmSubscriptions *[]AlarmSubscriptionResponse `json:"alarm_subscriptions,omitempty"` HttpStatusCode int `json:"-"` }
ListAlarmSubsResponse Response Object
func (ListAlarmSubsResponse) String ¶ added in v0.1.14
func (o ListAlarmSubsResponse) String() string
type ListAuditLogRequest ¶ added in v0.1.14
type ListAuditLogRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListAuditLogRequest Request Object
func (ListAuditLogRequest) String ¶ added in v0.1.14
func (o ListAuditLogRequest) String() string
type ListAuditLogResponse ¶ added in v0.1.14
type ListAuditLogResponse struct { // 审计日志列表。 Records *[]AuditDumpRecord `json:"records,omitempty"` // 集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 总数。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListAuditLogResponse Response Object
func (ListAuditLogResponse) String ¶ added in v0.1.14
func (o ListAuditLogResponse) String() string
type ListAvailabilityZonesRequest ¶ added in v0.1.14
type ListAvailabilityZonesRequest struct { }
ListAvailabilityZonesRequest Request Object
func (ListAvailabilityZonesRequest) String ¶ added in v0.1.14
func (o ListAvailabilityZonesRequest) String() string
type ListAvailabilityZonesResponse ¶ added in v0.1.14
type ListAvailabilityZonesResponse struct { // 可用区列表对象。 AvailabilityZones *[]AvailabilityZone `json:"availability_zones,omitempty"` // 可用区数量。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListAvailabilityZonesResponse Response Object
func (ListAvailabilityZonesResponse) String ¶ added in v0.1.14
func (o ListAvailabilityZonesResponse) String() string
type ListAvailableDisasterClustersRequest ¶ added in v0.1.40
type ListAvailableDisasterClustersRequest struct { // 主集群ID PrimaryClusterId string `json:"primary_cluster_id"` // 主集群规格ID PrimarySpecId *string `json:"primary_spec_id,omitempty"` // 主集群DN数量 PrimaryClusterDnNum *string `json:"primary_cluster_dn_num,omitempty"` // 备集群所在region StandbyRegion *string `json:"standby_region,omitempty"` // 备集群项目ID StandbyProjectId *string `json:"standby_project_id,omitempty"` // 备集群所在AZ StandbyAzCode string `json:"standby_az_code"` // 容灾类型 DrType *string `json:"dr_type,omitempty"` // 数仓类型 DatastoreType *string `json:"datastore_type,omitempty"` // 数仓版本 DatastoreVersion *string `json:"datastore_version,omitempty"` }
ListAvailableDisasterClustersRequest Request Object
func (ListAvailableDisasterClustersRequest) String ¶ added in v0.1.40
func (o ListAvailableDisasterClustersRequest) String() string
type ListAvailableDisasterClustersResponse ¶ added in v0.1.40
type ListAvailableDisasterClustersResponse struct { // 容灾可用集群列表 DisasterRecoveryClusters *[]DisasterRecoveryClusterVo `json:"disaster_recovery_clusters,omitempty"` HttpStatusCode int `json:"-"` }
ListAvailableDisasterClustersResponse Response Object
func (ListAvailableDisasterClustersResponse) String ¶ added in v0.1.40
func (o ListAvailableDisasterClustersResponse) String() string
type ListClusterCnRequest ¶ added in v0.1.14
type ListClusterCnRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
ListClusterCnRequest Request Object
func (ListClusterCnRequest) String ¶ added in v0.1.14
func (o ListClusterCnRequest) String() string
type ListClusterCnResponse ¶ added in v0.1.14
type ListClusterCnResponse struct { // 集群支持的最小CN节点数量。 MinNum *int32 `json:"min_num,omitempty"` // 集群支持的最大CN节点数量。 MaxNum *int32 `json:"max_num,omitempty"` // CN节点详情列表。 Instances *[]CoordinatorNode `json:"instances,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterCnResponse Response Object
func (ListClusterCnResponse) String ¶ added in v0.1.14
func (o ListClusterCnResponse) String() string
type ListClusterConfigurationsParameterRequest ¶ added in v0.1.14
type ListClusterConfigurationsParameterRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` // 参数组ID。 ConfigurationId string `json:"configuration_id"` }
ListClusterConfigurationsParameterRequest Request Object
func (ListClusterConfigurationsParameterRequest) String ¶ added in v0.1.14
func (o ListClusterConfigurationsParameterRequest) String() string
type ListClusterConfigurationsParameterResponse ¶ added in v0.1.14
type ListClusterConfigurationsParameterResponse struct { // 集群使用的参数配置信息。 Configurations *[]ConfigurationParameter `json:"configurations,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterConfigurationsParameterResponse Response Object
func (ListClusterConfigurationsParameterResponse) String ¶ added in v0.1.14
func (o ListClusterConfigurationsParameterResponse) String() string
type ListClusterConfigurationsRequest ¶ added in v0.1.14
type ListClusterConfigurationsRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
ListClusterConfigurationsRequest Request Object
func (ListClusterConfigurationsRequest) String ¶ added in v0.1.14
func (o ListClusterConfigurationsRequest) String() string
type ListClusterConfigurationsResponse ¶ added in v0.1.14
type ListClusterConfigurationsResponse struct { // 集群所关联的参数组信息。 Configurations *[]ClusterConfiguration `json:"configurations,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterConfigurationsResponse Response Object
func (ListClusterConfigurationsResponse) String ¶ added in v0.1.14
func (o ListClusterConfigurationsResponse) String() string
type ListClusterDetailsRequest ¶
type ListClusterDetailsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListClusterDetailsRequest Request Object
func (ListClusterDetailsRequest) String ¶
func (o ListClusterDetailsRequest) String() string
type ListClusterDetailsResponse ¶
type ListClusterDetailsResponse struct { Cluster *ClusterDetail `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterDetailsResponse Response Object
func (ListClusterDetailsResponse) String ¶
func (o ListClusterDetailsResponse) String() string
type ListClusterNodesRequest ¶ added in v0.1.72
type ListClusterNodesRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 是否被删除,true/false Deleted *string `json:"deleted,omitempty"` // 节点ID列表 NodeIds *[]string `json:"node_ids,omitempty"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 过滤字段 FilterBy *string `json:"filter_by,omitempty"` // 过滤字段内容 Filter *string `json:"filter,omitempty"` // 排序字段 OrderBy *string `json:"order_by,omitempty"` // 排序:升序/降序 Order *string `json:"order,omitempty"` }
ListClusterNodesRequest Request Object
func (ListClusterNodesRequest) String ¶ added in v0.1.72
func (o ListClusterNodesRequest) String() string
type ListClusterNodesResponse ¶ added in v0.1.72
type ListClusterNodesResponse struct { // 逻辑集群节点列表 NodeList *[]ClusterNodeInfo `json:"node_list,omitempty"` // 逻辑集群节点总数 Count *int32 `json:"count,omitempty"` // 逻辑集群节点失败总数 FailedCount *int32 `json:"failed_count,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterNodesResponse Response Object
func (ListClusterNodesResponse) String ¶ added in v0.1.72
func (o ListClusterNodesResponse) String() string
type ListClusterScaleInNumbersRequest ¶ added in v0.1.14
type ListClusterScaleInNumbersRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListClusterScaleInNumbersRequest Request Object
func (ListClusterScaleInNumbersRequest) String ¶ added in v0.1.14
func (o ListClusterScaleInNumbersRequest) String() string
type ListClusterScaleInNumbersResponse ¶ added in v0.1.14
type ListClusterScaleInNumbersResponse struct { // 合适的缩容数 ShrinkSequence *[]string `json:"shrink_sequence,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterScaleInNumbersResponse Response Object
func (ListClusterScaleInNumbersResponse) String ¶ added in v0.1.14
func (o ListClusterScaleInNumbersResponse) String() string
type ListClusterSnapshotsRequest ¶ added in v0.1.14
type ListClusterSnapshotsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 排序字段 SortKey *string `json:"sort_key,omitempty"` // 排序规则 SortDir *string `json:"sort_dir,omitempty"` }
ListClusterSnapshotsRequest Request Object
func (ListClusterSnapshotsRequest) String ¶ added in v0.1.14
func (o ListClusterSnapshotsRequest) String() string
type ListClusterSnapshotsResponse ¶ added in v0.1.14
type ListClusterSnapshotsResponse struct { // 快照对象列表。 Snapshots *[]ClusterSnapshots `json:"snapshots,omitempty"` // 项目ID。 ProjectId *string `json:"project_id,omitempty"` // 集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 快照对象列表总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterSnapshotsResponse Response Object
func (ListClusterSnapshotsResponse) String ¶ added in v0.1.14
func (o ListClusterSnapshotsResponse) String() string
type ListClusterTagsRequest ¶ added in v0.1.14
type ListClusterTagsRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
ListClusterTagsRequest Request Object
func (ListClusterTagsRequest) String ¶ added in v0.1.14
func (o ListClusterTagsRequest) String() string
type ListClusterTagsResponse ¶ added in v0.1.14
type ListClusterTagsResponse struct { // 标签列表。 Tags *[]ResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterTagsResponse Response Object
func (ListClusterTagsResponse) String ¶ added in v0.1.14
func (o ListClusterTagsResponse) String() string
type ListClusterWorkloadRequest ¶ added in v0.1.14
type ListClusterWorkloadRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListClusterWorkloadRequest Request Object
func (ListClusterWorkloadRequest) String ¶ added in v0.1.14
func (o ListClusterWorkloadRequest) String() string
type ListClusterWorkloadResponse ¶ added in v0.1.14
type ListClusterWorkloadResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` WorkloadStatus *WorkloadStatus `json:"workload_status,omitempty"` HttpStatusCode int `json:"-"` }
ListClusterWorkloadResponse Response Object
func (ListClusterWorkloadResponse) String ¶ added in v0.1.14
func (o ListClusterWorkloadResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct { }
ListClustersRequest Request Object
func (ListClustersRequest) String ¶
func (o ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct { // 集群对象列表。 Clusters *[]ClusterInfo `json:"clusters,omitempty"` // 集群对象列表总数。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListClustersResponse Response Object
func (ListClustersResponse) String ¶
func (o ListClustersResponse) String() string
type ListConfigurationsAuditRecordsRequest ¶ added in v0.1.61
type ListConfigurationsAuditRecordsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 任务时间 ActionTime *int64 `json:"action_time,omitempty"` // 过滤配置信息 FilterBy *string `json:"filter_by,omitempty"` // 过滤条件 Filter *string `json:"filter,omitempty"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListConfigurationsAuditRecordsRequest Request Object
func (ListConfigurationsAuditRecordsRequest) String ¶ added in v0.1.61
func (o ListConfigurationsAuditRecordsRequest) String() string
type ListConfigurationsAuditRecordsResponse ¶ added in v0.1.61
type ListConfigurationsAuditRecordsResponse struct { // 记录 Records *[]ConfigurationRecordResp `json:"records,omitempty"` // 总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListConfigurationsAuditRecordsResponse Response Object
func (ListConfigurationsAuditRecordsResponse) String ¶ added in v0.1.61
func (o ListConfigurationsAuditRecordsResponse) String() string
type ListDataSourceRequest ¶ added in v0.1.14
type ListDataSourceRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListDataSourceRequest Request Object
func (ListDataSourceRequest) String ¶ added in v0.1.14
func (o ListDataSourceRequest) String() string
type ListDataSourceResponse ¶ added in v0.1.14
type ListDataSourceResponse struct { // 数据源列表。 DataSources *[]ExtDataSource `json:"data_sources,omitempty"` // 项目ID。 ProjectId *string `json:"project_id,omitempty"` // 集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 数据源类型。 Type *string `json:"type,omitempty"` // 总数。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListDataSourceResponse Response Object
func (ListDataSourceResponse) String ¶ added in v0.1.14
func (o ListDataSourceResponse) String() string
type ListDatabaseUsersRequest ¶ added in v0.1.44
type ListDatabaseUsersRequest struct { // cluster_id ClusterId string `json:"cluster_id"` }
ListDatabaseUsersRequest Request Object
func (ListDatabaseUsersRequest) String ¶ added in v0.1.44
func (o ListDatabaseUsersRequest) String() string
type ListDatabaseUsersResponse ¶ added in v0.1.44
type ListDatabaseUsersResponse struct { // user list Users *[]DatabaseUser `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
ListDatabaseUsersResponse Response Object
func (ListDatabaseUsersResponse) String ¶ added in v0.1.44
func (o ListDatabaseUsersResponse) String() string
type ListDisasterRecoverRequest ¶ added in v0.1.14
type ListDisasterRecoverRequest struct { }
ListDisasterRecoverRequest Request Object
func (ListDisasterRecoverRequest) String ¶ added in v0.1.14
func (o ListDisasterRecoverRequest) String() string
type ListDisasterRecoverResponse ¶ added in v0.1.14
type ListDisasterRecoverResponse struct { // 容灾对象 DisasterRecovery *[]DisasterRecovery `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
ListDisasterRecoverResponse Response Object
func (ListDisasterRecoverResponse) String ¶ added in v0.1.14
func (o ListDisasterRecoverResponse) String() string
type ListDssPoolsRequest ¶ added in v0.1.14
type ListDssPoolsRequest struct { }
ListDssPoolsRequest Request Object
func (ListDssPoolsRequest) String ¶ added in v0.1.14
func (o ListDssPoolsRequest) String() string
type ListDssPoolsResponse ¶ added in v0.1.14
type ListDssPoolsResponse struct { // 专属分布式存储池详情列表。 Pools *[]DssPool `json:"pools,omitempty"` // 专属分布式存储池个数。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListDssPoolsResponse Response Object
func (ListDssPoolsResponse) String ¶ added in v0.1.14
func (o ListDssPoolsResponse) String() string
type ListElbsRequest ¶ added in v0.1.14
type ListElbsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListElbsRequest Request Object
func (ListElbsRequest) String ¶ added in v0.1.14
func (o ListElbsRequest) String() string
type ListElbsResponse ¶ added in v0.1.14
type ListElbsResponse struct { // 弹性负载均衡列表 Elbs *[]ClusterElbInfo `json:"elbs,omitempty"` HttpStatusCode int `json:"-"` }
ListElbsResponse Response Object
func (ListElbsResponse) String ¶ added in v0.1.14
func (o ListElbsResponse) String() string
type ListEventSpecsRequest ¶ added in v0.1.14
type ListEventSpecsRequest struct { // 事件配置名称 SpecName *string `json:"spec_name,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件源类别 SourceType *string `json:"source_type,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 偏移量 Offset *string `json:"offset,omitempty"` // 限制条目数 Limit *string `json:"limit,omitempty"` }
ListEventSpecsRequest Request Object
func (ListEventSpecsRequest) String ¶ added in v0.1.14
func (o ListEventSpecsRequest) String() string
type ListEventSpecsResponse ¶ added in v0.1.14
type ListEventSpecsResponse struct { // 事件配置总数 Count *int32 `json:"count,omitempty"` // 事件配置列表 EventSpecs *[]EventSpecResponse `json:"event_specs,omitempty"` HttpStatusCode int `json:"-"` }
ListEventSpecsResponse Response Object
func (ListEventSpecsResponse) String ¶ added in v0.1.14
func (o ListEventSpecsResponse) String() string
type ListEventSubsRequest ¶ added in v0.1.14
type ListEventSubsRequest struct { // 偏移量 Offset *string `json:"offset,omitempty"` // 限制条目数 Limit *string `json:"limit,omitempty"` }
ListEventSubsRequest Request Object
func (ListEventSubsRequest) String ¶ added in v0.1.14
func (o ListEventSubsRequest) String() string
type ListEventSubsResponse ¶ added in v0.1.14
type ListEventSubsResponse struct { // 事件订阅总数 Count *int32 `json:"count,omitempty"` // 事件订阅详情列表 EventSubscriptions *[]EventSubscriptionResponse `json:"event_subscriptions,omitempty"` HttpStatusCode int `json:"-"` }
ListEventSubsResponse Response Object
func (ListEventSubsResponse) String ¶ added in v0.1.14
func (o ListEventSubsResponse) String() string
type ListEventsRequest ¶ added in v0.1.14
type ListEventsRequest struct { // 偏移量 Offset *string `json:"offset,omitempty"` // 限制条目数 Limit *string `json:"limit,omitempty"` }
ListEventsRequest Request Object
func (ListEventsRequest) String ¶ added in v0.1.14
func (o ListEventsRequest) String() string
type ListEventsResponse ¶ added in v0.1.14
type ListEventsResponse struct { // 事件详情列表 Events *[]EventResponse `json:"events,omitempty"` // 事件总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListEventsResponse Response Object
func (ListEventsResponse) String ¶ added in v0.1.14
func (o ListEventsResponse) String() string
type ListHostDiskRequest ¶ added in v0.1.14
type ListHostDiskRequest struct { // 集群ID。获取方法,请参见9.6-获取集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 实例ID。 InstanceId *string `json:"instance_id,omitempty"` // 实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 数据条目数。 Limit int32 `json:"limit"` // 数据偏移量。 Offset int32 `json:"offset"` }
ListHostDiskRequest Request Object
func (ListHostDiskRequest) String ¶ added in v0.1.14
func (o ListHostDiskRequest) String() string
type ListHostDiskResponse ¶ added in v0.1.14
type ListHostDiskResponse struct { Body *[]DiskResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListHostDiskResponse Response Object
func (ListHostDiskResponse) String ¶ added in v0.1.14
func (o ListHostDiskResponse) String() string
type ListHostNetRequest ¶ added in v0.1.14
type ListHostNetRequest struct { // 集群ID。获取方法,请参见9.6-获取集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 数据条目数。 Limit int32 `json:"limit"` // 数据偏移量。 Offset int32 `json:"offset"` }
ListHostNetRequest Request Object
func (ListHostNetRequest) String ¶ added in v0.1.14
func (o ListHostNetRequest) String() string
type ListHostNetResponse ¶ added in v0.1.14
type ListHostNetResponse struct { Body *[]NetResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListHostNetResponse Response Object
func (ListHostNetResponse) String ¶ added in v0.1.14
func (o ListHostNetResponse) String() string
type ListHostOverviewRequest ¶ added in v0.1.14
type ListHostOverviewRequest struct { // 集群ID。获取方法,请参见9.6-获取集群ID。 ClusterId *string `json:"cluster_id,omitempty"` // 实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 数据条目数。 Limit int32 `json:"limit"` // 数据偏移量。 Offset int32 `json:"offset"` }
ListHostOverviewRequest Request Object
func (ListHostOverviewRequest) String ¶ added in v0.1.14
func (o ListHostOverviewRequest) String() string
type ListHostOverviewResponse ¶ added in v0.1.14
type ListHostOverviewResponse struct { // openApi查询主机概览 Body *[]HostOverviewResponse `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListHostOverviewResponse Response Object
func (ListHostOverviewResponse) String ¶ added in v0.1.14
func (o ListHostOverviewResponse) String() string
type ListJobDetailsRequest ¶ added in v0.1.14
type ListJobDetailsRequest struct { // 任务ID JobId string `json:"job_id"` }
ListJobDetailsRequest Request Object
func (ListJobDetailsRequest) String ¶ added in v0.1.14
func (o ListJobDetailsRequest) String() string
type ListJobDetailsResponse ¶ added in v0.1.14
type ListJobDetailsResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` // 任务名称 JobName *string `json:"job_name,omitempty"` // 任务开始时间 BeginTime *string `json:"begin_time,omitempty"` // 任务结束时间 EndTime *string `json:"end_time,omitempty"` // 任务当前状态 Status *string `json:"status,omitempty"` // 任务失败错误码 FailedCode *string `json:"failed_code,omitempty"` // 任务失败错误详情 FailedDetail *string `json:"failed_detail,omitempty"` // 任务进度 Progress *string `json:"progress,omitempty"` HttpStatusCode int `json:"-"` }
ListJobDetailsResponse Response Object
func (ListJobDetailsResponse) String ¶ added in v0.1.14
func (o ListJobDetailsResponse) String() string
type ListLogicalClusterRingsRequest ¶ added in v0.1.72
type ListLogicalClusterRingsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListLogicalClusterRingsRequest Request Object
func (ListLogicalClusterRingsRequest) String ¶ added in v0.1.72
func (o ListLogicalClusterRingsRequest) String() string
type ListLogicalClusterRingsResponse ¶ added in v0.1.72
type ListLogicalClusterRingsResponse struct { // 集群环列表信息 ClusterRings *[]LogicalClusterRingInfo `json:"cluster_rings,omitempty"` // 集群环数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListLogicalClusterRingsResponse Response Object
func (ListLogicalClusterRingsResponse) String ¶ added in v0.1.72
func (o ListLogicalClusterRingsResponse) String() string
type ListLogicalClusterTasksRequest ¶ added in v0.1.72
type ListLogicalClusterTasksRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 排序字段 OrderBy *string `json:"order_by,omitempty"` // 排序:升序/降序 Order *string `json:"order,omitempty"` }
ListLogicalClusterTasksRequest Request Object
func (ListLogicalClusterTasksRequest) String ¶ added in v0.1.72
func (o ListLogicalClusterTasksRequest) String() string
type ListLogicalClusterTasksResponse ¶ added in v0.1.72
type ListLogicalClusterTasksResponse struct { // 逻辑集群任务信息 LogicalClusterTasks *[]LogicalClusterTaskInfo `json:"logical_cluster_tasks,omitempty"` // 逻辑集群任务总数 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListLogicalClusterTasksResponse Response Object
func (ListLogicalClusterTasksResponse) String ¶ added in v0.1.72
func (o ListLogicalClusterTasksResponse) String() string
type ListLogicalClusterVolumesRequest ¶ added in v0.1.72
type ListLogicalClusterVolumesRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListLogicalClusterVolumesRequest Request Object
func (ListLogicalClusterVolumesRequest) String ¶ added in v0.1.72
func (o ListLogicalClusterVolumesRequest) String() string
type ListLogicalClusterVolumesResponse ¶ added in v0.1.72
type ListLogicalClusterVolumesResponse struct { // 逻辑集群磁盘信息列表 Volumes *[]LogicalClusterVolume `json:"volumes,omitempty"` // 逻辑集群磁盘总数 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListLogicalClusterVolumesResponse Response Object
func (ListLogicalClusterVolumesResponse) String ¶ added in v0.1.72
func (o ListLogicalClusterVolumesResponse) String() string
type ListLogicalClustersRequest ¶ added in v0.1.72
type ListLogicalClustersRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListLogicalClustersRequest Request Object
func (ListLogicalClustersRequest) String ¶ added in v0.1.72
func (o ListLogicalClustersRequest) String() string
type ListLogicalClustersResponse ¶ added in v0.1.72
type ListLogicalClustersResponse struct { // 逻辑集群列表信息 LogicalClusters *[]LogicalClusterInfo `json:"logical_clusters,omitempty"` // 逻辑集群总数量 Count *int32 `json:"count,omitempty"` // 作为互斥结果,如果集群内有其他运维操作,该值为false,此时不能添加逻辑集群 AddEnable *bool `json:"add_enable,omitempty"` HttpStatusCode int `json:"-"` }
ListLogicalClustersResponse Response Object
func (ListLogicalClustersResponse) String ¶ added in v0.1.72
func (o ListLogicalClustersResponse) String() string
type ListLtsLogsRequest ¶ added in v0.1.72
type ListLtsLogsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListLtsLogsRequest Request Object
func (ListLtsLogsRequest) String ¶ added in v0.1.72
func (o ListLtsLogsRequest) String() string
type ListLtsLogsResponse ¶ added in v0.1.72
type ListLtsLogsResponse struct { // 日志开启状态。 AccessStatus *string `json:"access_status,omitempty"` // LTS日志列表。 LtsAccessList *[]LtslogInfo `json:"lts_access_list,omitempty"` // 总数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListLtsLogsResponse Response Object
func (ListLtsLogsResponse) String ¶ added in v0.1.72
func (o ListLtsLogsResponse) String() string
type ListMetricsDataRequest ¶ added in v0.1.86
type ListMetricsDataRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 指标名称。 MetricName string `json:"metric_name"` // 偏移量,表示从此偏移量开始查询,offset>=0。 Offset int32 `json:"offset"` // 每页显示的条目数量,最大1000。 Limit int32 `json:"limit"` // 采集开始时间,13位时间戳。 From int64 `json:"from"` // 采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。 To int64 `json:"to"` // 排序字段。固定取值。 ctime:采集时间。 OrderBy *string `json:"order_by,omitempty"` // 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 SortBy *string `json:"sort_by,omitempty"` }
ListMetricsDataRequest Request Object
func (ListMetricsDataRequest) String ¶ added in v0.1.86
func (o ListMetricsDataRequest) String() string
type ListMetricsDataResponse ¶ added in v0.1.86
type ListMetricsDataResponse struct { // 响应码 Code *int32 `json:"code,omitempty"` // 响应信息 Msg *string `json:"msg,omitempty"` // 指标采集数据列表。 Data *[]map[string]string `json:"data,omitempty"` // 总列表大小。 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListMetricsDataResponse Response Object
func (ListMetricsDataResponse) String ¶ added in v0.1.86
func (o ListMetricsDataResponse) String() string
type ListMetricsRequest ¶ added in v0.1.86
type ListMetricsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 偏移量,表示从此偏移量开始查询,offset>=0。 Offset int32 `json:"offset"` // 每页显示的条目数量,最大1000。 Limit int32 `json:"limit"` // 排序字段。固定取值。 create_time:创建时间。 OrderBy *string `json:"order_by,omitempty"` // 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 SortBy *string `json:"sort_by,omitempty"` }
ListMetricsRequest Request Object
func (ListMetricsRequest) String ¶ added in v0.1.86
func (o ListMetricsRequest) String() string
type ListMetricsResponse ¶ added in v0.1.86
type ListMetricsResponse struct { // 响应码 Code *int32 `json:"code,omitempty"` // 响应信息 Msg *string `json:"msg,omitempty"` // 指标列表。 Data *[]ClusterMetric `json:"data,omitempty"` // 总列表大小。 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListMetricsResponse Response Object
func (ListMetricsResponse) String ¶ added in v0.1.86
func (o ListMetricsResponse) String() string
type ListMonitorIndicatorDataRequest ¶ added in v0.1.23
type ListMonitorIndicatorDataRequest struct { // 开始时间。 From string `json:"from"` // 结束时间。 To string `json:"to"` // 取值方法。 Function *string `json:"function,omitempty"` // 取值周期。 Period *string `json:"period,omitempty"` // 指标名称。 IndicatorName string `json:"indicator_name"` // 第一层级。 Dim0 string `json:"dim0"` // 第二层级。 Dim1 *string `json:"dim1,omitempty"` }
ListMonitorIndicatorDataRequest Request Object
func (ListMonitorIndicatorDataRequest) String ¶ added in v0.1.23
func (o ListMonitorIndicatorDataRequest) String() string
type ListMonitorIndicatorDataResponse ¶ added in v0.1.23
type ListMonitorIndicatorDataResponse struct { Body *[]TrendQueryDataResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListMonitorIndicatorDataResponse Response Object
func (ListMonitorIndicatorDataResponse) String ¶ added in v0.1.23
func (o ListMonitorIndicatorDataResponse) String() string
type ListMonitorIndicatorsRequest ¶ added in v0.1.23
type ListMonitorIndicatorsRequest struct { }
ListMonitorIndicatorsRequest Request Object
func (ListMonitorIndicatorsRequest) String ¶ added in v0.1.23
func (o ListMonitorIndicatorsRequest) String() string
type ListMonitorIndicatorsResponse ¶ added in v0.1.23
type ListMonitorIndicatorsResponse struct { Body *[]IndicatorInfo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListMonitorIndicatorsResponse Response Object
func (ListMonitorIndicatorsResponse) String ¶ added in v0.1.23
func (o ListMonitorIndicatorsResponse) String() string
type ListNodeTypesRequest ¶
type ListNodeTypesRequest struct { }
ListNodeTypesRequest Request Object
func (ListNodeTypesRequest) String ¶
func (o ListNodeTypesRequest) String() string
type ListNodeTypesResponse ¶
type ListNodeTypesResponse struct { // 节点类型对象列表。 NodeTypes *[]NodeTypes `json:"node_types,omitempty"` // 节点类型总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListNodeTypesResponse Response Object
func (ListNodeTypesResponse) String ¶
func (o ListNodeTypesResponse) String() string
type ListPlanExecLogsRequest ¶ added in v0.1.77
type ListPlanExecLogsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListPlanExecLogsRequest Request Object
func (ListPlanExecLogsRequest) String ¶ added in v0.1.77
func (o ListPlanExecLogsRequest) String() string
type ListPlanExecLogsResponse ¶ added in v0.1.77
type ListPlanExecLogsResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` // 资源池名称。 PlanLogs *[]PlanLog `json:"plan_logs,omitempty"` // 总数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListPlanExecLogsResponse Response Object
func (ListPlanExecLogsResponse) String ¶ added in v0.1.77
func (o ListPlanExecLogsResponse) String() string
type ListQueriesCondition ¶ added in v0.1.72
type ListQueriesCondition struct { // 字段名称参考下方字段列表 systemQuery boolean 是否隐藏系统查询 userName String 用户名称 applicationName String 应用名称 dbName String 数据库名称 resourcePool String 资源池 queryStatus String 查询状态 enqueue String 排队状态 lane String 快慢车道 instName String 接入CN pid String 会话ID blockTime int 阻塞时间(ms) duration int 执行时间(ms) minCpuTime int 最小cpu时间(ms) maxCpuTime int 最大cpu时间(ms) totalCpuTime int CPU时间(ms) cpuSkewPercent int CPU时间倾斜(%) spillInfo String dn下盘信息 minSpillSize int dn上下盘的最小数据量(mb) maxSpillSize int dn上下盘的最大数据量(mb) averageSpillSize int 平均下盘量(MB) spillSkewPercent int dn间下盘倾斜率 queryBand String 作业类型 jobName String 任务名称 jobInst String 任务实例 clientHostname String 主机名称 clientPort String TCP端口 waiting boolean 是否等待 estimateTotalTime int 预估总执行时间(ms) estimateLeftTime int 预估剩余时间(ms) controlGroup String cgroup minPeakMemory int dn最小内存峰值(mb) maxPeakMemory int dn最大内存峰值(mb) averagePeakMemory int 内存使用平均值(mb) memorySkewPercent int 各dn内存使用倾斜率 estimateMemory int 预估使用内存(mb) minDnTime int dn最小执行时间(ms) maxDnTime int dn最大执行时间(ms) averageDnTime int dn平均执行时间(ms) dntimeSkewPercent int 各dn的执行时间倾斜率 warning String 告警 averagePeakIops int dn每秒平均io 峰值(列存是次/s,行存是万次/s) iopsSkewPercent int dn间的io倾斜率 wlmStatus String 语句运行状态 wlmAttrib String 语句属性 Field string `json:"field"` // 字段值 Value string `json:"value"` // 比较方式: String类型参数:=、!=、like、not like int类型参数:=、!=、>、<、>=、<= boolean类型参数:=、!= Operator string `json:"operator"` }
func (ListQueriesCondition) String ¶ added in v0.1.72
func (o ListQueriesCondition) String() string
type ListQueriesData ¶ added in v0.1.72
type ListQueriesData struct { // 查询数据列表。 Queries *[]ListQueriesDto `json:"queries,omitempty"` Status *ListQueriesStatus `json:"status,omitempty"` }
func (ListQueriesData) String ¶ added in v0.1.72
func (o ListQueriesData) String() string
type ListQueriesDto ¶ added in v0.1.72
type ListQueriesDto struct { // 虚拟集群ID VirtualClusterId *int32 `json:"virtual_cluster_id,omitempty"` // 采集时间 Ctime *int64 `json:"ctime,omitempty"` // 会话id。 Pid *string `json:"pid,omitempty"` // 实例名称。 InstName *string `json:"inst_name,omitempty"` // 如果后台当前正等待锁则为true。 Waiting *bool `json:"waiting,omitempty"` // 工作负载管理资源状态。 Enqueue *string `json:"enqueue,omitempty"` // 主要显示如下几类告警信息以及sql自诊断调优相关告警。 Warning *string `json:"warning,omitempty"` // 查询语句。 Query *string `json:"query,omitempty"` // 快慢车道 (fast or slow)。 Lane *string `json:"lane,omitempty"` // 数据库名称。 DbName *string `json:"db_name,omitempty"` // job在资源池中的优先级,取值:1,2,4,8(rush、high、medium、low)。 Priority *string `json:"priority,omitempty"` // 语句执行使用的内部query_id。 QueryId *string `json:"query_id,omitempty"` // 用于标示作业类型,可通过guc参数query_band进行设置,默认为空字符串。 QueryBand *string `json:"query_band,omitempty"` // 这个值是从query_band的字段中取出来的,位置0。 JobName *string `json:"job_name,omitempty"` // 这个值是从query_band的字段中取出来的,位置1。 JobInst *string `json:"job_inst,omitempty"` // 连接到后端的用户名。 UserName *string `json:"user_name,omitempty"` // 连接到后端的应用名。 ApplicationName *string `json:"application_name,omitempty"` // 连接到后端的客户端的ip地址。 ClientAddress *string `json:"client_address,omitempty"` // 客户端的主机名。 ClientHostname *string `json:"client_hostname,omitempty"` // 客户端用于与后端通讯的tcp端口号。 ClientPort *string `json:"client_port,omitempty"` // 语句执行的开始时间。 StartTime *int64 `json:"start_time,omitempty"` // 语句执行前的阻塞时间 (单位ms)。 BlockTime *int64 `json:"block_time,omitempty"` // 语句已经执行的时间 (单位ms)。 Duration *int64 `json:"duration,omitempty"` // 语句执行预估总时间 (单位ms)。 EstimateTotalTime *int64 `json:"estimate_total_time,omitempty"` // 语句执行预估剩余时间 (单位ms)。 EstimateLeftTime *int64 `json:"estimate_left_time,omitempty"` // 用户使用的资源池。 ResourcePool *string `json:"resource_pool,omitempty"` // 语句所使用的cgroup。 ControlGroup *string `json:"control_group,omitempty"` // 语句在所有dn上的最小内存峰值 (单位mb)。 MinPeakMemory *int32 `json:"min_peak_memory,omitempty"` // 语句在所有dn上的最大内存峰值 (单位mb)。 MaxPeakMemory *int32 `json:"max_peak_memory,omitempty"` // 语句执行过程中的内存使用平均值 (单位mb)。 AveragePeakMemory *int32 `json:"average_peak_memory,omitempty"` // 语句在各dn间的内存使用倾斜率。 MemorySkewPercent *int32 `json:"memory_skew_percent,omitempty"` // 语句预估使用内存 (单位mb)。 EstimateMemory *int32 `json:"estimate_memory,omitempty"` // 语句在所有dn上的下盘信息。 SpillInfo *string `json:"spill_info,omitempty"` // 若发生下盘,所有dn上下盘的最小数据量 (单位mb) 默认为0。 MinSpillSize *int32 `json:"min_spill_size,omitempty"` // 若发生下盘,所有dn上下盘的最大数据量 (单位mb) 默认为0。 MaxSpillSize *int32 `json:"max_spill_size,omitempty"` // 若发生下盘,所有dn上下盘的平均数据量 (单位mb) 默认为0。 AverageSpillSize *int32 `json:"average_spill_size,omitempty"` // 若发生下盘,dn间下盘倾斜率。 SpillSkewPercent *int32 `json:"spill_skew_percent,omitempty"` // 语句在所有dn上的最小执行时间 (单位ms)。 MinDnTime *int64 `json:"min_dn_time,omitempty"` // 语句在所有dn上的最大执行时间 (单位ms)。 MaxDnTime *int64 `json:"max_dn_time,omitempty"` // 语句在所有dn上的平均执行时间 (单位ms)。 AverageDnTime *int64 `json:"average_dn_time,omitempty"` // 语句在各dn间的执行时间倾斜率。 DntimeSkewPercent *int32 `json:"dntime_skew_percent,omitempty"` // 语句在所有dn上的最小cpu时间 (单位ms)。 MinCpuTime *int64 `json:"min_cpu_time,omitempty"` // 语句在所有dn上的最大cpu时间 (单位ms)。 MaxCpuTime *int64 `json:"max_cpu_time,omitempty"` // 语句在所有dn上的cpu总时间 (单位ms)。 TotalCpuTime *int64 `json:"total_cpu_time,omitempty"` // 语句在各dn间的cpu时间倾斜率。 CpuSkewPercent *int32 `json:"cpu_skew_percent,omitempty"` // 语句在所有dn上的每秒平均io峰值(列存单位是次/s,行存单位是万次/s)。 AveragePeakIops *int32 `json:"average_peak_iops,omitempty"` // 语句在dn间的io倾斜率。 IopsSkewPercent *int32 `json:"iops_skew_percent,omitempty"` // 语句在所有dn上的每秒最大io峰值(列存单位是次/s,行存单位是万次/s)。 MaxPeakIops *int32 `json:"max_peak_iops,omitempty"` // 语句在所有dn上的每秒最小io峰值(列存单位是次/s,行存单位是万次/s)。 MinPeakIops *int32 `json:"min_peak_iops,omitempty"` // 查询计划。 QueryPlan *string `json:"query_plan,omitempty"` // 当前查询语句的实时运行状态 (active, idle, idle in transaction, idle in transaction(aborted), fastpath function call, disabled)。 QueryStatus *string `json:"query_status,omitempty"` // 当前查询语句在资源池上的运行状态 (pending, running, finished, aborted, active, unknown)。 WlmStatus *string `json:"wlm_status,omitempty"` // 语句的属性 (ordinary, simple, complicated, internal) WlmAttrib *string `json:"wlm_attrib,omitempty"` // 是否系统查询。 SystemQuery *bool `json:"system_query,omitempty"` // 该过程开始的时间,即当客户端连接服务器时。 BackendStart *int64 `json:"backend_start,omitempty"` // 到目前为止的执行时间。 ElapsedTime *int64 `json:"elapsed_time,omitempty"` // 启动当前事务的时间,如果没有事务是活跃的,则为null。如果当前查询是首个事务,则这列等同于query_start列。 CurrXactStart *int64 `json:"curr_xact_start,omitempty"` // 上次状态改变的时间。 StateChange *int64 `json:"state_change,omitempty"` // 语句执行的开始时间。 QueryStart *int64 `json:"query_start,omitempty"` // 语句当前为止的实际执行时间,(单位:s)。 QueryElapsedTime *int64 `json:"query_elapsed_time,omitempty"` }
func (ListQueriesDto) String ¶ added in v0.1.72
func (o ListQueriesDto) String() string
type ListQueriesRequest ¶ added in v0.1.72
type ListQueriesRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` Body *ListQueriesRequestBody `json:"body,omitempty"` }
ListQueriesRequest Request Object
func (ListQueriesRequest) String ¶ added in v0.1.72
func (o ListQueriesRequest) String() string
type ListQueriesRequestBody ¶ added in v0.1.72
type ListQueriesRequestBody struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 项目ID。 ProjectId string `json:"project_id"` // 偏移量,表示从此偏移量开始查询,offset>=0。 Offset string `json:"offset"` // 每页显示的条目数量。 Limit string `json:"limit"` // 查询条件数组 Conditions []ListQueriesCondition `json:"conditions"` // 排序字段 OrderBy *string `json:"order_by,omitempty"` // 固定值db_queries Target string `json:"target"` }
func (ListQueriesRequestBody) String ¶ added in v0.1.72
func (o ListQueriesRequestBody) String() string
type ListQueriesResponse ¶ added in v0.1.72
type ListQueriesResponse struct { // 响应码。 Code *int32 `json:"code,omitempty"` // 响应信息。 Msg *string `json:"msg,omitempty"` Data *ListQueriesData `json:"data,omitempty"` // 总条数。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListQueriesResponse Response Object
func (ListQueriesResponse) String ¶ added in v0.1.72
func (o ListQueriesResponse) String() string
type ListQueriesStatus ¶ added in v0.1.72
type ListQueriesStatus struct { // 平均查询等待时间。 AverageQueryWaitingTime *float64 `json:"average_query_waiting_time,omitempty"` // 平均查询耗时。 AverageTimeConsumptionOfQueries *float64 `json:"average_time_consumption_of_queries,omitempty"` // 平均会话耗时。 AverageTimeConsumptionOfSessions *float64 `json:"average_time_consumption_of_sessions,omitempty"` // 查询数量。 QueriesCount *int64 `json:"queries_count,omitempty"` // 会话数量。 SessionCount *int64 `json:"session_count,omitempty"` }
func (ListQueriesStatus) String ¶ added in v0.1.72
func (o ListQueriesStatus) String() string
type ListQuotasRequest ¶ added in v0.1.14
type ListQuotasRequest struct { }
ListQuotasRequest Request Object
func (ListQuotasRequest) String ¶ added in v0.1.14
func (o ListQuotasRequest) String() string
type ListQuotasResponse ¶ added in v0.1.14
type ListQuotasResponse struct { Quotas *QuotasQuotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ListQuotasResponse Response Object
func (ListQuotasResponse) String ¶ added in v0.1.14
func (o ListQuotasResponse) String() string
type ListSchemasRequest ¶ added in v0.1.77
type ListSchemasRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 数据库名称 DatabaseName string `json:"database_name"` // 排序字段 SortKey *string `json:"sort_key,omitempty"` // 排序字段 SortDir *string `json:"sort_dir,omitempty"` // 查询关键词 Keywords *string `json:"keywords,omitempty"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListSchemasRequest Request Object
func (ListSchemasRequest) String ¶ added in v0.1.77
func (o ListSchemasRequest) String() string
type ListSchemasResponse ¶ added in v0.1.77
type ListSchemasResponse struct { // 集群模式空间信息列表。 Schemas *[]SchemaInfo `json:"schemas,omitempty"` // 总数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListSchemasResponse Response Object
func (ListSchemasResponse) String ¶ added in v0.1.77
func (o ListSchemasResponse) String() string
type ListSnapshotCrossRegionPolicyRequest ¶ added in v0.1.64
type ListSnapshotCrossRegionPolicyRequest struct { // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 分页偏移 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
ListSnapshotCrossRegionPolicyRequest Request Object
func (ListSnapshotCrossRegionPolicyRequest) String ¶ added in v0.1.64
func (o ListSnapshotCrossRegionPolicyRequest) String() string
type ListSnapshotCrossRegionPolicyResponse ¶ added in v0.1.64
type ListSnapshotCrossRegionPolicyResponse struct { // 跨区域配置信息 CrossRegionConfigs *[]CrossRegionSnapshotConfig `json:"cross_region_configs,omitempty"` // 总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotCrossRegionPolicyResponse Response Object
func (ListSnapshotCrossRegionPolicyResponse) String ¶ added in v0.1.64
func (o ListSnapshotCrossRegionPolicyResponse) String() string
type ListSnapshotCrossRegionRequest ¶ added in v0.1.64
type ListSnapshotCrossRegionRequest struct { // 分页偏移,默认0 Offset *int32 `json:"offset,omitempty"` // 分页大小,默认10 Limit *int32 `json:"limit,omitempty"` }
ListSnapshotCrossRegionRequest Request Object
func (ListSnapshotCrossRegionRequest) String ¶ added in v0.1.64
func (o ListSnapshotCrossRegionRequest) String() string
type ListSnapshotCrossRegionResponse ¶ added in v0.1.64
type ListSnapshotCrossRegionResponse struct { // 区域列表 Regions *[]SnapshotRegion `json:"regions,omitempty"` // 总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotCrossRegionResponse Response Object
func (ListSnapshotCrossRegionResponse) String ¶ added in v0.1.64
func (o ListSnapshotCrossRegionResponse) String() string
type ListSnapshotDetailsRequest ¶
type ListSnapshotDetailsRequest struct { // 快照ID。 SnapshotId string `json:"snapshot_id"` }
ListSnapshotDetailsRequest Request Object
func (ListSnapshotDetailsRequest) String ¶
func (o ListSnapshotDetailsRequest) String() string
type ListSnapshotDetailsResponse ¶
type ListSnapshotDetailsResponse struct { Snapshot *SnapshotDetail `json:"snapshot,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotDetailsResponse Response Object
func (ListSnapshotDetailsResponse) String ¶
func (o ListSnapshotDetailsResponse) String() string
type ListSnapshotPolicyRequest ¶ added in v0.1.14
type ListSnapshotPolicyRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ListSnapshotPolicyRequest Request Object
func (ListSnapshotPolicyRequest) String ¶ added in v0.1.14
func (o ListSnapshotPolicyRequest) String() string
type ListSnapshotPolicyResponse ¶ added in v0.1.14
type ListSnapshotPolicyResponse struct { // 保留天数。 KeepDay *string `json:"keep_day,omitempty"` // 备份策略。 BackupStrategies *[]BackupStrategyDetail `json:"backup_strategies,omitempty"` // 备份设备。 DeviceName *string `json:"device_name,omitempty"` // 服务IP。 ServerIps *[]string `json:"server_ips,omitempty"` // 服务端口。 ServerPort *string `json:"server_port,omitempty"` // 参数。 BackupParam *string `json:"backup_param,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotPolicyResponse Response Object
func (ListSnapshotPolicyResponse) String ¶ added in v0.1.14
func (o ListSnapshotPolicyResponse) String() string
type ListSnapshotStatisticsRequest ¶ added in v0.1.14
type ListSnapshotStatisticsRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
ListSnapshotStatisticsRequest Request Object
func (ListSnapshotStatisticsRequest) String ¶ added in v0.1.14
func (o ListSnapshotStatisticsRequest) String() string
type ListSnapshotStatisticsResponse ¶ added in v0.1.14
type ListSnapshotStatisticsResponse struct { // 快照统计信息。 Statistics *[]SnapshotsStatistic `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotStatisticsResponse Response Object
func (ListSnapshotStatisticsResponse) String ¶ added in v0.1.14
func (o ListSnapshotStatisticsResponse) String() string
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct { }
ListSnapshotsRequest Request Object
func (ListSnapshotsRequest) String ¶
func (o ListSnapshotsRequest) String() string
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { // 快照对象列表。 Snapshots *[]Snapshots `json:"snapshots,omitempty"` // 快照对象列表总数 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListSnapshotsResponse Response Object
func (ListSnapshotsResponse) String ¶
func (o ListSnapshotsResponse) String() string
type ListStatisticsRequest ¶ added in v0.1.14
type ListStatisticsRequest struct { }
ListStatisticsRequest Request Object
func (ListStatisticsRequest) String ¶ added in v0.1.14
func (o ListStatisticsRequest) String() string
type ListStatisticsResponse ¶ added in v0.1.14
type ListStatisticsResponse struct { // 资源数量信息列表。 Statistics *[]Statistic `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
ListStatisticsResponse Response Object
func (ListStatisticsResponse) String ¶ added in v0.1.14
func (o ListStatisticsResponse) String() string
type ListTablesStatisticDto ¶ added in v0.1.72
type ListTablesStatisticDto struct { // 数据库名称。 DbName *string `json:"db_name,omitempty"` // schema名称。 SchemaName *string `json:"schema_name,omitempty"` // 表名。 TableName *string `json:"table_name,omitempty"` // 所属用户。 TableOwner *string `json:"table_owner,omitempty"` // 表大小。 TableSize *string `json:"table_size,omitempty"` // 表倾斜率。 SkewRate *float64 `json:"skew_rate,omitempty"` // 脏页率。 DirtyPageRate *float64 `json:"dirty_page_rate,omitempty"` }
ListTablesStatisticDto 表倾斜率或脏页率列表。
func (ListTablesStatisticDto) String ¶ added in v0.1.72
func (o ListTablesStatisticDto) String() string
type ListTablesStatisticRequest ¶ added in v0.1.72
type ListTablesStatisticRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 查询类型。固定取值。 skew:表倾斜率。 dirtyPage:表脏页率。 RateType string `json:"rate_type"` // 偏移量,表示从此偏移量开始查询,offset>=0。 Offset int32 `json:"offset"` // 每页显示的条目数量。 Limit int32 `json:"limit"` // 排序字段。固定取值。 table_size:表大小。rate:表倾斜率或脏页率。 OrderBy *string `json:"order_by,omitempty"` // 正序还是倒叙。固定取值。 ASC:正序。DESC:倒序 SortBy *string `json:"sort_by,omitempty"` // 查询条件。固定取值。 db_name:数据库名称。 schema_name:schema名称。 table_name:表名。 table_owner:所属用户。 Filter *string `json:"filter,omitempty"` // 查询条件的取值。 Value *string `json:"value,omitempty"` }
ListTablesStatisticRequest Request Object
func (ListTablesStatisticRequest) String ¶ added in v0.1.72
func (o ListTablesStatisticRequest) String() string
type ListTablesStatisticResponse ¶ added in v0.1.72
type ListTablesStatisticResponse struct { // 数据采集时间毫秒级时间戳。 CollectTime *int64 `json:"collect_time,omitempty"` // 表倾斜率或脏页率列表。 Data *[]ListTablesStatisticDto `json:"data,omitempty"` // 总列表大小。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListTablesStatisticResponse Response Object
func (ListTablesStatisticResponse) String ¶ added in v0.1.72
func (o ListTablesStatisticResponse) String() string
type ListTagsRequest ¶ added in v0.1.14
type ListTagsRequest struct { }
ListTagsRequest Request Object
func (ListTagsRequest) String ¶ added in v0.1.14
func (o ListTagsRequest) String() string
type ListTagsResponse ¶ added in v0.1.14
type ListTagsResponse struct { // 标签列表对象。 Tags *[]ProjectTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsResponse Response Object
func (ListTagsResponse) String ¶ added in v0.1.14
func (o ListTagsResponse) String() string
type ListTopoRingsRequest ¶ added in v0.1.72
type ListTopoRingsRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListTopoRingsRequest Request Object
func (ListTopoRingsRequest) String ¶ added in v0.1.72
func (o ListTopoRingsRequest) String() string
type ListTopoRingsResponse ¶ added in v0.1.72
type ListTopoRingsResponse struct { // 集群拓扑环列表信息 ClusterRings *[]TopoRingInfo `json:"cluster_rings,omitempty"` // 集群环数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListTopoRingsResponse Response Object
func (ListTopoRingsResponse) String ¶ added in v0.1.72
func (o ListTopoRingsResponse) String() string
type ListUpdatableVersionRequest ¶ added in v0.1.64
type ListUpdatableVersionRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 条目数 Limit *int32 `json:"limit,omitempty"` }
ListUpdatableVersionRequest Request Object
func (ListUpdatableVersionRequest) String ¶ added in v0.1.64
func (o ListUpdatableVersionRequest) String() string
type ListUpdatableVersionResponse ¶ added in v0.1.64
type ListUpdatableVersionResponse struct { // 集群升级路径总条数 Count *int32 `json:"count,omitempty"` // 集群升级路径列表 Items *[]UpdateItemResp `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListUpdatableVersionResponse Response Object
func (ListUpdatableVersionResponse) String ¶ added in v0.1.64
func (o ListUpdatableVersionResponse) String() string
type ListUpdateRecordRequest ¶ added in v0.1.64
type ListUpdateRecordRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 条目数 Limit *int32 `json:"limit,omitempty"` }
ListUpdateRecordRequest Request Object
func (ListUpdateRecordRequest) String ¶ added in v0.1.64
func (o ListUpdateRecordRequest) String() string
type ListUpdateRecordResponse ¶ added in v0.1.64
type ListUpdateRecordResponse struct { // 集群升级记录总数 Count *int32 `json:"count,omitempty"` // 集群升级记录列表 Records *[]ClusterUpdateRecordResp `json:"records,omitempty"` HttpStatusCode int `json:"-"` }
ListUpdateRecordResponse Response Object
func (ListUpdateRecordResponse) String ¶ added in v0.1.64
func (o ListUpdateRecordResponse) String() string
type ListWorkloadPlansRequest ¶ added in v0.1.78
type ListWorkloadPlansRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 逻辑集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListWorkloadPlansRequest Request Object
func (ListWorkloadPlansRequest) String ¶ added in v0.1.78
func (o ListWorkloadPlansRequest) String() string
type ListWorkloadPlansResponse ¶ added in v0.1.78
type ListWorkloadPlansResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` // 资源池名称。 PlanList *[]WorkloadPlanInfo `json:"plan_list,omitempty"` // 总数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkloadPlansResponse Response Object
func (ListWorkloadPlansResponse) String ¶ added in v0.1.78
func (o ListWorkloadPlansResponse) String() string
type ListWorkloadQueueRequest ¶ added in v0.1.14
type ListWorkloadQueueRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 逻辑集群名称。逻辑集群模式下该字段必填。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` }
ListWorkloadQueueRequest Request Object
func (ListWorkloadQueueRequest) String ¶ added in v0.1.14
func (o ListWorkloadQueueRequest) String() string
type ListWorkloadQueueResponse ¶ added in v0.1.14
type ListWorkloadQueueResponse struct { // 工作负载队列名称。 WorkloadQueueNameList *[]string `json:"workload_queue_name_list,omitempty"` // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkloadQueueResponse Response Object
func (ListWorkloadQueueResponse) String ¶ added in v0.1.14
func (o ListWorkloadQueueResponse) String() string
type ListWorkloadQueueUsersRequest ¶ added in v0.1.77
type ListWorkloadQueueUsersRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 队列名称 QueueName string `json:"queue_name"` // 查询条数 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` }
ListWorkloadQueueUsersRequest Request Object
func (ListWorkloadQueueUsersRequest) String ¶ added in v0.1.77
func (o ListWorkloadQueueUsersRequest) String() string
type ListWorkloadQueueUsersResponse ¶ added in v0.1.77
type ListWorkloadQueueUsersResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` // 队列名称。 QueueName *string `json:"queue_name,omitempty"` // 队列用户列表。 UserList *[]WorkloadQueueUser `json:"user_list,omitempty"` // 总数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkloadQueueUsersResponse Response Object
func (ListWorkloadQueueUsersResponse) String ¶ added in v0.1.77
func (o ListWorkloadQueueUsersResponse) String() string
type LogicalClusterInfo ¶ added in v0.1.72
type LogicalClusterInfo struct { // 逻辑集群ID LogicalClusterId *string `json:"logical_cluster_id,omitempty"` // 逻辑集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 逻辑集群主机信息 ClusterRings *[]ClusterRing `json:"cluster_rings,omitempty"` // 逻辑集群状态 Status *string `json:"status,omitempty"` // 是否为第一个逻辑集群。第1个创建或者转换的逻辑集群不能删除,因为其中包含了一些系统视图 FirstLogicalCluster *bool `json:"first_logical_cluster,omitempty"` ActionInfo *ActionInfo `json:"action_info,omitempty"` // 是否允许编辑 EditEnable *bool `json:"edit_enable,omitempty"` // 是否允许重启 RestartEnable *bool `json:"restart_enable,omitempty"` // 是否允许删除 DeleteEnable *bool `json:"delete_enable,omitempty"` // 是否允许弹性伸缩 AddToElastic *bool `json:"add_to_elastic,omitempty"` // 逻辑集群模式 Mode *string `json:"mode,omitempty"` // 等待被销毁 WaitingForKilling *int32 `json:"waiting_for_killing,omitempty"` // 集群类型 ClusterType *string `json:"cluster_type,omitempty"` }
LogicalClusterInfo This is a auto create Body Object
func (LogicalClusterInfo) String ¶ added in v0.1.72
func (o LogicalClusterInfo) String() string
type LogicalClusterRingInfo ¶ added in v0.1.72
type LogicalClusterRingInfo struct { // 集群主机环信息 RingHosts *[]RingHost `json:"ring_hosts,omitempty"` }
LogicalClusterRingInfo 集群实例环信息
func (LogicalClusterRingInfo) String ¶ added in v0.1.72
func (o LogicalClusterRingInfo) String() string
type LogicalClusterTaskInfo ¶ added in v0.1.72
type LogicalClusterTaskInfo struct { // 任务类型 Type *string `json:"type,omitempty"` // 逻辑集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 任务开始时间 StartTime *string `json:"start_time,omitempty"` // 任务结束时间 EndTime *string `json:"end_time,omitempty"` // 任务执行结果 Result *string `json:"result,omitempty"` // 任务执行日志 Log *string `json:"log,omitempty"` }
LogicalClusterTaskInfo 逻辑集群任务信息
func (LogicalClusterTaskInfo) String ¶ added in v0.1.72
func (o LogicalClusterTaskInfo) String() string
type LogicalClusterVolume ¶ added in v0.1.72
type LogicalClusterVolume struct { // 逻辑集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 磁盘使用量 Usage *string `json:"usage,omitempty"` // 磁盘总量 Total *string `json:"total,omitempty"` // 磁盘使用比例 Percent *string `json:"percent,omitempty"` }
LogicalClusterVolume 逻辑集群磁盘信息
func (LogicalClusterVolume) String ¶ added in v0.1.72
func (o LogicalClusterVolume) String() string
type LtslogInfo ¶ added in v0.1.72
type LtslogInfo struct { // 配置状态 Status string `json:"status"` // 日志ID Id string `json:"id"` // 日志类型 LogType string `json:"log_type"` // 日志描述 LogDesc string `json:"log_desc"` // LTS日志访问URL AccessUrl string `json:"access_url"` }
LtslogInfo LTS日志信息
func (LtslogInfo) String ¶ added in v0.1.72
func (o LtslogInfo) String() string
type MaintainWindow ¶
type MaintainWindow struct { // 每周的维护时间,以天为粒度,取值如下: - Mon:星期一 - Tue:星期二 - Wed:星期三 - Thu:星期四 - Fri:星期五 - Sat:星期六 - Sun:星期日 Day *string `json:"day,omitempty"` // 维护开始时间,显示格式为 HH:mm,时区为GMT+0。 StartTime *string `json:"start_time,omitempty"` // 维护结束时间,显示格式为 HH:mm, 时区为GMT+0。 EndTime *string `json:"end_time,omitempty"` }
MaintainWindow 集群维护时间窗信息
func (MaintainWindow) String ¶
func (o MaintainWindow) String() string
type MaintenanceWindow ¶ added in v0.1.14
type MaintenanceWindow struct { // 日期,范围:Mon、Tue、Wed、Thu、Fri、Sat、Sun。 Day string `json:"day"` // 开始时间,UTC时间,格式为HH:mm,例如:22:00。 - 时间必须是整点。 - 开始时间和结束时间必须间隔4小时。 StartTime string `json:"start_time"` // 结束时间,UTC时间,格式为HH:mm,例如:02:00。 - 时间必须是整点。 - 开始时间和结束时间必须间隔4小时。 EndTime string `json:"end_time"` }
MaintenanceWindow 可维护时间段。
func (MaintenanceWindow) String ¶ added in v0.1.14
func (o MaintenanceWindow) String() string
type ModifyClusterDns ¶ added in v0.1.14
type ModifyClusterDns struct { // 待修改的域名。 Name string `json:"name"` // 域名类型。 - public:公网域名。 - private:内网域名。 Type string `json:"type"` // 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 - 取值范围:300~2147483647。 - 默认值为300s。 Ttl int32 `json:"ttl"` }
ModifyClusterDns 修改的域名信息。
func (ModifyClusterDns) String ¶ added in v0.1.14
func (o ModifyClusterDns) String() string
type NetResp ¶ added in v0.1.14
type NetResp struct { // 虚拟集群ID。 VirtualClusterId *int32 `json:"virtual_cluster_id,omitempty"` // 查询时间。 Ctime *int64 `json:"ctime,omitempty"` // 主机ID。 HostId *int32 `json:"host_id,omitempty"` // 主机名称。 HostName *string `json:"host_name,omitempty"` // 实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 网卡状态(true代表up/false代表down)。 Up *bool `json:"up,omitempty"` // 网卡速度(Mbps)。 Speed *int64 `json:"speed,omitempty"` // 接收包数(个)。 RecvPackets *int64 `json:"recv_packets,omitempty"` // 发送包数(个)。 SendPackets *int64 `json:"send_packets,omitempty"` // 接收丢包数(个)。 RecvDrop *int64 `json:"recv_drop,omitempty"` // 接收速率(KB/s)。 RecvRate *float64 `json:"recv_rate,omitempty"` // 发送速率(KB/s)。 SendRate *float64 `json:"send_rate,omitempty"` // 网络速率(KB/s)。 IoRate *float64 `json:"io_rate,omitempty"` // 网卡名称。 InterfaceName *string `json:"interface_name,omitempty"` }
type NodeTypeAvailableZones ¶ added in v0.1.21
type NodeTypeAvailableZones struct { // 可用区ID。 Code string `json:"code"` // 节点类型可用状态。 - normal:可用 - sellout:售罄 - abandon:不可用 Status string `json:"status"` }
NodeTypeAvailableZones 节点类型支持的可用区及状态信息。
func (NodeTypeAvailableZones) String ¶ added in v0.1.21
func (o NodeTypeAvailableZones) String() string
type NodeTypeDatastores ¶ added in v0.1.21
type NodeTypeDatastores struct { // 内核版本号。 Version string `json:"version"` Attachments *NodeTypeDatastoresAttachments `json:"attachments"` }
NodeTypeDatastores 内核版本信息。
func (NodeTypeDatastores) String ¶ added in v0.1.21
func (o NodeTypeDatastores) String() string
type NodeTypeDatastoresAttachments ¶ added in v0.1.21
type NodeTypeDatastoresAttachments struct { // 内核版本支持的最小CN。 MinCn string `json:"min_cn"` // 内核版本支持的最大CN。 MaxCn string `json:"max_cn"` }
NodeTypeDatastoresAttachments 内核版本附加信息。
func (NodeTypeDatastoresAttachments) String ¶ added in v0.1.21
func (o NodeTypeDatastoresAttachments) String() string
type NodeTypeElasticVolumeSpecs ¶ added in v0.1.21
type NodeTypeElasticVolumeSpecs struct { // 云盘存储类型。 Type string `json:"type"` // 云盘容量调整步长。 Step string `json:"step"` // 云盘支持的最小容量。 MinSize int32 `json:"min_size"` // 云盘支持的最大容量。 MaxSize int32 `json:"max_size"` }
NodeTypeElasticVolumeSpecs 如果规格为弹性容量规格,则该属性为规格典配的弹性容量信息,包括存储类型、最小容量、最大容量以及步长信息,如果为固定存储规格,则该属性为null。
func (NodeTypeElasticVolumeSpecs) String ¶ added in v0.1.21
func (o NodeTypeElasticVolumeSpecs) String() string
type NodeTypes ¶
type NodeTypes struct { // 节点类型名称。 SpecName string `json:"spec_name"` // 节点类型详细。 Detail []Detail `json:"detail"` // 节点类型ID。 Id string `json:"id"` // 产品类型 - dws:云数仓。 - hybrid:实时数仓。 - stream:IoT数仓。 DatastoreType string `json:"datastore_type"` // 支持的可用区及状态信息。 AvailableZones []NodeTypeAvailableZones `json:"available_zones"` // 内存大小。 Ram int32 `json:"ram"` // CPU数量。 Vcpus int32 `json:"vcpus"` // 内核版本信息。 Datastores []NodeTypeDatastores `json:"datastores"` Volume *VolumeResp `json:"volume"` // 如果规格为弹性容量规格,则该属性为规格典配的弹性容量信息,包括存储类型、最小容量、最大容量以及步长信息,如果为固定存储规格,则该属性为null。 ElasticVolumeSpecs []NodeTypeElasticVolumeSpecs `json:"elastic_volume_specs"` }
NodeTypes 节点类型对象
type Nodes ¶ added in v0.0.88
type Nodes struct { // 集群实例ID Id string `json:"id"` // 集群实例状态 - 100:创建中 - 199:空闲 - 200:可用 - 300:不可用 - 303:创建失败 - 304:删除中 - 305:删除失败 - 400:已删除 Status string `json:"status"` }
Nodes 集群实例对象
type ObjectAuthority ¶ added in v0.1.44
type ObjectAuthority struct { // 对象名称 Name *string `json:"name,omitempty"` // 角色权限集合 RoleAuthority *[]RoleAuthority `json:"role_authority,omitempty"` }
ObjectAuthority 对象权限信息
func (ObjectAuthority) String ¶ added in v0.1.44
func (o ObjectAuthority) String() string
type OccupyResource ¶ added in v0.1.77
type OccupyResource struct { // 资源项名称 ResourceName *string `json:"resource_name,omitempty"` // 资源属性数值 ResourceValue *int32 `json:"resource_value,omitempty"` // 资源属性单位 ValueUnit *string `json:"value_unit,omitempty"` // 资源附加描述 ResourceDescription *string `json:"resource_description,omitempty"` }
OccupyResource 用户占用资源列表
func (OccupyResource) String ¶ added in v0.1.77
func (o OccupyResource) String() string
type OpenPublicIp ¶ added in v0.1.14
type OpenPublicIp struct { // 弹性IP绑定类型,取值如下: auto_assign:自动绑定 not_use:暂未使用 bind_existing :使用已有 PublicBindType *string `json:"public_bind_type,omitempty"` // 弹性IP的ID EipId *string `json:"eip_id,omitempty"` }
OpenPublicIp 弹性公网IP对象
func (OpenPublicIp) String ¶ added in v0.1.14
func (o OpenPublicIp) String() string
type ParameterGroup ¶
type ParameterGroup struct { // 参数组ID Id string `json:"id"` // 参数组名称 Name string `json:"name"` // 集群参数状态,有效值包括: - In-Sync:已同步 - Applying:应用中 - Pending-Reboot:需重启生效 - Sync-Failure:应用失败 Status string `json:"status"` }
ParameterGroup 集群所关联的参数组信息
func (ParameterGroup) String ¶
func (o ParameterGroup) String() string
type PauseDisasterRecoveryRequest ¶ added in v0.1.14
type PauseDisasterRecoveryRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
PauseDisasterRecoveryRequest Request Object
func (PauseDisasterRecoveryRequest) String ¶ added in v0.1.14
func (o PauseDisasterRecoveryRequest) String() string
type PauseDisasterRecoveryResponse ¶ added in v0.1.14
type PauseDisasterRecoveryResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
PauseDisasterRecoveryResponse Response Object
func (PauseDisasterRecoveryResponse) String ¶ added in v0.1.14
func (o PauseDisasterRecoveryResponse) String() string
type PlanLog ¶ added in v0.1.77
type PlanLog struct { // 执行时间 ExecTime string `json:"exec_time"` // 执行计划阶段 StageInfo string `json:"stage_info"` // 执行结果。 ExecResult int32 `json:"exec_result"` // 执行日志。 ExecLog string `json:"exec_log"` }
PlanLog 工作计划日志
type PlanStage ¶ added in v0.1.64
type PlanStage struct { // 计划月份。 Month string `json:"month"` // 计划日期。 Day string `json:"day"` // 计划ID。 PlanId string `json:"plan_id"` // 计划阶段ID。 StageId string `json:"stage_id"` // 计划阶段名称。 StageName string `json:"stage_name"` // 计划开始时间。 StartTime *string `json:"start_time,omitempty"` // 计划结束时间 EndTime *string `json:"end_time,omitempty"` // 下次校验时间 NextValidTime *string `json:"next_valid_time,omitempty"` // 资源队列列表 QueueList *[]QueueResourceItem `json:"queue_list,omitempty"` }
PlanStage 工作计划阶段。
type ProjectTag ¶ added in v0.1.14
ProjectTag 标签详情。
func (ProjectTag) String ¶ added in v0.1.14
func (o ProjectTag) String() string
type PublicEndpoints ¶
type PublicEndpoints struct { // 公网连接信息 PublicConnectInfo *string `json:"public_connect_info,omitempty"` // 公网JDBC URL,默认格式如下: jdbc:postgresql://<public_connect_info>/<YOUR_DATABASE_name> JdbcUrl *string `json:"jdbc_url,omitempty"` }
PublicEndpoints
func (PublicEndpoints) String ¶
func (o PublicEndpoints) String() string
type PublicIp ¶
type QueueResourceItem ¶ added in v0.1.64
type QueueResourceItem struct { // 资源池名称。 QueueName string `json:"queue_name"` // 资源配置队列。 QueueResources []WorkloadResourceItem `json:"queue_resources"` }
QueueResourceItem 工作负载资源池
func (QueueResourceItem) String ¶ added in v0.1.64
func (o QueueResourceItem) String() string
type QuotasQuotas ¶ added in v0.1.18
type QuotasQuotas struct { // 资源列表对象。 Resources *[]QuotasResource `json:"resources,omitempty"` }
QuotasQuotas 配额列表对象。
func (QuotasQuotas) String ¶ added in v0.1.18
func (o QuotasQuotas) String() string
type QuotasResource ¶ added in v0.1.18
type QuotasResource struct { // 项目资源类型。 Type string `json:"type"` // 已使用的资源数量。 Used string `json:"used"` // 项目资源配额。 Quota int32 `json:"quota"` // 资源计量单位。 Unit int32 `json:"unit"` }
QuotasResource 资源配额详情。
func (QuotasResource) String ¶ added in v0.1.18
func (o QuotasResource) String() string
type RdsRedisInfo ¶ added in v0.1.61
type RdsRedisInfo struct { // ID Id *string `json:"id,omitempty"` // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 状态 Status *string `json:"status,omitempty"` RedisConf *RedisConf `json:"redis_conf,omitempty"` RedisProgress *RedisProgress `json:"redis_progress,omitempty"` RedisTableDetail *RedisTableDetail `json:"redis_table_detail,omitempty"` }
RdsRedisInfo 重分布信息
func (RdsRedisInfo) String ¶ added in v0.1.61
func (o RdsRedisInfo) String() string
type ReconfigureExtDataSourceAction ¶ added in v0.1.14
type ReconfigureExtDataSourceAction struct { // 重启。 Reboot *bool `json:"reboot,omitempty"` // 委托。 Agency *string `json:"agency,omitempty"` }
ReconfigureExtDataSourceAction 更新数据源配置
func (ReconfigureExtDataSourceAction) String ¶ added in v0.1.14
func (o ReconfigureExtDataSourceAction) String() string
type ReconfigureExtDataSourceActionReq ¶ added in v0.1.18
type ReconfigureExtDataSourceActionReq struct {
Reconfigure *ReconfigureExtDataSourceAction `json:"reconfigure"`
}
ReconfigureExtDataSourceActionReq 更新数据源配置
func (ReconfigureExtDataSourceActionReq) String ¶ added in v0.1.18
func (o ReconfigureExtDataSourceActionReq) String() string
type RedisConf ¶ added in v0.1.61
type RedisConf struct { // 重分布模式 RedisMode string `json:"redis_mode"` ScheduleConf *ScheduleConf `json:"schedule_conf,omitempty"` // 并行作业数量 ParallelJobs int32 `json:"parallel_jobs"` // 并行作业数量 ParallelJob int32 `json:"parallel_job"` }
RedisConf 重分布配置信息
type RedisConfReq ¶ added in v0.1.80
type RedisConfReq struct { // 重分布模式。offLine和onLine,默认offLine。 RedisMode string `json:"redis_mode"` // 并行作业数量。可配置并发数在1-200之间,默认值:4。 ParallelJobs int32 `json:"parallel_jobs"` }
RedisConfReq 重分布配置请求信息
func (RedisConfReq) String ¶ added in v0.1.80
func (o RedisConfReq) String() string
type RedisProgress ¶ added in v0.1.61
type RedisProgress struct { // 已完成字节数 BytesDone *int64 `json:"bytes_done,omitempty"` // 剩余字节数 ByteLeft *int64 `json:"byte_left,omitempty"` // 完成表数量 TablesDone *int32 `json:"tables_done,omitempty"` // 剩余表数量 TablesLeft *int32 `json:"tables_left,omitempty"` // 表重分布进度 TableProgress *int32 `json:"table_progress,omitempty"` // 总进度 TotalProgress *int32 `json:"total_progress,omitempty"` // 重分布比例 RedisRate *string `json:"redis_rate,omitempty"` // 预计时间 EstimatedTime *string `json:"estimated_time,omitempty"` // 是否已完成 Completed *bool `json:"completed,omitempty"` // 是否完成初始化 Initialed *bool `json:"initialed,omitempty"` // 失败总数 FailCount *int32 `json:"fail_count,omitempty"` // cm_ctl 结果 Redistributing *bool `json:"redistributing,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 是否用户暂停 PauseByUser *bool `json:"pause_by_user,omitempty"` }
RedisProgress 重分布进度信息
func (RedisProgress) String ¶ added in v0.1.61
func (o RedisProgress) String() string
type RedisTable ¶ added in v0.1.61
type RedisTable struct { // 表名 TableName *string `json:"table_name,omitempty"` // 表唯一id Id *int32 `json:"id,omitempty"` // schema名 SchemaName *string `json:"schema_name,omitempty"` // 逻辑集群名 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 表大小 Size *int64 `json:"size,omitempty"` // 重分布类型 i:重分布中; y:重分布完成; n:未开始 Status *string `json:"status,omitempty"` }
RedisTable 重分布表信息
func (RedisTable) String ¶ added in v0.1.61
func (o RedisTable) String() string
type RedisTableDetail ¶ added in v0.1.61
type RedisTableDetail struct { // 具体数据 Data *[]RedisTable `json:"data,omitempty"` // 总条数 Total *int32 `json:"total,omitempty"` }
RedisTableDetail 重分布表详情
func (RedisTableDetail) String ¶ added in v0.1.61
func (o RedisTableDetail) String() string
type RedistributionReq ¶ added in v0.1.18
type RedistributionReq struct { // 重分布模式 RedisMode string `json:"redis_mode"` // 重分布并发数 ParallelJobs int32 `json:"parallel_jobs"` }
RedistributionReq 重分布请求
func (RedistributionReq) String ¶ added in v0.1.18
func (o RedistributionReq) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { // 指定待重置密码集群的ID ClusterId string `json:"cluster_id"` Body *ResetPasswordRequestBody `json:"body,omitempty"` }
ResetPasswordRequest Request Object
func (ResetPasswordRequest) String ¶
func (o ResetPasswordRequest) String() string
type ResetPasswordRequestBody ¶
type ResetPasswordRequestBody struct { // GaussDB(DWS) 集群管理员新密码。 新密码复杂度要求如下: - 密码字符长度为12~32位。 - 不能与用户名或倒序的用户名相同。 - 至少包含以下4种类型的3种: - 小写字母 - 大写字母 - 数字 - 特殊字符(~!?,.:;-_'\"(){}[]/<>@#%^&*+|\\=)。 - 不能与历史密码相同。 - 不能为弱密码。 NewPassword string `json:"new_password"` }
ResetPasswordRequestBody This is a auto create Body Object
func (ResetPasswordRequestBody) String ¶
func (o ResetPasswordRequestBody) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
ResetPasswordResponse Response Object
func (ResetPasswordResponse) String ¶
func (o ResetPasswordResponse) String() string
type ResizeClusterRequest ¶
type ResizeClusterRequest struct { // 待调整大小的集群ID ClusterId string `json:"cluster_id"` Body *ResizeClusterRequestBody `json:"body,omitempty"` }
ResizeClusterRequest Request Object
func (ResizeClusterRequest) String ¶
func (o ResizeClusterRequest) String() string
type ResizeClusterRequestBody ¶
type ResizeClusterRequestBody struct {
ScaleOut *ScaleOut `json:"scale_out,omitempty"`
}
ResizeClusterRequestBody This is a auto create Body Object
func (ResizeClusterRequestBody) String ¶
func (o ResizeClusterRequestBody) String() string
type ResizeClusterResponse ¶
type ResizeClusterResponse struct {
HttpStatusCode int `json:"-"`
}
ResizeClusterResponse Response Object
func (ResizeClusterResponse) String ¶
func (o ResizeClusterResponse) String() string
type ResizeClusterWithExistedNodesRequest ¶ added in v0.1.72
type ResizeClusterWithExistedNodesRequest struct { // 指定节点集群的ID ClusterId string `json:"cluster_id"` Body *ResizeClusterWithExistedNodesRequestBody `json:"body,omitempty"` }
ResizeClusterWithExistedNodesRequest Request Object
func (ResizeClusterWithExistedNodesRequest) String ¶ added in v0.1.72
func (o ResizeClusterWithExistedNodesRequest) String() string
type ResizeClusterWithExistedNodesRequestBody ¶ added in v0.1.72
type ResizeClusterWithExistedNodesRequestBody struct { ScaleOut *ScaleOut `json:"scale_out"` // 是否强制备份 ForceBackup *bool `json:"force_backup,omitempty"` // 扩容备份模式,不传默认离线read-only。 Mode *string `json:"mode,omitempty"` // 逻辑集群名称。非逻辑集群模式下该字段不填,逻辑集群模式下不传默认elastic_group。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 是否是使用已添加的空闲节点进行扩容 ExpandWithExistedNode bool `json:"expand_with_existed_node"` // 扩容完成后是否自动启动重分布,默认true AutoRedistribute *bool `json:"auto_redistribute,omitempty"` RedisConf *RedisConfReq `json:"redis_conf,omitempty"` }
ResizeClusterWithExistedNodesRequestBody 节点扩容请求
func (ResizeClusterWithExistedNodesRequestBody) String ¶ added in v0.1.72
func (o ResizeClusterWithExistedNodesRequestBody) String() string
type ResizeClusterWithExistedNodesResponse ¶ added in v0.1.72
type ResizeClusterWithExistedNodesResponse struct {
HttpStatusCode int `json:"-"`
}
ResizeClusterWithExistedNodesResponse Response Object
func (ResizeClusterWithExistedNodesResponse) String ¶ added in v0.1.72
func (o ResizeClusterWithExistedNodesResponse) String() string
type ResizeInfo ¶
type ResizeInfo struct { // 扩容后的节点数量 TargetNodeNum *int32 `json:"target_node_num,omitempty"` // 扩容前的节点数量 OriginNodeNum *int32 `json:"origin_node_num,omitempty"` // 扩容状态,取值如下: - GROWING:扩容中 - RESIZE_FAILURE:扩容失败 ResizeStatus *string `json:"resize_status,omitempty"` // 扩容开始时间,格式为ISO8601:YYYY-MM-DDThh:mm:ss StartTime *string `json:"start_time,omitempty"` }
ResizeInfo 集群扩容状态详情
func (ResizeInfo) String ¶
func (o ResizeInfo) String() string
type ResourceTag ¶ added in v0.1.14
ResourceTag 标签详情。
func (ResourceTag) String ¶ added in v0.1.14
func (o ResourceTag) String() string
type RestartClusterRequest ¶
type RestartClusterRequest struct { // 指定待重启集群的ID ClusterId string `json:"cluster_id"` Body *RestartClusterRequestBody `json:"body,omitempty"` }
RestartClusterRequest Request Object
func (RestartClusterRequest) String ¶
func (o RestartClusterRequest) String() string
type RestartClusterRequestBody ¶
type RestartClusterRequestBody struct {
// 重启标识
Restart *interface{} `json:"restart"`
}
RestartClusterRequestBody This is a auto create Body Object
func (RestartClusterRequestBody) String ¶
func (o RestartClusterRequestBody) String() string
type RestartClusterResponse ¶
type RestartClusterResponse struct {
HttpStatusCode int `json:"-"`
}
RestartClusterResponse Response Object
func (RestartClusterResponse) String ¶
func (o RestartClusterResponse) String() string
type RestartLogicalClusterRequest ¶ added in v0.1.72
type RestartLogicalClusterRequest struct { // 指定重启集群的ID ClusterId string `json:"cluster_id"` // 指定待重启逻辑集群的ID LogicalClusterId string `json:"logical_cluster_id"` }
RestartLogicalClusterRequest Request Object
func (RestartLogicalClusterRequest) String ¶ added in v0.1.72
func (o RestartLogicalClusterRequest) String() string
type RestartLogicalClusterResponse ¶ added in v0.1.72
type RestartLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
RestartLogicalClusterResponse Response Object
func (RestartLogicalClusterResponse) String ¶ added in v0.1.72
func (o RestartLogicalClusterResponse) String() string
type Restore ¶
type Restore struct { // 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线,下划线,长度为4~64个字符。 Name string `json:"name"` // 指定子网ID,用于集群网络配置。默认值与原集群相同。 SubnetId *string `json:"subnet_id,omitempty"` // 指定安全组ID,用于集群网络配置。默认值与原集群相同。 SecurityGroupId *string `json:"security_group_id,omitempty"` // 指定虚拟私有云ID,用于集群网络配置。默认值与原集群相同。 VpcId *string `json:"vpc_id,omitempty"` // 指定集群可用区。默认值与原集群相同。 AvailabilityZone *string `json:"availability_zone,omitempty"` // 指定集群服务端口 Port *int32 `json:"port,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` // 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Restore 恢复对象
type RestoreClusterRequest ¶
type RestoreClusterRequest struct { // 待恢复的快照ID。 SnapshotId string `json:"snapshot_id"` Body *RestoreClusterRequestBody `json:"body,omitempty"` }
RestoreClusterRequest Request Object
func (RestoreClusterRequest) String ¶
func (o RestoreClusterRequest) String() string
type RestoreClusterRequestBody ¶
type RestoreClusterRequestBody struct {
Restore *Restore `json:"restore"`
}
RestoreClusterRequestBody This is a auto create Body Object
func (RestoreClusterRequestBody) String ¶
func (o RestoreClusterRequestBody) String() string
type RestoreClusterResponse ¶
type RestoreClusterResponse struct { Cluster *Cluster `json:"cluster,omitempty"` HttpStatusCode int `json:"-"` }
RestoreClusterResponse Response Object
func (RestoreClusterResponse) String ¶
func (o RestoreClusterResponse) String() string
type RestoreDisasterRequest ¶ added in v0.1.14
type RestoreDisasterRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
RestoreDisasterRequest Request Object
func (RestoreDisasterRequest) String ¶ added in v0.1.14
func (o RestoreDisasterRequest) String() string
type RestoreDisasterResponse ¶ added in v0.1.14
type RestoreDisasterResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
RestoreDisasterResponse Response Object
func (RestoreDisasterResponse) String ¶ added in v0.1.14
func (o RestoreDisasterResponse) String() string
type RestorePoint ¶ added in v0.1.14
type RestorePoint struct { // 快照ID BackRef *string `json:"back_ref,omitempty"` // 恢复时间 RestoreTime *int64 `json:"restore_time,omitempty"` // 集群ID ClusterId *string `json:"cluster_id,omitempty"` }
RestorePoint 恢复集群
func (RestorePoint) String ¶ added in v0.1.14
func (o RestorePoint) String() string
type RestoreRedistributionRequest ¶ added in v0.1.72
type RestoreRedistributionRequest struct { // 指定恢复重分布集群的ID ClusterId string `json:"cluster_id"` }
RestoreRedistributionRequest Request Object
func (RestoreRedistributionRequest) String ¶ added in v0.1.72
func (o RestoreRedistributionRequest) String() string
type RestoreRedistributionResponse ¶ added in v0.1.72
type RestoreRedistributionResponse struct {
HttpStatusCode int `json:"-"`
}
RestoreRedistributionResponse Response Object
func (RestoreRedistributionResponse) String ¶ added in v0.1.72
func (o RestoreRedistributionResponse) String() string
type RestoreTableRequest ¶ added in v0.1.64
type RestoreTableRequest struct { // 快照ID SnapshotId string `json:"snapshot_id"` Body *RestoreTableRequestBody `json:"body,omitempty"` }
RestoreTableRequest Request Object
func (RestoreTableRequest) String ¶ added in v0.1.64
func (o RestoreTableRequest) String() string
type RestoreTableRequestBody ¶ added in v0.1.64
type RestoreTableRequestBody struct { // 名称是否区分大小写 CaseSensitive bool `json:"case_sensitive"` // 数据库名称 Database string `json:"database"` // 源表信息 RestoreTableList []TableDetail `json:"restore_table_list"` // 目的表信息 TargetTableList []TableDetail `json:"target_table_list"` }
RestoreTableRequestBody 恢复表请求体
func (RestoreTableRequestBody) String ¶ added in v0.1.64
func (o RestoreTableRequestBody) String() string
type RestoreTableResponse ¶ added in v0.1.64
type RestoreTableResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
RestoreTableResponse Response Object
func (RestoreTableResponse) String ¶ added in v0.1.64
func (o RestoreTableResponse) String() string
type Revoke ¶ added in v0.1.44
type Revoke struct { // 权限名称,根据不通数据库对象类型,拥有权限不同 - database CREATE | CONNECT | TEMPORARY | TEMP ALL PRIVILEGES - schema CREATE | USAGE | ALTER | DROP ALL PRIVILEGES - table SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP ALL PRIVILEGES - view SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP ALL PRIVILEGES - column SELECT | INSERT | UPDATE | REFERENCES ALL PRIVILEGES - function EXECUTE ALL PRIVILEGES - sequence SELECT | UPDATE | USAGE ALL PRIVILEGES - nodegroup CREATE | USAGE | COMPUTE ALL PRIVILEGES - role role_name(角色名称) Permission string `json:"permission"` // 是否仅移除授权选项 RevokeWith bool `json:"revoke_with"` }
Revoke 移除权限信息
type RingHost ¶ added in v0.1.72
type RingHost struct { // 主机名称 HostName string `json:"host_name"` // 后端IP地址 BackIp string `json:"back_ip"` // 主机CPU核数 CpuCores int32 `json:"cpu_cores"` // 主机内存 Memory float64 `json:"memory"` // 主机磁盘大小 DiskSize float64 `json:"disk_size"` }
RingHost 集群主机信息
type RoleAuthority ¶ added in v0.1.44
type RoleAuthority struct { // 角色名称 Role *string `json:"role,omitempty"` // 权限列表 RightList *[]string `json:"right_list,omitempty"` }
RoleAuthority 角色权限信息
func (RoleAuthority) String ¶ added in v0.1.44
func (o RoleAuthority) String() string
type SaveClusterDescriptionInfoRequest ¶ added in v0.1.61
type SaveClusterDescriptionInfoRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 命名空间 Namespace *string `json:"namespace,omitempty"` Body *ClusterDescriptionInfo `json:"body,omitempty"` }
SaveClusterDescriptionInfoRequest Request Object
func (SaveClusterDescriptionInfoRequest) String ¶ added in v0.1.61
func (o SaveClusterDescriptionInfoRequest) String() string
type SaveClusterDescriptionInfoResponse ¶ added in v0.1.61
type SaveClusterDescriptionInfoResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
SaveClusterDescriptionInfoResponse Response Object
func (SaveClusterDescriptionInfoResponse) String ¶ added in v0.1.61
func (o SaveClusterDescriptionInfoResponse) String() string
type ScheduleConf ¶ added in v0.1.61
type ScheduleConf struct { // 调度开始时间 ScheduleStart *string `json:"schedule_start,omitempty"` // 调度结束时间 ScheduleEnd *string `json:"schedule_end,omitempty"` // 调度类型 ScheduleType *string `json:"schedule_type,omitempty"` // 调度日期 ScheduleDate *[]int32 `json:"schedule_date,omitempty"` // 调度时间列表 ScheduleTime *[]string `json:"schedule_time,omitempty"` }
ScheduleConf 调度配置信息
func (ScheduleConf) String ¶ added in v0.1.61
func (o ScheduleConf) String() string
type SchemaInfo ¶ added in v0.1.77
type SchemaInfo struct { // Schema名称。 SchemaName string `json:"schema_name"` // 数据库名称。 DatabaseName string `json:"database_name"` // 集群schema使用空间总值。 TotalValue int32 `json:"total_value"` // Schema空间阈值。 PermSpace int32 `json:"perm_space"` // 倾斜率。 SkewPercent float64 `json:"skew_percent"` // 最小值。 MinValue int32 `json:"min_value"` // 最大值。 MaxValue int32 `json:"max_value"` // 最小dn节点。 MinDn string `json:"min_dn"` // 最大cn节点。 MaxDn string `json:"max_dn"` // dn节点数量。 DnNum int32 `json:"dn_num"` }
SchemaInfo 集群模式空间信息
func (SchemaInfo) String ¶ added in v0.1.77
func (o SchemaInfo) String() string
type ShowClusterRedistributionRequest ¶ added in v0.1.61
type ShowClusterRedistributionRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 分页查询,每页大小 Limit *int32 `json:"limit,omitempty"` // 分页查询,偏移 Offset *int32 `json:"offset,omitempty"` // 数据库名称 DbName *string `json:"db_name,omitempty"` // 表名称 TableName *string `json:"table_name,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
ShowClusterRedistributionRequest Request Object
func (ShowClusterRedistributionRequest) String ¶ added in v0.1.61
func (o ShowClusterRedistributionRequest) String() string
type ShowClusterRedistributionResponse ¶ added in v0.1.61
type ShowClusterRedistributionResponse struct { RedisInfo *RdsRedisInfo `json:"redis_info,omitempty"` // 调度模式 ScheduleMode *bool `json:"schedule_mode,omitempty"` // 是否允许暂停 PauseEnable *bool `json:"pause_enable,omitempty"` // 是否允许恢复 RecoverEnable *bool `json:"recover_enable,omitempty"` // 是否允许重试 RetryEnable *bool `json:"retry_enable,omitempty"` // 是否允许更新 UpdateEnable *bool `json:"update_enable,omitempty"` // 是否允许控制 ControlEnable *bool `json:"control_enable,omitempty"` HttpStatusCode int `json:"-"` }
ShowClusterRedistributionResponse Response Object
func (ShowClusterRedistributionResponse) String ¶ added in v0.1.61
func (o ShowClusterRedistributionResponse) String() string
type ShowDatabaseAuthorityRequest ¶ added in v0.1.44
type ShowDatabaseAuthorityRequest struct { // cluster_id ClusterId string `json:"cluster_id"` // 对象类型 [DATABASE | SCHEMA | TABLE | VIEW | COLUMN| FUNCTION|| SEQUENCE| NODEGROUP] Type string `json:"type"` // 对象名称 Name []string `json:"name"` // 数据库名 Database string `json:"database"` // 模式名,对象类型为TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE时必选 Schema *string `json:"schema,omitempty"` // 表名,对象类型为COLUMN时必选 Table *string `json:"table,omitempty"` }
ShowDatabaseAuthorityRequest Request Object
func (ShowDatabaseAuthorityRequest) String ¶ added in v0.1.44
func (o ShowDatabaseAuthorityRequest) String() string
type ShowDatabaseAuthorityResponse ¶ added in v0.1.44
type ShowDatabaseAuthorityResponse struct { // 对象权限集合 Authorities *[]ObjectAuthority `json:"authorities,omitempty"` HttpStatusCode int `json:"-"` }
ShowDatabaseAuthorityResponse Response Object
func (ShowDatabaseAuthorityResponse) String ¶ added in v0.1.44
func (o ShowDatabaseAuthorityResponse) String() string
type ShowDatabaseOmUserStatusRequest ¶ added in v0.1.61
type ShowDatabaseOmUserStatusRequest struct { // 集群ID ClusterId string `json:"cluster_id"` }
ShowDatabaseOmUserStatusRequest Request Object
func (ShowDatabaseOmUserStatusRequest) String ¶ added in v0.1.61
func (o ShowDatabaseOmUserStatusRequest) String() string
type ShowDatabaseOmUserStatusResponse ¶ added in v0.1.61
type ShowDatabaseOmUserStatusResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` OmUserInfo *DatabaseOmUserInfo `json:"om_user_info,omitempty"` HttpStatusCode int `json:"-"` }
ShowDatabaseOmUserStatusResponse Response Object
func (ShowDatabaseOmUserStatusResponse) String ¶ added in v0.1.61
func (o ShowDatabaseOmUserStatusResponse) String() string
type ShowDatabaseUserRequest ¶ added in v0.1.44
type ShowDatabaseUserRequest struct { // cluster_id ClusterId string `json:"cluster_id"` // name Name string `json:"name"` }
ShowDatabaseUserRequest Request Object
func (ShowDatabaseUserRequest) String ¶ added in v0.1.44
func (o ShowDatabaseUserRequest) String() string
type ShowDatabaseUserResponse ¶ added in v0.1.44
type ShowDatabaseUserResponse struct { // 用户名称 Name *string `json:"name,omitempty"` // 是否可以登陆 Login *bool `json:"login,omitempty"` // 创建角色权限 Createrole *bool `json:"createrole,omitempty"` // 创建数据库权限 Createdb *bool `json:"createdb,omitempty"` // 系统管理员 Systemadmin *bool `json:"systemadmin,omitempty"` // 审计管理员 Auditadmin *bool `json:"auditadmin,omitempty"` // 继承所在组权限 Inherit *bool `json:"inherit,omitempty"` // 访问外表权限 Useft *bool `json:"useft,omitempty"` // 连接数限制 ConnLimit *int32 `json:"conn_limit,omitempty"` // 是否允许流复制 Replication *bool `json:"replication,omitempty"` // 角色生效时间 ValidBegin *int64 `json:"valid_begin,omitempty"` // 角色过期时间 ValidUntil *int64 `json:"valid_until,omitempty"` // 是否锁定 Lock *bool `json:"lock,omitempty"` // 描述 Desc *string `json:"desc,omitempty"` // 用户类型 UserType *string `json:"user_type,omitempty"` // 所属逻辑集群 LogicalCluster *string `json:"logical_cluster,omitempty"` HttpStatusCode int `json:"-"` }
ShowDatabaseUserResponse Response Object
func (ShowDatabaseUserResponse) String ¶ added in v0.1.44
func (o ShowDatabaseUserResponse) String() string
type ShowDisasterDetailRequest ¶ added in v0.1.40
type ShowDisasterDetailRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
ShowDisasterDetailRequest Request Object
func (ShowDisasterDetailRequest) String ¶ added in v0.1.40
func (o ShowDisasterDetailRequest) String() string
type ShowDisasterDetailResponse ¶ added in v0.1.40
type ShowDisasterDetailResponse struct { DisasterRecovery *DisasterRecoveryQueryResp `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
ShowDisasterDetailResponse Response Object
func (ShowDisasterDetailResponse) String ¶ added in v0.1.40
func (o ShowDisasterDetailResponse) String() string
type ShowDisasterProgressRequest ¶ added in v0.1.44
type ShowDisasterProgressRequest struct { // disaster_recovery_id DisasterRecoveryId string `json:"disaster_recovery_id"` }
ShowDisasterProgressRequest Request Object
func (ShowDisasterProgressRequest) String ¶ added in v0.1.44
func (o ShowDisasterProgressRequest) String() string
type ShowDisasterProgressResponse ¶ added in v0.1.44
type ShowDisasterProgressResponse struct { DisasterRecoveryProgress *ClusterDisasterRecovery `json:"disaster_recovery_progress,omitempty"` HttpStatusCode int `json:"-"` }
ShowDisasterProgressResponse Response Object
func (ShowDisasterProgressResponse) String ¶ added in v0.1.44
func (o ShowDisasterProgressResponse) String() string
type ShowInstanceRequest ¶ added in v0.1.61
type ShowInstanceRequest struct { // 实例ID InstanceId string `json:"instance_id"` }
ShowInstanceRequest Request Object
func (ShowInstanceRequest) String ¶ added in v0.1.61
func (o ShowInstanceRequest) String() string
type ShowInstanceResponse ¶ added in v0.1.61
type ShowInstanceResponse struct { // 配置状态 ConfigurationStatus *string `json:"configuration_status,omitempty"` // 参数组ID ParamsGroupId *string `json:"params_group_id,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 子网ID SubnetId *string `json:"subnet_id,omitempty"` // 角色 Role *string `json:"role,omitempty"` // 内部子网ID InternalSubnetId *string `json:"internal_subnet_id,omitempty"` // 组 Group *string `json:"group,omitempty"` // 安全组 SecureGroup *string `json:"secure_group,omitempty"` // VPC Vpc *string `json:"vpc,omitempty"` // 编码 Azcode *string `json:"azcode,omitempty"` // 区域 Region *string `json:"region,omitempty"` // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 被创建的 Created *string `json:"created,omitempty"` // 被更新的 Updated *string `json:"updated,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 连接 Links *[]LinkResp `json:"links,omitempty"` // ID Id *string `json:"id,omitempty"` Flavor *ClusterFlavorResp `json:"flavor,omitempty"` Volume *CompatibleInstanceVolumeResp `json:"volume,omitempty"` Datastore *CompatibleDataStoreResp `json:"datastore,omitempty"` Fault *CompatibleFaultResp `json:"fault,omitempty"` Configuration *CompatibleConfigurationResp `json:"configuration,omitempty"` // 地点 Locality *string `json:"locality,omitempty"` // 备份 Replicas *[]CompatibleReplicasResp `json:"replicas,omitempty"` // 数据库用户 DbUser *string `json:"db_user,omitempty"` // 存储引擎 StorageEngine *string `json:"storage_engine,omitempty"` // 付款方式 PayModel *int32 `json:"pay_model,omitempty"` // 公网IP PublicIp *string `json:"public_ip,omitempty"` // 流量IP TrafficIp *string `json:"traffic_ip,omitempty"` HttpStatusCode int `json:"-"` }
ShowInstanceResponse Response Object
func (ShowInstanceResponse) String ¶ added in v0.1.61
func (o ShowInstanceResponse) String() string
type ShowQueryDetailRequest ¶ added in v0.1.72
type ShowQueryDetailRequest struct { // 集群ID。 ClusterId string `json:"cluster_id"` // 查询ID。 QueryId string `json:"query_id"` // 采集时间。 Ctime *int64 `json:"ctime,omitempty"` }
ShowQueryDetailRequest Request Object
func (ShowQueryDetailRequest) String ¶ added in v0.1.72
func (o ShowQueryDetailRequest) String() string
type ShowQueryDetailResponse ¶ added in v0.1.72
type ShowQueryDetailResponse struct { // 响应码。 Code *int32 `json:"code,omitempty"` // 响应信息。 Msg *string `json:"msg,omitempty"` Data *ListQueriesDto `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ShowQueryDetailResponse Response Object
func (ShowQueryDetailResponse) String ¶ added in v0.1.72
func (o ShowQueryDetailResponse) String() string
type ShowResourceStatisticsRequest ¶ added in v0.1.77
type ShowResourceStatisticsRequest struct { // 命名空间 Namespace *string `json:"namespace,omitempty"` }
ShowResourceStatisticsRequest Request Object
func (ShowResourceStatisticsRequest) String ¶ added in v0.1.77
func (o ShowResourceStatisticsRequest) String() string
type ShowResourceStatisticsResponse ¶ added in v0.1.77
type ShowResourceStatisticsResponse struct { ClusterStatistics *StatusStatistics `json:"cluster_statistics,omitempty"` NodeStatistics *StatusStatistics `json:"node_statistics,omitempty"` HttpStatusCode int `json:"-"` }
ShowResourceStatisticsResponse Response Object
func (ShowResourceStatisticsResponse) String ¶ added in v0.1.77
func (o ShowResourceStatisticsResponse) String() string
type ShowWorkloadPlanRequest ¶ added in v0.1.64
type ShowWorkloadPlanRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` }
ShowWorkloadPlanRequest Request Object
func (ShowWorkloadPlanRequest) String ¶ added in v0.1.64
func (o ShowWorkloadPlanRequest) String() string
type ShowWorkloadPlanResponse ¶ added in v0.1.64
type ShowWorkloadPlanResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` WorkloadPlan *WorkloadPlanInfo `json:"workload_plan,omitempty"` HttpStatusCode int `json:"-"` }
ShowWorkloadPlanResponse Response Object
func (ShowWorkloadPlanResponse) String ¶ added in v0.1.64
func (o ShowWorkloadPlanResponse) String() string
type ShowWorkloadPlanStageRequest ¶ added in v0.1.77
type ShowWorkloadPlanStageRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` // 计划阶段ID StageId string `json:"stage_id"` }
ShowWorkloadPlanStageRequest Request Object
func (ShowWorkloadPlanStageRequest) String ¶ added in v0.1.77
func (o ShowWorkloadPlanStageRequest) String() string
type ShowWorkloadPlanStageResponse ¶ added in v0.1.77
type ShowWorkloadPlanStageResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` WorkloadPlanStage *PlanStage `json:"workload_plan_stage,omitempty"` HttpStatusCode int `json:"-"` }
ShowWorkloadPlanStageResponse Response Object
func (ShowWorkloadPlanStageResponse) String ¶ added in v0.1.77
func (o ShowWorkloadPlanStageResponse) String() string
type ShowWorkloadQueueRequest ¶ added in v0.1.77
type ShowWorkloadQueueRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 资源队列名 QueueName string `json:"queue_name"` // 逻辑集群名称。非逻辑集群模式下该字段不填,逻辑集群模式下需指定逻辑集群名称。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` }
ShowWorkloadQueueRequest Request Object
func (ShowWorkloadQueueRequest) String ¶ added in v0.1.77
func (o ShowWorkloadQueueRequest) String() string
type ShowWorkloadQueueResponse ¶ added in v0.1.77
type ShowWorkloadQueueResponse struct { // 结果状态码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 结果描述。 WorkloadResStr *string `json:"workload_res_str,omitempty"` WorkloadQueue *WorkloadQueueItem `json:"workload_queue,omitempty"` HttpStatusCode int `json:"-"` }
ShowWorkloadQueueResponse Response Object
func (ShowWorkloadQueueResponse) String ¶ added in v0.1.77
func (o ShowWorkloadQueueResponse) String() string
type ShrinkClusterRequest ¶ added in v0.1.14
type ShrinkClusterRequest struct { // 集群ID ClusterId string `json:"cluster_id"` Body *ClusterShrinkReq `json:"body,omitempty"` }
ShrinkClusterRequest Request Object
func (ShrinkClusterRequest) String ¶ added in v0.1.14
func (o ShrinkClusterRequest) String() string
type ShrinkClusterResponse ¶ added in v0.1.14
type ShrinkClusterResponse struct { // 缩容job_id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ShrinkClusterResponse Response Object
func (ShrinkClusterResponse) String ¶ added in v0.1.14
func (o ShrinkClusterResponse) String() string
type SimpleFieldDto ¶ added in v0.1.86
type SimpleFieldDto struct { // 指标表对应字段名称。 ColumnName *string `json:"column_name,omitempty"` // 指标表对应字段类型。 ColumnType *string `json:"column_type,omitempty"` }
func (SimpleFieldDto) String ¶ added in v0.1.86
func (o SimpleFieldDto) String() string
type Snapshot ¶
type Snapshot struct { // 快照名称,要求唯一性且必须以字母开头,不区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符,长度为4~64个字符。 Name string `json:"name"` // 指定创建快照的集群ID ClusterId string `json:"cluster_id"` // 快照描述,若不指定,描述为空。快照描述的字符长度不能超过256个字符,且不支持特殊字符!<>'=&\"。 Description *string `json:"description,omitempty"` }
Snapshot 快照对象
type SnapshotDetail ¶ added in v0.0.85
type SnapshotDetail struct { // 快照ID。 Id string `json:"id"` // 快照名称。 Name string `json:"name"` // 快照描述。 Description string `json:"description"` // 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。 Started string `json:"started"` // 快照完成的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。 Finished string `json:"finished"` // 快照大小,单位GB。 Size float64 `json:"size"` // 快照状态: - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。 Status string `json:"status"` // 快照创建类型。 Type string `json:"type"` // 快照对应的集群ID ClusterId string `json:"cluster_id"` Datastore *Datastore `json:"datastore,omitempty"` // 快照对应的集群名称。 ClusterName *string `json:"cluster_name,omitempty"` // 快照预计开始时间。 BakExpectedStartTime *string `json:"bak_expected_start_time,omitempty"` // 快照保留天数。 BakKeepDay *int32 `json:"bak_keep_day,omitempty"` // 快照策略。 BakPeriod *string `json:"bak_period,omitempty"` // 数据库用户。 DbUser *string `json:"db_user,omitempty"` // 快照进度。 Progress *string `json:"progress,omitempty"` // 快照BakcupKey。 BackupKey *string `json:"backup_key,omitempty"` // 增量快照,使用的前一个快照BakcupKey。 PriorBackupKey *string `json:"prior_backup_key,omitempty"` // 对应全量快照BakcupKey。 BaseBackupKey *string `json:"base_backup_key,omitempty"` // 备份介质。 BackupDevice *string `json:"backup_device,omitempty"` // 累计快照大小。 TotalBackupSize *int32 `json:"total_backup_size,omitempty"` // 对应全量快照名称。 BaseBackupName *string `json:"base_backup_name,omitempty"` // 是否支持就地恢复。 SupportInplaceRestore *bool `json:"support_inplace_restore,omitempty"` // 是否是细粒度备份。 FineGrainedBackup *bool `json:"fine_grained_backup,omitempty"` // 备份级别。 BackupLevel *string `json:"backup_level,omitempty"` FineGrainedBackupDetail *FineGrainedSnapshotDetail `json:"fine_grained_backup_detail,omitempty"` // guestAgent版本。 GuestAgentVersion *string `json:"guest_agent_version,omitempty"` // 集群状态。 ClusterStatus *string `json:"cluster_status,omitempty"` }
SnapshotDetail 快照详情对象
func (SnapshotDetail) String ¶ added in v0.0.85
func (o SnapshotDetail) String() string
type SnapshotRegion ¶ added in v0.1.64
type SnapshotRegion struct { // 区域ID RegionId *string `json:"region_id,omitempty"` }
SnapshotRegion 快照区域信息
func (SnapshotRegion) String ¶ added in v0.1.64
func (o SnapshotRegion) String() string
type SnapshotResp ¶
type SnapshotResp struct { // Snapshot ID Id *string `json:"id,omitempty"` }
func (SnapshotResp) String ¶
func (o SnapshotResp) String() string
type Snapshots ¶
type Snapshots struct { // 快照ID。 Id string `json:"id"` // 快照名称。 Name string `json:"name"` // 快照描述。 Description string `json:"description"` // 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。 Started string `json:"started"` // 快照完成的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。 Finished string `json:"finished"` // 快照大小,单位 GB。 Size float64 `json:"size"` // 快照状态: - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。 Status string `json:"status"` // 快照创建类型 Type string `json:"type"` // 快照对应的集群ID ClusterId string `json:"cluster_id"` }
Snapshots 快照对象列表
type SnapshotsStatistic ¶ added in v0.1.14
type SnapshotsStatistic struct { // 资源统计信息名称。 - storage.free:免费容量。 - storage.paid:付费容量。 - storage.used:已用容量。 Name string `json:"name"` // 资源统计信息值。 Value float32 `json:"value"` // 资源统计信息单位。 Unit string `json:"unit"` }
SnapshotsStatistic 快照统计信息。
func (SnapshotsStatistic) String ¶ added in v0.1.14
func (o SnapshotsStatistic) String() string
type StartDisasterRecoveryRequest ¶ added in v0.1.14
type StartDisasterRecoveryRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
StartDisasterRecoveryRequest Request Object
func (StartDisasterRecoveryRequest) String ¶ added in v0.1.14
func (o StartDisasterRecoveryRequest) String() string
type StartDisasterRecoveryResponse ¶ added in v0.1.14
type StartDisasterRecoveryResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
StartDisasterRecoveryResponse Response Object
func (StartDisasterRecoveryResponse) String ¶ added in v0.1.14
func (o StartDisasterRecoveryResponse) String() string
type StartWorkloadPlanRequest ¶ added in v0.1.64
type StartWorkloadPlanRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` }
StartWorkloadPlanRequest Request Object
func (StartWorkloadPlanRequest) String ¶ added in v0.1.64
func (o StartWorkloadPlanRequest) String() string
type StartWorkloadPlanResponse ¶ added in v0.1.64
type StartWorkloadPlanResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
StartWorkloadPlanResponse Response Object
func (StartWorkloadPlanResponse) String ¶ added in v0.1.64
func (o StartWorkloadPlanResponse) String() string
type Statistic ¶ added in v0.1.14
type Statistic struct { // 资源名称。 - cluster.total:总集群(个)。 - cluster.normal:可用集群(个)。 - instance.total:总节点(个)。 - instance.normal:可用节点(个)。 - storage.total:总容量(GB)。 Name string `json:"name"` // 资源数量值。 Value float64 `json:"value"` // 资源数量单位。 Unit string `json:"unit"` }
Statistic 资源数量详情。
type StatusStatistics ¶ added in v0.1.77
type StatusStatistics struct { // 活跃资源 Active *int64 `json:"active,omitempty"` // 总资源 Total *int64 `json:"total,omitempty"` }
StatusStatistics 资源统计信息
func (StatusStatistics) String ¶ added in v0.1.77
func (o StatusStatistics) String() string
type StopRedistributionRequest ¶ added in v0.1.72
type StopRedistributionRequest struct { // 指定暂停重分布集群的ID ClusterId string `json:"cluster_id"` }
StopRedistributionRequest Request Object
func (StopRedistributionRequest) String ¶ added in v0.1.72
func (o StopRedistributionRequest) String() string
type StopRedistributionResponse ¶ added in v0.1.72
type StopRedistributionResponse struct {
HttpStatusCode int `json:"-"`
}
StopRedistributionResponse Response Object
func (StopRedistributionResponse) String ¶ added in v0.1.72
func (o StopRedistributionResponse) String() string
type StopWorkloadPlanRequest ¶ added in v0.1.64
type StopWorkloadPlanRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` }
StopWorkloadPlanRequest Request Object
func (StopWorkloadPlanRequest) String ¶ added in v0.1.64
func (o StopWorkloadPlanRequest) String() string
type StopWorkloadPlanResponse ¶ added in v0.1.64
type StopWorkloadPlanResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
StopWorkloadPlanResponse Response Object
func (StopWorkloadPlanResponse) String ¶ added in v0.1.64
func (o StopWorkloadPlanResponse) String() string
type SwitchFailoverDisasterRequest ¶ added in v0.1.14
type SwitchFailoverDisasterRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
SwitchFailoverDisasterRequest Request Object
func (SwitchFailoverDisasterRequest) String ¶ added in v0.1.14
func (o SwitchFailoverDisasterRequest) String() string
type SwitchFailoverDisasterResponse ¶ added in v0.1.14
type SwitchFailoverDisasterResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
SwitchFailoverDisasterResponse Response Object
func (SwitchFailoverDisasterResponse) String ¶ added in v0.1.14
func (o SwitchFailoverDisasterResponse) String() string
type SwitchOverClusterRequest ¶ added in v0.1.14
type SwitchOverClusterRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` }
SwitchOverClusterRequest Request Object
func (SwitchOverClusterRequest) String ¶ added in v0.1.14
func (o SwitchOverClusterRequest) String() string
type SwitchOverClusterResponse ¶ added in v0.1.14
type SwitchOverClusterResponse struct {
HttpStatusCode int `json:"-"`
}
SwitchOverClusterResponse Response Object
func (SwitchOverClusterResponse) String ¶ added in v0.1.14
func (o SwitchOverClusterResponse) String() string
type SwitchPlanStageRequest ¶ added in v0.1.77
type SwitchPlanStageRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 计划ID PlanId string `json:"plan_id"` Body *WorkloadPlanStageIdReq `json:"body,omitempty"` }
SwitchPlanStageRequest Request Object
func (SwitchPlanStageRequest) String ¶ added in v0.1.77
func (o SwitchPlanStageRequest) String() string
type SwitchPlanStageResponse ¶ added in v0.1.77
type SwitchPlanStageResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
SwitchPlanStageResponse Response Object
func (SwitchPlanStageResponse) String ¶ added in v0.1.77
func (o SwitchPlanStageResponse) String() string
type SwitchoverDisasterRecoveryRequest ¶ added in v0.1.14
type SwitchoverDisasterRecoveryRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` }
SwitchoverDisasterRecoveryRequest Request Object
func (SwitchoverDisasterRecoveryRequest) String ¶ added in v0.1.14
func (o SwitchoverDisasterRecoveryRequest) String() string
type SwitchoverDisasterRecoveryResponse ¶ added in v0.1.14
type SwitchoverDisasterRecoveryResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
SwitchoverDisasterRecoveryResponse Response Object
func (SwitchoverDisasterRecoveryResponse) String ¶ added in v0.1.14
func (o SwitchoverDisasterRecoveryResponse) String() string
type SyncIamUsersRequest ¶ added in v0.1.44
type SyncIamUsersRequest struct { // cluster_id ClusterId string `json:"cluster_id"` }
SyncIamUsersRequest Request Object
func (SyncIamUsersRequest) String ¶ added in v0.1.44
func (o SyncIamUsersRequest) String() string
type SyncIamUsersResponse ¶ added in v0.1.44
type SyncIamUsersResponse struct { // 创建成功用户列表 SyncUser *[]string `json:"sync_user,omitempty"` HttpStatusCode int `json:"-"` }
SyncIamUsersResponse Response Object
func (SyncIamUsersResponse) String ¶ added in v0.1.44
func (o SyncIamUsersResponse) String() string
type TableDetail ¶ added in v0.1.64
type TableDetail struct { // schema名称 SchemaName string `json:"schema_name"` // 表名称 TableName string `json:"table_name"` }
TableDetail 恢复表信息
func (TableDetail) String ¶ added in v0.1.64
func (o TableDetail) String() string
type Tag ¶ added in v0.1.14
type Tag struct { // 标签key Key *string `json:"key,omitempty"` // 标签值 Value *string `json:"value,omitempty"` }
Tag 标签
type Tags ¶
type Tags struct { // 键。输入标签键的最大长度为128个unicode字符,不能为空字符串,且首尾字符不能为空格。 不能包含“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 只能包含大写字母(A-Z)、小写字母(a-z)、数字(0-9)和特殊字符(中划线-、下划线_)以及中文字符。 Key string `json:"key"` // 值。输入标签值的最大长度为256个字符,首尾字符不能为空格,可以为空字符串。 不能包含“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 只能包含大写字母(A-Z)、小写字母(a-z)、数字(0-9)和特殊字符(中划线-、下划线_)以及中文字符。 Value string `json:"value"` }
Tags 标签列表
type TopoInstanceInfo ¶ added in v0.1.72
type TopoInstanceInfo struct { // 实例ID Id *string `json:"id,omitempty"` // 实例名称 Name *string `json:"name,omitempty"` // 实例管理IP ManageIp *string `json:"manage_ip,omitempty"` // 业务IP TrafficIp *string `json:"traffic_ip,omitempty"` // 内部通信IP InternalIp *string `json:"internal_ip,omitempty"` // 内部管理IP InternalMgntIp *string `json:"internal_mgnt_ip,omitempty"` // EIP Eip *string `json:"eip,omitempty"` // elb地址 Elb *string `json:"elb,omitempty"` // 实例状态 Status *string `json:"status,omitempty"` // 可用区编码 AzCode *string `json:"az_code,omitempty"` }
TopoInstanceInfo 集群实例信息
func (TopoInstanceInfo) String ¶ added in v0.1.72
func (o TopoInstanceInfo) String() string
type TopoRingInfo ¶ added in v0.1.72
type TopoRingInfo struct { // 集群实例列表信息 InstanceInfoLists *[]TopoInstanceInfo `json:"instance_info_lists,omitempty"` }
TopoRingInfo 集群拓扑实例环信息
func (TopoRingInfo) String ¶ added in v0.1.72
func (o TopoRingInfo) String() string
type TrendQueryData ¶ added in v0.1.23
type TrendQueryData struct { // 查询结果。 Result *string `json:"result,omitempty"` // 时间戳。 Timestamp *int64 `json:"timestamp,omitempty"` }
func (TrendQueryData) String ¶ added in v0.1.23
func (o TrendQueryData) String() string
type TrendQueryDataResp ¶ added in v0.1.23
type TrendQueryDataResp struct { // 查询时间。 QueryTime *int64 `json:"query_time,omitempty"` // 监控指标名称。 IndicatorName *string `json:"indicator_name,omitempty"` // 监控对象id。 ObjectId *string `json:"object_id,omitempty"` // 单位。 Unit *string `json:"unit,omitempty"` // 次级监控id。 SubObjectId *string `json:"sub_object_id,omitempty"` // 节点数据。 DataPoints *[]TrendQueryData `json:"data_points,omitempty"` }
func (TrendQueryDataResp) String ¶ added in v0.1.23
func (o TrendQueryDataResp) String() string
type UpdateAlarmSubRequest ¶ added in v0.1.14
type UpdateAlarmSubRequest struct { // 告警订阅ID AlarmSubId string `json:"alarm_sub_id"` Body *AlarmSubUpdateRequest `json:"body,omitempty"` }
UpdateAlarmSubRequest Request Object
func (UpdateAlarmSubRequest) String ¶ added in v0.1.14
func (o UpdateAlarmSubRequest) String() string
type UpdateAlarmSubResponse ¶ added in v0.1.14
type UpdateAlarmSubResponse struct { // 告警订阅ID Id *string `json:"id,omitempty"` // 告警订阅名称 Name *string `json:"name,omitempty"` // 是否开启订阅 Enable *int32 `json:"enable,omitempty"` // 告警级别 AlarmLevel *string `json:"alarm_level,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS NameSpace *string `json:"name_space,omitempty"` // 消息主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息主题类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAlarmSubResponse Response Object
func (UpdateAlarmSubResponse) String ¶ added in v0.1.14
func (o UpdateAlarmSubResponse) String() string
type UpdateClusterDnsRequest ¶ added in v0.1.14
type UpdateClusterDnsRequest struct { // 集群的ID ClusterId string `json:"cluster_id"` Body *ModifyClusterDns `json:"body,omitempty"` }
UpdateClusterDnsRequest Request Object
func (UpdateClusterDnsRequest) String ¶ added in v0.1.14
func (o UpdateClusterDnsRequest) String() string
type UpdateClusterDnsResponse ¶ added in v0.1.14
type UpdateClusterDnsResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateClusterDnsResponse Response Object
func (UpdateClusterDnsResponse) String ¶ added in v0.1.14
func (o UpdateClusterDnsResponse) String() string
type UpdateConfigurationRequest ¶ added in v0.1.14
type UpdateConfigurationRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` // 参数组ID。 ConfigurationId string `json:"configuration_id"` Body *ConfigurationParameterValues `json:"body,omitempty"` }
UpdateConfigurationRequest Request Object
func (UpdateConfigurationRequest) String ¶ added in v0.1.14
func (o UpdateConfigurationRequest) String() string
type UpdateConfigurationResponse ¶ added in v0.1.14
type UpdateConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateConfigurationResponse Response Object
func (UpdateConfigurationResponse) String ¶ added in v0.1.14
func (o UpdateConfigurationResponse) String() string
type UpdateDataSourceRequest ¶ added in v0.1.14
type UpdateDataSourceRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 数据源id ExtDataSourceId string `json:"ext_data_source_id"` Body *ReconfigureExtDataSourceActionReq `json:"body,omitempty"` }
UpdateDataSourceRequest Request Object
func (UpdateDataSourceRequest) String ¶ added in v0.1.14
func (o UpdateDataSourceRequest) String() string
type UpdateDataSourceResponse ¶ added in v0.1.14
type UpdateDataSourceResponse struct { // 更新数据源job_id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDataSourceResponse Response Object
func (UpdateDataSourceResponse) String ¶ added in v0.1.14
func (o UpdateDataSourceResponse) String() string
type UpdateDatabaseAuthorityRequest ¶ added in v0.1.44
type UpdateDatabaseAuthorityRequest struct { // cluster_id ClusterId string `json:"cluster_id"` Body *DatabasePermissionReq `json:"body,omitempty"` }
UpdateDatabaseAuthorityRequest Request Object
func (UpdateDatabaseAuthorityRequest) String ¶ added in v0.1.44
func (o UpdateDatabaseAuthorityRequest) String() string
type UpdateDatabaseAuthorityResponse ¶ added in v0.1.44
type UpdateDatabaseAuthorityResponse struct { // sql列表 ViewSql *[]string `json:"view_sql,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDatabaseAuthorityResponse Response Object
func (UpdateDatabaseAuthorityResponse) String ¶ added in v0.1.44
func (o UpdateDatabaseAuthorityResponse) String() string
type UpdateDatabaseUserInfoRequest ¶ added in v0.1.44
type UpdateDatabaseUserInfoRequest struct { // cluster_id ClusterId string `json:"cluster_id"` // name Name string `json:"name"` Body *DatabaseUserInfoReq `json:"body,omitempty"` }
UpdateDatabaseUserInfoRequest Request Object
func (UpdateDatabaseUserInfoRequest) String ¶ added in v0.1.44
func (o UpdateDatabaseUserInfoRequest) String() string
type UpdateDatabaseUserInfoResponse ¶ added in v0.1.44
type UpdateDatabaseUserInfoResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDatabaseUserInfoResponse Response Object
func (UpdateDatabaseUserInfoResponse) String ¶ added in v0.1.44
func (o UpdateDatabaseUserInfoResponse) String() string
type UpdateDisasterInfoRequest ¶ added in v0.1.40
type UpdateDisasterInfoRequest struct { // 容灾ID DisasterRecoveryId string `json:"disaster_recovery_id"` Body *UpdateDisasterRecoveryRequest `json:"body,omitempty"` }
UpdateDisasterInfoRequest Request Object
func (UpdateDisasterInfoRequest) String ¶ added in v0.1.40
func (o UpdateDisasterInfoRequest) String() string
type UpdateDisasterInfoResponse ¶ added in v0.1.40
type UpdateDisasterInfoResponse struct { DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDisasterInfoResponse Response Object
func (UpdateDisasterInfoResponse) String ¶ added in v0.1.40
func (o UpdateDisasterInfoResponse) String() string
type UpdateDisasterRecoveryReq ¶ added in v0.1.40
type UpdateDisasterRecoveryReq struct { // 容灾同步周期 DrSyncPeriod *string `json:"dr_sync_period,omitempty"` // 是否发送请求 SendRequest *int32 `json:"send_request,omitempty"` // 主集群角色 PrimaryToRole *string `json:"primary_to_role,omitempty"` // 设置容灾动作 ResetAction *string `json:"reset_action,omitempty"` // 备集群角色 StandbyToRole *string `json:"standby_to_role,omitempty"` // 容灾状态 DrStatus *string `json:"dr_status,omitempty"` }
UpdateDisasterRecoveryReq 更新容灾配置请求体
func (UpdateDisasterRecoveryReq) String ¶ added in v0.1.40
func (o UpdateDisasterRecoveryReq) String() string
type UpdateDisasterRecoveryRequest ¶ added in v0.1.40
type UpdateDisasterRecoveryRequest struct {
DisasterRecovery *UpdateDisasterRecoveryReq `json:"disaster_recovery,omitempty"`
}
func (UpdateDisasterRecoveryRequest) String ¶ added in v0.1.40
func (o UpdateDisasterRecoveryRequest) String() string
type UpdateEventSubRequest ¶ added in v0.1.14
type UpdateEventSubRequest struct { // 事件订阅ID EventSubId string `json:"event_sub_id"` Body *EventSubUpdateRequest `json:"body,omitempty"` }
UpdateEventSubRequest Request Object
func (UpdateEventSubRequest) String ¶ added in v0.1.14
func (o UpdateEventSubRequest) String() string
type UpdateEventSubResponse ¶ added in v0.1.14
type UpdateEventSubResponse struct { // 订阅ID Id *string `json:"id,omitempty"` // 订阅名称 Name *string `json:"name,omitempty"` // 事件源类型 SourceType *string `json:"source_type,omitempty"` // 事件源ID SourceId *string `json:"source_id,omitempty"` // 事件类别 Category *string `json:"category,omitempty"` // 事件级别 Severity *string `json:"severity,omitempty"` // 事件标签 Tag *string `json:"tag,omitempty"` // 是否开启订阅 1为开启,0为关闭 Enable *int32 `json:"enable,omitempty"` // 租户凭证ID ProjectId *string `json:"project_id,omitempty"` // 所属服务 NameSpace *string `json:"name_space,omitempty"` // 消息通知主题地址 NotificationTarget *string `json:"notification_target,omitempty"` // 消息通知主题名称 NotificationTargetName *string `json:"notification_target_name,omitempty"` // 消息通知类型 NotificationTargetType *string `json:"notification_target_type,omitempty"` // 语言 Language *string `json:"language,omitempty"` // 时区 TimeZone *string `json:"time_zone,omitempty"` HttpStatusCode int `json:"-"` }
UpdateEventSubResponse Response Object
func (UpdateEventSubResponse) String ¶ added in v0.1.14
func (o UpdateEventSubResponse) String() string
type UpdateItemResp ¶ added in v0.1.64
type UpdateItemResp struct { // 升级项ID Id *string `json:"id,omitempty"` // 起始版本 From *string `json:"from,omitempty"` // 目标版本 To *string `json:"to,omitempty"` // 升级路径状态 Status *string `json:"status,omitempty"` // 升级进度 Process *string `json:"process,omitempty"` // 起始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 升级任务ID JobId *string `json:"job_id,omitempty"` // 失败原因 FailedReason *string `json:"failed_reason,omitempty"` }
UpdateItemResp 集群升级路径响应体
func (UpdateItemResp) String ¶ added in v0.1.64
func (o UpdateItemResp) String() string
type UpdateLogicalClusterRequest ¶ added in v0.1.72
type UpdateLogicalClusterRequest struct { // 指定待编辑集群的ID ClusterId string `json:"cluster_id"` // 指定待编辑逻辑集群的ID LogicalClusterId string `json:"logical_cluster_id"` Body *UpdateLogicalClusterRequestBody `json:"body,omitempty"` }
UpdateLogicalClusterRequest Request Object
func (UpdateLogicalClusterRequest) String ¶ added in v0.1.72
func (o UpdateLogicalClusterRequest) String() string
type UpdateLogicalClusterRequestBody ¶ added in v0.1.72
type UpdateLogicalClusterRequestBody struct { // 逻辑集群编辑环列表信息 ClusterRings []ClusterRing `json:"cluster_rings"` // 模式 Mode *string `json:"mode,omitempty"` // 是否等待销毁 WaitingForKilling *int32 `json:"waiting_for_killing,omitempty"` }
UpdateLogicalClusterRequestBody 编辑逻辑集群请求体
func (UpdateLogicalClusterRequestBody) String ¶ added in v0.1.72
func (o UpdateLogicalClusterRequestBody) String() string
type UpdateLogicalClusterResponse ¶ added in v0.1.72
type UpdateLogicalClusterResponse struct { // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
UpdateLogicalClusterResponse Response Object
func (UpdateLogicalClusterResponse) String ¶ added in v0.1.72
func (o UpdateLogicalClusterResponse) String() string
type UpdateMaintenanceWindowRequest ¶ added in v0.1.14
type UpdateMaintenanceWindowRequest struct { // 集群的ID。 ClusterId string `json:"cluster_id"` Body *MaintenanceWindow `json:"body,omitempty"` }
UpdateMaintenanceWindowRequest Request Object
func (UpdateMaintenanceWindowRequest) String ¶ added in v0.1.14
func (o UpdateMaintenanceWindowRequest) String() string
type UpdateMaintenanceWindowResponse ¶ added in v0.1.14
type UpdateMaintenanceWindowResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateMaintenanceWindowResponse Response Object
func (UpdateMaintenanceWindowResponse) String ¶ added in v0.1.14
func (o UpdateMaintenanceWindowResponse) String() string
type UpdateQueueResourcesRequest ¶ added in v0.1.77
type UpdateQueueResourcesRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 队列名称 QueueName string `json:"queue_name"` Body *WorkloadQueueRequest `json:"body,omitempty"` }
UpdateQueueResourcesRequest Request Object
func (UpdateQueueResourcesRequest) String ¶ added in v0.1.77
func (o UpdateQueueResourcesRequest) String() string
type UpdateQueueResourcesResponse ¶ added in v0.1.77
type UpdateQueueResourcesResponse struct { // 响应编码。 WorkloadResCode *int32 `json:"workload_res_code,omitempty"` // 响应信息。 WorkloadResStr *string `json:"workload_res_str,omitempty"` HttpStatusCode int `json:"-"` }
UpdateQueueResourcesResponse Response Object
func (UpdateQueueResourcesResponse) String ¶ added in v0.1.77
func (o UpdateQueueResourcesResponse) String() string
type UpdateSchemasRequest ¶ added in v0.1.77
type UpdateSchemasRequest struct { // 集群ID ClusterId string `json:"cluster_id"` // 数据库名称 DatabaseName string `json:"database_name"` Body *WorkloadSchemaReq `json:"body,omitempty"` }
UpdateSchemasRequest Request Object
func (UpdateSchemasRequest) String ¶ added in v0.1.77
func (o UpdateSchemasRequest) String() string
type UpdateSchemasResponse ¶ added in v0.1.77
type UpdateSchemasResponse struct { // 响应编码。 RetCode *int32 `json:"ret_code,omitempty"` HttpStatusCode int `json:"-"` }
UpdateSchemasResponse Response Object
func (UpdateSchemasResponse) String ¶ added in v0.1.77
func (o UpdateSchemasResponse) String() string
type V2CreateCluster ¶ added in v0.1.27
type V2CreateCluster struct { // 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线或下划线,长度为4~64个字符。 Name string `json:"name"` // 集群规格名称。节点类型详情请参见数据仓库类型数据仓库类型。 Flavor string `json:"flavor"` // 集群CN数量,取值范围为2~集群节点数,最大值为20,默认值为3。 NumCn int32 `json:"num_cn"` // 集群节点数量,集群模式取值范围为3~256,实时数仓(单机模式)取值为1。 NumNode int32 `json:"num_node"` // 管理员用户名称。用户命名要求如下: 只能由小写字母、数字或下划线组成。 必须由小写字母或下划线开头。 长度为1~63个字符。用户名不能为DWS数据库的关键字。 DbName string `json:"db_name"` // 管理员用户密码。 12~32个字符 至少包含以下字符中的3种:大写字母、小写字母、数字和特殊字符(~!?,.:;-_(){}[]/<>@#%^&*+|\\=)。不能与用户名或倒序的用户名相同。 DbPassword string `json:"db_password"` // 集群数据库端口,取值范围为8000~30000,默认值:8000。 DbPort int32 `json:"db_port"` // 专属存储池ID DssPoolId *string `json:"dss_pool_id,omitempty"` // 可用区列表。集群可用区选择详情请参见地区和终端节点地区和终端节点。 AvailabilityZones []string `json:"availability_zones"` // 标签列表 Tags *[]Tags `json:"tags,omitempty"` // 指定虚拟私有云ID,用于集群网络配置。 VpcId string `json:"vpc_id"` // 指定子网ID,用于集群网络配置。 SubnetId string `json:"subnet_id"` // 指定安全组ID,用于集群网络配置。 SecurityGroupId *string `json:"security_group_id,omitempty"` PublicIp *PublicIp `json:"public_ip,omitempty"` // 集群版本 DatastoreVersion string `json:"datastore_version"` // 密钥ID MasterKeyId *string `json:"master_key_id,omitempty"` // 密钥名称 MasterKeyName *string `json:"master_key_name,omitempty"` // 加密算法 CryptAlgorithm *string `json:"crypt_algorithm,omitempty"` Volume *Volume `json:"volume,omitempty"` // 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
V2CreateCluster v2创建集群请求
func (V2CreateCluster) String ¶ added in v0.1.27
func (o V2CreateCluster) String() string
type V2CreateClusterReq ¶ added in v0.1.27
type V2CreateClusterReq struct {
Cluster *V2CreateCluster `json:"cluster,omitempty"`
}
V2CreateClusterReq V2接口创建集群请求体。
func (V2CreateClusterReq) String ¶ added in v0.1.27
func (o V2CreateClusterReq) String() string
type Volume ¶ added in v0.1.14
type Volume struct { // 磁盘名称,取值范围为 SSD(超高IO),高IO(SAS),普通IO(SATA) Volume *string `json:"volume,omitempty"` // 磁盘容量 Capacity *int32 `json:"capacity,omitempty"` }
Volume 磁盘
type VolumeResp ¶ added in v0.1.21
type VolumeResp struct { // 磁盘类型,仅支持SSD。 Type string `json:"type"` // 磁盘可用容量。 Size int32 `json:"size"` }
VolumeResp 如果规格为固定存储容量规格,则该属性为规格典配的存储容量信息,如果为弹性存储规格,则该属性为null。
func (VolumeResp) String ¶ added in v0.1.21
func (o VolumeResp) String() string
type WorkloadPlanInfo ¶ added in v0.1.64
type WorkloadPlanInfo struct { // 计划状态。 Status *int32 `json:"status,omitempty"` // 项目ID。 ProjectId string `json:"project_id"` // 集群ID。 ClusterId string `json:"cluster_id"` // 计划ID。 PlanId string `json:"plan_id"` // 计划名称。 PlanName string `json:"plan_name"` // 当前计划阶段。 CurrentStage *string `json:"current_stage,omitempty"` // 逻辑集群名称。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 计划阶段列表。 StageList *[]PlanStage `json:"stage_list,omitempty"` }
WorkloadPlanInfo 工作计划
func (WorkloadPlanInfo) String ¶ added in v0.1.64
func (o WorkloadPlanInfo) String() string
type WorkloadPlanReq ¶ added in v0.1.18
type WorkloadPlanReq struct { // 计划名称 PlanName string `json:"plan_name"` // 逻辑集群名称 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` }
WorkloadPlanReq 资源管理计划
func (WorkloadPlanReq) String ¶ added in v0.1.18
func (o WorkloadPlanReq) String() string
type WorkloadPlanStageIdReq ¶ added in v0.1.77
type WorkloadPlanStageIdReq struct { // 计划阶段ID StageId string `json:"stage_id"` }
WorkloadPlanStageIdReq 资源管理计划阶段ID
func (WorkloadPlanStageIdReq) String ¶ added in v0.1.77
func (o WorkloadPlanStageIdReq) String() string
type WorkloadPlanStageReq ¶ added in v0.1.77
type WorkloadPlanStageReq struct {
WorkloadPlanStage *WorkloadPlanStageReqWorkloadPlanStage `json:"workload_plan_stage,omitempty"`
}
WorkloadPlanStageReq 资源管理计划阶段
func (WorkloadPlanStageReq) String ¶ added in v0.1.77
func (o WorkloadPlanStageReq) String() string
type WorkloadPlanStageReqWorkloadPlanStage ¶ added in v0.1.77
type WorkloadPlanStageReqWorkloadPlanStage struct { // 日期 Day *string `json:"day,omitempty"` // 月份 Month *string `json:"month,omitempty"` // 计划阶段 StageName *string `json:"stage_name,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 资源队列 QueueList *[]QueueResourceItem `json:"queue_list,omitempty"` }
WorkloadPlanStageReqWorkloadPlanStage 资源管理计划阶段详情
func (WorkloadPlanStageReqWorkloadPlanStage) String ¶ added in v0.1.77
func (o WorkloadPlanStageReqWorkloadPlanStage) String() string
type WorkloadQueue ¶ added in v0.1.14
type WorkloadQueue struct { // 工作负载队列名称。 WorkloadQueueName string `json:"workload_queue_name"` // 逻辑集群名称。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 资源配置队列。 WorkloadResourceItemList []WorkloadResource `json:"workload_resource_item_list"` }
WorkloadQueue 工作负载队列
func (WorkloadQueue) String ¶ added in v0.1.14
func (o WorkloadQueue) String() string
type WorkloadQueueInfo ¶ added in v0.1.77
type WorkloadQueueInfo struct { // 资源池名称。 WorkloadQueueName string `json:"workload_queue_name"` // 逻辑集群名称。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 资源配置队列。 ResourceItemList []WorkloadResourceItem `json:"resource_item_list"` }
WorkloadQueueInfo 资源池
func (WorkloadQueueInfo) String ¶ added in v0.1.77
func (o WorkloadQueueInfo) String() string
type WorkloadQueueItem ¶ added in v0.1.77
type WorkloadQueueItem struct { // 资源池名称。 QueueName string `json:"queue_name"` // 逻辑集群名称。 LogicalClusterName *string `json:"logical_cluster_name,omitempty"` // 工作负载队列短查询加速开关。 ShortQueryOptimize *string `json:"short_query_optimize,omitempty"` // 工作负载队列短查询并发数。 ShortQueryConcurrencyNum *int32 `json:"short_query_concurrency_num,omitempty"` // 资源配置队列。 ResourceItemList []WorkloadResourceItem `json:"resource_item_list"` }
WorkloadQueueItem 工作负载资源池
func (WorkloadQueueItem) String ¶ added in v0.1.77
func (o WorkloadQueueItem) String() string
type WorkloadQueueReq ¶ added in v0.1.18
type WorkloadQueueReq struct {
WorkloadQueue *WorkloadQueue `json:"workload_queue"`
}
WorkloadQueueReq 资源池
func (WorkloadQueueReq) String ¶ added in v0.1.18
func (o WorkloadQueueReq) String() string
type WorkloadQueueRequest ¶ added in v0.1.77
type WorkloadQueueRequest struct {
WorkloadQueue *WorkloadQueueInfo `json:"workload_queue"`
}
WorkloadQueueRequest 更新资源池
func (WorkloadQueueRequest) String ¶ added in v0.1.77
func (o WorkloadQueueRequest) String() string
type WorkloadQueueUser ¶ added in v0.1.77
type WorkloadQueueUser struct { // 用户名 UserName string `json:"user_name"` // 执行计划阶段 OccupyResourceList []OccupyResource `json:"occupy_resource_list"` // 执行结果。 ExecResult *int32 `json:"exec_result,omitempty"` // 执行日志。 ExecLog *string `json:"exec_log,omitempty"` }
WorkloadQueueUser 工作队列用户
func (WorkloadQueueUser) String ¶ added in v0.1.77
func (o WorkloadQueueUser) String() string
type WorkloadQueueUserReq ¶ added in v0.1.77
type WorkloadQueueUserReq struct { // 工作队列名称。 QueueName string `json:"queue_name"` // 资源队列用户列表 UserList []WorkloadQueueUserReqUserList `json:"user_list"` }
WorkloadQueueUserReq 资源队列用户。
func (WorkloadQueueUserReq) String ¶ added in v0.1.77
func (o WorkloadQueueUserReq) String() string
type WorkloadQueueUserReqUserList ¶ added in v0.1.77
type WorkloadQueueUserReqUserList struct { // 用户名 UserName *string `json:"user_name,omitempty"` }
func (WorkloadQueueUserReqUserList) String ¶ added in v0.1.77
func (o WorkloadQueueUserReqUserList) String() string
type WorkloadResource ¶ added in v0.1.14
type WorkloadResource struct { // 资源名称。 ResourceName string `json:"resource_name"` // 资源属性值。 ResourceValue int32 `json:"resource_value"` }
WorkloadResource 工作负载队列资源项
func (WorkloadResource) String ¶ added in v0.1.14
func (o WorkloadResource) String() string
type WorkloadResourceItem ¶ added in v0.1.64
type WorkloadResourceItem struct { // 资源名称。 ResourceName string `json:"resource_name"` // 资源属性值。 ResourceValue int32 `json:"resource_value"` // 资源属性单位。 ValueUnit *string `json:"value_unit,omitempty"` // 资源附加描述 ResourceDescription *string `json:"resource_description,omitempty"` }
WorkloadResourceItem 资源池资源项
func (WorkloadResourceItem) String ¶ added in v0.1.64
func (o WorkloadResourceItem) String() string
type WorkloadSchemaReq ¶ added in v0.1.77
type WorkloadSchemaReq struct { // 模式空间名称 SchemaName string `json:"schema_name"` // Schema空间阈值 PermSpace string `json:"perm_space"` }
WorkloadSchemaReq 模式空间信息
func (WorkloadSchemaReq) String ¶ added in v0.1.77
func (o WorkloadSchemaReq) String() string
type WorkloadStatus ¶ added in v0.1.14
type WorkloadStatus struct { // 开关。 WorkloadSwitch string `json:"workload_switch"` // 最大并发数。 MaxConcurrencyNum *string `json:"max_concurrency_num,omitempty"` }
WorkloadStatus 资源管理信息
func (WorkloadStatus) String ¶ added in v0.1.14
func (o WorkloadStatus) String() string
type WorkloadStatusReq ¶ added in v0.1.18
type WorkloadStatusReq struct {
WorkloadStatus *WorkloadStatus `json:"workload_status,omitempty"`
}
WorkloadStatusReq 资源管理状态
func (WorkloadStatusReq) String ¶ added in v0.1.18
func (o WorkloadStatusReq) String() string
Source Files ¶
- model_action_info.go
- model_add_queue_user_list_request.go
- model_add_queue_user_list_response.go
- model_add_snapshot_cross_region_policy_request.go
- model_add_snapshot_cross_region_policy_request_body.go
- model_add_snapshot_cross_region_policy_response.go
- model_add_workload_plan_stage_request.go
- model_add_workload_plan_stage_response.go
- model_add_workload_queue_request.go
- model_add_workload_queue_response.go
- model_alarm_config_response.go
- model_alarm_detail_response.go
- model_alarm_statistic_response.go
- model_alarm_sub_request.go
- model_alarm_sub_update_request.go
- model_alarm_subscription_response.go
- model_associate_eip_request.go
- model_associate_eip_response.go
- model_associate_elb_request.go
- model_associate_elb_response.go
- model_audit_dump_record.go
- model_availability_zone.go
- model_backup_policy.go
- model_backup_strategy_detail.go
- model_batch_create_cluster_cn_request.go
- model_batch_create_cluster_cn_response.go
- model_batch_create_cn.go
- model_batch_create_resource_tag.go
- model_batch_create_resource_tag_request.go
- model_batch_create_resource_tag_response.go
- model_batch_create_resource_tags.go
- model_batch_delete_cluster_cn_request.go
- model_batch_delete_cluster_cn_response.go
- model_batch_delete_cn.go
- model_batch_delete_resource_tag.go
- model_batch_delete_resource_tag_request.go
- model_batch_delete_resource_tag_response.go
- model_batch_delete_resource_tags.go
- model_cancel_readonly_cluster_request.go
- model_cancel_readonly_cluster_response.go
- model_check_cluster_request.go
- model_check_cluster_response.go
- model_check_disaster_name_request.go
- model_check_disaster_name_response.go
- model_check_table_name_result.go
- model_check_table_restore_request.go
- model_check_table_restore_request_body.go
- model_check_table_restore_response.go
- model_cluster.go
- model_cluster_check_body.go
- model_cluster_check_request_body.go
- model_cluster_configuration.go
- model_cluster_description_info.go
- model_cluster_detail.go
- model_cluster_disaster_recovery.go
- model_cluster_elb_info.go
- model_cluster_flavor_resp.go
- model_cluster_info.go
- model_cluster_metric.go
- model_cluster_node_info.go
- model_cluster_recovery_progress.go
- model_cluster_ring.go
- model_cluster_shrink_req.go
- model_cluster_snapshots.go
- model_cluster_update_record_resp.go
- model_compatible_configuration_resp.go
- model_compatible_data_store_resp.go
- model_compatible_fault_resp.go
- model_compatible_instance_volume_resp.go
- model_compatible_replicas_resp.go
- model_configuration_parameter.go
- model_configuration_parameter_unit.go
- model_configuration_parameter_value.go
- model_configuration_parameter_values.go
- model_configuration_record_resp.go
- model_convert_to_logical_cluster_request.go
- model_convert_to_logical_cluster_response.go
- model_coordinator_node.go
- model_copy_snapshot_request.go
- model_copy_snapshot_response.go
- model_create_alarm_sub_request.go
- model_create_alarm_sub_response.go
- model_create_cluster_dns.go
- model_create_cluster_dns_request.go
- model_create_cluster_dns_response.go
- model_create_cluster_info.go
- model_create_cluster_request.go
- model_create_cluster_request_body.go
- model_create_cluster_response.go
- model_create_cluster_v2_request.go
- model_create_cluster_v2_response.go
- model_create_cluster_workload_request.go
- model_create_cluster_workload_response.go
- model_create_data_source_request.go
- model_create_data_source_response.go
- model_create_disaster_recovery.go
- model_create_disaster_recovery_req.go
- model_create_disaster_recovery_request.go
- model_create_disaster_recovery_response.go
- model_create_event_sub_request.go
- model_create_event_sub_response.go
- model_create_logical_cluster_info.go
- model_create_logical_cluster_request.go
- model_create_logical_cluster_request_body.go
- model_create_logical_cluster_response.go
- model_create_snapshot_policy_request.go
- model_create_snapshot_policy_response.go
- model_create_snapshot_request.go
- model_create_snapshot_request_body.go
- model_create_snapshot_response.go
- model_create_workload_plan_request.go
- model_create_workload_plan_response.go
- model_cross_region_snapshot_config.go
- model_database_om_user_action_req.go
- model_database_om_user_info.go
- model_database_permission_req.go
- model_database_user.go
- model_database_user_info_req.go
- model_datastore.go
- model_delete_alarm_sub_request.go
- model_delete_alarm_sub_response.go
- model_delete_cluster_dns_request.go
- model_delete_cluster_dns_response.go
- model_delete_cluster_nodes_request.go
- model_delete_cluster_nodes_request_body.go
- model_delete_cluster_nodes_response.go
- model_delete_cluster_request.go
- model_delete_cluster_request_body.go
- model_delete_cluster_response.go
- model_delete_data_source_request.go
- model_delete_data_source_response.go
- model_delete_disaster_recovery_request.go
- model_delete_disaster_recovery_response.go
- model_delete_event_sub_request.go
- model_delete_event_sub_response.go
- model_delete_logical_cluster_request.go
- model_delete_logical_cluster_response.go
- model_delete_queue_user_list_request.go
- model_delete_queue_user_list_response.go
- model_delete_snapshot_cross_region_policy_request.go
- model_delete_snapshot_cross_region_policy_response.go
- model_delete_snapshot_policy_request.go
- model_delete_snapshot_policy_response.go
- model_delete_snapshot_request.go
- model_delete_snapshot_response.go
- model_delete_workload_plan_request.go
- model_delete_workload_plan_response.go
- model_delete_workload_plan_stage_request.go
- model_delete_workload_plan_stage_response.go
- model_delete_workload_queue_request.go
- model_delete_workload_queue_response.go
- model_detail.go
- model_disable_lts_logs_request.go
- model_disable_lts_logs_response.go
- model_disassociate_eip_request.go
- model_disassociate_eip_response.go
- model_disassociate_elb_request.go
- model_disassociate_elb_response.go
- model_disaster_recovery.go
- model_disaster_recovery_cluster.go
- model_disaster_recovery_cluster_vo.go
- model_disaster_recovery_id.go
- model_disaster_recovery_query_resp.go
- model_disk_resp.go
- model_dss_pool.go
- model_elb_resp.go
- model_enable_logical_cluster_request.go
- model_enable_logical_cluster_request_body.go
- model_enable_logical_cluster_response.go
- model_enable_lts_logs_request.go
- model_enable_lts_logs_response.go
- model_endpoints.go
- model_event_response.go
- model_event_spec_response.go
- model_event_sub_request.go
- model_event_sub_update_request.go
- model_event_subscription_response.go
- model_execute_cluster_upgrade_action_request.go
- model_execute_cluster_upgrade_action_request_body.go
- model_execute_cluster_upgrade_action_response.go
- model_execute_database_om_user_action_request.go
- model_execute_database_om_user_action_response.go
- model_execute_redistribution_cluster_request.go
- model_execute_redistribution_cluster_response.go
- model_expand_instance_storage.go
- model_expand_instance_storage_request.go
- model_expand_instance_storage_response.go
- model_ext_data_source.go
- model_ext_data_source_req.go
- model_failed_reason.go
- model_fine_grained_snapshot_detail.go
- model_grant.go
- model_host_overview_response.go
- model_indicator_info.go
- model_link_copy_req.go
- model_link_resp.go
- model_list_alarm_configs_request.go
- model_list_alarm_configs_response.go
- model_list_alarm_detail_request.go
- model_list_alarm_detail_response.go
- model_list_alarm_statistic_request.go
- model_list_alarm_statistic_response.go
- model_list_alarm_subs_request.go
- model_list_alarm_subs_response.go
- model_list_audit_log_request.go
- model_list_audit_log_response.go
- model_list_availability_zones_request.go
- model_list_availability_zones_response.go
- model_list_available_disaster_clusters_request.go
- model_list_available_disaster_clusters_response.go
- model_list_cluster_cn_request.go
- model_list_cluster_cn_response.go
- model_list_cluster_configurations_parameter_request.go
- model_list_cluster_configurations_parameter_response.go
- model_list_cluster_configurations_request.go
- model_list_cluster_configurations_response.go
- model_list_cluster_details_request.go
- model_list_cluster_details_response.go
- model_list_cluster_nodes_request.go
- model_list_cluster_nodes_response.go
- model_list_cluster_scale_in_numbers_request.go
- model_list_cluster_scale_in_numbers_response.go
- model_list_cluster_snapshots_request.go
- model_list_cluster_snapshots_response.go
- model_list_cluster_tags_request.go
- model_list_cluster_tags_response.go
- model_list_cluster_workload_request.go
- model_list_cluster_workload_response.go
- model_list_clusters_request.go
- model_list_clusters_response.go
- model_list_configurations_audit_records_request.go
- model_list_configurations_audit_records_response.go
- model_list_data_source_request.go
- model_list_data_source_response.go
- model_list_database_users_request.go
- model_list_database_users_response.go
- model_list_disaster_recover_request.go
- model_list_disaster_recover_response.go
- model_list_dss_pools_request.go
- model_list_dss_pools_response.go
- model_list_elbs_request.go
- model_list_elbs_response.go
- model_list_event_specs_request.go
- model_list_event_specs_response.go
- model_list_event_subs_request.go
- model_list_event_subs_response.go
- model_list_events_request.go
- model_list_events_response.go
- model_list_host_disk_request.go
- model_list_host_disk_response.go
- model_list_host_net_request.go
- model_list_host_net_response.go
- model_list_host_overview_request.go
- model_list_host_overview_response.go
- model_list_job_details_request.go
- model_list_job_details_response.go
- model_list_logical_cluster_rings_request.go
- model_list_logical_cluster_rings_response.go
- model_list_logical_cluster_tasks_request.go
- model_list_logical_cluster_tasks_response.go
- model_list_logical_cluster_volumes_request.go
- model_list_logical_cluster_volumes_response.go
- model_list_logical_clusters_request.go
- model_list_logical_clusters_response.go
- model_list_lts_logs_request.go
- model_list_lts_logs_response.go
- model_list_metrics_data_request.go
- model_list_metrics_data_response.go
- model_list_metrics_request.go
- model_list_metrics_response.go
- model_list_monitor_indicator_data_request.go
- model_list_monitor_indicator_data_response.go
- model_list_monitor_indicators_request.go
- model_list_monitor_indicators_response.go
- model_list_node_types_request.go
- model_list_node_types_response.go
- model_list_plan_exec_logs_request.go
- model_list_plan_exec_logs_response.go
- model_list_queries_condition.go
- model_list_queries_data.go
- model_list_queries_dto.go
- model_list_queries_request.go
- model_list_queries_request_body.go
- model_list_queries_response.go
- model_list_queries_status.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_list_schemas_request.go
- model_list_schemas_response.go
- model_list_snapshot_cross_region_policy_request.go
- model_list_snapshot_cross_region_policy_response.go
- model_list_snapshot_cross_region_request.go
- model_list_snapshot_cross_region_response.go
- model_list_snapshot_details_request.go
- model_list_snapshot_details_response.go
- model_list_snapshot_policy_request.go
- model_list_snapshot_policy_response.go
- model_list_snapshot_statistics_request.go
- model_list_snapshot_statistics_response.go
- model_list_snapshots_request.go
- model_list_snapshots_response.go
- model_list_statistics_request.go
- model_list_statistics_response.go
- model_list_tables_statistic_dto.go
- model_list_tables_statistic_request.go
- model_list_tables_statistic_response.go
- model_list_tags_request.go
- model_list_tags_response.go
- model_list_topo_rings_request.go
- model_list_topo_rings_response.go
- model_list_updatable_version_request.go
- model_list_updatable_version_response.go
- model_list_update_record_request.go
- model_list_update_record_response.go
- model_list_workload_plans_request.go
- model_list_workload_plans_response.go
- model_list_workload_queue_request.go
- model_list_workload_queue_response.go
- model_list_workload_queue_users_request.go
- model_list_workload_queue_users_response.go
- model_logical_cluster_info.go
- model_logical_cluster_ring_info.go
- model_logical_cluster_task_info.go
- model_logical_cluster_volume.go
- model_ltslog_info.go
- model_maintain_window.go
- model_maintenance_window.go
- model_modify_cluster_dns.go
- model_net_resp.go
- model_node_type_available_zones.go
- model_node_type_datastores.go
- model_node_type_datastores_attachments.go
- model_node_type_elastic_volume_specs.go
- model_node_types.go
- model_nodes.go
- model_object_authority.go
- model_occupy_resource.go
- model_open_public_ip.go
- model_parameter_group.go
- model_pause_disaster_recovery_request.go
- model_pause_disaster_recovery_response.go
- model_plan_log.go
- model_plan_stage.go
- model_project_tag.go
- model_public_endpoints.go
- model_public_ip.go
- model_queue_resource_item.go
- model_quotas_quotas.go
- model_quotas_resource.go
- model_rds_redis_info.go
- model_reconfigure_ext_data_source_action.go
- model_reconfigure_ext_data_source_action_req.go
- model_redis_conf.go
- model_redis_conf_req.go
- model_redis_progress.go
- model_redis_table.go
- model_redis_table_detail.go
- model_redistribution_req.go
- model_reset_password_request.go
- model_reset_password_request_body.go
- model_reset_password_response.go
- model_resize_cluster_request.go
- model_resize_cluster_request_body.go
- model_resize_cluster_response.go
- model_resize_cluster_with_existed_nodes_request.go
- model_resize_cluster_with_existed_nodes_request_body.go
- model_resize_cluster_with_existed_nodes_response.go
- model_resize_info.go
- model_resource_tag.go
- model_restart_cluster_request.go
- model_restart_cluster_request_body.go
- model_restart_cluster_response.go
- model_restart_logical_cluster_request.go
- model_restart_logical_cluster_response.go
- model_restore.go
- model_restore_cluster_request.go
- model_restore_cluster_request_body.go
- model_restore_cluster_response.go
- model_restore_disaster_request.go
- model_restore_disaster_response.go
- model_restore_point.go
- model_restore_redistribution_request.go
- model_restore_redistribution_response.go
- model_restore_table_request.go
- model_restore_table_request_body.go
- model_restore_table_response.go
- model_revoke.go
- model_ring_host.go
- model_role_authority.go
- model_save_cluster_description_info_request.go
- model_save_cluster_description_info_response.go
- model_scale_out.go
- model_schedule_conf.go
- model_schema_info.go
- model_show_cluster_redistribution_request.go
- model_show_cluster_redistribution_response.go
- model_show_database_authority_request.go
- model_show_database_authority_response.go
- model_show_database_om_user_status_request.go
- model_show_database_om_user_status_response.go
- model_show_database_user_request.go
- model_show_database_user_response.go
- model_show_disaster_detail_request.go
- model_show_disaster_detail_response.go
- model_show_disaster_progress_request.go
- model_show_disaster_progress_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_query_detail_request.go
- model_show_query_detail_response.go
- model_show_resource_statistics_request.go
- model_show_resource_statistics_response.go
- model_show_workload_plan_request.go
- model_show_workload_plan_response.go
- model_show_workload_plan_stage_request.go
- model_show_workload_plan_stage_response.go
- model_show_workload_queue_request.go
- model_show_workload_queue_response.go
- model_shrink_cluster_request.go
- model_shrink_cluster_response.go
- model_simple_field_dto.go
- model_snapshot.go
- model_snapshot_detail.go
- model_snapshot_region.go
- model_snapshot_resp.go
- model_snapshots.go
- model_snapshots_statistic.go
- model_start_disaster_recovery_request.go
- model_start_disaster_recovery_response.go
- model_start_workload_plan_request.go
- model_start_workload_plan_response.go
- model_statistic.go
- model_status_statistics.go
- model_stop_redistribution_request.go
- model_stop_redistribution_response.go
- model_stop_workload_plan_request.go
- model_stop_workload_plan_response.go
- model_switch_failover_disaster_request.go
- model_switch_failover_disaster_response.go
- model_switch_over_cluster_request.go
- model_switch_over_cluster_response.go
- model_switch_plan_stage_request.go
- model_switch_plan_stage_response.go
- model_switchover_disaster_recovery_request.go
- model_switchover_disaster_recovery_response.go
- model_sync_iam_users_request.go
- model_sync_iam_users_response.go
- model_table_detail.go
- model_tag.go
- model_tags.go
- model_topo_instance_info.go
- model_topo_ring_info.go
- model_trend_query_data.go
- model_trend_query_data_resp.go
- model_update_alarm_sub_request.go
- model_update_alarm_sub_response.go
- model_update_cluster_dns_request.go
- model_update_cluster_dns_response.go
- model_update_configuration_request.go
- model_update_configuration_response.go
- model_update_data_source_request.go
- model_update_data_source_response.go
- model_update_database_authority_request.go
- model_update_database_authority_response.go
- model_update_database_user_info_request.go
- model_update_database_user_info_response.go
- model_update_disaster_info_request.go
- model_update_disaster_info_response.go
- model_update_disaster_recovery_req.go
- model_update_disaster_recovery_request.go
- model_update_event_sub_request.go
- model_update_event_sub_response.go
- model_update_item_resp.go
- model_update_logical_cluster_request.go
- model_update_logical_cluster_request_body.go
- model_update_logical_cluster_response.go
- model_update_maintenance_window_request.go
- model_update_maintenance_window_response.go
- model_update_queue_resources_request.go
- model_update_queue_resources_response.go
- model_update_schemas_request.go
- model_update_schemas_response.go
- model_v2_create_cluster.go
- model_v2_create_cluster_req.go
- model_volume.go
- model_volume_resp.go
- model_workload_plan_info.go
- model_workload_plan_req.go
- model_workload_plan_stage_id_req.go
- model_workload_plan_stage_req.go
- model_workload_plan_stage_req_workload_plan_stage.go
- model_workload_queue.go
- model_workload_queue_info.go
- model_workload_queue_item.go
- model_workload_queue_req.go
- model_workload_queue_request.go
- model_workload_queue_user.go
- model_workload_queue_user_req.go
- model_workload_queue_user_req_user_list.go
- model_workload_resource.go
- model_workload_resource_item.go
- model_workload_schema_req.go
- model_workload_status.go
- model_workload_status_req.go