Tüm Ürünler
Search
Belge Merkezi

:CreateAccessPoint

Son Güncelleme:Oct 02, 2026

Bir erişim noktası oluşturur.

Operation description

  • CreateAccessPoint işlemini çağırarak bir erişim noktası oluşturduğunuzda, bazı kaynaklar eşzamansız olarak oluşturulur. CreateAccessPoint işlemi başarılı olduktan sonra, erişim noktası durumunu sorgulamak için DescribeAccessPoints veya DescribeAccessPoint işlemini çağırın. Dosya sistemini yalnızca erişim noktası durumu Active olduktan sonra bağlayın. Aksi takdirde, bağlama işlemi başarısız olabilir.

  • Bu özelliği yalnızca NFS protokolünü kullanan Genel amaçlı NAS dosya sistemleri destekler.

  • RAM ilkesini (EnabledRam) etkinleştirirseniz, ilgili RAM izinlerini yapılandırın. Daha fazla bilgi için bkz. Erişim noktalarını yönetme.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

nas:CreateAccessPoint

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

FileSystemId

string

Yes

Dosya sistemi kimliği.

31a8e4****

AgenticSpaceId

string

No

AgenticSpace kimliği.

Not

Bu parametre Agentic dosya sistemleri için gereklidir.

agentic-229oypxjgpau2****

AccessGroup

string

No

İzin grubu adı.

Dosya sistemi Genel amaçlı bir NAS dosya sistemi ise bu parametre gereklidir.

Varsayılan izin grubu: DEFAULT_VPC_GROUP_NAME (VPC'ler için varsayılan izin grubu).

Not

Agentic dosya sistemleri için desteklenmez.

DEFAULT_VPC_GROUP_NAME

VswId

string

Yes

vSwitch kimliği.

vsw-2zevmwkwyztjuoffg****

VpcId

string

Yes

Sanal özel bulut (VPC) kimliği.

vpc-2zesj9afh3y518k9o****

AccessPointName

string

No

Erişim noktası adı.

test

RootDirectory

string

No

Erişim noktasının kök dizini. Varsayılan değer: "/". Erişim noktası dizini mevcut değilse, OwnerUserId ve OwnerGroupId parametrelerini de belirtmeniz gerekir.

Not

Agentic dosya sistemleri için desteklenmez.

/

EnabledRam

boolean

No

RAM ilkesinin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:

  • true: etkin.

  • false (varsayılan): etkin değil.

Not

Erişim noktası RAM ilkesini etkinleştirdikten sonra, varsayılan olarak tüm Kaynak Erişim Yönetimi (RAM) kullanıcılarının erişim noktası üzerinden veri bağlaması ve verilere erişmesi reddedilir. Yetkilendirme yoluyla ilgili erişim izinlerini vermeli ve dosya sistemini erişim noktası üzerinden bağlamalısınız. RAM ilkesini devre dışı bıraktıktan sonra, erişim noktası anonim bağlamaya izin verir. Erişim noktası izinlerinin nasıl yapılandırılacağı hakkında daha fazla bilgi için bkz. Erişim noktası ilkesi yapılandırma.

Not

Agentic dosya sistemleri için bu parametre true olarak ayarlanmalıdır.

false

OwnerUserId

integer

No

Sahip kullanıcı kimliği.

RootDirectory dizini mevcut değilse bu parametre gereklidir.

Not

Agentic dosya sistemleri için desteklenmez.

1

OwnerGroupId

integer

No

Sahip grup kimliği.

RootDirectory dizini mevcut değilse bu parametre gereklidir.

Not

Agentic dosya sistemleri için desteklenmez.

1

Permission

string

No

POSIX izni. Varsayılan değer: "0755". Sınır: Değer, 0 ile başlayan dört basamaklı bir sekizlik sayı olmalıdır.

Bu parametre, OwnerUserId ve OwnerGroupId parametrelerini belirttikten sonra etkili olur.

Not

Agentic dosya sistemleri için desteklenmez.

0755

PosixUserId

integer

No

POSIX kullanıcı kimliği.

Not

Agentic dosya sistemleri için desteklenmez.

123

PosixGroupId

integer

No

POSIX grup kimliği.

Not

Agentic dosya sistemleri için desteklenmez.

123

PosixSecondaryGroupIds

string

No

İkincil grup kimlikleri. Birden fazla grup kimliğini virgül (,) ile ayırın.

Not

Agentic dosya sistemleri için desteklenmez.

123,345

Tag

array<object>

No

Erişim noktası etiketlerinin listesi.

object

No

Erişim noktası etiketlerinin listesi.

Key

string

No

Etiket anahtarı. Sınırlar:

  • Etiket anahtarı boş veya boş bir dize olamaz.

  • Etiket anahtarı en fazla 128 karakter uzunluğunda olabilir.

  • Etiket anahtarı aliyun veya acs: ile başlayamaz.

  • Etiket anahtarı http:// veya https:// içeremez.

TestKey

Value

string

No

Etiket değeri. Sınırlar:

  • Etiket değeri boş veya boş bir dize olamaz.

  • Etiket değeri en fazla 128 karakter uzunluğunda olabilir.

  • Etiket değeri http:// veya https:// içeremez.

TestValue

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

98696EF0-1607-4E9D-B01D-F20930B6****

AccessPoint

object

Erişim noktası.

AccessPointDomain

string

Erişim noktası etki alanı adı.

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

AccessPointId

string

Erişim noktası kimliği.

ap-ie15yd****

Examples

Success response

JSON format

{
  "RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****\n",
  "AccessPoint": {
    "AccessPointDomain": "ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com",
    "AccessPointId": "ap-ie15yd****"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidRequest The request is invalid.
403 InvalidProtocolType.NotSupported The specified protocol type does not supported.
403 InvalidRamRole.NotExist The specified RAM role does not exist.
403 InvalidRamRole.NoPermission The specified RAM role does not have sufficient permission.
403 OperationDenied.AccessPointCountsExceeded The maxium number of access point has reached its limits.
404 InvalidAccessGroup.NotFound The specified AccessGroup does not exist.
404 InvalidFileSystem.NotFound The specified file system does not exist.
404 InvalidVpc.NotFound The specified Vpc is not found.
404 InvalidVswitch.NotFound The specified VSwitch does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.