@alicloud/sas20181203 2.16.0 → 2.17.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.d.ts CHANGED
@@ -863,6 +863,47 @@ export declare class BindAuthToMachineResponse extends $tea.Model {
863
863
  [key: string]: any;
864
864
  });
865
865
  }
866
+ export declare class BindHybridProxyRequest extends $tea.Model {
867
+ clusterName?: string;
868
+ yundunUuids?: string[];
869
+ static names(): {
870
+ [key: string]: string;
871
+ };
872
+ static types(): {
873
+ [key: string]: any;
874
+ };
875
+ constructor(map?: {
876
+ [key: string]: any;
877
+ });
878
+ }
879
+ export declare class BindHybridProxyResponseBody extends $tea.Model {
880
+ requestId?: string;
881
+ static names(): {
882
+ [key: string]: string;
883
+ };
884
+ static types(): {
885
+ [key: string]: any;
886
+ };
887
+ constructor(map?: {
888
+ [key: string]: any;
889
+ });
890
+ }
891
+ export declare class BindHybridProxyResponse extends $tea.Model {
892
+ headers: {
893
+ [key: string]: string;
894
+ };
895
+ statusCode: number;
896
+ body: BindHybridProxyResponseBody;
897
+ static names(): {
898
+ [key: string]: string;
899
+ };
900
+ static types(): {
901
+ [key: string]: any;
902
+ };
903
+ constructor(map?: {
904
+ [key: string]: any;
905
+ });
906
+ }
866
907
  export declare class CancelOnceTaskRequest extends $tea.Model {
867
908
  taskId?: string;
868
909
  static names(): {
@@ -34287,7 +34328,9 @@ export declare class DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails e
34287
34328
  }
34288
34329
  export declare class DescribeRiskTypeResponseBodyRiskTypesSubTypes extends $tea.Model {
34289
34330
  alias?: string;
34331
+ authFlag?: boolean;
34290
34332
  checkDetails?: DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails[];
34333
+ supportedOs?: string;
34291
34334
  typeName?: string;
34292
34335
  static names(): {
34293
34336
  [key: string]: string;
@@ -34301,6 +34344,7 @@ export declare class DescribeRiskTypeResponseBodyRiskTypesSubTypes extends $tea.
34301
34344
  }
34302
34345
  export declare class DescribeRiskTypeResponseBodyRiskTypes extends $tea.Model {
34303
34346
  alias?: string;
34347
+ authFlag?: boolean;
34304
34348
  subTypes?: DescribeRiskTypeResponseBodyRiskTypesSubTypes[];
34305
34349
  typeName?: string;
34306
34350
  static names(): {
@@ -35665,6 +35709,11 @@ export declare class DescribeVulListResponseBodyVulRecords extends $tea.Model {
35665
35709
  instanceName?: string;
35666
35710
  internetIp?: string;
35667
35711
  intranetIp?: string;
35712
+ k8sClusterId?: string;
35713
+ k8sNamespace?: string;
35714
+ k8sNodeId?: string;
35715
+ k8sNodeName?: string;
35716
+ k8sPodName?: string;
35668
35717
  lastTs?: number;
35669
35718
  modifyTs?: number;
35670
35719
  name?: string;
@@ -41871,6 +41920,8 @@ export default class Client extends OpenApi {
41871
41920
  batchOperateCommonOverallConfig(request: BatchOperateCommonOverallConfigRequest): Promise<BatchOperateCommonOverallConfigResponse>;
41872
41921
  bindAuthToMachineWithOptions(request: BindAuthToMachineRequest, runtime: $Util.RuntimeOptions): Promise<BindAuthToMachineResponse>;
41873
41922
  bindAuthToMachine(request: BindAuthToMachineRequest): Promise<BindAuthToMachineResponse>;
41923
+ bindHybridProxyWithOptions(request: BindHybridProxyRequest, runtime: $Util.RuntimeOptions): Promise<BindHybridProxyResponse>;
41924
+ bindHybridProxy(request: BindHybridProxyRequest): Promise<BindHybridProxyResponse>;
41874
41925
  cancelOnceTaskWithOptions(request: CancelOnceTaskRequest, runtime: $Util.RuntimeOptions): Promise<CancelOnceTaskResponse>;
41875
41926
  cancelOnceTask(request: CancelOnceTaskRequest): Promise<CancelOnceTaskResponse>;
41876
41927
  changeAssetRefreshTaskConfigWithOptions(request: ChangeAssetRefreshTaskConfigRequest, runtime: $Util.RuntimeOptions): Promise<ChangeAssetRefreshTaskConfigResponse>;
package/dist/client.js CHANGED
@@ -1209,6 +1209,60 @@ class BindAuthToMachineResponse extends $tea.Model {
1209
1209
  }
1210
1210
  }
1211
1211
  exports.BindAuthToMachineResponse = BindAuthToMachineResponse;
1212
+ class BindHybridProxyRequest extends $tea.Model {
1213
+ constructor(map) {
1214
+ super(map);
1215
+ }
1216
+ static names() {
1217
+ return {
1218
+ clusterName: 'ClusterName',
1219
+ yundunUuids: 'YundunUuids',
1220
+ };
1221
+ }
1222
+ static types() {
1223
+ return {
1224
+ clusterName: 'string',
1225
+ yundunUuids: { 'type': 'array', 'itemType': 'string' },
1226
+ };
1227
+ }
1228
+ }
1229
+ exports.BindHybridProxyRequest = BindHybridProxyRequest;
1230
+ class BindHybridProxyResponseBody extends $tea.Model {
1231
+ constructor(map) {
1232
+ super(map);
1233
+ }
1234
+ static names() {
1235
+ return {
1236
+ requestId: 'RequestId',
1237
+ };
1238
+ }
1239
+ static types() {
1240
+ return {
1241
+ requestId: 'string',
1242
+ };
1243
+ }
1244
+ }
1245
+ exports.BindHybridProxyResponseBody = BindHybridProxyResponseBody;
1246
+ class BindHybridProxyResponse extends $tea.Model {
1247
+ constructor(map) {
1248
+ super(map);
1249
+ }
1250
+ static names() {
1251
+ return {
1252
+ headers: 'headers',
1253
+ statusCode: 'statusCode',
1254
+ body: 'body',
1255
+ };
1256
+ }
1257
+ static types() {
1258
+ return {
1259
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1260
+ statusCode: 'number',
1261
+ body: BindHybridProxyResponseBody,
1262
+ };
1263
+ }
1264
+ }
1265
+ exports.BindHybridProxyResponse = BindHybridProxyResponse;
1212
1266
  class CancelOnceTaskRequest extends $tea.Model {
1213
1267
  constructor(map) {
1214
1268
  super(map);
@@ -48164,14 +48218,18 @@ class DescribeRiskTypeResponseBodyRiskTypesSubTypes extends $tea.Model {
48164
48218
  static names() {
48165
48219
  return {
48166
48220
  alias: 'Alias',
48221
+ authFlag: 'AuthFlag',
48167
48222
  checkDetails: 'CheckDetails',
48223
+ supportedOs: 'SupportedOs',
48168
48224
  typeName: 'TypeName',
48169
48225
  };
48170
48226
  }
48171
48227
  static types() {
48172
48228
  return {
48173
48229
  alias: 'string',
48230
+ authFlag: 'boolean',
48174
48231
  checkDetails: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails },
48232
+ supportedOs: 'string',
48175
48233
  typeName: 'string',
48176
48234
  };
48177
48235
  }
@@ -48184,6 +48242,7 @@ class DescribeRiskTypeResponseBodyRiskTypes extends $tea.Model {
48184
48242
  static names() {
48185
48243
  return {
48186
48244
  alias: 'Alias',
48245
+ authFlag: 'AuthFlag',
48187
48246
  subTypes: 'SubTypes',
48188
48247
  typeName: 'TypeName',
48189
48248
  };
@@ -48191,6 +48250,7 @@ class DescribeRiskTypeResponseBodyRiskTypes extends $tea.Model {
48191
48250
  static types() {
48192
48251
  return {
48193
48252
  alias: 'string',
48253
+ authFlag: 'boolean',
48194
48254
  subTypes: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypes },
48195
48255
  typeName: 'string',
48196
48256
  };
@@ -50287,6 +50347,11 @@ class DescribeVulListResponseBodyVulRecords extends $tea.Model {
50287
50347
  instanceName: 'InstanceName',
50288
50348
  internetIp: 'InternetIp',
50289
50349
  intranetIp: 'IntranetIp',
50350
+ k8sClusterId: 'K8sClusterId',
50351
+ k8sNamespace: 'K8sNamespace',
50352
+ k8sNodeId: 'K8sNodeId',
50353
+ k8sNodeName: 'K8sNodeName',
50354
+ k8sPodName: 'K8sPodName',
50290
50355
  lastTs: 'LastTs',
50291
50356
  modifyTs: 'ModifyTs',
50292
50357
  name: 'Name',
@@ -50320,6 +50385,11 @@ class DescribeVulListResponseBodyVulRecords extends $tea.Model {
50320
50385
  instanceName: 'string',
50321
50386
  internetIp: 'string',
50322
50387
  intranetIp: 'string',
50388
+ k8sClusterId: 'string',
50389
+ k8sNamespace: 'string',
50390
+ k8sNodeId: 'string',
50391
+ k8sNodeName: 'string',
50392
+ k8sPodName: 'string',
50323
50393
  lastTs: 'number',
50324
50394
  modifyTs: 'number',
50325
50395
  name: 'string',
@@ -60421,6 +60491,35 @@ class Client extends openapi_client_1.default {
60421
60491
  let runtime = new $Util.RuntimeOptions({});
60422
60492
  return await this.bindAuthToMachineWithOptions(request, runtime);
60423
60493
  }
60494
+ async bindHybridProxyWithOptions(request, runtime) {
60495
+ tea_util_1.default.validateModel(request);
60496
+ let query = {};
60497
+ if (!tea_util_1.default.isUnset(request.clusterName)) {
60498
+ query["ClusterName"] = request.clusterName;
60499
+ }
60500
+ if (!tea_util_1.default.isUnset(request.yundunUuids)) {
60501
+ query["YundunUuids"] = request.yundunUuids;
60502
+ }
60503
+ let req = new $OpenApi.OpenApiRequest({
60504
+ query: openapi_util_1.default.query(query),
60505
+ });
60506
+ let params = new $OpenApi.Params({
60507
+ action: "BindHybridProxy",
60508
+ version: "2018-12-03",
60509
+ protocol: "HTTPS",
60510
+ pathname: "/",
60511
+ method: "POST",
60512
+ authType: "AK",
60513
+ style: "RPC",
60514
+ reqBodyType: "formData",
60515
+ bodyType: "json",
60516
+ });
60517
+ return $tea.cast(await this.callApi(params, req, runtime), new BindHybridProxyResponse({}));
60518
+ }
60519
+ async bindHybridProxy(request) {
60520
+ let runtime = new $Util.RuntimeOptions({});
60521
+ return await this.bindHybridProxyWithOptions(request, runtime);
60522
+ }
60424
60523
  async cancelOnceTaskWithOptions(request, runtime) {
60425
60524
  tea_util_1.default.validateModel(request);
60426
60525
  let query = {};