@alicloud/dataworks-public20200518 4.3.20 → 4.3.21

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 CHANGED
@@ -453,11 +453,11 @@ export declare class CreateBaselineRequest extends $tea.Model {
453
453
  alertMarginThreshold?: number;
454
454
  baselineName?: string;
455
455
  baselineType?: string;
456
+ nodeIds?: string;
456
457
  overtimeSettings?: CreateBaselineRequestOvertimeSettings[];
457
458
  owner?: string;
458
459
  priority?: number;
459
460
  projectId?: number;
460
- taskIds?: string;
461
461
  static names(): {
462
462
  [key: string]: string;
463
463
  };
@@ -9237,6 +9237,52 @@ export declare class ListTopicsResponse extends $tea.Model {
9237
9237
  [key: string]: any;
9238
9238
  });
9239
9239
  }
9240
+ export declare class MountDirectoryRequest extends $tea.Model {
9241
+ targetId?: string;
9242
+ targetType?: string;
9243
+ static names(): {
9244
+ [key: string]: string;
9245
+ };
9246
+ static types(): {
9247
+ [key: string]: any;
9248
+ };
9249
+ constructor(map?: {
9250
+ [key: string]: any;
9251
+ });
9252
+ }
9253
+ export declare class MountDirectoryResponseBody extends $tea.Model {
9254
+ data?: number;
9255
+ errorCode?: string;
9256
+ errorMessage?: string;
9257
+ httpStatusCode?: number;
9258
+ requestId?: string;
9259
+ success?: boolean;
9260
+ static names(): {
9261
+ [key: string]: string;
9262
+ };
9263
+ static types(): {
9264
+ [key: string]: any;
9265
+ };
9266
+ constructor(map?: {
9267
+ [key: string]: any;
9268
+ });
9269
+ }
9270
+ export declare class MountDirectoryResponse extends $tea.Model {
9271
+ headers: {
9272
+ [key: string]: string;
9273
+ };
9274
+ statusCode: number;
9275
+ body: MountDirectoryResponseBody;
9276
+ static names(): {
9277
+ [key: string]: string;
9278
+ };
9279
+ static types(): {
9280
+ [key: string]: any;
9281
+ };
9282
+ constructor(map?: {
9283
+ [key: string]: any;
9284
+ });
9285
+ }
9240
9286
  export declare class OfflineNodeRequest extends $tea.Model {
9241
9287
  nodeId?: number;
9242
9288
  projectId?: number;
@@ -10566,6 +10612,52 @@ export declare class TopTenErrorTimesInstanceResponse extends $tea.Model {
10566
10612
  [key: string]: any;
10567
10613
  });
10568
10614
  }
10615
+ export declare class UmountDirectoryRequest extends $tea.Model {
10616
+ targetId?: string;
10617
+ targetType?: string;
10618
+ static names(): {
10619
+ [key: string]: string;
10620
+ };
10621
+ static types(): {
10622
+ [key: string]: any;
10623
+ };
10624
+ constructor(map?: {
10625
+ [key: string]: any;
10626
+ });
10627
+ }
10628
+ export declare class UmountDirectoryResponseBody extends $tea.Model {
10629
+ data?: number;
10630
+ errorCode?: string;
10631
+ errorMessage?: string;
10632
+ httpStatusCode?: number;
10633
+ requestId?: string;
10634
+ success?: boolean;
10635
+ static names(): {
10636
+ [key: string]: string;
10637
+ };
10638
+ static types(): {
10639
+ [key: string]: any;
10640
+ };
10641
+ constructor(map?: {
10642
+ [key: string]: any;
10643
+ });
10644
+ }
10645
+ export declare class UmountDirectoryResponse extends $tea.Model {
10646
+ headers: {
10647
+ [key: string]: string;
10648
+ };
10649
+ statusCode: number;
10650
+ body: UmountDirectoryResponseBody;
10651
+ static names(): {
10652
+ [key: string]: string;
10653
+ };
10654
+ static types(): {
10655
+ [key: string]: any;
10656
+ };
10657
+ constructor(map?: {
10658
+ [key: string]: any;
10659
+ });
10660
+ }
10569
10661
  export declare class UpdateBaselineRequest extends $tea.Model {
10570
10662
  alertEnabled?: boolean;
10571
10663
  alertMarginThreshold?: number;
@@ -10574,12 +10666,12 @@ export declare class UpdateBaselineRequest extends $tea.Model {
10574
10666
  baselineName?: string;
10575
10667
  baselineType?: string;
10576
10668
  enabled?: boolean;
10669
+ nodeIds?: string;
10577
10670
  overtimeSettings?: UpdateBaselineRequestOvertimeSettings[];
10578
10671
  owner?: string;
10579
10672
  priority?: number;
10580
10673
  projectId?: number;
10581
- removeTaskIds?: string;
10582
- taskIds?: string;
10674
+ removeNodeIds?: string;
10583
10675
  static names(): {
10584
10676
  [key: string]: string;
10585
10677
  };
@@ -10598,12 +10690,12 @@ export declare class UpdateBaselineShrinkRequest extends $tea.Model {
10598
10690
  baselineName?: string;
10599
10691
  baselineType?: string;
10600
10692
  enabled?: boolean;
10693
+ nodeIds?: string;
10601
10694
  overtimeSettingsShrink?: string;
10602
10695
  owner?: string;
10603
10696
  priority?: number;
10604
10697
  projectId?: number;
10605
- removeTaskIds?: string;
10606
- taskIds?: string;
10698
+ removeNodeIds?: string;
10607
10699
  static names(): {
10608
10700
  [key: string]: string;
10609
10701
  };
@@ -18427,6 +18519,8 @@ export default class Client extends OpenApi {
18427
18519
  listTableTheme(request: ListTableThemeRequest): Promise<ListTableThemeResponse>;
18428
18520
  listTopicsWithOptions(request: ListTopicsRequest, runtime: $Util.RuntimeOptions): Promise<ListTopicsResponse>;
18429
18521
  listTopics(request: ListTopicsRequest): Promise<ListTopicsResponse>;
18522
+ mountDirectoryWithOptions(request: MountDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<MountDirectoryResponse>;
18523
+ mountDirectory(request: MountDirectoryRequest): Promise<MountDirectoryResponse>;
18430
18524
  offlineNodeWithOptions(request: OfflineNodeRequest, runtime: $Util.RuntimeOptions): Promise<OfflineNodeResponse>;
18431
18525
  offlineNode(request: OfflineNodeRequest): Promise<OfflineNodeResponse>;
18432
18526
  publishDataServiceApiWithOptions(request: PublishDataServiceApiRequest, runtime: $Util.RuntimeOptions): Promise<PublishDataServiceApiResponse>;
@@ -18511,6 +18605,8 @@ export default class Client extends OpenApi {
18511
18605
  topTenElapsedTimeInstance(request: TopTenElapsedTimeInstanceRequest): Promise<TopTenElapsedTimeInstanceResponse>;
18512
18606
  topTenErrorTimesInstanceWithOptions(request: TopTenErrorTimesInstanceRequest, runtime: $Util.RuntimeOptions): Promise<TopTenErrorTimesInstanceResponse>;
18513
18607
  topTenErrorTimesInstance(request: TopTenErrorTimesInstanceRequest): Promise<TopTenErrorTimesInstanceResponse>;
18608
+ umountDirectoryWithOptions(request: UmountDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<UmountDirectoryResponse>;
18609
+ umountDirectory(request: UmountDirectoryRequest): Promise<UmountDirectoryResponse>;
18514
18610
  updateBaselineWithOptions(tmpReq: UpdateBaselineRequest, runtime: $Util.RuntimeOptions): Promise<UpdateBaselineResponse>;
18515
18611
  updateBaseline(request: UpdateBaselineRequest): Promise<UpdateBaselineResponse>;
18516
18612
  updateBusinessWithOptions(request: UpdateBusinessRequest, runtime: $Util.RuntimeOptions): Promise<UpdateBusinessResponse>;
package/dist/client.js CHANGED
@@ -646,11 +646,11 @@ class CreateBaselineRequest extends $tea.Model {
646
646
  alertMarginThreshold: 'AlertMarginThreshold',
647
647
  baselineName: 'BaselineName',
648
648
  baselineType: 'BaselineType',
649
+ nodeIds: 'NodeIds',
649
650
  overtimeSettings: 'OvertimeSettings',
650
651
  owner: 'Owner',
651
652
  priority: 'Priority',
652
653
  projectId: 'ProjectId',
653
- taskIds: 'TaskIds',
654
654
  };
655
655
  }
656
656
  static types() {
@@ -658,11 +658,11 @@ class CreateBaselineRequest extends $tea.Model {
658
658
  alertMarginThreshold: 'number',
659
659
  baselineName: 'string',
660
660
  baselineType: 'string',
661
+ nodeIds: 'string',
661
662
  overtimeSettings: { 'type': 'array', 'itemType': CreateBaselineRequestOvertimeSettings },
662
663
  owner: 'string',
663
664
  priority: 'number',
664
665
  projectId: 'number',
665
- taskIds: 'string',
666
666
  };
667
667
  }
668
668
  }
@@ -12997,6 +12997,70 @@ class ListTopicsResponse extends $tea.Model {
12997
12997
  }
12998
12998
  }
12999
12999
  exports.ListTopicsResponse = ListTopicsResponse;
13000
+ class MountDirectoryRequest extends $tea.Model {
13001
+ constructor(map) {
13002
+ super(map);
13003
+ }
13004
+ static names() {
13005
+ return {
13006
+ targetId: 'TargetId',
13007
+ targetType: 'TargetType',
13008
+ };
13009
+ }
13010
+ static types() {
13011
+ return {
13012
+ targetId: 'string',
13013
+ targetType: 'string',
13014
+ };
13015
+ }
13016
+ }
13017
+ exports.MountDirectoryRequest = MountDirectoryRequest;
13018
+ class MountDirectoryResponseBody extends $tea.Model {
13019
+ constructor(map) {
13020
+ super(map);
13021
+ }
13022
+ static names() {
13023
+ return {
13024
+ data: 'Data',
13025
+ errorCode: 'ErrorCode',
13026
+ errorMessage: 'ErrorMessage',
13027
+ httpStatusCode: 'HttpStatusCode',
13028
+ requestId: 'RequestId',
13029
+ success: 'Success',
13030
+ };
13031
+ }
13032
+ static types() {
13033
+ return {
13034
+ data: 'number',
13035
+ errorCode: 'string',
13036
+ errorMessage: 'string',
13037
+ httpStatusCode: 'number',
13038
+ requestId: 'string',
13039
+ success: 'boolean',
13040
+ };
13041
+ }
13042
+ }
13043
+ exports.MountDirectoryResponseBody = MountDirectoryResponseBody;
13044
+ class MountDirectoryResponse extends $tea.Model {
13045
+ constructor(map) {
13046
+ super(map);
13047
+ }
13048
+ static names() {
13049
+ return {
13050
+ headers: 'headers',
13051
+ statusCode: 'statusCode',
13052
+ body: 'body',
13053
+ };
13054
+ }
13055
+ static types() {
13056
+ return {
13057
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13058
+ statusCode: 'number',
13059
+ body: MountDirectoryResponseBody,
13060
+ };
13061
+ }
13062
+ }
13063
+ exports.MountDirectoryResponse = MountDirectoryResponse;
13000
13064
  class OfflineNodeRequest extends $tea.Model {
13001
13065
  constructor(map) {
13002
13066
  super(map);
@@ -14831,6 +14895,70 @@ class TopTenErrorTimesInstanceResponse extends $tea.Model {
14831
14895
  }
14832
14896
  }
14833
14897
  exports.TopTenErrorTimesInstanceResponse = TopTenErrorTimesInstanceResponse;
14898
+ class UmountDirectoryRequest extends $tea.Model {
14899
+ constructor(map) {
14900
+ super(map);
14901
+ }
14902
+ static names() {
14903
+ return {
14904
+ targetId: 'TargetId',
14905
+ targetType: 'TargetType',
14906
+ };
14907
+ }
14908
+ static types() {
14909
+ return {
14910
+ targetId: 'string',
14911
+ targetType: 'string',
14912
+ };
14913
+ }
14914
+ }
14915
+ exports.UmountDirectoryRequest = UmountDirectoryRequest;
14916
+ class UmountDirectoryResponseBody extends $tea.Model {
14917
+ constructor(map) {
14918
+ super(map);
14919
+ }
14920
+ static names() {
14921
+ return {
14922
+ data: 'Data',
14923
+ errorCode: 'ErrorCode',
14924
+ errorMessage: 'ErrorMessage',
14925
+ httpStatusCode: 'HttpStatusCode',
14926
+ requestId: 'RequestId',
14927
+ success: 'Success',
14928
+ };
14929
+ }
14930
+ static types() {
14931
+ return {
14932
+ data: 'number',
14933
+ errorCode: 'string',
14934
+ errorMessage: 'string',
14935
+ httpStatusCode: 'number',
14936
+ requestId: 'string',
14937
+ success: 'boolean',
14938
+ };
14939
+ }
14940
+ }
14941
+ exports.UmountDirectoryResponseBody = UmountDirectoryResponseBody;
14942
+ class UmountDirectoryResponse extends $tea.Model {
14943
+ constructor(map) {
14944
+ super(map);
14945
+ }
14946
+ static names() {
14947
+ return {
14948
+ headers: 'headers',
14949
+ statusCode: 'statusCode',
14950
+ body: 'body',
14951
+ };
14952
+ }
14953
+ static types() {
14954
+ return {
14955
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14956
+ statusCode: 'number',
14957
+ body: UmountDirectoryResponseBody,
14958
+ };
14959
+ }
14960
+ }
14961
+ exports.UmountDirectoryResponse = UmountDirectoryResponse;
14834
14962
  class UpdateBaselineRequest extends $tea.Model {
14835
14963
  constructor(map) {
14836
14964
  super(map);
@@ -14844,12 +14972,12 @@ class UpdateBaselineRequest extends $tea.Model {
14844
14972
  baselineName: 'BaselineName',
14845
14973
  baselineType: 'BaselineType',
14846
14974
  enabled: 'Enabled',
14975
+ nodeIds: 'NodeIds',
14847
14976
  overtimeSettings: 'OvertimeSettings',
14848
14977
  owner: 'Owner',
14849
14978
  priority: 'Priority',
14850
14979
  projectId: 'ProjectId',
14851
- removeTaskIds: 'RemoveTaskIds',
14852
- taskIds: 'TaskIds',
14980
+ removeNodeIds: 'RemoveNodeIds',
14853
14981
  };
14854
14982
  }
14855
14983
  static types() {
@@ -14861,12 +14989,12 @@ class UpdateBaselineRequest extends $tea.Model {
14861
14989
  baselineName: 'string',
14862
14990
  baselineType: 'string',
14863
14991
  enabled: 'boolean',
14992
+ nodeIds: 'string',
14864
14993
  overtimeSettings: { 'type': 'array', 'itemType': UpdateBaselineRequestOvertimeSettings },
14865
14994
  owner: 'string',
14866
14995
  priority: 'number',
14867
14996
  projectId: 'number',
14868
- removeTaskIds: 'string',
14869
- taskIds: 'string',
14997
+ removeNodeIds: 'string',
14870
14998
  };
14871
14999
  }
14872
15000
  }
@@ -14884,12 +15012,12 @@ class UpdateBaselineShrinkRequest extends $tea.Model {
14884
15012
  baselineName: 'BaselineName',
14885
15013
  baselineType: 'BaselineType',
14886
15014
  enabled: 'Enabled',
15015
+ nodeIds: 'NodeIds',
14887
15016
  overtimeSettingsShrink: 'OvertimeSettings',
14888
15017
  owner: 'Owner',
14889
15018
  priority: 'Priority',
14890
15019
  projectId: 'ProjectId',
14891
- removeTaskIds: 'RemoveTaskIds',
14892
- taskIds: 'TaskIds',
15020
+ removeNodeIds: 'RemoveNodeIds',
14893
15021
  };
14894
15022
  }
14895
15023
  static types() {
@@ -14901,12 +15029,12 @@ class UpdateBaselineShrinkRequest extends $tea.Model {
14901
15029
  baselineName: 'string',
14902
15030
  baselineType: 'string',
14903
15031
  enabled: 'boolean',
15032
+ nodeIds: 'string',
14904
15033
  overtimeSettingsShrink: 'string',
14905
15034
  owner: 'string',
14906
15035
  priority: 'number',
14907
15036
  projectId: 'number',
14908
- removeTaskIds: 'string',
14909
- taskIds: 'string',
15037
+ removeNodeIds: 'string',
14910
15038
  };
14911
15039
  }
14912
15040
  }
@@ -26175,6 +26303,9 @@ class Client extends openapi_client_1.default {
26175
26303
  if (!tea_util_1.default.isUnset(request.baselineType)) {
26176
26304
  body["BaselineType"] = request.baselineType;
26177
26305
  }
26306
+ if (!tea_util_1.default.isUnset(request.nodeIds)) {
26307
+ body["NodeIds"] = request.nodeIds;
26308
+ }
26178
26309
  if (!tea_util_1.default.isUnset(request.overtimeSettings)) {
26179
26310
  body["OvertimeSettings"] = request.overtimeSettings;
26180
26311
  }
@@ -26187,9 +26318,6 @@ class Client extends openapi_client_1.default {
26187
26318
  if (!tea_util_1.default.isUnset(request.projectId)) {
26188
26319
  body["ProjectId"] = request.projectId;
26189
26320
  }
26190
- if (!tea_util_1.default.isUnset(request.taskIds)) {
26191
- body["TaskIds"] = request.taskIds;
26192
- }
26193
26321
  let req = new $OpenApi.OpenApiRequest({
26194
26322
  body: openapi_util_1.default.parseToMap(body),
26195
26323
  });
@@ -33113,6 +33241,35 @@ class Client extends openapi_client_1.default {
33113
33241
  let runtime = new $Util.RuntimeOptions({});
33114
33242
  return await this.listTopicsWithOptions(request, runtime);
33115
33243
  }
33244
+ async mountDirectoryWithOptions(request, runtime) {
33245
+ tea_util_1.default.validateModel(request);
33246
+ let body = {};
33247
+ if (!tea_util_1.default.isUnset(request.targetId)) {
33248
+ body["TargetId"] = request.targetId;
33249
+ }
33250
+ if (!tea_util_1.default.isUnset(request.targetType)) {
33251
+ body["TargetType"] = request.targetType;
33252
+ }
33253
+ let req = new $OpenApi.OpenApiRequest({
33254
+ body: openapi_util_1.default.parseToMap(body),
33255
+ });
33256
+ let params = new $OpenApi.Params({
33257
+ action: "MountDirectory",
33258
+ version: "2020-05-18",
33259
+ protocol: "HTTPS",
33260
+ pathname: "/",
33261
+ method: "POST",
33262
+ authType: "AK",
33263
+ style: "RPC",
33264
+ reqBodyType: "formData",
33265
+ bodyType: "json",
33266
+ });
33267
+ return $tea.cast(await this.callApi(params, req, runtime), new MountDirectoryResponse({}));
33268
+ }
33269
+ async mountDirectory(request) {
33270
+ let runtime = new $Util.RuntimeOptions({});
33271
+ return await this.mountDirectoryWithOptions(request, runtime);
33272
+ }
33116
33273
  async offlineNodeWithOptions(request, runtime) {
33117
33274
  tea_util_1.default.validateModel(request);
33118
33275
  let body = {};
@@ -34139,6 +34296,35 @@ class Client extends openapi_client_1.default {
34139
34296
  let runtime = new $Util.RuntimeOptions({});
34140
34297
  return await this.topTenErrorTimesInstanceWithOptions(request, runtime);
34141
34298
  }
34299
+ async umountDirectoryWithOptions(request, runtime) {
34300
+ tea_util_1.default.validateModel(request);
34301
+ let body = {};
34302
+ if (!tea_util_1.default.isUnset(request.targetId)) {
34303
+ body["TargetId"] = request.targetId;
34304
+ }
34305
+ if (!tea_util_1.default.isUnset(request.targetType)) {
34306
+ body["TargetType"] = request.targetType;
34307
+ }
34308
+ let req = new $OpenApi.OpenApiRequest({
34309
+ body: openapi_util_1.default.parseToMap(body),
34310
+ });
34311
+ let params = new $OpenApi.Params({
34312
+ action: "UmountDirectory",
34313
+ version: "2020-05-18",
34314
+ protocol: "HTTPS",
34315
+ pathname: "/",
34316
+ method: "POST",
34317
+ authType: "AK",
34318
+ style: "RPC",
34319
+ reqBodyType: "formData",
34320
+ bodyType: "json",
34321
+ });
34322
+ return $tea.cast(await this.callApi(params, req, runtime), new UmountDirectoryResponse({}));
34323
+ }
34324
+ async umountDirectory(request) {
34325
+ let runtime = new $Util.RuntimeOptions({});
34326
+ return await this.umountDirectoryWithOptions(request, runtime);
34327
+ }
34142
34328
  async updateBaselineWithOptions(tmpReq, runtime) {
34143
34329
  tea_util_1.default.validateModel(tmpReq);
34144
34330
  let request = new UpdateBaselineShrinkRequest({});
@@ -34171,6 +34357,9 @@ class Client extends openapi_client_1.default {
34171
34357
  if (!tea_util_1.default.isUnset(request.enabled)) {
34172
34358
  body["Enabled"] = request.enabled;
34173
34359
  }
34360
+ if (!tea_util_1.default.isUnset(request.nodeIds)) {
34361
+ body["NodeIds"] = request.nodeIds;
34362
+ }
34174
34363
  if (!tea_util_1.default.isUnset(request.overtimeSettingsShrink)) {
34175
34364
  body["OvertimeSettings"] = request.overtimeSettingsShrink;
34176
34365
  }
@@ -34183,11 +34372,8 @@ class Client extends openapi_client_1.default {
34183
34372
  if (!tea_util_1.default.isUnset(request.projectId)) {
34184
34373
  body["ProjectId"] = request.projectId;
34185
34374
  }
34186
- if (!tea_util_1.default.isUnset(request.removeTaskIds)) {
34187
- body["RemoveTaskIds"] = request.removeTaskIds;
34188
- }
34189
- if (!tea_util_1.default.isUnset(request.taskIds)) {
34190
- body["TaskIds"] = request.taskIds;
34375
+ if (!tea_util_1.default.isUnset(request.removeNodeIds)) {
34376
+ body["RemoveNodeIds"] = request.removeNodeIds;
34191
34377
  }
34192
34378
  let req = new $OpenApi.OpenApiRequest({
34193
34379
  body: openapi_util_1.default.parseToMap(body),