查詢接入點詳情。
接口說明
僅通用型 NAS NFS 協議文件系統支持該功能。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
下表是API對應的授權信息,可以在RAM權限策略語句的Action
元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:
- 操作:是指具體的權限點。
- 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
- 資源類型:是指操作中支持授權的資源類型。具體說明如下:
- 對于必選的資源類型,用背景高亮的方式表示。
- 對于不支持資源級授權的操作,用
全部資源
表示。
- 條件關鍵字:是指云產品自身定義的條件關鍵字。
- 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作 | 訪問級別 | 資源類型 | 條件關鍵字 | 關聯操作 |
---|---|---|---|---|
nas:DescribeAccessPoint | get |
|
| 無 |
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
FileSystemId | string | 是 | 文件系統 ID。 | 31a8e4**** |
AccessPointId | string | 是 | 接入點 ID。 | ap-ie15yd**** |
返回參數
示例
正常返回示例
JSON
格式
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"AccessPoint": {
"ARN": "acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****",
"AccessGroup": "test\n",
"AccessPointId": "ap-ie15yd****\n",
"AccessPointName": "test",
"CreateTime": "1709619668276167",
"DomainName": "ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com",
"EnabledRam": false,
"FileSystemId": "31a8e4****",
"ModifyTime": "1709619668276167",
"RootPathPermission": {
"OwnerGroupId": 123,
"OwnerUserId": 1,
"Permission": "0755"
},
"PosixUser": {
"PosixGroupId": 12,
"PosixUserId": 123,
"PosixSecondaryGroupIds": [
0
]
},
"RootPath": "/",
"RootPathStatus": "2",
"Status": "Active",
"VSwitchId": "vsw-2zevmwkwyztjuoffg****",
"VpcId": "vpc-2zesj9afh3y518k9o****",
"RegionId": "cn-hangzhou"
}
}
錯誤碼
HTTP status code | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
404 | InvalidAccessPointId.NotFound | The access point id does not exist. | 指定的APid不存在。 |
404 | InvalidFileSystem.NotFound | The specified file system does not exist. | 指定的文件系統不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|
暫無變更歷史