DATASOURCE::NAS::FileSystems类型用于查询文件系统信息。
语法
{
  "Type": "DATASOURCE::NAS::FileSystems",
  "Properties": {
    "FileSystemType": String,
    "FileSystemId": String,
    "RefreshOptions": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| FileSystemType | String | 否 | 是 | 文件系统类型。 | 取值: 
 | 
| FileSystemId | String | 否 | 是 | 文件系统ID。 | 无 | 
| RefreshOptions | String | 否 | 是 | 当资源栈更新时,数据源资源的刷新策略。 | 有效值: 
 | 
返回数据(Fn::GetAtt)
- FileSystemIds:文件系统ID列表。 
- FileSystems:文件系统详情列表。 
| 属性名称 | 类型 | 描述 | 约束 | 
| FileSystemIds | List | 文件系统ID列表。 | 无 | 
| FileSystems | List | 文件系统详情列表。 | 无 | 
| Status | String | 文件系统的状态。 | 取值: 
 | 
| MeteredIASize | String | 低频介质存储用量。 | 单位:Byte。 | 
| Capacity | String | 文件系统的容量。 | 单位:GiB。 | 
| CreateTime | String | 文件系统的创建时间。 | 取值示例:2017-05-27T15:43:06CST。 | 
| ChargeType | String | 计费类型。 | 取值: 
 | 
| Tags | List | 文件系统的标签信息集合。 | 无 | 
| StorageType | String | 存储类型。 | 取值: 
 | 
| MeteredSize | String | 文件系统的使用量。 | 上一小时的最大使用量。 单位:Byte。 | 
| Description | String | 文件系统的描述信息。 | 无 | 
| Bandwidth | String | 文件系统的带宽。 | 单位:MB/s。 当FileSystemType取值为all、extreme或cpfs时,返回该参数。 | 
| SupportedFeatures | List | 文件系统支持的功能。 | 取值: 
 | 
| Version | String | 文件系统的版本号。 | 当FileSystemType取值为extreme时,返回该参数。 | 
| ProtocolType | String | 文件系统的协议类型。 | 取值: 
 | 
| MountTargets | List | 挂载点信息集合。 | 无 | 
| KMSKeyId | String | KMS密钥ID。 | 无 | 
| FileSystemType | String | 文件系统类型。 | 取值: 
 | 
| FileSystemId | String | 文件系统ID。 | 无 | 
| EncryptType | Number | 加密类型。 | 取值: 
 | 
| Ldap | List | LDAP配置信息集合。 | 当FileSystemType取值为cpfs时,返回该参数。 | 
| ExpiredTime | String | 文件系统的到期时间。 | 取值示例:2017-08-27T15:43:06CST。 | 
| ZoneId | String | 文件系统所在的可用区ID。 | 无 | 
| Packages | List | 存储包信息集合。 | 无 | 
示例
{
  "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