全部產品
Search
文件中心

File Storage NAS:DescribeAccessPoint - 查詢存取點詳情

更新時間:Apr 04, 2026

查詢存取點詳情。

介面說明

僅通用型 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****

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

AccessPoint

object

存取點資訊。

ARN

string

存取點 ARN。

acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****

AccessGroup

string

許可權組名稱。

test

AccessPointId

string

存取點 ID。

ap-ie15yd****

AccessPointName

string

存取點名稱。

test

CreateTime

string

存取點的建立時間。

1709619668276167

DomainName

string

存取點網域名稱。

ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com

EnabledRam

boolean

是否啟用 RAM 策略。

false

FileSystemId

string

檔案系統 ID。

31a8e4****

ModifyTime

string

存取點修改時間 。

1709619668276167

RootPathPermission

object

根目錄建立許可權。

OwnerGroupId

integer

屬主使用者組 ID。

123

OwnerUserId

integer

屬主使用者識別碼。

1

Permission

string

POSIX 許可權。

0755

PosixUser

object

Posix 使用者。

PosixGroupId

integer

Posix 使用者組 ID。

12

PosixUserId

integer

Posix 使用者識別碼。

123

PosixSecondaryGroupIds

array

第二使用者組 ID。

integer

第二使用者組 ID。

[123,123]

RootPath

string

根目錄。

/

RootPathStatus

string

當前根目錄狀態。

包括:

  • 0:rootpath 狀態未知

  • 1:rootpath 不存在(可能被使用者刪除了)

  • 2:rootpath 狀態正常

2

Status

string

當前存取點狀態。

包括:

  • Active:可用

  • Inactive:不可用

  • Pending:建立中

  • Deleting:刪除中

Active

VSwitchId

string

交換器 ID。

vsw-2zevmwkwyztjuoffg****

VpcId

string

專用網路 ID。

必須與待掛載的Elastic Compute Service 選擇相同的 VPC 網路。

vpc-2zesj9afh3y518k9o****

Tags

array<object>

存取點標籤列表。

object

存取點標籤列表。

Key

string

標籤鍵。

TestKey

Value

string

標籤值。

TestValue

RegionId

string

地區 ID。

cn-hangzhou

樣本

正常返回樣本

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****",
    "Tags": [
      {
        "Key": "TestKey",
        "Value": "TestValue"
      }
    ],
    "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. 指定的檔案系統不存在。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情