Skip to main content
Data Protection/Backup Management Interfaces
POSTBackup Management InterfacesSince 0.6SynchronousAuth Required

Reuse Image Storage as Backup Storage

Reuse Image Storage as Backup Storage

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

Body Fields

  • attachPointString

    No description provided.

  • endPointString

    端点。

  • hostnameStringRequired

    No description provided.

  • usernameStringRequired

    用户名。

  • passwordString

    密码。

Responses

200 OK

On success, this API returns an empty JSON object {}.

Endpoint

POST/zstack/v1/backup-storage/image-store/disaster

/zstack/v1/backup-storage/image-store/disaster

Operation ID

AddDisasterImageStoreBackupStorage

Permalink

Request Example

curl -X POST 'http://{host}/zstack/v1/backup-storage/image-store/disaster' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"attachPoint":"<attachPoint>","endPoint":"<endPoint>","hostname":"<hostname>","username":"<username>","password":"<password>","sshPort":1,"url":"<url>","name":"<name>","description":"<description>","type":"<type>","importImages":true,"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"],"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history