Class: TencentCloud::Cbs::V20170312::DescribeAutoSnapshotPoliciesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::DescribeAutoSnapshotPoliciesRequest
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeAutoSnapshotPolicies请求参数结构体
Instance Attribute Summary collapse
-
#AutoSnapshotPolicyIds ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
-
#Filters ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
-
#Limit ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
-
#Offset ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
-
#Order ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
-
#OrderField ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autosnapshotpolicyids = nil, filters = nil, limit = nil, offset = nil, order = nil, orderfield = nil) ⇒ DescribeAutoSnapshotPoliciesRequest
constructor
A new instance of DescribeAutoSnapshotPoliciesRequest.
Constructor Details
#initialize(autosnapshotpolicyids = nil, filters = nil, limit = nil, offset = nil, order = nil, orderfield = nil) ⇒ DescribeAutoSnapshotPoliciesRequest
Returns a new instance of DescribeAutoSnapshotPoliciesRequest.
1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20170312/models.rb', line 1079 def initialize(autosnapshotpolicyids=nil, filters=nil, limit=nil, offset=nil, order=nil, orderfield=nil) @AutoSnapshotPolicyIds = autosnapshotpolicyids @Filters = filters @Limit = limit @Offset = offset @Order = order @OrderField = orderfield end |
Instance Attribute Details
#AutoSnapshotPolicyIds ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def AutoSnapshotPolicyIds @AutoSnapshotPolicyIds end |
#Filters ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def Filters @Filters end |
#Limit ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def Limit @Limit end |
#Offset ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def Offset @Offset end |
#Order ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def Order @Order end |
#OrderField ⇒ Object
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:‘asp-3stvwfxx`。</li> <li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li> <li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
1077 1078 1079 |
# File 'lib/v20170312/models.rb', line 1077 def OrderField @OrderField end |
Instance Method Details
#deserialize(params) ⇒ Object
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 |
# File 'lib/v20170312/models.rb', line 1088 def deserialize(params) @AutoSnapshotPolicyIds = params['AutoSnapshotPolicyIds'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Limit = params['Limit'] @Offset = params['Offset'] @Order = params['Order'] @OrderField = params['OrderField'] end |