调用ListAvailableFileSystemTypes查询可用文件系统类型。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListAvailableFileSystemTypes

系统规定参数。取值:ListAvailableFileSystemTypes

返回数据

名称 类型 示例值 描述
FileSystemTypeList Array of FileSystemTypes

文件系统列表。

FileSystemTypes
Available Boolean true

文件系统类型是否可用。仅返回可用的类型,即该参数仅返回true。

FileSystemType String NAS

文件系统类型。目前仅支持NAS。

ProtocolType String NFS

文件系统的协议类型。可能值:

  • NFS
  • SMB
StorageTypes List ["Performance", "Capacity"]

存储类型列表。可能值:

  • Performance:性能型
  • Capacity:容量型
RequestId String D44A1477-CEB5-4F21-9A8E-18BE0F0094B5

请求ID。

示例

请求示例

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListAvailableFileSystemTypes
&<公共请求参数>

正常返回示例

XML格式

<ListAvailableFileSystemTypesResponse>
      <FileSystemTypeList>
            <FileSystemTypes>
                  <Available>true</Available>
                  <ProtocolType>NFS</ProtocolType>
                  <StorageTypes>
                        <StorageType>Performance</StorageType>
                        <StorageType>Capacity</StorageType>
                  </StorageTypes>
                  <FileSystemType>NAS</FileSystemType>
            </FileSystemTypes>
            <FileSystemTypes>
                  <Available>true</Available>
                  <ProtocolType>NFS</ProtocolType>
                  <StorageTypes>["Performance", "Capacity"]</StorageTypes>
                  <FileSystemType>NAS</FileSystemType>
            </FileSystemTypes>
      </FileSystemTypeList>
      <RequestId>D44A1477-CEB5-4F21-9A8E-18BE0F0094B5</RequestId>
</ListAvailableFileSystemTypesResponse>

JSON格式

{
    "FileSystemTypeList": {
      "FileSystemTypes": [
        {
          "Available": true,
          "ProtocolType": "NFS",
          "StorageTypes": {
            "StorageType": [
              "Performance",
              "Capacity"
            ]
          },
          "FileSystemType": "NAS"
        },
        {
          "Available": true,
          "ProtocolType": "NFS",
          "StorageTypes": {
            "StorageType": ["Performance", "Capacity"]
          },
          "FileSystemType": "NAS"
        }
      ]
    },
    "RequestId": "D44A1477-CEB5-4F21-9A8E-18BE0F0094B5"
  }

错误码

HttpCode 错误码 错误信息 描述
503 ServiceUnavailable The request has failed due to a temporary failure of the server 请求失败,服务暂时不可用

访问错误中心查看更多错误码。