Files
g.hnyhua.cn/TencentCloud/Cbs/V20170312/Models/DescribeAutoSnapshotPoliciesRequest.cs
2026-02-07 15:48:27 +08:00

79 lines
3.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cbs.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAutoSnapshotPoliciesRequest : AbstractModel
{
/// <summary>
/// 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
/// </summary>
[JsonProperty("AutoSnapshotPolicyIds")]
public string[] AutoSnapshotPolicyIds{ get; set; }
/// <summary>
/// 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。<br><li>auto-snapshot-policy-id - Array of String - 是否必填:否 -过滤条件按定期快照策略ID进行过滤。定期快照策略ID形如`asp-11112222`。<br><li>auto-snapshot-policy-state - Array of String - 是否必填:否 -过滤条件按定期快照策略的状态进行过滤。定期快照策略ID形如`asp-11112222`。(NORMAL正常 | ISOLATED已隔离。)<br><li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 返回数量默认为20最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 输出定期快照列表的排列顺序。取值范围:<br><li>ASC升序排列<br><li>DESC降序排列。
/// </summary>
[JsonProperty("Order")]
public string Order{ get; set; }
/// <summary>
/// 定期快照列表排序的依据字段。取值范围:<br><li>CREATETIME依据定期快照的创建时间排序<br>默认按创建时间排序。
/// </summary>
[JsonProperty("OrderField")]
public string OrderField{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "AutoSnapshotPolicyIds.", this.AutoSnapshotPolicyIds);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Order", this.Order);
this.SetParamSimple(map, prefix + "OrderField", this.OrderField);
}
}
}