/*
* 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
{
///
/// 集群实例ID,实例ID形如: emr-xxxxxxxx
///
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
///
/// 节点标识,取值为:
/// all:表示获取全部类型节点,cdb信息除外。
/// master:表示获取master节点信息。
/// core:表示获取core节点信息。
/// task:表示获取task节点信息。
/// common:表示获取common节点信息。
/// router:表示获取router节点信息。
/// db:表示获取正常状态的cdb信息。
/// recyle:表示获取回收站隔离中的节点信息,包括cdb信息。
/// renew:表示获取所有待续费的节点信息,包括cdb信息,自动续费节点不会返回。
/// 注意:现在只支持以上取值,输入其他值会导致错误。
///
[JsonProperty("NodeFlag")]
public string NodeFlag{ get; set; }
///
/// 页编号,默认值为0,表示第一页。
///
[JsonProperty("Offset")]
public long? Offset{ get; set; }
///
/// 每页返回数量,默认值为100,最大值为100。
///
[JsonProperty("Limit")]
public long? Limit{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}