tencentcloud-sdk-cvm 3.0.460 → 3.0.461

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +39 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 031a2425221e4872bd3684e0101f403c3c5db02f
4
- data.tar.gz: 60e6fde908f58d3e4fac8cd5f583c86417f7d369
3
+ metadata.gz: 5153e5e505454b132fb07450b2f2b1a0b31b9ece
4
+ data.tar.gz: 06fa707aba10c4900957f1f97aa51b1e29d36527
5
5
  SHA512:
6
- metadata.gz: ba04ae280a114bb300dc45cb09a4b4d225cd228a87de93346f201327d6e6b33b77049d740f25b9632c8316502fb2c776bb3cfb8954940f9af6de9365bd5d76fa
7
- data.tar.gz: 15b235888bea63b307fd42b2c3156e4b76ee40790215c01e4ae3b1a2616e666dcfcd979fcff9870d72243aa53a20a7c61528957832c839f32dcb9760d5ee024e
6
+ metadata.gz: 3cbcc5ec53b80b02364c89353280206815a8d53b11b57fd3f78c2851b8aaadf4c951b684c91f8d9e5e83eac41c24204ff57e226bfbdf8f2584ffdd0dfe041df6
7
+ data.tar.gz: 079ff086e3329d060691a8eab9eff23e9fbccd091eccc8c526cbabebb502c83e8076c240e1c8b3854e5467c742e6a65fec6c94e71e14c1465dbb94eda276fa66
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.460
1
+ 3.0.461
@@ -7716,6 +7716,26 @@ module TencentCloud
7716
7716
  end
7717
7717
  end
7718
7718
 
7719
+ # 同步镜像信息
7720
+ class SyncImage < TencentCloud::Common::AbstractModel
7721
+ # @param ImageId: 镜像ID
7722
+ # @type ImageId: String
7723
+ # @param Region: 地域
7724
+ # @type Region: String
7725
+
7726
+ attr_accessor :ImageId, :Region
7727
+
7728
+ def initialize(imageid=nil, region=nil)
7729
+ @ImageId = imageid
7730
+ @Region = region
7731
+ end
7732
+
7733
+ def deserialize(params)
7734
+ @ImageId = params['ImageId']
7735
+ @Region = params['Region']
7736
+ end
7737
+ end
7738
+
7719
7739
  # SyncImages请求参数结构体
7720
7740
  class SyncImagesRequest < TencentCloud::Common::AbstractModel
7721
7741
  # @param ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。<br><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。<br>镜像ID必须满足限制:<br><li>镜像ID对应的镜像状态必须为`NORMAL`。<br>镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。
@@ -7726,14 +7746,17 @@ module TencentCloud
7726
7746
  # @type DryRun: Boolean
7727
7747
  # @param ImageName: 目标镜像名称。
7728
7748
  # @type ImageName: String
7749
+ # @param ImageSetRequired: 是否需要返回目的地域的镜像ID。
7750
+ # @type ImageSetRequired: Boolean
7729
7751
 
7730
- attr_accessor :ImageIds, :DestinationRegions, :DryRun, :ImageName
7752
+ attr_accessor :ImageIds, :DestinationRegions, :DryRun, :ImageName, :ImageSetRequired
7731
7753
 
7732
- def initialize(imageids=nil, destinationregions=nil, dryrun=nil, imagename=nil)
7754
+ def initialize(imageids=nil, destinationregions=nil, dryrun=nil, imagename=nil, imagesetrequired=nil)
7733
7755
  @ImageIds = imageids
7734
7756
  @DestinationRegions = destinationregions
7735
7757
  @DryRun = dryrun
7736
7758
  @ImageName = imagename
7759
+ @ImageSetRequired = imagesetrequired
7737
7760
  end
7738
7761
 
7739
7762
  def deserialize(params)
@@ -7741,21 +7764,33 @@ module TencentCloud
7741
7764
  @DestinationRegions = params['DestinationRegions']
7742
7765
  @DryRun = params['DryRun']
7743
7766
  @ImageName = params['ImageName']
7767
+ @ImageSetRequired = params['ImageSetRequired']
7744
7768
  end
7745
7769
  end
7746
7770
 
7747
7771
  # SyncImages返回参数结构体
7748
7772
  class SyncImagesResponse < TencentCloud::Common::AbstractModel
7773
+ # @param ImageSet: 目的地域的镜像ID信息。
7774
+ # @type ImageSet: Array
7749
7775
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7750
7776
  # @type RequestId: String
7751
7777
 
7752
- attr_accessor :RequestId
7778
+ attr_accessor :ImageSet, :RequestId
7753
7779
 
7754
- def initialize(requestid=nil)
7780
+ def initialize(imageset=nil, requestid=nil)
7781
+ @ImageSet = imageset
7755
7782
  @RequestId = requestid
7756
7783
  end
7757
7784
 
7758
7785
  def deserialize(params)
7786
+ unless params['ImageSet'].nil?
7787
+ @ImageSet = []
7788
+ params['ImageSet'].each do |i|
7789
+ syncimage_tmp = SyncImage.new
7790
+ syncimage_tmp.deserialize(i)
7791
+ @ImageSet << syncimage_tmp
7792
+ end
7793
+ end
7759
7794
  @RequestId = params['RequestId']
7760
7795
  end
7761
7796
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.460
4
+ version: 3.0.461
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common