Partilhar via


AzureSqlDatabaseModel Class

Definition

Represents an Azure Sql Database

public class AzureSqlDatabaseModel
type AzureSqlDatabaseModel = class
Public Class AzureSqlDatabaseModel
Inheritance
AzureSqlDatabaseModel
Derived

Constructors

AzureSqlDatabaseModel()

Construct AzureSqlDatabaseModel

AzureSqlDatabaseModel(String, String, Database)

Construct AzureSqlDatabaseModel from Management.Sql.LegacySdk.Models.Database object

AzureSqlDatabaseModel(String, String, Database)

Construct AzureSqlDatabaseModel from Management.Sql.Database object

Fields

IdTemplate

Template to generate database id

PoolIdTemplate

Template to generate elastic pool id for the database

Properties

AutoPauseDelayInMinutes

Gets or sets the Auto pause delay of the database

Capacity

Gets or sets the capacity of the database. The capacity is Dtu number if the database is dtu based database; capacity is Vcore number if the database is vcore based database.

CatalogCollation

Gets or sets the database collation

CollationName

Gets or sets the database collation

CreateMode

Gets or sets the create mode of the database.

CreationDate

Gets or sets the creation date of the database

CurrentBackupStorageRedundancy

Gets or sets the current backup storage redundancy for the database

CurrentServiceObjectiveId

Gets or sets the current service objective ID

CurrentServiceObjectiveName

Gets or sets the current service objective name

DatabaseId

Gets or sets the unique ID of the database

DatabaseName

Gets or sets the name of the database

EarliestRestoreDate

Gets or sets the earliest restore date

Edition

Gets or sets the edition of the database

ElasticPoolName

Gets or sets the name of the Elastic Pool the database is in

EnableLedger

Gets or sets the ledger property for the database

EncryptionProtector

Gets or sets the encryption protector

EncryptionProtectorAutoRotation

Gets or sets the value of AKV key auto rotation flag.

Family

Gets or sets the Family of the database.

FederatedClientId

Gets or sets a federated client id to use in xtcmk scenario

FreeLimitExhaustionBehavior

Gets or sets the value of free limit exhaustion behavior if use free limit is enabled Can be AutoPause or BillOverUsage

HighAvailabilityReplicaCount

Gets or sets the number of readonly secondary replicas for the database that are used to provide high availability

Identity

Gets or sets the identity of the database.

Keys

Gets or sets the list of AKV keys

LicenseType

Gets or sets the LicenseType of the database

Location

Gets or sets the location of the database

MaintenanceConfigurationId

Gets or sets the maintenance configuration id for the database

ManualCutover

Gets or sets whether or not customer controlled manual cutover needs to be done during Update Database operation to Hyperscale tier.

MaxSizeBytes

Gets or sets the max size of the database in bytes

MinimumCapacity

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

PausedDate

Gets or sets the PausedDate

PerformCutover

Gets or sets to trigger customer controlled manual cutover during the wait state while Scaling operation is in progress.

PreferredEnclaveType

Gets or sets type of enclave requested on the database i.e. Default or VBS enclaves. Possible values include: 'Default', 'VBS'

ReadReplicaCount

Gets or sets the number of readonly secondary replicas for the database that are used to provide high availability

ReadScale

Gets or sets the read scale option of the database (Disabled/Enabled).

RequestedBackupStorageRedundancy

Gets or sets the requested backup storage redundancy for the database

RequestedServiceObjectiveId

gets or sets the requested service objective ID

RequestedServiceObjectiveName

Gets or sets the requested service objective name

ResourceGroupName

Gets or sets the name of the resource group

ResourceId

Gets or sets the resource ID of the database.

ResumedDate

Gets or sets the ResumeDate

SecondaryType

Gets or sets the secondary type for the database if it is a secondary.

ServerName

Gets or sets the name of the server

SkuName

Gets or sets the SkuName of the database.

Status

Gets or sets the status of the databse

Tags

Gets or sets the tags associated with the server.

UseFreeLimit

Gets or sets the value that indicates if use free limit is selected for database

ZoneRedundant

Gets or sets the zone redundant option of the database.

Applies to