Files
g.hnyhua.cn/TencentCloud/Memcached/V20190318/Models/DescribeInstancesRequest.cs
2026-02-07 15:48:27 +08:00

114 lines
4.0 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.Memcached.V20190318.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesRequest : AbstractModel
{
/// <summary>
/// 实例ID组成的数组数组下标从0开始
/// </summary>
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
/// <summary>
/// 实例名称组成的数组数组下标从0开始
/// </summary>
[JsonProperty("InstanceNames")]
public string[] InstanceNames{ get; set; }
/// <summary>
/// 实例列表的大小参数默认值100
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 枚举范围: AddTimeStamp, InstanceName, ProjectId
/// </summary>
[JsonProperty("OrderBy")]
public string OrderBy{ get; set; }
/// <summary>
/// 0倒序1正序默认倒序
/// </summary>
[JsonProperty("OrderType")]
public long? OrderType{ get; set; }
/// <summary>
/// 项目ID组成的数组数组下标从0开始
/// </summary>
[JsonProperty("ProjectIds")]
public long?[] ProjectIds{ get; set; }
/// <summary>
/// 搜索关键词支持实例ID、实例名称、完整IP
/// </summary>
[JsonProperty("SearchKeys")]
public string[] SearchKeys{ get; set; }
/// <summary>
/// 子网ID数组数组下标从0开始subnet-fdj24n34j2
/// </summary>
[JsonProperty("UniqSubnetIds")]
public string[] UniqSubnetIds{ get; set; }
/// <summary>
/// 私有网络ID数组数组下标从0开始如果不传则默认选择基础网络vpc-sad23jfdfk
/// </summary>
[JsonProperty("UniqVpcIds")]
public string[] UniqVpcIds{ get; set; }
/// <summary>
/// 实例服务IP组成的数组数组下标从0开始
/// </summary>
[JsonProperty("Vips")]
public string[] Vips{ 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.SetParamArraySimple(map, prefix + "InstanceNames.", this.InstanceNames);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
this.SetParamArraySimple(map, prefix + "ProjectIds.", this.ProjectIds);
this.SetParamArraySimple(map, prefix + "SearchKeys.", this.SearchKeys);
this.SetParamArraySimple(map, prefix + "UniqSubnetIds.", this.UniqSubnetIds);
this.SetParamArraySimple(map, prefix + "UniqVpcIds.", this.UniqVpcIds);
this.SetParamArraySimple(map, prefix + "Vips.", this.Vips);
}
}
}