/*
* 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 PerformanceMonitorSet : AbstractModel
{
///
/// 更新操作数UPDATE
///
[JsonProperty("UpdateTotal")]
public MonitorData UpdateTotal{ get; set; }
///
/// 磁盘每秒IO次数
///
[JsonProperty("DiskIops")]
public MonitorData DiskIops{ get; set; }
///
/// 活跃连接数
///
[JsonProperty("ConnActive")]
public MonitorData ConnActive{ get; set; }
///
/// 缓存命中率
///
[JsonProperty("MemHitRate")]
public MonitorData MemHitRate{ get; set; }
///
/// 主备延迟
///
[JsonProperty("SlaveDelay")]
public MonitorData SlaveDelay{ get; set; }
///
/// 查询操作数SELECT
///
[JsonProperty("SelectTotal")]
public MonitorData SelectTotal{ get; set; }
///
/// 慢查询数
///
[JsonProperty("LongQuery")]
public MonitorData LongQuery{ get; set; }
///
/// 删除操作数DELETE
///
[JsonProperty("DeleteTotal")]
public MonitorData DeleteTotal{ get; set; }
///
/// 插入操作数INSERT
///
[JsonProperty("InsertTotal")]
public MonitorData InsertTotal{ get; set; }
///
/// 是否发生主备切换,1为发生,0否
///
[JsonProperty("IsMasterSwitched")]
public MonitorData IsMasterSwitched{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamObj(map, prefix + "UpdateTotal.", this.UpdateTotal);
this.SetParamObj(map, prefix + "DiskIops.", this.DiskIops);
this.SetParamObj(map, prefix + "ConnActive.", this.ConnActive);
this.SetParamObj(map, prefix + "MemHitRate.", this.MemHitRate);
this.SetParamObj(map, prefix + "SlaveDelay.", this.SlaveDelay);
this.SetParamObj(map, prefix + "SelectTotal.", this.SelectTotal);
this.SetParamObj(map, prefix + "LongQuery.", this.LongQuery);
this.SetParamObj(map, prefix + "DeleteTotal.", this.DeleteTotal);
this.SetParamObj(map, prefix + "InsertTotal.", this.InsertTotal);
this.SetParamObj(map, prefix + "IsMasterSwitched.", this.IsMasterSwitched);
}
}
}