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.Cfs.V20190719.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class CreateCfsFileSystemRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 可用区名称,例如ap-beijing-1,请参考 [概览](https://cloud.tencent.com/document/product/582/13225) 文档中的地域与可用区列表
|
||
/// </summary>
|
||
[JsonProperty("Zone")]
|
||
public string Zone{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 网络类型,值为 VPC,BASIC;其中 VPC 为私有网络,BASIC 为基础网络
|
||
/// </summary>
|
||
[JsonProperty("NetInterface")]
|
||
public string NetInterface{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 权限组 ID
|
||
/// </summary>
|
||
[JsonProperty("PGroupId")]
|
||
public string PGroupId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 文件系统协议类型, 值为 NFS、CIFS; 若留空则默认为 NFS协议
|
||
/// </summary>
|
||
[JsonProperty("Protocol")]
|
||
public string Protocol{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 文件系统存储类型,值为 SD ;其中 SD 为标准型存储, HP为性能存储。
|
||
/// </summary>
|
||
[JsonProperty("StorageType")]
|
||
public string StorageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。
|
||
/// </summary>
|
||
[JsonProperty("VpcId")]
|
||
public string VpcId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 子网 ID,若网络类型选择的是VPC,该字段为必填。
|
||
/// </summary>
|
||
[JsonProperty("SubnetId")]
|
||
public string SubnetId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP
|
||
/// </summary>
|
||
[JsonProperty("MountIP")]
|
||
public string MountIP{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户自定义文件系统名称
|
||
/// </summary>
|
||
[JsonProperty("FsName")]
|
||
public string FsName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 文件系统标签
|
||
/// </summary>
|
||
[JsonProperty("ResourceTags")]
|
||
public TagInfo[] ResourceTags{ 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 + "Zone", this.Zone);
|
||
this.SetParamSimple(map, prefix + "NetInterface", this.NetInterface);
|
||
this.SetParamSimple(map, prefix + "PGroupId", this.PGroupId);
|
||
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
|
||
this.SetParamSimple(map, prefix + "StorageType", this.StorageType);
|
||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||
this.SetParamSimple(map, prefix + "MountIP", this.MountIP);
|
||
this.SetParamSimple(map, prefix + "FsName", this.FsName);
|
||
this.SetParamArrayObj(map, prefix + "ResourceTags.", this.ResourceTags);
|
||
}
|
||
}
|
||
}
|
||
|