Tüm Ürünler
Search
Belge Merkezi

:CreateBasicEndpoints

Son Güncelleme:Oct 14, 2026

Temel bir Global Accelerator (GA) örneği için uç noktaları toplu olarak oluşturmak üzere CreateBasicEndpoints işlemini çağırır.

Operation description

  • CreateBasicEndpoints işlemi eşzamansızdır. Sistem bir istek kimliği döndürür, ancak uç noktaları toplu olarak oluşturma işlemini henüz tamamlamamıştır. Toplu oluşturma görevi arka planda çalışmaya devam eder. Uç noktaların durumunu sorgulamak için ListBasicEndpoints işlemini çağırabilirsiniz: - Bir uç noktanın durumu init ise uç noktaları toplu olarak oluşturma görevi tamamlanmamıştır. Bu durumda yalnızca sorgulama işlemleri gerçekleştirebilirsiniz. - Tüm uç noktaların durumu active ise uç noktaları toplu olarak oluşturma işlemi tamamlanmıştır.

  • CreateBasicEndpoints işlemi, aynı temel Global Accelerator (GA) örneği için uç noktaları toplu olarak oluşturmaya yönelik eşzamanlı işlemleri desteklemez.

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

ga:CreateBasicEndpoints

create

*BasicEndpoint.

acs:ga:{#regionId}:{#accountId}:basicendpoint/*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

Global Accelerator örneğinin bölge kimliği. Değeri cn-hangzhou olarak ayarlayın.

cn-hangzhou

ClientToken

string

No

İsteğin idempotent olmasını sağlamak için kullanılan istemci belirteci.

Değeri oluşturmak için istemciyi kullanabilirsiniz, ancak değerin farklı istekler arasında benzersiz olduğundan emin olmalısınız. İstemci belirteci yalnızca ASCII karakterleri içerebilir.

Not

Bu parametreyi belirtmezseniz sistem, API isteğinin RequestId değerini otomatik olarak ClientToken olarak kullanır. Her API isteğinin RequestId değeri benzersizdir.

123e4567-e89b-12d3-a456-426655440000

AcceleratorId

string

Yes

Temel Global Accelerator (GA) örneğinin kimliği.

ga-bp17frjjh0udz4qz****

EndpointGroupId

string

Yes

Temel Global Accelerator (GA) örneğiyle ilişkili uç nokta grubunun kimliği.

epg-bp1dmlohjjz4kqaun****

Endpoints

array<object>

Yes

Temel Global Accelerator (GA) örneğinin uç noktaları.

object

No

Temel Global Accelerator (GA) örneğinin uç noktaları.

EndpointAddress

string

No

Uç noktanın adresi.

eni-bp1a05txelswuj8g****

EndpointSubAddress

string

No

Uç noktanın ikincil adresi.

Uç nokta türü ECS, ENI veya NLB olduğunda bu parametre gereklidir.

  • Uç nokta türü ECS ise EndpointSubAddress, birincil ağ arabirimi denetleyicisinin (NIC) ikincil özel IP'si olabilir. Bu parametre boş bırakılırsa birincil NIC'in birincil özel IP'si kullanılır.

  • Uç nokta türü ENI ise EndpointSubAddress, ikincil NIC'in ikincil özel IP'si olabilir. Bu parametre boş bırakılırsa ikincil NIC'in birincil özel IP'si kullanılır.

  • Uç nokta türü NLB ise bu parametre gereklidir. EndpointSubAddress, NLB arka uç sunucusunun birincil özel IP'sidir.

172.16.XX.XX

EndpointSubAddressType

string

No

Uç noktanın ikincil adresinin türü. Geçerli değerler:

  • primary: Uç noktanın ikincil adresi birincil bir özel IP adresidir.

  • secondary: Uç noktanın ikincil adresi ikincil bir özel IP adresidir.

Uç nokta türü ECS, ENI veya NLB olduğunda bu parametre gereklidir. Uç nokta türü NLB ise yalnızca primary desteklenir.

primary

EndpointType

string

No

Uç nokta türü. Geçerli değerler:

  • ENI: Alibaba Cloud elastik ağ arabirimi (ENI).

  • SLB: Classic Load Balancer (CLB) örneği.

  • ECS: Alibaba Cloud ECS örneği.

  • NLB: Network Load Balancer (NLB) örneği.

Not

Bu parametre gereklidir.

ENI

EndpointZoneId

string

No

Uç noktanın bölge kimliği.

Bu parametre yalnızca uç nokta türü NLB olduğunda gereklidir.

cn-hangzhou-g

Name

string

No

Temel Global Accelerator (GA) örneğiyle ilişkili uç noktanın adı.

Ad 1 ila 128 karakter uzunluğunda olmalı ve rakam, nokta (.), alt çizgi (_) ve tire (-) içerebilir. Bir harf veya Çince karakterle başlamalıdır.

ep01

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

EndpointGroupId

string

Temel Global Accelerator (GA) örneğiyle ilişkili uç nokta grubunun kimliği.

epg-bp1dmlohjjz4kqaun****

Endpoints

array<object>

Temel Global Accelerator (GA) örneğinin uç noktaları.

object

Temel Global Accelerator (GA) örneğinin uç noktaları.

EndpointAddress

string

Uç noktanın adresi.

eni-bp1a05txelswuj8g****

EndpointId

string

Temel Global Accelerator (GA) örneğiyle ilişkili uç noktanın kimliği.

ep-bp14sz7ftcwwjgrdm****

EndpointSubAddress

string

Uç noktanın ikincil adresi.

Bu parametre, uç nokta türü ECS, ENI veya NLB olduğunda döndürülür.

  • Uç nokta türü ECS ise EndpointSubAddress, birincil NIC'in ikincil özel IP'si veya birincil özel IP'sidir.

  • Uç nokta türü ENI ise EndpointSubAddress, ikincil NIC'in ikincil özel IP'si veya birincil özel IP'sidir.

  • Uç nokta türü NLB ise EndpointSubAddress, NLB arka uç sunucusunun birincil özel IP'sidir.

172.16.XX.XX

EndpointType

string

Uç nokta türü. Geçerli değerler:

  • ENI: Alibaba Cloud elastik ağ arabirimi (ENI).

  • SLB: Classic Load Balancer (CLB) örneği.

  • ECS: Alibaba Cloud ECS örneği.

  • NLB: Network Load Balancer (NLB) örneği.

ENI

RequestId

string

İstek kimliği.

04F0F334-1335-436C-A1D7-6C044FE73368

Examples

Success response

JSON format

{
  "EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
  "Endpoints": [
    {
      "EndpointAddress": "eni-bp1a05txelswuj8g****",
      "EndpointId": "ep-bp14sz7ftcwwjgrdm****",
      "EndpointSubAddress": "172.16.XX.XX",
      "EndpointType": "ENI"
    }
  ],
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HTTP status code

Error code

Error message

Description

400 NotExist.Accelerator The accelerated instance does not exist.
400 NotFound.ENIInstance The ENI instance is not found.
400 Invalidate.SlbAddressType The SLB instance must be internal-facing.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.