ISqlDatabase Interface

Definition

An immutable client-side representation of an Azure SQL Database.

public interface ISqlDatabase : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Sql.Fluent.ISqlManager,Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Sql.Fluent.ISqlManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChild<Microsoft.Azure.Management.Sql.Fluent.ISqlManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChildResource<Microsoft.Azure.Management.Sql.Fluent.ISqlManager,Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Update.IUpdate>
type ISqlDatabase = interface
    interface IIndependentChildResource<ISqlManager, DatabaseInner>
    interface IGroupableResource<ISqlManager, DatabaseInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<ISqlManager>
    interface IHasInner<DatabaseInner>
    interface IIndependentChild<ISqlManager>
    interface IRefreshable<ISqlDatabase>
    interface IUpdatable<IUpdate>
Public Interface ISqlDatabase
Implements IGroupableResource(Of ISqlManager, DatabaseInner), IHasInner(Of DatabaseInner), IHasManager(Of ISqlManager), IIndependentChild(Of ISqlManager), IIndependentChildResource(Of ISqlManager, DatabaseInner), IRefreshable(Of ISqlDatabase), IUpdatable(Of IUpdate)
Derived
Implements

Properties

Collation

Gets the collation of the Azure SQL Database.

CreationDate

Gets the creation date of the Azure SQL Database.

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 defaultSecondaryLocation value.

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.

Edition

Gets the edition of the Azure SQL Database.

ElasticPoolName

Gets the elasticPoolName value.

Inner (Inherited from IHasInner<T>)
IsDataWarehouse

Gets true if this Database is SqlWarehouse.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
MaxSizeBytes

Gets the max size of the Azure SQL Database expressed in bytes.

RequestedServiceObjectiveId

Gets the configured Service Level Objective Id of the Azure SQL Database, this is the Service Level Objective that is being applied to the Azure SQL Database.

RequestedServiceObjectiveName

Gets the name of the configured Service Level Objective of the Azure SQL Database, this is the Service Level Objective that is being applied to the Azure SQL Database.

ServiceLevelObjective

Gets the Service Level Objective of the Azure SQL Database.

SqlServerName

Gets name of the SQL Server to which this database belongs.

Status

Gets the status of the Azure SQL Database.

Methods

AsWarehouse()
Delete()

Deletes the existing SQL database.

GetTransparentDataEncryption()

Gets an Azure SQL Database Transparent Data Encryption for the database.

GetUpgradeHint()
ListReplicationLinks()
ListRestorePoints()
ListServiceTierAdvisors()
ListUsages()
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to