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