tencentcloud-sdk-nodejs-tcbr 4.1.148 → 4.1.158
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.
|
@@ -145,6 +145,19 @@ export interface ServerBaseConfig {
|
|
|
145
145
|
*/
|
|
146
146
|
LinkImageRegistry?: string;
|
|
147
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* DescribeCloudRunProcessLog请求参数结构体
|
|
150
|
+
*/
|
|
151
|
+
export interface DescribeCloudRunProcessLogRequest {
|
|
152
|
+
/**
|
|
153
|
+
* 环境 Id
|
|
154
|
+
*/
|
|
155
|
+
EnvId: string;
|
|
156
|
+
/**
|
|
157
|
+
* 操作 Id
|
|
158
|
+
*/
|
|
159
|
+
RunId: string;
|
|
160
|
+
}
|
|
148
161
|
/**
|
|
149
162
|
* 代码仓库信息
|
|
150
163
|
*/
|
|
@@ -222,11 +235,11 @@ export interface StorageInfo {
|
|
|
222
235
|
*/
|
|
223
236
|
export interface DescribeEnvBaseInfoResponse {
|
|
224
237
|
/**
|
|
225
|
-
*
|
|
238
|
+
* <p>环境基础信息</p>
|
|
226
239
|
*/
|
|
227
240
|
EnvBaseInfo?: EnvBaseInfo;
|
|
228
241
|
/**
|
|
229
|
-
*
|
|
242
|
+
* <p>是否存在</p>
|
|
230
243
|
*/
|
|
231
244
|
IsExist?: boolean;
|
|
232
245
|
/**
|
|
@@ -234,32 +247,82 @@ export interface DescribeEnvBaseInfoResponse {
|
|
|
234
247
|
*/
|
|
235
248
|
RequestId?: string;
|
|
236
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* 云托管实例的部署记录, 包括扩缩容状态和流量分配情况
|
|
252
|
+
*/
|
|
253
|
+
export interface DeployRecord {
|
|
254
|
+
/**
|
|
255
|
+
* 部署Id
|
|
256
|
+
*/
|
|
257
|
+
DeployId?: string;
|
|
258
|
+
/**
|
|
259
|
+
* 部署开始时间
|
|
260
|
+
*/
|
|
261
|
+
DeployTime?: string;
|
|
262
|
+
/**
|
|
263
|
+
* 状态:running/deploying/deploy_failed
|
|
264
|
+
*/
|
|
265
|
+
Status?: string;
|
|
266
|
+
/**
|
|
267
|
+
* 部署运行Id 用户查询部署日志
|
|
268
|
+
*/
|
|
269
|
+
RunId?: string;
|
|
270
|
+
/**
|
|
271
|
+
* 构建Id
|
|
272
|
+
*/
|
|
273
|
+
BuildId?: number;
|
|
274
|
+
/**
|
|
275
|
+
* 流量比例
|
|
276
|
+
*/
|
|
277
|
+
FlowRatio?: number;
|
|
278
|
+
/**
|
|
279
|
+
* 镜像url
|
|
280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
281
|
+
*/
|
|
282
|
+
ImageUrl?: string;
|
|
283
|
+
/**
|
|
284
|
+
* 缩容状态 缩容为 zero 否则为空
|
|
285
|
+
*/
|
|
286
|
+
ScaleStatus?: string;
|
|
287
|
+
/**
|
|
288
|
+
* 是否分配流量
|
|
289
|
+
*/
|
|
290
|
+
HasTraffic?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* 流量分配方式, FLOW: 百分比分配; URL_PARAMS: 匹配 query 参数; HEADERS: 匹配请求 Header
|
|
293
|
+
*/
|
|
294
|
+
TrafficType?: string;
|
|
295
|
+
/**
|
|
296
|
+
* 当前版本是否在发布中
|
|
297
|
+
*/
|
|
298
|
+
IsReleasing?: boolean;
|
|
299
|
+
}
|
|
237
300
|
/**
|
|
238
301
|
* CreateCloudRunServer请求参数结构体
|
|
239
302
|
*/
|
|
240
303
|
export interface CreateCloudRunServerRequest {
|
|
241
304
|
/**
|
|
242
|
-
*
|
|
305
|
+
* <p>环境Id</p>
|
|
243
306
|
*/
|
|
244
307
|
EnvId: string;
|
|
245
308
|
/**
|
|
246
|
-
*
|
|
309
|
+
* <p>服务名</p>
|
|
247
310
|
*/
|
|
248
311
|
ServerName: string;
|
|
249
312
|
/**
|
|
250
|
-
*
|
|
313
|
+
* <p>部署信息</p>
|
|
251
314
|
*/
|
|
252
315
|
DeployInfo: DeployParam;
|
|
253
316
|
/**
|
|
254
|
-
*
|
|
317
|
+
* <p>服务配置信息(已废弃)</p>
|
|
255
318
|
*/
|
|
256
319
|
ServerConfig?: ServerBaseConfig;
|
|
257
320
|
/**
|
|
258
|
-
*
|
|
321
|
+
* <p>服务配置信息</p>
|
|
259
322
|
*/
|
|
260
323
|
Items?: Array<DiffConfigItem>;
|
|
261
324
|
/**
|
|
262
|
-
* vpc
|
|
325
|
+
* <p>vpc 信息</p>
|
|
263
326
|
*/
|
|
264
327
|
VpcInfo?: CreateVpcInfo;
|
|
265
328
|
}
|
|
@@ -297,6 +360,61 @@ export interface DescribeServerManageTaskResponse {
|
|
|
297
360
|
*/
|
|
298
361
|
RequestId?: string;
|
|
299
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* SearchClsLog返回参数结构体
|
|
365
|
+
*/
|
|
366
|
+
export interface SearchClsLogResponse {
|
|
367
|
+
/**
|
|
368
|
+
* 日志内容结果
|
|
369
|
+
*/
|
|
370
|
+
LogResults?: LogResObject;
|
|
371
|
+
/**
|
|
372
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
373
|
+
*/
|
|
374
|
+
RequestId?: string;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* 版本Pod实例信息
|
|
378
|
+
*/
|
|
379
|
+
export interface VersionPodInstance {
|
|
380
|
+
/**
|
|
381
|
+
* 实例webshell链接
|
|
382
|
+
*/
|
|
383
|
+
Webshell?: string;
|
|
384
|
+
/**
|
|
385
|
+
* 实例Id
|
|
386
|
+
*/
|
|
387
|
+
PodId?: string;
|
|
388
|
+
/**
|
|
389
|
+
* 实例状态
|
|
390
|
+
*/
|
|
391
|
+
Status?: string;
|
|
392
|
+
/**
|
|
393
|
+
* 创建时间
|
|
394
|
+
*/
|
|
395
|
+
CreateTime?: string;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* DescribeVersionDetail请求参数结构体
|
|
399
|
+
*/
|
|
400
|
+
export interface DescribeVersionDetailRequest {
|
|
401
|
+
/**
|
|
402
|
+
* 环境Id
|
|
403
|
+
*/
|
|
404
|
+
EnvId: string;
|
|
405
|
+
/**
|
|
406
|
+
* 服务名
|
|
407
|
+
*/
|
|
408
|
+
ServerName: string;
|
|
409
|
+
/**
|
|
410
|
+
* 版本名
|
|
411
|
+
*/
|
|
412
|
+
VersionName: string;
|
|
413
|
+
/**
|
|
414
|
+
* channel
|
|
415
|
+
*/
|
|
416
|
+
Channel?: string;
|
|
417
|
+
}
|
|
300
418
|
/**
|
|
301
419
|
* 任务步骤信息
|
|
302
420
|
*/
|
|
@@ -342,6 +460,51 @@ export interface DescribeCloudRunEnvsResponse {
|
|
|
342
460
|
*/
|
|
343
461
|
RequestId?: string;
|
|
344
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* 服务基本信息
|
|
465
|
+
*/
|
|
466
|
+
export interface ServerBaseInfo {
|
|
467
|
+
/**
|
|
468
|
+
* 服务名
|
|
469
|
+
*/
|
|
470
|
+
ServerName?: string;
|
|
471
|
+
/**
|
|
472
|
+
* 默认服务域名
|
|
473
|
+
*/
|
|
474
|
+
DefaultDomainName?: string;
|
|
475
|
+
/**
|
|
476
|
+
* 自定义域名
|
|
477
|
+
*/
|
|
478
|
+
CustomDomainName?: string;
|
|
479
|
+
/**
|
|
480
|
+
* 服务状态:running/deploying/deploy_failed
|
|
481
|
+
*/
|
|
482
|
+
Status?: string;
|
|
483
|
+
/**
|
|
484
|
+
* 更新时间
|
|
485
|
+
*/
|
|
486
|
+
UpdateTime?: string;
|
|
487
|
+
/**
|
|
488
|
+
* 公网访问类型
|
|
489
|
+
*/
|
|
490
|
+
AccessTypes?: Array<string>;
|
|
491
|
+
/**
|
|
492
|
+
* 展示自定义域名
|
|
493
|
+
*/
|
|
494
|
+
CustomDomainNames?: Array<string>;
|
|
495
|
+
/**
|
|
496
|
+
* 服务类型: function 云函数2.0;container 容器服务
|
|
497
|
+
*/
|
|
498
|
+
ServerType?: string;
|
|
499
|
+
/**
|
|
500
|
+
* 流量类型,目前只有 FLOW
|
|
501
|
+
*/
|
|
502
|
+
TrafficType?: string;
|
|
503
|
+
/**
|
|
504
|
+
* 创建时间
|
|
505
|
+
*/
|
|
506
|
+
CreateTime?: string;
|
|
507
|
+
}
|
|
345
508
|
/**
|
|
346
509
|
* DescribeCloudRunEnvs请求参数结构体
|
|
347
510
|
*/
|
|
@@ -369,6 +532,44 @@ export interface ReleaseGrayResponse {
|
|
|
369
532
|
*/
|
|
370
533
|
RequestId?: string;
|
|
371
534
|
}
|
|
535
|
+
/**
|
|
536
|
+
* DescribeCloudRunProcessLog返回参数结构体
|
|
537
|
+
*/
|
|
538
|
+
export interface DescribeCloudRunProcessLogResponse {
|
|
539
|
+
/**
|
|
540
|
+
* 运行日志列表
|
|
541
|
+
*/
|
|
542
|
+
Logs?: Array<string>;
|
|
543
|
+
/**
|
|
544
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
545
|
+
*/
|
|
546
|
+
RequestId?: string;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* 版本流量信息
|
|
550
|
+
*/
|
|
551
|
+
export interface VersionFlowInfo {
|
|
552
|
+
/**
|
|
553
|
+
* 版本名
|
|
554
|
+
*/
|
|
555
|
+
VersionName: string;
|
|
556
|
+
/**
|
|
557
|
+
* 是否默认版本
|
|
558
|
+
*/
|
|
559
|
+
IsDefaultPriority: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* 流量比例
|
|
562
|
+
*/
|
|
563
|
+
FlowRatio?: number;
|
|
564
|
+
/**
|
|
565
|
+
* 测试KV值
|
|
566
|
+
*/
|
|
567
|
+
UrlParam?: ObjectKV;
|
|
568
|
+
/**
|
|
569
|
+
* 权重
|
|
570
|
+
*/
|
|
571
|
+
Priority?: number;
|
|
572
|
+
}
|
|
372
573
|
/**
|
|
373
574
|
* 部署参数
|
|
374
575
|
*/
|
|
@@ -478,6 +679,19 @@ export interface DiffConfigItem {
|
|
|
478
679
|
*/
|
|
479
680
|
VolumesConf?: Array<VolumeConf>;
|
|
480
681
|
}
|
|
682
|
+
/**
|
|
683
|
+
* SubmitServerRollback返回参数结构体
|
|
684
|
+
*/
|
|
685
|
+
export interface SubmitServerRollbackResponse {
|
|
686
|
+
/**
|
|
687
|
+
* 任务Id
|
|
688
|
+
*/
|
|
689
|
+
TaskId?: number;
|
|
690
|
+
/**
|
|
691
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
692
|
+
*/
|
|
693
|
+
RequestId?: string;
|
|
694
|
+
}
|
|
481
695
|
/**
|
|
482
696
|
* 存储配置
|
|
483
697
|
*/
|
|
@@ -508,59 +722,80 @@ export interface VolumeConf {
|
|
|
508
722
|
SrcPath?: string;
|
|
509
723
|
}
|
|
510
724
|
/**
|
|
511
|
-
*
|
|
725
|
+
* 标签键值对
|
|
512
726
|
*/
|
|
513
|
-
export interface
|
|
727
|
+
export interface Tag {
|
|
514
728
|
/**
|
|
515
|
-
*
|
|
729
|
+
* 标签键
|
|
516
730
|
*/
|
|
517
|
-
|
|
731
|
+
Key: string;
|
|
518
732
|
/**
|
|
519
|
-
*
|
|
733
|
+
* 标签值
|
|
520
734
|
*/
|
|
521
|
-
|
|
735
|
+
Value: string;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* 在线版本信息
|
|
739
|
+
*/
|
|
740
|
+
export interface OnlineVersionInfo {
|
|
522
741
|
/**
|
|
523
|
-
*
|
|
742
|
+
* 版本名
|
|
524
743
|
*/
|
|
525
|
-
|
|
744
|
+
VersionName?: string;
|
|
526
745
|
/**
|
|
527
|
-
*
|
|
746
|
+
* 镜像url
|
|
528
747
|
*/
|
|
529
|
-
|
|
748
|
+
ImageUrl?: string;
|
|
530
749
|
/**
|
|
531
|
-
*
|
|
750
|
+
* 流量
|
|
532
751
|
*/
|
|
533
|
-
|
|
752
|
+
FlowRatio?: string;
|
|
534
753
|
}
|
|
535
754
|
/**
|
|
536
|
-
*
|
|
755
|
+
* SearchClsLog请求参数结构体
|
|
537
756
|
*/
|
|
538
|
-
export interface
|
|
757
|
+
export interface SearchClsLogRequest {
|
|
539
758
|
/**
|
|
540
|
-
*
|
|
759
|
+
* 环境Id
|
|
541
760
|
*/
|
|
542
|
-
|
|
761
|
+
EnvId: string;
|
|
543
762
|
/**
|
|
544
|
-
*
|
|
763
|
+
* 开始时间
|
|
545
764
|
*/
|
|
546
|
-
|
|
765
|
+
StartTime: string;
|
|
547
766
|
/**
|
|
548
|
-
*
|
|
767
|
+
* 结束时间
|
|
549
768
|
*/
|
|
550
|
-
|
|
769
|
+
EndTime: string;
|
|
551
770
|
/**
|
|
552
|
-
*
|
|
771
|
+
* 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
|
|
553
772
|
*/
|
|
554
|
-
|
|
773
|
+
QueryString: string;
|
|
555
774
|
/**
|
|
556
|
-
*
|
|
775
|
+
* 单次要返回的日志条数,单次返回的最大条数为100
|
|
557
776
|
*/
|
|
558
|
-
|
|
777
|
+
Limit: number;
|
|
778
|
+
/**
|
|
779
|
+
* 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
|
|
780
|
+
*/
|
|
781
|
+
Context?: string;
|
|
782
|
+
/**
|
|
783
|
+
* 按时间排序 asc(升序)或者 desc(降序),默认为 desc
|
|
784
|
+
*/
|
|
785
|
+
Sort?: string;
|
|
786
|
+
/**
|
|
787
|
+
* 是否使用Lucene语法,默认为false
|
|
788
|
+
*/
|
|
789
|
+
UseLucene?: boolean;
|
|
790
|
+
/**
|
|
791
|
+
* 日志类型
|
|
792
|
+
*/
|
|
793
|
+
LogType?: number;
|
|
559
794
|
}
|
|
560
795
|
/**
|
|
561
|
-
*
|
|
796
|
+
* DescribeCloudRunPodList请求参数结构体
|
|
562
797
|
*/
|
|
563
|
-
export interface
|
|
798
|
+
export interface DescribeCloudRunPodListRequest {
|
|
564
799
|
/**
|
|
565
800
|
* 环境Id
|
|
566
801
|
*/
|
|
@@ -570,39 +805,149 @@ export interface UpdateCloudRunServerRequest {
|
|
|
570
805
|
*/
|
|
571
806
|
ServerName: string;
|
|
572
807
|
/**
|
|
573
|
-
*
|
|
574
|
-
*/
|
|
575
|
-
DeployInfo: DeployParam;
|
|
576
|
-
/**
|
|
577
|
-
* 服务配置信息(已废弃)
|
|
808
|
+
* 版本名
|
|
578
809
|
*/
|
|
579
|
-
|
|
810
|
+
VersionName?: string;
|
|
580
811
|
/**
|
|
581
|
-
*
|
|
812
|
+
* 默认为10, 最大为50
|
|
813
|
+
不传或传0时 取默认10
|
|
814
|
+
大于50时取50
|
|
582
815
|
*/
|
|
583
|
-
|
|
816
|
+
PageSize?: number;
|
|
584
817
|
/**
|
|
585
|
-
*
|
|
818
|
+
* 不传或传0时 会默认为1
|
|
586
819
|
*/
|
|
587
|
-
|
|
820
|
+
PageNum?: number;
|
|
588
821
|
}
|
|
589
822
|
/**
|
|
590
|
-
*
|
|
823
|
+
* 通用键值权重对
|
|
591
824
|
*/
|
|
592
|
-
export interface
|
|
825
|
+
export interface ObjectKVPriority {
|
|
593
826
|
/**
|
|
594
|
-
*
|
|
827
|
+
* 键值对Key
|
|
595
828
|
*/
|
|
596
|
-
|
|
829
|
+
Key: string;
|
|
597
830
|
/**
|
|
598
|
-
*
|
|
831
|
+
* 键值对Value
|
|
599
832
|
*/
|
|
600
|
-
|
|
833
|
+
Value: string;
|
|
601
834
|
/**
|
|
602
|
-
*
|
|
835
|
+
* 键值对权重
|
|
603
836
|
*/
|
|
604
|
-
|
|
605
|
-
|
|
837
|
+
Priority: number;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* DescribeReleaseOrder返回参数结构体
|
|
841
|
+
*/
|
|
842
|
+
export interface DescribeReleaseOrderResponse {
|
|
843
|
+
/**
|
|
844
|
+
* 是否存在
|
|
845
|
+
*/
|
|
846
|
+
IsExist?: boolean;
|
|
847
|
+
/**
|
|
848
|
+
* 发布单信息
|
|
849
|
+
*/
|
|
850
|
+
ReleaseOrderInfo?: ReleaseOrderInfo;
|
|
851
|
+
/**
|
|
852
|
+
* 上一次成功发布时间
|
|
853
|
+
*/
|
|
854
|
+
LastReleasedSuccessTime?: string;
|
|
855
|
+
/**
|
|
856
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
857
|
+
*/
|
|
858
|
+
RequestId?: string;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* 静态CDN资源信息
|
|
862
|
+
*/
|
|
863
|
+
export interface StaticStorageInfo {
|
|
864
|
+
/**
|
|
865
|
+
* 静态CDN域名
|
|
866
|
+
*/
|
|
867
|
+
StaticDomain: string;
|
|
868
|
+
/**
|
|
869
|
+
* 静态CDN默认文件夹,当前为根目录
|
|
870
|
+
*/
|
|
871
|
+
DefaultDirName: string;
|
|
872
|
+
/**
|
|
873
|
+
* 资源状态(process/online/offline/init)
|
|
874
|
+
*/
|
|
875
|
+
Status: string;
|
|
876
|
+
/**
|
|
877
|
+
* cos所属区域
|
|
878
|
+
*/
|
|
879
|
+
Region: string;
|
|
880
|
+
/**
|
|
881
|
+
* bucket信息
|
|
882
|
+
*/
|
|
883
|
+
Bucket: string;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* CLS日志结果
|
|
887
|
+
*/
|
|
888
|
+
export interface LogResObject {
|
|
889
|
+
/**
|
|
890
|
+
* 获取更多检索结果的游标
|
|
891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
892
|
+
*/
|
|
893
|
+
Context: string;
|
|
894
|
+
/**
|
|
895
|
+
* 搜索结果是否已经全部返回
|
|
896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
897
|
+
*/
|
|
898
|
+
ListOver: boolean;
|
|
899
|
+
/**
|
|
900
|
+
* 日志内容信息
|
|
901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
902
|
+
*/
|
|
903
|
+
Results: Array<LogObject>;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* UpdateCloudRunServer请求参数结构体
|
|
907
|
+
*/
|
|
908
|
+
export interface UpdateCloudRunServerRequest {
|
|
909
|
+
/**
|
|
910
|
+
* <p>环境Id</p>
|
|
911
|
+
*/
|
|
912
|
+
EnvId: string;
|
|
913
|
+
/**
|
|
914
|
+
* <p>服务名</p>
|
|
915
|
+
*/
|
|
916
|
+
ServerName: string;
|
|
917
|
+
/**
|
|
918
|
+
* <p>部署信息</p>
|
|
919
|
+
*/
|
|
920
|
+
DeployInfo: DeployParam;
|
|
921
|
+
/**
|
|
922
|
+
* <p>服务配置信息(已废弃)</p>
|
|
923
|
+
*/
|
|
924
|
+
ServerConfig?: ServerBaseConfig;
|
|
925
|
+
/**
|
|
926
|
+
* <p>业务类型,默认tcr</p>
|
|
927
|
+
*/
|
|
928
|
+
Business?: string;
|
|
929
|
+
/**
|
|
930
|
+
* <p>服务配置信息</p>
|
|
931
|
+
*/
|
|
932
|
+
Items?: Array<DiffConfigItem>;
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* 云日志服务相关信息
|
|
936
|
+
*/
|
|
937
|
+
export interface LogServiceInfo {
|
|
938
|
+
/**
|
|
939
|
+
* log名
|
|
940
|
+
*/
|
|
941
|
+
LogsetName: string;
|
|
942
|
+
/**
|
|
943
|
+
* log-id
|
|
944
|
+
*/
|
|
945
|
+
LogsetId: string;
|
|
946
|
+
/**
|
|
947
|
+
* topic名
|
|
948
|
+
*/
|
|
949
|
+
TopicName: string;
|
|
950
|
+
/**
|
|
606
951
|
* topic-id
|
|
607
952
|
*/
|
|
608
953
|
TopicId: string;
|
|
@@ -686,6 +1031,23 @@ export interface DescribeCloudRunServersRequest {
|
|
|
686
1031
|
*/
|
|
687
1032
|
VpcId?: string;
|
|
688
1033
|
}
|
|
1034
|
+
/**
|
|
1035
|
+
* DeleteCloudRunServer请求参数结构体
|
|
1036
|
+
*/
|
|
1037
|
+
export interface DeleteCloudRunServerRequest {
|
|
1038
|
+
/**
|
|
1039
|
+
* 环境Id
|
|
1040
|
+
*/
|
|
1041
|
+
EnvId: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* 服务名
|
|
1044
|
+
*/
|
|
1045
|
+
ServerName: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* 操作人信息
|
|
1048
|
+
*/
|
|
1049
|
+
OperatorRemark?: string;
|
|
1050
|
+
}
|
|
689
1051
|
/**
|
|
690
1052
|
* cls日志信息
|
|
691
1053
|
*/
|
|
@@ -728,6 +1090,27 @@ export interface DescribeServerManageTaskRequest {
|
|
|
728
1090
|
*/
|
|
729
1091
|
OperatorRemark?: string;
|
|
730
1092
|
}
|
|
1093
|
+
/**
|
|
1094
|
+
* 云托管服务 Vpc 配置
|
|
1095
|
+
*/
|
|
1096
|
+
export interface VpcConf {
|
|
1097
|
+
/**
|
|
1098
|
+
* vpc id
|
|
1099
|
+
*/
|
|
1100
|
+
VpcId?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* vpc 网段
|
|
1103
|
+
*/
|
|
1104
|
+
VpcCIDR?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* subnet id
|
|
1107
|
+
*/
|
|
1108
|
+
SubnetId?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* subnet 网段
|
|
1111
|
+
*/
|
|
1112
|
+
SubnetCIDR?: string;
|
|
1113
|
+
}
|
|
731
1114
|
/**
|
|
732
1115
|
* 扩缩容入参
|
|
733
1116
|
*/
|
|
@@ -742,73 +1125,115 @@ export interface HpaPolicy {
|
|
|
742
1125
|
PolicyThreshold: number;
|
|
743
1126
|
}
|
|
744
1127
|
/**
|
|
745
|
-
*
|
|
1128
|
+
* OperateServerManage请求参数结构体
|
|
746
1129
|
*/
|
|
747
|
-
export interface
|
|
1130
|
+
export interface OperateServerManageRequest {
|
|
748
1131
|
/**
|
|
749
|
-
*
|
|
1132
|
+
* 环境Id
|
|
750
1133
|
*/
|
|
751
|
-
|
|
1134
|
+
EnvId: string;
|
|
752
1135
|
/**
|
|
753
|
-
*
|
|
1136
|
+
* 服务名
|
|
754
1137
|
*/
|
|
755
|
-
|
|
1138
|
+
ServerName: string;
|
|
756
1139
|
/**
|
|
757
|
-
*
|
|
1140
|
+
* 任报Id
|
|
758
1141
|
*/
|
|
759
|
-
|
|
1142
|
+
TaskId: number;
|
|
1143
|
+
/**
|
|
1144
|
+
* 操作类型:cancel | go_back | done
|
|
1145
|
+
*/
|
|
1146
|
+
OperateType: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* 操作标识
|
|
1149
|
+
*/
|
|
1150
|
+
OperatorRemark?: string;
|
|
760
1151
|
}
|
|
761
1152
|
/**
|
|
762
|
-
*
|
|
1153
|
+
* CLS日志单条信息
|
|
763
1154
|
*/
|
|
764
|
-
export interface
|
|
1155
|
+
export interface LogObject {
|
|
765
1156
|
/**
|
|
766
|
-
*
|
|
1157
|
+
* 日志属于的 topic ID
|
|
1158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
767
1159
|
*/
|
|
768
|
-
|
|
1160
|
+
TopicId?: string;
|
|
769
1161
|
/**
|
|
770
|
-
*
|
|
771
|
-
|
|
1162
|
+
* 日志主题的名字
|
|
1163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
772
1164
|
*/
|
|
773
|
-
|
|
1165
|
+
TopicName?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* 日志时间
|
|
1168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1169
|
+
*/
|
|
1170
|
+
Timestamp?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* 日志内容
|
|
1173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1174
|
+
*/
|
|
1175
|
+
Content?: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* 采集路径
|
|
1178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1179
|
+
*/
|
|
1180
|
+
FileName?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 日志来源设备
|
|
1183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1184
|
+
*/
|
|
1185
|
+
Source?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* 日志唯一标识
|
|
1188
|
+
*/
|
|
1189
|
+
PkgLogId?: string;
|
|
774
1190
|
}
|
|
775
1191
|
/**
|
|
776
|
-
*
|
|
1192
|
+
* 删除版本时需要的简化信息
|
|
777
1193
|
*/
|
|
778
|
-
export interface
|
|
1194
|
+
export interface SimpleVersion {
|
|
779
1195
|
/**
|
|
780
|
-
*
|
|
1196
|
+
* 要删除版本的环境 Id
|
|
781
1197
|
*/
|
|
782
|
-
|
|
1198
|
+
EnvId: string;
|
|
783
1199
|
/**
|
|
784
|
-
*
|
|
1200
|
+
* 要删除版本的服务名
|
|
785
1201
|
*/
|
|
786
|
-
|
|
1202
|
+
ServerName: string;
|
|
787
1203
|
/**
|
|
788
|
-
*
|
|
1204
|
+
* 要删除版本的版本名
|
|
789
1205
|
*/
|
|
790
|
-
|
|
1206
|
+
VersionName: string;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* 通用Key Value
|
|
1210
|
+
*/
|
|
1211
|
+
export interface ObjectKV {
|
|
791
1212
|
/**
|
|
792
|
-
*
|
|
1213
|
+
* 键值对Key
|
|
793
1214
|
*/
|
|
794
|
-
|
|
1215
|
+
Key: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* 键值对Value
|
|
1218
|
+
*/
|
|
1219
|
+
Value: string;
|
|
795
1220
|
}
|
|
796
1221
|
/**
|
|
797
|
-
*
|
|
1222
|
+
* DescribeReleaseOrder请求参数结构体
|
|
798
1223
|
*/
|
|
799
|
-
export interface
|
|
1224
|
+
export interface DescribeReleaseOrderRequest {
|
|
800
1225
|
/**
|
|
801
|
-
* 环境Id
|
|
1226
|
+
* 环境 Id
|
|
802
1227
|
*/
|
|
803
|
-
EnvId
|
|
1228
|
+
EnvId: string;
|
|
804
1229
|
/**
|
|
805
|
-
*
|
|
1230
|
+
* 服务名
|
|
806
1231
|
*/
|
|
807
|
-
|
|
1232
|
+
ServerName: string;
|
|
808
1233
|
/**
|
|
809
|
-
*
|
|
1234
|
+
* 发布单状态
|
|
810
1235
|
*/
|
|
811
|
-
|
|
1236
|
+
Status?: string;
|
|
812
1237
|
}
|
|
813
1238
|
/**
|
|
814
1239
|
* 环境基础信息
|
|
@@ -856,70 +1281,173 @@ export interface EnvBaseInfo {
|
|
|
856
1281
|
Recycle?: string;
|
|
857
1282
|
}
|
|
858
1283
|
/**
|
|
859
|
-
*
|
|
1284
|
+
* 函数的信息
|
|
860
1285
|
*/
|
|
861
|
-
export interface
|
|
1286
|
+
export interface FunctionInfo {
|
|
862
1287
|
/**
|
|
863
|
-
*
|
|
1288
|
+
* 命名空间
|
|
864
1289
|
*/
|
|
865
|
-
|
|
1290
|
+
Namespace: string;
|
|
866
1291
|
/**
|
|
867
|
-
*
|
|
1292
|
+
* 所属地域。
|
|
1293
|
+
当前支持ap-shanghai
|
|
868
1294
|
*/
|
|
869
|
-
|
|
1295
|
+
Region: string;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* DescribeCloudRunServerDetail返回参数结构体
|
|
1299
|
+
*/
|
|
1300
|
+
export interface DescribeCloudRunServerDetailResponse {
|
|
870
1301
|
/**
|
|
871
|
-
*
|
|
1302
|
+
* 服务基本信息
|
|
872
1303
|
*/
|
|
873
|
-
|
|
1304
|
+
BaseInfo?: ServerBaseInfo;
|
|
874
1305
|
/**
|
|
875
|
-
*
|
|
1306
|
+
* 服务配置信息
|
|
1307
|
+
*/
|
|
1308
|
+
ServerConfig?: ServerBaseConfig;
|
|
1309
|
+
/**
|
|
1310
|
+
* 在线版本信息
|
|
1311
|
+
*/
|
|
1312
|
+
OnlineVersionInfos?: Array<OnlineVersionInfo>;
|
|
1313
|
+
/**
|
|
1314
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1315
|
+
*/
|
|
1316
|
+
RequestId?: string;
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* CreateCloudRunEnv返回参数结构体
|
|
1320
|
+
*/
|
|
1321
|
+
export interface CreateCloudRunEnvResponse {
|
|
1322
|
+
/**
|
|
1323
|
+
* <p>环境Id</p>
|
|
1324
|
+
*/
|
|
1325
|
+
EnvId?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* <p>后付费订单号</p>
|
|
1328
|
+
*/
|
|
1329
|
+
TranId?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1332
|
+
*/
|
|
1333
|
+
RequestId?: string;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* DescribeCloudRunDeployRecord请求参数结构体
|
|
1337
|
+
*/
|
|
1338
|
+
export interface DescribeCloudRunDeployRecordRequest {
|
|
1339
|
+
/**
|
|
1340
|
+
* 环境Id
|
|
1341
|
+
*/
|
|
1342
|
+
EnvId: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* 服务名
|
|
1345
|
+
*/
|
|
1346
|
+
ServerName: string;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* 发布单信息
|
|
1350
|
+
*/
|
|
1351
|
+
export interface ReleaseOrderInfo {
|
|
1352
|
+
/**
|
|
1353
|
+
* 发布单Id
|
|
1354
|
+
*/
|
|
1355
|
+
Id: number;
|
|
1356
|
+
/**
|
|
1357
|
+
* 服务名
|
|
1358
|
+
*/
|
|
1359
|
+
ServerName: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* 当前版本
|
|
1362
|
+
*/
|
|
1363
|
+
CurrentVersion: VersionInfo;
|
|
1364
|
+
/**
|
|
1365
|
+
* 发布版本
|
|
1366
|
+
*/
|
|
1367
|
+
ReleaseVersion: VersionInfo;
|
|
1368
|
+
/**
|
|
1369
|
+
* 灰度状态
|
|
1370
|
+
*/
|
|
1371
|
+
GrayStatus: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* 发布状态
|
|
1374
|
+
*/
|
|
1375
|
+
ReleaseStatus: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* 流量值
|
|
1378
|
+
*/
|
|
1379
|
+
TrafficTypeValues: Array<ObjectKV>;
|
|
1380
|
+
/**
|
|
1381
|
+
* 流量类型
|
|
1382
|
+
*/
|
|
1383
|
+
TrafficType: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* 百分比
|
|
1386
|
+
*/
|
|
1387
|
+
FlowRatio: number;
|
|
1388
|
+
/**
|
|
1389
|
+
* 创建时间
|
|
1390
|
+
*/
|
|
1391
|
+
CreateTime: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* 是否发布中
|
|
876
1394
|
*/
|
|
877
|
-
|
|
1395
|
+
IsReleasing: boolean;
|
|
878
1396
|
}
|
|
879
1397
|
/**
|
|
880
|
-
*
|
|
1398
|
+
* DeleteCloudRunVersions请求参数结构体
|
|
881
1399
|
*/
|
|
882
|
-
export interface
|
|
1400
|
+
export interface DeleteCloudRunVersionsRequest {
|
|
883
1401
|
/**
|
|
884
|
-
*
|
|
1402
|
+
* 环境 Id
|
|
885
1403
|
*/
|
|
886
|
-
|
|
1404
|
+
EnvId: string;
|
|
887
1405
|
/**
|
|
888
|
-
*
|
|
1406
|
+
* 是否删除服务,只有最后一个版本的时候才生效
|
|
889
1407
|
*/
|
|
890
|
-
|
|
1408
|
+
IsDeleteServer: boolean;
|
|
891
1409
|
/**
|
|
892
|
-
*
|
|
1410
|
+
* 只有删除服务的时候,才生效
|
|
893
1411
|
*/
|
|
894
|
-
|
|
1412
|
+
IsDeleteImage: boolean;
|
|
895
1413
|
/**
|
|
896
|
-
*
|
|
1414
|
+
* 删除版本的信息
|
|
897
1415
|
*/
|
|
898
|
-
|
|
1416
|
+
SimpleVersions: Array<SimpleVersion>;
|
|
899
1417
|
/**
|
|
900
|
-
*
|
|
1418
|
+
* 操作备注
|
|
901
1419
|
*/
|
|
902
|
-
|
|
1420
|
+
OperatorRemark?: string;
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* DeleteCloudRunServer返回参数结构体
|
|
1424
|
+
*/
|
|
1425
|
+
export interface DeleteCloudRunServerResponse {
|
|
903
1426
|
/**
|
|
904
|
-
*
|
|
1427
|
+
* 删除结果:success / failed
|
|
905
1428
|
*/
|
|
906
|
-
|
|
1429
|
+
Result?: string;
|
|
907
1430
|
/**
|
|
908
|
-
*
|
|
1431
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
909
1432
|
*/
|
|
910
|
-
|
|
1433
|
+
RequestId?: string;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* DescribeCloudRunPodList返回参数结构体
|
|
1437
|
+
*/
|
|
1438
|
+
export interface DescribeCloudRunPodListResponse {
|
|
911
1439
|
/**
|
|
912
|
-
*
|
|
1440
|
+
* pod实例列表
|
|
913
1441
|
*/
|
|
914
|
-
|
|
1442
|
+
PodList?: Array<VersionPodInstance>;
|
|
915
1443
|
/**
|
|
916
|
-
*
|
|
1444
|
+
* pod总数
|
|
917
1445
|
*/
|
|
918
|
-
|
|
1446
|
+
TotalCount?: number;
|
|
919
1447
|
/**
|
|
920
|
-
*
|
|
1448
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
921
1449
|
*/
|
|
922
|
-
|
|
1450
|
+
RequestId?: string;
|
|
923
1451
|
}
|
|
924
1452
|
/**
|
|
925
1453
|
* 定时扩缩容配置
|
|
@@ -1046,33 +1574,111 @@ export interface EnvInfo {
|
|
|
1046
1574
|
PackageName?: string;
|
|
1047
1575
|
}
|
|
1048
1576
|
/**
|
|
1049
|
-
*
|
|
1577
|
+
* 删除失败版本信息
|
|
1050
1578
|
*/
|
|
1051
|
-
export interface
|
|
1579
|
+
export interface FailDeleteVersions {
|
|
1052
1580
|
/**
|
|
1053
|
-
*
|
|
1581
|
+
* 删除失败版本信息
|
|
1054
1582
|
*/
|
|
1055
|
-
|
|
1583
|
+
Version: SimpleVersion;
|
|
1056
1584
|
/**
|
|
1057
|
-
*
|
|
1585
|
+
* 删除失败错误码
|
|
1058
1586
|
*/
|
|
1059
|
-
|
|
1587
|
+
ErrorCode: number;
|
|
1588
|
+
/**
|
|
1589
|
+
* 删除失败错误信息
|
|
1590
|
+
*/
|
|
1591
|
+
ErrorMsg: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* 删除操作 RequestId
|
|
1594
|
+
*/
|
|
1595
|
+
RequestId: string;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* SubmitServerRollback请求参数结构体
|
|
1599
|
+
*/
|
|
1600
|
+
export interface SubmitServerRollbackRequest {
|
|
1601
|
+
/**
|
|
1602
|
+
* 环境Id
|
|
1603
|
+
*/
|
|
1604
|
+
EnvId: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* 服务名
|
|
1607
|
+
*/
|
|
1608
|
+
ServerName: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* 当前版本
|
|
1611
|
+
*/
|
|
1612
|
+
CurrentVersionName: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* 回滚版本
|
|
1615
|
+
*/
|
|
1616
|
+
RollbackVersionName: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* 操作标识
|
|
1619
|
+
*/
|
|
1620
|
+
OperatorRemark?: string;
|
|
1060
1621
|
}
|
|
1061
1622
|
/**
|
|
1062
1623
|
* DescribeEnvBaseInfo请求参数结构体
|
|
1063
1624
|
*/
|
|
1064
1625
|
export interface DescribeEnvBaseInfoRequest {
|
|
1065
1626
|
/**
|
|
1066
|
-
*
|
|
1627
|
+
* <p>环境 Id</p>
|
|
1067
1628
|
*/
|
|
1068
1629
|
EnvId: string;
|
|
1069
1630
|
}
|
|
1631
|
+
/**
|
|
1632
|
+
* CreateCloudRunEnv请求参数结构体
|
|
1633
|
+
*/
|
|
1634
|
+
export interface CreateCloudRunEnvRequest {
|
|
1635
|
+
/**
|
|
1636
|
+
* <p>Trial,Standard,Professional,Enterprise</p>
|
|
1637
|
+
*/
|
|
1638
|
+
PackageType: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* <p>环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符</p>
|
|
1641
|
+
*/
|
|
1642
|
+
Alias?: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* <p>用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。</p>
|
|
1645
|
+
*/
|
|
1646
|
+
FreeQuota?: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* <p>订单标记。建议使用方统一转大小写之后再判断。QuickStart:快速启动来源Activity:活动来源</p>
|
|
1649
|
+
*/
|
|
1650
|
+
Flag?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* <p>私有网络Id</p>
|
|
1653
|
+
*/
|
|
1654
|
+
VpcId?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* <p>子网列表</p>
|
|
1657
|
+
*/
|
|
1658
|
+
SubNetIds?: Array<string>;
|
|
1659
|
+
/**
|
|
1660
|
+
* <p>请求key 用于防重</p>
|
|
1661
|
+
*/
|
|
1662
|
+
ReqKey?: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* <p>来源:wechat | cloud | weda</p>
|
|
1665
|
+
*/
|
|
1666
|
+
Source?: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* <p>渠道:wechat | cloud | weda</p>
|
|
1669
|
+
*/
|
|
1670
|
+
Channel?: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>环境ID 云开发平台必填</p>
|
|
1673
|
+
*/
|
|
1674
|
+
EnvId?: string;
|
|
1675
|
+
}
|
|
1070
1676
|
/**
|
|
1071
1677
|
* CreateCloudRunServer返回参数结构体
|
|
1072
1678
|
*/
|
|
1073
1679
|
export interface CreateCloudRunServerResponse {
|
|
1074
1680
|
/**
|
|
1075
|
-
*
|
|
1681
|
+
* <p>一键部署任务Id,微信云托管,暂时用不到</p>
|
|
1076
1682
|
*/
|
|
1077
1683
|
TaskId?: number;
|
|
1078
1684
|
/**
|
|
@@ -1081,40 +1687,36 @@ export interface CreateCloudRunServerResponse {
|
|
|
1081
1687
|
RequestId?: string;
|
|
1082
1688
|
}
|
|
1083
1689
|
/**
|
|
1084
|
-
*
|
|
1690
|
+
* DeleteCloudRunVersions返回参数结构体
|
|
1085
1691
|
*/
|
|
1086
|
-
export interface
|
|
1087
|
-
/**
|
|
1088
|
-
* 版本名
|
|
1089
|
-
*/
|
|
1090
|
-
VersionName: string;
|
|
1692
|
+
export interface DeleteCloudRunVersionsResponse {
|
|
1091
1693
|
/**
|
|
1092
|
-
*
|
|
1694
|
+
* succ | fail | partial
|
|
1093
1695
|
*/
|
|
1094
|
-
|
|
1696
|
+
Result?: string;
|
|
1095
1697
|
/**
|
|
1096
|
-
*
|
|
1698
|
+
* 删除失败的版本列表
|
|
1097
1699
|
*/
|
|
1098
|
-
|
|
1700
|
+
FailVersions?: Array<FailDeleteVersions>;
|
|
1099
1701
|
/**
|
|
1100
|
-
*
|
|
1702
|
+
* 删除成功的版本列表
|
|
1101
1703
|
*/
|
|
1102
|
-
|
|
1704
|
+
SuccessVersions?: Array<SuccessDeleteVersions>;
|
|
1103
1705
|
/**
|
|
1104
|
-
*
|
|
1706
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1105
1707
|
*/
|
|
1106
|
-
|
|
1708
|
+
RequestId?: string;
|
|
1107
1709
|
}
|
|
1108
1710
|
/**
|
|
1109
1711
|
* UpdateCloudRunServer返回参数结构体
|
|
1110
1712
|
*/
|
|
1111
1713
|
export interface UpdateCloudRunServerResponse {
|
|
1112
1714
|
/**
|
|
1113
|
-
*
|
|
1715
|
+
* <p>环境Id</p>
|
|
1114
1716
|
*/
|
|
1115
1717
|
EnvId?: string;
|
|
1116
1718
|
/**
|
|
1117
|
-
*
|
|
1719
|
+
* <p>一键部署任务Id,暂时用不到</p>
|
|
1118
1720
|
*/
|
|
1119
1721
|
TaskId?: number;
|
|
1120
1722
|
/**
|
|
@@ -1123,17 +1725,166 @@ export interface UpdateCloudRunServerResponse {
|
|
|
1123
1725
|
RequestId?: string;
|
|
1124
1726
|
}
|
|
1125
1727
|
/**
|
|
1126
|
-
*
|
|
1728
|
+
* DescribeVersionDetail返回参数结构体
|
|
1127
1729
|
*/
|
|
1128
|
-
export interface
|
|
1730
|
+
export interface DescribeVersionDetailResponse {
|
|
1129
1731
|
/**
|
|
1130
|
-
*
|
|
1732
|
+
* 版本名
|
|
1131
1733
|
*/
|
|
1132
|
-
|
|
1734
|
+
Name?: string;
|
|
1133
1735
|
/**
|
|
1134
|
-
*
|
|
1736
|
+
* 端口号
|
|
1135
1737
|
*/
|
|
1136
|
-
|
|
1738
|
+
Port?: number;
|
|
1739
|
+
/**
|
|
1740
|
+
* cpu 规格
|
|
1741
|
+
*/
|
|
1742
|
+
Cpu?: number;
|
|
1743
|
+
/**
|
|
1744
|
+
* mem 规格
|
|
1745
|
+
*/
|
|
1746
|
+
Mem?: number;
|
|
1747
|
+
/**
|
|
1748
|
+
* 最小副本数
|
|
1749
|
+
*/
|
|
1750
|
+
MinNum?: number;
|
|
1751
|
+
/**
|
|
1752
|
+
* 最大副本数
|
|
1753
|
+
*/
|
|
1754
|
+
MaxNum?: number;
|
|
1755
|
+
/**
|
|
1756
|
+
* 扩缩容策略
|
|
1757
|
+
*/
|
|
1758
|
+
PolicyDetails?: Array<HpaPolicy>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Dockerfile path
|
|
1761
|
+
*/
|
|
1762
|
+
Dockerfile?: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* 目标目录
|
|
1765
|
+
*/
|
|
1766
|
+
BuildDir?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* 环境变量
|
|
1769
|
+
*/
|
|
1770
|
+
EnvParams?: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* 状态
|
|
1773
|
+
*/
|
|
1774
|
+
Status?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 创建时间
|
|
1777
|
+
*/
|
|
1778
|
+
CreatedTime?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* 更新时间
|
|
1781
|
+
*/
|
|
1782
|
+
UpdatedTime?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* 日志采集路径
|
|
1785
|
+
*/
|
|
1786
|
+
LogPath?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* entryPoint
|
|
1789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1790
|
+
*/
|
|
1791
|
+
EntryPoint?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Cmd
|
|
1794
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1795
|
+
*/
|
|
1796
|
+
Cmd?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* vpc conf
|
|
1799
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1800
|
+
*/
|
|
1801
|
+
VpcConf?: VpcConf;
|
|
1802
|
+
/**
|
|
1803
|
+
* volume conf
|
|
1804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1805
|
+
*/
|
|
1806
|
+
VolumesConf?: Array<VolumeConf>;
|
|
1807
|
+
/**
|
|
1808
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1809
|
+
*/
|
|
1810
|
+
RequestId?: string;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* 版本信息
|
|
1814
|
+
*/
|
|
1815
|
+
export interface VersionInfo {
|
|
1816
|
+
/**
|
|
1817
|
+
* 版本名
|
|
1818
|
+
*/
|
|
1819
|
+
VersionName?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* 流量比例
|
|
1822
|
+
*/
|
|
1823
|
+
FlowRatio?: number;
|
|
1824
|
+
/**
|
|
1825
|
+
* 版本状态
|
|
1826
|
+
*/
|
|
1827
|
+
Status?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* 创建时间
|
|
1830
|
+
*/
|
|
1831
|
+
CreatedTime?: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* 更新时间
|
|
1834
|
+
*/
|
|
1835
|
+
UpdatedTime?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* 构建Id
|
|
1838
|
+
*/
|
|
1839
|
+
BuildId?: number;
|
|
1840
|
+
/**
|
|
1841
|
+
* 上传方式
|
|
1842
|
+
*/
|
|
1843
|
+
UploadType?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* 操作标识
|
|
1846
|
+
*/
|
|
1847
|
+
Remark?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* 测试参数
|
|
1850
|
+
*/
|
|
1851
|
+
UrlParam?: ObjectKV;
|
|
1852
|
+
/**
|
|
1853
|
+
* 权重
|
|
1854
|
+
*/
|
|
1855
|
+
Priority?: number;
|
|
1856
|
+
/**
|
|
1857
|
+
* 是否默认
|
|
1858
|
+
*/
|
|
1859
|
+
IsDefaultPriority?: boolean;
|
|
1860
|
+
/**
|
|
1861
|
+
* 流量参数
|
|
1862
|
+
*/
|
|
1863
|
+
FlowParams?: Array<ObjectKVPriority>;
|
|
1864
|
+
/**
|
|
1865
|
+
* 最小副本数
|
|
1866
|
+
*/
|
|
1867
|
+
MinReplicas?: number;
|
|
1868
|
+
/**
|
|
1869
|
+
* 最大副本数
|
|
1870
|
+
*/
|
|
1871
|
+
MaxReplicas?: number;
|
|
1872
|
+
/**
|
|
1873
|
+
* 操作Id
|
|
1874
|
+
*/
|
|
1875
|
+
RunId?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* 百分比
|
|
1878
|
+
*/
|
|
1879
|
+
Percent?: number;
|
|
1880
|
+
/**
|
|
1881
|
+
* 当前副本数
|
|
1882
|
+
*/
|
|
1883
|
+
CurrentReplicas?: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* 架构类型
|
|
1886
|
+
*/
|
|
1887
|
+
Architecture?: string;
|
|
1137
1888
|
}
|
|
1138
1889
|
/**
|
|
1139
1890
|
* BuildPacks信息
|
|
@@ -1161,51 +1912,34 @@ export interface BuildPacksInfo {
|
|
|
1161
1912
|
LanguageVersion?: string;
|
|
1162
1913
|
}
|
|
1163
1914
|
/**
|
|
1164
|
-
*
|
|
1915
|
+
* 删除成功的版本信息
|
|
1165
1916
|
*/
|
|
1166
|
-
export interface
|
|
1167
|
-
/**
|
|
1168
|
-
* Trial,Standard,Professional,Enterprise
|
|
1169
|
-
*/
|
|
1170
|
-
PackageType: string;
|
|
1171
|
-
/**
|
|
1172
|
-
* 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符
|
|
1173
|
-
*/
|
|
1174
|
-
Alias?: string;
|
|
1175
|
-
/**
|
|
1176
|
-
* 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。
|
|
1177
|
-
*/
|
|
1178
|
-
FreeQuota?: string;
|
|
1917
|
+
export interface SuccessDeleteVersions {
|
|
1179
1918
|
/**
|
|
1180
|
-
*
|
|
1181
|
-
QuickStart:快速启动来源
|
|
1182
|
-
Activity:活动来源
|
|
1919
|
+
* 版本简化信息
|
|
1183
1920
|
*/
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* 私有网络Id
|
|
1187
|
-
*/
|
|
1188
|
-
VpcId?: string;
|
|
1921
|
+
Version: SimpleVersion;
|
|
1189
1922
|
/**
|
|
1190
|
-
*
|
|
1923
|
+
* 删除版本的 RequestId
|
|
1191
1924
|
*/
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* 请求key 用于防重
|
|
1195
|
-
*/
|
|
1196
|
-
ReqKey?: string;
|
|
1925
|
+
RequestId: string;
|
|
1197
1926
|
/**
|
|
1198
|
-
*
|
|
1927
|
+
* 删除版本结果
|
|
1199
1928
|
*/
|
|
1200
|
-
|
|
1929
|
+
Result: string;
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* DescribeCloudRunDeployRecord返回参数结构体
|
|
1933
|
+
*/
|
|
1934
|
+
export interface DescribeCloudRunDeployRecordResponse {
|
|
1201
1935
|
/**
|
|
1202
|
-
*
|
|
1936
|
+
* 部署列表
|
|
1203
1937
|
*/
|
|
1204
|
-
|
|
1938
|
+
DeployRecords?: Array<DeployRecord>;
|
|
1205
1939
|
/**
|
|
1206
|
-
*
|
|
1940
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1207
1941
|
*/
|
|
1208
|
-
|
|
1942
|
+
RequestId?: string;
|
|
1209
1943
|
}
|
|
1210
1944
|
/**
|
|
1211
1945
|
* 服务管理任务信息
|