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

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

Overview

DescribeAutoSnapshotPolicies请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • .
  • #Limit ⇒ Object
  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • .
  • #Offset ⇒ Object
  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • .
  • #Order ⇒ Object
  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • .
  • #OrderField ⇒ Object
  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(autosnapshotpolicyids = nil, filters = nil, limit = nil, offset = nil, order = nil, orderfield = nil) ⇒ DescribeAutoSnapshotPoliciesRequest

    Returns a new instance of DescribeAutoSnapshotPoliciesRequest.

    
    
    1124
    1125
    1126
    1127
    1128
    1129
    1130
    1131
    # File 'lib/v20170312/models.rb', line 1124
    
    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

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

    • AutoSnapshotPolicyIds:

      要查询的定期快照策略ID列表。参数不支持同时指定AutoSnapshotPolicyIdsFilters

    • Filters:

      过滤条件。参数不支持同时指定AutoSnapshotPolicyIdsFilters

    • Limit:

      返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。

    • Offset:

      偏移量,默认为0。关于Offset的更进一步介绍请参考API简介中的相关小节。

    • Order:

      输出定期快照列表的排列顺序。取值范围:

    • ASC:升序排列
    • DESC:降序排列。
  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def AutoSnapshotPolicyIds
      @AutoSnapshotPolicyIds
    end

    #FiltersObject

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def Filters
      @Filters
    end

    #LimitObject

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def Limit
      @Limit
    end

    #OffsetObject

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def Offset
      @Offset
    end

    #OrderObject

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def Order
      @Order
    end

    #OrderFieldObject

  • auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。
  • auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)
  • auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • Parameters:

  • OrderField:

    定期快照列表排序的依据字段。取值范围:

  • CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。
  • 
    
    1122
    1123
    1124
    # File 'lib/v20170312/models.rb', line 1122
    
    def OrderField
      @OrderField
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1133
    1134
    1135
    1136
    1137
    1138
    1139
    1140
    1141
    1142
    1143
    1144
    1145
    1146
    1147
    # File 'lib/v20170312/models.rb', line 1133
    
    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