tencentcloud-sdk-apigateway 1.0.301 → 1.0.302

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8eb34313509f004e773e94e222f97a37b922be4a
4
- data.tar.gz: b3fa09e5a89ed8982b4f68735dbc47e6af1fd75d
3
+ metadata.gz: 860cf598aa4305a5aa28c0a0c5a301d48e8a2b72
4
+ data.tar.gz: b15def4884e77a8b6e9ee345513315cd119a19c9
5
5
  SHA512:
6
- metadata.gz: ce425308f1d3820087be67fd5460fadb384878b012333f16833bbfc2e1298976253593104c59a4f4373157dc62e821ff4a666dfdeed17bcf579a343518105e52
7
- data.tar.gz: 12126dc254dd31e578d3274d02a818f50a3a49beaac4f98f4d02cf8b9417ca9bc43d9667fb964b04bfd01a2f5874b5d6a051403b1d1f80f6fc2c41e3cd48fdd2
6
+ metadata.gz: f034771af8590af0d9b3f9b1a5d60c7722d0f4e611647d9c153ae7d69c3584e99af40b2df70f0619453cb1e91451b6b11f11edbc4af83f723ff2f151473cc1d3
7
+ data.tar.gz: 34799b224b3b1939060c70c24d69c81bc5ff46d66e7b34eb0720e4879542973811fc8520fe1e6239725e8a1cadcd5e004aec445974edb6fa8309a8fce55bef00
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.301
1
+ 1.0.302
@@ -370,7 +370,7 @@ module TencentCloud
370
370
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
371
371
  end
372
372
 
373
- # 用于创建创建VPC通道
373
+ # 用于创建创建后端通道
374
374
 
375
375
  # @param request: Request instance for CreateUpstream.
376
376
  # @type request: :class:`Tencentcloud::apigateway::V20180808::CreateUpstreamRequest`
@@ -612,7 +612,7 @@ module TencentCloud
612
612
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
613
613
  end
614
614
 
615
- # 删除VPC通道,需要注意有api绑定时,不允许删除
615
+ # 删除后端通道,需要注意有API绑定时,不允许删除
616
616
 
617
617
  # @param request: Request instance for DeleteUpstream.
618
618
  # @type request: :class:`Tencentcloud::apigateway::V20180808::DeleteUpstreamRequest`
@@ -1486,7 +1486,7 @@ module TencentCloud
1486
1486
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1487
1487
  end
1488
1488
 
1489
- # 查询VPC通道绑定的api列表
1489
+ # 查询后端通道所绑定的API列表
1490
1490
 
1491
1491
  # @param request: Request instance for DescribeUpstreamBindApis.
1492
1492
  # @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeUpstreamBindApisRequest`
@@ -1510,7 +1510,7 @@ module TencentCloud
1510
1510
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1511
1511
  end
1512
1512
 
1513
- # 查询VPC通道列表详情
1513
+ # 查询后端通道列表详情
1514
1514
 
1515
1515
  # @param request: Request instance for DescribeUpstreams.
1516
1516
  # @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeUpstreamsRequest`
@@ -1992,7 +1992,7 @@ module TencentCloud
1992
1992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1993
1993
  end
1994
1994
 
1995
- # 修改VPC通道
1995
+ # 修改后端通道
1996
1996
 
1997
1997
  # @param request: Request instance for ModifyUpstream.
1998
1998
  # @type request: :class:`Tencentcloud::apigateway::V20180808::ModifyUpstreamRequest`
@@ -2200,20 +2200,23 @@ module TencentCloud
2200
2200
  class CreatePluginRequest < TencentCloud::Common::AbstractModel
2201
2201
  # @param PluginName: 用户自定义的插件名称。最长50个字符,最短2个字符,支持 a-z,A-Z,0-9,_, 必须字母开头,字母或者数字结尾。
2202
2202
  # @type PluginName: String
2203
- # @param PluginType: 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter。
2203
+ # @param PluginType: 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter, CircuitBreaker, ProxyCache
2204
2204
  # @type PluginType: String
2205
2205
  # @param PluginData: 插件定义语句,支持json。
2206
2206
  # @type PluginData: String
2207
2207
  # @param Description: 插件描述,限定200字以内。
2208
2208
  # @type Description: String
2209
+ # @param Tags: 标签
2210
+ # @type Tags: Array
2209
2211
 
2210
- attr_accessor :PluginName, :PluginType, :PluginData, :Description
2212
+ attr_accessor :PluginName, :PluginType, :PluginData, :Description, :Tags
2211
2213
 
2212
- def initialize(pluginname=nil, plugintype=nil, plugindata=nil, description=nil)
2214
+ def initialize(pluginname=nil, plugintype=nil, plugindata=nil, description=nil, tags=nil)
2213
2215
  @PluginName = pluginname
2214
2216
  @PluginType = plugintype
2215
2217
  @PluginData = plugindata
2216
2218
  @Description = description
2219
+ @Tags = tags
2217
2220
  end
2218
2221
 
2219
2222
  def deserialize(params)
@@ -2221,6 +2224,14 @@ module TencentCloud
2221
2224
  @PluginType = params['PluginType']
2222
2225
  @PluginData = params['PluginData']
2223
2226
  @Description = params['Description']
2227
+ unless params['Tags'].nil?
2228
+ @Tags = []
2229
+ params['Tags'].each do |i|
2230
+ tag_tmp = Tag.new
2231
+ tag_tmp.deserialize(i)
2232
+ @Tags << tag_tmp
2233
+ end
2234
+ end
2224
2235
  end
2225
2236
  end
2226
2237
 
@@ -2361,36 +2372,45 @@ module TencentCloud
2361
2372
 
2362
2373
  # CreateUpstream请求参数结构体
2363
2374
  class CreateUpstreamRequest < TencentCloud::Common::AbstractModel
2364
- # @param Scheme: 后端协议,HTTP, HTTPS其中之一
2375
+ # @param Scheme: 后端协议,取值范围:HTTP, HTTPS
2365
2376
  # @type Scheme: String
2366
- # @param Algorithm: 负载均衡算法目前支持ROUND_ROBIN
2377
+ # @param Algorithm: 负载均衡算法,取值范围:ROUND-ROBIN
2367
2378
  # @type Algorithm: String
2368
2379
  # @param UniqVpcId: VPC唯一ID
2369
2380
  # @type UniqVpcId: String
2370
- # @param UpstreamName: VPC通道名字
2381
+ # @param UpstreamName: 后端通道名字
2371
2382
  # @type UpstreamName: String
2372
- # @param UpstreamDescription: VPC通道描述
2383
+ # @param UpstreamDescription: 后端通道描述
2373
2384
  # @type UpstreamDescription: String
2385
+ # @param UpstreamType: 后端访问类型,取值范围:IP_PORT, K8S
2386
+ # @type UpstreamType: String
2374
2387
  # @param Retries: 请求重试次数,默认3次
2375
2388
  # @type Retries: Integer
2376
- # @param UpstreamHost: 请求到后端的,host头
2389
+ # @param UpstreamHost: 网关转发到后端的Host请求头
2377
2390
  # @type UpstreamHost: String
2378
2391
  # @param Nodes: 后端节点
2379
2392
  # @type Nodes: Array
2380
- # @param K8sService: k8s服务的配置
2393
+ # @param Tags: 标签
2394
+ # @type Tags: Array
2395
+ # @param HealthChecker: 健康检查配置,目前只支持VPC通道
2396
+ # @type HealthChecker: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamHealthChecker`
2397
+ # @param K8sService: K8S容器服务的配置
2381
2398
  # @type K8sService: Array
2382
2399
 
2383
- attr_accessor :Scheme, :Algorithm, :UniqVpcId, :UpstreamName, :UpstreamDescription, :Retries, :UpstreamHost, :Nodes, :K8sService
2400
+ attr_accessor :Scheme, :Algorithm, :UniqVpcId, :UpstreamName, :UpstreamDescription, :UpstreamType, :Retries, :UpstreamHost, :Nodes, :Tags, :HealthChecker, :K8sService
2384
2401
 
2385
- def initialize(scheme=nil, algorithm=nil, uniqvpcid=nil, upstreamname=nil, upstreamdescription=nil, retries=nil, upstreamhost=nil, nodes=nil, k8sservice=nil)
2402
+ def initialize(scheme=nil, algorithm=nil, uniqvpcid=nil, upstreamname=nil, upstreamdescription=nil, upstreamtype=nil, retries=nil, upstreamhost=nil, nodes=nil, tags=nil, healthchecker=nil, k8sservice=nil)
2386
2403
  @Scheme = scheme
2387
2404
  @Algorithm = algorithm
2388
2405
  @UniqVpcId = uniqvpcid
2389
2406
  @UpstreamName = upstreamname
2390
2407
  @UpstreamDescription = upstreamdescription
2408
+ @UpstreamType = upstreamtype
2391
2409
  @Retries = retries
2392
2410
  @UpstreamHost = upstreamhost
2393
2411
  @Nodes = nodes
2412
+ @Tags = tags
2413
+ @HealthChecker = healthchecker
2394
2414
  @K8sService = k8sservice
2395
2415
  end
2396
2416
 
@@ -2400,6 +2420,7 @@ module TencentCloud
2400
2420
  @UniqVpcId = params['UniqVpcId']
2401
2421
  @UpstreamName = params['UpstreamName']
2402
2422
  @UpstreamDescription = params['UpstreamDescription']
2423
+ @UpstreamType = params['UpstreamType']
2403
2424
  @Retries = params['Retries']
2404
2425
  @UpstreamHost = params['UpstreamHost']
2405
2426
  unless params['Nodes'].nil?
@@ -2410,6 +2431,18 @@ module TencentCloud
2410
2431
  @Nodes << upstreamnode_tmp
2411
2432
  end
2412
2433
  end
2434
+ unless params['Tags'].nil?
2435
+ @Tags = []
2436
+ params['Tags'].each do |i|
2437
+ tag_tmp = Tag.new
2438
+ tag_tmp.deserialize(i)
2439
+ @Tags << tag_tmp
2440
+ end
2441
+ end
2442
+ unless params['HealthChecker'].nil?
2443
+ @HealthChecker = UpstreamHealthChecker.new
2444
+ @HealthChecker.deserialize(params['HealthChecker'])
2445
+ end
2413
2446
  unless params['K8sService'].nil?
2414
2447
  @K8sService = []
2415
2448
  params['K8sService'].each do |i|
@@ -2423,7 +2456,7 @@ module TencentCloud
2423
2456
 
2424
2457
  # CreateUpstream返回参数结构体
2425
2458
  class CreateUpstreamResponse < TencentCloud::Common::AbstractModel
2426
- # @param UpstreamId: 创建返回的唯一id
2459
+ # @param UpstreamId: 创建返回的唯一ID
2427
2460
  # 注意:此字段可能返回 null,表示取不到有效值。
2428
2461
  # @type UpstreamId: String
2429
2462
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2809,7 +2842,7 @@ module TencentCloud
2809
2842
 
2810
2843
  # DeleteUpstream请求参数结构体
2811
2844
  class DeleteUpstreamRequest < TencentCloud::Common::AbstractModel
2812
- # @param UpstreamId: 待删除的VPC通道唯一ID
2845
+ # @param UpstreamId: 待删除的后端通道ID
2813
2846
  # @type UpstreamId: String
2814
2847
 
2815
2848
  attr_accessor :UpstreamId
@@ -2825,7 +2858,7 @@ module TencentCloud
2825
2858
 
2826
2859
  # DeleteUpstream返回参数结构体
2827
2860
  class DeleteUpstreamResponse < TencentCloud::Common::AbstractModel
2828
- # @param UpstreamId: 成功删除的vpc通道id
2861
+ # @param UpstreamId: 成功删除的后端通道ID
2829
2862
  # 注意:此字段可能返回 null,表示取不到有效值。
2830
2863
  # @type UpstreamId: String
2831
2864
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4730,7 +4763,7 @@ module TencentCloud
4730
4763
  # @param DeploymentType: 服务部署的集群类型
4731
4764
  # 注意:此字段可能返回 null,表示取不到有效值。
4732
4765
  # @type DeploymentType: String
4733
- # @param SpecialUse: 特殊用途
4766
+ # @param SpecialUse: 特殊用途, NULL和DEFAULT表示无特殊用途,其他用途如HTTP_DNS等
4734
4767
  # 注意:此字段可能返回 null,表示取不到有效值。
4735
4768
  # @type SpecialUse: String
4736
4769
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -5042,11 +5075,11 @@ module TencentCloud
5042
5075
 
5043
5076
  # DescribeUpstreamBindApis请求参数结构体
5044
5077
  class DescribeUpstreamBindApisRequest < TencentCloud::Common::AbstractModel
5045
- # @param Limit: 分页
5078
+ # @param Limit: 分页大小
5046
5079
  # @type Limit: Integer
5047
- # @param Offset: 分页
5080
+ # @param Offset: 分页起始位置
5048
5081
  # @type Offset: Integer
5049
- # @param UpstreamId: vpc通道Id
5082
+ # @param UpstreamId: 后端通道ID
5050
5083
  # @type UpstreamId: String
5051
5084
  # @param Filters: ServiceId和ApiId过滤查询
5052
5085
  # @type Filters: Array
@@ -5098,7 +5131,7 @@ module TencentCloud
5098
5131
  end
5099
5132
  end
5100
5133
 
5101
- # 查询vpc通道返回信息
5134
+ # 查询后端通道返回信息
5102
5135
  class DescribeUpstreamInfo < TencentCloud::Common::AbstractModel
5103
5136
  # @param TotalCount: 查询总数
5104
5137
  # @type TotalCount: Integer
@@ -5127,11 +5160,11 @@ module TencentCloud
5127
5160
 
5128
5161
  # DescribeUpstreams请求参数结构体
5129
5162
  class DescribeUpstreamsRequest < TencentCloud::Common::AbstractModel
5130
- # @param Limit: 分页
5163
+ # @param Limit: 分页大小
5131
5164
  # @type Limit: Integer
5132
- # @param Offset: 分页
5165
+ # @param Offset: 分页起始位置
5133
5166
  # @type Offset: Integer
5134
- # @param Filters: 过滤条件
5167
+ # @param Filters: 过滤条件,支持后端通道ID(UpstreamId)、后端通道名字(UpstreamName)过滤查询
5135
5168
  # @type Filters: Array
5136
5169
 
5137
5170
  attr_accessor :Limit, :Offset, :Filters
@@ -7074,39 +7107,45 @@ module TencentCloud
7074
7107
 
7075
7108
  # ModifyUpstream请求参数结构体
7076
7109
  class ModifyUpstreamRequest < TencentCloud::Common::AbstractModel
7077
- # @param UpstreamId: VPC通道唯一ID
7110
+ # @param UpstreamId: 后端通道唯一ID
7078
7111
  # @type UpstreamId: String
7079
- # @param UpstreamName: VPC通道名字
7112
+ # @param UpstreamName: 后端通道名字
7080
7113
  # @type UpstreamName: String
7081
- # @param UpstreamDescription: VPC通道描述
7114
+ # @param UpstreamDescription: 后端通道描述
7082
7115
  # @type UpstreamDescription: String
7083
- # @param Scheme: 后端协议,HTTP, HTTPS其中之一
7116
+ # @param Scheme: 后端协议,取值范围:HTTP, HTTPS
7084
7117
  # @type Scheme: String
7085
- # @param Algorithm: 负载均衡算法目前支持ROUND_ROBIN
7118
+ # @param UpstreamType: 后端访问类型,取值范围:IP_PORT, K8S
7119
+ # @type UpstreamType: String
7120
+ # @param Algorithm: 负载均衡算法,取值范围:ROUND_ROBIN
7086
7121
  # @type Algorithm: String
7087
7122
  # @param UniqVpcId: VPC唯一ID
7088
7123
  # @type UniqVpcId: String
7089
7124
  # @param Retries: 请求重试次数,默认3次
7090
7125
  # @type Retries: Integer
7091
- # @param UpstreamHost: 请求到后端的,host头
7126
+ # @param UpstreamHost: 网关转发到后端的 Host 请求头
7092
7127
  # @type UpstreamHost: String
7093
7128
  # @param Nodes: 后端节点列表
7094
7129
  # @type Nodes: Array
7095
- # @param K8sService: k8s服务配置
7130
+ # @param HealthChecker: 健康检查配置,目前只支持VPC通道
7131
+ # @type HealthChecker: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamHealthChecker`
7132
+ # @param K8sService: 容器服务配置
7096
7133
  # @type K8sService: Array
7097
7134
 
7098
- attr_accessor :UpstreamId, :UpstreamName, :UpstreamDescription, :Scheme, :Algorithm, :UniqVpcId, :Retries, :UpstreamHost, :Nodes, :K8sService
7135
+ attr_accessor :UpstreamId, :UpstreamName, :UpstreamDescription, :Scheme, :UpstreamType, :Algorithm, :UniqVpcId, :Retries, :UpstreamHost, :Nodes, :HealthChecker, :K8sService
7099
7136
 
7100
- def initialize(upstreamid=nil, upstreamname=nil, upstreamdescription=nil, scheme=nil, algorithm=nil, uniqvpcid=nil, retries=nil, upstreamhost=nil, nodes=nil, k8sservice=nil)
7137
+ def initialize(upstreamid=nil, upstreamname=nil, upstreamdescription=nil, scheme=nil, upstreamtype=nil, algorithm=nil, uniqvpcid=nil, retries=nil, upstreamhost=nil, nodes=nil, healthchecker=nil, k8sservice=nil)
7101
7138
  @UpstreamId = upstreamid
7102
7139
  @UpstreamName = upstreamname
7103
7140
  @UpstreamDescription = upstreamdescription
7104
7141
  @Scheme = scheme
7142
+ @UpstreamType = upstreamtype
7105
7143
  @Algorithm = algorithm
7106
7144
  @UniqVpcId = uniqvpcid
7107
7145
  @Retries = retries
7108
7146
  @UpstreamHost = upstreamhost
7109
7147
  @Nodes = nodes
7148
+ @HealthChecker = healthchecker
7110
7149
  @K8sService = k8sservice
7111
7150
  end
7112
7151
 
@@ -7115,6 +7154,7 @@ module TencentCloud
7115
7154
  @UpstreamName = params['UpstreamName']
7116
7155
  @UpstreamDescription = params['UpstreamDescription']
7117
7156
  @Scheme = params['Scheme']
7157
+ @UpstreamType = params['UpstreamType']
7118
7158
  @Algorithm = params['Algorithm']
7119
7159
  @UniqVpcId = params['UniqVpcId']
7120
7160
  @Retries = params['Retries']
@@ -7127,6 +7167,10 @@ module TencentCloud
7127
7167
  @Nodes << upstreamnode_tmp
7128
7168
  end
7129
7169
  end
7170
+ unless params['HealthChecker'].nil?
7171
+ @HealthChecker = UpstreamHealthChecker.new
7172
+ @HealthChecker.deserialize(params['HealthChecker'])
7173
+ end
7130
7174
  unless params['K8sService'].nil?
7131
7175
  @K8sService = []
7132
7176
  params['K8sService'].each do |i|
@@ -7140,7 +7184,7 @@ module TencentCloud
7140
7184
 
7141
7185
  # ModifyUpstream返回参数结构体
7142
7186
  class ModifyUpstreamResponse < TencentCloud::Common::AbstractModel
7143
- # @param Result: 返回修改后的vpc通道信息
7187
+ # @param Result: 返回修改后的后端通道信息
7144
7188
  # 注意:此字段可能返回 null,表示取不到有效值。
7145
7189
  # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamInfo`
7146
7190
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -8645,7 +8689,7 @@ module TencentCloud
8645
8689
  end
8646
8690
  end
8647
8691
 
8648
- # VPC通道健康检查参数配置
8692
+ # 后端通道健康检查参数配置
8649
8693
  class UpstreamHealthChecker < TencentCloud::Common::AbstractModel
8650
8694
  # @param EnableActiveCheck: 标识是否开启主动健康检查。
8651
8695
  # @type EnableActiveCheck: Boolean
@@ -8712,7 +8756,7 @@ module TencentCloud
8712
8756
  end
8713
8757
  end
8714
8758
 
8715
- # VPC通道主动健康检查的请求头配置
8759
+ # 后端通道主动健康检查的请求头配置
8716
8760
  class UpstreamHealthCheckerReqHeaders < TencentCloud::Common::AbstractModel
8717
8761
 
8718
8762
 
@@ -8723,21 +8767,21 @@ module TencentCloud
8723
8767
  end
8724
8768
  end
8725
8769
 
8726
- # VPC通道信息集合
8770
+ # 后端通道详细信息
8727
8771
  class UpstreamInfo < TencentCloud::Common::AbstractModel
8728
- # @param UpstreamId: VPC通道唯一ID
8772
+ # @param UpstreamId: 后端通道唯一ID
8729
8773
  # @type UpstreamId: String
8730
- # @param UpstreamName: VPC通道名字
8774
+ # @param UpstreamName: 后端通道名字
8731
8775
  # @type UpstreamName: String
8732
- # @param UpstreamDescription: VPC通道描述
8776
+ # @param UpstreamDescription: 后端通道描述
8733
8777
  # @type UpstreamDescription: String
8734
- # @param Scheme: 写意
8778
+ # @param Scheme: 后端协议,取值范围:HTTP, HTTPS
8735
8779
  # @type Scheme: String
8736
- # @param Algorithm: 负载均衡算法
8780
+ # @param Algorithm: 负载均衡算法,取值范围:ROUND_ROBIN
8737
8781
  # @type Algorithm: String
8738
- # @param UniqVpcId: vpc唯一ID
8782
+ # @param UniqVpcId: VPC唯一ID
8739
8783
  # @type UniqVpcId: String
8740
- # @param Retries: 请求重拾次数
8784
+ # @param Retries: 请求重试次数
8741
8785
  # @type Retries: Integer
8742
8786
  # @param Nodes: 后端节点
8743
8787
  # @type Nodes: Array
@@ -8749,12 +8793,12 @@ module TencentCloud
8749
8793
  # @param HealthChecker: 健康检查配置
8750
8794
  # 注意:此字段可能返回 null,表示取不到有效值。
8751
8795
  # @type HealthChecker: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamHealthChecker`
8752
- # @param UpstreamType: Upstream的类型
8796
+ # @param UpstreamType: 后端的类型,取值范围:IP_PORT, K8S
8753
8797
  # @type UpstreamType: String
8754
- # @param K8sServices: k8s服务配置
8798
+ # @param K8sServices: K8S容器服务配置
8755
8799
  # 注意:此字段可能返回 null,表示取不到有效值。
8756
8800
  # @type K8sServices: Array
8757
- # @param UpstreamHost: vpc通道的Host
8801
+ # @param UpstreamHost: 网关转发给后端的Host请求头
8758
8802
  # 注意:此字段可能返回 null,表示取不到有效值。
8759
8803
  # @type UpstreamHost: String
8760
8804
 
@@ -8819,33 +8863,33 @@ module TencentCloud
8819
8863
  end
8820
8864
  end
8821
8865
 
8822
- # VPC通道后端节点元数据
8866
+ # 后端通道后端节点元数据
8823
8867
  class UpstreamNode < TencentCloud::Common::AbstractModel
8824
- # @param Host: IP(domain)
8868
+ # @param Host: IP或域名
8825
8869
  # @type Host: String
8826
8870
  # @param Port: 端口[0, 65535]
8827
8871
  # @type Port: Integer
8828
8872
  # @param Weight: 权重[0, 100], 0为禁用
8829
8873
  # @type Weight: Integer
8830
- # @param VmInstanceId: vm实例id
8874
+ # @param VmInstanceId: CVM实例ID
8831
8875
  # 注意:此字段可能返回 null,表示取不到有效值。
8832
8876
  # @type VmInstanceId: String
8833
8877
  # @param Tags: 染色标签
8834
8878
  # 注意:此字段可能返回 null,表示取不到有效值。
8835
8879
  # @type Tags: Array
8836
- # @param Healthy: 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
8880
+ # @param Healthy: 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报。目前只支持VPC通道。
8837
8881
  # 注意:此字段可能返回 null,表示取不到有效值。
8838
8882
  # @type Healthy: String
8839
- # @param ServiceName: k8s服务名字
8883
+ # @param ServiceName: K8S容器服务名字
8840
8884
  # 注意:此字段可能返回 null,表示取不到有效值。
8841
8885
  # @type ServiceName: String
8842
- # @param NameSpace: k8s命名空间
8886
+ # @param NameSpace: K8S命名空间
8843
8887
  # 注意:此字段可能返回 null,表示取不到有效值。
8844
8888
  # @type NameSpace: String
8845
8889
  # @param ClusterId: TKE集群的ID
8846
8890
  # 注意:此字段可能返回 null,表示取不到有效值。
8847
8891
  # @type ClusterId: String
8848
- # @param Source: Node的来源
8892
+ # @param Source: Node的来源,取值范围:K8S
8849
8893
  # 注意:此字段可能返回 null,表示取不到有效值。
8850
8894
  # @type Source: String
8851
8895
  # @param UniqueServiceName: API网关内部记录唯一的服务名字
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-apigateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.301
4
+ version: 1.0.302
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud