Files
g.hnyhua.cn/TencentCloud/Cvm/V20170312/Models/CreateDisasterRecoverGroupRequest.cs

58 lines
2.1 KiB
C#
Raw Permalink 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.Cvm.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDisasterRecoverGroupRequest : AbstractModel
{
/// <summary>
/// 分散置放群组名称长度1-60个字符支持中、英文。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 分散置放群组类型,取值范围:<br><li>HOST物理机<br><li>SW交换机<br><li>RACK机架
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 用于保证请求幂等性的字符串。该字符串由客户生成需保证不同请求之间唯一最大值不超过64个ASCII字符。若不指定该参数则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
/// </summary>
[JsonProperty("ClientToken")]
public string ClientToken{ 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 + "Name", this.Name);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "ClientToken", this.ClientToken);
}
}
}