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

93 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 DescribeDiskConfigQuotaRequest : AbstractModel
{
/// <summary>
/// 查询类别,取值范围。<br><li>INQUIRY_CBS_CONFIG查询云盘配置列表<br><li>INQUIRY_CVM_CONFIG查询云盘与实例搭配的配置列表。
/// </summary>
[JsonProperty("InquiryType")]
public string InquiryType{ get; set; }
/// <summary>
/// 查询一个或多个[可用区](/document/product/213/15753#ZoneInfo)下的配置。
/// </summary>
[JsonProperty("Zones")]
public string[] Zones{ get; set; }
/// <summary>
/// 付费模式。取值范围:<br><li>PREPAID预付费<br><li>POSTPAID_BY_HOUR后付费。
/// </summary>
[JsonProperty("DiskChargeType")]
public string DiskChargeType{ get; set; }
/// <summary>
/// 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC表示普通云硬盘<br><li>CLOUD_PREMIUM表示高性能云硬盘<br><li>CLOUD_SSD表示SSD云硬盘。
/// </summary>
[JsonProperty("DiskTypes")]
public string[] DiskTypes{ get; set; }
/// <summary>
/// 系统盘或数据盘。取值范围:<br><li>SYSTEM_DISK表示系统盘<br><li>DATA_DISK表示数据盘。
/// </summary>
[JsonProperty("DiskUsage")]
public string DiskUsage{ get; set; }
/// <summary>
/// 按照实例机型系列过滤。实例机型系列形如S1、I1、M1等。详见[实例类型](https://cloud.tencent.com/document/product/213/11518)
/// </summary>
[JsonProperty("InstanceFamilies")]
public string[] InstanceFamilies{ get; set; }
/// <summary>
/// 实例CPU核数。
/// </summary>
[JsonProperty("CPU")]
public ulong? CPU{ get; set; }
/// <summary>
/// 实例内存大小。
/// </summary>
[JsonProperty("Memory")]
public ulong? Memory{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InquiryType", this.InquiryType);
this.SetParamArraySimple(map, prefix + "Zones.", this.Zones);
this.SetParamSimple(map, prefix + "DiskChargeType", this.DiskChargeType);
this.SetParamArraySimple(map, prefix + "DiskTypes.", this.DiskTypes);
this.SetParamSimple(map, prefix + "DiskUsage", this.DiskUsage);
this.SetParamArraySimple(map, prefix + "InstanceFamilies.", this.InstanceFamilies);
this.SetParamSimple(map, prefix + "CPU", this.CPU);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
}
}
}