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

142 lines
5.3 KiB
C#
Raw 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.Mariadb.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDBInstancesRequest : AbstractModel
{
/// <summary>
/// 按照一个或者多个实例 ID 查询。实例 ID 形如tdsql-ow728lmc。每次请求的实例的上限为100。
/// </summary>
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
/// <summary>
/// 搜索的字段名当前支持的值有instancename、vip、all。传 instancename 表示按实例名进行搜索;传 vip 表示按内网IP进行搜索传 all 将会按实例ID、实例名和内网IP进行搜索。
/// </summary>
[JsonProperty("SearchName")]
public string SearchName{ get; set; }
/// <summary>
/// 搜索的关键字,支持模糊搜索。多个关键字使用换行符('\n')分割。
/// </summary>
[JsonProperty("SearchKey")]
public string SearchKey{ get; set; }
/// <summary>
/// 按项目 ID 查询
/// </summary>
[JsonProperty("ProjectIds")]
public long?[] ProjectIds{ get; set; }
/// <summary>
/// 是否根据 VPC 网络来搜索
/// </summary>
[JsonProperty("IsFilterVpc")]
public bool? IsFilterVpc{ get; set; }
/// <summary>
/// 私有网络 ID IsFilterVpc 为 1 时有效
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 私有网络的子网 ID IsFilterVpc 为 1 时有效
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 排序字段, projectId createtime instancename 三者之一
/// </summary>
[JsonProperty("OrderBy")]
public string OrderBy{ get; set; }
/// <summary>
/// 排序类型, desc 或者 asc
/// </summary>
[JsonProperty("OrderByType")]
public string OrderByType{ get; set; }
/// <summary>
/// 偏移量,默认为 0
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回数量,默认为 20最大值为 100。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 按 OriginSerialId 查询
/// </summary>
[JsonProperty("OriginSerialIds")]
public string[] OriginSerialIds{ get; set; }
/// <summary>
/// 标识是否使用ExclusterType字段, false不使用true使用
/// </summary>
[JsonProperty("IsFilterExcluster")]
public bool? IsFilterExcluster{ get; set; }
/// <summary>
/// 实例所属独享集群类型。取值范围1-非独享集群2-独享集群, 0-全部
/// </summary>
[JsonProperty("ExclusterType")]
public long? ExclusterType{ get; set; }
/// <summary>
/// 按独享集群ID过滤实例独享集群ID形如dbdc-4ih6uct9
/// </summary>
[JsonProperty("ExclusterIds")]
public string[] ExclusterIds{ 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 + "InstanceIds.", this.InstanceIds);
this.SetParamSimple(map, prefix + "SearchName", this.SearchName);
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
this.SetParamArraySimple(map, prefix + "ProjectIds.", this.ProjectIds);
this.SetParamSimple(map, prefix + "IsFilterVpc", this.IsFilterVpc);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
this.SetParamSimple(map, prefix + "OrderByType", this.OrderByType);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamArraySimple(map, prefix + "OriginSerialIds.", this.OriginSerialIds);
this.SetParamSimple(map, prefix + "IsFilterExcluster", this.IsFilterExcluster);
this.SetParamSimple(map, prefix + "ExclusterType", this.ExclusterType);
this.SetParamArraySimple(map, prefix + "ExclusterIds.", this.ExclusterIds);
}
}
}