@alicloud/adb20211201 1.4.6 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +202 -2
- package/dist/client.js +375 -6
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +461 -4
package/dist/client.d.ts
CHANGED
|
@@ -823,6 +823,30 @@ export declare class CreateDBResourceGroupRequest extends $tea.Model {
|
|
|
823
823
|
minClusterCount?: number;
|
|
824
824
|
minComputeResource?: string;
|
|
825
825
|
regionId?: string;
|
|
826
|
+
rules?: CreateDBResourceGroupRequestRules[];
|
|
827
|
+
static names(): {
|
|
828
|
+
[key: string]: string;
|
|
829
|
+
};
|
|
830
|
+
static types(): {
|
|
831
|
+
[key: string]: any;
|
|
832
|
+
};
|
|
833
|
+
constructor(map?: {
|
|
834
|
+
[key: string]: any;
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
export declare class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
838
|
+
clusterMode?: string;
|
|
839
|
+
clusterSizeResource?: string;
|
|
840
|
+
DBClusterId?: string;
|
|
841
|
+
enableSpot?: boolean;
|
|
842
|
+
groupName?: string;
|
|
843
|
+
groupType?: string;
|
|
844
|
+
maxClusterCount?: number;
|
|
845
|
+
maxComputeResource?: string;
|
|
846
|
+
minClusterCount?: number;
|
|
847
|
+
minComputeResource?: string;
|
|
848
|
+
regionId?: string;
|
|
849
|
+
rulesShrink?: string;
|
|
826
850
|
static names(): {
|
|
827
851
|
[key: string]: string;
|
|
828
852
|
};
|
|
@@ -2332,6 +2356,52 @@ export declare class DescribeDBClusterPerformanceResponse extends $tea.Model {
|
|
|
2332
2356
|
[key: string]: any;
|
|
2333
2357
|
});
|
|
2334
2358
|
}
|
|
2359
|
+
export declare class DescribeDBClusterSpaceSummaryRequest extends $tea.Model {
|
|
2360
|
+
DBClusterId?: string;
|
|
2361
|
+
ownerAccount?: string;
|
|
2362
|
+
ownerId?: number;
|
|
2363
|
+
regionId?: string;
|
|
2364
|
+
resourceOwnerAccount?: string;
|
|
2365
|
+
resourceOwnerId?: number;
|
|
2366
|
+
static names(): {
|
|
2367
|
+
[key: string]: string;
|
|
2368
|
+
};
|
|
2369
|
+
static types(): {
|
|
2370
|
+
[key: string]: any;
|
|
2371
|
+
};
|
|
2372
|
+
constructor(map?: {
|
|
2373
|
+
[key: string]: any;
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
export declare class DescribeDBClusterSpaceSummaryResponseBody extends $tea.Model {
|
|
2377
|
+
data?: DescribeDBClusterSpaceSummaryResponseBodyData;
|
|
2378
|
+
requestId?: string;
|
|
2379
|
+
static names(): {
|
|
2380
|
+
[key: string]: string;
|
|
2381
|
+
};
|
|
2382
|
+
static types(): {
|
|
2383
|
+
[key: string]: any;
|
|
2384
|
+
};
|
|
2385
|
+
constructor(map?: {
|
|
2386
|
+
[key: string]: any;
|
|
2387
|
+
});
|
|
2388
|
+
}
|
|
2389
|
+
export declare class DescribeDBClusterSpaceSummaryResponse extends $tea.Model {
|
|
2390
|
+
headers?: {
|
|
2391
|
+
[key: string]: string;
|
|
2392
|
+
};
|
|
2393
|
+
statusCode?: number;
|
|
2394
|
+
body?: DescribeDBClusterSpaceSummaryResponseBody;
|
|
2395
|
+
static names(): {
|
|
2396
|
+
[key: string]: string;
|
|
2397
|
+
};
|
|
2398
|
+
static types(): {
|
|
2399
|
+
[key: string]: any;
|
|
2400
|
+
};
|
|
2401
|
+
constructor(map?: {
|
|
2402
|
+
[key: string]: any;
|
|
2403
|
+
});
|
|
2404
|
+
}
|
|
2335
2405
|
export declare class DescribeDBClusterStatusRequest extends $tea.Model {
|
|
2336
2406
|
regionId?: string;
|
|
2337
2407
|
static names(): {
|
|
@@ -2428,6 +2498,7 @@ export declare class DescribeDBResourceGroupRequest extends $tea.Model {
|
|
|
2428
2498
|
DBClusterId?: string;
|
|
2429
2499
|
groupName?: string;
|
|
2430
2500
|
groupType?: string;
|
|
2501
|
+
regionId?: string;
|
|
2431
2502
|
resourceOwnerAccount?: string;
|
|
2432
2503
|
static names(): {
|
|
2433
2504
|
[key: string]: string;
|
|
@@ -5373,6 +5444,30 @@ export declare class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
5373
5444
|
minClusterCount?: number;
|
|
5374
5445
|
minComputeResource?: string;
|
|
5375
5446
|
regionId?: string;
|
|
5447
|
+
rules?: ModifyDBResourceGroupRequestRules[];
|
|
5448
|
+
static names(): {
|
|
5449
|
+
[key: string]: string;
|
|
5450
|
+
};
|
|
5451
|
+
static types(): {
|
|
5452
|
+
[key: string]: any;
|
|
5453
|
+
};
|
|
5454
|
+
constructor(map?: {
|
|
5455
|
+
[key: string]: any;
|
|
5456
|
+
});
|
|
5457
|
+
}
|
|
5458
|
+
export declare class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
5459
|
+
clusterMode?: string;
|
|
5460
|
+
clusterSizeResource?: string;
|
|
5461
|
+
DBClusterId?: string;
|
|
5462
|
+
enableSpot?: boolean;
|
|
5463
|
+
groupName?: string;
|
|
5464
|
+
groupType?: string;
|
|
5465
|
+
maxClusterCount?: number;
|
|
5466
|
+
maxComputeResource?: string;
|
|
5467
|
+
minClusterCount?: number;
|
|
5468
|
+
minComputeResource?: string;
|
|
5469
|
+
regionId?: string;
|
|
5470
|
+
rulesShrink?: string;
|
|
5376
5471
|
static names(): {
|
|
5377
5472
|
[key: string]: string;
|
|
5378
5473
|
};
|
|
@@ -5998,6 +6093,20 @@ export declare class CreateDBClusterRequestTag extends $tea.Model {
|
|
|
5998
6093
|
[key: string]: any;
|
|
5999
6094
|
});
|
|
6000
6095
|
}
|
|
6096
|
+
export declare class CreateDBResourceGroupRequestRules extends $tea.Model {
|
|
6097
|
+
groupName?: string;
|
|
6098
|
+
queryTime?: string;
|
|
6099
|
+
targetGroupName?: string;
|
|
6100
|
+
static names(): {
|
|
6101
|
+
[key: string]: string;
|
|
6102
|
+
};
|
|
6103
|
+
static types(): {
|
|
6104
|
+
[key: string]: any;
|
|
6105
|
+
};
|
|
6106
|
+
constructor(map?: {
|
|
6107
|
+
[key: string]: any;
|
|
6108
|
+
});
|
|
6109
|
+
}
|
|
6001
6110
|
export declare class CreateOssSubDirectoryResponseBodyData extends $tea.Model {
|
|
6002
6111
|
clientCRC?: number;
|
|
6003
6112
|
ETag?: string;
|
|
@@ -6698,6 +6807,66 @@ export declare class DescribeDBClusterPerformanceResponseBodyPerformances extend
|
|
|
6698
6807
|
[key: string]: any;
|
|
6699
6808
|
});
|
|
6700
6809
|
}
|
|
6810
|
+
export declare class DescribeDBClusterSpaceSummaryResponseBodyDataColdData extends $tea.Model {
|
|
6811
|
+
dataSize?: number;
|
|
6812
|
+
indexSize?: number;
|
|
6813
|
+
otherSize?: number;
|
|
6814
|
+
primaryKeyIndexSize?: number;
|
|
6815
|
+
totalSize?: number;
|
|
6816
|
+
static names(): {
|
|
6817
|
+
[key: string]: string;
|
|
6818
|
+
};
|
|
6819
|
+
static types(): {
|
|
6820
|
+
[key: string]: any;
|
|
6821
|
+
};
|
|
6822
|
+
constructor(map?: {
|
|
6823
|
+
[key: string]: any;
|
|
6824
|
+
});
|
|
6825
|
+
}
|
|
6826
|
+
export declare class DescribeDBClusterSpaceSummaryResponseBodyDataDataGrowth extends $tea.Model {
|
|
6827
|
+
dayGrowth?: number;
|
|
6828
|
+
weekGrowth?: number;
|
|
6829
|
+
static names(): {
|
|
6830
|
+
[key: string]: string;
|
|
6831
|
+
};
|
|
6832
|
+
static types(): {
|
|
6833
|
+
[key: string]: any;
|
|
6834
|
+
};
|
|
6835
|
+
constructor(map?: {
|
|
6836
|
+
[key: string]: any;
|
|
6837
|
+
});
|
|
6838
|
+
}
|
|
6839
|
+
export declare class DescribeDBClusterSpaceSummaryResponseBodyDataHotData extends $tea.Model {
|
|
6840
|
+
dataSize?: number;
|
|
6841
|
+
indexSize?: number;
|
|
6842
|
+
otherSize?: number;
|
|
6843
|
+
primaryKeyIndexSize?: number;
|
|
6844
|
+
totalSize?: number;
|
|
6845
|
+
static names(): {
|
|
6846
|
+
[key: string]: string;
|
|
6847
|
+
};
|
|
6848
|
+
static types(): {
|
|
6849
|
+
[key: string]: any;
|
|
6850
|
+
};
|
|
6851
|
+
constructor(map?: {
|
|
6852
|
+
[key: string]: any;
|
|
6853
|
+
});
|
|
6854
|
+
}
|
|
6855
|
+
export declare class DescribeDBClusterSpaceSummaryResponseBodyData extends $tea.Model {
|
|
6856
|
+
coldData?: DescribeDBClusterSpaceSummaryResponseBodyDataColdData;
|
|
6857
|
+
dataGrowth?: DescribeDBClusterSpaceSummaryResponseBodyDataDataGrowth;
|
|
6858
|
+
hotData?: DescribeDBClusterSpaceSummaryResponseBodyDataHotData;
|
|
6859
|
+
totalSize?: string;
|
|
6860
|
+
static names(): {
|
|
6861
|
+
[key: string]: string;
|
|
6862
|
+
};
|
|
6863
|
+
static types(): {
|
|
6864
|
+
[key: string]: any;
|
|
6865
|
+
};
|
|
6866
|
+
constructor(map?: {
|
|
6867
|
+
[key: string]: any;
|
|
6868
|
+
});
|
|
6869
|
+
}
|
|
6701
6870
|
export declare class DescribeDBClustersRequestTag extends $tea.Model {
|
|
6702
6871
|
key?: string;
|
|
6703
6872
|
value?: string;
|
|
@@ -6785,6 +6954,20 @@ export declare class DescribeDBClustersResponseBodyItems extends $tea.Model {
|
|
|
6785
6954
|
[key: string]: any;
|
|
6786
6955
|
});
|
|
6787
6956
|
}
|
|
6957
|
+
export declare class DescribeDBResourceGroupResponseBodyGroupsInfoRules extends $tea.Model {
|
|
6958
|
+
groupName?: string;
|
|
6959
|
+
queryTime?: string;
|
|
6960
|
+
targetGroupName?: string;
|
|
6961
|
+
static names(): {
|
|
6962
|
+
[key: string]: string;
|
|
6963
|
+
};
|
|
6964
|
+
static types(): {
|
|
6965
|
+
[key: string]: any;
|
|
6966
|
+
};
|
|
6967
|
+
constructor(map?: {
|
|
6968
|
+
[key: string]: any;
|
|
6969
|
+
});
|
|
6970
|
+
}
|
|
6788
6971
|
export declare class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
|
|
6789
6972
|
clusterMode?: string;
|
|
6790
6973
|
clusterSizeResource?: string;
|
|
@@ -6798,6 +6981,7 @@ export declare class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.
|
|
|
6798
6981
|
maxComputeResource?: string;
|
|
6799
6982
|
minClusterCount?: number;
|
|
6800
6983
|
minComputeResource?: string;
|
|
6984
|
+
rules?: DescribeDBResourceGroupResponseBodyGroupsInfoRules[];
|
|
6801
6985
|
runningClusterCount?: number;
|
|
6802
6986
|
status?: string;
|
|
6803
6987
|
updateTime?: string;
|
|
@@ -7534,6 +7718,20 @@ export declare class ModifyAccountPrivilegesRequestAccountPrivileges extends $te
|
|
|
7534
7718
|
[key: string]: any;
|
|
7535
7719
|
});
|
|
7536
7720
|
}
|
|
7721
|
+
export declare class ModifyDBResourceGroupRequestRules extends $tea.Model {
|
|
7722
|
+
groupName?: string;
|
|
7723
|
+
queryTime?: string;
|
|
7724
|
+
targetGroupName?: string;
|
|
7725
|
+
static names(): {
|
|
7726
|
+
[key: string]: string;
|
|
7727
|
+
};
|
|
7728
|
+
static types(): {
|
|
7729
|
+
[key: string]: any;
|
|
7730
|
+
};
|
|
7731
|
+
constructor(map?: {
|
|
7732
|
+
[key: string]: any;
|
|
7733
|
+
});
|
|
7734
|
+
}
|
|
7537
7735
|
export declare class PreloadSparkAppMetricsResponseBodyDataScanMetrics extends $tea.Model {
|
|
7538
7736
|
outputRowsCount?: number;
|
|
7539
7737
|
totalReadFileSizeInByte?: number;
|
|
@@ -7653,7 +7851,7 @@ export default class Client extends OpenApi {
|
|
|
7653
7851
|
createAccount(request: CreateAccountRequest): Promise<CreateAccountResponse>;
|
|
7654
7852
|
createDBClusterWithOptions(request: CreateDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBClusterResponse>;
|
|
7655
7853
|
createDBCluster(request: CreateDBClusterRequest): Promise<CreateDBClusterResponse>;
|
|
7656
|
-
createDBResourceGroupWithOptions(
|
|
7854
|
+
createDBResourceGroupWithOptions(tmpReq: CreateDBResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBResourceGroupResponse>;
|
|
7657
7855
|
createDBResourceGroup(request: CreateDBResourceGroupRequest): Promise<CreateDBResourceGroupResponse>;
|
|
7658
7856
|
createElasticPlanWithOptions(request: CreateElasticPlanRequest, runtime: $Util.RuntimeOptions): Promise<CreateElasticPlanResponse>;
|
|
7659
7857
|
createElasticPlan(request: CreateElasticPlanRequest): Promise<CreateElasticPlanResponse>;
|
|
@@ -7747,6 +7945,8 @@ export default class Client extends OpenApi {
|
|
|
7747
7945
|
describeDBClusterHealthStatus(request: DescribeDBClusterHealthStatusRequest): Promise<DescribeDBClusterHealthStatusResponse>;
|
|
7748
7946
|
describeDBClusterPerformanceWithOptions(request: DescribeDBClusterPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterPerformanceResponse>;
|
|
7749
7947
|
describeDBClusterPerformance(request: DescribeDBClusterPerformanceRequest): Promise<DescribeDBClusterPerformanceResponse>;
|
|
7948
|
+
describeDBClusterSpaceSummaryWithOptions(request: DescribeDBClusterSpaceSummaryRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterSpaceSummaryResponse>;
|
|
7949
|
+
describeDBClusterSpaceSummary(request: DescribeDBClusterSpaceSummaryRequest): Promise<DescribeDBClusterSpaceSummaryResponse>;
|
|
7750
7950
|
describeDBClusterStatusWithOptions(request: DescribeDBClusterStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterStatusResponse>;
|
|
7751
7951
|
describeDBClusterStatus(request: DescribeDBClusterStatusRequest): Promise<DescribeDBClusterStatusResponse>;
|
|
7752
7952
|
describeDBClustersWithOptions(request: DescribeDBClustersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClustersResponse>;
|
|
@@ -7932,7 +8132,7 @@ export default class Client extends OpenApi {
|
|
|
7932
8132
|
modifyDBClusterDescription(request: ModifyDBClusterDescriptionRequest): Promise<ModifyDBClusterDescriptionResponse>;
|
|
7933
8133
|
modifyDBClusterMaintainTimeWithOptions(request: ModifyDBClusterMaintainTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMaintainTimeResponse>;
|
|
7934
8134
|
modifyDBClusterMaintainTime(request: ModifyDBClusterMaintainTimeRequest): Promise<ModifyDBClusterMaintainTimeResponse>;
|
|
7935
|
-
modifyDBResourceGroupWithOptions(
|
|
8135
|
+
modifyDBResourceGroupWithOptions(tmpReq: ModifyDBResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBResourceGroupResponse>;
|
|
7936
8136
|
modifyDBResourceGroup(request: ModifyDBResourceGroupRequest): Promise<ModifyDBResourceGroupResponse>;
|
|
7937
8137
|
modifyElasticPlanWithOptions(request: ModifyElasticPlanRequest, runtime: $Util.RuntimeOptions): Promise<ModifyElasticPlanResponse>;
|
|
7938
8138
|
modifyElasticPlan(request: ModifyElasticPlanRequest): Promise<ModifyElasticPlanResponse>;
|