tencentcloud-sdk-vpc 3.0.486 → 3.0.487
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/v20170312/client.rb +288 -0
- data/lib/v20170312/models.rb +779 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d46216cc560dd19e175ffdf6d82853ca5effc7
|
4
|
+
data.tar.gz: 8367c32784ca479485d9441781894f06297af8a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db1a910db424b1f59a11ceb6d94ba090e5ca22c2a4152adf3879861004dbc009e9789c2a8363e50a67818376e3556ac5427c3f894f77d2dba1b2dc079f828c11
|
7
|
+
data.tar.gz: 0ee2942da4661e0406139c3f232fd122257ec74344a635d0aef1f46e460c4c8a1b02ca759d967a5d5785b208b5682ec29f0e3fd3d98308851e6c87a7edf4ee0f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.487
|
data/lib/v20170312/client.rb
CHANGED
@@ -549,6 +549,30 @@ module TencentCloud
|
|
549
549
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
550
550
|
end
|
551
551
|
|
552
|
+
# 本接口(AttachSnapshotInstances)用于快照策略关联实例。
|
553
|
+
|
554
|
+
# @param request: Request instance for AttachSnapshotInstances.
|
555
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::AttachSnapshotInstancesRequest`
|
556
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::AttachSnapshotInstancesResponse`
|
557
|
+
def AttachSnapshotInstances(request)
|
558
|
+
body = send_request('AttachSnapshotInstances', request.serialize)
|
559
|
+
response = JSON.parse(body)
|
560
|
+
if response['Response'].key?('Error') == false
|
561
|
+
model = AttachSnapshotInstancesResponse.new
|
562
|
+
model.deserialize(response['Response'])
|
563
|
+
model
|
564
|
+
else
|
565
|
+
code = response['Response']['Error']['Code']
|
566
|
+
message = response['Response']['Error']['Message']
|
567
|
+
reqid = response['Response']['RequestId']
|
568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
569
|
+
end
|
570
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
571
|
+
raise e
|
572
|
+
rescue StandardError => e
|
573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
574
|
+
end
|
575
|
+
|
552
576
|
# 本接口(AuditCrossBorderCompliance)用于服务商操作合规化资质审批。
|
553
577
|
# * 服务商只能操作提交到本服务商的审批单,后台会校验身份。即只授权给服务商的`APPID` 调用本接口。
|
554
578
|
# * `APPROVED` 状态的审批单,可以再次操作为 `DENY`;`DENY` 状态的审批单,也可以再次操作为 `APPROVED`。
|
@@ -1457,6 +1481,30 @@ module TencentCloud
|
|
1457
1481
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1458
1482
|
end
|
1459
1483
|
|
1484
|
+
# 本接口(CreateSnapshotPolicies)用于创建快照策略。
|
1485
|
+
|
1486
|
+
# @param request: Request instance for CreateSnapshotPolicies.
|
1487
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateSnapshotPoliciesRequest`
|
1488
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateSnapshotPoliciesResponse`
|
1489
|
+
def CreateSnapshotPolicies(request)
|
1490
|
+
body = send_request('CreateSnapshotPolicies', request.serialize)
|
1491
|
+
response = JSON.parse(body)
|
1492
|
+
if response['Response'].key?('Error') == false
|
1493
|
+
model = CreateSnapshotPoliciesResponse.new
|
1494
|
+
model.deserialize(response['Response'])
|
1495
|
+
model
|
1496
|
+
else
|
1497
|
+
code = response['Response']['Error']['Code']
|
1498
|
+
message = response['Response']['Error']['Message']
|
1499
|
+
reqid = response['Response']['RequestId']
|
1500
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1501
|
+
end
|
1502
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1503
|
+
raise e
|
1504
|
+
rescue StandardError => e
|
1505
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1506
|
+
end
|
1507
|
+
|
1460
1508
|
# 本接口(CreateSubnet)用于创建子网。
|
1461
1509
|
# * 创建子网前必须创建好 VPC。
|
1462
1510
|
# * 子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。
|
@@ -2380,6 +2428,30 @@ module TencentCloud
|
|
2380
2428
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2381
2429
|
end
|
2382
2430
|
|
2431
|
+
# 本接口(DeleteSnapshotPolicies)用于删除快照策略。
|
2432
|
+
|
2433
|
+
# @param request: Request instance for DeleteSnapshotPolicies.
|
2434
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteSnapshotPoliciesRequest`
|
2435
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteSnapshotPoliciesResponse`
|
2436
|
+
def DeleteSnapshotPolicies(request)
|
2437
|
+
body = send_request('DeleteSnapshotPolicies', request.serialize)
|
2438
|
+
response = JSON.parse(body)
|
2439
|
+
if response['Response'].key?('Error') == false
|
2440
|
+
model = DeleteSnapshotPoliciesResponse.new
|
2441
|
+
model.deserialize(response['Response'])
|
2442
|
+
model
|
2443
|
+
else
|
2444
|
+
code = response['Response']['Error']['Code']
|
2445
|
+
message = response['Response']['Error']['Message']
|
2446
|
+
reqid = response['Response']['RequestId']
|
2447
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2448
|
+
end
|
2449
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2450
|
+
raise e
|
2451
|
+
rescue StandardError => e
|
2452
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2453
|
+
end
|
2454
|
+
|
2383
2455
|
# 本接口(DeleteSubnet)用于用于删除子网(Subnet)。
|
2384
2456
|
# * 删除子网前,请清理该子网下所有资源,包括云服务器、负载均衡、云数据、noSql、弹性网卡等资源。
|
2385
2457
|
|
@@ -3952,6 +4024,102 @@ module TencentCloud
|
|
3952
4024
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3953
4025
|
end
|
3954
4026
|
|
4027
|
+
# 本接口(DescribeSgSnapshotFileContent)用于查询安全组快照文件内容。
|
4028
|
+
|
4029
|
+
# @param request: Request instance for DescribeSgSnapshotFileContent.
|
4030
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSgSnapshotFileContentRequest`
|
4031
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSgSnapshotFileContentResponse`
|
4032
|
+
def DescribeSgSnapshotFileContent(request)
|
4033
|
+
body = send_request('DescribeSgSnapshotFileContent', request.serialize)
|
4034
|
+
response = JSON.parse(body)
|
4035
|
+
if response['Response'].key?('Error') == false
|
4036
|
+
model = DescribeSgSnapshotFileContentResponse.new
|
4037
|
+
model.deserialize(response['Response'])
|
4038
|
+
model
|
4039
|
+
else
|
4040
|
+
code = response['Response']['Error']['Code']
|
4041
|
+
message = response['Response']['Error']['Message']
|
4042
|
+
reqid = response['Response']['RequestId']
|
4043
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4044
|
+
end
|
4045
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4046
|
+
raise e
|
4047
|
+
rescue StandardError => e
|
4048
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4049
|
+
end
|
4050
|
+
|
4051
|
+
# 本接口(DescribeSnapshotAttachedInstances)用于查询快照策略关联实例列表。
|
4052
|
+
|
4053
|
+
# @param request: Request instance for DescribeSnapshotAttachedInstances.
|
4054
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotAttachedInstancesRequest`
|
4055
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotAttachedInstancesResponse`
|
4056
|
+
def DescribeSnapshotAttachedInstances(request)
|
4057
|
+
body = send_request('DescribeSnapshotAttachedInstances', request.serialize)
|
4058
|
+
response = JSON.parse(body)
|
4059
|
+
if response['Response'].key?('Error') == false
|
4060
|
+
model = DescribeSnapshotAttachedInstancesResponse.new
|
4061
|
+
model.deserialize(response['Response'])
|
4062
|
+
model
|
4063
|
+
else
|
4064
|
+
code = response['Response']['Error']['Code']
|
4065
|
+
message = response['Response']['Error']['Message']
|
4066
|
+
reqid = response['Response']['RequestId']
|
4067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4068
|
+
end
|
4069
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4070
|
+
raise e
|
4071
|
+
rescue StandardError => e
|
4072
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4073
|
+
end
|
4074
|
+
|
4075
|
+
# 本接口(DescribeSnapshotFiles)用于查询快照文件。
|
4076
|
+
|
4077
|
+
# @param request: Request instance for DescribeSnapshotFiles.
|
4078
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotFilesRequest`
|
4079
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotFilesResponse`
|
4080
|
+
def DescribeSnapshotFiles(request)
|
4081
|
+
body = send_request('DescribeSnapshotFiles', request.serialize)
|
4082
|
+
response = JSON.parse(body)
|
4083
|
+
if response['Response'].key?('Error') == false
|
4084
|
+
model = DescribeSnapshotFilesResponse.new
|
4085
|
+
model.deserialize(response['Response'])
|
4086
|
+
model
|
4087
|
+
else
|
4088
|
+
code = response['Response']['Error']['Code']
|
4089
|
+
message = response['Response']['Error']['Message']
|
4090
|
+
reqid = response['Response']['RequestId']
|
4091
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4092
|
+
end
|
4093
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4094
|
+
raise e
|
4095
|
+
rescue StandardError => e
|
4096
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4097
|
+
end
|
4098
|
+
|
4099
|
+
# 本接口(DescribeSnapshotPolicies)用于查询快照策略。
|
4100
|
+
|
4101
|
+
# @param request: Request instance for DescribeSnapshotPolicies.
|
4102
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotPoliciesRequest`
|
4103
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSnapshotPoliciesResponse`
|
4104
|
+
def DescribeSnapshotPolicies(request)
|
4105
|
+
body = send_request('DescribeSnapshotPolicies', request.serialize)
|
4106
|
+
response = JSON.parse(body)
|
4107
|
+
if response['Response'].key?('Error') == false
|
4108
|
+
model = DescribeSnapshotPoliciesResponse.new
|
4109
|
+
model.deserialize(response['Response'])
|
4110
|
+
model
|
4111
|
+
else
|
4112
|
+
code = response['Response']['Error']['Code']
|
4113
|
+
message = response['Response']['Error']['Message']
|
4114
|
+
reqid = response['Response']['RequestId']
|
4115
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4116
|
+
end
|
4117
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4118
|
+
raise e
|
4119
|
+
rescue StandardError => e
|
4120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4121
|
+
end
|
4122
|
+
|
3955
4123
|
# 本接口(DescribeSubnets)用于查询子网列表。
|
3956
4124
|
|
3957
4125
|
# @param request: Request instance for DescribeSubnets.
|
@@ -4565,6 +4733,30 @@ module TencentCloud
|
|
4565
4733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4566
4734
|
end
|
4567
4735
|
|
4736
|
+
# 本接口(DetachSnapshotInstances)用于快照策略解关联实例。
|
4737
|
+
|
4738
|
+
# @param request: Request instance for DetachSnapshotInstances.
|
4739
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DetachSnapshotInstancesRequest`
|
4740
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DetachSnapshotInstancesResponse`
|
4741
|
+
def DetachSnapshotInstances(request)
|
4742
|
+
body = send_request('DetachSnapshotInstances', request.serialize)
|
4743
|
+
response = JSON.parse(body)
|
4744
|
+
if response['Response'].key?('Error') == false
|
4745
|
+
model = DetachSnapshotInstancesResponse.new
|
4746
|
+
model.deserialize(response['Response'])
|
4747
|
+
model
|
4748
|
+
else
|
4749
|
+
code = response['Response']['Error']['Code']
|
4750
|
+
message = response['Response']['Error']['Message']
|
4751
|
+
reqid = response['Response']['RequestId']
|
4752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4753
|
+
end
|
4754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4755
|
+
raise e
|
4756
|
+
rescue StandardError => e
|
4757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4758
|
+
end
|
4759
|
+
|
4568
4760
|
# 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由
|
4569
4761
|
|
4570
4762
|
# @param request: Request instance for DisableCcnRoutes.
|
@@ -4661,6 +4853,30 @@ module TencentCloud
|
|
4661
4853
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4662
4854
|
end
|
4663
4855
|
|
4856
|
+
# 本接口(DisableSnapshotPolicies)用于停用快照策略。
|
4857
|
+
|
4858
|
+
# @param request: Request instance for DisableSnapshotPolicies.
|
4859
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DisableSnapshotPoliciesRequest`
|
4860
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DisableSnapshotPoliciesResponse`
|
4861
|
+
def DisableSnapshotPolicies(request)
|
4862
|
+
body = send_request('DisableSnapshotPolicies', request.serialize)
|
4863
|
+
response = JSON.parse(body)
|
4864
|
+
if response['Response'].key?('Error') == false
|
4865
|
+
model = DisableSnapshotPoliciesResponse.new
|
4866
|
+
model.deserialize(response['Response'])
|
4867
|
+
model
|
4868
|
+
else
|
4869
|
+
code = response['Response']['Error']['Code']
|
4870
|
+
message = response['Response']['Error']['Message']
|
4871
|
+
reqid = response['Response']['RequestId']
|
4872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4873
|
+
end
|
4874
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4875
|
+
raise e
|
4876
|
+
rescue StandardError => e
|
4877
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4878
|
+
end
|
4879
|
+
|
4664
4880
|
# 禁用SSL-VPN-CLIENT 证书
|
4665
4881
|
|
4666
4882
|
# @param request: Request instance for DisableVpnGatewaySslClientCert.
|
@@ -5005,6 +5221,30 @@ module TencentCloud
|
|
5005
5221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5006
5222
|
end
|
5007
5223
|
|
5224
|
+
# 本接口(EnableSnapshotPolicies)用于启用快照策略。
|
5225
|
+
|
5226
|
+
# @param request: Request instance for EnableSnapshotPolicies.
|
5227
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::EnableSnapshotPoliciesRequest`
|
5228
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::EnableSnapshotPoliciesResponse`
|
5229
|
+
def EnableSnapshotPolicies(request)
|
5230
|
+
body = send_request('EnableSnapshotPolicies', request.serialize)
|
5231
|
+
response = JSON.parse(body)
|
5232
|
+
if response['Response'].key?('Error') == false
|
5233
|
+
model = EnableSnapshotPoliciesResponse.new
|
5234
|
+
model.deserialize(response['Response'])
|
5235
|
+
model
|
5236
|
+
else
|
5237
|
+
code = response['Response']['Error']['Code']
|
5238
|
+
message = response['Response']['Error']['Message']
|
5239
|
+
reqid = response['Response']['RequestId']
|
5240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5241
|
+
end
|
5242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5243
|
+
raise e
|
5244
|
+
rescue StandardError => e
|
5245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5246
|
+
end
|
5247
|
+
|
5008
5248
|
# 是否接受终端节点连接请求。
|
5009
5249
|
|
5010
5250
|
# @param request: Request instance for EnableVpcEndPointConnect.
|
@@ -6214,6 +6454,30 @@ module TencentCloud
|
|
6214
6454
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6215
6455
|
end
|
6216
6456
|
|
6457
|
+
# 本接口(ModifySnapshotPolicies)用于修改快照策略。
|
6458
|
+
|
6459
|
+
# @param request: Request instance for ModifySnapshotPolicies.
|
6460
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifySnapshotPoliciesRequest`
|
6461
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifySnapshotPoliciesResponse`
|
6462
|
+
def ModifySnapshotPolicies(request)
|
6463
|
+
body = send_request('ModifySnapshotPolicies', request.serialize)
|
6464
|
+
response = JSON.parse(body)
|
6465
|
+
if response['Response'].key?('Error') == false
|
6466
|
+
model = ModifySnapshotPoliciesResponse.new
|
6467
|
+
model.deserialize(response['Response'])
|
6468
|
+
model
|
6469
|
+
else
|
6470
|
+
code = response['Response']['Error']['Code']
|
6471
|
+
message = response['Response']['Error']['Message']
|
6472
|
+
reqid = response['Response']['RequestId']
|
6473
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6474
|
+
end
|
6475
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6476
|
+
raise e
|
6477
|
+
rescue StandardError => e
|
6478
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6479
|
+
end
|
6480
|
+
|
6217
6481
|
# 本接口(ModifySubnetAttribute)用于修改子网属性。
|
6218
6482
|
|
6219
6483
|
# @param request: Request instance for ModifySubnetAttribute.
|
@@ -6893,6 +7157,30 @@ module TencentCloud
|
|
6893
7157
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6894
7158
|
end
|
6895
7159
|
|
7160
|
+
# 本接口(ResumeSnapshotInstance)用于根据备份内容恢复安全组策略。
|
7161
|
+
|
7162
|
+
# @param request: Request instance for ResumeSnapshotInstance.
|
7163
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResumeSnapshotInstanceRequest`
|
7164
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResumeSnapshotInstanceResponse`
|
7165
|
+
def ResumeSnapshotInstance(request)
|
7166
|
+
body = send_request('ResumeSnapshotInstance', request.serialize)
|
7167
|
+
response = JSON.parse(body)
|
7168
|
+
if response['Response'].key?('Error') == false
|
7169
|
+
model = ResumeSnapshotInstanceResponse.new
|
7170
|
+
model.deserialize(response['Response'])
|
7171
|
+
model
|
7172
|
+
else
|
7173
|
+
code = response['Response']['Error']['Code']
|
7174
|
+
message = response['Response']['Error']['Message']
|
7175
|
+
reqid = response['Response']['RequestId']
|
7176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7177
|
+
end
|
7178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7179
|
+
raise e
|
7180
|
+
rescue StandardError => e
|
7181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7182
|
+
end
|
7183
|
+
|
6896
7184
|
# 本接口(ReturnNormalAddresses)用于解绑并释放普通公网IP。
|
6897
7185
|
# 为完善公网IP的访问管理功能,此接口于2022年12月15日升级优化鉴权功能,升级后子用户调用此接口需向主账号申请CAM策略授权,否则可能调用失败。您可以提前为子账号配置操作授权,详情见[授权指南](https://cloud.tencent.com/document/product/598/34545)。
|
6898
7186
|
|
data/lib/v20170312/models.rb
CHANGED
@@ -1370,6 +1370,49 @@ module TencentCloud
|
|
1370
1370
|
end
|
1371
1371
|
end
|
1372
1372
|
|
1373
|
+
# AttachSnapshotInstances请求参数结构体
|
1374
|
+
class AttachSnapshotInstancesRequest < TencentCloud::Common::AbstractModel
|
1375
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
1376
|
+
# @type SnapshotPolicyId: String
|
1377
|
+
# @param Instances: 关联实例信息。
|
1378
|
+
# @type Instances: Array
|
1379
|
+
|
1380
|
+
attr_accessor :SnapshotPolicyId, :Instances
|
1381
|
+
|
1382
|
+
def initialize(snapshotpolicyid=nil, instances=nil)
|
1383
|
+
@SnapshotPolicyId = snapshotpolicyid
|
1384
|
+
@Instances = instances
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
def deserialize(params)
|
1388
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
1389
|
+
unless params['Instances'].nil?
|
1390
|
+
@Instances = []
|
1391
|
+
params['Instances'].each do |i|
|
1392
|
+
snapshotinstance_tmp = SnapshotInstance.new
|
1393
|
+
snapshotinstance_tmp.deserialize(i)
|
1394
|
+
@Instances << snapshotinstance_tmp
|
1395
|
+
end
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
# AttachSnapshotInstances返回参数结构体
|
1401
|
+
class AttachSnapshotInstancesResponse < TencentCloud::Common::AbstractModel
|
1402
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1403
|
+
# @type RequestId: String
|
1404
|
+
|
1405
|
+
attr_accessor :RequestId
|
1406
|
+
|
1407
|
+
def initialize(requestid=nil)
|
1408
|
+
@RequestId = requestid
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
def deserialize(params)
|
1412
|
+
@RequestId = params['RequestId']
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1373
1416
|
# AuditCrossBorderCompliance请求参数结构体
|
1374
1417
|
class AuditCrossBorderComplianceRequest < TencentCloud::Common::AbstractModel
|
1375
1418
|
# @param ServiceProvider: 服务商, 可选值:`UNICOM`。
|
@@ -1410,6 +1453,26 @@ module TencentCloud
|
|
1410
1453
|
end
|
1411
1454
|
end
|
1412
1455
|
|
1456
|
+
# 时间备份策略详情
|
1457
|
+
class BackupPolicy < TencentCloud::Common::AbstractModel
|
1458
|
+
# @param BackupDay: 备份周期时间,取值为monday, tuesday, wednesday, thursday, friday, saturday, sunday。
|
1459
|
+
# @type BackupDay: String
|
1460
|
+
# @param BackupTime: 备份时间点,格式:HH:mm:ss。
|
1461
|
+
# @type BackupTime: String
|
1462
|
+
|
1463
|
+
attr_accessor :BackupDay, :BackupTime
|
1464
|
+
|
1465
|
+
def initialize(backupday=nil, backuptime=nil)
|
1466
|
+
@BackupDay = backupday
|
1467
|
+
@BackupTime = backuptime
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
def deserialize(params)
|
1471
|
+
@BackupDay = params['BackupDay']
|
1472
|
+
@BackupTime = params['BackupTime']
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1413
1476
|
# 描述带宽包信息的结构
|
1414
1477
|
class BandwidthPackage < TencentCloud::Common::AbstractModel
|
1415
1478
|
# @param BandwidthPackageId: 带宽包唯一标识Id
|
@@ -1477,6 +1540,41 @@ module TencentCloud
|
|
1477
1540
|
end
|
1478
1541
|
end
|
1479
1542
|
|
1543
|
+
# 批量修改快照策略信息
|
1544
|
+
class BatchModifySnapshotPolicy < TencentCloud::Common::AbstractModel
|
1545
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
1546
|
+
# @type SnapshotPolicyId: String
|
1547
|
+
# @param SnapshotPolicyName: 快照策略名称。
|
1548
|
+
# @type SnapshotPolicyName: String
|
1549
|
+
# @param BackupPolicies: 备份策略。
|
1550
|
+
# @type BackupPolicies: Array
|
1551
|
+
# @param KeepTime: 快照保留时间,支持1~365天。
|
1552
|
+
# @type KeepTime: Integer
|
1553
|
+
|
1554
|
+
attr_accessor :SnapshotPolicyId, :SnapshotPolicyName, :BackupPolicies, :KeepTime
|
1555
|
+
|
1556
|
+
def initialize(snapshotpolicyid=nil, snapshotpolicyname=nil, backuppolicies=nil, keeptime=nil)
|
1557
|
+
@SnapshotPolicyId = snapshotpolicyid
|
1558
|
+
@SnapshotPolicyName = snapshotpolicyname
|
1559
|
+
@BackupPolicies = backuppolicies
|
1560
|
+
@KeepTime = keeptime
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
def deserialize(params)
|
1564
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
1565
|
+
@SnapshotPolicyName = params['SnapshotPolicyName']
|
1566
|
+
unless params['BackupPolicies'].nil?
|
1567
|
+
@BackupPolicies = []
|
1568
|
+
params['BackupPolicies'].each do |i|
|
1569
|
+
backuppolicy_tmp = BackupPolicy.new
|
1570
|
+
backuppolicy_tmp.deserialize(i)
|
1571
|
+
@BackupPolicies << backuppolicy_tmp
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
@KeepTime = params['KeepTime']
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1480
1578
|
# 云联网(CCN)对象
|
1481
1579
|
class CCN < TencentCloud::Common::AbstractModel
|
1482
1580
|
# @param CcnId: 云联网唯一ID
|
@@ -3850,6 +3948,56 @@ module TencentCloud
|
|
3850
3948
|
end
|
3851
3949
|
end
|
3852
3950
|
|
3951
|
+
# CreateSnapshotPolicies请求参数结构体
|
3952
|
+
class CreateSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
3953
|
+
# @param SnapshotPolicies: 快照策略详情。
|
3954
|
+
# @type SnapshotPolicies: Array
|
3955
|
+
|
3956
|
+
attr_accessor :SnapshotPolicies
|
3957
|
+
|
3958
|
+
def initialize(snapshotpolicies=nil)
|
3959
|
+
@SnapshotPolicies = snapshotpolicies
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
def deserialize(params)
|
3963
|
+
unless params['SnapshotPolicies'].nil?
|
3964
|
+
@SnapshotPolicies = []
|
3965
|
+
params['SnapshotPolicies'].each do |i|
|
3966
|
+
snapshotpolicy_tmp = SnapshotPolicy.new
|
3967
|
+
snapshotpolicy_tmp.deserialize(i)
|
3968
|
+
@SnapshotPolicies << snapshotpolicy_tmp
|
3969
|
+
end
|
3970
|
+
end
|
3971
|
+
end
|
3972
|
+
end
|
3973
|
+
|
3974
|
+
# CreateSnapshotPolicies返回参数结构体
|
3975
|
+
class CreateSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
3976
|
+
# @param SnapshotPolicies: 快照策略。
|
3977
|
+
# @type SnapshotPolicies: Array
|
3978
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3979
|
+
# @type RequestId: String
|
3980
|
+
|
3981
|
+
attr_accessor :SnapshotPolicies, :RequestId
|
3982
|
+
|
3983
|
+
def initialize(snapshotpolicies=nil, requestid=nil)
|
3984
|
+
@SnapshotPolicies = snapshotpolicies
|
3985
|
+
@RequestId = requestid
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
def deserialize(params)
|
3989
|
+
unless params['SnapshotPolicies'].nil?
|
3990
|
+
@SnapshotPolicies = []
|
3991
|
+
params['SnapshotPolicies'].each do |i|
|
3992
|
+
snapshotpolicy_tmp = SnapshotPolicy.new
|
3993
|
+
snapshotpolicy_tmp.deserialize(i)
|
3994
|
+
@SnapshotPolicies << snapshotpolicy_tmp
|
3995
|
+
end
|
3996
|
+
end
|
3997
|
+
@RequestId = params['RequestId']
|
3998
|
+
end
|
3999
|
+
end
|
4000
|
+
|
3853
4001
|
# CreateSubnet请求参数结构体
|
3854
4002
|
class CreateSubnetRequest < TencentCloud::Common::AbstractModel
|
3855
4003
|
# @param VpcId: 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
@@ -5763,6 +5911,38 @@ module TencentCloud
|
|
5763
5911
|
end
|
5764
5912
|
end
|
5765
5913
|
|
5914
|
+
# DeleteSnapshotPolicies请求参数结构体
|
5915
|
+
class DeleteSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
5916
|
+
# @param SnapshotPolicyIds: 快照策略Id。
|
5917
|
+
# @type SnapshotPolicyIds: Array
|
5918
|
+
|
5919
|
+
attr_accessor :SnapshotPolicyIds
|
5920
|
+
|
5921
|
+
def initialize(snapshotpolicyids=nil)
|
5922
|
+
@SnapshotPolicyIds = snapshotpolicyids
|
5923
|
+
end
|
5924
|
+
|
5925
|
+
def deserialize(params)
|
5926
|
+
@SnapshotPolicyIds = params['SnapshotPolicyIds']
|
5927
|
+
end
|
5928
|
+
end
|
5929
|
+
|
5930
|
+
# DeleteSnapshotPolicies返回参数结构体
|
5931
|
+
class DeleteSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
5932
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5933
|
+
# @type RequestId: String
|
5934
|
+
|
5935
|
+
attr_accessor :RequestId
|
5936
|
+
|
5937
|
+
def initialize(requestid=nil)
|
5938
|
+
@RequestId = requestid
|
5939
|
+
end
|
5940
|
+
|
5941
|
+
def deserialize(params)
|
5942
|
+
@RequestId = params['RequestId']
|
5943
|
+
end
|
5944
|
+
end
|
5945
|
+
|
5766
5946
|
# DeleteSubnet请求参数结构体
|
5767
5947
|
class DeleteSubnetRequest < TencentCloud::Common::AbstractModel
|
5768
5948
|
# @param SubnetId: 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。
|
@@ -9533,6 +9713,292 @@ module TencentCloud
|
|
9533
9713
|
end
|
9534
9714
|
end
|
9535
9715
|
|
9716
|
+
# DescribeSgSnapshotFileContent请求参数结构体
|
9717
|
+
class DescribeSgSnapshotFileContentRequest < TencentCloud::Common::AbstractModel
|
9718
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
9719
|
+
# @type SnapshotPolicyId: String
|
9720
|
+
# @param SnapshotFileId: 快照文件Id。
|
9721
|
+
# @type SnapshotFileId: String
|
9722
|
+
# @param SecurityGroupId: 安全组Id。
|
9723
|
+
# @type SecurityGroupId: String
|
9724
|
+
|
9725
|
+
attr_accessor :SnapshotPolicyId, :SnapshotFileId, :SecurityGroupId
|
9726
|
+
|
9727
|
+
def initialize(snapshotpolicyid=nil, snapshotfileid=nil, securitygroupid=nil)
|
9728
|
+
@SnapshotPolicyId = snapshotpolicyid
|
9729
|
+
@SnapshotFileId = snapshotfileid
|
9730
|
+
@SecurityGroupId = securitygroupid
|
9731
|
+
end
|
9732
|
+
|
9733
|
+
def deserialize(params)
|
9734
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
9735
|
+
@SnapshotFileId = params['SnapshotFileId']
|
9736
|
+
@SecurityGroupId = params['SecurityGroupId']
|
9737
|
+
end
|
9738
|
+
end
|
9739
|
+
|
9740
|
+
# DescribeSgSnapshotFileContent返回参数结构体
|
9741
|
+
class DescribeSgSnapshotFileContentResponse < TencentCloud::Common::AbstractModel
|
9742
|
+
# @param InstanceId: 实例Id,即安全组Id。
|
9743
|
+
# @type InstanceId: String
|
9744
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
9745
|
+
# @type SnapshotPolicyId: String
|
9746
|
+
# @param SnapshotFileId: 快照文件Id。
|
9747
|
+
# @type SnapshotFileId: String
|
9748
|
+
# @param BackupTime: 备份时间。
|
9749
|
+
# @type BackupTime: String
|
9750
|
+
# @param Operator: 操作者。
|
9751
|
+
# @type Operator: String
|
9752
|
+
# @param OriginalData: 原始数据。
|
9753
|
+
# @type OriginalData: Array
|
9754
|
+
# @param BackupData: 备份数据。
|
9755
|
+
# @type BackupData: Array
|
9756
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9757
|
+
# @type RequestId: String
|
9758
|
+
|
9759
|
+
attr_accessor :InstanceId, :SnapshotPolicyId, :SnapshotFileId, :BackupTime, :Operator, :OriginalData, :BackupData, :RequestId
|
9760
|
+
|
9761
|
+
def initialize(instanceid=nil, snapshotpolicyid=nil, snapshotfileid=nil, backuptime=nil, operator=nil, originaldata=nil, backupdata=nil, requestid=nil)
|
9762
|
+
@InstanceId = instanceid
|
9763
|
+
@SnapshotPolicyId = snapshotpolicyid
|
9764
|
+
@SnapshotFileId = snapshotfileid
|
9765
|
+
@BackupTime = backuptime
|
9766
|
+
@Operator = operator
|
9767
|
+
@OriginalData = originaldata
|
9768
|
+
@BackupData = backupdata
|
9769
|
+
@RequestId = requestid
|
9770
|
+
end
|
9771
|
+
|
9772
|
+
def deserialize(params)
|
9773
|
+
@InstanceId = params['InstanceId']
|
9774
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
9775
|
+
@SnapshotFileId = params['SnapshotFileId']
|
9776
|
+
@BackupTime = params['BackupTime']
|
9777
|
+
@Operator = params['Operator']
|
9778
|
+
unless params['OriginalData'].nil?
|
9779
|
+
@OriginalData = []
|
9780
|
+
params['OriginalData'].each do |i|
|
9781
|
+
securitygrouppolicy_tmp = SecurityGroupPolicy.new
|
9782
|
+
securitygrouppolicy_tmp.deserialize(i)
|
9783
|
+
@OriginalData << securitygrouppolicy_tmp
|
9784
|
+
end
|
9785
|
+
end
|
9786
|
+
unless params['BackupData'].nil?
|
9787
|
+
@BackupData = []
|
9788
|
+
params['BackupData'].each do |i|
|
9789
|
+
securitygrouppolicy_tmp = SecurityGroupPolicy.new
|
9790
|
+
securitygrouppolicy_tmp.deserialize(i)
|
9791
|
+
@BackupData << securitygrouppolicy_tmp
|
9792
|
+
end
|
9793
|
+
end
|
9794
|
+
@RequestId = params['RequestId']
|
9795
|
+
end
|
9796
|
+
end
|
9797
|
+
|
9798
|
+
# DescribeSnapshotAttachedInstances请求参数结构体
|
9799
|
+
class DescribeSnapshotAttachedInstancesRequest < TencentCloud::Common::AbstractModel
|
9800
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
9801
|
+
# @type SnapshotPolicyId: String
|
9802
|
+
# @param Filters: 过滤条件。
|
9803
|
+
# 支持的过滤条件如下:
|
9804
|
+
# <li>instance-id:实例ID。</li>
|
9805
|
+
# <li>instance-region:实例所在地域。</li>
|
9806
|
+
# @type Filters: Array
|
9807
|
+
# @param Offset: 偏移量,默认为0。
|
9808
|
+
# @type Offset: Integer
|
9809
|
+
# @param Limit: 返回数量,默认为20,最大为200。
|
9810
|
+
# @type Limit: Integer
|
9811
|
+
|
9812
|
+
attr_accessor :SnapshotPolicyId, :Filters, :Offset, :Limit
|
9813
|
+
|
9814
|
+
def initialize(snapshotpolicyid=nil, filters=nil, offset=nil, limit=nil)
|
9815
|
+
@SnapshotPolicyId = snapshotpolicyid
|
9816
|
+
@Filters = filters
|
9817
|
+
@Offset = offset
|
9818
|
+
@Limit = limit
|
9819
|
+
end
|
9820
|
+
|
9821
|
+
def deserialize(params)
|
9822
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
9823
|
+
unless params['Filters'].nil?
|
9824
|
+
@Filters = []
|
9825
|
+
params['Filters'].each do |i|
|
9826
|
+
filter_tmp = Filter.new
|
9827
|
+
filter_tmp.deserialize(i)
|
9828
|
+
@Filters << filter_tmp
|
9829
|
+
end
|
9830
|
+
end
|
9831
|
+
@Offset = params['Offset']
|
9832
|
+
@Limit = params['Limit']
|
9833
|
+
end
|
9834
|
+
end
|
9835
|
+
|
9836
|
+
# DescribeSnapshotAttachedInstances返回参数结构体
|
9837
|
+
class DescribeSnapshotAttachedInstancesResponse < TencentCloud::Common::AbstractModel
|
9838
|
+
# @param InstanceSet: 实例列表
|
9839
|
+
# @type InstanceSet: Array
|
9840
|
+
# @param TotalCount: 符合条件的对象数。
|
9841
|
+
# @type TotalCount: Integer
|
9842
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9843
|
+
# @type RequestId: String
|
9844
|
+
|
9845
|
+
attr_accessor :InstanceSet, :TotalCount, :RequestId
|
9846
|
+
|
9847
|
+
def initialize(instanceset=nil, totalcount=nil, requestid=nil)
|
9848
|
+
@InstanceSet = instanceset
|
9849
|
+
@TotalCount = totalcount
|
9850
|
+
@RequestId = requestid
|
9851
|
+
end
|
9852
|
+
|
9853
|
+
def deserialize(params)
|
9854
|
+
unless params['InstanceSet'].nil?
|
9855
|
+
@InstanceSet = []
|
9856
|
+
params['InstanceSet'].each do |i|
|
9857
|
+
snapshotinstance_tmp = SnapshotInstance.new
|
9858
|
+
snapshotinstance_tmp.deserialize(i)
|
9859
|
+
@InstanceSet << snapshotinstance_tmp
|
9860
|
+
end
|
9861
|
+
end
|
9862
|
+
@TotalCount = params['TotalCount']
|
9863
|
+
@RequestId = params['RequestId']
|
9864
|
+
end
|
9865
|
+
end
|
9866
|
+
|
9867
|
+
# DescribeSnapshotFiles请求参数结构体
|
9868
|
+
class DescribeSnapshotFilesRequest < TencentCloud::Common::AbstractModel
|
9869
|
+
# @param BusinessType: 业务类型,目前支持安全组:securitygroup。
|
9870
|
+
# @type BusinessType: String
|
9871
|
+
# @param InstanceId: 实例Id。
|
9872
|
+
# @type InstanceId: String
|
9873
|
+
# @param StartDate: 开始日期,格式%Y-%m-%d %H:%M:%S。
|
9874
|
+
# @type StartDate: String
|
9875
|
+
# @param EndDate: 结束日期,格式%Y-%m-%d %H:%M:%S。
|
9876
|
+
# @type EndDate: String
|
9877
|
+
# @param Offset: 偏移量,默认为0。
|
9878
|
+
# @type Offset: Integer
|
9879
|
+
# @param Limit: 返回数量,默认为20,最大为200。
|
9880
|
+
# @type Limit: Integer
|
9881
|
+
|
9882
|
+
attr_accessor :BusinessType, :InstanceId, :StartDate, :EndDate, :Offset, :Limit
|
9883
|
+
|
9884
|
+
def initialize(businesstype=nil, instanceid=nil, startdate=nil, enddate=nil, offset=nil, limit=nil)
|
9885
|
+
@BusinessType = businesstype
|
9886
|
+
@InstanceId = instanceid
|
9887
|
+
@StartDate = startdate
|
9888
|
+
@EndDate = enddate
|
9889
|
+
@Offset = offset
|
9890
|
+
@Limit = limit
|
9891
|
+
end
|
9892
|
+
|
9893
|
+
def deserialize(params)
|
9894
|
+
@BusinessType = params['BusinessType']
|
9895
|
+
@InstanceId = params['InstanceId']
|
9896
|
+
@StartDate = params['StartDate']
|
9897
|
+
@EndDate = params['EndDate']
|
9898
|
+
@Offset = params['Offset']
|
9899
|
+
@Limit = params['Limit']
|
9900
|
+
end
|
9901
|
+
end
|
9902
|
+
|
9903
|
+
# DescribeSnapshotFiles返回参数结构体
|
9904
|
+
class DescribeSnapshotFilesResponse < TencentCloud::Common::AbstractModel
|
9905
|
+
# @param SnapshotFileSet: 快照文件集合。
|
9906
|
+
# @type SnapshotFileSet: Array
|
9907
|
+
# @param TotalCount: 符合条件的对象数。
|
9908
|
+
# @type TotalCount: Integer
|
9909
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9910
|
+
# @type RequestId: String
|
9911
|
+
|
9912
|
+
attr_accessor :SnapshotFileSet, :TotalCount, :RequestId
|
9913
|
+
|
9914
|
+
def initialize(snapshotfileset=nil, totalcount=nil, requestid=nil)
|
9915
|
+
@SnapshotFileSet = snapshotfileset
|
9916
|
+
@TotalCount = totalcount
|
9917
|
+
@RequestId = requestid
|
9918
|
+
end
|
9919
|
+
|
9920
|
+
def deserialize(params)
|
9921
|
+
unless params['SnapshotFileSet'].nil?
|
9922
|
+
@SnapshotFileSet = []
|
9923
|
+
params['SnapshotFileSet'].each do |i|
|
9924
|
+
snapshotfileinfo_tmp = SnapshotFileInfo.new
|
9925
|
+
snapshotfileinfo_tmp.deserialize(i)
|
9926
|
+
@SnapshotFileSet << snapshotfileinfo_tmp
|
9927
|
+
end
|
9928
|
+
end
|
9929
|
+
@TotalCount = params['TotalCount']
|
9930
|
+
@RequestId = params['RequestId']
|
9931
|
+
end
|
9932
|
+
end
|
9933
|
+
|
9934
|
+
# DescribeSnapshotPolicies请求参数结构体
|
9935
|
+
class DescribeSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
9936
|
+
# @param SnapshotPolicyIds: 快照策略Id。
|
9937
|
+
# @type SnapshotPolicyIds: Array
|
9938
|
+
# @param Filters: 过滤条件,参数不支持同时指定SnapshotPolicyIds和Filters。
|
9939
|
+
# <li>snapshot-policy-id - String -(过滤条件)快照策略ID。</li>
|
9940
|
+
# <li>snapshot-policy-name - String -(过滤条件)快照策略名称。</li>
|
9941
|
+
# @type Filters: Array
|
9942
|
+
# @param Offset: 偏移量,默认为0。
|
9943
|
+
# @type Offset: Integer
|
9944
|
+
# @param Limit: 返回数量,默认为20,最大为200。
|
9945
|
+
# @type Limit: Integer
|
9946
|
+
|
9947
|
+
attr_accessor :SnapshotPolicyIds, :Filters, :Offset, :Limit
|
9948
|
+
|
9949
|
+
def initialize(snapshotpolicyids=nil, filters=nil, offset=nil, limit=nil)
|
9950
|
+
@SnapshotPolicyIds = snapshotpolicyids
|
9951
|
+
@Filters = filters
|
9952
|
+
@Offset = offset
|
9953
|
+
@Limit = limit
|
9954
|
+
end
|
9955
|
+
|
9956
|
+
def deserialize(params)
|
9957
|
+
@SnapshotPolicyIds = params['SnapshotPolicyIds']
|
9958
|
+
unless params['Filters'].nil?
|
9959
|
+
@Filters = []
|
9960
|
+
params['Filters'].each do |i|
|
9961
|
+
filter_tmp = Filter.new
|
9962
|
+
filter_tmp.deserialize(i)
|
9963
|
+
@Filters << filter_tmp
|
9964
|
+
end
|
9965
|
+
end
|
9966
|
+
@Offset = params['Offset']
|
9967
|
+
@Limit = params['Limit']
|
9968
|
+
end
|
9969
|
+
end
|
9970
|
+
|
9971
|
+
# DescribeSnapshotPolicies返回参数结构体
|
9972
|
+
class DescribeSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
9973
|
+
# @param SnapshotPolicySet: 快照策略。
|
9974
|
+
# @type SnapshotPolicySet: Array
|
9975
|
+
# @param TotalCount: 符合条件的对象数。
|
9976
|
+
# @type TotalCount: Integer
|
9977
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9978
|
+
# @type RequestId: String
|
9979
|
+
|
9980
|
+
attr_accessor :SnapshotPolicySet, :TotalCount, :RequestId
|
9981
|
+
|
9982
|
+
def initialize(snapshotpolicyset=nil, totalcount=nil, requestid=nil)
|
9983
|
+
@SnapshotPolicySet = snapshotpolicyset
|
9984
|
+
@TotalCount = totalcount
|
9985
|
+
@RequestId = requestid
|
9986
|
+
end
|
9987
|
+
|
9988
|
+
def deserialize(params)
|
9989
|
+
unless params['SnapshotPolicySet'].nil?
|
9990
|
+
@SnapshotPolicySet = []
|
9991
|
+
params['SnapshotPolicySet'].each do |i|
|
9992
|
+
snapshotpolicy_tmp = SnapshotPolicy.new
|
9993
|
+
snapshotpolicy_tmp.deserialize(i)
|
9994
|
+
@SnapshotPolicySet << snapshotpolicy_tmp
|
9995
|
+
end
|
9996
|
+
end
|
9997
|
+
@TotalCount = params['TotalCount']
|
9998
|
+
@RequestId = params['RequestId']
|
9999
|
+
end
|
10000
|
+
end
|
10001
|
+
|
9536
10002
|
# DescribeSubnets请求参数结构体
|
9537
10003
|
class DescribeSubnetsRequest < TencentCloud::Common::AbstractModel
|
9538
10004
|
# @param SubnetIds: 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。
|
@@ -10920,6 +11386,49 @@ module TencentCloud
|
|
10920
11386
|
end
|
10921
11387
|
end
|
10922
11388
|
|
11389
|
+
# DetachSnapshotInstances请求参数结构体
|
11390
|
+
class DetachSnapshotInstancesRequest < TencentCloud::Common::AbstractModel
|
11391
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
11392
|
+
# @type SnapshotPolicyId: String
|
11393
|
+
# @param Instances: 实例信息。
|
11394
|
+
# @type Instances: Array
|
11395
|
+
|
11396
|
+
attr_accessor :SnapshotPolicyId, :Instances
|
11397
|
+
|
11398
|
+
def initialize(snapshotpolicyid=nil, instances=nil)
|
11399
|
+
@SnapshotPolicyId = snapshotpolicyid
|
11400
|
+
@Instances = instances
|
11401
|
+
end
|
11402
|
+
|
11403
|
+
def deserialize(params)
|
11404
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
11405
|
+
unless params['Instances'].nil?
|
11406
|
+
@Instances = []
|
11407
|
+
params['Instances'].each do |i|
|
11408
|
+
snapshotinstance_tmp = SnapshotInstance.new
|
11409
|
+
snapshotinstance_tmp.deserialize(i)
|
11410
|
+
@Instances << snapshotinstance_tmp
|
11411
|
+
end
|
11412
|
+
end
|
11413
|
+
end
|
11414
|
+
end
|
11415
|
+
|
11416
|
+
# DetachSnapshotInstances返回参数结构体
|
11417
|
+
class DetachSnapshotInstancesResponse < TencentCloud::Common::AbstractModel
|
11418
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11419
|
+
# @type RequestId: String
|
11420
|
+
|
11421
|
+
attr_accessor :RequestId
|
11422
|
+
|
11423
|
+
def initialize(requestid=nil)
|
11424
|
+
@RequestId = requestid
|
11425
|
+
end
|
11426
|
+
|
11427
|
+
def deserialize(params)
|
11428
|
+
@RequestId = params['RequestId']
|
11429
|
+
end
|
11430
|
+
end
|
11431
|
+
|
10923
11432
|
# 描述 DhcpIp 信息
|
10924
11433
|
class DhcpIp < TencentCloud::Common::AbstractModel
|
10925
11434
|
# @param DhcpIpId: `DhcpIp`的`ID`,是`DhcpIp`的唯一标识。
|
@@ -11295,6 +11804,38 @@ module TencentCloud
|
|
11295
11804
|
end
|
11296
11805
|
end
|
11297
11806
|
|
11807
|
+
# DisableSnapshotPolicies请求参数结构体
|
11808
|
+
class DisableSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
11809
|
+
# @param SnapshotPolicyIds: 快照策略Id。
|
11810
|
+
# @type SnapshotPolicyIds: Array
|
11811
|
+
|
11812
|
+
attr_accessor :SnapshotPolicyIds
|
11813
|
+
|
11814
|
+
def initialize(snapshotpolicyids=nil)
|
11815
|
+
@SnapshotPolicyIds = snapshotpolicyids
|
11816
|
+
end
|
11817
|
+
|
11818
|
+
def deserialize(params)
|
11819
|
+
@SnapshotPolicyIds = params['SnapshotPolicyIds']
|
11820
|
+
end
|
11821
|
+
end
|
11822
|
+
|
11823
|
+
# DisableSnapshotPolicies返回参数结构体
|
11824
|
+
class DisableSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
11825
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11826
|
+
# @type RequestId: String
|
11827
|
+
|
11828
|
+
attr_accessor :RequestId
|
11829
|
+
|
11830
|
+
def initialize(requestid=nil)
|
11831
|
+
@RequestId = requestid
|
11832
|
+
end
|
11833
|
+
|
11834
|
+
def deserialize(params)
|
11835
|
+
@RequestId = params['RequestId']
|
11836
|
+
end
|
11837
|
+
end
|
11838
|
+
|
11298
11839
|
# DisableVpnGatewaySslClientCert请求参数结构体
|
11299
11840
|
class DisableVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
|
11300
11841
|
# @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
|
@@ -11840,6 +12381,38 @@ module TencentCloud
|
|
11840
12381
|
end
|
11841
12382
|
end
|
11842
12383
|
|
12384
|
+
# EnableSnapshotPolicies请求参数结构体
|
12385
|
+
class EnableSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
12386
|
+
# @param SnapshotPolicyIds: 快照策略Id。
|
12387
|
+
# @type SnapshotPolicyIds: Array
|
12388
|
+
|
12389
|
+
attr_accessor :SnapshotPolicyIds
|
12390
|
+
|
12391
|
+
def initialize(snapshotpolicyids=nil)
|
12392
|
+
@SnapshotPolicyIds = snapshotpolicyids
|
12393
|
+
end
|
12394
|
+
|
12395
|
+
def deserialize(params)
|
12396
|
+
@SnapshotPolicyIds = params['SnapshotPolicyIds']
|
12397
|
+
end
|
12398
|
+
end
|
12399
|
+
|
12400
|
+
# EnableSnapshotPolicies返回参数结构体
|
12401
|
+
class EnableSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
12402
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12403
|
+
# @type RequestId: String
|
12404
|
+
|
12405
|
+
attr_accessor :RequestId
|
12406
|
+
|
12407
|
+
def initialize(requestid=nil)
|
12408
|
+
@RequestId = requestid
|
12409
|
+
end
|
12410
|
+
|
12411
|
+
def deserialize(params)
|
12412
|
+
@RequestId = params['RequestId']
|
12413
|
+
end
|
12414
|
+
end
|
12415
|
+
|
11843
12416
|
# EnableVpcEndPointConnect请求参数结构体
|
11844
12417
|
class EnableVpcEndPointConnectRequest < TencentCloud::Common::AbstractModel
|
11845
12418
|
# @param EndPointServiceId: 终端节点服务ID。
|
@@ -14833,6 +15406,45 @@ module TencentCloud
|
|
14833
15406
|
end
|
14834
15407
|
end
|
14835
15408
|
|
15409
|
+
# ModifySnapshotPolicies请求参数结构体
|
15410
|
+
class ModifySnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
|
15411
|
+
# @param SnapshotPoliciesInfo: 快照策略修改信息。
|
15412
|
+
# @type SnapshotPoliciesInfo: Array
|
15413
|
+
|
15414
|
+
attr_accessor :SnapshotPoliciesInfo
|
15415
|
+
|
15416
|
+
def initialize(snapshotpoliciesinfo=nil)
|
15417
|
+
@SnapshotPoliciesInfo = snapshotpoliciesinfo
|
15418
|
+
end
|
15419
|
+
|
15420
|
+
def deserialize(params)
|
15421
|
+
unless params['SnapshotPoliciesInfo'].nil?
|
15422
|
+
@SnapshotPoliciesInfo = []
|
15423
|
+
params['SnapshotPoliciesInfo'].each do |i|
|
15424
|
+
batchmodifysnapshotpolicy_tmp = BatchModifySnapshotPolicy.new
|
15425
|
+
batchmodifysnapshotpolicy_tmp.deserialize(i)
|
15426
|
+
@SnapshotPoliciesInfo << batchmodifysnapshotpolicy_tmp
|
15427
|
+
end
|
15428
|
+
end
|
15429
|
+
end
|
15430
|
+
end
|
15431
|
+
|
15432
|
+
# ModifySnapshotPolicies返回参数结构体
|
15433
|
+
class ModifySnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
|
15434
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15435
|
+
# @type RequestId: String
|
15436
|
+
|
15437
|
+
attr_accessor :RequestId
|
15438
|
+
|
15439
|
+
def initialize(requestid=nil)
|
15440
|
+
@RequestId = requestid
|
15441
|
+
end
|
15442
|
+
|
15443
|
+
def deserialize(params)
|
15444
|
+
@RequestId = params['RequestId']
|
15445
|
+
end
|
15446
|
+
end
|
15447
|
+
|
14836
15448
|
# ModifySubnetAttribute请求参数结构体
|
14837
15449
|
class ModifySubnetAttributeRequest < TencentCloud::Common::AbstractModel
|
14838
15450
|
# @param SubnetId: 子网实例ID。形如:subnet-pxir56ns。
|
@@ -17211,9 +17823,49 @@ module TencentCloud
|
|
17211
17823
|
end
|
17212
17824
|
end
|
17213
17825
|
|
17826
|
+
# ResumeSnapshotInstance请求参数结构体
|
17827
|
+
class ResumeSnapshotInstanceRequest < TencentCloud::Common::AbstractModel
|
17828
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
17829
|
+
# @type SnapshotPolicyId: String
|
17830
|
+
# @param SnapshotFileId: 快照文件Id。
|
17831
|
+
# @type SnapshotFileId: String
|
17832
|
+
# @param InstanceId: 实例Id。
|
17833
|
+
# @type InstanceId: String
|
17834
|
+
|
17835
|
+
attr_accessor :SnapshotPolicyId, :SnapshotFileId, :InstanceId
|
17836
|
+
|
17837
|
+
def initialize(snapshotpolicyid=nil, snapshotfileid=nil, instanceid=nil)
|
17838
|
+
@SnapshotPolicyId = snapshotpolicyid
|
17839
|
+
@SnapshotFileId = snapshotfileid
|
17840
|
+
@InstanceId = instanceid
|
17841
|
+
end
|
17842
|
+
|
17843
|
+
def deserialize(params)
|
17844
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
17845
|
+
@SnapshotFileId = params['SnapshotFileId']
|
17846
|
+
@InstanceId = params['InstanceId']
|
17847
|
+
end
|
17848
|
+
end
|
17849
|
+
|
17850
|
+
# ResumeSnapshotInstance返回参数结构体
|
17851
|
+
class ResumeSnapshotInstanceResponse < TencentCloud::Common::AbstractModel
|
17852
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17853
|
+
# @type RequestId: String
|
17854
|
+
|
17855
|
+
attr_accessor :RequestId
|
17856
|
+
|
17857
|
+
def initialize(requestid=nil)
|
17858
|
+
@RequestId = requestid
|
17859
|
+
end
|
17860
|
+
|
17861
|
+
def deserialize(params)
|
17862
|
+
@RequestId = params['RequestId']
|
17863
|
+
end
|
17864
|
+
end
|
17865
|
+
|
17214
17866
|
# ReturnNormalAddresses请求参数结构体
|
17215
17867
|
class ReturnNormalAddressesRequest < TencentCloud::Common::AbstractModel
|
17216
|
-
# @param AddressIps:
|
17868
|
+
# @param AddressIps: EIP 的 IP 地址,示例:101.35.139.183
|
17217
17869
|
# @type AddressIps: Array
|
17218
17870
|
|
17219
17871
|
attr_accessor :AddressIps
|
@@ -17909,6 +18561,132 @@ module TencentCloud
|
|
17909
18561
|
end
|
17910
18562
|
end
|
17911
18563
|
|
18564
|
+
# 快照文件信息
|
18565
|
+
class SnapshotFileInfo < TencentCloud::Common::AbstractModel
|
18566
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
18567
|
+
# @type SnapshotPolicyId: String
|
18568
|
+
# @param InstanceId: 实例Id。
|
18569
|
+
# @type InstanceId: String
|
18570
|
+
# @param SnapshotFileId: 快照文件Id。
|
18571
|
+
# @type SnapshotFileId: String
|
18572
|
+
# @param BackupTime: 备份时间。
|
18573
|
+
# @type BackupTime: String
|
18574
|
+
# @param Operator: 操作者Uin。
|
18575
|
+
# @type Operator: String
|
18576
|
+
|
18577
|
+
attr_accessor :SnapshotPolicyId, :InstanceId, :SnapshotFileId, :BackupTime, :Operator
|
18578
|
+
|
18579
|
+
def initialize(snapshotpolicyid=nil, instanceid=nil, snapshotfileid=nil, backuptime=nil, operator=nil)
|
18580
|
+
@SnapshotPolicyId = snapshotpolicyid
|
18581
|
+
@InstanceId = instanceid
|
18582
|
+
@SnapshotFileId = snapshotfileid
|
18583
|
+
@BackupTime = backuptime
|
18584
|
+
@Operator = operator
|
18585
|
+
end
|
18586
|
+
|
18587
|
+
def deserialize(params)
|
18588
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
18589
|
+
@InstanceId = params['InstanceId']
|
18590
|
+
@SnapshotFileId = params['SnapshotFileId']
|
18591
|
+
@BackupTime = params['BackupTime']
|
18592
|
+
@Operator = params['Operator']
|
18593
|
+
end
|
18594
|
+
end
|
18595
|
+
|
18596
|
+
# 快照策略关联实例信息
|
18597
|
+
class SnapshotInstance < TencentCloud::Common::AbstractModel
|
18598
|
+
# @param InstanceId: 实例Id。
|
18599
|
+
# @type InstanceId: String
|
18600
|
+
# @param InstanceType: 实例类型,目前支持安全组:securitygroup。
|
18601
|
+
# @type InstanceType: String
|
18602
|
+
# @param InstanceRegion: 实例所在地域。
|
18603
|
+
# @type InstanceRegion: String
|
18604
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
18605
|
+
# @type SnapshotPolicyId: String
|
18606
|
+
# @param InstanceName: 实例名称。
|
18607
|
+
# @type InstanceName: String
|
18608
|
+
|
18609
|
+
attr_accessor :InstanceId, :InstanceType, :InstanceRegion, :SnapshotPolicyId, :InstanceName
|
18610
|
+
|
18611
|
+
def initialize(instanceid=nil, instancetype=nil, instanceregion=nil, snapshotpolicyid=nil, instancename=nil)
|
18612
|
+
@InstanceId = instanceid
|
18613
|
+
@InstanceType = instancetype
|
18614
|
+
@InstanceRegion = instanceregion
|
18615
|
+
@SnapshotPolicyId = snapshotpolicyid
|
18616
|
+
@InstanceName = instancename
|
18617
|
+
end
|
18618
|
+
|
18619
|
+
def deserialize(params)
|
18620
|
+
@InstanceId = params['InstanceId']
|
18621
|
+
@InstanceType = params['InstanceType']
|
18622
|
+
@InstanceRegion = params['InstanceRegion']
|
18623
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
18624
|
+
@InstanceName = params['InstanceName']
|
18625
|
+
end
|
18626
|
+
end
|
18627
|
+
|
18628
|
+
# 快照策略
|
18629
|
+
class SnapshotPolicy < TencentCloud::Common::AbstractModel
|
18630
|
+
# @param SnapshotPolicyName: 快照策略名称。
|
18631
|
+
# @type SnapshotPolicyName: String
|
18632
|
+
# @param BackupType: 备份策略类型,operate-操作备份,time-定时备份。
|
18633
|
+
# @type BackupType: String
|
18634
|
+
# @param KeepTime: 保留时间,支持1~365天。
|
18635
|
+
# @type KeepTime: Integer
|
18636
|
+
# @param CreateNewCos: 是否创建新的cos桶,默认为False。
|
18637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18638
|
+
# @type CreateNewCos: Boolean
|
18639
|
+
# @param CosRegion: cos桶所在地域。
|
18640
|
+
# @type CosRegion: String
|
18641
|
+
# @param CosBucket: cos桶。
|
18642
|
+
# @type CosBucket: String
|
18643
|
+
# @param SnapshotPolicyId: 快照策略Id。
|
18644
|
+
# @type SnapshotPolicyId: String
|
18645
|
+
# @param BackupPolicies: 时间备份策略。
|
18646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18647
|
+
# @type BackupPolicies: Array
|
18648
|
+
# @param Enable: 启用状态,True-启用,False-停用,默认为True。
|
18649
|
+
# @type Enable: Boolean
|
18650
|
+
# @param CreateTime: 创建时间。
|
18651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18652
|
+
# @type CreateTime: String
|
18653
|
+
|
18654
|
+
attr_accessor :SnapshotPolicyName, :BackupType, :KeepTime, :CreateNewCos, :CosRegion, :CosBucket, :SnapshotPolicyId, :BackupPolicies, :Enable, :CreateTime
|
18655
|
+
|
18656
|
+
def initialize(snapshotpolicyname=nil, backuptype=nil, keeptime=nil, createnewcos=nil, cosregion=nil, cosbucket=nil, snapshotpolicyid=nil, backuppolicies=nil, enable=nil, createtime=nil)
|
18657
|
+
@SnapshotPolicyName = snapshotpolicyname
|
18658
|
+
@BackupType = backuptype
|
18659
|
+
@KeepTime = keeptime
|
18660
|
+
@CreateNewCos = createnewcos
|
18661
|
+
@CosRegion = cosregion
|
18662
|
+
@CosBucket = cosbucket
|
18663
|
+
@SnapshotPolicyId = snapshotpolicyid
|
18664
|
+
@BackupPolicies = backuppolicies
|
18665
|
+
@Enable = enable
|
18666
|
+
@CreateTime = createtime
|
18667
|
+
end
|
18668
|
+
|
18669
|
+
def deserialize(params)
|
18670
|
+
@SnapshotPolicyName = params['SnapshotPolicyName']
|
18671
|
+
@BackupType = params['BackupType']
|
18672
|
+
@KeepTime = params['KeepTime']
|
18673
|
+
@CreateNewCos = params['CreateNewCos']
|
18674
|
+
@CosRegion = params['CosRegion']
|
18675
|
+
@CosBucket = params['CosBucket']
|
18676
|
+
@SnapshotPolicyId = params['SnapshotPolicyId']
|
18677
|
+
unless params['BackupPolicies'].nil?
|
18678
|
+
@BackupPolicies = []
|
18679
|
+
params['BackupPolicies'].each do |i|
|
18680
|
+
backuppolicy_tmp = BackupPolicy.new
|
18681
|
+
backuppolicy_tmp.deserialize(i)
|
18682
|
+
@BackupPolicies << backuppolicy_tmp
|
18683
|
+
end
|
18684
|
+
end
|
18685
|
+
@Enable = params['Enable']
|
18686
|
+
@CreateTime = params['CreateTime']
|
18687
|
+
end
|
18688
|
+
end
|
18689
|
+
|
17912
18690
|
# NAT的SNAT规则
|
17913
18691
|
class SourceIpTranslationNatRule < TencentCloud::Common::AbstractModel
|
17914
18692
|
# @param ResourceId: 资源ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.487
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|