GetDatabaseResult

data class GetDatabaseResult(val autoPauseDelay: Int? = null, val catalogCollation: String? = null, val collation: String? = null, val creationDate: String, val currentBackupStorageRedundancy: String, val currentServiceObjectiveName: String, val currentSku: SkuResponse, val databaseId: String, val defaultSecondaryLocation: String, val earliestRestoreDate: String, val elasticPoolId: String? = null, val failoverGroupId: String, val highAvailabilityReplicaCount: Int? = null, val id: String, val kind: String, val licenseType: String? = null, val location: String, val maintenanceConfigurationId: String? = null, val managedBy: String, val maxLogSizeBytes: Double, val maxSizeBytes: Double? = null, val minCapacity: Double? = null, val name: String, val pausedDate: String, val readScale: String? = null, val requestedBackupStorageRedundancy: String? = null, val requestedServiceObjectiveName: String, val resumedDate: String, val secondaryType: String? = null, val sku: SkuResponse? = null, val status: String, val tags: Map<String, String>? = null, val type: String, val zoneRedundant: Boolean? = null)

A database resource.

Constructors

Link copied to clipboard
constructor(autoPauseDelay: Int? = null, catalogCollation: String? = null, collation: String? = null, creationDate: String, currentBackupStorageRedundancy: String, currentServiceObjectiveName: String, currentSku: SkuResponse, databaseId: String, defaultSecondaryLocation: String, earliestRestoreDate: String, elasticPoolId: String? = null, failoverGroupId: String, highAvailabilityReplicaCount: Int? = null, id: String, kind: String, licenseType: String? = null, location: String, maintenanceConfigurationId: String? = null, managedBy: String, maxLogSizeBytes: Double, maxSizeBytes: Double? = null, minCapacity: Double? = null, name: String, pausedDate: String, readScale: String? = null, requestedBackupStorageRedundancy: String? = null, requestedServiceObjectiveName: String, resumedDate: String, secondaryType: String? = null, sku: SkuResponse? = null, status: String, tags: Map<String, String>? = null, type: String, zoneRedundant: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val autoPauseDelay: Int? = null

Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled

Link copied to clipboard

Collation of the metadata catalog.

Link copied to clipboard
val collation: String? = null

The collation of the database.

Link copied to clipboard

The creation date of the database (ISO8601 format).

Link copied to clipboard

The storage account type used to store backups for this database.

Link copied to clipboard

The current service level objective name of the database.

Link copied to clipboard

The name and tier of the SKU.

Link copied to clipboard

The ID of the database.

Link copied to clipboard

The default secondary region for this database.

Link copied to clipboard

This records the earliest start date and time that restore is available for this database (ISO8601 format).

Link copied to clipboard
val elasticPoolId: String? = null

The resource identifier of the elastic pool containing this database.

Link copied to clipboard

Failover Group resource identifier that this database belongs to.

Link copied to clipboard

The number of secondary replicas associated with the database that are used to provide high availability.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Kind of database. This is metadata used for the Azure portal experience.

Link copied to clipboard
val licenseType: String? = null

The license type to apply for this database. LicenseIncluded if you need a license, or BasePrice if you have a license and are eligible for the Azure Hybrid Benefit.

Link copied to clipboard

Resource location.

Link copied to clipboard

Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.

Link copied to clipboard

Resource that manages the database.

Link copied to clipboard

The max log size for this database.

Link copied to clipboard
val maxSizeBytes: Double? = null

The max size of the database expressed in bytes.

Link copied to clipboard
val minCapacity: Double? = null

Minimal capacity that database will always have allocated, if not paused

Link copied to clipboard

Resource name.

Link copied to clipboard

The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.

Link copied to clipboard
val readScale: String? = null

The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region.

Link copied to clipboard

The storage account type to be used to store backups for this database.

Link copied to clipboard

The requested service level objective name of the database.

Link copied to clipboard

The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.

Link copied to clipboard
val secondaryType: String? = null

The secondary type of the database if it is a secondary. Valid values are Geo and Named.

Link copied to clipboard
val sku: SkuResponse? = null

The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the Capabilities_ListByLocation REST API or one of the following commands:

Link copied to clipboard
Link copied to clipboard
val tags: Map<String, String>? = null
Link copied to clipboard
Link copied to clipboard
val zoneRedundant: Boolean? = null