Files
g.hnyhua.cn/TencentCloud/Emr/V20190103/Models/DescribeClusterNodesRequest.cs

75 lines
2.8 KiB
C#
Raw 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.Emr.V20190103.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeClusterNodesRequest : AbstractModel
{
/// <summary>
/// 集群实例ID,实例ID形如: emr-xxxxxxxx
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 节点标识,取值为:
/// <li>all表示获取全部类型节点cdb信息除外。</li>
/// <li>master表示获取master节点信息。</li>
/// <li>core表示获取core节点信息。</li>
/// <li>task表示获取task节点信息。</li>
/// <li>common表示获取common节点信息。</li>
/// <li>router表示获取router节点信息。</li>
/// <li>db表示获取正常状态的cdb信息。</li>
/// <li>recyle表示获取回收站隔离中的节点信息包括cdb信息。</li>
/// <li>renew表示获取所有待续费的节点信息包括cdb信息自动续费节点不会返回。</li>
/// 注意:现在只支持以上取值,输入其他值会导致错误。
/// </summary>
[JsonProperty("NodeFlag")]
public string NodeFlag{ get; set; }
/// <summary>
/// 页编号默认值为0表示第一页。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 每页返回数量默认值为100最大值为100。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ 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 + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "NodeFlag", this.NodeFlag);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}