Tüm Ürünler
Search
Belge Merkezi

:ModifyBackupSourceEndpoint

Son Güncelleme:Sep 30, 2026

Bir DBS yedekleme kaynağı uç noktasını değiştirir.

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

dbs:ModifyBackupSourceEndpoint

update

*BackupPlan

acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}

None None

Request parameters

Parameter

Type

Required

Description

Example

BackupPlanId

string

Yes

Yedekleme planı kimliği. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

dbs1h****usfa

SourceEndpointInstanceType

string

Yes

Kaynak örneğin türü. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz. Geçerli değerler:

  • RDS: Bir RDS örneği

  • ECS: Bir ECS örneği üzerinde kendi yönetiminizdeki bir veritabanı

  • Express: Kiralık hat, VPN Gateway veya Smart Access Gateway üzerinden bağlanan bir veritabanı

  • Agent: Yedekleme ağ geçidi üzerinden bağlanan bir veritabanı

  • DDS: Bir ApsaraDB for MongoDB örneği

  • Other: Bir IP adresi ve bağlantı noktası üzerinden bağlanan bir veritabanı

RDS

SourceEndpointRegion

string

No

Veritabanı bölgesi. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Not

SourceEndpointInstanceType parametresi RDS, ECS, DDS, Express veya Agent olarak ayarlandığında bu parametre gereklidir.

cn-hangzhou

SourceEndpointInstanceID

string

No

Veritabanı örneği kimliği. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Not

SourceEndpointInstanceType parametresi RDS, ECS, DDS veya Express olarak ayarlandığında bu parametre gereklidir.

rm-bp1p8c29479jv****

SourceEndpointIP

string

No

Veritabanının IP adresi. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Not

SourceEndpointInstanceType parametresi Express, Agent veya Other olarak ayarlandığında bu parametre gereklidir.

100.*.*.10:3306

SourceEndpointPort

integer

No

Veritabanı bağlantı noktası. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Not

SourceEndpointInstanceType parametresi Express, Agent, Other veya ECS olarak ayarlandığında bu parametre gereklidir.

3306

SourceEndpointDatabaseName

string

No

Veritabanı adı.

  • Bu parametre PostgreSQL ve MongoDB veritabanları için gereklidir.

  • SourceEndpointInstanceType parametresi 'Agent' olarak ayarlandığında bu parametre Microsoft SQL Server veritabanları için de gereklidir.

test

SourceEndpointUserName

string

No

Veritabanı hesabının kullanıcı adı. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Bu parametre, Redis ve Microsoft SQL Server (SourceEndpointInstanceType parametresinin 'Agent' olarak ayarlandığı durumlar hariç) dışındaki tüm veritabanı motorları için gereklidir.

test

SourceEndpointPassword

string

No

Veritabanı hesabının parolası.

Bu parametre, Redis ve Microsoft SQL Server (SourceEndpointInstanceType parametresinin 'Agent' olarak ayarlandığı durumlar hariç) dışındaki tüm veritabanı motorları için gereklidir.

test

BackupGatewayId

integer

No

Yedekleme ağ geçidi kimliği. Bu değeri almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

Not

SourceEndpointInstanceType parametresi Agent olarak ayarlandığında bu parametre gereklidir.

21321323213

BackupObjects

string

No

Yedekleme nesneleri: Veritabanı bir agent üzerinde bulunuyorsa bu parametre isteğe bağlıdır, ancak diğer tüm senaryolar için gereklidir. Bu parametrenin değerini almak için DescribeBackupPlanList işlemini çağırabilirsiniz.

[{ "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{"TableName":"待备份库名不需要备份表的表名" }] } ]

SourceEndpointOracleSID

string

No

Oracle SID'si. Bu parametre Oracle veritabanları için gereklidir.

test

CrossAliyunId

string

No

Hesaplar arası yedekleme için UID.

2xxx7778xxxxxxxxxx

CrossRoleName

string

No

Hesaplar arası yedekleme için RAM rolü adı.

test123

ClientToken

string

No

İsteğin yinelenemezliğini sağlamak için istemci tarafından oluşturulan bir belirteç.

ETnLKlblzczshOTUbOCzxxxxxxx

EnableSourceEndpointSsl

string

No

Kaynak veritabanını yedeklemek için SSL bağlantısı kullanılıp kullanılmayacağını belirtir.

true

SslCaPem

string

No

SSL bağlantısı için PEM sertifikası.

-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----

SourceEndpointOracleHome

string

No

Oracle Home yolu.

/home/test

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

HTTP durum kodu.

200

RequestId

string

İstek kimliği.

D6E068C3-25BC-455A-85FE-45F0B22E****

ErrCode

string

Hata kodu.

Param.NotFound

Success

boolean

İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:

  • true: İstek başarılı oldu.

  • false: İstek başarısız oldu.

true

ErrMessage

string

Hata mesajı.

The specified parameter %s value is not valid.

BackupPlanId

string

Yedekleme planı kimliği.

dbs1h****usfa

NeedPrecheck

boolean

Değişikliğin bir ön kontrol tetikleyip tetiklemediğini gösterir. Bu parametre true olarak ayarlanırsa, yedekleme planını başlatmak için StartBackupPlan işlemini çağırmanız gerekir.

false

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E****",
  "ErrCode": "Param.NotFound",
  "Success": true,
  "ErrMessage": "The specified parameter %s value is not valid. ",
  "BackupPlanId": "dbs1h****usfa",
  "NeedPrecheck": false
}

Error codes

HTTP status code

Error code

Error message

Description

403 Request.Forbidden Have no Permissions

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.