Files

105 lines
3.7 KiB
C#
Raw Permalink Normal View History

/*
* 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.Sqlserver.V20180328.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDBInstancesRequest : AbstractModel
{
/// <summary>
/// 项目ID
/// </summary>
[JsonProperty("ProjectId")]
public ulong? ProjectId{ get; set; }
/// <summary>
/// 实例状态。取值范围:
/// <li>1申请中</li>
/// <li>2运行中</li>
/// <li>3受限运行中 (主备切换中)</li>
/// <li>4已隔离</li>
/// <li>5回收中</li>
/// <li>6已回收</li>
/// <li>7任务执行中 (实例做备份、回档等操作)</li>
/// <li>8已下线</li>
/// <li>9实例扩容中</li>
/// <li>10实例迁移中</li>
/// <li>11只读</li>
/// <li>12重启中</li>
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 分页返回页编号默认值为第0页
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 分页返回每页返回的数目取值为1-100默认值为100
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 一个或者多个实例ID。实例ID格式如mssql-si2823jyl
/// </summary>
[JsonProperty("InstanceIdSet")]
public string[] InstanceIdSet{ get; set; }
/// <summary>
/// 付费类型检索 1-包年包月0-按量计费
/// </summary>
[JsonProperty("PayMode")]
public long? PayMode{ get; set; }
/// <summary>
/// 实例所属VPC的唯一字符串ID格式如vpc-xxx传空字符串(“”)则按照基础网络筛选。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 实例所属子网的唯一字符串ID格式如 subnet-xxx传空字符串(“”)则按照基础网络筛选。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ 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 + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArraySimple(map, prefix + "InstanceIdSet.", this.InstanceIdSet);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
}
}
}