SqlServerDatabaseResourcePropertiesArgs

data class SqlServerDatabaseResourcePropertiesArgs(val backupInformation: Output<SqlServerDatabaseResourcePropertiesBackupInformationArgs>? = null, val backupPolicy: Output<BackupPolicyArgs>? = null, val collationName: Output<String>? = null, val compatibilityLevel: Output<Int>? = null, val createMode: Output<Either<String, DatabaseCreateMode>>? = null, val databaseCreationDate: Output<String>? = null, val databaseOptions: Output<SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs>? = null, val isReadOnly: Output<Boolean>? = null, val recoveryMode: Output<Either<String, RecoveryMode>>? = null, val restorePointInTime: Output<String>? = null, val sizeMB: Output<Double>? = null, val sourceDatabaseId: Output<String>? = null, val spaceAvailableMB: Output<Double>? = null, val state: Output<Either<String, DatabaseState>>? = null) : ConvertibleToJava<SqlServerDatabaseResourcePropertiesArgs>

The properties of Arc Sql Server database resource

Constructors

Link copied to clipboard
constructor(backupInformation: Output<SqlServerDatabaseResourcePropertiesBackupInformationArgs>? = null, backupPolicy: Output<BackupPolicyArgs>? = null, collationName: Output<String>? = null, compatibilityLevel: Output<Int>? = null, createMode: Output<Either<String, DatabaseCreateMode>>? = null, databaseCreationDate: Output<String>? = null, databaseOptions: Output<SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs>? = null, isReadOnly: Output<Boolean>? = null, recoveryMode: Output<Either<String, RecoveryMode>>? = null, restorePointInTime: Output<String>? = null, sizeMB: Output<Double>? = null, sourceDatabaseId: Output<String>? = null, spaceAvailableMB: Output<Double>? = null, state: Output<Either<String, DatabaseState>>? = null)

Properties

Link copied to clipboard
val backupPolicy: Output<BackupPolicyArgs>? = null

The backup profile for the SQL server.

Link copied to clipboard
val collationName: Output<String>? = null

Collation of the database.

Link copied to clipboard
val compatibilityLevel: Output<Int>? = null

Compatibility level of the database

Link copied to clipboard
val createMode: Output<Either<String, DatabaseCreateMode>>? = null

Database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be specified.

Link copied to clipboard
val databaseCreationDate: Output<String>? = null

Creation date of the database.

Link copied to clipboard

List of features that are enabled for the database

Link copied to clipboard
val isReadOnly: Output<Boolean>? = null

Whether the database is read only or not.

Link copied to clipboard
val recoveryMode: Output<Either<String, RecoveryMode>>? = null

Status of the database.

Link copied to clipboard
val restorePointInTime: Output<String>? = null

Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

Link copied to clipboard
val sizeMB: Output<Double>? = null

Size of the database.

Link copied to clipboard
val sourceDatabaseId: Output<String>? = null

The resource identifier of the source database associated with create operation of this database.

Link copied to clipboard
val spaceAvailableMB: Output<Double>? = null

Space left of the database.

Link copied to clipboard
val state: Output<Either<String, DatabaseState>>? = null

State of the database.

Functions

Link copied to clipboard
open override fun toJava(): SqlServerDatabaseResourcePropertiesArgs