ManagedDatabaseCreateMode type
受控資料庫建立模式。 PointInTimeRestore:藉由還原現有資料庫的時間點備份來建立資料庫。 必須指定SourceDatabaseName、SourceManagedInstanceName和PointInTime。 RestoreExternalBackup:從外部備份文件還原來建立資料庫。 必須指定 Collation、StorageContainerUri 和 StorageContainerSasToken。 復原:藉由還原異地復寫備份來建立資料庫。 RecoverableDatabaseId 必須指定為要還原的可復原資料庫資源標識符。 RestoreLongTermRetentionBackup:從長期保留備份還原來建立資料庫(需要 longTermRetentionBackupResourceId)。
KnownManagedDatabaseCreateMode 可以與 ManagedDatabaseCreateMode 交替使用,此列舉包含服務支援的已知值。
服務支援的已知值
預設:預設
RestoreExternalBackup:RestoreExternalBackup
PointInTimeRestore:PointInTimeRestore
復原:復原
恢復長期保留備份:恢復長期保留備份
type ManagedDatabaseCreateMode = string