@alicloud/sas20181203 2.2.3 → 2.3.0

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.js CHANGED
@@ -20141,6 +20141,62 @@ class GetCheckSummaryResponse extends $tea.Model {
20141
20141
  }
20142
20142
  }
20143
20143
  exports.GetCheckSummaryResponse = GetCheckSummaryResponse;
20144
+ class GetClientInstallationStatisticRequest extends $tea.Model {
20145
+ constructor(map) {
20146
+ super(map);
20147
+ }
20148
+ static names() {
20149
+ return {
20150
+ timeEnd: 'TimeEnd',
20151
+ timeStart: 'TimeStart',
20152
+ };
20153
+ }
20154
+ static types() {
20155
+ return {
20156
+ timeEnd: 'number',
20157
+ timeStart: 'number',
20158
+ };
20159
+ }
20160
+ }
20161
+ exports.GetClientInstallationStatisticRequest = GetClientInstallationStatisticRequest;
20162
+ class GetClientInstallationStatisticResponseBody extends $tea.Model {
20163
+ constructor(map) {
20164
+ super(map);
20165
+ }
20166
+ static names() {
20167
+ return {
20168
+ clientInstallRatio: 'ClientInstallRatio',
20169
+ requestId: 'RequestId',
20170
+ };
20171
+ }
20172
+ static types() {
20173
+ return {
20174
+ clientInstallRatio: GetClientInstallationStatisticResponseBodyClientInstallRatio,
20175
+ requestId: 'string',
20176
+ };
20177
+ }
20178
+ }
20179
+ exports.GetClientInstallationStatisticResponseBody = GetClientInstallationStatisticResponseBody;
20180
+ class GetClientInstallationStatisticResponse extends $tea.Model {
20181
+ constructor(map) {
20182
+ super(map);
20183
+ }
20184
+ static names() {
20185
+ return {
20186
+ headers: 'headers',
20187
+ statusCode: 'statusCode',
20188
+ body: 'body',
20189
+ };
20190
+ }
20191
+ static types() {
20192
+ return {
20193
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20194
+ statusCode: 'number',
20195
+ body: GetClientInstallationStatisticResponseBody,
20196
+ };
20197
+ }
20198
+ }
20199
+ exports.GetClientInstallationStatisticResponse = GetClientInstallationStatisticResponse;
20144
20200
  class GetClientRatioStatisticRequest extends $tea.Model {
20145
20201
  constructor(map) {
20146
20202
  super(map);
@@ -22803,6 +22859,66 @@ class ListCheckInstanceResultResponse extends $tea.Model {
22803
22859
  }
22804
22860
  }
22805
22861
  exports.ListCheckInstanceResultResponse = ListCheckInstanceResultResponse;
22862
+ class ListCheckItemRequest extends $tea.Model {
22863
+ constructor(map) {
22864
+ super(map);
22865
+ }
22866
+ static names() {
22867
+ return {
22868
+ currentPage: 'CurrentPage',
22869
+ lang: 'Lang',
22870
+ pageSize: 'PageSize',
22871
+ };
22872
+ }
22873
+ static types() {
22874
+ return {
22875
+ currentPage: 'number',
22876
+ lang: 'string',
22877
+ pageSize: 'number',
22878
+ };
22879
+ }
22880
+ }
22881
+ exports.ListCheckItemRequest = ListCheckItemRequest;
22882
+ class ListCheckItemResponseBody extends $tea.Model {
22883
+ constructor(map) {
22884
+ super(map);
22885
+ }
22886
+ static names() {
22887
+ return {
22888
+ checkItems: 'CheckItems',
22889
+ pageInfo: 'PageInfo',
22890
+ requestId: 'RequestId',
22891
+ };
22892
+ }
22893
+ static types() {
22894
+ return {
22895
+ checkItems: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItems },
22896
+ pageInfo: ListCheckItemResponseBodyPageInfo,
22897
+ requestId: 'string',
22898
+ };
22899
+ }
22900
+ }
22901
+ exports.ListCheckItemResponseBody = ListCheckItemResponseBody;
22902
+ class ListCheckItemResponse extends $tea.Model {
22903
+ constructor(map) {
22904
+ super(map);
22905
+ }
22906
+ static names() {
22907
+ return {
22908
+ headers: 'headers',
22909
+ statusCode: 'statusCode',
22910
+ body: 'body',
22911
+ };
22912
+ }
22913
+ static types() {
22914
+ return {
22915
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22916
+ statusCode: 'number',
22917
+ body: ListCheckItemResponseBody,
22918
+ };
22919
+ }
22920
+ }
22921
+ exports.ListCheckItemResponse = ListCheckItemResponse;
22806
22922
  class ListCheckItemWarningMachineRequest extends $tea.Model {
22807
22923
  constructor(map) {
22808
22924
  super(map);
@@ -39049,6 +39165,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
39049
39165
  k8sNodeId: 'K8sNodeId',
39050
39166
  k8sNodeName: 'K8sNodeName',
39051
39167
  k8sPodName: 'K8sPodName',
39168
+ largeModel: 'LargeModel',
39052
39169
  lastTime: 'LastTime',
39053
39170
  lastTimeStamp: 'LastTimeStamp',
39054
39171
  level: 'Level',
@@ -39105,6 +39222,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
39105
39222
  k8sNodeId: 'string',
39106
39223
  k8sNodeName: 'string',
39107
39224
  k8sPodName: 'string',
39225
+ largeModel: 'boolean',
39108
39226
  lastTime: 'string',
39109
39227
  lastTimeStamp: 'number',
39110
39228
  level: 'string',
@@ -41329,6 +41447,106 @@ class GetCheckSummaryResponseBodySummarys extends $tea.Model {
41329
41447
  }
41330
41448
  }
41331
41449
  exports.GetCheckSummaryResponseBodySummarys = GetCheckSummaryResponseBodySummarys;
41450
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
41451
+ constructor(map) {
41452
+ super(map);
41453
+ }
41454
+ static names() {
41455
+ return {
41456
+ assetTotalCount: 'AssetTotalCount',
41457
+ calculateTime: 'CalculateTime',
41458
+ installRatio: 'InstallRatio',
41459
+ installedAssetCount: 'InstalledAssetCount',
41460
+ };
41461
+ }
41462
+ static types() {
41463
+ return {
41464
+ assetTotalCount: 'number',
41465
+ calculateTime: 'number',
41466
+ installRatio: 'number',
41467
+ installedAssetCount: 'number',
41468
+ };
41469
+ }
41470
+ }
41471
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems = GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems;
41472
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
41473
+ constructor(map) {
41474
+ super(map);
41475
+ }
41476
+ static names() {
41477
+ return {
41478
+ items: 'Items',
41479
+ vendor: 'Vendor',
41480
+ };
41481
+ }
41482
+ static types() {
41483
+ return {
41484
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems },
41485
+ vendor: 'number',
41486
+ };
41487
+ }
41488
+ }
41489
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems = GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems;
41490
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
41491
+ constructor(map) {
41492
+ super(map);
41493
+ }
41494
+ static names() {
41495
+ return {
41496
+ assetTotalCount: 'AssetTotalCount',
41497
+ calculateTime: 'CalculateTime',
41498
+ installRatio: 'InstallRatio',
41499
+ installedAssetCount: 'InstalledAssetCount',
41500
+ };
41501
+ }
41502
+ static types() {
41503
+ return {
41504
+ assetTotalCount: 'number',
41505
+ calculateTime: 'number',
41506
+ installRatio: 'number',
41507
+ installedAssetCount: 'number',
41508
+ };
41509
+ }
41510
+ }
41511
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems = GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems;
41512
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
41513
+ constructor(map) {
41514
+ super(map);
41515
+ }
41516
+ static names() {
41517
+ return {
41518
+ items: 'Items',
41519
+ vendor: 'Vendor',
41520
+ };
41521
+ }
41522
+ static types() {
41523
+ return {
41524
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems },
41525
+ vendor: 'number',
41526
+ };
41527
+ }
41528
+ }
41529
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems = GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems;
41530
+ class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
41531
+ constructor(map) {
41532
+ super(map);
41533
+ }
41534
+ static names() {
41535
+ return {
41536
+ currentItems: 'CurrentItems',
41537
+ dates: 'Dates',
41538
+ historyItems: 'HistoryItems',
41539
+ };
41540
+ }
41541
+ static types() {
41542
+ return {
41543
+ currentItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems },
41544
+ dates: { 'type': 'array', 'itemType': 'number' },
41545
+ historyItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems },
41546
+ };
41547
+ }
41548
+ }
41549
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatio = GetClientInstallationStatisticResponseBodyClientInstallRatio;
41332
41550
  class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
41333
41551
  constructor(map) {
41334
41552
  super(map);
@@ -42857,6 +43075,102 @@ class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
42857
43075
  }
42858
43076
  }
42859
43077
  exports.ListCheckInstanceResultResponseBodyPageInfo = ListCheckInstanceResultResponseBodyPageInfo;
43078
+ class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
43079
+ constructor(map) {
43080
+ super(map);
43081
+ }
43082
+ static names() {
43083
+ return {
43084
+ defaultValue: 'DefaultValue',
43085
+ name: 'Name',
43086
+ showName: 'ShowName',
43087
+ typeDefine: 'TypeDefine',
43088
+ value: 'Value',
43089
+ };
43090
+ }
43091
+ static types() {
43092
+ return {
43093
+ defaultValue: 'string',
43094
+ name: 'string',
43095
+ showName: 'string',
43096
+ typeDefine: 'string',
43097
+ value: 'string',
43098
+ };
43099
+ }
43100
+ }
43101
+ exports.ListCheckItemResponseBodyCheckItemsCustomConfigs = ListCheckItemResponseBodyCheckItemsCustomConfigs;
43102
+ class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
43103
+ constructor(map) {
43104
+ super(map);
43105
+ }
43106
+ static names() {
43107
+ return {
43108
+ type: 'Type',
43109
+ value: 'Value',
43110
+ };
43111
+ }
43112
+ static types() {
43113
+ return {
43114
+ type: 'string',
43115
+ value: 'string',
43116
+ };
43117
+ }
43118
+ }
43119
+ exports.ListCheckItemResponseBodyCheckItemsDescription = ListCheckItemResponseBodyCheckItemsDescription;
43120
+ class ListCheckItemResponseBodyCheckItems extends $tea.Model {
43121
+ constructor(map) {
43122
+ super(map);
43123
+ }
43124
+ static names() {
43125
+ return {
43126
+ checkId: 'CheckId',
43127
+ checkShowName: 'CheckShowName',
43128
+ customConfigs: 'CustomConfigs',
43129
+ description: 'Description',
43130
+ instanceSubType: 'InstanceSubType',
43131
+ instanceType: 'InstanceType',
43132
+ riskLevel: 'RiskLevel',
43133
+ sectionIds: 'SectionIds',
43134
+ vendor: 'Vendor',
43135
+ };
43136
+ }
43137
+ static types() {
43138
+ return {
43139
+ checkId: 'number',
43140
+ checkShowName: 'string',
43141
+ customConfigs: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItemsCustomConfigs },
43142
+ description: ListCheckItemResponseBodyCheckItemsDescription,
43143
+ instanceSubType: 'string',
43144
+ instanceType: 'string',
43145
+ riskLevel: 'string',
43146
+ sectionIds: { 'type': 'array', 'itemType': 'number' },
43147
+ vendor: 'string',
43148
+ };
43149
+ }
43150
+ }
43151
+ exports.ListCheckItemResponseBodyCheckItems = ListCheckItemResponseBodyCheckItems;
43152
+ class ListCheckItemResponseBodyPageInfo extends $tea.Model {
43153
+ constructor(map) {
43154
+ super(map);
43155
+ }
43156
+ static names() {
43157
+ return {
43158
+ count: 'Count',
43159
+ currentPage: 'CurrentPage',
43160
+ pageSize: 'PageSize',
43161
+ totalCount: 'TotalCount',
43162
+ };
43163
+ }
43164
+ static types() {
43165
+ return {
43166
+ count: 'number',
43167
+ currentPage: 'number',
43168
+ pageSize: 'number',
43169
+ totalCount: 'number',
43170
+ };
43171
+ }
43172
+ }
43173
+ exports.ListCheckItemResponseBodyPageInfo = ListCheckItemResponseBodyPageInfo;
42860
43174
  class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
42861
43175
  constructor(map) {
42862
43176
  super(map);
@@ -56801,6 +57115,50 @@ class Client extends openapi_client_1.default {
56801
57115
  let runtime = new $Util.RuntimeOptions({});
56802
57116
  return await this.getCheckSummaryWithOptions(request, runtime);
56803
57117
  }
57118
+ /**
57119
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
57120
+ *
57121
+ * @param request GetClientInstallationStatisticRequest
57122
+ * @param runtime runtime options for this request RuntimeOptions
57123
+ * @return GetClientInstallationStatisticResponse
57124
+ */
57125
+ // Deprecated
57126
+ async getClientInstallationStatisticWithOptions(request, runtime) {
57127
+ tea_util_1.default.validateModel(request);
57128
+ let query = {};
57129
+ if (!tea_util_1.default.isUnset(request.timeEnd)) {
57130
+ query["TimeEnd"] = request.timeEnd;
57131
+ }
57132
+ if (!tea_util_1.default.isUnset(request.timeStart)) {
57133
+ query["TimeStart"] = request.timeStart;
57134
+ }
57135
+ let req = new $OpenApi.OpenApiRequest({
57136
+ query: openapi_util_1.default.query(query),
57137
+ });
57138
+ let params = new $OpenApi.Params({
57139
+ action: "GetClientInstallationStatistic",
57140
+ version: "2018-12-03",
57141
+ protocol: "HTTPS",
57142
+ pathname: "/",
57143
+ method: "POST",
57144
+ authType: "AK",
57145
+ style: "RPC",
57146
+ reqBodyType: "formData",
57147
+ bodyType: "json",
57148
+ });
57149
+ return $tea.cast(await this.callApi(params, req, runtime), new GetClientInstallationStatisticResponse({}));
57150
+ }
57151
+ /**
57152
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
57153
+ *
57154
+ * @param request GetClientInstallationStatisticRequest
57155
+ * @return GetClientInstallationStatisticResponse
57156
+ */
57157
+ // Deprecated
57158
+ async getClientInstallationStatistic(request) {
57159
+ let runtime = new $Util.RuntimeOptions({});
57160
+ return await this.getClientInstallationStatisticWithOptions(request, runtime);
57161
+ }
56804
57162
  async getClientRatioStatisticWithOptions(request, runtime) {
56805
57163
  tea_util_1.default.validateModel(request);
56806
57164
  let query = {};
@@ -58255,6 +58613,38 @@ class Client extends openapi_client_1.default {
58255
58613
  let runtime = new $Util.RuntimeOptions({});
58256
58614
  return await this.listCheckInstanceResultWithOptions(request, runtime);
58257
58615
  }
58616
+ async listCheckItemWithOptions(request, runtime) {
58617
+ tea_util_1.default.validateModel(request);
58618
+ let query = {};
58619
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
58620
+ query["CurrentPage"] = request.currentPage;
58621
+ }
58622
+ if (!tea_util_1.default.isUnset(request.lang)) {
58623
+ query["Lang"] = request.lang;
58624
+ }
58625
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
58626
+ query["PageSize"] = request.pageSize;
58627
+ }
58628
+ let req = new $OpenApi.OpenApiRequest({
58629
+ query: openapi_util_1.default.query(query),
58630
+ });
58631
+ let params = new $OpenApi.Params({
58632
+ action: "ListCheckItem",
58633
+ version: "2018-12-03",
58634
+ protocol: "HTTPS",
58635
+ pathname: "/",
58636
+ method: "POST",
58637
+ authType: "AK",
58638
+ style: "RPC",
58639
+ reqBodyType: "formData",
58640
+ bodyType: "json",
58641
+ });
58642
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCheckItemResponse({}));
58643
+ }
58644
+ async listCheckItem(request) {
58645
+ let runtime = new $Util.RuntimeOptions({});
58646
+ return await this.listCheckItemWithOptions(request, runtime);
58647
+ }
58258
58648
  async listCheckItemWarningMachineWithOptions(request, runtime) {
58259
58649
  tea_util_1.default.validateModel(request);
58260
58650
  let query = {};