ALIYUN::DFS::FileSystem は、ファイルシステムを作成するために使用されます。
構文
{
"Type": "ALIYUN::DFS::FileSystem",
"Properties": {
"SpaceCapacity": Integer,
"Description": String,
"StorageType": String,
"ZoneId": String,
"PartitionNumber": Integer,
"ProtocolType": String,
"DataRedundancyType": String,
"FileSystemName": String,
"ProvisionedThroughputInMiBps": Integer,
"ThroughputMode": String,
"StorageSetName": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| SpaceCapacity | Integer | Yes | Yes | ファイルシステムの推定容量。 | なし。 |
| Description | String | No | Yes | ファイルシステムの説明。 | なし。 |
| StorageType | String | Yes | No | ストレージメディアのタイプ。 | 有効な値:
|
| ZoneId | String | Yes | No | ゾーンの ID。 | なし。 |
| PartitionNumber | Integer | No | No | このプロパティは予約済みです。 | なし。 |
| ProtocolType | String | Yes | No | プロトコルのタイプ。 | 値を HDFS に設定します。 |
| DataRedundancyType | String | No | No | ファイルシステムの冗長モード。 | デフォルト値:LRS。有効な値:
|
| FileSystemName | String | No | Yes | ファイルシステムの名前。 | 名前は次の要件を満たしている必要があります。
|
| ProvisionedThroughputInMiBps | Integer | No | Yes | プロビジョニングされたスループット。 | 単位:MB/秒。 有効な値:1 ~ 5120。 |
| ThroughputMode | String | No | Yes | スループットモード。 | デフォルト値:Standard。有効な値:
|
| StorageSetName | String | No | No | このプロパティは予約済みです。 | なし。 |
戻り値
Fn::GetAtt
FileSystemId: ファイルシステムの ID。
例
JSON形式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "SpaceCapacity": { "Type": "Number", "Description": "ファイルシステムの容量。\n実際のデータ量がファイルシステムの容量に達すると、データを書き込むことができません。\n単位:GB" //Capacity of the file system.\nWhen the actual data volume reaches the file system capacity, data cannot be written.\nUnit: GB }, "StorageType": { "Type": "String", "Description": "ストレージメディアのタイプ。\n値:\nSTANDARD(デフォルト):標準タイプ。\nPERFORMANCE:パフォーマンスタイプ。", //Type of storage media.\nValues:\nSTANDARD (default) : standard type.\nPERFORMANCE: performance type. "AllowedValues": [ "STANDARD", "PERFORMANCE" ], "Default": "STANDARD" }, "ZoneId": { "Type": "String", "Description": "ゾーン ID" //zone id }, "ProtocolType": { "Type": "String", "Description": "プロトコルタイプ。Hadoop 分散ファイルシステム (HDFS) のみがサポートされています。", //The protocol type. Only Hadoop Distributed File System (HDFS) is supported "AllowedValues": [ "HDFS" ] } }, "Resources": { "FileSystem": { "Type": "ALIYUN::DFS::FileSystem", "Properties": { "SpaceCapacity": { "Ref": "SpaceCapacity" }, "StorageType": { "Ref": "StorageType" }, "ZoneId": { "Ref": "ZoneId" }, "ProtocolType": { "Ref": "ProtocolType" } } } }, "Outputs": { "FileSystemId": { "Description": "ファイルシステムの ID。", //The ID of the file system. "Value": { "Fn::GetAtt": [ "FileSystem", "FileSystemId" ] } } } }