すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::POLARDB::バックアップ

最終更新日:Mar 17, 2025

ALIYUN::POLARDB::Backup は、PolarDB クラスタのフルスナップショットバックアップを作成するために使用されます。

構文

{
  "Type": "ALIYUN::POLARDB::Backup",
  "Properties": {
    "DBClusterId": String
  }
}

プロパティ

プロパティ

必須

編集可能

説明

制約

DBClusterId

String

はい

いいえ

クラスタ ID。

なし。

戻り値

Fn::GetAtt

  • DBClusterId: クラスタ ID。

  • BackupJobId: バックアップセットの ID。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DBClusterId:
    Type: String
    Description:
      en: The cluster ID.
    Required: true
    AssociationProperty: ALIYUN::POLARDB::DBCluster::DBClusterId
Resources:
  Backup:
    Type: ALIYUN::POLARDB::Backup
    Properties:
      DBClusterId:
        Ref: DBClusterId
Outputs:
  DBClusterId:
    Description: The ID of the cluster.
    Value:
      Fn::GetAtt:
        - Backup
        - DBClusterId
  BackupJobId:
    Description: The ID of the backup set.
    Value:
      Fn::GetAtt:
        - Backup
        - BackupJobId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DBClusterId": {
      "Type": "String",
      "Description": {
        "en": "The cluster ID."
      },
      "Required": true,
      "AssociationProperty": "ALIYUN::POLARDB::DBCluster::DBClusterId"
    }
  },
  "Resources": {
    "Backup": {
      "Type": "ALIYUN::POLARDB::Backup",
      "Properties": {
        "DBClusterId": {
          "Ref": "DBClusterId"
        }
      }
    }
  },
  "Outputs": {
    "DBClusterId": {
      "Description": "The ID of the cluster.",
      "Value": {
        "Fn::GetAtt": [
          "Backup",
          "DBClusterId"
        ]
      }
    },
    "BackupJobId": {
      "Description": "The ID of the backup set.",
      "Value": {
        "Fn::GetAtt": [
          "Backup",
          "BackupJobId"
        ]
      }
    }
  }
}