import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient"; import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder"; import { AddOperationalTaskRequest } from './model/AddOperationalTaskRequest'; import { AddOperationalTaskResponse } from './model/AddOperationalTaskResponse'; import { AddQueueUserListRequest } from './model/AddQueueUserListRequest'; import { AddQueueUserListResponse } from './model/AddQueueUserListResponse'; import { AddWorkloadPlanStageRequest } from './model/AddWorkloadPlanStageRequest'; import { AddWorkloadPlanStageResponse } from './model/AddWorkloadPlanStageResponse'; import { AddWorkloadQueueRequest } from './model/AddWorkloadQueueRequest'; import { AddWorkloadQueueResponse } from './model/AddWorkloadQueueResponse'; import { AddWorkloadRuleRequest } from './model/AddWorkloadRuleRequest'; import { AddWorkloadRuleResponse } from './model/AddWorkloadRuleResponse'; import { AssociateEipRequest } from './model/AssociateEipRequest'; import { AssociateEipResponse } from './model/AssociateEipResponse'; import { AssociateElbRequest } from './model/AssociateElbRequest'; import { AssociateElbResponse } from './model/AssociateElbResponse'; import { BatchCreateClusterCnRequest } from './model/BatchCreateClusterCnRequest'; import { BatchCreateClusterCnResponse } from './model/BatchCreateClusterCnResponse'; import { BatchCreateResourceTagRequest } from './model/BatchCreateResourceTagRequest'; import { BatchCreateResourceTagResponse } from './model/BatchCreateResourceTagResponse'; import { BatchDeleteClusterCnRequest } from './model/BatchDeleteClusterCnRequest'; import { BatchDeleteClusterCnResponse } from './model/BatchDeleteClusterCnResponse'; import { BatchDeleteResourceTagRequest } from './model/BatchDeleteResourceTagRequest'; import { BatchDeleteResourceTagResponse } from './model/BatchDeleteResourceTagResponse'; import { CancelReadonlyClusterRequest } from './model/CancelReadonlyClusterRequest'; import { CancelReadonlyClusterResponse } from './model/CancelReadonlyClusterResponse'; import { ChangeSecurityGroupRequest } from './model/ChangeSecurityGroupRequest'; import { ChangeSecurityGroupResponse } from './model/ChangeSecurityGroupResponse'; import { CheckClusterRequest } from './model/CheckClusterRequest'; import { CheckClusterResponse } from './model/CheckClusterResponse'; import { CheckClusterShrinkRequest } from './model/CheckClusterShrinkRequest'; import { CheckClusterShrinkResponse } from './model/CheckClusterShrinkResponse'; import { CheckDisasterNameRequest } from './model/CheckDisasterNameRequest'; import { CheckDisasterNameResponse } from './model/CheckDisasterNameResponse'; import { CheckGrowClusterRequest } from './model/CheckGrowClusterRequest'; import { CheckGrowClusterResponse } from './model/CheckGrowClusterResponse'; import { CheckInstanceStorageRequest } from './model/CheckInstanceStorageRequest'; import { CheckInstanceStorageResponse } from './model/CheckInstanceStorageResponse'; import { CheckSnapshotRequest } from './model/CheckSnapshotRequest'; import { CheckSnapshotResponse } from './model/CheckSnapshotResponse'; import { CheckTableRestoreRequest } from './model/CheckTableRestoreRequest'; import { CheckTableRestoreResponse } from './model/CheckTableRestoreResponse'; import { ConvertToLogicalClusterRequest } from './model/ConvertToLogicalClusterRequest'; import { ConvertToLogicalClusterResponse } from './model/ConvertToLogicalClusterResponse'; import { CopySnapshotRequest } from './model/CopySnapshotRequest'; import { CopySnapshotResponse } from './model/CopySnapshotResponse'; import { CreateAlarmSubRequest } from './model/CreateAlarmSubRequest'; import { CreateAlarmSubResponse } from './model/CreateAlarmSubResponse'; import { CreateClusterDnsRequest } from './model/CreateClusterDnsRequest'; import { CreateClusterDnsResponse } from './model/CreateClusterDnsResponse'; import { CreateClusterRequest } from './model/CreateClusterRequest'; import { CreateClusterResponse } from './model/CreateClusterResponse'; import { CreateClusterV2Request } from './model/CreateClusterV2Request'; import { CreateClusterV2Response } from './model/CreateClusterV2Response'; import { CreateClusterWorkloadRequest } from './model/CreateClusterWorkloadRequest'; import { CreateClusterWorkloadResponse } from './model/CreateClusterWorkloadResponse'; import { CreateDataSourceRequest } from './model/CreateDataSourceRequest'; import { CreateDataSourceResponse } from './model/CreateDataSourceResponse'; import { CreateDatabaseUserRequest } from './model/CreateDatabaseUserRequest'; import { CreateDatabaseUserResponse } from './model/CreateDatabaseUserResponse'; import { CreateDisasterRecoveryRequest } from './model/CreateDisasterRecoveryRequest'; import { CreateDisasterRecoveryResponse } from './model/CreateDisasterRecoveryResponse'; import { CreateEventSubRequest } from './model/CreateEventSubRequest'; import { CreateEventSubResponse } from './model/CreateEventSubResponse'; import { CreateLogicalClusterPlanRequest } from './model/CreateLogicalClusterPlanRequest'; import { CreateLogicalClusterPlanResponse } from './model/CreateLogicalClusterPlanResponse'; import { CreateLogicalClusterRequest } from './model/CreateLogicalClusterRequest'; import { CreateLogicalClusterResponse } from './model/CreateLogicalClusterResponse'; import { CreateSnapshotPolicyRequest } from './model/CreateSnapshotPolicyRequest'; import { CreateSnapshotPolicyResponse } from './model/CreateSnapshotPolicyResponse'; import { CreateSnapshotRequest } from './model/CreateSnapshotRequest'; import { CreateSnapshotResponse } from './model/CreateSnapshotResponse'; import { CreateWorkloadPlanRequest } from './model/CreateWorkloadPlanRequest'; import { CreateWorkloadPlanResponse } from './model/CreateWorkloadPlanResponse'; import { DeleteAlarmSubRequest } from './model/DeleteAlarmSubRequest'; import { DeleteAlarmSubResponse } from './model/DeleteAlarmSubResponse'; import { DeleteClusterDnsRequest } from './model/DeleteClusterDnsRequest'; import { DeleteClusterDnsResponse } from './model/DeleteClusterDnsResponse'; import { DeleteClusterNodesRequest } from './model/DeleteClusterNodesRequest'; import { DeleteClusterNodesResponse } from './model/DeleteClusterNodesResponse'; import { DeleteClusterRequest } from './model/DeleteClusterRequest'; import { DeleteClusterResponse } from './model/DeleteClusterResponse'; import { DeleteDataSourceRequest } from './model/DeleteDataSourceRequest'; import { DeleteDataSourceResponse } from './model/DeleteDataSourceResponse'; import { DeleteDatabaseUserRequest } from './model/DeleteDatabaseUserRequest'; import { DeleteDatabaseUserResponse } from './model/DeleteDatabaseUserResponse'; import { DeleteDisasterRecoveryRequest } from './model/DeleteDisasterRecoveryRequest'; import { DeleteDisasterRecoveryResponse } from './model/DeleteDisasterRecoveryResponse'; import { DeleteDwsClusterRequest } from './model/DeleteDwsClusterRequest'; import { DeleteDwsClusterResponse } from './model/DeleteDwsClusterResponse'; import { DeleteEventSubRequest } from './model/DeleteEventSubRequest'; import { DeleteEventSubResponse } from './model/DeleteEventSubResponse'; import { DeleteLogicalClusterPlanRequest } from './model/DeleteLogicalClusterPlanRequest'; import { DeleteLogicalClusterPlanResponse } from './model/DeleteLogicalClusterPlanResponse'; import { DeleteLogicalClusterRequest } from './model/DeleteLogicalClusterRequest'; import { DeleteLogicalClusterResponse } from './model/DeleteLogicalClusterResponse'; import { DeleteOperationalTaskRequest } from './model/DeleteOperationalTaskRequest'; import { DeleteOperationalTaskResponse } from './model/DeleteOperationalTaskResponse'; import { DeleteQueueUserListRequest } from './model/DeleteQueueUserListRequest'; import { DeleteQueueUserListResponse } from './model/DeleteQueueUserListResponse'; import { DeleteSnapshotPolicyRequest } from './model/DeleteSnapshotPolicyRequest'; import { DeleteSnapshotPolicyResponse } from './model/DeleteSnapshotPolicyResponse'; import { DeleteSnapshotRequest } from './model/DeleteSnapshotRequest'; import { DeleteSnapshotResponse } from './model/DeleteSnapshotResponse'; import { DeleteWorkloadPlanRequest } from './model/DeleteWorkloadPlanRequest'; import { DeleteWorkloadPlanResponse } from './model/DeleteWorkloadPlanResponse'; import { DeleteWorkloadPlanStageRequest } from './model/DeleteWorkloadPlanStageRequest'; import { DeleteWorkloadPlanStageResponse } from './model/DeleteWorkloadPlanStageResponse'; import { DeleteWorkloadQueueRequest } from './model/DeleteWorkloadQueueRequest'; import { DeleteWorkloadQueueResponse } from './model/DeleteWorkloadQueueResponse'; import { DeleteWorkloadRuleRequest } from './model/DeleteWorkloadRuleRequest'; import { DeleteWorkloadRuleResponse } from './model/DeleteWorkloadRuleResponse'; import { DisableLogicalClusterPlanRequest } from './model/DisableLogicalClusterPlanRequest'; import { DisableLogicalClusterPlanResponse } from './model/DisableLogicalClusterPlanResponse'; import { DisableLtsLogsRequest } from './model/DisableLtsLogsRequest'; import { DisableLtsLogsResponse } from './model/DisableLtsLogsResponse'; import { DisassociateEipRequest } from './model/DisassociateEipRequest'; import { DisassociateEipResponse } from './model/DisassociateEipResponse'; import { DisassociateElbRequest } from './model/DisassociateElbRequest'; import { DisassociateElbResponse } from './model/DisassociateElbResponse'; import { EnableLogicalClusterPlanRequest } from './model/EnableLogicalClusterPlanRequest'; import { EnableLogicalClusterPlanResponse } from './model/EnableLogicalClusterPlanResponse'; import { EnableLogicalClusterRequest } from './model/EnableLogicalClusterRequest'; import { EnableLogicalClusterResponse } from './model/EnableLogicalClusterResponse'; import { EnableLtsLogsRequest } from './model/EnableLtsLogsRequest'; import { EnableLtsLogsResponse } from './model/EnableLtsLogsResponse'; import { EncryptClusterRequest } from './model/EncryptClusterRequest'; import { EncryptClusterResponse } from './model/EncryptClusterResponse'; import { ExecuteClusterUpgradeActionRequest } from './model/ExecuteClusterUpgradeActionRequest'; import { ExecuteClusterUpgradeActionResponse } from './model/ExecuteClusterUpgradeActionResponse'; import { ExecuteDatabaseOmUserActionRequest } from './model/ExecuteDatabaseOmUserActionRequest'; import { ExecuteDatabaseOmUserActionResponse } from './model/ExecuteDatabaseOmUserActionResponse'; import { ExecuteFlavorChangeRequest } from './model/ExecuteFlavorChangeRequest'; import { ExecuteFlavorChangeResponse } from './model/ExecuteFlavorChangeResponse'; import { ExecuteRedistributionClusterRequest } from './model/ExecuteRedistributionClusterRequest'; import { ExecuteRedistributionClusterResponse } from './model/ExecuteRedistributionClusterResponse'; import { ExpandInstanceStorageRequest } from './model/ExpandInstanceStorageRequest'; import { ExpandInstanceStorageResponse } from './model/ExpandInstanceStorageResponse'; import { ExportDatabaseUsersRequest } from './model/ExportDatabaseUsersRequest'; import { ExportDatabaseUsersResponse } from './model/ExportDatabaseUsersResponse'; import { ExportUserAuthorityRequest } from './model/ExportUserAuthorityRequest'; import { ExportUserAuthorityResponse } from './model/ExportUserAuthorityResponse'; import { ListActionsRequest } from './model/ListActionsRequest'; import { ListActionsResponse } from './model/ListActionsResponse'; import { ListAlarmConfigsRequest } from './model/ListAlarmConfigsRequest'; import { ListAlarmConfigsResponse } from './model/ListAlarmConfigsResponse'; import { ListAlarmDetailRequest } from './model/ListAlarmDetailRequest'; import { ListAlarmDetailResponse } from './model/ListAlarmDetailResponse'; import { ListAlarmStatisticRequest } from './model/ListAlarmStatisticRequest'; import { ListAlarmStatisticResponse } from './model/ListAlarmStatisticResponse'; import { ListAlarmSubsRequest } from './model/ListAlarmSubsRequest'; import { ListAlarmSubsResponse } from './model/ListAlarmSubsResponse'; import { ListAuditLogRequest } from './model/ListAuditLogRequest'; import { ListAuditLogResponse } from './model/ListAuditLogResponse'; import { ListAvailabilityZonesRequest } from './model/ListAvailabilityZonesRequest'; import { ListAvailabilityZonesResponse } from './model/ListAvailabilityZonesResponse'; import { ListAvailableDisasterClustersRequest } from './model/ListAvailableDisasterClustersRequest'; import { ListAvailableDisasterClustersResponse } from './model/ListAvailableDisasterClustersResponse'; import { ListClusterActionsRequest } from './model/ListClusterActionsRequest'; import { ListClusterActionsResponse } from './model/ListClusterActionsResponse'; import { ListClusterCnRequest } from './model/ListClusterCnRequest'; import { ListClusterCnResponse } from './model/ListClusterCnResponse'; import { ListClusterConfigurationsParameterRequest } from './model/ListClusterConfigurationsParameterRequest'; import { ListClusterConfigurationsParameterResponse } from './model/ListClusterConfigurationsParameterResponse'; import { ListClusterConfigurationsRequest } from './model/ListClusterConfigurationsRequest'; import { ListClusterConfigurationsResponse } from './model/ListClusterConfigurationsResponse'; import { ListClusterDetailsRequest } from './model/ListClusterDetailsRequest'; import { ListClusterDetailsResponse } from './model/ListClusterDetailsResponse'; import { ListClusterEndpointsRequest } from './model/ListClusterEndpointsRequest'; import { ListClusterEndpointsResponse } from './model/ListClusterEndpointsResponse'; import { ListClusterNodesRequest } from './model/ListClusterNodesRequest'; import { ListClusterNodesResponse } from './model/ListClusterNodesResponse'; import { ListClusterScaleInNumbersRequest } from './model/ListClusterScaleInNumbersRequest'; import { ListClusterScaleInNumbersResponse } from './model/ListClusterScaleInNumbersResponse'; import { ListClusterSecurityConfigurationsRequest } from './model/ListClusterSecurityConfigurationsRequest'; import { ListClusterSecurityConfigurationsResponse } from './model/ListClusterSecurityConfigurationsResponse'; import { ListClusterSnapshotsRequest } from './model/ListClusterSnapshotsRequest'; import { ListClusterSnapshotsResponse } from './model/ListClusterSnapshotsResponse'; import { ListClusterTagsRequest } from './model/ListClusterTagsRequest'; import { ListClusterTagsResponse } from './model/ListClusterTagsResponse'; import { ListClusterWorkloadRequest } from './model/ListClusterWorkloadRequest'; import { ListClusterWorkloadResponse } from './model/ListClusterWorkloadResponse'; import { ListClustersRequest } from './model/ListClustersRequest'; import { ListClustersResponse } from './model/ListClustersResponse'; import { ListConfigurationsAuditRecordsRequest } from './model/ListConfigurationsAuditRecordsRequest'; import { ListConfigurationsAuditRecordsResponse } from './model/ListConfigurationsAuditRecordsResponse'; import { ListDataSourceRequest } from './model/ListDataSourceRequest'; import { ListDataSourceResponse } from './model/ListDataSourceResponse'; import { ListDatabaseObjectsRequest } from './model/ListDatabaseObjectsRequest'; import { ListDatabaseObjectsResponse } from './model/ListDatabaseObjectsResponse'; import { ListDatabaseUserAuthoritiesRequest } from './model/ListDatabaseUserAuthoritiesRequest'; import { ListDatabaseUserAuthoritiesResponse } from './model/ListDatabaseUserAuthoritiesResponse'; import { ListDatabaseUserRolesRequest } from './model/ListDatabaseUserRolesRequest'; import { ListDatabaseUserRolesResponse } from './model/ListDatabaseUserRolesResponse'; import { ListDatabaseUsersRequest } from './model/ListDatabaseUsersRequest'; import { ListDatabaseUsersResponse } from './model/ListDatabaseUsersResponse'; import { ListDisasterRecoverRequest } from './model/ListDisasterRecoverRequest'; import { ListDisasterRecoverResponse } from './model/ListDisasterRecoverResponse'; import { ListDssPoolsRequest } from './model/ListDssPoolsRequest'; import { ListDssPoolsResponse } from './model/ListDssPoolsResponse'; import { ListElbsInfoRequest } from './model/ListElbsInfoRequest'; import { ListElbsInfoResponse } from './model/ListElbsInfoResponse'; import { ListElbsRequest } from './model/ListElbsRequest'; import { ListElbsResponse } from './model/ListElbsResponse'; import { ListEpsRequest } from './model/ListEpsRequest'; import { ListEpsResponse } from './model/ListEpsResponse'; import { ListEventSpecsRequest } from './model/ListEventSpecsRequest'; import { ListEventSpecsResponse } from './model/ListEventSpecsResponse'; import { ListEventSubsRequest } from './model/ListEventSubsRequest'; import { ListEventSubsResponse } from './model/ListEventSubsResponse'; import { ListEventsRequest } from './model/ListEventsRequest'; import { ListEventsResponse } from './model/ListEventsResponse'; import { ListHostDiskRequest } from './model/ListHostDiskRequest'; import { ListHostDiskResponse } from './model/ListHostDiskResponse'; import { ListHostNetRequest } from './model/ListHostNetRequest'; import { ListHostNetResponse } from './model/ListHostNetResponse'; import { ListHostOverviewRequest } from './model/ListHostOverviewRequest'; import { ListHostOverviewResponse } from './model/ListHostOverviewResponse'; import { ListJobDetailsRequest } from './model/ListJobDetailsRequest'; import { ListJobDetailsResponse } from './model/ListJobDetailsResponse'; import { ListLogicalClusterPlansRequest } from './model/ListLogicalClusterPlansRequest'; import { ListLogicalClusterPlansResponse } from './model/ListLogicalClusterPlansResponse'; import { ListLogicalClusterRingsRequest } from './model/ListLogicalClusterRingsRequest'; import { ListLogicalClusterRingsResponse } from './model/ListLogicalClusterRingsResponse'; import { ListLogicalClusterTasksRequest } from './model/ListLogicalClusterTasksRequest'; import { ListLogicalClusterTasksResponse } from './model/ListLogicalClusterTasksResponse'; import { ListLogicalClusterVolumesRequest } from './model/ListLogicalClusterVolumesRequest'; import { ListLogicalClusterVolumesResponse } from './model/ListLogicalClusterVolumesResponse'; import { ListLogicalClustersRequest } from './model/ListLogicalClustersRequest'; import { ListLogicalClustersResponse } from './model/ListLogicalClustersResponse'; import { ListLtsLogsRequest } from './model/ListLtsLogsRequest'; import { ListLtsLogsResponse } from './model/ListLtsLogsResponse'; import { ListMetricsDataRequest } from './model/ListMetricsDataRequest'; import { ListMetricsDataResponse } from './model/ListMetricsDataResponse'; import { ListMetricsRequest } from './model/ListMetricsRequest'; import { ListMetricsResponse } from './model/ListMetricsResponse'; import { ListMonitorIndicatorDataRequest } from './model/ListMonitorIndicatorDataRequest'; import { ListMonitorIndicatorDataResponse } from './model/ListMonitorIndicatorDataResponse'; import { ListMonitorIndicatorsRequest } from './model/ListMonitorIndicatorsRequest'; import { ListMonitorIndicatorsResponse } from './model/ListMonitorIndicatorsResponse'; import { ListNodeTypesRequest } from './model/ListNodeTypesRequest'; import { ListNodeTypesResponse } from './model/ListNodeTypesResponse'; import { ListOperationalTaskDetailRequest } from './model/ListOperationalTaskDetailRequest'; import { ListOperationalTaskDetailResponse } from './model/ListOperationalTaskDetailResponse'; import { ListOperationalTaskRequest } from './model/ListOperationalTaskRequest'; import { ListOperationalTaskResponse } from './model/ListOperationalTaskResponse'; import { ListPlanExecLogsRequest } from './model/ListPlanExecLogsRequest'; import { ListPlanExecLogsResponse } from './model/ListPlanExecLogsResponse'; import { ListQueriesRequest } from './model/ListQueriesRequest'; import { ListQueriesResponse } from './model/ListQueriesResponse'; import { ListQuotasRequest } from './model/ListQuotasRequest'; import { ListQuotasResponse } from './model/ListQuotasResponse'; import { ListRedistributionSchemaRequest } from './model/ListRedistributionSchemaRequest'; import { ListRedistributionSchemaResponse } from './model/ListRedistributionSchemaResponse'; import { ListResourceByTagRequest } from './model/ListResourceByTagRequest'; import { ListResourceByTagResponse } from './model/ListResourceByTagResponse'; import { ListSchemasRequest } from './model/ListSchemasRequest'; import { ListSchemasResponse } from './model/ListSchemasResponse'; import { ListSnapshotDetailsRequest } from './model/ListSnapshotDetailsRequest'; import { ListSnapshotDetailsResponse } from './model/ListSnapshotDetailsResponse'; import { ListSnapshotFlavorInfoRequest } from './model/ListSnapshotFlavorInfoRequest'; import { ListSnapshotFlavorInfoResponse } from './model/ListSnapshotFlavorInfoResponse'; import { ListSnapshotPolicyRequest } from './model/ListSnapshotPolicyRequest'; import { ListSnapshotPolicyResponse } from './model/ListSnapshotPolicyResponse'; import { ListSnapshotStatisticsRequest } from './model/ListSnapshotStatisticsRequest'; import { ListSnapshotStatisticsResponse } from './model/ListSnapshotStatisticsResponse'; import { ListSnapshotsRequest } from './model/ListSnapshotsRequest'; import { ListSnapshotsResponse } from './model/ListSnapshotsResponse'; import { ListStatisticsRequest } from './model/ListStatisticsRequest'; import { ListStatisticsResponse } from './model/ListStatisticsResponse'; import { ListSyncRecordsRequest } from './model/ListSyncRecordsRequest'; import { ListSyncRecordsResponse } from './model/ListSyncRecordsResponse'; import { ListTablesStatisticRequest } from './model/ListTablesStatisticRequest'; import { ListTablesStatisticResponse } from './model/ListTablesStatisticResponse'; import { ListTagsForResourceRequest } from './model/ListTagsForResourceRequest'; import { ListTagsForResourceResponse } from './model/ListTagsForResourceResponse'; import { ListTagsRequest } from './model/ListTagsRequest'; import { ListTagsResponse } from './model/ListTagsResponse'; import { ListTargetFlavorsRequest } from './model/ListTargetFlavorsRequest'; import { ListTargetFlavorsResponse } from './model/ListTargetFlavorsResponse'; import { ListTopoRingsRequest } from './model/ListTopoRingsRequest'; import { ListTopoRingsResponse } from './model/ListTopoRingsResponse'; import { ListUpdatableVersionRequest } from './model/ListUpdatableVersionRequest'; import { ListUpdatableVersionResponse } from './model/ListUpdatableVersionResponse'; import { ListUpdateRecordRequest } from './model/ListUpdateRecordRequest'; import { ListUpdateRecordResponse } from './model/ListUpdateRecordResponse'; import { ListWorkloadPlansRequest } from './model/ListWorkloadPlansRequest'; import { ListWorkloadPlansResponse } from './model/ListWorkloadPlansResponse'; import { ListWorkloadQueueRequest } from './model/ListWorkloadQueueRequest'; import { ListWorkloadQueueResponse } from './model/ListWorkloadQueueResponse'; import { ListWorkloadQueueUsersRequest } from './model/ListWorkloadQueueUsersRequest'; import { ListWorkloadQueueUsersResponse } from './model/ListWorkloadQueueUsersResponse'; import { ListWorkloadRulesRequest } from './model/ListWorkloadRulesRequest'; import { ListWorkloadRulesResponse } from './model/ListWorkloadRulesResponse'; import { ModifyClusterNameRequest } from './model/ModifyClusterNameRequest'; import { ModifyClusterNameResponse } from './model/ModifyClusterNameResponse'; import { ModifyClusterTimezoneRequest } from './model/ModifyClusterTimezoneRequest'; import { ModifyClusterTimezoneResponse } from './model/ModifyClusterTimezoneResponse'; import { PauseDisasterRecoveryRequest } from './model/PauseDisasterRecoveryRequest'; import { PauseDisasterRecoveryResponse } from './model/PauseDisasterRecoveryResponse'; import { PauseOperationalTaskRequest } from './model/PauseOperationalTaskRequest'; import { PauseOperationalTaskResponse } from './model/PauseOperationalTaskResponse'; import { RefreshOperationalTaskRequest } from './model/RefreshOperationalTaskRequest'; import { RefreshOperationalTaskResponse } from './model/RefreshOperationalTaskResponse'; import { ResetPasswordRequest } from './model/ResetPasswordRequest'; import { ResetPasswordResponse } from './model/ResetPasswordResponse'; import { ResizeClusterRequest } from './model/ResizeClusterRequest'; import { ResizeClusterResponse } from './model/ResizeClusterResponse'; import { ResizeClusterWithExistedNodesRequest } from './model/ResizeClusterWithExistedNodesRequest'; import { ResizeClusterWithExistedNodesResponse } from './model/ResizeClusterWithExistedNodesResponse'; import { ResizePreparationRequest } from './model/ResizePreparationRequest'; import { ResizePreparationResponse } from './model/ResizePreparationResponse'; import { RestartClusterRequest } from './model/RestartClusterRequest'; import { RestartClusterResponse } from './model/RestartClusterResponse'; import { RestartLogicalClusterRequest } from './model/RestartLogicalClusterRequest'; import { RestartLogicalClusterResponse } from './model/RestartLogicalClusterResponse'; import { RestoreClusterRequest } from './model/RestoreClusterRequest'; import { RestoreClusterResponse } from './model/RestoreClusterResponse'; import { RestoreDisasterRequest } from './model/RestoreDisasterRequest'; import { RestoreDisasterResponse } from './model/RestoreDisasterResponse'; import { RestoreRedistributionRequest } from './model/RestoreRedistributionRequest'; import { RestoreRedistributionResponse } from './model/RestoreRedistributionResponse'; import { RestoreTableRequest } from './model/RestoreTableRequest'; import { RestoreTableResponse } from './model/RestoreTableResponse'; import { ResumeOperationalTaskRequest } from './model/ResumeOperationalTaskRequest'; import { ResumeOperationalTaskResponse } from './model/ResumeOperationalTaskResponse'; import { RotateKeyRequest } from './model/RotateKeyRequest'; import { RotateKeyResponse } from './model/RotateKeyResponse'; import { SaveClusterDescriptionInfoRequest } from './model/SaveClusterDescriptionInfoRequest'; import { SaveClusterDescriptionInfoResponse } from './model/SaveClusterDescriptionInfoResponse'; import { SetRedistributionPriorityRequest } from './model/SetRedistributionPriorityRequest'; import { SetRedistributionPriorityResponse } from './model/SetRedistributionPriorityResponse'; import { ShowClusterEncryptInfoRequest } from './model/ShowClusterEncryptInfoRequest'; import { ShowClusterEncryptInfoResponse } from './model/ShowClusterEncryptInfoResponse'; import { ShowClusterFlavorRequest } from './model/ShowClusterFlavorRequest'; import { ShowClusterFlavorResponse } from './model/ShowClusterFlavorResponse'; import { ShowClusterRedistributionRequest } from './model/ShowClusterRedistributionRequest'; import { ShowClusterRedistributionResponse } from './model/ShowClusterRedistributionResponse'; import { ShowClusterStorageExpandRangeRequest } from './model/ShowClusterStorageExpandRangeRequest'; import { ShowClusterStorageExpandRangeResponse } from './model/ShowClusterStorageExpandRangeResponse'; import { ShowClusterVolumeRequest } from './model/ShowClusterVolumeRequest'; import { ShowClusterVolumeResponse } from './model/ShowClusterVolumeResponse'; import { ShowClustersRequest } from './model/ShowClustersRequest'; import { ShowClustersResponse } from './model/ShowClustersResponse'; import { ShowDatabaseAuthorityRequest } from './model/ShowDatabaseAuthorityRequest'; import { ShowDatabaseAuthorityResponse } from './model/ShowDatabaseAuthorityResponse'; import { ShowDatabaseOmUserStatusRequest } from './model/ShowDatabaseOmUserStatusRequest'; import { ShowDatabaseOmUserStatusResponse } from './model/ShowDatabaseOmUserStatusResponse'; import { ShowDatabaseUserRequest } from './model/ShowDatabaseUserRequest'; import { ShowDatabaseUserResponse } from './model/ShowDatabaseUserResponse'; import { ShowDisasterDetailRequest } from './model/ShowDisasterDetailRequest'; import { ShowDisasterDetailResponse } from './model/ShowDisasterDetailResponse'; import { ShowDisasterProgressRequest } from './model/ShowDisasterProgressRequest'; import { ShowDisasterProgressResponse } from './model/ShowDisasterProgressResponse'; import { ShowInstanceRequest } from './model/ShowInstanceRequest'; import { ShowInstanceResponse } from './model/ShowInstanceResponse'; import { ShowOperationalTaskConfigRequest } from './model/ShowOperationalTaskConfigRequest'; import { ShowOperationalTaskConfigResponse } from './model/ShowOperationalTaskConfigResponse'; import { ShowQueryDetailRequest } from './model/ShowQueryDetailRequest'; import { ShowQueryDetailResponse } from './model/ShowQueryDetailResponse'; import { ShowResizePreparationRequest } from './model/ShowResizePreparationRequest'; import { ShowResizePreparationResponse } from './model/ShowResizePreparationResponse'; import { ShowResourceStatisticsRequest } from './model/ShowResourceStatisticsRequest'; import { ShowResourceStatisticsResponse } from './model/ShowResourceStatisticsResponse'; import { ShowWorkloadPlanRequest } from './model/ShowWorkloadPlanRequest'; import { ShowWorkloadPlanResponse } from './model/ShowWorkloadPlanResponse'; import { ShowWorkloadPlanStageRequest } from './model/ShowWorkloadPlanStageRequest'; import { ShowWorkloadPlanStageResponse } from './model/ShowWorkloadPlanStageResponse'; import { ShowWorkloadQueueRequest } from './model/ShowWorkloadQueueRequest'; import { ShowWorkloadQueueResponse } from './model/ShowWorkloadQueueResponse'; import { ShrinkClusterRequest } from './model/ShrinkClusterRequest'; import { ShrinkClusterResponse } from './model/ShrinkClusterResponse'; import { ShrinkLogicalClusterRequest } from './model/ShrinkLogicalClusterRequest'; import { ShrinkLogicalClusterResponse } from './model/ShrinkLogicalClusterResponse'; import { StartClusterRequest } from './model/StartClusterRequest'; import { StartClusterResponse } from './model/StartClusterResponse'; import { StartDisasterRecoveryRequest } from './model/StartDisasterRecoveryRequest'; import { StartDisasterRecoveryResponse } from './model/StartDisasterRecoveryResponse'; import { StartWorkloadPlanRequest } from './model/StartWorkloadPlanRequest'; import { StartWorkloadPlanResponse } from './model/StartWorkloadPlanResponse'; import { StopClusterRequest } from './model/StopClusterRequest'; import { StopClusterResponse } from './model/StopClusterResponse'; import { StopRedistributionRequest } from './model/StopRedistributionRequest'; import { StopRedistributionResponse } from './model/StopRedistributionResponse'; import { StopWorkloadPlanRequest } from './model/StopWorkloadPlanRequest'; import { StopWorkloadPlanResponse } from './model/StopWorkloadPlanResponse'; import { SwitchFailoverDisasterRequest } from './model/SwitchFailoverDisasterRequest'; import { SwitchFailoverDisasterResponse } from './model/SwitchFailoverDisasterResponse'; import { SwitchOverClusterRequest } from './model/SwitchOverClusterRequest'; import { SwitchOverClusterResponse } from './model/SwitchOverClusterResponse'; import { SwitchPlanStageRequest } from './model/SwitchPlanStageRequest'; import { SwitchPlanStageResponse } from './model/SwitchPlanStageResponse'; import { SwitchoverDisasterRecoveryRequest } from './model/SwitchoverDisasterRecoveryRequest'; import { SwitchoverDisasterRecoveryResponse } from './model/SwitchoverDisasterRecoveryResponse'; import { SyncIamUsersRequest } from './model/SyncIamUsersRequest'; import { SyncIamUsersResponse } from './model/SyncIamUsersResponse'; import { UpdateAlarmSubRequest } from './model/UpdateAlarmSubRequest'; import { UpdateAlarmSubResponse } from './model/UpdateAlarmSubResponse'; import { UpdateClusterDnsRequest } from './model/UpdateClusterDnsRequest'; import { UpdateClusterDnsResponse } from './model/UpdateClusterDnsResponse'; import { UpdateConfigurationRequest } from './model/UpdateConfigurationRequest'; import { UpdateConfigurationResponse } from './model/UpdateConfigurationResponse'; import { UpdateDataSourceRequest } from './model/UpdateDataSourceRequest'; import { UpdateDataSourceResponse } from './model/UpdateDataSourceResponse'; import { UpdateDatabaseAuthorityRequest } from './model/UpdateDatabaseAuthorityRequest'; import { UpdateDatabaseAuthorityResponse } from './model/UpdateDatabaseAuthorityResponse'; import { UpdateDatabaseUserInfoRequest } from './model/UpdateDatabaseUserInfoRequest'; import { UpdateDatabaseUserInfoResponse } from './model/UpdateDatabaseUserInfoResponse'; import { UpdateDisasterInfoRequest } from './model/UpdateDisasterInfoRequest'; import { UpdateDisasterInfoResponse } from './model/UpdateDisasterInfoResponse'; import { UpdateEventSubRequest } from './model/UpdateEventSubRequest'; import { UpdateEventSubResponse } from './model/UpdateEventSubResponse'; import { UpdateLogicalClusterPlanRequest } from './model/UpdateLogicalClusterPlanRequest'; import { UpdateLogicalClusterPlanResponse } from './model/UpdateLogicalClusterPlanResponse'; import { UpdateLogicalClusterRequest } from './model/UpdateLogicalClusterRequest'; import { UpdateLogicalClusterResponse } from './model/UpdateLogicalClusterResponse'; import { UpdateMaintenanceWindowRequest } from './model/UpdateMaintenanceWindowRequest'; import { UpdateMaintenanceWindowResponse } from './model/UpdateMaintenanceWindowResponse'; import { UpdateOperationalTaskConfigRequest } from './model/UpdateOperationalTaskConfigRequest'; import { UpdateOperationalTaskConfigResponse } from './model/UpdateOperationalTaskConfigResponse'; import { UpdateOperationalTaskRequest } from './model/UpdateOperationalTaskRequest'; import { UpdateOperationalTaskResponse } from './model/UpdateOperationalTaskResponse'; import { UpdateQueueBaseInfoRequest } from './model/UpdateQueueBaseInfoRequest'; import { UpdateQueueBaseInfoResponse } from './model/UpdateQueueBaseInfoResponse'; import { UpdateQueueResourcesRequest } from './model/UpdateQueueResourcesRequest'; import { UpdateQueueResourcesResponse } from './model/UpdateQueueResourcesResponse'; import { UpdateRedistributionConfigurationsRequest } from './model/UpdateRedistributionConfigurationsRequest'; import { UpdateRedistributionConfigurationsResponse } from './model/UpdateRedistributionConfigurationsResponse'; import { UpdateSchemasRequest } from './model/UpdateSchemasRequest'; import { UpdateSchemasResponse } from './model/UpdateSchemasResponse'; import { UpdateWorkloadPlanStageRequest } from './model/UpdateWorkloadPlanStageRequest'; import { UpdateWorkloadPlanStageResponse } from './model/UpdateWorkloadPlanStageResponse'; import { UpdateWorkloadRuleRequest } from './model/UpdateWorkloadRuleRequest'; import { UpdateWorkloadRuleResponse } from './model/UpdateWorkloadRuleResponse'; import { ValidateDbDataRequest } from './model/ValidateDbDataRequest'; import { ValidateDbDataResponse } from './model/ValidateDbDataResponse'; export declare class DwsClient { static newBuilder(): ClientBuilder; private hcClient; constructor(client: HcClient); getPath(): string; /** * 新增调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 新增调度任务 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {OperationalTaskRequest} [addOperationalTaskRequestBody] **参数解释**: 创建任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ addOperationalTask(addOperationalTaskRequest?: AddOperationalTaskRequest): Promise; /** * 添加资源池的绑定用户。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加资源池的绑定用户 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadQueueUserReq} addQueueUserListRequestBody **参数解释**: 新增资源用户请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ addQueueUserList(addQueueUserListRequest?: AddQueueUserListRequest): Promise; /** * 添加资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加资源管理计划阶段 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadPlanStageReq} addWorkloadPlanStageRequestBody **参数解释**: 资源管理计划阶段。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ addWorkloadPlanStage(addWorkloadPlanStageRequest?: AddWorkloadPlanStageRequest): Promise; /** * 添加资源池。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加资源池 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {WorkloadQueueReq} [workloadQueue] **参数解释**: 资源池请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ addWorkloadQueue(addWorkloadQueueRequest?: AddWorkloadQueueRequest): Promise; /** * 添加异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加异常规则 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {AddExceptRuleReq} [addWorkloadRuleRequestBody] **参数解释**: 异常规则配置请求体。 **约束限制**: 名称不能为空。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ addWorkloadRule(addWorkloadRuleRequest?: AddWorkloadRuleRequest): Promise; /** * 集群绑定Eip。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群绑定EIP * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} eipId **参数解释**: 未绑定的弹性IP的ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ associateEip(associateEipRequest?: AssociateEipRequest): Promise; /** * 集群绑定Elb接口。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群绑定ELB * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} elbId **参数解释**: 未绑定的弹性负载均衡ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ associateElb(associateElbRequest?: AssociateElbRequest): Promise; /** * 当用户集群创建后,实际需要的CN数量会随着业务需求而发生变化,因此管理CN节点功能的实现使用户可以根据实际需求动态调整集群CN数量。 * - 增删CN节点过程中不允许执行其他运维操作。 * - 增删CN节点过程中需要停止业务操作,建议在业务低峰期或业务中断情况下进行操作。 * - 增删CN节点时发生故障且回滚失败,需要用户登录后台进行处理,处理方案请参见《故障排除》中的“集群使用>增删CN回滚失败”章节。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量增加CN节点 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {BatchCreateCn} payload **参数解释**: 增加CN节点任务完成,集群总CN数量。 **取值范围**: 非null。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ batchCreateClusterCn(batchCreateClusterCnRequest?: BatchCreateClusterCnRequest): Promise; /** * 为指定集群批量添加标签。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量添加标签 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {BatchCreateResourceTags} tags **参数解释**: 标签列表请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ batchCreateResourceTag(batchCreateResourceTagRequest?: BatchCreateResourceTagRequest): Promise; /** * 当用户集群创建后,实际需要的CN数量会随着业务需求而发生变化,因此管理CN节点功能的实现使用户可以根据实际需求动态调整集群CN数量。 * - 增删CN节点过程中不允许执行其他运维操作。 * - 增删CN节点过程中需要停止业务操作,建议在业务低峰期或业务中断情况下进行操作。 * - 增删CN节点时发生故障且回滚失败,需要用户登录后台进行处理,处理方案请参见《故障排除》中的“集群使用>增删CN回滚失败”章节。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量删除CN节点 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {BatchDeleteCn} instances **参数解释**: 批量删除CN节点列表。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ batchDeleteClusterCn(batchDeleteClusterCnRequest?: BatchDeleteClusterCnRequest): Promise; /** * 为指定集群批量删除标签。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量删除标签 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {BatchDeleteResourceTags} tags **参数解释**: 标签列表请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ batchDeleteResourceTag(batchDeleteResourceTagRequest?: BatchDeleteResourceTagRequest): Promise; /** * 当集群进入只读状态时,无法进行数据库相关操作,用户可以调用该API解除集群的只读状态。触发只读状态可能是由于磁盘使用率过高,因此需要先对集群数据进行清理或扩容再解除只读。 * **约束限制**: * 解除只读支持1.7.2及以上版本。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 解除只读 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelReadonlyCluster(cancelReadonlyClusterRequest?: CancelReadonlyClusterRequest): Promise; /** * 该接口用于修改集群安全组。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群安全组 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ChangeSecurityGroupRequestBody} changeSecurityGroupRequestBody **参数解释**: 安全组请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ changeSecurityGroup(changeSecurityGroupRequest?: ChangeSecurityGroupRequest): Promise; /** * 创建集群前预检查,提前识别子网不足、配额不足等问题,避免发起创建集群请求后创建失败。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建集群前检查 * @param {ClusterCheckRequestBody} cluster **参数解释**: 创建集群校验请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkCluster(checkClusterRequest?: CheckClusterRequest): Promise; /** * 缩容前检查,确保缩容前、缩容后均满足正常操作要求。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群缩容前检查 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} checkItem **参数解释**: 检查项,取值当前仅包含3种。 **约束限制**: 不涉及。 **取值范围**: - guc:检查当前guc参数是否满足缩容条件。 - schema:检查所有schema下有无影响缩容的表。 - disk:检查缩容后磁盘容量是否满足要求。 **默认取值**: 不涉及。 * @param {number} shrinkCount **参数解释**: 待缩容节点数。 **约束限制**: 不涉及。 **取值范围**: 最小值为3,最大值为当前节点总数减3。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkClusterShrink(checkClusterShrinkRequest?: CheckClusterShrinkRequest): Promise; /** * 该接口用于查询容灾名称是否可用。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 检查容灾名称 * @param {string} drName **参数解释**: 容灾名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [type] **参数解释**: 容灾类型。 **约束限制**: 不涉及。 **取值范围**: - az,跨az容灾。 - region,跨region容灾。 **默认取值**: 不涉及。 * @param {string} [standbyRegion] **参数解释**: 备集群所在局点。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [standbyProjectId] **参数解释**: 备集群所在项目ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkDisasterName(checkDisasterNameRequest?: CheckDisasterNameRequest): Promise; /** * 集群扩容前检查,提前识别子网不足、权限不足等问题导致的扩容失败。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群扩容前检查 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ResizeClusterRequestBody} checkGrowClusterRequestBody **参数解释**: 扩容/添加空闲节点操作请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkGrowCluster(checkGrowClusterRequest?: CheckGrowClusterRequest): Promise; /** * 磁盘扩容前检查。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 磁盘扩容前检查 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {V1DiskExtExpandReq} [checkInstanceStorageRequestBody] **参数解释**: 磁盘扩容前检查请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInstanceStorage(checkInstanceStorageRequest?: CheckInstanceStorageRequest): Promise; /** * 检验快照信息,状态码200时校验成功。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 检验快照信息 * @param {CheckSnapshotReq} checkSnapshotRequestBody **参数解释**: 校验快照信息请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkSnapshot(checkSnapshotRequest?: CheckSnapshotRequest): Promise; /** * 该接口用于用户恢复表名检测。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 用户恢复表名检测 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {CheckTableRestoreRequestBody} checkTableRestoreRequestBody **参数解释**: 表名请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkTableRestore(checkTableRestoreRequest?: CheckTableRestoreRequest): Promise; /** * 物理集群转换到逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 物理集群转换到逻辑集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 逻辑集群名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ convertToLogicalCluster(convertToLogicalClusterRequest?: ConvertToLogicalClusterRequest): Promise; /** * 该接口用于复制一个自动快照。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 复制快照 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {LinkCopyReq} linkCopyReq **参数解释**: 快照复制请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ copySnapshot(copySnapshotRequest?: CopySnapshotRequest): Promise; /** * 创建订阅告警。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建告警订阅 * @param {AlarmSubRequest} alarmSubReq **参数解释**: 创建订阅告警请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAlarmSub(createAlarmSubRequest?: CreateAlarmSubRequest): Promise; /** * 该接口用于创建集群。建议使用新的v2接口,此接口仅保证现有功能,新功能新特性不再新增。 * 集群必须要运行在VPC之内,创建集群前,您需要先创建VPC,并获取VPC和子网的id。 * 该接口为异步接口,创建集群需要10~15分钟。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建集群 * @param {CreateClusterRequestBody} createClusterRequestBody **参数解释**: 创建集群对象。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCluster(createClusterRequest?: CreateClusterRequest): Promise; /** * 为指定集群申请域名。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 申请域名 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {CreateClusterDns} dns **参数解释**: 申请域名参数详情。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createClusterDns(createClusterDnsRequest?: CreateClusterDnsRequest): Promise; /** * 该接口用于创建集群。 * 集群必须要运行在VPC之内,创建集群前,您需要先创建VPC,并获取VPC和子网的id。 * 该接口为异步接口,创建集群需要10~15分钟。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建集群V2 * @param {V2CreateClusterReq} v2CreateClusterReqBody **参数解释**: 创建集群对象。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createClusterV2(createClusterV2Request?: CreateClusterV2Request): Promise; /** * 打开或关闭资源管理功能,新集群默认是打开状态。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 打开或关闭资源管理功能 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {WorkloadStatusReq} [workloadStatus] **参数解释**: 资源管理状态请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createClusterWorkload(createClusterWorkloadRequest?: CreateClusterWorkloadRequest): Promise; /** * 该接口用于创建一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建数据源 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ExtDataSourceReq} extDataSourceReq **参数解释**: 数据源请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDataSource(createDataSourceRequest?: CreateDataSourceRequest): Promise; /** * 创建数据库用户/角色。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建数据库用户/角色 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {UserAuthorityReq} createDatabaseUserRequestBody **参数解释**: 创建数据库用户/角色请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDatabaseUser(createDatabaseUserRequest?: CreateDatabaseUserRequest): Promise; /** * 该接口用于创建集群间容灾。 * 集群处于可用状态或者非均衡状态才可进行创建容灾操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建容灾 * @param {CreateDisasterRecoveryReq} disasterRecovery **参数解释**: 容灾信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDisasterRecovery(createDisasterRecoveryRequest?: CreateDisasterRecoveryRequest): Promise; /** * 添加订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建订阅事件 * @param {EventSubRequest} eventSubReq **参数解释**: 创建事件订阅请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createEventSub(createEventSubRequest?: CreateEventSubRequest): Promise; /** * 使用弹性池的节点,创建逻辑集群,此接口已经不再演进,后续版本中可能会下线,新版本中此接口对应功能已经下线。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建逻辑集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {CreateLogicalClusterRequestBody} createLogicalClusterRequestBody **参数解释**: 创建逻辑集群对象。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createLogicalCluster(createLogicalClusterRequest?: CreateLogicalClusterRequest): Promise; /** * 添加逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加逻辑集群定时增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {LogicalClusterPlanBo} createLogicalClusterPlanRequestBody **参数解释**: 创建计划请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createLogicalClusterPlan(createLogicalClusterPlanRequest?: CreateLogicalClusterPlanRequest): Promise; /** * 该接口用于为指定集群创建快照。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 创建快照 * @param {CreateSnapshotRequestBody} createSnapshotRequestBody **参数解释**: 创建快照请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSnapshot(createSnapshotRequest?: CreateSnapshotRequest): Promise; /** * 该接口用于设置快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加快照策略 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {CreateSnapshotPolicyRequestBody} [req] **参数解释**: 备份策略。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createSnapshotPolicy(createSnapshotPolicyRequest?: CreateSnapshotPolicyRequest): Promise; /** * 添加资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 添加资源管理计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {WorkloadPlanReq} workloadPlan **参数解释**: 资源管理计划请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWorkloadPlan(createWorkloadPlanRequest?: CreateWorkloadPlanRequest): Promise; /** * 删除订阅的告警。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除告警订阅 * @param {string} alarmSubId **参数解释**: 告警订阅ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAlarmSub(deleteAlarmSubRequest?: DeleteAlarmSubRequest): Promise; /** * 删除集群(旧接口)。集群删除后将释放此集群的所有资源,包括客户数据。为了安全起见,请在删除集群前为这个集群创建快照。 * 删除集群建议优先使用另一个新接口,覆盖此接口所有参数及功能。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {DeleteClusterRequestBody} deleteClusterRequestBody **参数解释**: 删除集群请求信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCluster(deleteClusterRequest?: DeleteClusterRequest): Promise; /** * 删除指定集群域名。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除集群域名 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} type **参数解释**: 域名类型。当前仅支持删除公网域名,删除内网域名尚未支持。 **约束限制**: 不涉及。 **取值范围**: public:删除公网域名。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteClusterDns(deleteClusterDnsRequest?: DeleteClusterDnsRequest): Promise; /** * 删除空闲节点。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除空闲节点 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {DeleteClusterNodesRequestBody} deleteClusterNodesRequestBody **参数解释**: 删除节点请求信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteClusterNodes(deleteClusterNodesRequest?: DeleteClusterNodesRequest): Promise; /** * 该接口用于删除一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除数据源 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} extDataSourceId **参数解释**: 数据源ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDataSource(deleteDataSourceRequest?: DeleteDataSourceRequest): Promise; /** * 删除数据库用户。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除数据库用户 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 数据库用户名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {boolean} [cascade] **参数解释**: 是否忽略大小写。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: false * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDatabaseUser(deleteDatabaseUserRequest?: DeleteDatabaseUserRequest): Promise; /** * 该接口用于删除容灾操作。 * 容灾状态为“创建失败”、“未启动”、“启动失败”、“已停止”、“停止失败”和“异常”时可以执行删除容灾操作。 * 删除后,将无法进行数据同步,且不可恢复,请谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除容灾 * @param {string} disasterRecoveryId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [needSendRequest] **参数解释**: 跨region时是否需要向另一个集群发请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDisasterRecovery(deleteDisasterRecoveryRequest?: DeleteDisasterRecoveryRequest): Promise; /** * 删除集群v2接口。集群删除后将释放此集群的所有资源,包括客户数据。为了安全起见,请在删除集群前为这个集群创建快照。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除DWS集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [keepLastManualBackup] **参数解释**: 集群需要保留的快照数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0 * @param {string} [releaseEipType] **参数解释**: 集群是否释放弹性公网IP,默认是NO_RELEASE,不释放绑定的弹性公网IP。 **约束限制**: 不涉及。 **取值范围**: - NO_RELEASE:不释放绑定的弹性公网IP; - RELEASE_BINDING:释放绑定的弹性公网IP; **默认取值**: NO_RELEASE * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDwsCluster(deleteDwsClusterRequest?: DeleteDwsClusterRequest): Promise; /** * 删除订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除订阅的事件 * @param {string} eventSubId **参数解释**: 事件订阅ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventSub(deleteEventSubRequest?: DeleteEventSubRequest): Promise; /** * 删除逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除逻辑集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} logicalClusterId **参数解释**: 指定待删除逻辑集群的ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteLogicalCluster(deleteLogicalClusterRequest?: DeleteLogicalClusterRequest): Promise; /** * 删除逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除逻辑集群定时增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteLogicalClusterPlan(deleteLogicalClusterPlanRequest?: DeleteLogicalClusterPlanRequest): Promise; /** * 批量删除调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量删除调度任务 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {OperationalTaskIdListRequest} [deleteOperationalTaskRequestBody] **参数解释**: 删除调度任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteOperationalTask(deleteOperationalTaskRequest?: DeleteOperationalTaskRequest): Promise; /** * 删除资源池的绑定用户。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除资源池的绑定用户 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadQueueUserReq} deleteQueueUserListRequestBody **参数解释**: 删除资源队列用户请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteQueueUserList(deleteQueueUserListRequest?: DeleteQueueUserListRequest): Promise; /** * 该接口用于删除一个指定手动快照。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除快照 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSnapshot(deleteSnapshotRequest?: DeleteSnapshotRequest): Promise; /** * 该接口用于删除一个快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除快照策略 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} id **参数解释**: 快照策略ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteSnapshotPolicy(deleteSnapshotPolicyRequest?: DeleteSnapshotPolicyRequest): Promise; /** * 删除资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除资源管理计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWorkloadPlan(deleteWorkloadPlanRequest?: DeleteWorkloadPlanRequest): Promise; /** * 删除资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除资源管理计划阶段 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} stageId **参数解释**: 计划阶段ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWorkloadPlanStage(deleteWorkloadPlanStageRequest?: DeleteWorkloadPlanStageRequest): Promise; /** * 该接口用于删除资源池。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除资源池 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} workloadQueueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [logicalClusterName] **参数解释**: 逻辑集群名称。逻辑集群模式下该字段必填。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWorkloadQueue(deleteWorkloadQueueRequest?: DeleteWorkloadQueueRequest): Promise; /** * 删除异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 删除异常规则 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} ruleName **参数解释**: 异常规则名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWorkloadRule(deleteWorkloadRuleRequest?: DeleteWorkloadRuleRequest): Promise; /** * 停用逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 停用逻辑集群定时增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 增删计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ disableLogicalClusterPlan(disableLogicalClusterPlanRequest?: DisableLogicalClusterPlanRequest): Promise; /** * 该接口用于关闭集群LTS云日志服务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 关闭云服务日志 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ disableLtsLogs(disableLtsLogsRequest?: DisableLtsLogsRequest): Promise; /** * 集群解绑Eip。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群解绑EIP * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} eipId **参数解释**: 集群绑定的弹性IP。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ disassociateEip(disassociateEipRequest?: DisassociateEipRequest): Promise; /** * 集群解绑Elb接口。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群解绑ELB * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} elbId **参数解释**: 集群已绑定的弹性负载均衡ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ disassociateElb(disassociateElbRequest?: DisassociateElbRequest): Promise; /** * 切换逻辑集群开关,仅用于控制逻辑集群相关功能模块是否在页面展示。 * 在集群已经是逻辑集群的场景下,修改该接口无任何作用及影响。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 切换逻辑集群开关 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {EnableLogicalClusterRequestBody} enableLogicalClusterRequestBody **参数解释**: 切换开关请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableLogicalCluster(enableLogicalClusterRequest?: EnableLogicalClusterRequest): Promise; /** * 启用逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 启用逻辑集群定时增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 增删计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableLogicalClusterPlan(enableLogicalClusterPlanRequest?: EnableLogicalClusterPlanRequest): Promise; /** * 该接口用于开启集群LTS云日志服务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 开启云服务日志 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableLtsLogs(enableLtsLogsRequest?: EnableLtsLogsRequest): Promise; /** * 转加密集群。 * **约束限制**: * 转加密集群起始支持版本:8.0.0 * 转加密集群guestAgent起始支持版本:8.3.0.200 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 转加密集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {EncryptClusterReq} encryptClusterRequestBody **参数解释**: 转加密集群请求体。 **约束限制**: 非空。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ encryptCluster(encryptClusterRequest?: EncryptClusterRequest): Promise; /** * 下发集群升级相关操作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 下发集群升级相关操作 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ExecuteClusterUpgradeActionRequestBody} executeClusterUpgradeActionRequestBody **参数解释**: 下发升级请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeClusterUpgradeAction(executeClusterUpgradeActionRequest?: ExecuteClusterUpgradeActionRequest): Promise; /** * 进行数据库运维账户操作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 执行运维用户操作 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {DatabaseOmUserActionReq} executeDatabaseOmUserActionRequestBody **参数解释**: 操作类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeDatabaseOmUserAction(executeDatabaseOmUserActionRequest?: ExecuteDatabaseOmUserActionRequest): Promise; /** * 执行规格变更。 * **约束限制**: * 包周期集群暂不支持。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 执行规格变更 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {SpecResizeRequest} executeFlavorChangeRequestBody **参数解释**: 规格变更请求信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeFlavorChange(executeFlavorChangeRequest?: ExecuteFlavorChangeRequest): Promise; /** * 该接口用于集群扩容后将老节点数据均匀分布到新扩节点的数据重分布操作,数据“重分布”后将大大提升业务响应速率。 * 重分布功能DWS 2.0 8.1.1.200及以上集群版本支持。 * 离线调度重分布模式在8.2.0及以上版本将不再支持。 * 只有在扩容之后,集群任务信息为“待重分布”状态时才能手动使用“重分布”功能,其他时段该功能不可使用。 * 在扩容阶段也可以选择重分布模式等高级配置,详情参见设置高级配置。 * 重分布队列的排序依据表的relpage大小进行,为确保relpage大小正确,建议在重分布之前对需要重分布的表执行analyze操作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 下发重分布 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RedistributionReq} redistributionReq **参数解释**: 重分布请求。 **约束限制**: 重分布模式参数必传,建议offline。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeRedistributionCluster(executeRedistributionClusterRequest?: ExecuteRedistributionClusterRequest): Promise; /** * 随着客户业务的发展,磁盘空间往往最先出现资源瓶颈,在其他资源尚且充足的情况下,通过磁盘扩容可快速缓解存储资源瓶颈现象,操作过程中无需暂停业务,并且不会造成CPU、内存等资源浪费。 * **约束限制**: * 磁盘扩容功能仅8.1.1.203及以上版本支持,并且创建集群规格需要为云数仓SSD云盘或实时数仓类型。 * 按需+折扣套餐包消费模式下,存储扩容后超出折扣套餐包部分将按需收费。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 磁盘扩容 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ExpandInstanceStorage} payload **参数解释**: 磁盘扩容后单节点有效存储容量(GB / 节点)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ expandInstanceStorage(expandInstanceStorageRequest?: ExpandInstanceStorageRequest): Promise; /** * 导出数据库用户/角色,接口返回的是输出流,xlsx文件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 导出数据库用户/角色 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10000 * @param {string} [type] **参数解释**: 类型。 **约束限制**: 不涉及。 **取值范围**: ROLE:导出角色 USER:导出用户 **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ exportDatabaseUsers(exportDatabaseUsersRequest?: ExportDatabaseUsersRequest): Promise; /** * 导出数据库用户/角色的权限列表,接口返回的是输出流,xlsx文件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 导出数据库用户/角色的权限 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 数据库用户/角色名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10000 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ exportUserAuthority(exportUserAuthorityRequest?: ExportUserAuthorityRequest): Promise; /** * 查询租户白名单。仅返回当前用户支持的灰度特性,集群列表等基础功能不受白名单控制,所有用户均可以使用。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询租户白名单 * @param {number} [limit] **参数解释**: 分页查询,每页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActions(listActionsRequest?: ListActionsRequest): Promise; /** * 查询告警配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询告警配置 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlarmConfigs(listAlarmConfigsRequest?: ListAlarmConfigsRequest): Promise; /** * 查询告警详情列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询告警详情列表 * @param {string} [timeZone] **参数解释**: 时区信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: GMT+08:00 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10。 * @param {number} [from] **参数解释**: 开始UTC时间,单位精确到毫秒。 **取值范围**: 不涉及。 * @param {number} [to] **参数解释**: 结束UTC时间,单位精确到毫秒。 **取值范围**: 不涉及。 * @param {number} [recentDay] **参数解释**: 查询前N天到当前时间范围内的告警。 **约束限制**: 不涉及。 **取值范围**: 大于0。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlarmDetail(listAlarmDetailRequest?: ListAlarmDetailRequest): Promise; /** * 查询告警统计。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询告警统计列表 * @param {string} [timeZone] **参数解释**: 时区信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: GMT+08:00 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlarmStatistic(listAlarmStatisticRequest?: ListAlarmStatisticRequest): Promise; /** * 查询订阅告警。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询告警订阅列表 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlarmSubs(listAlarmSubsRequest?: ListAlarmSubsRequest): Promise; /** * 查询审计日志转储执行记录。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询审计日志转储执行记录 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLog(listAuditLogRequest?: ListAuditLogRequest): Promise; /** * 在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询可用区列表 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAvailabilityZones(listAvailabilityZonesRequest?: ListAvailabilityZonesRequest): Promise; /** * 该接口用于查询可用的容灾集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询可用容灾集群列表 * @param {string} primaryClusterId **参数解释**: 主集群ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} standbyAzCode **参数解释**: 备集群所在AZ。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [primarySpecId] **参数解释**: 主集群规格ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [primaryClusterDnNum] **参数解释**: 主集群DN数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [standbyRegion] **参数解释**: 备集群所在局点。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [standbyProjectId] **参数解释**: 备集群项目ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [drType] **参数解释**: 容灾类型。 **约束限制**: 不涉及。 **取值范围**: - az,跨az容灾。 - region,跨region容灾。 **默认取值**: 不涉及。 * @param {string} [datastoreType] **参数解释**: 数仓类型。 **约束限制**: 不涉及。 **取值范围**: - dws,dws存算一体。 - dws3.0,dws存算分离。 - hybrid,dws实时数仓。 **默认取值**: 不涉及。 * @param {string} [datastoreVersion] **参数解释**: 数仓版本。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAvailableDisasterClusters(listAvailableDisasterClustersRequest?: ListAvailableDisasterClustersRequest): Promise; /** * 查询集群任务详情。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群任务详情 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} actionName **参数解释**: 任务名称。当前仅部分任务在操作中阶段支持查看任务详情。 **约束限制**: 不涉及。 **取值范围**: GROWING、RESIZE_FAILURE、RESTORING、RESTORING_FAILED、SNAPSHOTTING、SNAPSHOTTING_FAILED、FINE_GRAINED_RESTORING、FINE_GRAINED_RESTORING_FAILED **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterActions(listClusterActionsRequest?: ListClusterActionsRequest): Promise; /** * 查询集群的CN节点列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群CN节点 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterCn(listClusterCnRequest?: ListClusterCnRequest): Promise; /** * 查询集群所关联的参数组。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群参数组 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterConfigurations(listClusterConfigurationsRequest?: ListClusterConfigurationsRequest): Promise; /** * 查询集群所关联的参数组。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群参数配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} configurationId **参数解释**: 参数组ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterConfigurationsParameter(listClusterConfigurationsParameterRequest?: ListClusterConfigurationsParameterRequest): Promise; /** * 查询集群详情。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群详情 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterDetails(listClusterDetailsRequest?: ListClusterDetailsRequest): Promise; /** * 查询连接信息。包括公网域名、内网域名等。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询连接信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterEndpoints(listClusterEndpointsRequest?: ListClusterEndpointsRequest): Promise; /** * 查询节点列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询节点列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {Array} [nodeIds] **参数解释**: 节点ID列表。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: null * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页查询,每页显示的条目数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100 * @param {string} [filterBy] **参数解释**: 过滤字段。 **约束限制**: 不涉及。 **取值范围**: instCreateType:根据资源状态过滤 status:根据节点状态过滤 **默认取值**: null * @param {string} [filter] **参数解释**: 过滤字段内容。 **约束限制**: 不涉及。 **取值范围**: 当根据资源状态过滤时,可选如下值: - ALL:全部 - INST:已使用 - NODE:空闲 当根据节点状态过滤时,可选如下值: - ALL:全部 - CREATING:创建中 - FREE:空闲可用 - ACTIVE:可用 - FAILED:不可用 - UNKNOWN:未知 - CREATE_FAILED:创建失败 - DELETING:删除中 - DELETE_FAILED:删除失败 **默认取值**: null * @param {string} [orderBy] **参数解释**: 排序字段。默认无序返回。 **约束限制**: 不涉及。 **取值范围**: name:根据名称过滤 **默认取值**: null * @param {string} [order] **参数解释**: 排序:升序/降序。 **约束限制**: 不涉及。 **取值范围**: asc:升序 desc:降序 **默认取值**: null * @param {string} [deleted] **参数解释**: 是否被删除,字段已废弃。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterNodes(listClusterNodesRequest?: ListClusterNodesRequest): Promise; /** * 查询合适的缩容数。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询合适的缩容数 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [logicalClusterName] **参数解释**: 逻辑集群名,填写该参数,表示获取逻辑集群合适的缩容节点个数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterScaleInNumbers(listClusterScaleInNumbersRequest?: ListClusterScaleInNumbersRequest): Promise; /** * 查询集群安全参数配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群安全参数配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} configurationId **参数解释**: 参数组ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页查询,每页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterSecurityConfigurations(listClusterSecurityConfigurationsRequest?: ListClusterSecurityConfigurationsRequest): Promise; /** * 该接口用于查询集群快照列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群快照列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [sortKey] **参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [sortDir] **参数解释**: 排序规则。 **约束限制**: 不涉及。 **取值范围**: asc:升序。 desc:降序。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterSnapshots(listClusterSnapshotsRequest?: ListClusterSnapshotsRequest): Promise; /** * 查询指定集群的标签信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群标签 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterTags(listClusterTagsRequest?: ListClusterTagsRequest): Promise; /** * 查询资源管理开关状态。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询资源管理开关状态 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusterWorkload(listClusterWorkloadRequest?: ListClusterWorkloadRequest): Promise; /** * 查询集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群列表 * @param {string} [enterpriseProjectId] **参数解释**: 企业项目ID。查询所有绑定企业项目的集群,则值为all_granted_eps。 **约束限制**: 不涉及。 **取值范围**: all_granted_eps:所有企业项目。 0:表示默认企业项目“default”的ID。 其它:过滤对应企业项目下的数据。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listClusters(listClustersRequest?: ListClustersRequest): Promise; /** * 查询参数修改审计记录。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询参数修改审计记录 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [actionTime] **参数解释**: 任务时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [filterBy] **参数解释**: 过滤配置信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [filter] **参数解释**: 过滤内容。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listConfigurationsAuditRecords(listConfigurationsAuditRecordsRequest?: ListConfigurationsAuditRecordsRequest): Promise; /** * 该接口用于查询数据源。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询数据源 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDataSource(listDataSourceRequest?: ListDataSourceRequest): Promise; /** * 查询数据库对象。 * **约束限制**: * 集群guestAgent插件大于等于8.2.1.1开始支持。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询数据库对象 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} type **参数解释**: 对象类型。 **约束限制**: 不涉及。 **取值范围**: DATABASE、SCHEMA、TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE、NODEGROUP **默认取值**: null * @param {string} [name] **参数解释**: 对象名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [database] **参数解释**: 数据库名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [schema] **参数解释**: 模式名。 **约束限制**: 当对象类型为TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE时必选。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [table] **参数解释**: 表名。 **约束限制**: 对象类型为COLUMN时必选。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 1000 * @param {string} [isFineGrainedDisaster] **参数解释**: 是否细粒度容灾。 **约束限制**: 不涉及。 **取值范围**: true|false **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDatabaseObjects(listDatabaseObjectsRequest?: ListDatabaseObjectsRequest): Promise; /** * 查询用户/角色拥有权限。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询用户/角色拥有权限 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 用户名、角色名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDatabaseUserAuthorities(listDatabaseUserAuthoritiesRequest?: ListDatabaseUserAuthoritiesRequest): Promise; /** * 查询用户所属角色。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询用户所属角色 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 用户名/角色名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [queryAll] **参数解释**: 是否查询所有角色,包含系统角色。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDatabaseUserRoles(listDatabaseUserRolesRequest?: ListDatabaseUserRolesRequest): Promise; /** * 查询所有数据库用户/角色。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询所有数据库用户/角色 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 1000。 * @param {string} [type] **参数解释**: 查询角色还是用户。 **约束限制**: 不涉及。 **取值范围**: ROLE:表示查询所有角色。 USER:表示查询所有用户。 **默认取值**: 不涉及。 * @param {string} [userType] **参数解释**: 用户类型,COMMON、IAM或者OneAccess。 **约束限制**: 不涉及。 **取值范围**: COMMON:表示普通数据库用户。 IAM:表示IAM同步的数据库用户。 OneAccess: 表示OneAccess用户。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDatabaseUsers(listDatabaseUsersRequest?: ListDatabaseUsersRequest): Promise; /** * 该接口用于查询容灾列表。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询容灾列表 * @param {string} [primaryClusterId] **参数解释**: 主集群ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [standbyClusterId] **参数解释**: 备集群ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [id] **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDisasterRecover(listDisasterRecoverRequest?: ListDisasterRecoverRequest): Promise; /** * 获取专属分布式存储池列表,只包括用户开通的SSD专属资源池信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询专属分布式存储池列表 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDssPools(listDssPoolsRequest?: ListDssPoolsRequest): Promise; /** * 查询集群可以关联的ELB列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取集群可绑定的ELB列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listElbs(listElbsRequest?: ListElbsRequest): Promise; /** * 查询可用弹性负载均衡列表,该接口是对ELB提供的openapi的封装,针对DWS进行了部分筛选,且不含已经被其它dws集群绑定的弹性负载均衡器。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询可用弹性负载均衡列表 * @param {string} [vpcId] **参数解释**: 虚拟私有云ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [subnetId] **参数解释**: 子网ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listElbsInfo(listElbsInfoRequest?: ListElbsInfoRequest): Promise; /** * 查询所有集群的企业项目信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询所有集群的企业项目信息 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页大小,默认10。 **约束限制**: 不涉及。 **取值范围**: 有效值大于等于1。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEps(listEpsRequest?: ListEpsRequest): Promise; /** * 查询事件配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询事件配置 * @param {string} [specName] **参数解释**: 事件配置名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [category] **参数解释**: 事件类别。 **约束限制**: 不涉及。 **取值范围**: - management:管理。 - monitor:监控。 - security:安全。 **默认取值**: 不涉及。 * @param {string} [severity] **参数解释**: 事件级别。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [sourceType] **参数解释**: 事件源类别。 **约束限制**: 不涉及。 **取值范围**: - cluster:集群。 - backup:快照。 - disaster-recovery:容灾。 - data.migration:数据迁移。 - dws.ingestion:DwsIngestion。 **默认取值**: 不涉及。 * @param {string} [tag] **参数解释**: 事件标签。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventSpecs(listEventSpecsRequest?: ListEventSpecsRequest): Promise; /** * 查询订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询订阅事件 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventSubs(listEventSubsRequest?: ListEventSubsRequest): Promise; /** * 查询事件列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询事件列表 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents(listEventsRequest?: ListEventsRequest): Promise; /** * 查询磁盘信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询磁盘信息 * @param {string} [clusterId] **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [instanceId] **参数解释**: 实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [instanceName] **参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHostDisk(listHostDiskRequest?: ListHostDiskRequest): Promise; /** * 获取网卡状态。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取网卡状态 * @param {string} [clusterId] **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [instanceName] **参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHostNet(listHostNetRequest?: ListHostNetRequest): Promise; /** * 查询主机概览。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询主机概览 * @param {number} limit **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {number} offset **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {string} [clusterId] **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [instanceName] **参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHostOverview(listHostOverviewRequest?: ListHostOverviewRequest): Promise; /** * 查询任务进度信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询任务进度 * @param {string} jobId **参数解释**: 任务ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listJobDetails(listJobDetailsRequest?: ListJobDetailsRequest): Promise; /** * 查询逻辑集群定时增删计划。定时增删计划业务支持最多保存20条数据,接口最大返回20条数据。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询逻辑集群定时增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLogicalClusterPlans(listLogicalClusterPlansRequest?: ListLogicalClusterPlansRequest): Promise; /** * 查询逻辑集群可用环节点信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询逻辑集群可用环节点信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLogicalClusterRings(listLogicalClusterRingsRequest?: ListLogicalClusterRingsRequest): Promise; /** * 查询逻辑集群任务信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询逻辑集群任务信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {string} [logicalClusterName] **参数解释**: 集群名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [type] **参数解释**: 类型。 **取值范围**: - Switch:物理集群转逻辑集群。 - Create:创建。 - Expand:从弹性池中扩容。 - Restart:重启。 - Delete:删除。 - Shrink:缩容到弹性池中。 - Grow:外部扩容 - Start:开机 - Stop:停机 - ShrinkElasticGroup:从弹性池中缩容。 - elasticExpand:自动弹性扩容。 * @param {string} [orderBy] **参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [order] **参数解释**: 排序:升序/降序。 **约束限制**: 不涉及。 **取值范围**: ASC:表示按升序排序。 DESC:表示按降序排序。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLogicalClusterTasks(listLogicalClusterTasksRequest?: ListLogicalClusterTasksRequest): Promise; /** * 查询逻辑集群磁盘信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询逻辑集群磁盘信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLogicalClusterVolumes(listLogicalClusterVolumesRequest?: ListLogicalClusterVolumesRequest): Promise; /** * 查询逻辑集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询逻辑集群列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLogicalClusters(listLogicalClustersRequest?: ListLogicalClustersRequest): Promise; /** * 获取LTS日志列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取LTS日志列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listLtsLogs(listLtsLogsRequest?: ListLtsLogsRequest): Promise; /** * 查询集群使用的指标列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群使用的指标列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} offset **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} limit **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0,最大1000。 **默认取值**: 不限制。 * @param {string} [orderBy] **参数解释**: 排序字段,固定取值。 **约束限制**: 不涉及。 **取值范围**: create_time:按创建时间排序。 **默认取值**: 不涉及。 * @param {string} [sortBy] **参数解释**: 正序还是倒序,固定取值。 **约束限制**: 不涉及。 **取值范围**: asc:正序。 desc:倒序。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listMetrics(listMetricsRequest?: ListMetricsRequest): Promise; /** * 获取指定指标相关采集数据。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取指定指标相关采集数据 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} metricName **参数解释**: 指标名称。名称可选值请参见[获取自定义指标列表](dws_02_00069.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} offset **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} limit **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0,最大1000。 **默认取值**: 不限制。 * @param {number} from **参数解释**: 采集开始时间,13位时间戳。 **约束限制**: 不涉及。 **取值范围**: 13位时间戳。 **默认取值**: 不涉及。 * @param {number} to **参数解释**: 采集结束时间,13位时间戳。 **约束限制**: 开始时间到结束时间最多不超过一天。 **取值范围**: 13位时间戳。 **默认取值**: 不涉及。 * @param {string} [orderBy] **参数解释**: 排序字段,固定取值。 **约束限制**: 不涉及。 **取值范围**: ctime:采集时间。 **默认取值**: 不涉及。 * @param {string} [sortBy] **参数解释**: 描述信息请求。 **约束限制**: 正序还是倒序,固定取值。 **取值范围**: asc:正序。 desc:倒序。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listMetricsData(listMetricsDataRequest?: ListMetricsDataRequest): Promise; /** * 查询历史监控数据。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询历史监控数据 * @param {string} from **参数解释**: 开始时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} to **参数解释**: 结束时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} indicatorName **参数解释**: 指标名称。查询性能监控指标接口返回值中的indicator_name。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} dim0 **参数解释**: 第一层级。根据indicator_name传入不同参数,详见请求示例。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [_function] **参数解释**: 取值方法。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [period] **参数解释**: 取值周期。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [dim1] **参数解释**: 第二层级。根据indicator_name传入不同参数,详见请求示例。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listMonitorIndicatorData(listMonitorIndicatorDataRequest?: ListMonitorIndicatorDataRequest): Promise; /** * 查询性能监控指标。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询性能监控指标 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listMonitorIndicators(listMonitorIndicatorsRequest?: ListMonitorIndicatorsRequest): Promise; /** * 该接口用于查询所有DWS服务支持的规格信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询规格信息 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listNodeTypes(listNodeTypesRequest?: ListNodeTypesRequest): Promise; /** * 查询运维任务列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询运维任务列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [timeZone] **参数解释**: 时区偏移量,默认为UTC时间(0偏移),即+0000。 **约束限制**: 不涉及。 **取值范围**: -2359~+2359 **默认取值**: +0000 * @param {string} [type] **参数解释**: 任务类型。 **约束限制**: 仅支持两种值。 **取值范围**: Date:单次型任务; Window:周期型任务; **默认取值**: 无。 * @param {number} [limit] **参数解释**: 分页查询,每页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOperationalTask(listOperationalTaskRequest?: ListOperationalTaskRequest): Promise; /** * 获取运维任务执行信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取运维任务执行信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [category] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: VacuumFull **默认取值**: VacuumFull * @param {string} [taskId] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [status] **参数解释**: 状态。 **约束限制**: 不涉及。 **取值范围**: running、waiting、finished、canceled **默认取值**: 不涉及。 * @param {string} [startTime] **参数解释**: 开始日期。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [endTime] **参数解释**: 结束日期。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页查询,每页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOperationalTaskDetail(listOperationalTaskDetailRequest?: ListOperationalTaskDetailRequest): Promise; /** * 查看计划执行日志。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查看计划执行日志 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPlanExecLogs(listPlanExecLogsRequest?: ListPlanExecLogsRequest): Promise; /** * 该接口用于查询实时SQL列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询SQL列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ListQueriesRequestBody} listQueriesRequestBody **参数解释**: 查询参数请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listQueries(listQueriesRequest?: ListQueriesRequest): Promise; /** * 查询单租户在DWS服务下的配额信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询配额 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listQuotas(listQuotasRequest?: ListQuotasRequest): Promise; /** * 获取待重分布表所属模式信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取待重分布表所属模式信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} dbName **参数解释**: 分页偏移量。 **约束限制**: 不涉及。 **取值范围**: ^[a-zA-Z0-9\\u4e00-\\u9fa5_.+= :@!#-]{0,255}$ **默认取值**: null * @param {number} [limit] **参数解释**: 分页条数。 **约束限制**: 不涉及。 **取值范围**: 有效值:大于等于1。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 有效值:大于等于0。 **默认取值**: 0 * @param {string} [schemaName] **参数解释**: schema名称。 **约束限制**: 不涉及。 **取值范围**: ^[a-zA-Z0-9\\u4e00-\\u9fa5_.+= ,:@!#-]{0,2048}$ **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRedistributionSchema(listRedistributionSchemaRequest?: ListRedistributionSchemaRequest): Promise; /** * 使用标签查询集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 使用标签查询集群 * @param {TagFilterRequestBody} listResourceByTagRequestBody **参数解释**: 标签列表请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {string} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listResourceByTag(listResourceByTagRequest?: ListResourceByTagRequest): Promise; /** * 查询集群模式空间信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群模式空间信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} databaseName **参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [sortKey] **参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: schemaName:模式名称排序。 **默认取值**: 不涉及。 * @param {string} [sortDir] **参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: ASC:表示按升序排序。 DESC:表示按降序排序。 **默认取值**: 不涉及。 * @param {string} [keywords] **参数解释**: 查询关键词。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSchemas(listSchemasRequest?: ListSchemasRequest): Promise; /** * 该接口用于使用快照ID查询快照详情。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询快照详情 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSnapshotDetails(listSnapshotDetailsRequest?: ListSnapshotDetailsRequest): Promise; /** * 根据快照ID查询规格信息。支持用来查询某个快照的规格信息,或者快照可恢复到的目标规格信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 根据快照ID查询规格信息 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {'snapshot' | 'restore'} [type] **参数解释**: 过滤快照规格类型,用于区分仅查询快照原始规格,还是包含可恢复的规格。 **约束限制**: 不涉及。 **取值范围**: snapshot:仅查询快照的规格信息 restore:同时查询恢复快照可用的规格信息 **默认取值**: snapshot * @param {string} [azCode] **参数解释**: 恢复时的目标可用区,用以过滤目标可用区下可恢复的规格。 恢复3az集群时需传递3个可用区编码,英文逗号分割(无空格)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 快照原始集群所在可用区。 * @param {boolean} [fineGrainedRestore] **参数解释**: 是否是细粒度备份恢复,用以过滤恢复时的可用规格。 **约束限制**: 不涉及。 **取值范围**: true|false **默认取值**: false * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSnapshotFlavorInfo(listSnapshotFlavorInfoRequest?: ListSnapshotFlavorInfoRequest): Promise; /** * 查询快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询快照策略 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSnapshotPolicy(listSnapshotPolicyRequest?: ListSnapshotPolicyRequest): Promise; /** * 查询快照统计信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询快照统计信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSnapshotStatistics(listSnapshotStatisticsRequest?: ListSnapshotStatisticsRequest): Promise; /** * 该接口用于查询快照列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询快照列表 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSnapshots(listSnapshotsRequest?: ListSnapshotsRequest): Promise; /** * 查询当前可用资源数量,其中包括“可用集群和总集群(个)”、“可用节点和总节点(个)”、“总容量(GB)”。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询当前可用资源数 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listStatistics(listStatisticsRequest?: ListStatisticsRequest): Promise; /** * 查询身份源同步记录。 * **约束限制**: * 该功能在页面默认未开放给所有用户,当特性开启且有同步记录时查询才有结果。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询身份源同步记录 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 1000 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listSyncRecords(listSyncRecordsRequest?: ListSyncRecordsRequest): Promise; /** * 该接口用于查询表倾斜或脏页率信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询表倾斜或脏页率信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} rateType **参数解释**: 查询类型,固定取值。 **约束限制**: 不涉及。 **取值范围**: skew:表倾斜率。 dirtyPage:表脏页率。 **默认取值**: 不涉及。 * @param {number} offset **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} limit **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 不限制。 * @param {string} [orderBy] **参数解释**: 排序字段,固定取值。 **约束限制**: 不涉及。 **取值范围**: 值为null或空字符串时表示按默认排序处理。 table_size:表大小。 rate:表倾斜率或脏页率。 **默认取值**: 不涉及。 * @param {string} [sortBy] **参数解释**: 正序还是倒序排序,固定取值。 **约束限制**: 不涉及。 **取值范围**: ASC:正序。 DESC:倒序。 **默认取值**: 不涉及。 * @param {string} [filter] **参数解释**: 查询条件,固定取值。 **约束限制**: 不涉及。 **取值范围**: 值为空字符串或null时表示不过滤。 db_name:数据库名称。 schema_name:schema名称。 table_name:表名。 table_owner:所属用户。 **默认取值**: 不涉及。 * @param {string} [value] **参数解释**: 过滤条件的值。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTablesStatistic(listTablesStatisticRequest?: ListTablesStatisticRequest): Promise; /** * 查询项目标签列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询项目标签 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTags(listTagsRequest?: ListTagsRequest): Promise; /** * 查询指定集群的企业项目信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群企业项目信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页大小,默认10。 **约束限制**: 不涉及。 **取值范围**: 有效值大于等于1。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTagsForResource(listTagsForResourceRequest?: ListTagsForResourceRequest): Promise; /** * 查询支持变更的目标规格列表。接口返回的规格列表最多为20条。 * **约束限制**: * 无cluster_id时:可查询所有支持转换的目标规格,但是由于配额等原因,部分规格可能存在售罄无法使用。 * 存在cluster_id时:会自动关联此集群所在可用区下的配额充足的目标规格。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询支持变更的目标规格列表 * @param {string} flavorId **参数解释**: 集群当前的规格ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [clusterId] **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 此参数不传时,可查询所有支持转换的目标规格,但是由于配额等原因,部分规格可能存在售罄无法使用。 传递集群ID时会自动关联此集群所在可用区下的配额充足的目标规格。 **取值范围**: 不涉及。 **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTargetFlavors(listTargetFlavorsRequest?: ListTargetFlavorsRequest): Promise; /** * 查询集群拓扑ring环节点信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群拓扑ring环节点信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTopoRings(listTopoRingsRequest?: ListTopoRingsRequest): Promise; /** * 获取集群可升级的目标版本。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取集群可升级的目标版本 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {'cluster' | 'hotpatch'} [type] **参数解释**: 升级类型。 **约束限制**: 不涉及。 **取值范围**: cluster:集群升级。 hotpatch:热补丁升级。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUpdatableVersion(listUpdatableVersionRequest?: ListUpdatableVersionRequest): Promise; /** * 通过此接口获取当前集群升级记录。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取集群升级记录 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUpdateRecord(listUpdateRecordRequest?: ListUpdateRecordRequest): Promise; /** * 查询集群中所有资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询资源管理计划列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [logicalClusterName] **参数解释**: 逻辑集群名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWorkloadPlans(listWorkloadPlansRequest?: ListWorkloadPlansRequest): Promise; /** * 查询资源池。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询资源池 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} [logicalClusterName] **参数解释**: 逻辑集群名称。逻辑集群模式下该字段必填。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWorkloadQueue(listWorkloadQueueRequest?: ListWorkloadQueueRequest): Promise; /** * 获得资源池的绑定用户列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获得资源池的绑定用户列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 大于0。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWorkloadQueueUsers(listWorkloadQueueUsersRequest?: ListWorkloadQueueUsersRequest): Promise; /** * 查询当前集群的异常规则列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询当前集群的异常规则列表 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0 * @param {number} [limit] **参数解释**: 分页单页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10 * @param {string} [ruleName] **参数解释**: 分页单页大小。 **约束限制**: 异常规则名称。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [queueName] **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWorkloadRules(listWorkloadRulesRequest?: ListWorkloadRulesRequest): Promise; /** * 修改集群名称。 * **约束限制**: * guestAgent插件版本8.3.1及以上才支持。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群名称 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ClusterNameReq} [modifyClusterNameRequestBody] **参数解释**: 修改集群名称请求。 **约束限制**: guestAgent插件版本8.3.1及以上才支持。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ modifyClusterName(modifyClusterNameRequest?: ModifyClusterNameRequest): Promise; /** * 修改集群时区。该操作会将操作系统及数据库的时区都进行修改。 * **约束限制**: * 修改时区依赖集群安装的guestAgent插件,插件版本在8.3.0.202及以上支持。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群时区 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ClusterTimezoneReq} modifyClusterTimezoneRequestBody **参数解释**: 修改时区请求体。 **约束限制**: 非空。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ modifyClusterTimezone(modifyClusterTimezoneRequest?: ModifyClusterTimezoneRequest): Promise; /** * 该接口用于停止容灾操作。 * 容灾状态为“运行中”和“停止失败”时可以执行停止容灾操作。 * 停止后,将无法进行数据同步,请谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 停止容灾 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ pauseDisasterRecovery(pauseDisasterRecoveryRequest?: PauseDisasterRecoveryRequest): Promise; /** * 批量暂停调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量暂停调度任务 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {OperationalTaskIdListRequest} [pauseOperationalTaskRequestBody] **参数解释**: 恢复调度任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ pauseOperationalTask(pauseOperationalTaskRequest?: PauseOperationalTaskRequest): Promise; /** * 同步当前集群运维任务状态。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 同步当前集群运维任务状态 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ refreshOperationalTask(refreshOperationalTaskRequest?: RefreshOperationalTaskRequest): Promise; /** * 重置集群管理员密码。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 重置密码 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ResetPasswordRequestBody} resetPasswordRequestBody **参数解释**: 重置密码的请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetPassword(resetPasswordRequest?: ResetPasswordRequest): Promise; /** * 扩容集群,亦可用于添加空闲节点。默认情况下:表示执行扩容操作。 * 通过create_node_only字段用以区分当前是**扩容**、**添加空闲节点**: * - true:仅添加空闲节点 * - false:表示执行扩容操作 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 扩容集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ResizeClusterRequestBody} [resizeClusterRequestBody] **参数解释**: 扩容/添加空闲节点操作请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ resizeCluster(resizeClusterRequest?: ResizeClusterRequest): Promise; /** * 从空闲节点扩容。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 从空闲节点扩容 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ResizeClusterWithExistedNodesRequestBody} resizeClusterWithExistedNodesRequestBody **参数解释**: 请求信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ resizeClusterWithExistedNodes(resizeClusterWithExistedNodesRequest?: ResizeClusterWithExistedNodesRequest): Promise; /** * 下发扩容配置文件,完成扩容准备工作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群扩容前准备 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ExpandPreparationRequestBody} resizePreparationRequestBody **参数解释**: 扩容/添加空闲节点操作请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ resizePreparation(resizePreparationRequest?: ResizePreparationRequest): Promise; /** * 重启集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 重启集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RestartClusterRequestBody} restartClusterRequestBody **参数解释**: 重启集群的请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restartCluster(restartClusterRequest?: RestartClusterRequest): Promise; /** * 重启逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 重启逻辑集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} logicalClusterId **参数解释**: 待重启的逻辑集群的ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restartLogicalCluster(restartLogicalClusterRequest?: RestartLogicalClusterRequest): Promise; /** * 该接口用于使用快照恢复集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 恢复集群 * @param {string} snapshotId **参数解释**: 待恢复的快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RestoreClusterRequestBody} restoreClusterRequestBody **参数解释**: 恢复集群请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreCluster(restoreClusterRequest?: RestoreClusterRequest): Promise; /** * 该接口用于主备集群进行异常切换,备集群恢复可用状态后进行的容灾恢复操作。 * 容灾恢复仅8.1.2及以上集群版本支持。 * 容灾恢复会删除灾备集群数据与新生产集群重新建立容灾关系。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 恢复容灾 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreDisaster(restoreDisasterRequest?: RestoreDisasterRequest): Promise; /** * 恢复暂停状态下的重分布操作,仅支持DWS2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 恢复重分布 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreRedistribution(restoreRedistributionRequest?: RestoreRedistributionRequest): Promise; /** * 该接口用于恢复表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 恢复表 * @param {string} snapshotId **参数解释**: 快照ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RestoreTableRequestBody} restoreTableRequestBody **参数解释**: 恢复表请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreTable(restoreTableRequest?: RestoreTableRequest): Promise; /** * 批量恢复调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 批量恢复调度任务 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {OperationalTaskIdListRequest} [resumeOperationalTaskRequestBody] **参数解释**: 恢复调度任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ resumeOperationalTask(resumeOperationalTaskRequest?: ResumeOperationalTaskRequest): Promise; /** * 轮转加密集群密钥。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 轮转密钥 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RotateKeyRequestBody} [rotateKeyRequestBody] **参数解释**: 轮转密钥对象。当不传对象时轮转集群加密密钥;当对象传入KMS密钥ID时,轮转集群主密钥。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ rotateKey(rotateKeyRequest?: RotateKeyRequest): Promise; /** * 修改集群描述信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群描述信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ClusterDescriptionInfo} saveClusterDescriptionInfoRequestBody **参数解释**: 描述信息请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [namespace] **参数解释**: 命名空间。 **约束限制**: 固定值DWS,不填也是DWS。 **取值范围**: DWS **默认取值**: DWS * @param {*} [options] Override http request option. * @throws {RequiredError} */ saveClusterDescriptionInfo(saveClusterDescriptionInfoRequest?: SaveClusterDescriptionInfoRequest): Promise; /** * 更新重分布表优先级。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新重分布表优先级 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RedisPriorityConf} setRedistributionPriorityRequestBody **参数解释**: 更新重分布配置请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setRedistributionPriority(setRedistributionPriorityRequest?: SetRedistributionPriorityRequest): Promise; /** * 获取集群加密信息。非加密集群不支持该功能,返回信息为空。 * **约束限制**: * 转加密集群起始支持版本:8.0.0 * 转加密集群guestAgent起始支持版本:8.3.0.200 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取集群加密信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusterEncryptInfo(showClusterEncryptInfoRequest?: ShowClusterEncryptInfoRequest): Promise; /** * 查询集群使用的规格详情。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群规格详情 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [namespace] **参数解释**: 命名空间,一般只填DWS。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusterFlavor(showClusterFlavorRequest?: ShowClusterFlavorRequest): Promise; /** * 该接口用于查看当前集群的重分布模式、重分布进度、数据表重分布详情等监控信息。 * 查看重分布详情功能DWS 2.0 8.1.1.200及以上集群版本支持,其中数据表重分布进度详情仅DWS 2.0 8.2.1及以上集群版本支持。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询重分布详情 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {number} [limit] **参数解释**: 分页查询,每页大小。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10 * @param {number} [offset] **参数解释**: 分页偏移量,从0开始,页数减1。 **约束限制**: 不涉及。 **取值范围**: 大于等于0 **默认取值**: 0 * @param {string} [dbName] **参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: null * @param {string} [tableName] **参数解释**: 表名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: null * @param {string} [type] **参数解释**: 类型,取值来自public.pgxc_redistb表的redistributed字段。多个可用逗号分割。 **约束限制**: 不涉及。 **取值范围**: i:重分布中; y:已完成; n:未开始; **默认取值**: null,即不过滤。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusterRedistribution(showClusterRedistributionRequest?: ShowClusterRedistributionRequest): Promise; /** * 此接口可用于查看磁盘扩容操作时支持的扩容范围。 * **约束限制**: * 磁盘扩容功能仅8.1.1.203及以上版本支持,并且创建集群规格需要为云数仓SSD云盘或实时数仓类型。 * 按需+折扣套餐包消费模式下,存储扩容后超出折扣套餐包部分将按需收费。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询磁盘扩容范围 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusterStorageExpandRange(showClusterStorageExpandRangeRequest?: ShowClusterStorageExpandRangeRequest): Promise; /** * 查询租户侧节点磁盘使用情况信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询磁盘使用情况 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusterVolume(showClusterVolumeRequest?: ShowClusterVolumeRequest): Promise; /** * 该接口用于查询并显示集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询集群列表V2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showClusters(showClustersRequest?: ShowClustersRequest): Promise; /** * 查询数据库对象权限。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询数据库对象权限 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} type **参数解释**: 对象类型。 **取值范围**: - DATABASE:数据库。 - SCHEMA:模式。 - TABLE:表。 - VIEW:视图。 - COLUMN:列。 - FUNCTION:函数。 - SEQUENCE:序列。 - NODEGROUP:节点组。 * @param {Array} name **参数解释**: 对象名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} database **参数解释**: 数据库名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [schema] **参数解释**: 模式名,对象类型为TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE时必选。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [table] **参数解释**: 表名,对象类型为COLUMN时必选。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showDatabaseAuthority(showDatabaseAuthorityRequest?: ShowDatabaseAuthorityRequest): Promise; /** * 获得数据库运维账户状态。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获得集群运维账户状态 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showDatabaseOmUserStatus(showDatabaseOmUserStatusRequest?: ShowDatabaseOmUserStatusRequest): Promise; /** * 查询指定用户信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询指定用户信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 用户名/角色名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showDatabaseUser(showDatabaseUserRequest?: ShowDatabaseUserRequest): Promise; /** * 该接口用于查询单个容灾详情。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询容灾详情 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showDisasterDetail(showDisasterDetailRequest?: ShowDisasterDetailRequest): Promise; /** * 该接口用于查询容灾进度详情信息操作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询容灾进度详情 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showDisasterProgress(showDisasterProgressRequest?: ShowDisasterProgressRequest): Promise; /** * 查询单个实例信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询单个实例 * @param {string} instanceId **参数解释**: 实例ID **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showInstance(showInstanceRequest?: ShowInstanceRequest): Promise; /** * 查询调度运维任务公共配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询调度运维任务公共配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showOperationalTaskConfig(showOperationalTaskConfigRequest?: ShowOperationalTaskConfigRequest): Promise; /** * 查询SQL执行信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询SQL执行信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queryId **参数解释**: 查询ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {number} [ctime] **参数解释**: 采集时间,时间戳。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showQueryDetail(showQueryDetailRequest?: ShowQueryDetailRequest): Promise; /** * 获取扩容准备信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获取扩容准备信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showResizePreparation(showResizePreparationRequest?: ShowResizePreparationRequest): Promise; /** * 该接口用于查询资源统计信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询资源统计信息 * @param {string} [namespace] **参数解释**: 命名空间。 **约束限制**: 不涉及。 **取值范围**: 固定值dws。 **默认取值**: dws。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showResourceStatistics(showResourceStatisticsRequest?: ShowResourceStatisticsRequest): Promise; /** * 查询某个资源管理计划详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询某个资源管理计划详细信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showWorkloadPlan(showWorkloadPlanRequest?: ShowWorkloadPlanRequest): Promise; /** * 查询资源管理计划阶段详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 查询资源管理计划阶段详细信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} stageId **参数解释**: 计划阶段ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showWorkloadPlanStage(showWorkloadPlanStageRequest?: ShowWorkloadPlanStageRequest): Promise; /** * 获得资源池详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 获得资源池详细信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} [logicalClusterName] **参数解释**: 逻辑集群名称。非逻辑集群模式下该字段不填,逻辑集群模式下需指定逻辑集群名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ showWorkloadQueue(showWorkloadQueueRequest?: ShowWorkloadQueueRequest): Promise; /** * 该接口用于缩容集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 集群缩容 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ClusterShrinkReq} clusterShrinkReq **参数解释**: 逻辑集群缩容请求体。 **约束限制**: 该值不能为空。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ shrinkCluster(shrinkClusterRequest?: ShrinkClusterRequest): Promise; /** * 逻辑集群缩容,支持从逻辑集群中缩容、从弹性池中缩容。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 逻辑集群缩容 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} logicalClusterId **参数解释**: 逻辑集群id。 **约束限制**: 必须是有效的dws逻辑集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {ShrinkLogicalClusterRequestBody} shrinkLogicalClusterRequestBody **参数解释**: 缩容逻辑集群请求体。 **约束限制**: 必须是非空值。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ shrinkLogicalCluster(shrinkLogicalClusterRequest?: ShrinkLogicalClusterRequest): Promise; /** * 启动集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 启动集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ startCluster(startClusterRequest?: StartClusterRequest): Promise; /** * 该接口用于启动容灾操作。 * 容灾状态为“未启动”、“启动失败”和“已停止”时可以执行启动容灾操作。 * 启动容灾后,生产集群和灾备集群将无法进行恢复、扩容、升级、重启、节点替换、更新密码等操作,此外,灾备集群将无法进行备份操作,请谨慎操作。 * 当容灾启动后,如果灾备集群容灾正常运行且容灾处于恢复状态中,此状态的集群会计费。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 启动容灾 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ startDisasterRecovery(startDisasterRecoveryRequest?: StartDisasterRecoveryRequest): Promise; /** * 启动资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 启动资源管理计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ startWorkloadPlan(startWorkloadPlanRequest?: StartWorkloadPlanRequest): Promise; /** * 停止集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 停止集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ stopCluster(stopClusterRequest?: StopClusterRequest): Promise; /** * 该接口用于暂停运行状态下的重分布操作,重分布暂停状态可设置重分布优先级,修改重分布并发数等操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 暂停重分布 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ stopRedistribution(stopRedistributionRequest?: StopRedistributionRequest): Promise; /** * 停止资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 停止资源管理计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ stopWorkloadPlan(stopWorkloadPlanRequest?: StopWorkloadPlanRequest): Promise; /** * 该接口用于容灾异常场景下进行主备集群切换操作。 * “异常切换”按钮用于容灾异常或者生产集群故障情况下主备切换操作。 * 容灾异常切换仅8.1.2及以上集群版本支持。 * 异常切换会将灾备集群升为主,若原生产集群故障后存在部分数据未同步到灾备集群,那灾备集群升主后将缺少这些数据,切换时请确认容灾最后同步时间,谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 容灾异常切换 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ switchFailoverDisaster(switchFailoverDisasterRequest?: SwitchFailoverDisasterRequest): Promise; /** * 当集群状态为“非均衡”时会出现某些节点主实例增多,从而负载压力较大。这种情况下集群状态是正常的,但整体性能要低于均衡状态。可进行集群主备恢复操作将集群状态切换为“可用”状态。 * **约束限制**: * 集群主备恢复仅8.1.1.202及以上版本支持。 * 集群主备恢复将会短暂中断业务,中断时间根据用户自身业务量所决定,建议用户在业务低峰期执行此操作。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 主备恢复 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ switchOverCluster(switchOverClusterRequest?: SwitchOverClusterRequest): Promise; /** * 切换资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 切换资源管理计划阶段 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadPlanStageIdReq} switchPlanStageRequestBody **参数解释**: 资源管理计划阶段ID信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ switchPlanStage(switchPlanStageRequest?: SwitchPlanStageRequest): Promise; /** * 该接口用于容灾进行灾备切换操作。 * “灾备切换”按钮用于在容灾正常情况下主备倒换操作。 * 容灾状态为“运行中”时可以执行灾备切换操作。 * 灾备切换需要一定时间,在此期间,原生产集群将不可用。 * 不同场景下进行灾备切换,RPO(Recovery Point Object,灾难发生后,系统和数据必须恢复到的时间点要求。)说明如下: * 生产集群在“可用”的状态下,RPO=0。 * 生产集群在“不可用”的状态下,无法保证RPO=0,但数据至少可恢复到生产集群“最近容灾成功时间”。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 灾备切换 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ switchoverDisasterRecovery(switchoverDisasterRecoveryRequest?: SwitchoverDisasterRecoveryRequest): Promise; /** * 同步IAM用户到数据库。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 同步IAM用户到数据库 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ syncIamUsers(syncIamUsersRequest?: SyncIamUsersRequest): Promise; /** * 更新订阅的告警。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新告警订阅 * @param {string} alarmSubId **参数解释**: 告警订阅ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {AlarmSubUpdateRequest} [alarmSubUpdateReq] **参数解释**: 更新告警订阅请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAlarmSub(updateAlarmSubRequest?: UpdateAlarmSubRequest): Promise; /** * 为指定集群修改域名。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群域名 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ModifyClusterDns} dns **参数解释**: 修改域名参数类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateClusterDns(updateClusterDnsRequest?: UpdateClusterDnsRequest): Promise; /** * 修改集群使用的参数配置信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改集群参数配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} configurationId **参数解释**: 参数组ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ConfigurationParameterValues} updateConfigurationRequestBody **参数解释**: 修改集群参数配置。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateConfiguration(updateConfigurationRequest?: UpdateConfigurationRequest): Promise; /** * 该接口用于更新一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新数据源 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} extDataSourceId **参数解释**: 数据源ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {ReconfigureExtDataSourceActionReq} reconfigure **参数解释**: 更新数据源配置请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDataSource(updateDataSourceRequest?: UpdateDataSourceRequest): Promise; /** * 修改数据库对象权限。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改数据库对象权限 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {DatabasePermissionReq} updateDatabaseAuthorityRequestBody **参数解释**: 修改数据库对象权限请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDatabaseAuthority(updateDatabaseAuthorityRequest?: UpdateDatabaseAuthorityRequest): Promise; /** * 修改指定用户信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改指定用户信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} name **参数解释**: 用户名/角色名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {DatabaseUserInfoReq} updateDatabaseUserInfoRequestBody **参数解释**: 修改用户权限请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDatabaseUserInfo(updateDatabaseUserInfoRequest?: UpdateDatabaseUserInfoRequest): Promise; /** * 该接口用于更新容灾配置操作。 * 容灾状态为“未启动”或“已停止”时,可以执行容灾配置修改操作。 * 新的配置在容灾重新启动后生效。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新容灾配置 * @param {string} disasterRecoveryId **参数解释**: 容灾ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {UpdateDisasterRecoveryRequest} [updateDisasterInfoRequestBody] **参数解释**: 更新容灾配置请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDisasterInfo(updateDisasterInfoRequest?: UpdateDisasterInfoRequest): Promise; /** * 更新订阅事件。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新订阅事件 * @param {string} eventSubId **参数解释**: 事件订阅ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {EventSubUpdateRequest} eventSubUpdateReq **参数解释**: 更新订阅事件请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateEventSub(updateEventSubRequest?: UpdateEventSubRequest): Promise; /** * 编辑修改逻辑集群。接口根据提交的请求体判断当前操作是逻辑集群缩容或者扩容。 * 场景一:原始的逻辑集群有6个节点(两个环),提交请求时的请求体只有1个环,此时为逻辑集群缩容。 * 场景二:原始的逻辑集群有6个节点(两个环),提交请求时的请求体中有3个环,此时为逻辑集群扩容。 * 此接口已经不再演进,后续版本中可能会下线,新版本中此接口对应功能已经下线。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 编辑逻辑集群 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} logicalClusterId **参数解释**: 指定待编辑逻辑集群的ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {UpdateLogicalClusterRequestBody} updateLogicalClusterRequestBody **参数解释**: 编辑逻辑集群的请求信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateLogicalCluster(updateLogicalClusterRequest?: UpdateLogicalClusterRequest): Promise; /** * 编辑逻辑集群增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 编辑逻辑集群增删计划 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 逻辑集群增删计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {UpdateLogicalClusterPlanBo} updateLogicalClusterPlanRequestBody **参数解释**: 逻辑集群增删计划请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateLogicalClusterPlan(updateLogicalClusterPlanRequest?: UpdateLogicalClusterPlanRequest): Promise; /** * 您可以根据业务需求,设置可维护时间段。建议将可维护时间段设置在业务低峰期,避免业务在维护过程中异常中断。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改运维时间窗 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {MaintenanceWindow} payload **参数解释**: 设置可维护时间段。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateMaintenanceWindow(updateMaintenanceWindowRequest?: UpdateMaintenanceWindowRequest): Promise; /** * 修改调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改调度任务 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} taskId **参数解释**: 任务ID,可先通过任务列表接口查询所有任务。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {TaskInfo} [updateOperationalTaskRequestBody] **参数解释**: 更新调度任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOperationalTask(updateOperationalTaskRequest?: UpdateOperationalTaskRequest): Promise; /** * 修改调度运维任务公共配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改调度运维任务公共配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {OperationalTaskConfiguration} [updateOperationalTaskConfigRequestBody] **参数解释**: 更新调度任务请求参数。 **约束限制**: 不涉及。 **取值范围**: 非null **默认取值**: null * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateOperationalTaskConfig(updateOperationalTaskConfigRequest?: UpdateOperationalTaskConfigRequest): Promise; /** * 更新资源池基础信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新资源池基础信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {UpdateWorkloadQueueReq} [updateQueueBaseInfoRequestBody] **参数解释**: 更新资源池基础信息请求体。 **约束限制**: 不涉及。 **取值范围**: 非null。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateQueueBaseInfo(updateQueueBaseInfoRequest?: UpdateQueueBaseInfoRequest): Promise; /** * 更新资源池资源配置信息。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新资源池资源配置信息 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} queueName **参数解释**: 资源池名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadQueueRequest} updateQueueResourcesRequestBody **参数解释**: 资源池请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateQueueResources(updateQueueResourcesRequest?: UpdateQueueResourcesRequest): Promise; /** * 更新重分布配置。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新重分布配置 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {RedistributionConf} updateRedistributionConfigurationsRequestBody **参数解释**: 更新重分布配置请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateRedistributionConfigurations(updateRedistributionConfigurationsRequest?: UpdateRedistributionConfigurationsRequest): Promise; /** * 更新模式空间限额。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新模式空间限额 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} databaseName **参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadSchemaReq} updateSchemasRequestBody **参数解释**: 更新模式空间限额请求。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateSchemas(updateSchemasRequest?: UpdateSchemasRequest): Promise; /** * 修改资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 修改资源管理计划阶段 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} planId **参数解释**: 计划ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {string} stageId **参数解释**: 计划阶段ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {WorkloadPlanStageReq} [updateWorkloadPlanStageRequestBody] **参数解释**: 计划阶段信息。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWorkloadPlanStage(updateWorkloadPlanStageRequest?: UpdateWorkloadPlanStageRequest): Promise; /** * 更新异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 更新异常规则 * @param {string} clusterId **参数解释**: 集群ID。获取方法请参见[获取集群ID](dws_02_00068.xml)。 **约束限制**: 必须是有效的dws集群ID。 **取值范围**: 36位UUID。 **默认取值**: 不涉及。 * @param {string} ruleName **参数解释**: 异常规则名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {AddExceptRuleReq} [updateWorkloadRuleRequestBody] **参数解释**: 异常规则配置请求体。 **约束限制**: 名称不能为空。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWorkloadRule(updateWorkloadRuleRequest?: UpdateWorkloadRuleRequest): Promise; /** * 传入schema或table列表数据,返回存在的数据列表 * * Please refer to HUAWEI cloud API Explorer for details. * * @summary 校验schema或table列表数据 * @param {string} clusterId cluster_id * @param {string} database database * @param {ValidateDbDataReq} validateDbDataRequestBody req * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateDbData(validateDbDataRequest?: ValidateDbDataRequest): Promise; } export declare const ParamCreater: () => { /** * 新增调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. */ addOperationalTask(addOperationalTaskRequest?: AddOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加资源池的绑定用户。 * * Please refer to HUAWEI cloud API Explorer for details. */ addQueueUserList(addQueueUserListRequest?: AddQueueUserListRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. */ addWorkloadPlanStage(addWorkloadPlanStageRequest?: AddWorkloadPlanStageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加资源池。 * * Please refer to HUAWEI cloud API Explorer for details. */ addWorkloadQueue(addWorkloadQueueRequest?: AddWorkloadQueueRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. */ addWorkloadRule(addWorkloadRuleRequest?: AddWorkloadRuleRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 集群绑定Eip。 * * Please refer to HUAWEI cloud API Explorer for details. */ associateEip(associateEipRequest?: AssociateEipRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 集群绑定Elb接口。 * * Please refer to HUAWEI cloud API Explorer for details. */ associateElb(associateElbRequest?: AssociateElbRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 当用户集群创建后,实际需要的CN数量会随着业务需求而发生变化,因此管理CN节点功能的实现使用户可以根据实际需求动态调整集群CN数量。 * - 增删CN节点过程中不允许执行其他运维操作。 * - 增删CN节点过程中需要停止业务操作,建议在业务低峰期或业务中断情况下进行操作。 * - 增删CN节点时发生故障且回滚失败,需要用户登录后台进行处理,处理方案请参见《故障排除》中的“集群使用>增删CN回滚失败”章节。 * * Please refer to HUAWEI cloud API Explorer for details. */ batchCreateClusterCn(batchCreateClusterCnRequest?: BatchCreateClusterCnRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 为指定集群批量添加标签。 * * Please refer to HUAWEI cloud API Explorer for details. */ batchCreateResourceTag(batchCreateResourceTagRequest?: BatchCreateResourceTagRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 当用户集群创建后,实际需要的CN数量会随着业务需求而发生变化,因此管理CN节点功能的实现使用户可以根据实际需求动态调整集群CN数量。 * - 增删CN节点过程中不允许执行其他运维操作。 * - 增删CN节点过程中需要停止业务操作,建议在业务低峰期或业务中断情况下进行操作。 * - 增删CN节点时发生故障且回滚失败,需要用户登录后台进行处理,处理方案请参见《故障排除》中的“集群使用>增删CN回滚失败”章节。 * * Please refer to HUAWEI cloud API Explorer for details. */ batchDeleteClusterCn(batchDeleteClusterCnRequest?: BatchDeleteClusterCnRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 为指定集群批量删除标签。 * * Please refer to HUAWEI cloud API Explorer for details. */ batchDeleteResourceTag(batchDeleteResourceTagRequest?: BatchDeleteResourceTagRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 当集群进入只读状态时,无法进行数据库相关操作,用户可以调用该API解除集群的只读状态。触发只读状态可能是由于磁盘使用率过高,因此需要先对集群数据进行清理或扩容再解除只读。 * **约束限制**: * 解除只读支持1.7.2及以上版本。 * * Please refer to HUAWEI cloud API Explorer for details. */ cancelReadonlyCluster(cancelReadonlyClusterRequest?: CancelReadonlyClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于修改集群安全组。 * * Please refer to HUAWEI cloud API Explorer for details. */ changeSecurityGroup(changeSecurityGroupRequest?: ChangeSecurityGroupRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 创建集群前预检查,提前识别子网不足、配额不足等问题,避免发起创建集群请求后创建失败。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkCluster(checkClusterRequest?: CheckClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 缩容前检查,确保缩容前、缩容后均满足正常操作要求。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkClusterShrink(checkClusterShrinkRequest?: CheckClusterShrinkRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询容灾名称是否可用。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkDisasterName(checkDisasterNameRequest?: CheckDisasterNameRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 集群扩容前检查,提前识别子网不足、权限不足等问题导致的扩容失败。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkGrowCluster(checkGrowClusterRequest?: CheckGrowClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 磁盘扩容前检查。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkInstanceStorage(checkInstanceStorageRequest?: CheckInstanceStorageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 检验快照信息,状态码200时校验成功。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkSnapshot(checkSnapshotRequest?: CheckSnapshotRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于用户恢复表名检测。 * * Please refer to HUAWEI cloud API Explorer for details. */ checkTableRestore(checkTableRestoreRequest?: CheckTableRestoreRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 物理集群转换到逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ convertToLogicalCluster(convertToLogicalClusterRequest?: ConvertToLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于复制一个自动快照。 * * Please refer to HUAWEI cloud API Explorer for details. */ copySnapshot(copySnapshotRequest?: CopySnapshotRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 创建订阅告警。 * * Please refer to HUAWEI cloud API Explorer for details. */ createAlarmSub(createAlarmSubRequest?: CreateAlarmSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于创建集群。建议使用新的v2接口,此接口仅保证现有功能,新功能新特性不再新增。 * 集群必须要运行在VPC之内,创建集群前,您需要先创建VPC,并获取VPC和子网的id。 * 该接口为异步接口,创建集群需要10~15分钟。 * * Please refer to HUAWEI cloud API Explorer for details. */ createCluster(createClusterRequest?: CreateClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 为指定集群申请域名。 * * Please refer to HUAWEI cloud API Explorer for details. */ createClusterDns(createClusterDnsRequest?: CreateClusterDnsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于创建集群。 * 集群必须要运行在VPC之内,创建集群前,您需要先创建VPC,并获取VPC和子网的id。 * 该接口为异步接口,创建集群需要10~15分钟。 * * Please refer to HUAWEI cloud API Explorer for details. */ createClusterV2(createClusterV2Request?: CreateClusterV2Request): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 打开或关闭资源管理功能,新集群默认是打开状态。 * * Please refer to HUAWEI cloud API Explorer for details. */ createClusterWorkload(createClusterWorkloadRequest?: CreateClusterWorkloadRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于创建一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. */ createDataSource(createDataSourceRequest?: CreateDataSourceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 创建数据库用户/角色。 * * Please refer to HUAWEI cloud API Explorer for details. */ createDatabaseUser(createDatabaseUserRequest?: CreateDatabaseUserRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于创建集群间容灾。 * 集群处于可用状态或者非均衡状态才可进行创建容灾操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ createDisasterRecovery(createDisasterRecoveryRequest?: CreateDisasterRecoveryRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. */ createEventSub(createEventSubRequest?: CreateEventSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 使用弹性池的节点,创建逻辑集群,此接口已经不再演进,后续版本中可能会下线,新版本中此接口对应功能已经下线。 * * Please refer to HUAWEI cloud API Explorer for details. */ createLogicalCluster(createLogicalClusterRequest?: CreateLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ createLogicalClusterPlan(createLogicalClusterPlanRequest?: CreateLogicalClusterPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于为指定集群创建快照。 * * Please refer to HUAWEI cloud API Explorer for details. */ createSnapshot(createSnapshotRequest?: CreateSnapshotRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于设置快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. */ createSnapshotPolicy(createSnapshotPolicyRequest?: CreateSnapshotPolicyRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 添加资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ createWorkloadPlan(createWorkloadPlanRequest?: CreateWorkloadPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 删除订阅的告警。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteAlarmSub(deleteAlarmSubRequest?: DeleteAlarmSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除集群(旧接口)。集群删除后将释放此集群的所有资源,包括客户数据。为了安全起见,请在删除集群前为这个集群创建快照。 * 删除集群建议优先使用另一个新接口,覆盖此接口所有参数及功能。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteCluster(deleteClusterRequest?: DeleteClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 删除指定集群域名。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteClusterDns(deleteClusterDnsRequest?: DeleteClusterDnsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除空闲节点。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteClusterNodes(deleteClusterNodesRequest?: DeleteClusterNodesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于删除一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteDataSource(deleteDataSourceRequest?: DeleteDataSourceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除数据库用户。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteDatabaseUser(deleteDatabaseUserRequest?: DeleteDatabaseUserRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于删除容灾操作。 * 容灾状态为“创建失败”、“未启动”、“启动失败”、“已停止”、“停止失败”和“异常”时可以执行删除容灾操作。 * 删除后,将无法进行数据同步,且不可恢复,请谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteDisasterRecovery(deleteDisasterRecoveryRequest?: DeleteDisasterRecoveryRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除集群v2接口。集群删除后将释放此集群的所有资源,包括客户数据。为了安全起见,请在删除集群前为这个集群创建快照。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteDwsCluster(deleteDwsClusterRequest?: DeleteDwsClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteEventSub(deleteEventSubRequest?: DeleteEventSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteLogicalCluster(deleteLogicalClusterRequest?: DeleteLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteLogicalClusterPlan(deleteLogicalClusterPlanRequest?: DeleteLogicalClusterPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 批量删除调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteOperationalTask(deleteOperationalTaskRequest?: DeleteOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 删除资源池的绑定用户。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteQueueUserList(deleteQueueUserListRequest?: DeleteQueueUserListRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于删除一个指定手动快照。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteSnapshot(deleteSnapshotRequest?: DeleteSnapshotRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于删除一个快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteSnapshotPolicy(deleteSnapshotPolicyRequest?: DeleteSnapshotPolicyRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteWorkloadPlan(deleteWorkloadPlanRequest?: DeleteWorkloadPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteWorkloadPlanStage(deleteWorkloadPlanStageRequest?: DeleteWorkloadPlanStageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于删除资源池。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteWorkloadQueue(deleteWorkloadQueueRequest?: DeleteWorkloadQueueRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 删除异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. */ deleteWorkloadRule(deleteWorkloadRuleRequest?: DeleteWorkloadRuleRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 停用逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ disableLogicalClusterPlan(disableLogicalClusterPlanRequest?: DisableLogicalClusterPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于关闭集群LTS云日志服务。 * * Please refer to HUAWEI cloud API Explorer for details. */ disableLtsLogs(disableLtsLogsRequest?: DisableLtsLogsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 集群解绑Eip。 * * Please refer to HUAWEI cloud API Explorer for details. */ disassociateEip(disassociateEipRequest?: DisassociateEipRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 集群解绑Elb接口。 * * Please refer to HUAWEI cloud API Explorer for details. */ disassociateElb(disassociateElbRequest?: DisassociateElbRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 切换逻辑集群开关,仅用于控制逻辑集群相关功能模块是否在页面展示。 * 在集群已经是逻辑集群的场景下,修改该接口无任何作用及影响。 * * Please refer to HUAWEI cloud API Explorer for details. */ enableLogicalCluster(enableLogicalClusterRequest?: EnableLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 启用逻辑集群定时增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ enableLogicalClusterPlan(enableLogicalClusterPlanRequest?: EnableLogicalClusterPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于开启集群LTS云日志服务。 * * Please refer to HUAWEI cloud API Explorer for details. */ enableLtsLogs(enableLtsLogsRequest?: EnableLtsLogsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 转加密集群。 * **约束限制**: * 转加密集群起始支持版本:8.0.0 * 转加密集群guestAgent起始支持版本:8.3.0.200 * * Please refer to HUAWEI cloud API Explorer for details. */ encryptCluster(encryptClusterRequest?: EncryptClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 下发集群升级相关操作。 * * Please refer to HUAWEI cloud API Explorer for details. */ executeClusterUpgradeAction(executeClusterUpgradeActionRequest?: ExecuteClusterUpgradeActionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 进行数据库运维账户操作。 * * Please refer to HUAWEI cloud API Explorer for details. */ executeDatabaseOmUserAction(executeDatabaseOmUserActionRequest?: ExecuteDatabaseOmUserActionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 执行规格变更。 * **约束限制**: * 包周期集群暂不支持。 * * Please refer to HUAWEI cloud API Explorer for details. */ executeFlavorChange(executeFlavorChangeRequest?: ExecuteFlavorChangeRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于集群扩容后将老节点数据均匀分布到新扩节点的数据重分布操作,数据“重分布”后将大大提升业务响应速率。 * 重分布功能DWS 2.0 8.1.1.200及以上集群版本支持。 * 离线调度重分布模式在8.2.0及以上版本将不再支持。 * 只有在扩容之后,集群任务信息为“待重分布”状态时才能手动使用“重分布”功能,其他时段该功能不可使用。 * 在扩容阶段也可以选择重分布模式等高级配置,详情参见设置高级配置。 * 重分布队列的排序依据表的relpage大小进行,为确保relpage大小正确,建议在重分布之前对需要重分布的表执行analyze操作。 * * Please refer to HUAWEI cloud API Explorer for details. */ executeRedistributionCluster(executeRedistributionClusterRequest?: ExecuteRedistributionClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 随着客户业务的发展,磁盘空间往往最先出现资源瓶颈,在其他资源尚且充足的情况下,通过磁盘扩容可快速缓解存储资源瓶颈现象,操作过程中无需暂停业务,并且不会造成CPU、内存等资源浪费。 * **约束限制**: * 磁盘扩容功能仅8.1.1.203及以上版本支持,并且创建集群规格需要为云数仓SSD云盘或实时数仓类型。 * 按需+折扣套餐包消费模式下,存储扩容后超出折扣套餐包部分将按需收费。 * * Please refer to HUAWEI cloud API Explorer for details. */ expandInstanceStorage(expandInstanceStorageRequest?: ExpandInstanceStorageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 导出数据库用户/角色,接口返回的是输出流,xlsx文件。 * * Please refer to HUAWEI cloud API Explorer for details. */ exportDatabaseUsers(exportDatabaseUsersRequest?: ExportDatabaseUsersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 导出数据库用户/角色的权限列表,接口返回的是输出流,xlsx文件。 * * Please refer to HUAWEI cloud API Explorer for details. */ exportUserAuthority(exportUserAuthorityRequest?: ExportUserAuthorityRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询租户白名单。仅返回当前用户支持的灰度特性,集群列表等基础功能不受白名单控制,所有用户均可以使用。 * * Please refer to HUAWEI cloud API Explorer for details. */ listActions(listActionsRequest?: ListActionsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询告警配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAlarmConfigs(listAlarmConfigsRequest?: ListAlarmConfigsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询告警详情列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAlarmDetail(listAlarmDetailRequest?: ListAlarmDetailRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询告警统计。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAlarmStatistic(listAlarmStatisticRequest?: ListAlarmStatisticRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询订阅告警。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAlarmSubs(listAlarmSubsRequest?: ListAlarmSubsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询审计日志转储执行记录。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAuditLog(listAuditLogRequest?: ListAuditLogRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAvailabilityZones(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询可用的容灾集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listAvailableDisasterClusters(listAvailableDisasterClustersRequest?: ListAvailableDisasterClustersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群任务详情。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterActions(listClusterActionsRequest?: ListClusterActionsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群的CN节点列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterCn(listClusterCnRequest?: ListClusterCnRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群所关联的参数组。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterConfigurations(listClusterConfigurationsRequest?: ListClusterConfigurationsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群所关联的参数组。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterConfigurationsParameter(listClusterConfigurationsParameterRequest?: ListClusterConfigurationsParameterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群详情。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterDetails(listClusterDetailsRequest?: ListClusterDetailsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询连接信息。包括公网域名、内网域名等。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterEndpoints(listClusterEndpointsRequest?: ListClusterEndpointsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询节点列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterNodes(listClusterNodesRequest?: ListClusterNodesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询合适的缩容数。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterScaleInNumbers(listClusterScaleInNumbersRequest?: ListClusterScaleInNumbersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群安全参数配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterSecurityConfigurations(listClusterSecurityConfigurationsRequest?: ListClusterSecurityConfigurationsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询集群快照列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterSnapshots(listClusterSnapshotsRequest?: ListClusterSnapshotsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询指定集群的标签信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterTags(listClusterTagsRequest?: ListClusterTagsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询资源管理开关状态。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusterWorkload(listClusterWorkloadRequest?: ListClusterWorkloadRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listClusters(listClustersRequest?: ListClustersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询参数修改审计记录。 * * Please refer to HUAWEI cloud API Explorer for details. */ listConfigurationsAuditRecords(listConfigurationsAuditRecordsRequest?: ListConfigurationsAuditRecordsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询数据源。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDataSource(listDataSourceRequest?: ListDataSourceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询数据库对象。 * **约束限制**: * 集群guestAgent插件大于等于8.2.1.1开始支持。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDatabaseObjects(listDatabaseObjectsRequest?: ListDatabaseObjectsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询用户/角色拥有权限。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDatabaseUserAuthorities(listDatabaseUserAuthoritiesRequest?: ListDatabaseUserAuthoritiesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询用户所属角色。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDatabaseUserRoles(listDatabaseUserRolesRequest?: ListDatabaseUserRolesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询所有数据库用户/角色。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDatabaseUsers(listDatabaseUsersRequest?: ListDatabaseUsersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询容灾列表。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDisasterRecover(listDisasterRecoverRequest?: ListDisasterRecoverRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取专属分布式存储池列表,只包括用户开通的SSD专属资源池信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listDssPools(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群可以关联的ELB列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listElbs(listElbsRequest?: ListElbsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询可用弹性负载均衡列表,该接口是对ELB提供的openapi的封装,针对DWS进行了部分筛选,且不含已经被其它dws集群绑定的弹性负载均衡器。 * * Please refer to HUAWEI cloud API Explorer for details. */ listElbsInfo(listElbsInfoRequest?: ListElbsInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询所有集群的企业项目信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listEps(listEpsRequest?: ListEpsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询事件配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ listEventSpecs(listEventSpecsRequest?: ListEventSpecsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询订阅的事件。 * * Please refer to HUAWEI cloud API Explorer for details. */ listEventSubs(listEventSubsRequest?: ListEventSubsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询事件列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listEvents(listEventsRequest?: ListEventsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询磁盘信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listHostDisk(listHostDiskRequest?: ListHostDiskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取网卡状态。 * * Please refer to HUAWEI cloud API Explorer for details. */ listHostNet(listHostNetRequest?: ListHostNetRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询主机概览。 * * Please refer to HUAWEI cloud API Explorer for details. */ listHostOverview(listHostOverviewRequest?: ListHostOverviewRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询任务进度信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listJobDetails(listJobDetailsRequest?: ListJobDetailsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询逻辑集群定时增删计划。定时增删计划业务支持最多保存20条数据,接口最大返回20条数据。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLogicalClusterPlans(listLogicalClusterPlansRequest?: ListLogicalClusterPlansRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询逻辑集群可用环节点信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLogicalClusterRings(listLogicalClusterRingsRequest?: ListLogicalClusterRingsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询逻辑集群任务信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLogicalClusterTasks(listLogicalClusterTasksRequest?: ListLogicalClusterTasksRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询逻辑集群磁盘信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLogicalClusterVolumes(listLogicalClusterVolumesRequest?: ListLogicalClusterVolumesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询逻辑集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLogicalClusters(listLogicalClustersRequest?: ListLogicalClustersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取LTS日志列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listLtsLogs(listLtsLogsRequest?: ListLtsLogsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群使用的指标列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listMetrics(listMetricsRequest?: ListMetricsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取指定指标相关采集数据。 * * Please refer to HUAWEI cloud API Explorer for details. */ listMetricsData(listMetricsDataRequest?: ListMetricsDataRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询历史监控数据。 * * Please refer to HUAWEI cloud API Explorer for details. */ listMonitorIndicatorData(listMonitorIndicatorDataRequest?: ListMonitorIndicatorDataRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询性能监控指标。 * * Please refer to HUAWEI cloud API Explorer for details. */ listMonitorIndicators(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询所有DWS服务支持的规格信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listNodeTypes(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询运维任务列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listOperationalTask(listOperationalTaskRequest?: ListOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取运维任务执行信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listOperationalTaskDetail(listOperationalTaskDetailRequest?: ListOperationalTaskDetailRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查看计划执行日志。 * * Please refer to HUAWEI cloud API Explorer for details. */ listPlanExecLogs(listPlanExecLogsRequest?: ListPlanExecLogsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询实时SQL列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listQueries(listQueriesRequest?: ListQueriesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 查询单租户在DWS服务下的配额信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listQuotas(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取待重分布表所属模式信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listRedistributionSchema(listRedistributionSchemaRequest?: ListRedistributionSchemaRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 使用标签查询集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ listResourceByTag(listResourceByTagRequest?: ListResourceByTagRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 查询集群模式空间信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSchemas(listSchemasRequest?: ListSchemasRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于使用快照ID查询快照详情。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSnapshotDetails(listSnapshotDetailsRequest?: ListSnapshotDetailsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 根据快照ID查询规格信息。支持用来查询某个快照的规格信息,或者快照可恢复到的目标规格信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSnapshotFlavorInfo(listSnapshotFlavorInfoRequest?: ListSnapshotFlavorInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询快照策略。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSnapshotPolicy(listSnapshotPolicyRequest?: ListSnapshotPolicyRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询快照统计信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSnapshotStatistics(listSnapshotStatisticsRequest?: ListSnapshotStatisticsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询快照列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSnapshots(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询当前可用资源数量,其中包括“可用集群和总集群(个)”、“可用节点和总节点(个)”、“总容量(GB)”。 * * Please refer to HUAWEI cloud API Explorer for details. */ listStatistics(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询身份源同步记录。 * **约束限制**: * 该功能在页面默认未开放给所有用户,当特性开启且有同步记录时查询才有结果。 * * Please refer to HUAWEI cloud API Explorer for details. */ listSyncRecords(listSyncRecordsRequest?: ListSyncRecordsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询表倾斜或脏页率信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listTablesStatistic(listTablesStatisticRequest?: ListTablesStatisticRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询项目标签列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listTags(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询指定集群的企业项目信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listTagsForResource(listTagsForResourceRequest?: ListTagsForResourceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询支持变更的目标规格列表。接口返回的规格列表最多为20条。 * **约束限制**: * 无cluster_id时:可查询所有支持转换的目标规格,但是由于配额等原因,部分规格可能存在售罄无法使用。 * 存在cluster_id时:会自动关联此集群所在可用区下的配额充足的目标规格。 * * Please refer to HUAWEI cloud API Explorer for details. */ listTargetFlavors(listTargetFlavorsRequest?: ListTargetFlavorsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群拓扑ring环节点信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ listTopoRings(listTopoRingsRequest?: ListTopoRingsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取集群可升级的目标版本。 * * Please refer to HUAWEI cloud API Explorer for details. */ listUpdatableVersion(listUpdatableVersionRequest?: ListUpdatableVersionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 通过此接口获取当前集群升级记录。 * * Please refer to HUAWEI cloud API Explorer for details. */ listUpdateRecord(listUpdateRecordRequest?: ListUpdateRecordRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群中所有资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ listWorkloadPlans(listWorkloadPlansRequest?: ListWorkloadPlansRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询资源池。 * * Please refer to HUAWEI cloud API Explorer for details. */ listWorkloadQueue(listWorkloadQueueRequest?: ListWorkloadQueueRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获得资源池的绑定用户列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listWorkloadQueueUsers(listWorkloadQueueUsersRequest?: ListWorkloadQueueUsersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询当前集群的异常规则列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ listWorkloadRules(listWorkloadRulesRequest?: ListWorkloadRulesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 修改集群名称。 * **约束限制**: * guestAgent插件版本8.3.1及以上才支持。 * * Please refer to HUAWEI cloud API Explorer for details. */ modifyClusterName(modifyClusterNameRequest?: ModifyClusterNameRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改集群时区。该操作会将操作系统及数据库的时区都进行修改。 * **约束限制**: * 修改时区依赖集群安装的guestAgent插件,插件版本在8.3.0.202及以上支持。 * * Please refer to HUAWEI cloud API Explorer for details. */ modifyClusterTimezone(modifyClusterTimezoneRequest?: ModifyClusterTimezoneRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于停止容灾操作。 * 容灾状态为“运行中”和“停止失败”时可以执行停止容灾操作。 * 停止后,将无法进行数据同步,请谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ pauseDisasterRecovery(pauseDisasterRecoveryRequest?: PauseDisasterRecoveryRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 批量暂停调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. */ pauseOperationalTask(pauseOperationalTaskRequest?: PauseOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 同步当前集群运维任务状态。 * * Please refer to HUAWEI cloud API Explorer for details. */ refreshOperationalTask(refreshOperationalTaskRequest?: RefreshOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 重置集群管理员密码。 * * Please refer to HUAWEI cloud API Explorer for details. */ resetPassword(resetPasswordRequest?: ResetPasswordRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 扩容集群,亦可用于添加空闲节点。默认情况下:表示执行扩容操作。 * 通过create_node_only字段用以区分当前是**扩容**、**添加空闲节点**: * - true:仅添加空闲节点 * - false:表示执行扩容操作 * * Please refer to HUAWEI cloud API Explorer for details. */ resizeCluster(resizeClusterRequest?: ResizeClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 从空闲节点扩容。 * * Please refer to HUAWEI cloud API Explorer for details. */ resizeClusterWithExistedNodes(resizeClusterWithExistedNodesRequest?: ResizeClusterWithExistedNodesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 下发扩容配置文件,完成扩容准备工作。 * * Please refer to HUAWEI cloud API Explorer for details. */ resizePreparation(resizePreparationRequest?: ResizePreparationRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 重启集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ restartCluster(restartClusterRequest?: RestartClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 重启逻辑集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ restartLogicalCluster(restartLogicalClusterRequest?: RestartLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于使用快照恢复集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ restoreCluster(restoreClusterRequest?: RestoreClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于主备集群进行异常切换,备集群恢复可用状态后进行的容灾恢复操作。 * 容灾恢复仅8.1.2及以上集群版本支持。 * 容灾恢复会删除灾备集群数据与新生产集群重新建立容灾关系。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ restoreDisaster(restoreDisasterRequest?: RestoreDisasterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 恢复暂停状态下的重分布操作,仅支持DWS2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ restoreRedistribution(restoreRedistributionRequest?: RestoreRedistributionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于恢复表。 * * Please refer to HUAWEI cloud API Explorer for details. */ restoreTable(restoreTableRequest?: RestoreTableRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 批量恢复调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. */ resumeOperationalTask(resumeOperationalTaskRequest?: ResumeOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 轮转加密集群密钥。 * * Please refer to HUAWEI cloud API Explorer for details. */ rotateKey(rotateKeyRequest?: RotateKeyRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改集群描述信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ saveClusterDescriptionInfo(saveClusterDescriptionInfoRequest?: SaveClusterDescriptionInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新重分布表优先级。 * * Please refer to HUAWEI cloud API Explorer for details. */ setRedistributionPriority(setRedistributionPriorityRequest?: SetRedistributionPriorityRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 获取集群加密信息。非加密集群不支持该功能,返回信息为空。 * **约束限制**: * 转加密集群起始支持版本:8.0.0 * 转加密集群guestAgent起始支持版本:8.3.0.200 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusterEncryptInfo(showClusterEncryptInfoRequest?: ShowClusterEncryptInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询集群使用的规格详情。 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusterFlavor(showClusterFlavorRequest?: ShowClusterFlavorRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查看当前集群的重分布模式、重分布进度、数据表重分布详情等监控信息。 * 查看重分布详情功能DWS 2.0 8.1.1.200及以上集群版本支持,其中数据表重分布进度详情仅DWS 2.0 8.2.1及以上集群版本支持。 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusterRedistribution(showClusterRedistributionRequest?: ShowClusterRedistributionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 此接口可用于查看磁盘扩容操作时支持的扩容范围。 * **约束限制**: * 磁盘扩容功能仅8.1.1.203及以上版本支持,并且创建集群规格需要为云数仓SSD云盘或实时数仓类型。 * 按需+折扣套餐包消费模式下,存储扩容后超出折扣套餐包部分将按需收费。 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusterStorageExpandRange(showClusterStorageExpandRangeRequest?: ShowClusterStorageExpandRangeRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询租户侧节点磁盘使用情况信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusterVolume(showClusterVolumeRequest?: ShowClusterVolumeRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询并显示集群列表。 * * Please refer to HUAWEI cloud API Explorer for details. */ showClusters(): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询数据库对象权限。 * * Please refer to HUAWEI cloud API Explorer for details. */ showDatabaseAuthority(showDatabaseAuthorityRequest?: ShowDatabaseAuthorityRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获得数据库运维账户状态。 * * Please refer to HUAWEI cloud API Explorer for details. */ showDatabaseOmUserStatus(showDatabaseOmUserStatusRequest?: ShowDatabaseOmUserStatusRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询指定用户信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showDatabaseUser(showDatabaseUserRequest?: ShowDatabaseUserRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询单个容灾详情。 * * Please refer to HUAWEI cloud API Explorer for details. */ showDisasterDetail(showDisasterDetailRequest?: ShowDisasterDetailRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询容灾进度详情信息操作。 * * Please refer to HUAWEI cloud API Explorer for details. */ showDisasterProgress(showDisasterProgressRequest?: ShowDisasterProgressRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询单个实例信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showInstance(showInstanceRequest?: ShowInstanceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询调度运维任务公共配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ showOperationalTaskConfig(showOperationalTaskConfigRequest?: ShowOperationalTaskConfigRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询SQL执行信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showQueryDetail(showQueryDetailRequest?: ShowQueryDetailRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获取扩容准备信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showResizePreparation(showResizePreparationRequest?: ShowResizePreparationRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于查询资源统计信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showResourceStatistics(showResourceStatisticsRequest?: ShowResourceStatisticsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询某个资源管理计划详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showWorkloadPlan(showWorkloadPlanRequest?: ShowWorkloadPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 查询资源管理计划阶段详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showWorkloadPlanStage(showWorkloadPlanStageRequest?: ShowWorkloadPlanStageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 获得资源池详细信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ showWorkloadQueue(showWorkloadQueueRequest?: ShowWorkloadQueueRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于缩容集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ shrinkCluster(shrinkClusterRequest?: ShrinkClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 逻辑集群缩容,支持从逻辑集群中缩容、从弹性池中缩容。 * * Please refer to HUAWEI cloud API Explorer for details. */ shrinkLogicalCluster(shrinkLogicalClusterRequest?: ShrinkLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 启动集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ startCluster(startClusterRequest?: StartClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于启动容灾操作。 * 容灾状态为“未启动”、“启动失败”和“已停止”时可以执行启动容灾操作。 * 启动容灾后,生产集群和灾备集群将无法进行恢复、扩容、升级、重启、节点替换、更新密码等操作,此外,灾备集群将无法进行备份操作,请谨慎操作。 * 当容灾启动后,如果灾备集群容灾正常运行且容灾处于恢复状态中,此状态的集群会计费。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ startDisasterRecovery(startDisasterRecoveryRequest?: StartDisasterRecoveryRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 启动资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ startWorkloadPlan(startWorkloadPlanRequest?: StartWorkloadPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 停止集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ stopCluster(stopClusterRequest?: StopClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于暂停运行状态下的重分布操作,重分布暂停状态可设置重分布优先级,修改重分布并发数等操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ stopRedistribution(stopRedistributionRequest?: StopRedistributionRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 停止资源管理计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ stopWorkloadPlan(stopWorkloadPlanRequest?: StopWorkloadPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 该接口用于容灾异常场景下进行主备集群切换操作。 * “异常切换”按钮用于容灾异常或者生产集群故障情况下主备切换操作。 * 容灾异常切换仅8.1.2及以上集群版本支持。 * 异常切换会将灾备集群升为主,若原生产集群故障后存在部分数据未同步到灾备集群,那灾备集群升主后将缺少这些数据,切换时请确认容灾最后同步时间,谨慎操作。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ switchFailoverDisaster(switchFailoverDisasterRequest?: SwitchFailoverDisasterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 当集群状态为“非均衡”时会出现某些节点主实例增多,从而负载压力较大。这种情况下集群状态是正常的,但整体性能要低于均衡状态。可进行集群主备恢复操作将集群状态切换为“可用”状态。 * **约束限制**: * 集群主备恢复仅8.1.1.202及以上版本支持。 * 集群主备恢复将会短暂中断业务,中断时间根据用户自身业务量所决定,建议用户在业务低峰期执行此操作。 * * Please refer to HUAWEI cloud API Explorer for details. */ switchOverCluster(switchOverClusterRequest?: SwitchOverClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 切换资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. */ switchPlanStage(switchPlanStageRequest?: SwitchPlanStageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于容灾进行灾备切换操作。 * “灾备切换”按钮用于在容灾正常情况下主备倒换操作。 * 容灾状态为“运行中”时可以执行灾备切换操作。 * 灾备切换需要一定时间,在此期间,原生产集群将不可用。 * 不同场景下进行灾备切换,RPO(Recovery Point Object,灾难发生后,系统和数据必须恢复到的时间点要求。)说明如下: * 生产集群在“可用”的状态下,RPO=0。 * 生产集群在“不可用”的状态下,无法保证RPO=0,但数据至少可恢复到生产集群“最近容灾成功时间”。 * 仅支持DWS 2.0集群。 * * Please refer to HUAWEI cloud API Explorer for details. */ switchoverDisasterRecovery(switchoverDisasterRecoveryRequest?: SwitchoverDisasterRecoveryRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 同步IAM用户到数据库。 * * Please refer to HUAWEI cloud API Explorer for details. */ syncIamUsers(syncIamUsersRequest?: SyncIamUsersRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; }; /** * 更新订阅的告警。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateAlarmSub(updateAlarmSubRequest?: UpdateAlarmSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 为指定集群修改域名。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateClusterDns(updateClusterDnsRequest?: UpdateClusterDnsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改集群使用的参数配置信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateConfiguration(updateConfigurationRequest?: UpdateConfigurationRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于更新一个数据源。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateDataSource(updateDataSourceRequest?: UpdateDataSourceRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改数据库对象权限。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateDatabaseAuthority(updateDatabaseAuthorityRequest?: UpdateDatabaseAuthorityRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改指定用户信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateDatabaseUserInfo(updateDatabaseUserInfoRequest?: UpdateDatabaseUserInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 该接口用于更新容灾配置操作。 * 容灾状态为“未启动”或“已停止”时,可以执行容灾配置修改操作。 * 新的配置在容灾重新启动后生效。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateDisasterInfo(updateDisasterInfoRequest?: UpdateDisasterInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新订阅事件。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateEventSub(updateEventSubRequest?: UpdateEventSubRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 编辑修改逻辑集群。接口根据提交的请求体判断当前操作是逻辑集群缩容或者扩容。 * 场景一:原始的逻辑集群有6个节点(两个环),提交请求时的请求体只有1个环,此时为逻辑集群缩容。 * 场景二:原始的逻辑集群有6个节点(两个环),提交请求时的请求体中有3个环,此时为逻辑集群扩容。 * 此接口已经不再演进,后续版本中可能会下线,新版本中此接口对应功能已经下线。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateLogicalCluster(updateLogicalClusterRequest?: UpdateLogicalClusterRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 编辑逻辑集群增删计划。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateLogicalClusterPlan(updateLogicalClusterPlanRequest?: UpdateLogicalClusterPlanRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 您可以根据业务需求,设置可维护时间段。建议将可维护时间段设置在业务低峰期,避免业务在维护过程中异常中断。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateMaintenanceWindow(updateMaintenanceWindowRequest?: UpdateMaintenanceWindowRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改调度任务。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateOperationalTask(updateOperationalTaskRequest?: UpdateOperationalTaskRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改调度运维任务公共配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateOperationalTaskConfig(updateOperationalTaskConfigRequest?: UpdateOperationalTaskConfigRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新资源池基础信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateQueueBaseInfo(updateQueueBaseInfoRequest?: UpdateQueueBaseInfoRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新资源池资源配置信息。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateQueueResources(updateQueueResourcesRequest?: UpdateQueueResourcesRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新重分布配置。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateRedistributionConfigurations(updateRedistributionConfigurationsRequest?: UpdateRedistributionConfigurationsRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新模式空间限额。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateSchemas(updateSchemasRequest?: UpdateSchemasRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 修改资源管理计划阶段。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateWorkloadPlanStage(updateWorkloadPlanStageRequest?: UpdateWorkloadPlanStageRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 更新异常规则。 * * Please refer to HUAWEI cloud API Explorer for details. */ updateWorkloadRule(updateWorkloadRuleRequest?: UpdateWorkloadRuleRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; /** * 传入schema或table列表数据,返回存在的数据列表 * * Please refer to HUAWEI cloud API Explorer for details. */ validateDbData(validateDbDataRequest?: ValidateDbDataRequest): { method: string; url: string; contentType: string; queryParams: {}; pathParams: {}; headers: {}; data: {}; }; }; /** * * @export * @class RequiredError * @extends {Error} */ export declare class RequiredError extends Error { field: string; name: "RequiredError"; constructor(field: string, msg?: string); } //# sourceMappingURL=DwsClient.d.ts.map