exportBackupToObjectStorage
    • PDF

    exportBackupToObjectStorage

    • PDF

    Article Summary

    VPC環境で利用できます。

    Cloud DB for PostgreSQLバックアップファイルを Object Storageに送ります。

    リクエスト

    リクエストパラメータ

    パラメータタイプ要否説明制約事項
    regionCodeStringNリージョンコード
    - regionCodeは、getRegionListアクションを通じて取得する
    - default: getRegionList照会結果の最初のリージョンを選択する
    -
    fileNameStringYバックアップファイル名
    - fileNameは、getCloudPostgresqlBackupDetailListアクションを通じて取得する
    -
    bucketNameStringYObject Storageバケット名
    - bucketNameは、getCloudPostgresqlBucketListアクションを通じて取得する
    -
    cloudPostgresqlInstanceNoStringYCloud DB for PostgreSQLインスタンス番号
    - cloudPostgresqlInstanceNoは、getCloudPostgresqlInstanceListアクションを通じて取得する
    -
    responseFormatTypeStringNレスポンス結果のフォーマットタイプ
    - options: xml | json
    - default: xml
    -

    リクエスト例

    リクエスト構文例は次のとおりです。

    GET {API_URL}/exportBackupToObjectStorage
    ?regionCode=KR
    &fileName=20210528
    &bucketName=postgresql-backup
    &cloudPostgresqlInstanceNo=****890
    

    レスポンス例

    レスポンス構文例は、次のとおりです。

    レスポンス結果のフォーマットタイプ(responseFormatType)が jsonの場合

    {
      "exportBackupToObjectStorageResponse": {
        "requestId": "cf51da47-c561-4ae1-b48e-e94f1c501da7",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    

    レスポンス結果のフォーマットタイプ(responseFormatType)が xmlの場合

    <exportBackupToObjectStorageResponse>
        <requestId>cf51da47-c561-4ae1-b48e-e94f1c501da7</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </exportBackupToObjectStorageResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.