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