DATASOURCE::NAS::FileSystems is used to query the information about file systems.
Syntax
{
"Type": "DATASOURCE::NAS::FileSystems",
"Properties": {
"FileSystemType": String,
"FileSystemId": String,
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
FileSystemType | String | No | Yes | The type of the file system. | Valid values:
|
FileSystemId | String | No | Yes | The ID of the file system. | None. |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values (Fn::GetAtt)
FileSystemIds: the IDs of the file systems.
FileSystems: details of the file systems.
Property | Type | Description | Constraint |
FileSystemIds | List | The IDs of the file systems. | None. |
FileSystems | List | Details of the file systems. | None. |
Status | String | The status of the file system. | Valid values:
|
MeteredIASize | String | The storage usage of the Infrequent Access (IA) storage class. | Unit: bytes. |
Capacity | String | The capacity of the file system. | Unit: GiB. |
CreateTime | String | The time when the file system was created. | Example: 2017-05-27T15:43:06CST. |
ChargeType | String | The billing method. | Valid values:
|
Tags | List | The tags of the file system. | None. |
StorageType | String | The storage type. |
|
MeteredSize | String | The maximum storage usage of the file system within the previous hour. |
Unit: bytes. |
Description | String | The description of the file system. | None. |
Bandwidth | String | The bandwidth of the file system. | Unit: MB/s. This property is returned if FileSystemType is set to all, extreme, or cpfs. |
SupportedFeatures | List | The features that are supported by the file system. | Valid values:
|
Version | String | The version of the file system. | This property is returned if FileSystemType is set to extreme. |
ProtocolType | String | The protocol type of the file system. | Valid values:
|
MountTargets | List | The information about the mount targets. | None. |
KMSKeyId | String | The ID of the key that is managed by Key Management Service (KMS). | None. |
FileSystemType | String | The type of the file system. | Valid values:
|
FileSystemId | String | The ID of the file system. | None. |
EncryptType | Number | The encryption type. | Valid values:
|
Ldap | List | The configurations of Lightweight Directory Access Protocol (LDAP). | This property is returned if FileSystemType is set to cpfs. |
ExpiredTime | String | The expiration time of the file system. | Example: 2017-08-27T15:43:06CST. |
ZoneId | String | The zone ID of the file system. | None. |
Packages | List | The information about the storage plans. | None. |
Examples
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"FileSystemId": {
"Type": "String"
}
},
"Resources": {
"FileSystems": {
"Type": "DATASOURCE::NAS::FileSystems",
"Properties": {
"FileSystemId": {
"Ref": "FileSystemId"
}
}
}
},
"Outputs": {
"FileSystems": {
"Description": "The list of file systems.",
"Value": {
"Fn::GetAtt": [
"FileSystems",
"FileSystems"
]
}
},
"FileSystemIds": {
"Description": "The list of file system IDs.",
"Value": {
"Fn::GetAtt": [
"FileSystems",
"FileSystemIds"
]
}
}
}
}
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
FileSystemId:
Type: String
Resources:
FileSystems:
Type: DATASOURCE::NAS::FileSystems
Properties:
FileSystemId:
Ref: FileSystemId
Outputs:
FileSystems:
Description: The list of file systems.
Value:
Fn::GetAtt:
- FileSystems
- FileSystems
FileSystemIds:
Description: The list of file system IDs.
Value:
Fn::GetAtt:
- FileSystems
- FileSystemIds