107 lines
3.8 KiB
C#
107 lines
3.8 KiB
C#
/*
|
|
* 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.Cdb.V20170320.Models
|
|
{
|
|
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
using TencentCloud.Common;
|
|
|
|
public class BackupSummaryItem : AbstractModel
|
|
{
|
|
|
|
/// <summary>
|
|
/// 实例ID。
|
|
/// </summary>
|
|
[JsonProperty("InstanceId")]
|
|
public string InstanceId{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例自动数据备份的个数。
|
|
/// </summary>
|
|
[JsonProperty("AutoBackupCount")]
|
|
public long? AutoBackupCount{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例自动数据备份的容量。
|
|
/// </summary>
|
|
[JsonProperty("AutoBackupVolume")]
|
|
public long? AutoBackupVolume{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例手动数据备份的个数。
|
|
/// </summary>
|
|
[JsonProperty("ManualBackupCount")]
|
|
public long? ManualBackupCount{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例手动数据备份的容量。
|
|
/// </summary>
|
|
[JsonProperty("ManualBackupVolume")]
|
|
public long? ManualBackupVolume{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例总的数据备份(包含自动备份和手动备份)个数。
|
|
/// </summary>
|
|
[JsonProperty("DataBackupCount")]
|
|
public long? DataBackupCount{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例总的数据备份容量。
|
|
/// </summary>
|
|
[JsonProperty("DataBackupVolume")]
|
|
public long? DataBackupVolume{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例日志备份的个数。
|
|
/// </summary>
|
|
[JsonProperty("BinlogBackupCount")]
|
|
public long? BinlogBackupCount{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例日志备份的容量。
|
|
/// </summary>
|
|
[JsonProperty("BinlogBackupVolume")]
|
|
public long? BinlogBackupVolume{ get; set; }
|
|
|
|
/// <summary>
|
|
/// 该实例的总备份(包含数据备份和日志备份)占用容量。
|
|
/// </summary>
|
|
[JsonProperty("BackupVolume")]
|
|
public long? BackupVolume{ 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 + "AutoBackupCount", this.AutoBackupCount);
|
|
this.SetParamSimple(map, prefix + "AutoBackupVolume", this.AutoBackupVolume);
|
|
this.SetParamSimple(map, prefix + "ManualBackupCount", this.ManualBackupCount);
|
|
this.SetParamSimple(map, prefix + "ManualBackupVolume", this.ManualBackupVolume);
|
|
this.SetParamSimple(map, prefix + "DataBackupCount", this.DataBackupCount);
|
|
this.SetParamSimple(map, prefix + "DataBackupVolume", this.DataBackupVolume);
|
|
this.SetParamSimple(map, prefix + "BinlogBackupCount", this.BinlogBackupCount);
|
|
this.SetParamSimple(map, prefix + "BinlogBackupVolume", this.BinlogBackupVolume);
|
|
this.SetParamSimple(map, prefix + "BackupVolume", this.BackupVolume);
|
|
}
|
|
}
|
|
}
|
|
|