/*
* 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
{
///
/// 实例ID组成的数组,数组下标从0开始
///
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
///
/// 实例名称组成的数组,数组下标从0开始
///
[JsonProperty("InstanceNames")]
public string[] InstanceNames{ get; set; }
///
/// 实例列表的大小,参数默认值100
///
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
///
/// 偏移量,取Limit整数倍
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 枚举范围: AddTimeStamp, InstanceName, ProjectId
///
[JsonProperty("OrderBy")]
public string OrderBy{ get; set; }
///
/// 0倒序,1正序,默认倒序
///
[JsonProperty("OrderType")]
public long? OrderType{ get; set; }
///
/// 项目ID组成的数组,数组下标从0开始
///
[JsonProperty("ProjectIds")]
public long?[] ProjectIds{ get; set; }
///
/// 搜索关键词:支持实例ID、实例名称、完整IP
///
[JsonProperty("SearchKeys")]
public string[] SearchKeys{ get; set; }
///
/// 子网ID数组,数组下标从0开始,如:subnet-fdj24n34j2
///
[JsonProperty("UniqSubnetIds")]
public string[] UniqSubnetIds{ get; set; }
///
/// 私有网络ID数组,数组下标从0开始,如果不传则默认选择基础网络,如:vpc-sad23jfdfk
///
[JsonProperty("UniqVpcIds")]
public string[] UniqVpcIds{ get; set; }
///
/// 实例服务IP组成的数组,数组下标从0开始
///
[JsonProperty("Vips")]
public string[] Vips{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}