public class CreateCfsFileSystemRequest extends AbstractModel
Constructor and Description |
---|
CreateCfsFileSystemRequest() |
CreateCfsFileSystemRequest(CreateCfsFileSystemRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCapacity()
Get File system capacity, in GiB (required for the Turbo series).
|
String |
getCcnId()
Get CCN instance ID (required if the network type is CCN)
|
String |
getCidrBlock()
Get CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN
|
String |
getClientToken()
Get A unique string supplied by the client to ensure that the request is idempotent.
|
String |
getFsName()
Get Custom file system name
|
String |
getMountIP()
Get IP address (this parameter supports only the VPC network type, and the Turbo series is not supported).
|
String |
getNetInterface()
Get Network type.
|
String |
getPGroupId()
Get Permission group ID (required for Standard and High-Performance).
|
String |
getProtocol()
Get File system protocol.
|
TagInfo[] |
getResourceTags()
Get File system tag
|
String |
getStorageType()
Get Storage class of the file system.
|
String |
getSubnetId()
Get Subnet ID.
|
String |
getVpcId()
Get VPC ID.
|
String |
getZone()
Get AZ name, such as "ap-beijing-1".
|
void |
setCapacity(Long Capacity)
Set File system capacity, in GiB (required for the Turbo series).
|
void |
setCcnId(String CcnId)
Set CCN instance ID (required if the network type is CCN)
|
void |
setCidrBlock(String CidrBlock)
Set CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN
|
void |
setClientToken(String ClientToken)
Set A unique string supplied by the client to ensure that the request is idempotent.
|
void |
setFsName(String FsName)
Set Custom file system name
|
void |
setMountIP(String MountIP)
Set IP address (this parameter supports only the VPC network type, and the Turbo series is not supported).
|
void |
setNetInterface(String NetInterface)
Set Network type.
|
void |
setPGroupId(String PGroupId)
Set Permission group ID (required for Standard and High-Performance).
|
void |
setProtocol(String Protocol)
Set File system protocol.
|
void |
setResourceTags(TagInfo[] ResourceTags)
Set File system tag
|
void |
setStorageType(String StorageType)
Set Storage class of the file system.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID.
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
void |
setZone(String Zone)
Set AZ name, such as "ap-beijing-1".
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateCfsFileSystemRequest()
public CreateCfsFileSystemRequest(CreateCfsFileSystemRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- AZ name, such as "ap-beijing-1". For the list of regions and AZs, please see [Overview](https://intl.cloud.tencent.com/document/product/582/13225?from_cn_redirect=1)public String getNetInterface()
public void setNetInterface(String NetInterface)
NetInterface
- Network type. Valid values: `VPC` (private network), `BASIC` (classic network), `CCN` (Cloud Connect Network). You must set this parameter to `CCN` if you use the Turbo series. Classic network will be phased out and is not recommended.public String getPGroupId()
public void setPGroupId(String PGroupId)
PGroupId
- Permission group ID (required for Standard and High-Performance). For the Turbo series, set it to `pgroupbasic`.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`.public String getStorageType()
public void setStorageType(String StorageType)
StorageType
- Storage class of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), `TP` (High-Performance Turbo)public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID. This field is required if network type is VPC.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID. This field is required if network type is VPC.public String getMountIP()
public void setMountIP(String MountIP)
MountIP
- IP address (this parameter supports only the VPC network type, and the Turbo series is not supported). If this parameter is left empty, a random IP in the subnet will be assigned.public String getFsName()
public void setFsName(String FsName)
FsName
- Custom file system namepublic TagInfo[] getResourceTags()
public void setResourceTags(TagInfo[] ResourceTags)
ResourceTags
- File system tagpublic String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. This string is valid for 2 hours.public String getCcnId()
public void setCcnId(String CcnId)
CcnId
- CCN instance ID (required if the network type is CCN)public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCNpublic Long getCapacity()
public void setCapacity(Long Capacity)
Capacity
- File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).Copyright © 2023. All rights reserved.