DatabaseInner Class

Definition

Represents an Azure SQL Database.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabaseInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
type DatabaseInner = class
    inherit Resource
Public Class DatabaseInner
Inherits Resource
Inheritance
System.Object
DatabaseInner
Attributes

Constructors

DatabaseInner()

Initializes a new instance of the DatabaseInner class.

Properties

Collation

Gets or sets the collation of the Azure SQL database.

ContainmentState

Gets the containment state of the Azure SQL database.

CreateMode

Gets or sets specifies the type of database to create. Possible values include: 'Copy', 'Default', 'NonReadableSecondary', 'OnlineSecondary', 'PointInTimeRestore', 'Recovery', 'Restore'

CreationDate

Gets the creation date of the Azure SQL database (ISO8601 format).

CurrentServiceObjectiveId

Gets the current Service Level Objective ID of the Azure SQL database. This is the ID of the Service Level Objective that is currently active.

DatabaseId

Gets the ID of the Azure SQL database.

DefaultSecondaryLocation

Gets the default secondary region for this database.

EarliestRestoreDate

Gets the recovery period start date of the Azure SQL database. This records the start date and time when recovery is available for this Azure SQL Database (ISO8601 format).

Edition

Gets or sets the edition of the Azure SQL database. The DatabaseEditions enumeration contains all the valid editions. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'Free', 'Stretch', 'DataWarehouse'

ElasticPoolName

Gets or sets the name of the Azure SQL Elastic Pool the database is in.

Location

Resource location

(Inherited from Resource)
MaxSizeBytes

Gets or sets the max size of the Azure SQL database expressed in bytes. Note: Only the following sizes are supported (in addition to limitations being placed on each edition): { 100 MB | 500 MB |1 GB | 5 GB | 10 GB | 20 GB | 30 GB … 150 GB | 200 GB … 500 GB }

RecommendedIndex

Gets the recommended indices for this database.

RequestedServiceObjectiveId

Gets or sets the configured Service Level Objective ID of the Azure SQL database. This is the Service Level Objective that is in the process of being applied to the Azure SQL database. Once successfully updated, it will match the value of currentServiceObjectiveId property.

RequestedServiceObjectiveName

Gets or sets the name of the configured Service Level Objective of the Azure SQL database. This is the Service Level Objective that is in the process of being applied to the Azure SQL database. Once successfully updated, it will match the value of serviceLevelObjective property. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2', 'P3'

ServiceLevelObjective

Gets the current Service Level Objective of the Azure SQL database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2', 'P3'

ServiceTierAdvisors

Gets the list of service tier advisors for this database. Expanded property

SourceDatabaseId

Gets or sets conditional. Specifies the resource ID of the source database. If createMode is not set to Default, then this value must be specified. The name of the source database must be the same. NOTE: Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.

Status

Gets the status of the Azure SQL database.

Tags

Resource tags

(Inherited from Resource)
TransparentDataEncryption

Gets the transparent data encryption info for this database.

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to