tencentcloud-sdk-iecp 3.0.912 → 3.0.913
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210914/client.rb +0 -520
- data/lib/v20210914/models.rb +105 -1687
- metadata +2 -2
data/lib/v20210914/models.rb
CHANGED
@@ -203,80 +203,6 @@ module TencentCloud
|
|
203
203
|
end
|
204
204
|
end
|
205
205
|
|
206
|
-
# 应用模板列表详情
|
207
|
-
class ApplicationTemplate < TencentCloud::Common::AbstractModel
|
208
|
-
# @param Id: 模板ID
|
209
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
210
|
-
# @type Id: Integer
|
211
|
-
# @param Name: 模板名称
|
212
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
213
|
-
# @type Name: String
|
214
|
-
# @param Source: 来源。1 自定义应用模板 ; 2 官方应用模板
|
215
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
216
|
-
# @type Source: Integer
|
217
|
-
# @param WorkloadKind: 应用类型
|
218
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
219
|
-
# @type WorkloadKind: String
|
220
|
-
# @param ManageUrl: 管理地址
|
221
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
222
|
-
# @type ManageUrl: String
|
223
|
-
# @param DistributeTime: 发布时间
|
224
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
-
# @type DistributeTime: String
|
226
|
-
|
227
|
-
attr_accessor :Id, :Name, :Source, :WorkloadKind, :ManageUrl, :DistributeTime
|
228
|
-
|
229
|
-
def initialize(id=nil, name=nil, source=nil, workloadkind=nil, manageurl=nil, distributetime=nil)
|
230
|
-
@Id = id
|
231
|
-
@Name = name
|
232
|
-
@Source = source
|
233
|
-
@WorkloadKind = workloadkind
|
234
|
-
@ManageUrl = manageurl
|
235
|
-
@DistributeTime = distributetime
|
236
|
-
end
|
237
|
-
|
238
|
-
def deserialize(params)
|
239
|
-
@Id = params['Id']
|
240
|
-
@Name = params['Name']
|
241
|
-
@Source = params['Source']
|
242
|
-
@WorkloadKind = params['WorkloadKind']
|
243
|
-
@ManageUrl = params['ManageUrl']
|
244
|
-
@DistributeTime = params['DistributeTime']
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
# ApplyMarketComponent请求参数结构体
|
249
|
-
class ApplyMarketComponentRequest < TencentCloud::Common::AbstractModel
|
250
|
-
# @param ID: 组件ID
|
251
|
-
# @type ID: Integer
|
252
|
-
|
253
|
-
attr_accessor :ID
|
254
|
-
|
255
|
-
def initialize(id=nil)
|
256
|
-
@ID = id
|
257
|
-
end
|
258
|
-
|
259
|
-
def deserialize(params)
|
260
|
-
@ID = params['ID']
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
# ApplyMarketComponent返回参数结构体
|
265
|
-
class ApplyMarketComponentResponse < TencentCloud::Common::AbstractModel
|
266
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
267
|
-
# @type RequestId: String
|
268
|
-
|
269
|
-
attr_accessor :RequestId
|
270
|
-
|
271
|
-
def initialize(requestid=nil)
|
272
|
-
@RequestId = requestid
|
273
|
-
end
|
274
|
-
|
275
|
-
def deserialize(params)
|
276
|
-
@RequestId = params['RequestId']
|
277
|
-
end
|
278
|
-
end
|
279
|
-
|
280
206
|
# BuildMessageRoute请求参数结构体
|
281
207
|
class BuildMessageRouteRequest < TencentCloud::Common::AbstractModel
|
282
208
|
# @param RouteName: 路由名字
|
@@ -476,158 +402,6 @@ module TencentCloud
|
|
476
402
|
end
|
477
403
|
end
|
478
404
|
|
479
|
-
# 容器状态
|
480
|
-
class ContainerStatus < TencentCloud::Common::AbstractModel
|
481
|
-
# @param Name: 容器名
|
482
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
483
|
-
# @type Name: String
|
484
|
-
# @param ID: 容器ID
|
485
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
486
|
-
# @type ID: String
|
487
|
-
# @param Image: 镜像
|
488
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
489
|
-
# @type Image: String
|
490
|
-
# @param RestartCount: 重启次数
|
491
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
492
|
-
# @type RestartCount: Integer
|
493
|
-
# @param Status: 状态
|
494
|
-
# @type Status: String
|
495
|
-
|
496
|
-
attr_accessor :Name, :ID, :Image, :RestartCount, :Status
|
497
|
-
|
498
|
-
def initialize(name=nil, id=nil, image=nil, restartcount=nil, status=nil)
|
499
|
-
@Name = name
|
500
|
-
@ID = id
|
501
|
-
@Image = image
|
502
|
-
@RestartCount = restartcount
|
503
|
-
@Status = status
|
504
|
-
end
|
505
|
-
|
506
|
-
def deserialize(params)
|
507
|
-
@Name = params['Name']
|
508
|
-
@ID = params['ID']
|
509
|
-
@Image = params['Image']
|
510
|
-
@RestartCount = params['RestartCount']
|
511
|
-
@Status = params['Status']
|
512
|
-
end
|
513
|
-
end
|
514
|
-
|
515
|
-
# CreateApplicationVisualization请求参数结构体
|
516
|
-
class CreateApplicationVisualizationRequest < TencentCloud::Common::AbstractModel
|
517
|
-
# @param BasicInfo: 基本信息
|
518
|
-
# @type BasicInfo: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicInfo`
|
519
|
-
# @param BasicConfig: 基本配置
|
520
|
-
# @type BasicConfig: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicConfig`
|
521
|
-
# @param Volumes: 卷列表
|
522
|
-
# @type Volumes: Array
|
523
|
-
# @param Service: 服务配置
|
524
|
-
# @type Service: :class:`Tencentcloud::Iecp.v20210914.models.Service`
|
525
|
-
# @param Job: Job配置
|
526
|
-
# @type Job: :class:`Tencentcloud::Iecp.v20210914.models.Job`
|
527
|
-
# @param CronJob: CronJob配置
|
528
|
-
# @type CronJob: :class:`Tencentcloud::Iecp.v20210914.models.CronJob`
|
529
|
-
# @param RestartPolicy: 重新运行策略
|
530
|
-
# @type RestartPolicy: String
|
531
|
-
# @param ImagePullSecrets: 镜像拉取密钥
|
532
|
-
# @type ImagePullSecrets: Array
|
533
|
-
# @param HorizontalPodAutoscaler: HPA配置
|
534
|
-
# @type HorizontalPodAutoscaler: :class:`Tencentcloud::Iecp.v20210914.models.HorizontalPodAutoscaler`
|
535
|
-
# @param InitContainers: 初始化容器列表
|
536
|
-
# @type InitContainers: Array
|
537
|
-
# @param Containers: 容器列表
|
538
|
-
# @type Containers: Array
|
539
|
-
|
540
|
-
attr_accessor :BasicInfo, :BasicConfig, :Volumes, :Service, :Job, :CronJob, :RestartPolicy, :ImagePullSecrets, :HorizontalPodAutoscaler, :InitContainers, :Containers
|
541
|
-
|
542
|
-
def initialize(basicinfo=nil, basicconfig=nil, volumes=nil, service=nil, job=nil, cronjob=nil, restartpolicy=nil, imagepullsecrets=nil, horizontalpodautoscaler=nil, initcontainers=nil, containers=nil)
|
543
|
-
@BasicInfo = basicinfo
|
544
|
-
@BasicConfig = basicconfig
|
545
|
-
@Volumes = volumes
|
546
|
-
@Service = service
|
547
|
-
@Job = job
|
548
|
-
@CronJob = cronjob
|
549
|
-
@RestartPolicy = restartpolicy
|
550
|
-
@ImagePullSecrets = imagepullsecrets
|
551
|
-
@HorizontalPodAutoscaler = horizontalpodautoscaler
|
552
|
-
@InitContainers = initcontainers
|
553
|
-
@Containers = containers
|
554
|
-
end
|
555
|
-
|
556
|
-
def deserialize(params)
|
557
|
-
unless params['BasicInfo'].nil?
|
558
|
-
@BasicInfo = ApplicationBasicInfo.new
|
559
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
560
|
-
end
|
561
|
-
unless params['BasicConfig'].nil?
|
562
|
-
@BasicConfig = ApplicationBasicConfig.new
|
563
|
-
@BasicConfig.deserialize(params['BasicConfig'])
|
564
|
-
end
|
565
|
-
unless params['Volumes'].nil?
|
566
|
-
@Volumes = []
|
567
|
-
params['Volumes'].each do |i|
|
568
|
-
volume_tmp = Volume.new
|
569
|
-
volume_tmp.deserialize(i)
|
570
|
-
@Volumes << volume_tmp
|
571
|
-
end
|
572
|
-
end
|
573
|
-
unless params['Service'].nil?
|
574
|
-
@Service = Service.new
|
575
|
-
@Service.deserialize(params['Service'])
|
576
|
-
end
|
577
|
-
unless params['Job'].nil?
|
578
|
-
@Job = Job.new
|
579
|
-
@Job.deserialize(params['Job'])
|
580
|
-
end
|
581
|
-
unless params['CronJob'].nil?
|
582
|
-
@CronJob = CronJob.new
|
583
|
-
@CronJob.deserialize(params['CronJob'])
|
584
|
-
end
|
585
|
-
@RestartPolicy = params['RestartPolicy']
|
586
|
-
@ImagePullSecrets = params['ImagePullSecrets']
|
587
|
-
unless params['HorizontalPodAutoscaler'].nil?
|
588
|
-
@HorizontalPodAutoscaler = HorizontalPodAutoscaler.new
|
589
|
-
@HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
|
590
|
-
end
|
591
|
-
unless params['InitContainers'].nil?
|
592
|
-
@InitContainers = []
|
593
|
-
params['InitContainers'].each do |i|
|
594
|
-
container_tmp = Container.new
|
595
|
-
container_tmp.deserialize(i)
|
596
|
-
@InitContainers << container_tmp
|
597
|
-
end
|
598
|
-
end
|
599
|
-
unless params['Containers'].nil?
|
600
|
-
@Containers = []
|
601
|
-
params['Containers'].each do |i|
|
602
|
-
container_tmp = Container.new
|
603
|
-
container_tmp.deserialize(i)
|
604
|
-
@Containers << container_tmp
|
605
|
-
end
|
606
|
-
end
|
607
|
-
end
|
608
|
-
end
|
609
|
-
|
610
|
-
# CreateApplicationVisualization返回参数结构体
|
611
|
-
class CreateApplicationVisualizationResponse < TencentCloud::Common::AbstractModel
|
612
|
-
# @param ApplicationId: 应用ID
|
613
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
614
|
-
# @type ApplicationId: Integer
|
615
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
616
|
-
# @type RequestId: String
|
617
|
-
|
618
|
-
attr_accessor :ApplicationId, :RequestId
|
619
|
-
|
620
|
-
def initialize(applicationid=nil, requestid=nil)
|
621
|
-
@ApplicationId = applicationid
|
622
|
-
@RequestId = requestid
|
623
|
-
end
|
624
|
-
|
625
|
-
def deserialize(params)
|
626
|
-
@ApplicationId = params['ApplicationId']
|
627
|
-
@RequestId = params['RequestId']
|
628
|
-
end
|
629
|
-
end
|
630
|
-
|
631
405
|
# CreateConfigMap请求参数结构体
|
632
406
|
class CreateConfigMapRequest < TencentCloud::Common::AbstractModel
|
633
407
|
# @param EdgeUnitID: 单元ID
|
@@ -854,205 +628,33 @@ module TencentCloud
|
|
854
628
|
end
|
855
629
|
end
|
856
630
|
|
857
|
-
#
|
858
|
-
class
|
859
|
-
# @param
|
860
|
-
# @type
|
861
|
-
# @param
|
862
|
-
# @type
|
863
|
-
# @param
|
864
|
-
# @type
|
865
|
-
# @param
|
866
|
-
# @type
|
867
|
-
# @param
|
868
|
-
# @type
|
869
|
-
# @param
|
870
|
-
# @type
|
871
|
-
# @param
|
872
|
-
# @type
|
873
|
-
# @param CronJob: CronJob配置
|
874
|
-
# @type CronJob: :class:`Tencentcloud::Iecp.v20210914.models.CronJob`
|
875
|
-
# @param RestartPolicy: 重新运行策略
|
876
|
-
# @type RestartPolicy: String
|
877
|
-
# @param ImagePullSecrets: 镜像拉取密钥
|
878
|
-
# @type ImagePullSecrets: Array
|
879
|
-
# @param HorizontalPodAutoscaler: HPA配置
|
880
|
-
# @type HorizontalPodAutoscaler: :class:`Tencentcloud::Iecp.v20210914.models.HorizontalPodAutoscaler`
|
881
|
-
# @param InitContainers: 初始化容器列表
|
882
|
-
# @type InitContainers: Array
|
883
|
-
# @param Containers: 容器列表
|
884
|
-
# @type Containers: Array
|
631
|
+
# CreateEdgeUnitCloud请求参数结构体
|
632
|
+
class CreateEdgeUnitCloudRequest < TencentCloud::Common::AbstractModel
|
633
|
+
# @param Name: 集群名称,长度小于32
|
634
|
+
# @type Name: String
|
635
|
+
# @param K8sVersion: k8s版本,仅支持1.16.7 和 1.18.2
|
636
|
+
# @type K8sVersion: String
|
637
|
+
# @param VpcId: 私有网络ID
|
638
|
+
# @type VpcId: String
|
639
|
+
# @param Description: 集群描述
|
640
|
+
# @type Description: String
|
641
|
+
# @param PodCIDR: 集群pod cidr, 默认 10.1.0.0/16
|
642
|
+
# @type PodCIDR: String
|
643
|
+
# @param ServiceCIDR: 集群service cidr, 默认 10.2.0.0/16
|
644
|
+
# @type ServiceCIDR: String
|
645
|
+
# @param OpenCloudMonitor: 是否开启监控。目前内存中权限开启联系产品开通白名单
|
646
|
+
# @type OpenCloudMonitor: Boolean
|
885
647
|
|
886
|
-
attr_accessor :
|
648
|
+
attr_accessor :Name, :K8sVersion, :VpcId, :Description, :PodCIDR, :ServiceCIDR, :OpenCloudMonitor
|
887
649
|
|
888
|
-
def initialize(
|
889
|
-
@
|
890
|
-
@
|
891
|
-
@
|
892
|
-
@
|
893
|
-
@
|
894
|
-
@
|
895
|
-
@
|
896
|
-
@CronJob = cronjob
|
897
|
-
@RestartPolicy = restartpolicy
|
898
|
-
@ImagePullSecrets = imagepullsecrets
|
899
|
-
@HorizontalPodAutoscaler = horizontalpodautoscaler
|
900
|
-
@InitContainers = initcontainers
|
901
|
-
@Containers = containers
|
902
|
-
end
|
903
|
-
|
904
|
-
def deserialize(params)
|
905
|
-
unless params['BasicInfo'].nil?
|
906
|
-
@BasicInfo = ApplicationBasicInfo.new
|
907
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
908
|
-
end
|
909
|
-
unless params['BasicConfig'].nil?
|
910
|
-
@BasicConfig = ApplicationBasicConfig.new
|
911
|
-
@BasicConfig.deserialize(params['BasicConfig'])
|
912
|
-
end
|
913
|
-
@EdgeUnitId = params['EdgeUnitId']
|
914
|
-
unless params['Volumes'].nil?
|
915
|
-
@Volumes = []
|
916
|
-
params['Volumes'].each do |i|
|
917
|
-
volume_tmp = Volume.new
|
918
|
-
volume_tmp.deserialize(i)
|
919
|
-
@Volumes << volume_tmp
|
920
|
-
end
|
921
|
-
end
|
922
|
-
unless params['Service'].nil?
|
923
|
-
@Service = Service.new
|
924
|
-
@Service.deserialize(params['Service'])
|
925
|
-
end
|
926
|
-
@TemplateID = params['TemplateID']
|
927
|
-
unless params['Job'].nil?
|
928
|
-
@Job = Job.new
|
929
|
-
@Job.deserialize(params['Job'])
|
930
|
-
end
|
931
|
-
unless params['CronJob'].nil?
|
932
|
-
@CronJob = CronJob.new
|
933
|
-
@CronJob.deserialize(params['CronJob'])
|
934
|
-
end
|
935
|
-
@RestartPolicy = params['RestartPolicy']
|
936
|
-
@ImagePullSecrets = params['ImagePullSecrets']
|
937
|
-
unless params['HorizontalPodAutoscaler'].nil?
|
938
|
-
@HorizontalPodAutoscaler = HorizontalPodAutoscaler.new
|
939
|
-
@HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
|
940
|
-
end
|
941
|
-
unless params['InitContainers'].nil?
|
942
|
-
@InitContainers = []
|
943
|
-
params['InitContainers'].each do |i|
|
944
|
-
container_tmp = Container.new
|
945
|
-
container_tmp.deserialize(i)
|
946
|
-
@InitContainers << container_tmp
|
947
|
-
end
|
948
|
-
end
|
949
|
-
unless params['Containers'].nil?
|
950
|
-
@Containers = []
|
951
|
-
params['Containers'].each do |i|
|
952
|
-
container_tmp = Container.new
|
953
|
-
container_tmp.deserialize(i)
|
954
|
-
@Containers << container_tmp
|
955
|
-
end
|
956
|
-
end
|
957
|
-
end
|
958
|
-
end
|
959
|
-
|
960
|
-
# CreateEdgeUnitApplicationVisualization返回参数结构体
|
961
|
-
class CreateEdgeUnitApplicationVisualizationResponse < TencentCloud::Common::AbstractModel
|
962
|
-
# @param ApplicationId: 应用ID
|
963
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
964
|
-
# @type ApplicationId: Integer
|
965
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
966
|
-
# @type RequestId: String
|
967
|
-
|
968
|
-
attr_accessor :ApplicationId, :RequestId
|
969
|
-
|
970
|
-
def initialize(applicationid=nil, requestid=nil)
|
971
|
-
@ApplicationId = applicationid
|
972
|
-
@RequestId = requestid
|
973
|
-
end
|
974
|
-
|
975
|
-
def deserialize(params)
|
976
|
-
@ApplicationId = params['ApplicationId']
|
977
|
-
@RequestId = params['RequestId']
|
978
|
-
end
|
979
|
-
end
|
980
|
-
|
981
|
-
# CreateEdgeUnitApplicationYaml请求参数结构体
|
982
|
-
class CreateEdgeUnitApplicationYamlRequest < TencentCloud::Common::AbstractModel
|
983
|
-
# @param EdgeUnitId: 单元ID
|
984
|
-
# @type EdgeUnitId: Integer
|
985
|
-
# @param Yaml: base64后的Yaml配置
|
986
|
-
# @type Yaml: String
|
987
|
-
# @param BasicInfo: 基本信息
|
988
|
-
# @type BasicInfo: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicInfo`
|
989
|
-
|
990
|
-
attr_accessor :EdgeUnitId, :Yaml, :BasicInfo
|
991
|
-
|
992
|
-
def initialize(edgeunitid=nil, yaml=nil, basicinfo=nil)
|
993
|
-
@EdgeUnitId = edgeunitid
|
994
|
-
@Yaml = yaml
|
995
|
-
@BasicInfo = basicinfo
|
996
|
-
end
|
997
|
-
|
998
|
-
def deserialize(params)
|
999
|
-
@EdgeUnitId = params['EdgeUnitId']
|
1000
|
-
@Yaml = params['Yaml']
|
1001
|
-
unless params['BasicInfo'].nil?
|
1002
|
-
@BasicInfo = ApplicationBasicInfo.new
|
1003
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
1004
|
-
end
|
1005
|
-
end
|
1006
|
-
end
|
1007
|
-
|
1008
|
-
# CreateEdgeUnitApplicationYaml返回参数结构体
|
1009
|
-
class CreateEdgeUnitApplicationYamlResponse < TencentCloud::Common::AbstractModel
|
1010
|
-
# @param ApplicationId: 应用ID
|
1011
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1012
|
-
# @type ApplicationId: Integer
|
1013
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1014
|
-
# @type RequestId: String
|
1015
|
-
|
1016
|
-
attr_accessor :ApplicationId, :RequestId
|
1017
|
-
|
1018
|
-
def initialize(applicationid=nil, requestid=nil)
|
1019
|
-
@ApplicationId = applicationid
|
1020
|
-
@RequestId = requestid
|
1021
|
-
end
|
1022
|
-
|
1023
|
-
def deserialize(params)
|
1024
|
-
@ApplicationId = params['ApplicationId']
|
1025
|
-
@RequestId = params['RequestId']
|
1026
|
-
end
|
1027
|
-
end
|
1028
|
-
|
1029
|
-
# CreateEdgeUnitCloud请求参数结构体
|
1030
|
-
class CreateEdgeUnitCloudRequest < TencentCloud::Common::AbstractModel
|
1031
|
-
# @param Name: 集群名称,长度小于32
|
1032
|
-
# @type Name: String
|
1033
|
-
# @param K8sVersion: k8s版本,仅支持1.16.7 和 1.18.2
|
1034
|
-
# @type K8sVersion: String
|
1035
|
-
# @param VpcId: 私有网络ID
|
1036
|
-
# @type VpcId: String
|
1037
|
-
# @param Description: 集群描述
|
1038
|
-
# @type Description: String
|
1039
|
-
# @param PodCIDR: 集群pod cidr, 默认 10.1.0.0/16
|
1040
|
-
# @type PodCIDR: String
|
1041
|
-
# @param ServiceCIDR: 集群service cidr, 默认 10.2.0.0/16
|
1042
|
-
# @type ServiceCIDR: String
|
1043
|
-
# @param OpenCloudMonitor: 是否开启监控。目前内存中权限开启联系产品开通白名单
|
1044
|
-
# @type OpenCloudMonitor: Boolean
|
1045
|
-
|
1046
|
-
attr_accessor :Name, :K8sVersion, :VpcId, :Description, :PodCIDR, :ServiceCIDR, :OpenCloudMonitor
|
1047
|
-
|
1048
|
-
def initialize(name=nil, k8sversion=nil, vpcid=nil, description=nil, podcidr=nil, servicecidr=nil, opencloudmonitor=nil)
|
1049
|
-
@Name = name
|
1050
|
-
@K8sVersion = k8sversion
|
1051
|
-
@VpcId = vpcid
|
1052
|
-
@Description = description
|
1053
|
-
@PodCIDR = podcidr
|
1054
|
-
@ServiceCIDR = servicecidr
|
1055
|
-
@OpenCloudMonitor = opencloudmonitor
|
650
|
+
def initialize(name=nil, k8sversion=nil, vpcid=nil, description=nil, podcidr=nil, servicecidr=nil, opencloudmonitor=nil)
|
651
|
+
@Name = name
|
652
|
+
@K8sVersion = k8sversion
|
653
|
+
@VpcId = vpcid
|
654
|
+
@Description = description
|
655
|
+
@PodCIDR = podcidr
|
656
|
+
@ServiceCIDR = servicecidr
|
657
|
+
@OpenCloudMonitor = opencloudmonitor
|
1056
658
|
end
|
1057
659
|
|
1058
660
|
def deserialize(params)
|
@@ -1441,38 +1043,6 @@ module TencentCloud
|
|
1441
1043
|
end
|
1442
1044
|
end
|
1443
1045
|
|
1444
|
-
# DeleteApplications请求参数结构体
|
1445
|
-
class DeleteApplicationsRequest < TencentCloud::Common::AbstractModel
|
1446
|
-
# @param ApplicationIds: 应用模板ID列表
|
1447
|
-
# @type ApplicationIds: Array
|
1448
|
-
|
1449
|
-
attr_accessor :ApplicationIds
|
1450
|
-
|
1451
|
-
def initialize(applicationids=nil)
|
1452
|
-
@ApplicationIds = applicationids
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
def deserialize(params)
|
1456
|
-
@ApplicationIds = params['ApplicationIds']
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
# DeleteApplications返回参数结构体
|
1461
|
-
class DeleteApplicationsResponse < TencentCloud::Common::AbstractModel
|
1462
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1463
|
-
# @type RequestId: String
|
1464
|
-
|
1465
|
-
attr_accessor :RequestId
|
1466
|
-
|
1467
|
-
def initialize(requestid=nil)
|
1468
|
-
@RequestId = requestid
|
1469
|
-
end
|
1470
|
-
|
1471
|
-
def deserialize(params)
|
1472
|
-
@RequestId = params['RequestId']
|
1473
|
-
end
|
1474
|
-
end
|
1475
|
-
|
1476
1046
|
# DeleteConfigMap请求参数结构体
|
1477
1047
|
class DeleteConfigMapRequest < TencentCloud::Common::AbstractModel
|
1478
1048
|
# @param EdgeUnitID: 单元ID
|
@@ -1625,42 +1195,6 @@ module TencentCloud
|
|
1625
1195
|
end
|
1626
1196
|
end
|
1627
1197
|
|
1628
|
-
# DeleteEdgeUnitApplications请求参数结构体
|
1629
|
-
class DeleteEdgeUnitApplicationsRequest < TencentCloud::Common::AbstractModel
|
1630
|
-
# @param EdgeUnitID: 单元ID
|
1631
|
-
# @type EdgeUnitID: Integer
|
1632
|
-
# @param ApplicationIDs: 应用ID列表
|
1633
|
-
# @type ApplicationIDs: Array
|
1634
|
-
|
1635
|
-
attr_accessor :EdgeUnitID, :ApplicationIDs
|
1636
|
-
|
1637
|
-
def initialize(edgeunitid=nil, applicationids=nil)
|
1638
|
-
@EdgeUnitID = edgeunitid
|
1639
|
-
@ApplicationIDs = applicationids
|
1640
|
-
end
|
1641
|
-
|
1642
|
-
def deserialize(params)
|
1643
|
-
@EdgeUnitID = params['EdgeUnitID']
|
1644
|
-
@ApplicationIDs = params['ApplicationIDs']
|
1645
|
-
end
|
1646
|
-
end
|
1647
|
-
|
1648
|
-
# DeleteEdgeUnitApplications返回参数结构体
|
1649
|
-
class DeleteEdgeUnitApplicationsResponse < TencentCloud::Common::AbstractModel
|
1650
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1651
|
-
# @type RequestId: String
|
1652
|
-
|
1653
|
-
attr_accessor :RequestId
|
1654
|
-
|
1655
|
-
def initialize(requestid=nil)
|
1656
|
-
@RequestId = requestid
|
1657
|
-
end
|
1658
|
-
|
1659
|
-
def deserialize(params)
|
1660
|
-
@RequestId = params['RequestId']
|
1661
|
-
end
|
1662
|
-
end
|
1663
|
-
|
1664
1198
|
# DeleteEdgeUnitCloud请求参数结构体
|
1665
1199
|
class DeleteEdgeUnitCloudRequest < TencentCloud::Common::AbstractModel
|
1666
1200
|
# @param EdgeUnitId: 边缘集群ID
|
@@ -2060,334 +1594,58 @@ module TencentCloud
|
|
2060
1594
|
end
|
2061
1595
|
end
|
2062
1596
|
|
2063
|
-
#
|
2064
|
-
class
|
2065
|
-
# @param
|
2066
|
-
# @type
|
1597
|
+
# DescribeConfigMap请求参数结构体
|
1598
|
+
class DescribeConfigMapRequest < TencentCloud::Common::AbstractModel
|
1599
|
+
# @param EdgeUnitID: 单元ID
|
1600
|
+
# @type EdgeUnitID: Integer
|
1601
|
+
# @param ConfigMapName: ConfigMap名称
|
1602
|
+
# @type ConfigMapName: String
|
1603
|
+
# @param ConfigMapNamespace: ConfigMap命名空间
|
1604
|
+
# @type ConfigMapNamespace: String
|
2067
1605
|
|
2068
|
-
attr_accessor :
|
1606
|
+
attr_accessor :EdgeUnitID, :ConfigMapName, :ConfigMapNamespace
|
2069
1607
|
|
2070
|
-
def initialize(
|
2071
|
-
@
|
1608
|
+
def initialize(edgeunitid=nil, configmapname=nil, configmapnamespace=nil)
|
1609
|
+
@EdgeUnitID = edgeunitid
|
1610
|
+
@ConfigMapName = configmapname
|
1611
|
+
@ConfigMapNamespace = configmapnamespace
|
2072
1612
|
end
|
2073
1613
|
|
2074
1614
|
def deserialize(params)
|
2075
|
-
@
|
1615
|
+
@EdgeUnitID = params['EdgeUnitID']
|
1616
|
+
@ConfigMapName = params['ConfigMapName']
|
1617
|
+
@ConfigMapNamespace = params['ConfigMapNamespace']
|
2076
1618
|
end
|
2077
1619
|
end
|
2078
1620
|
|
2079
|
-
#
|
2080
|
-
class
|
2081
|
-
# @param
|
2082
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2083
|
-
# @type BasicInfo: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicInfo`
|
2084
|
-
# @param BasicConfig: 基本配置
|
2085
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2086
|
-
# @type BasicConfig: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicConfig`
|
2087
|
-
# @param Volumes: 卷配置
|
2088
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2089
|
-
# @type Volumes: Array
|
2090
|
-
# @param InitContainers: 初始化容器配置
|
2091
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2092
|
-
# @type InitContainers: Array
|
2093
|
-
# @param Containers: 容器配置
|
2094
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2095
|
-
# @type Containers: Array
|
2096
|
-
# @param Service: 服务配置
|
2097
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2098
|
-
# @type Service: :class:`Tencentcloud::Iecp.v20210914.models.Service`
|
2099
|
-
# @param Job: Job配置
|
1621
|
+
# DescribeConfigMap返回参数结构体
|
1622
|
+
class DescribeConfigMapResponse < TencentCloud::Common::AbstractModel
|
1623
|
+
# @param Name: 名称
|
2100
1624
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2101
|
-
# @type
|
2102
|
-
# @param
|
1625
|
+
# @type Name: String
|
1626
|
+
# @param Namespace: 命名空间
|
2103
1627
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2104
|
-
# @type
|
2105
|
-
# @param
|
1628
|
+
# @type Namespace: String
|
1629
|
+
# @param CreateTime: 创建时间
|
2106
1630
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2107
|
-
# @type
|
2108
|
-
# @param
|
1631
|
+
# @type CreateTime: String
|
1632
|
+
# @param Yaml: yaml配置
|
2109
1633
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2110
|
-
# @type
|
2111
|
-
# @param
|
1634
|
+
# @type Yaml: String
|
1635
|
+
# @param Json: 配置项的json格式(base64编码)
|
2112
1636
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2113
|
-
# @type
|
1637
|
+
# @type Json: String
|
2114
1638
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2115
1639
|
# @type RequestId: String
|
2116
1640
|
|
2117
|
-
attr_accessor :
|
1641
|
+
attr_accessor :Name, :Namespace, :CreateTime, :Yaml, :Json, :RequestId
|
2118
1642
|
|
2119
|
-
def initialize(
|
2120
|
-
@
|
2121
|
-
@
|
2122
|
-
@
|
2123
|
-
@
|
2124
|
-
@
|
2125
|
-
@Service = service
|
2126
|
-
@Job = job
|
2127
|
-
@CronJob = cronjob
|
2128
|
-
@RestartPolicy = restartpolicy
|
2129
|
-
@HorizontalPodAutoscaler = horizontalpodautoscaler
|
2130
|
-
@ImagePullSecrets = imagepullsecrets
|
2131
|
-
@RequestId = requestid
|
2132
|
-
end
|
2133
|
-
|
2134
|
-
def deserialize(params)
|
2135
|
-
unless params['BasicInfo'].nil?
|
2136
|
-
@BasicInfo = ApplicationBasicInfo.new
|
2137
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
2138
|
-
end
|
2139
|
-
unless params['BasicConfig'].nil?
|
2140
|
-
@BasicConfig = ApplicationBasicConfig.new
|
2141
|
-
@BasicConfig.deserialize(params['BasicConfig'])
|
2142
|
-
end
|
2143
|
-
unless params['Volumes'].nil?
|
2144
|
-
@Volumes = []
|
2145
|
-
params['Volumes'].each do |i|
|
2146
|
-
volume_tmp = Volume.new
|
2147
|
-
volume_tmp.deserialize(i)
|
2148
|
-
@Volumes << volume_tmp
|
2149
|
-
end
|
2150
|
-
end
|
2151
|
-
unless params['InitContainers'].nil?
|
2152
|
-
@InitContainers = []
|
2153
|
-
params['InitContainers'].each do |i|
|
2154
|
-
container_tmp = Container.new
|
2155
|
-
container_tmp.deserialize(i)
|
2156
|
-
@InitContainers << container_tmp
|
2157
|
-
end
|
2158
|
-
end
|
2159
|
-
unless params['Containers'].nil?
|
2160
|
-
@Containers = []
|
2161
|
-
params['Containers'].each do |i|
|
2162
|
-
container_tmp = Container.new
|
2163
|
-
container_tmp.deserialize(i)
|
2164
|
-
@Containers << container_tmp
|
2165
|
-
end
|
2166
|
-
end
|
2167
|
-
unless params['Service'].nil?
|
2168
|
-
@Service = Service.new
|
2169
|
-
@Service.deserialize(params['Service'])
|
2170
|
-
end
|
2171
|
-
unless params['Job'].nil?
|
2172
|
-
@Job = Job.new
|
2173
|
-
@Job.deserialize(params['Job'])
|
2174
|
-
end
|
2175
|
-
unless params['CronJob'].nil?
|
2176
|
-
@CronJob = CronJob.new
|
2177
|
-
@CronJob.deserialize(params['CronJob'])
|
2178
|
-
end
|
2179
|
-
@RestartPolicy = params['RestartPolicy']
|
2180
|
-
unless params['HorizontalPodAutoscaler'].nil?
|
2181
|
-
@HorizontalPodAutoscaler = HorizontalPodAutoscaler.new
|
2182
|
-
@HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
|
2183
|
-
end
|
2184
|
-
@ImagePullSecrets = params['ImagePullSecrets']
|
2185
|
-
@RequestId = params['RequestId']
|
2186
|
-
end
|
2187
|
-
end
|
2188
|
-
|
2189
|
-
# DescribeApplicationYamlError请求参数结构体
|
2190
|
-
class DescribeApplicationYamlErrorRequest < TencentCloud::Common::AbstractModel
|
2191
|
-
# @param Yaml: Yaml配置
|
2192
|
-
# @type Yaml: String
|
2193
|
-
|
2194
|
-
attr_accessor :Yaml
|
2195
|
-
|
2196
|
-
def initialize(yaml=nil)
|
2197
|
-
@Yaml = yaml
|
2198
|
-
end
|
2199
|
-
|
2200
|
-
def deserialize(params)
|
2201
|
-
@Yaml = params['Yaml']
|
2202
|
-
end
|
2203
|
-
end
|
2204
|
-
|
2205
|
-
# DescribeApplicationYamlError返回参数结构体
|
2206
|
-
class DescribeApplicationYamlErrorResponse < TencentCloud::Common::AbstractModel
|
2207
|
-
# @param CheckPass: 是否通过
|
2208
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2209
|
-
# @type CheckPass: Boolean
|
2210
|
-
# @param ErrType: 错误类型
|
2211
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2212
|
-
# @type ErrType: Integer
|
2213
|
-
# @param ErrInfo: 错误信息
|
2214
|
-
# @type ErrInfo: String
|
2215
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2216
|
-
# @type RequestId: String
|
2217
|
-
|
2218
|
-
attr_accessor :CheckPass, :ErrType, :ErrInfo, :RequestId
|
2219
|
-
|
2220
|
-
def initialize(checkpass=nil, errtype=nil, errinfo=nil, requestid=nil)
|
2221
|
-
@CheckPass = checkpass
|
2222
|
-
@ErrType = errtype
|
2223
|
-
@ErrInfo = errinfo
|
2224
|
-
@RequestId = requestid
|
2225
|
-
end
|
2226
|
-
|
2227
|
-
def deserialize(params)
|
2228
|
-
@CheckPass = params['CheckPass']
|
2229
|
-
@ErrType = params['ErrType']
|
2230
|
-
@ErrInfo = params['ErrInfo']
|
2231
|
-
@RequestId = params['RequestId']
|
2232
|
-
end
|
2233
|
-
end
|
2234
|
-
|
2235
|
-
# DescribeApplicationYaml请求参数结构体
|
2236
|
-
class DescribeApplicationYamlRequest < TencentCloud::Common::AbstractModel
|
2237
|
-
# @param ApplicationId: 应用模板ID
|
2238
|
-
# @type ApplicationId: Integer
|
2239
|
-
|
2240
|
-
attr_accessor :ApplicationId
|
2241
|
-
|
2242
|
-
def initialize(applicationid=nil)
|
2243
|
-
@ApplicationId = applicationid
|
2244
|
-
end
|
2245
|
-
|
2246
|
-
def deserialize(params)
|
2247
|
-
@ApplicationId = params['ApplicationId']
|
2248
|
-
end
|
2249
|
-
end
|
2250
|
-
|
2251
|
-
# DescribeApplicationYaml返回参数结构体
|
2252
|
-
class DescribeApplicationYamlResponse < TencentCloud::Common::AbstractModel
|
2253
|
-
# @param Yaml: base64 后的yaml
|
2254
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2255
|
-
# @type Yaml: String
|
2256
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2257
|
-
# @type RequestId: String
|
2258
|
-
|
2259
|
-
attr_accessor :Yaml, :RequestId
|
2260
|
-
|
2261
|
-
def initialize(yaml=nil, requestid=nil)
|
2262
|
-
@Yaml = yaml
|
2263
|
-
@RequestId = requestid
|
2264
|
-
end
|
2265
|
-
|
2266
|
-
def deserialize(params)
|
2267
|
-
@Yaml = params['Yaml']
|
2268
|
-
@RequestId = params['RequestId']
|
2269
|
-
end
|
2270
|
-
end
|
2271
|
-
|
2272
|
-
# DescribeApplications请求参数结构体
|
2273
|
-
class DescribeApplicationsRequest < TencentCloud::Common::AbstractModel
|
2274
|
-
# @param NamePattern: 模糊搜索字符串
|
2275
|
-
# @type NamePattern: String
|
2276
|
-
# @param Offset: 默认 0
|
2277
|
-
# @type Offset: Integer
|
2278
|
-
# @param Limit: 默认 20
|
2279
|
-
# @type Limit: Integer
|
2280
|
-
# @param Sort: 仅支持对 DistributeTime 字段排序,ASC/DESC
|
2281
|
-
# @type Sort: Array
|
2282
|
-
|
2283
|
-
attr_accessor :NamePattern, :Offset, :Limit, :Sort
|
2284
|
-
|
2285
|
-
def initialize(namepattern=nil, offset=nil, limit=nil, sort=nil)
|
2286
|
-
@NamePattern = namepattern
|
2287
|
-
@Offset = offset
|
2288
|
-
@Limit = limit
|
2289
|
-
@Sort = sort
|
2290
|
-
end
|
2291
|
-
|
2292
|
-
def deserialize(params)
|
2293
|
-
@NamePattern = params['NamePattern']
|
2294
|
-
@Offset = params['Offset']
|
2295
|
-
@Limit = params['Limit']
|
2296
|
-
unless params['Sort'].nil?
|
2297
|
-
@Sort = []
|
2298
|
-
params['Sort'].each do |i|
|
2299
|
-
fieldsort_tmp = FieldSort.new
|
2300
|
-
fieldsort_tmp.deserialize(i)
|
2301
|
-
@Sort << fieldsort_tmp
|
2302
|
-
end
|
2303
|
-
end
|
2304
|
-
end
|
2305
|
-
end
|
2306
|
-
|
2307
|
-
# DescribeApplications返回参数结构体
|
2308
|
-
class DescribeApplicationsResponse < TencentCloud::Common::AbstractModel
|
2309
|
-
# @param TotalCount: 总条数
|
2310
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2311
|
-
# @type TotalCount: Integer
|
2312
|
-
# @param ApplicationSet: 详细列表
|
2313
|
-
# @type ApplicationSet: Array
|
2314
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2315
|
-
# @type RequestId: String
|
2316
|
-
|
2317
|
-
attr_accessor :TotalCount, :ApplicationSet, :RequestId
|
2318
|
-
|
2319
|
-
def initialize(totalcount=nil, applicationset=nil, requestid=nil)
|
2320
|
-
@TotalCount = totalcount
|
2321
|
-
@ApplicationSet = applicationset
|
2322
|
-
@RequestId = requestid
|
2323
|
-
end
|
2324
|
-
|
2325
|
-
def deserialize(params)
|
2326
|
-
@TotalCount = params['TotalCount']
|
2327
|
-
unless params['ApplicationSet'].nil?
|
2328
|
-
@ApplicationSet = []
|
2329
|
-
params['ApplicationSet'].each do |i|
|
2330
|
-
applicationtemplate_tmp = ApplicationTemplate.new
|
2331
|
-
applicationtemplate_tmp.deserialize(i)
|
2332
|
-
@ApplicationSet << applicationtemplate_tmp
|
2333
|
-
end
|
2334
|
-
end
|
2335
|
-
@RequestId = params['RequestId']
|
2336
|
-
end
|
2337
|
-
end
|
2338
|
-
|
2339
|
-
# DescribeConfigMap请求参数结构体
|
2340
|
-
class DescribeConfigMapRequest < TencentCloud::Common::AbstractModel
|
2341
|
-
# @param EdgeUnitID: 单元ID
|
2342
|
-
# @type EdgeUnitID: Integer
|
2343
|
-
# @param ConfigMapName: ConfigMap名称
|
2344
|
-
# @type ConfigMapName: String
|
2345
|
-
# @param ConfigMapNamespace: ConfigMap命名空间
|
2346
|
-
# @type ConfigMapNamespace: String
|
2347
|
-
|
2348
|
-
attr_accessor :EdgeUnitID, :ConfigMapName, :ConfigMapNamespace
|
2349
|
-
|
2350
|
-
def initialize(edgeunitid=nil, configmapname=nil, configmapnamespace=nil)
|
2351
|
-
@EdgeUnitID = edgeunitid
|
2352
|
-
@ConfigMapName = configmapname
|
2353
|
-
@ConfigMapNamespace = configmapnamespace
|
2354
|
-
end
|
2355
|
-
|
2356
|
-
def deserialize(params)
|
2357
|
-
@EdgeUnitID = params['EdgeUnitID']
|
2358
|
-
@ConfigMapName = params['ConfigMapName']
|
2359
|
-
@ConfigMapNamespace = params['ConfigMapNamespace']
|
2360
|
-
end
|
2361
|
-
end
|
2362
|
-
|
2363
|
-
# DescribeConfigMap返回参数结构体
|
2364
|
-
class DescribeConfigMapResponse < TencentCloud::Common::AbstractModel
|
2365
|
-
# @param Name: 名称
|
2366
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2367
|
-
# @type Name: String
|
2368
|
-
# @param Namespace: 命名空间
|
2369
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2370
|
-
# @type Namespace: String
|
2371
|
-
# @param CreateTime: 创建时间
|
2372
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2373
|
-
# @type CreateTime: String
|
2374
|
-
# @param Yaml: yaml配置
|
2375
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2376
|
-
# @type Yaml: String
|
2377
|
-
# @param Json: 配置项的json格式(base64编码)
|
2378
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2379
|
-
# @type Json: String
|
2380
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2381
|
-
# @type RequestId: String
|
2382
|
-
|
2383
|
-
attr_accessor :Name, :Namespace, :CreateTime, :Yaml, :Json, :RequestId
|
2384
|
-
|
2385
|
-
def initialize(name=nil, namespace=nil, createtime=nil, yaml=nil, json=nil, requestid=nil)
|
2386
|
-
@Name = name
|
2387
|
-
@Namespace = namespace
|
2388
|
-
@CreateTime = createtime
|
2389
|
-
@Yaml = yaml
|
2390
|
-
@Json = json
|
1643
|
+
def initialize(name=nil, namespace=nil, createtime=nil, yaml=nil, json=nil, requestid=nil)
|
1644
|
+
@Name = name
|
1645
|
+
@Namespace = namespace
|
1646
|
+
@CreateTime = createtime
|
1647
|
+
@Yaml = yaml
|
1648
|
+
@Json = json
|
2391
1649
|
@RequestId = requestid
|
2392
1650
|
end
|
2393
1651
|
|
@@ -3161,464 +2419,46 @@ module TencentCloud
|
|
3161
2419
|
end
|
3162
2420
|
end
|
3163
2421
|
|
3164
|
-
#
|
3165
|
-
class
|
2422
|
+
# DescribeEdgeUnitApplications请求参数结构体
|
2423
|
+
class DescribeEdgeUnitApplicationsRequest < TencentCloud::Common::AbstractModel
|
3166
2424
|
# @param EdgeUnitId: 单元ID
|
3167
2425
|
# @type EdgeUnitId: Integer
|
3168
|
-
# @param
|
3169
|
-
# @type
|
2426
|
+
# @param Offset: 翻页偏移
|
2427
|
+
# @type Offset: Integer
|
2428
|
+
# @param Limit: 翻页大小
|
2429
|
+
# @type Limit: Integer
|
2430
|
+
# @param NamePattern: 名称模糊匹配
|
2431
|
+
# @type NamePattern: String
|
2432
|
+
# @param Sort: 字段排序 (Sort.Filed为:StartTime)
|
2433
|
+
# @type Sort: Array
|
2434
|
+
# @param Namespace: 命名空间过滤
|
2435
|
+
# @type Namespace: String
|
3170
2436
|
|
3171
|
-
attr_accessor :EdgeUnitId, :
|
2437
|
+
attr_accessor :EdgeUnitId, :Offset, :Limit, :NamePattern, :Sort, :Namespace
|
3172
2438
|
|
3173
|
-
def initialize(edgeunitid=nil,
|
2439
|
+
def initialize(edgeunitid=nil, offset=nil, limit=nil, namepattern=nil, sort=nil, namespace=nil)
|
3174
2440
|
@EdgeUnitId = edgeunitid
|
3175
|
-
@
|
2441
|
+
@Offset = offset
|
2442
|
+
@Limit = limit
|
2443
|
+
@NamePattern = namepattern
|
2444
|
+
@Sort = sort
|
2445
|
+
@Namespace = namespace
|
3176
2446
|
end
|
3177
2447
|
|
3178
2448
|
def deserialize(params)
|
3179
2449
|
@EdgeUnitId = params['EdgeUnitId']
|
3180
|
-
@
|
3181
|
-
|
3182
|
-
|
3183
|
-
|
3184
|
-
|
3185
|
-
|
3186
|
-
|
3187
|
-
|
3188
|
-
|
3189
|
-
|
3190
|
-
|
3191
|
-
|
3192
|
-
attr_accessor :EventSet, :RequestId
|
3193
|
-
|
3194
|
-
def initialize(eventset=nil, requestid=nil)
|
3195
|
-
@EventSet = eventset
|
3196
|
-
@RequestId = requestid
|
3197
|
-
end
|
3198
|
-
|
3199
|
-
def deserialize(params)
|
3200
|
-
unless params['EventSet'].nil?
|
3201
|
-
@EventSet = []
|
3202
|
-
params['EventSet'].each do |i|
|
3203
|
-
event_tmp = Event.new
|
3204
|
-
event_tmp.deserialize(i)
|
3205
|
-
@EventSet << event_tmp
|
3206
|
-
end
|
3207
|
-
end
|
3208
|
-
@RequestId = params['RequestId']
|
3209
|
-
end
|
3210
|
-
end
|
3211
|
-
|
3212
|
-
# DescribeEdgeUnitApplicationLogs请求参数结构体
|
3213
|
-
class DescribeEdgeUnitApplicationLogsRequest < TencentCloud::Common::AbstractModel
|
3214
|
-
# @param EdgeUnitId: 单元ID
|
3215
|
-
# @type EdgeUnitId: Integer
|
3216
|
-
# @param ApplicationId: 应用ID
|
3217
|
-
# @type ApplicationId: Integer
|
3218
|
-
# @param Limit: 最大条数
|
3219
|
-
# @type Limit: Integer
|
3220
|
-
# @param PodName: Pod名
|
3221
|
-
# @type PodName: String
|
3222
|
-
# @param ContainerName: 容器名
|
3223
|
-
# @type ContainerName: String
|
3224
|
-
|
3225
|
-
attr_accessor :EdgeUnitId, :ApplicationId, :Limit, :PodName, :ContainerName
|
3226
|
-
|
3227
|
-
def initialize(edgeunitid=nil, applicationid=nil, limit=nil, podname=nil, containername=nil)
|
3228
|
-
@EdgeUnitId = edgeunitid
|
3229
|
-
@ApplicationId = applicationid
|
3230
|
-
@Limit = limit
|
3231
|
-
@PodName = podname
|
3232
|
-
@ContainerName = containername
|
3233
|
-
end
|
3234
|
-
|
3235
|
-
def deserialize(params)
|
3236
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3237
|
-
@ApplicationId = params['ApplicationId']
|
3238
|
-
@Limit = params['Limit']
|
3239
|
-
@PodName = params['PodName']
|
3240
|
-
@ContainerName = params['ContainerName']
|
3241
|
-
end
|
3242
|
-
end
|
3243
|
-
|
3244
|
-
# DescribeEdgeUnitApplicationLogs返回参数结构体
|
3245
|
-
class DescribeEdgeUnitApplicationLogsResponse < TencentCloud::Common::AbstractModel
|
3246
|
-
# @param LogSet: 日志列表
|
3247
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3248
|
-
# @type LogSet: Array
|
3249
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3250
|
-
# @type RequestId: String
|
3251
|
-
|
3252
|
-
attr_accessor :LogSet, :RequestId
|
3253
|
-
|
3254
|
-
def initialize(logset=nil, requestid=nil)
|
3255
|
-
@LogSet = logset
|
3256
|
-
@RequestId = requestid
|
3257
|
-
end
|
3258
|
-
|
3259
|
-
def deserialize(params)
|
3260
|
-
@LogSet = params['LogSet']
|
3261
|
-
@RequestId = params['RequestId']
|
3262
|
-
end
|
3263
|
-
end
|
3264
|
-
|
3265
|
-
# DescribeEdgeUnitApplicationPodContainers请求参数结构体
|
3266
|
-
class DescribeEdgeUnitApplicationPodContainersRequest < TencentCloud::Common::AbstractModel
|
3267
|
-
# @param EdgeUnitId: 单元ID
|
3268
|
-
# @type EdgeUnitId: Integer
|
3269
|
-
# @param ApplicationId: 应用ID
|
3270
|
-
# @type ApplicationId: Integer
|
3271
|
-
# @param PodName: Pod名
|
3272
|
-
# @type PodName: String
|
3273
|
-
|
3274
|
-
attr_accessor :EdgeUnitId, :ApplicationId, :PodName
|
3275
|
-
|
3276
|
-
def initialize(edgeunitid=nil, applicationid=nil, podname=nil)
|
3277
|
-
@EdgeUnitId = edgeunitid
|
3278
|
-
@ApplicationId = applicationid
|
3279
|
-
@PodName = podname
|
3280
|
-
end
|
3281
|
-
|
3282
|
-
def deserialize(params)
|
3283
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3284
|
-
@ApplicationId = params['ApplicationId']
|
3285
|
-
@PodName = params['PodName']
|
3286
|
-
end
|
3287
|
-
end
|
3288
|
-
|
3289
|
-
# DescribeEdgeUnitApplicationPodContainers返回参数结构体
|
3290
|
-
class DescribeEdgeUnitApplicationPodContainersResponse < TencentCloud::Common::AbstractModel
|
3291
|
-
# @param ContainerSet: 容器列表
|
3292
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3293
|
-
# @type ContainerSet: Array
|
3294
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3295
|
-
# @type RequestId: String
|
3296
|
-
|
3297
|
-
attr_accessor :ContainerSet, :RequestId
|
3298
|
-
|
3299
|
-
def initialize(containerset=nil, requestid=nil)
|
3300
|
-
@ContainerSet = containerset
|
3301
|
-
@RequestId = requestid
|
3302
|
-
end
|
3303
|
-
|
3304
|
-
def deserialize(params)
|
3305
|
-
unless params['ContainerSet'].nil?
|
3306
|
-
@ContainerSet = []
|
3307
|
-
params['ContainerSet'].each do |i|
|
3308
|
-
containerstatus_tmp = ContainerStatus.new
|
3309
|
-
containerstatus_tmp.deserialize(i)
|
3310
|
-
@ContainerSet << containerstatus_tmp
|
3311
|
-
end
|
3312
|
-
end
|
3313
|
-
@RequestId = params['RequestId']
|
3314
|
-
end
|
3315
|
-
end
|
3316
|
-
|
3317
|
-
# DescribeEdgeUnitApplicationPods请求参数结构体
|
3318
|
-
class DescribeEdgeUnitApplicationPodsRequest < TencentCloud::Common::AbstractModel
|
3319
|
-
# @param EdgeUnitId: 单元ID
|
3320
|
-
# @type EdgeUnitId: Integer
|
3321
|
-
# @param ApplicationId: 应用ID
|
3322
|
-
# @type ApplicationId: Integer
|
3323
|
-
|
3324
|
-
attr_accessor :EdgeUnitId, :ApplicationId
|
3325
|
-
|
3326
|
-
def initialize(edgeunitid=nil, applicationid=nil)
|
3327
|
-
@EdgeUnitId = edgeunitid
|
3328
|
-
@ApplicationId = applicationid
|
3329
|
-
end
|
3330
|
-
|
3331
|
-
def deserialize(params)
|
3332
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3333
|
-
@ApplicationId = params['ApplicationId']
|
3334
|
-
end
|
3335
|
-
end
|
3336
|
-
|
3337
|
-
# DescribeEdgeUnitApplicationPods返回参数结构体
|
3338
|
-
class DescribeEdgeUnitApplicationPodsResponse < TencentCloud::Common::AbstractModel
|
3339
|
-
# @param PodSet: Pod列表
|
3340
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3341
|
-
# @type PodSet: Array
|
3342
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3343
|
-
# @type RequestId: String
|
3344
|
-
|
3345
|
-
attr_accessor :PodSet, :RequestId
|
3346
|
-
|
3347
|
-
def initialize(podset=nil, requestid=nil)
|
3348
|
-
@PodSet = podset
|
3349
|
-
@RequestId = requestid
|
3350
|
-
end
|
3351
|
-
|
3352
|
-
def deserialize(params)
|
3353
|
-
unless params['PodSet'].nil?
|
3354
|
-
@PodSet = []
|
3355
|
-
params['PodSet'].each do |i|
|
3356
|
-
podstatus_tmp = PodStatus.new
|
3357
|
-
podstatus_tmp.deserialize(i)
|
3358
|
-
@PodSet << podstatus_tmp
|
3359
|
-
end
|
3360
|
-
end
|
3361
|
-
@RequestId = params['RequestId']
|
3362
|
-
end
|
3363
|
-
end
|
3364
|
-
|
3365
|
-
# DescribeEdgeUnitApplicationVisualization请求参数结构体
|
3366
|
-
class DescribeEdgeUnitApplicationVisualizationRequest < TencentCloud::Common::AbstractModel
|
3367
|
-
# @param EdgeUnitId: 单元ID
|
3368
|
-
# @type EdgeUnitId: Integer
|
3369
|
-
# @param ApplicationId: 应用ID
|
3370
|
-
# @type ApplicationId: Integer
|
3371
|
-
|
3372
|
-
attr_accessor :EdgeUnitId, :ApplicationId
|
3373
|
-
|
3374
|
-
def initialize(edgeunitid=nil, applicationid=nil)
|
3375
|
-
@EdgeUnitId = edgeunitid
|
3376
|
-
@ApplicationId = applicationid
|
3377
|
-
end
|
3378
|
-
|
3379
|
-
def deserialize(params)
|
3380
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3381
|
-
@ApplicationId = params['ApplicationId']
|
3382
|
-
end
|
3383
|
-
end
|
3384
|
-
|
3385
|
-
# DescribeEdgeUnitApplicationVisualization返回参数结构体
|
3386
|
-
class DescribeEdgeUnitApplicationVisualizationResponse < TencentCloud::Common::AbstractModel
|
3387
|
-
# @param BasicInfo: 基本信息
|
3388
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3389
|
-
# @type BasicInfo: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicInfo`
|
3390
|
-
# @param BasicConfig: 基本配置
|
3391
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3392
|
-
# @type BasicConfig: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicConfig`
|
3393
|
-
# @param Volumes: 卷配置
|
3394
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3395
|
-
# @type Volumes: Array
|
3396
|
-
# @param InitContainers: 初始化容器配置
|
3397
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3398
|
-
# @type InitContainers: Array
|
3399
|
-
# @param Containers: 容器配置
|
3400
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3401
|
-
# @type Containers: Array
|
3402
|
-
# @param Service: 服务配置
|
3403
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3404
|
-
# @type Service: :class:`Tencentcloud::Iecp.v20210914.models.Service`
|
3405
|
-
# @param Job: Job配置
|
3406
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3407
|
-
# @type Job: :class:`Tencentcloud::Iecp.v20210914.models.Job`
|
3408
|
-
# @param CronJob: CronJob配置
|
3409
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3410
|
-
# @type CronJob: :class:`Tencentcloud::Iecp.v20210914.models.CronJob`
|
3411
|
-
# @param RestartPolicy: 重启策略
|
3412
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3413
|
-
# @type RestartPolicy: String
|
3414
|
-
# @param HorizontalPodAutoscaler: HPA
|
3415
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3416
|
-
# @type HorizontalPodAutoscaler: :class:`Tencentcloud::Iecp.v20210914.models.HorizontalPodAutoscaler`
|
3417
|
-
# @param ImagePullSecrets: 镜像拉取Secret
|
3418
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3419
|
-
# @type ImagePullSecrets: Array
|
3420
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3421
|
-
# @type RequestId: String
|
3422
|
-
|
3423
|
-
attr_accessor :BasicInfo, :BasicConfig, :Volumes, :InitContainers, :Containers, :Service, :Job, :CronJob, :RestartPolicy, :HorizontalPodAutoscaler, :ImagePullSecrets, :RequestId
|
3424
|
-
|
3425
|
-
def initialize(basicinfo=nil, basicconfig=nil, volumes=nil, initcontainers=nil, containers=nil, service=nil, job=nil, cronjob=nil, restartpolicy=nil, horizontalpodautoscaler=nil, imagepullsecrets=nil, requestid=nil)
|
3426
|
-
@BasicInfo = basicinfo
|
3427
|
-
@BasicConfig = basicconfig
|
3428
|
-
@Volumes = volumes
|
3429
|
-
@InitContainers = initcontainers
|
3430
|
-
@Containers = containers
|
3431
|
-
@Service = service
|
3432
|
-
@Job = job
|
3433
|
-
@CronJob = cronjob
|
3434
|
-
@RestartPolicy = restartpolicy
|
3435
|
-
@HorizontalPodAutoscaler = horizontalpodautoscaler
|
3436
|
-
@ImagePullSecrets = imagepullsecrets
|
3437
|
-
@RequestId = requestid
|
3438
|
-
end
|
3439
|
-
|
3440
|
-
def deserialize(params)
|
3441
|
-
unless params['BasicInfo'].nil?
|
3442
|
-
@BasicInfo = ApplicationBasicInfo.new
|
3443
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
3444
|
-
end
|
3445
|
-
unless params['BasicConfig'].nil?
|
3446
|
-
@BasicConfig = ApplicationBasicConfig.new
|
3447
|
-
@BasicConfig.deserialize(params['BasicConfig'])
|
3448
|
-
end
|
3449
|
-
unless params['Volumes'].nil?
|
3450
|
-
@Volumes = []
|
3451
|
-
params['Volumes'].each do |i|
|
3452
|
-
volume_tmp = Volume.new
|
3453
|
-
volume_tmp.deserialize(i)
|
3454
|
-
@Volumes << volume_tmp
|
3455
|
-
end
|
3456
|
-
end
|
3457
|
-
unless params['InitContainers'].nil?
|
3458
|
-
@InitContainers = []
|
3459
|
-
params['InitContainers'].each do |i|
|
3460
|
-
container_tmp = Container.new
|
3461
|
-
container_tmp.deserialize(i)
|
3462
|
-
@InitContainers << container_tmp
|
3463
|
-
end
|
3464
|
-
end
|
3465
|
-
unless params['Containers'].nil?
|
3466
|
-
@Containers = []
|
3467
|
-
params['Containers'].each do |i|
|
3468
|
-
container_tmp = Container.new
|
3469
|
-
container_tmp.deserialize(i)
|
3470
|
-
@Containers << container_tmp
|
3471
|
-
end
|
3472
|
-
end
|
3473
|
-
unless params['Service'].nil?
|
3474
|
-
@Service = Service.new
|
3475
|
-
@Service.deserialize(params['Service'])
|
3476
|
-
end
|
3477
|
-
unless params['Job'].nil?
|
3478
|
-
@Job = Job.new
|
3479
|
-
@Job.deserialize(params['Job'])
|
3480
|
-
end
|
3481
|
-
unless params['CronJob'].nil?
|
3482
|
-
@CronJob = CronJob.new
|
3483
|
-
@CronJob.deserialize(params['CronJob'])
|
3484
|
-
end
|
3485
|
-
@RestartPolicy = params['RestartPolicy']
|
3486
|
-
unless params['HorizontalPodAutoscaler'].nil?
|
3487
|
-
@HorizontalPodAutoscaler = HorizontalPodAutoscaler.new
|
3488
|
-
@HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
|
3489
|
-
end
|
3490
|
-
@ImagePullSecrets = params['ImagePullSecrets']
|
3491
|
-
@RequestId = params['RequestId']
|
3492
|
-
end
|
3493
|
-
end
|
3494
|
-
|
3495
|
-
# DescribeEdgeUnitApplicationYamlError请求参数结构体
|
3496
|
-
class DescribeEdgeUnitApplicationYamlErrorRequest < TencentCloud::Common::AbstractModel
|
3497
|
-
# @param Yaml: Yaml配置
|
3498
|
-
# @type Yaml: String
|
3499
|
-
|
3500
|
-
attr_accessor :Yaml
|
3501
|
-
|
3502
|
-
def initialize(yaml=nil)
|
3503
|
-
@Yaml = yaml
|
3504
|
-
end
|
3505
|
-
|
3506
|
-
def deserialize(params)
|
3507
|
-
@Yaml = params['Yaml']
|
3508
|
-
end
|
3509
|
-
end
|
3510
|
-
|
3511
|
-
# DescribeEdgeUnitApplicationYamlError返回参数结构体
|
3512
|
-
class DescribeEdgeUnitApplicationYamlErrorResponse < TencentCloud::Common::AbstractModel
|
3513
|
-
# @param CheckPass: 是否通过
|
3514
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3515
|
-
# @type CheckPass: Boolean
|
3516
|
-
# @param ErrType: 错误类型
|
3517
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3518
|
-
# @type ErrType: Integer
|
3519
|
-
# @param ErrInfo: 错误信息
|
3520
|
-
# @type ErrInfo: String
|
3521
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3522
|
-
# @type RequestId: String
|
3523
|
-
|
3524
|
-
attr_accessor :CheckPass, :ErrType, :ErrInfo, :RequestId
|
3525
|
-
|
3526
|
-
def initialize(checkpass=nil, errtype=nil, errinfo=nil, requestid=nil)
|
3527
|
-
@CheckPass = checkpass
|
3528
|
-
@ErrType = errtype
|
3529
|
-
@ErrInfo = errinfo
|
3530
|
-
@RequestId = requestid
|
3531
|
-
end
|
3532
|
-
|
3533
|
-
def deserialize(params)
|
3534
|
-
@CheckPass = params['CheckPass']
|
3535
|
-
@ErrType = params['ErrType']
|
3536
|
-
@ErrInfo = params['ErrInfo']
|
3537
|
-
@RequestId = params['RequestId']
|
3538
|
-
end
|
3539
|
-
end
|
3540
|
-
|
3541
|
-
# DescribeEdgeUnitApplicationYaml请求参数结构体
|
3542
|
-
class DescribeEdgeUnitApplicationYamlRequest < TencentCloud::Common::AbstractModel
|
3543
|
-
# @param EdgeUnitId: 单元ID
|
3544
|
-
# @type EdgeUnitId: Integer
|
3545
|
-
# @param ApplicationId: 应用ID
|
3546
|
-
# @type ApplicationId: Integer
|
3547
|
-
|
3548
|
-
attr_accessor :EdgeUnitId, :ApplicationId
|
3549
|
-
|
3550
|
-
def initialize(edgeunitid=nil, applicationid=nil)
|
3551
|
-
@EdgeUnitId = edgeunitid
|
3552
|
-
@ApplicationId = applicationid
|
3553
|
-
end
|
3554
|
-
|
3555
|
-
def deserialize(params)
|
3556
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3557
|
-
@ApplicationId = params['ApplicationId']
|
3558
|
-
end
|
3559
|
-
end
|
3560
|
-
|
3561
|
-
# DescribeEdgeUnitApplicationYaml返回参数结构体
|
3562
|
-
class DescribeEdgeUnitApplicationYamlResponse < TencentCloud::Common::AbstractModel
|
3563
|
-
# @param Yaml: Yaml配置
|
3564
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3565
|
-
# @type Yaml: String
|
3566
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3567
|
-
# @type RequestId: String
|
3568
|
-
|
3569
|
-
attr_accessor :Yaml, :RequestId
|
3570
|
-
|
3571
|
-
def initialize(yaml=nil, requestid=nil)
|
3572
|
-
@Yaml = yaml
|
3573
|
-
@RequestId = requestid
|
3574
|
-
end
|
3575
|
-
|
3576
|
-
def deserialize(params)
|
3577
|
-
@Yaml = params['Yaml']
|
3578
|
-
@RequestId = params['RequestId']
|
3579
|
-
end
|
3580
|
-
end
|
3581
|
-
|
3582
|
-
# DescribeEdgeUnitApplications请求参数结构体
|
3583
|
-
class DescribeEdgeUnitApplicationsRequest < TencentCloud::Common::AbstractModel
|
3584
|
-
# @param EdgeUnitId: 单元ID
|
3585
|
-
# @type EdgeUnitId: Integer
|
3586
|
-
# @param Offset: 翻页偏移
|
3587
|
-
# @type Offset: Integer
|
3588
|
-
# @param Limit: 翻页大小
|
3589
|
-
# @type Limit: Integer
|
3590
|
-
# @param NamePattern: 名称模糊匹配
|
3591
|
-
# @type NamePattern: String
|
3592
|
-
# @param Sort: 字段排序 (Sort.Filed为:StartTime)
|
3593
|
-
# @type Sort: Array
|
3594
|
-
# @param Namespace: 命名空间过滤
|
3595
|
-
# @type Namespace: String
|
3596
|
-
|
3597
|
-
attr_accessor :EdgeUnitId, :Offset, :Limit, :NamePattern, :Sort, :Namespace
|
3598
|
-
|
3599
|
-
def initialize(edgeunitid=nil, offset=nil, limit=nil, namepattern=nil, sort=nil, namespace=nil)
|
3600
|
-
@EdgeUnitId = edgeunitid
|
3601
|
-
@Offset = offset
|
3602
|
-
@Limit = limit
|
3603
|
-
@NamePattern = namepattern
|
3604
|
-
@Sort = sort
|
3605
|
-
@Namespace = namespace
|
3606
|
-
end
|
3607
|
-
|
3608
|
-
def deserialize(params)
|
3609
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3610
|
-
@Offset = params['Offset']
|
3611
|
-
@Limit = params['Limit']
|
3612
|
-
@NamePattern = params['NamePattern']
|
3613
|
-
unless params['Sort'].nil?
|
3614
|
-
@Sort = []
|
3615
|
-
params['Sort'].each do |i|
|
3616
|
-
fieldsort_tmp = FieldSort.new
|
3617
|
-
fieldsort_tmp.deserialize(i)
|
3618
|
-
@Sort << fieldsort_tmp
|
3619
|
-
end
|
3620
|
-
end
|
3621
|
-
@Namespace = params['Namespace']
|
2450
|
+
@Offset = params['Offset']
|
2451
|
+
@Limit = params['Limit']
|
2452
|
+
@NamePattern = params['NamePattern']
|
2453
|
+
unless params['Sort'].nil?
|
2454
|
+
@Sort = []
|
2455
|
+
params['Sort'].each do |i|
|
2456
|
+
fieldsort_tmp = FieldSort.new
|
2457
|
+
fieldsort_tmp.deserialize(i)
|
2458
|
+
@Sort << fieldsort_tmp
|
2459
|
+
end
|
2460
|
+
end
|
2461
|
+
@Namespace = params['Namespace']
|
3622
2462
|
end
|
3623
2463
|
end
|
3624
2464
|
|
@@ -3631,157 +2471,24 @@ module TencentCloud
|
|
3631
2471
|
# @type ApplicationSet: Array
|
3632
2472
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3633
2473
|
# @type RequestId: String
|
3634
|
-
|
3635
|
-
attr_accessor :TotalCount, :ApplicationSet, :RequestId
|
3636
|
-
|
3637
|
-
def initialize(totalcount=nil, applicationset=nil, requestid=nil)
|
3638
|
-
@TotalCount = totalcount
|
3639
|
-
@ApplicationSet = applicationset
|
3640
|
-
@RequestId = requestid
|
3641
|
-
end
|
3642
|
-
|
3643
|
-
def deserialize(params)
|
3644
|
-
@TotalCount = params['TotalCount']
|
3645
|
-
unless params['ApplicationSet'].nil?
|
3646
|
-
@ApplicationSet = []
|
3647
|
-
params['ApplicationSet'].each do |i|
|
3648
|
-
applicationstatusinfo_tmp = ApplicationStatusInfo.new
|
3649
|
-
applicationstatusinfo_tmp.deserialize(i)
|
3650
|
-
@ApplicationSet << applicationstatusinfo_tmp
|
3651
|
-
end
|
3652
|
-
end
|
3653
|
-
@RequestId = params['RequestId']
|
3654
|
-
end
|
3655
|
-
end
|
3656
|
-
|
3657
|
-
# DescribeEdgeUnitCloud请求参数结构体
|
3658
|
-
class DescribeEdgeUnitCloudRequest < TencentCloud::Common::AbstractModel
|
3659
|
-
# @param EdgeUnitId: 边缘集群ID
|
3660
|
-
# @type EdgeUnitId: Integer
|
3661
|
-
|
3662
|
-
attr_accessor :EdgeUnitId
|
3663
|
-
|
3664
|
-
def initialize(edgeunitid=nil)
|
3665
|
-
@EdgeUnitId = edgeunitid
|
3666
|
-
end
|
3667
|
-
|
3668
|
-
def deserialize(params)
|
3669
|
-
@EdgeUnitId = params['EdgeUnitId']
|
3670
|
-
end
|
3671
|
-
end
|
3672
|
-
|
3673
|
-
# DescribeEdgeUnitCloud返回参数结构体
|
3674
|
-
class DescribeEdgeUnitCloudResponse < TencentCloud::Common::AbstractModel
|
3675
|
-
# @param Name: 边缘集群名称
|
3676
|
-
# @type Name: String
|
3677
|
-
# @param Description: 描述
|
3678
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3679
|
-
# @type Description: String
|
3680
|
-
# @param CreateTime: 创建时间
|
3681
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3682
|
-
# @type CreateTime: String
|
3683
|
-
# @param UpdateTime: 更新时间
|
3684
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3685
|
-
# @type UpdateTime: String
|
3686
|
-
# @param LiveTime: 集群最后探活时间
|
3687
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3688
|
-
# @type LiveTime: String
|
3689
|
-
# @param MasterStatus: 集群状态
|
3690
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3691
|
-
# @type MasterStatus: String
|
3692
|
-
# @param K8sVersion: 版本号
|
3693
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3694
|
-
# @type K8sVersion: String
|
3695
|
-
# @param PodCIDR: pod cidr
|
3696
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3697
|
-
# @type PodCIDR: String
|
3698
|
-
# @param ServiceCIDR: service cidr
|
3699
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3700
|
-
# @type ServiceCIDR: String
|
3701
|
-
# @param APIServerAddress: 集群内网访问地址
|
3702
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3703
|
-
# @type APIServerAddress: String
|
3704
|
-
# @param APIServerExposeAddress: 集群外网访问地址
|
3705
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3706
|
-
# @type APIServerExposeAddress: String
|
3707
|
-
# @param UID: 用户ID
|
3708
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3709
|
-
# @type UID: String
|
3710
|
-
# @param UnitID: 集群ID
|
3711
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3712
|
-
# @type UnitID: Integer
|
3713
|
-
# @param Cluster: 集群标识
|
3714
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3715
|
-
# @type Cluster: String
|
3716
|
-
# @param Node: 节点统计
|
3717
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3718
|
-
# @type Node: :class:`Tencentcloud::Iecp.v20210914.models.EdgeUnitStatisticItem`
|
3719
|
-
# @param Workload: 工作负载统计
|
3720
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3721
|
-
# @type Workload: :class:`Tencentcloud::Iecp.v20210914.models.EdgeUnitStatisticItem`
|
3722
|
-
# @param Grid: Grid应用统计
|
3723
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3724
|
-
# @type Grid: :class:`Tencentcloud::Iecp.v20210914.models.EdgeUnitStatisticItem`
|
3725
|
-
# @param SubDevice: 设备统计
|
3726
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3727
|
-
# @type SubDevice: :class:`Tencentcloud::Iecp.v20210914.models.EdgeUnitStatisticItem`
|
3728
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3729
|
-
# @type RequestId: String
|
3730
|
-
|
3731
|
-
attr_accessor :Name, :Description, :CreateTime, :UpdateTime, :LiveTime, :MasterStatus, :K8sVersion, :PodCIDR, :ServiceCIDR, :APIServerAddress, :APIServerExposeAddress, :UID, :UnitID, :Cluster, :Node, :Workload, :Grid, :SubDevice, :RequestId
|
3732
|
-
|
3733
|
-
def initialize(name=nil, description=nil, createtime=nil, updatetime=nil, livetime=nil, masterstatus=nil, k8sversion=nil, podcidr=nil, servicecidr=nil, apiserveraddress=nil, apiserverexposeaddress=nil, uid=nil, unitid=nil, cluster=nil, node=nil, workload=nil, grid=nil, subdevice=nil, requestid=nil)
|
3734
|
-
@Name = name
|
3735
|
-
@Description = description
|
3736
|
-
@CreateTime = createtime
|
3737
|
-
@UpdateTime = updatetime
|
3738
|
-
@LiveTime = livetime
|
3739
|
-
@MasterStatus = masterstatus
|
3740
|
-
@K8sVersion = k8sversion
|
3741
|
-
@PodCIDR = podcidr
|
3742
|
-
@ServiceCIDR = servicecidr
|
3743
|
-
@APIServerAddress = apiserveraddress
|
3744
|
-
@APIServerExposeAddress = apiserverexposeaddress
|
3745
|
-
@UID = uid
|
3746
|
-
@UnitID = unitid
|
3747
|
-
@Cluster = cluster
|
3748
|
-
@Node = node
|
3749
|
-
@Workload = workload
|
3750
|
-
@Grid = grid
|
3751
|
-
@SubDevice = subdevice
|
2474
|
+
|
2475
|
+
attr_accessor :TotalCount, :ApplicationSet, :RequestId
|
2476
|
+
|
2477
|
+
def initialize(totalcount=nil, applicationset=nil, requestid=nil)
|
2478
|
+
@TotalCount = totalcount
|
2479
|
+
@ApplicationSet = applicationset
|
3752
2480
|
@RequestId = requestid
|
3753
2481
|
end
|
3754
2482
|
|
3755
2483
|
def deserialize(params)
|
3756
|
-
@
|
3757
|
-
|
3758
|
-
|
3759
|
-
|
3760
|
-
|
3761
|
-
|
3762
|
-
|
3763
|
-
|
3764
|
-
@ServiceCIDR = params['ServiceCIDR']
|
3765
|
-
@APIServerAddress = params['APIServerAddress']
|
3766
|
-
@APIServerExposeAddress = params['APIServerExposeAddress']
|
3767
|
-
@UID = params['UID']
|
3768
|
-
@UnitID = params['UnitID']
|
3769
|
-
@Cluster = params['Cluster']
|
3770
|
-
unless params['Node'].nil?
|
3771
|
-
@Node = EdgeUnitStatisticItem.new
|
3772
|
-
@Node.deserialize(params['Node'])
|
3773
|
-
end
|
3774
|
-
unless params['Workload'].nil?
|
3775
|
-
@Workload = EdgeUnitStatisticItem.new
|
3776
|
-
@Workload.deserialize(params['Workload'])
|
3777
|
-
end
|
3778
|
-
unless params['Grid'].nil?
|
3779
|
-
@Grid = EdgeUnitStatisticItem.new
|
3780
|
-
@Grid.deserialize(params['Grid'])
|
3781
|
-
end
|
3782
|
-
unless params['SubDevice'].nil?
|
3783
|
-
@SubDevice = EdgeUnitStatisticItem.new
|
3784
|
-
@SubDevice.deserialize(params['SubDevice'])
|
2484
|
+
@TotalCount = params['TotalCount']
|
2485
|
+
unless params['ApplicationSet'].nil?
|
2486
|
+
@ApplicationSet = []
|
2487
|
+
params['ApplicationSet'].each do |i|
|
2488
|
+
applicationstatusinfo_tmp = ApplicationStatusInfo.new
|
2489
|
+
applicationstatusinfo_tmp.deserialize(i)
|
2490
|
+
@ApplicationSet << applicationstatusinfo_tmp
|
2491
|
+
end
|
3785
2492
|
end
|
3786
2493
|
@RequestId = params['RequestId']
|
3787
2494
|
end
|
@@ -5724,43 +4431,6 @@ module TencentCloud
|
|
5724
4431
|
end
|
5725
4432
|
end
|
5726
4433
|
|
5727
|
-
# 单元内的统计信息
|
5728
|
-
class EdgeUnitStatisticItem < TencentCloud::Common::AbstractModel
|
5729
|
-
# @param Total: 总数
|
5730
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5731
|
-
# @type Total: Integer
|
5732
|
-
# @param Online: 在线数
|
5733
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5734
|
-
# @type Online: Integer
|
5735
|
-
# @param Abnormal: 异常数
|
5736
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5737
|
-
# @type Abnormal: Integer
|
5738
|
-
# @param Offline: 离线数
|
5739
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5740
|
-
# @type Offline: Integer
|
5741
|
-
# @param NotActive: 未激活
|
5742
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5743
|
-
# @type NotActive: Integer
|
5744
|
-
|
5745
|
-
attr_accessor :Total, :Online, :Abnormal, :Offline, :NotActive
|
5746
|
-
|
5747
|
-
def initialize(total=nil, online=nil, abnormal=nil, offline=nil, notactive=nil)
|
5748
|
-
@Total = total
|
5749
|
-
@Online = online
|
5750
|
-
@Abnormal = abnormal
|
5751
|
-
@Offline = offline
|
5752
|
-
@NotActive = notactive
|
5753
|
-
end
|
5754
|
-
|
5755
|
-
def deserialize(params)
|
5756
|
-
@Total = params['Total']
|
5757
|
-
@Online = params['Online']
|
5758
|
-
@Abnormal = params['Abnormal']
|
5759
|
-
@Offline = params['Offline']
|
5760
|
-
@NotActive = params['NotActive']
|
5761
|
-
end
|
5762
|
-
end
|
5763
|
-
|
5764
4434
|
# 环境变量
|
5765
4435
|
class Env < TencentCloud::Common::AbstractModel
|
5766
4436
|
# @param Name: 名称
|
@@ -5812,57 +4482,6 @@ module TencentCloud
|
|
5812
4482
|
end
|
5813
4483
|
end
|
5814
4484
|
|
5815
|
-
# 事件信息
|
5816
|
-
class Event < TencentCloud::Common::AbstractModel
|
5817
|
-
# @param FirstTime: 第一次出现时间
|
5818
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5819
|
-
# @type FirstTime: String
|
5820
|
-
# @param LastTime: 最后一次出现时间
|
5821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5822
|
-
# @type LastTime: String
|
5823
|
-
# @param InvolvedObjectKind: 事件关联对象类型
|
5824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5825
|
-
# @type InvolvedObjectKind: String
|
5826
|
-
# @param InvolvedObjectName: 事件关联对象名
|
5827
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5828
|
-
# @type InvolvedObjectName: String
|
5829
|
-
# @param Type: 事件类型(Normal|Warning)
|
5830
|
-
# @type Type: String
|
5831
|
-
# @param Reason: 原因
|
5832
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5833
|
-
# @type Reason: String
|
5834
|
-
# @param Message: 内容
|
5835
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5836
|
-
# @type Message: String
|
5837
|
-
# @param Count: 出现次数
|
5838
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5839
|
-
# @type Count: Integer
|
5840
|
-
|
5841
|
-
attr_accessor :FirstTime, :LastTime, :InvolvedObjectKind, :InvolvedObjectName, :Type, :Reason, :Message, :Count
|
5842
|
-
|
5843
|
-
def initialize(firsttime=nil, lasttime=nil, involvedobjectkind=nil, involvedobjectname=nil, type=nil, reason=nil, message=nil, count=nil)
|
5844
|
-
@FirstTime = firsttime
|
5845
|
-
@LastTime = lasttime
|
5846
|
-
@InvolvedObjectKind = involvedobjectkind
|
5847
|
-
@InvolvedObjectName = involvedobjectname
|
5848
|
-
@Type = type
|
5849
|
-
@Reason = reason
|
5850
|
-
@Message = message
|
5851
|
-
@Count = count
|
5852
|
-
end
|
5853
|
-
|
5854
|
-
def deserialize(params)
|
5855
|
-
@FirstTime = params['FirstTime']
|
5856
|
-
@LastTime = params['LastTime']
|
5857
|
-
@InvolvedObjectKind = params['InvolvedObjectKind']
|
5858
|
-
@InvolvedObjectName = params['InvolvedObjectName']
|
5859
|
-
@Type = params['Type']
|
5860
|
-
@Reason = params['Reason']
|
5861
|
-
@Message = params['Message']
|
5862
|
-
@Count = params['Count']
|
5863
|
-
end
|
5864
|
-
end
|
5865
|
-
|
5866
4485
|
# 字段排序
|
5867
4486
|
class FieldSort < TencentCloud::Common::AbstractModel
|
5868
4487
|
# @param Field: 字段名
|
@@ -6509,160 +5128,6 @@ module TencentCloud
|
|
6509
5128
|
end
|
6510
5129
|
end
|
6511
5130
|
|
6512
|
-
# ModifyApplicationBasicInfo请求参数结构体
|
6513
|
-
class ModifyApplicationBasicInfoRequest < TencentCloud::Common::AbstractModel
|
6514
|
-
# @param ApplicationId: 应用模板ID
|
6515
|
-
# @type ApplicationId: Integer
|
6516
|
-
# @param BasicInfo: 应用模板基本信息
|
6517
|
-
# @type BasicInfo: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicInfo`
|
6518
|
-
|
6519
|
-
attr_accessor :ApplicationId, :BasicInfo
|
6520
|
-
|
6521
|
-
def initialize(applicationid=nil, basicinfo=nil)
|
6522
|
-
@ApplicationId = applicationid
|
6523
|
-
@BasicInfo = basicinfo
|
6524
|
-
end
|
6525
|
-
|
6526
|
-
def deserialize(params)
|
6527
|
-
@ApplicationId = params['ApplicationId']
|
6528
|
-
unless params['BasicInfo'].nil?
|
6529
|
-
@BasicInfo = ApplicationBasicInfo.new
|
6530
|
-
@BasicInfo.deserialize(params['BasicInfo'])
|
6531
|
-
end
|
6532
|
-
end
|
6533
|
-
end
|
6534
|
-
|
6535
|
-
# ModifyApplicationBasicInfo返回参数结构体
|
6536
|
-
class ModifyApplicationBasicInfoResponse < TencentCloud::Common::AbstractModel
|
6537
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6538
|
-
# @type RequestId: String
|
6539
|
-
|
6540
|
-
attr_accessor :RequestId
|
6541
|
-
|
6542
|
-
def initialize(requestid=nil)
|
6543
|
-
@RequestId = requestid
|
6544
|
-
end
|
6545
|
-
|
6546
|
-
def deserialize(params)
|
6547
|
-
@RequestId = params['RequestId']
|
6548
|
-
end
|
6549
|
-
end
|
6550
|
-
|
6551
|
-
# ModifyApplicationVisualization请求参数结构体
|
6552
|
-
class ModifyApplicationVisualizationRequest < TencentCloud::Common::AbstractModel
|
6553
|
-
# @param ApplicationId: 应用ID
|
6554
|
-
# @type ApplicationId: Integer
|
6555
|
-
# @param BasicConfig: 应用配置
|
6556
|
-
# @type BasicConfig: :class:`Tencentcloud::Iecp.v20210914.models.ApplicationBasicConfig`
|
6557
|
-
# @param Volumes: 卷配置
|
6558
|
-
# @type Volumes: Array
|
6559
|
-
# @param InitContainers: 初始容器
|
6560
|
-
# @type InitContainers: Array
|
6561
|
-
# @param Containers: 容器配置
|
6562
|
-
# @type Containers: Array
|
6563
|
-
# @param Service: 服务配置
|
6564
|
-
# @type Service: :class:`Tencentcloud::Iecp.v20210914.models.Service`
|
6565
|
-
# @param Job: Job配置
|
6566
|
-
# @type Job: :class:`Tencentcloud::Iecp.v20210914.models.Job`
|
6567
|
-
# @param CronJob: CronJob配置
|
6568
|
-
# @type CronJob: :class:`Tencentcloud::Iecp.v20210914.models.CronJob`
|
6569
|
-
# @param RestartPolicy: 重启策略
|
6570
|
-
# @type RestartPolicy: String
|
6571
|
-
# @param ImagePullSecrets: 镜像拉取密钥
|
6572
|
-
# @type ImagePullSecrets: Array
|
6573
|
-
# @param HorizontalPodAutoscaler: HPA配置
|
6574
|
-
# @type HorizontalPodAutoscaler: :class:`Tencentcloud::Iecp.v20210914.models.HorizontalPodAutoscaler`
|
6575
|
-
# @param InitContainer: 单个初始化容器
|
6576
|
-
# @type InitContainer: :class:`Tencentcloud::Iecp.v20210914.models.Container`
|
6577
|
-
|
6578
|
-
attr_accessor :ApplicationId, :BasicConfig, :Volumes, :InitContainers, :Containers, :Service, :Job, :CronJob, :RestartPolicy, :ImagePullSecrets, :HorizontalPodAutoscaler, :InitContainer
|
6579
|
-
|
6580
|
-
def initialize(applicationid=nil, basicconfig=nil, volumes=nil, initcontainers=nil, containers=nil, service=nil, job=nil, cronjob=nil, restartpolicy=nil, imagepullsecrets=nil, horizontalpodautoscaler=nil, initcontainer=nil)
|
6581
|
-
@ApplicationId = applicationid
|
6582
|
-
@BasicConfig = basicconfig
|
6583
|
-
@Volumes = volumes
|
6584
|
-
@InitContainers = initcontainers
|
6585
|
-
@Containers = containers
|
6586
|
-
@Service = service
|
6587
|
-
@Job = job
|
6588
|
-
@CronJob = cronjob
|
6589
|
-
@RestartPolicy = restartpolicy
|
6590
|
-
@ImagePullSecrets = imagepullsecrets
|
6591
|
-
@HorizontalPodAutoscaler = horizontalpodautoscaler
|
6592
|
-
@InitContainer = initcontainer
|
6593
|
-
end
|
6594
|
-
|
6595
|
-
def deserialize(params)
|
6596
|
-
@ApplicationId = params['ApplicationId']
|
6597
|
-
unless params['BasicConfig'].nil?
|
6598
|
-
@BasicConfig = ApplicationBasicConfig.new
|
6599
|
-
@BasicConfig.deserialize(params['BasicConfig'])
|
6600
|
-
end
|
6601
|
-
unless params['Volumes'].nil?
|
6602
|
-
@Volumes = []
|
6603
|
-
params['Volumes'].each do |i|
|
6604
|
-
volume_tmp = Volume.new
|
6605
|
-
volume_tmp.deserialize(i)
|
6606
|
-
@Volumes << volume_tmp
|
6607
|
-
end
|
6608
|
-
end
|
6609
|
-
unless params['InitContainers'].nil?
|
6610
|
-
@InitContainers = []
|
6611
|
-
params['InitContainers'].each do |i|
|
6612
|
-
container_tmp = Container.new
|
6613
|
-
container_tmp.deserialize(i)
|
6614
|
-
@InitContainers << container_tmp
|
6615
|
-
end
|
6616
|
-
end
|
6617
|
-
unless params['Containers'].nil?
|
6618
|
-
@Containers = []
|
6619
|
-
params['Containers'].each do |i|
|
6620
|
-
container_tmp = Container.new
|
6621
|
-
container_tmp.deserialize(i)
|
6622
|
-
@Containers << container_tmp
|
6623
|
-
end
|
6624
|
-
end
|
6625
|
-
unless params['Service'].nil?
|
6626
|
-
@Service = Service.new
|
6627
|
-
@Service.deserialize(params['Service'])
|
6628
|
-
end
|
6629
|
-
unless params['Job'].nil?
|
6630
|
-
@Job = Job.new
|
6631
|
-
@Job.deserialize(params['Job'])
|
6632
|
-
end
|
6633
|
-
unless params['CronJob'].nil?
|
6634
|
-
@CronJob = CronJob.new
|
6635
|
-
@CronJob.deserialize(params['CronJob'])
|
6636
|
-
end
|
6637
|
-
@RestartPolicy = params['RestartPolicy']
|
6638
|
-
@ImagePullSecrets = params['ImagePullSecrets']
|
6639
|
-
unless params['HorizontalPodAutoscaler'].nil?
|
6640
|
-
@HorizontalPodAutoscaler = HorizontalPodAutoscaler.new
|
6641
|
-
@HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
|
6642
|
-
end
|
6643
|
-
unless params['InitContainer'].nil?
|
6644
|
-
@InitContainer = Container.new
|
6645
|
-
@InitContainer.deserialize(params['InitContainer'])
|
6646
|
-
end
|
6647
|
-
end
|
6648
|
-
end
|
6649
|
-
|
6650
|
-
# ModifyApplicationVisualization返回参数结构体
|
6651
|
-
class ModifyApplicationVisualizationResponse < TencentCloud::Common::AbstractModel
|
6652
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6653
|
-
# @type RequestId: String
|
6654
|
-
|
6655
|
-
attr_accessor :RequestId
|
6656
|
-
|
6657
|
-
def initialize(requestid=nil)
|
6658
|
-
@RequestId = requestid
|
6659
|
-
end
|
6660
|
-
|
6661
|
-
def deserialize(params)
|
6662
|
-
@RequestId = params['RequestId']
|
6663
|
-
end
|
6664
|
-
end
|
6665
|
-
|
6666
5131
|
# ModifyConfigMap请求参数结构体
|
6667
5132
|
class ModifyConfigMapRequest < TencentCloud::Common::AbstractModel
|
6668
5133
|
# @param EdgeUnitID: 单元ID
|
@@ -7669,53 +6134,6 @@ module TencentCloud
|
|
7669
6134
|
end
|
7670
6135
|
end
|
7671
6136
|
|
7672
|
-
# Pod状态信息
|
7673
|
-
class PodStatus < TencentCloud::Common::AbstractModel
|
7674
|
-
# @param Name: 名称
|
7675
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7676
|
-
# @type Name: String
|
7677
|
-
# @param NameSpace: 命名空间
|
7678
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7679
|
-
# @type NameSpace: String
|
7680
|
-
# @param Status: 状态
|
7681
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7682
|
-
# @type Status: String
|
7683
|
-
# @param IP: IP地址
|
7684
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7685
|
-
# @type IP: String
|
7686
|
-
# @param StartTime: 启动时间
|
7687
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7688
|
-
# @type StartTime: String
|
7689
|
-
# @param RunSec: 运行时间
|
7690
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7691
|
-
# @type RunSec: Integer
|
7692
|
-
# @param RestartCount: 重启次数
|
7693
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7694
|
-
# @type RestartCount: Integer
|
7695
|
-
|
7696
|
-
attr_accessor :Name, :NameSpace, :Status, :IP, :StartTime, :RunSec, :RestartCount
|
7697
|
-
|
7698
|
-
def initialize(name=nil, namespace=nil, status=nil, ip=nil, starttime=nil, runsec=nil, restartcount=nil)
|
7699
|
-
@Name = name
|
7700
|
-
@NameSpace = namespace
|
7701
|
-
@Status = status
|
7702
|
-
@IP = ip
|
7703
|
-
@StartTime = starttime
|
7704
|
-
@RunSec = runsec
|
7705
|
-
@RestartCount = restartcount
|
7706
|
-
end
|
7707
|
-
|
7708
|
-
def deserialize(params)
|
7709
|
-
@Name = params['Name']
|
7710
|
-
@NameSpace = params['NameSpace']
|
7711
|
-
@Status = params['Status']
|
7712
|
-
@IP = params['IP']
|
7713
|
-
@StartTime = params['StartTime']
|
7714
|
-
@RunSec = params['RunSec']
|
7715
|
-
@RestartCount = params['RestartCount']
|
7716
|
-
end
|
7717
|
-
end
|
7718
|
-
|
7719
6137
|
# 端口配置
|
7720
6138
|
class PortConfig < TencentCloud::Common::AbstractModel
|
7721
6139
|
# @param Protocol: 协议类型(tcp|udp)
|