Class: TencentCloud::Cbs::V20170312::DescribeAutoSnapshotPoliciesRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

DescribeAutoSnapshotPolicies请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autosnapshotpolicyids = nil, filters = nil, limit = nil, offset = nil, order = nil, orderfield = nil) ⇒ 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

#AutoSnapshotPolicyIdsObject

<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

#FiltersObject

<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

#LimitObject

<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

#OffsetObject

<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

#OrderObject

<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

#OrderFieldObject

<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