Freigeben über


DatabaseUpdate Konstruktoren

Definition

Überlädt

DatabaseUpdate()

Initialisiert einen neuen instance der DatabaseUpdate-Klasse.

DatabaseUpdate(Sku, DatabaseIdentity, String, String, Nullable<Int64>, String, String, String, String, Nullable<Guid>, Nullable<DateTime>, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String, Nullable<Boolean>, String, Nullable<Int64>, Nullable<DateTime>, String, Nullable<Int32>, String, Sku, Nullable<Int32>, String, String, Nullable<Double>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, IDictionary<String,String>)

Initialisiert einen neuen instance der DatabaseUpdate-Klasse.

DatabaseUpdate()

Initialisiert einen neuen instance der DatabaseUpdate-Klasse.

public DatabaseUpdate ();
Public Sub New ()

Gilt für:

DatabaseUpdate(Sku, DatabaseIdentity, String, String, Nullable<Int64>, String, String, String, String, Nullable<Guid>, Nullable<DateTime>, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String, Nullable<Boolean>, String, Nullable<Int64>, Nullable<DateTime>, String, Nullable<Int32>, String, Sku, Nullable<Int32>, String, String, Nullable<Double>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, IDictionary<String,String>)

Initialisiert einen neuen instance der DatabaseUpdate-Klasse.

public DatabaseUpdate (Microsoft.Azure.Management.Sql.Models.Sku sku = default, Microsoft.Azure.Management.Sql.Models.DatabaseIdentity identity = default, string createMode = default, string collation = default, long? maxSizeBytes = default, string sampleName = default, string elasticPoolId = default, string sourceDatabaseId = default, string status = default, Guid? databaseId = default, DateTime? creationDate = default, string currentServiceObjectiveName = default, string requestedServiceObjectiveName = default, string defaultSecondaryLocation = default, string failoverGroupId = default, DateTime? restorePointInTime = default, DateTime? sourceDatabaseDeletionDate = default, string recoveryServicesRecoveryPointId = default, string longTermRetentionBackupResourceId = default, string recoverableDatabaseId = default, string restorableDroppedDatabaseId = default, string catalogCollation = default, bool? zoneRedundant = default, string licenseType = default, long? maxLogSizeBytes = default, DateTime? earliestRestoreDate = default, string readScale = default, int? highAvailabilityReplicaCount = default, string secondaryType = default, Microsoft.Azure.Management.Sql.Models.Sku currentSku = default, int? autoPauseDelay = default, string currentBackupStorageRedundancy = default, string requestedBackupStorageRedundancy = default, double? minCapacity = default, DateTime? pausedDate = default, DateTime? resumedDate = default, string maintenanceConfigurationId = default, bool? isLedgerOn = default, bool? isInfraEncryptionEnabled = default, Guid? federatedClientId = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Sql.Models.DatabaseUpdate : Microsoft.Azure.Management.Sql.Models.Sku * Microsoft.Azure.Management.Sql.Models.DatabaseIdentity * string * string * Nullable<int64> * string * string * string * string * Nullable<Guid> * Nullable<DateTime> * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string * Nullable<bool> * string * Nullable<int64> * Nullable<DateTime> * string * Nullable<int> * string * Microsoft.Azure.Management.Sql.Models.Sku * Nullable<int> * string * string * Nullable<double> * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<bool> * Nullable<bool> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Sql.Models.DatabaseUpdate
Public Sub New (Optional sku As Sku = Nothing, Optional identity As DatabaseIdentity = Nothing, Optional createMode As String = Nothing, Optional collation As String = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional sampleName As String = Nothing, Optional elasticPoolId As String = Nothing, Optional sourceDatabaseId As String = Nothing, Optional status As String = Nothing, Optional databaseId As Nullable(Of Guid) = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional currentServiceObjectiveName As String = Nothing, Optional requestedServiceObjectiveName As String = Nothing, Optional defaultSecondaryLocation As String = Nothing, Optional failoverGroupId As String = Nothing, Optional restorePointInTime As Nullable(Of DateTime) = Nothing, Optional sourceDatabaseDeletionDate As Nullable(Of DateTime) = Nothing, Optional recoveryServicesRecoveryPointId As String = Nothing, Optional longTermRetentionBackupResourceId As String = Nothing, Optional recoverableDatabaseId As String = Nothing, Optional restorableDroppedDatabaseId As String = Nothing, Optional catalogCollation As String = Nothing, Optional zoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As String = Nothing, Optional maxLogSizeBytes As Nullable(Of Long) = Nothing, Optional earliestRestoreDate As Nullable(Of DateTime) = Nothing, Optional readScale As String = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing, Optional secondaryType As String = Nothing, Optional currentSku As Sku = Nothing, Optional autoPauseDelay As Nullable(Of Integer) = Nothing, Optional currentBackupStorageRedundancy As String = Nothing, Optional requestedBackupStorageRedundancy As String = Nothing, Optional minCapacity As Nullable(Of Double) = Nothing, Optional pausedDate As Nullable(Of DateTime) = Nothing, Optional resumedDate As Nullable(Of DateTime) = Nothing, Optional maintenanceConfigurationId As String = Nothing, Optional isLedgerOn As Nullable(Of Boolean) = Nothing, Optional isInfraEncryptionEnabled As Nullable(Of Boolean) = Nothing, Optional federatedClientId As Nullable(Of Guid) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameter

sku
Sku

Der Name und die Ebene der SKU.

identity
DatabaseIdentity

Datenbankidentität

createMode
String

Gibt den Modus der Datenbankerstellung an.

         Default: regular database creation.

         Copy: creates a database as a copy of an existing database.
         sourceDatabaseId must be specified as the resource ID of the source
         database.

         Secondary: creates a database as a secondary replica of an existing
         database. sourceDatabaseId must be specified as the resource ID of
         the existing primary database.

         PointInTimeRestore: Creates a database by restoring a point in time
         backup of an existing database. sourceDatabaseId must be specified
         as the resource ID of the existing database, and restorePointInTime
         must be specified.

         Recovery: Creates a database by restoring a geo-replicated backup.
         sourceDatabaseId must be specified as the recoverable database
         resource ID to restore.

         Restore: Creates a database by restoring a backup of a deleted
         database. sourceDatabaseId must be specified. If sourceDatabaseId
         is the database's original resource ID, then
         sourceDatabaseDeletionDate must be specified. Otherwise
         sourceDatabaseId must be the restorable dropped database resource
         ID and sourceDatabaseDeletionDate is ignored. restorePointInTime
         may also be specified to restore from an earlier point in time.

         RestoreLongTermRetentionBackup: Creates a database by restoring
         from a long term retention vault.
         recoveryServicesRecoveryPointResourceId must be specified as the
         recovery point resource ID.

         Copy, Secondary, and RestoreLongTermRetentionBackup are not
         supported for DataWarehouse edition. Possible values include:
         'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore',
         'Recovery', 'RestoreExternalBackup',
         'RestoreExternalBackupSecondary', 'RestoreLongTermRetentionBackup',
         'OnlineSecondary'
collation
String

Die Sortierung der Datenbank.

maxSizeBytes
Nullable<Int64>

Die maximale Größe der Datenbank, ausgedrückt in Bytes.

sampleName
String

Der Name des Beispielschemas, das beim Erstellen dieser Datenbank angewendet werden soll. Mögliche Werte: "AdventureWorksLT", "WideWorldImportersStd", "WideWorldImportersFull"

elasticPoolId
String

Der Ressourcenbezeichner des Pools für elastische Datenbanken, der diese Datenbank enthält.

sourceDatabaseId
String

Der Ressourcenbezeichner der Quelldatenbank, die dem Erstellungsvorgang dieser Datenbank zugeordnet ist.

status
String

Der Status der Datenbank. Mögliche Werte: "Online", "Restoring", "RecoveryPending", "Recovering", "Recovering", "Suspect", "Offline", "Standby", "Shutdown", "EmergencyMode", "AutoClosed", "Copy", "Creating", "Inaccessible", "OfflineSecondary", "Pausing", "Paused", "Resuming", "Scaling", "OfflineChangingDwPerformanceTiers", "OnlineChangingDwPerformanceTiers", "Disabled", "Stopped", "Starting"

databaseId
Nullable<Guid>

Die ID der Datenbank.

creationDate
Nullable<DateTime>

Das Erstellungsdatum der Datenbank (ISO8601-Format).

currentServiceObjectiveName
String

Der aktuelle Dienstebenenzielname der Datenbank.

requestedServiceObjectiveName
String

Der angeforderte Servicelevel-Zielname der Datenbank.

defaultSecondaryLocation
String

Die sekundäre Standardregion für diese Datenbank.

failoverGroupId
String

Failovergruppenressourcenbezeichner, zu dem diese Datenbank gehört.

restorePointInTime
Nullable<DateTime>

Gibt den Zeitpunkt (ISO8601-Format) der Quelldatenbank an, die zum Erstellen der neuen Datenbank wiederhergestellt wird.

sourceDatabaseDeletionDate
Nullable<DateTime>

Gibt den Zeitpunkt an, zu dem die Datenbank gelöscht wurde.

recoveryServicesRecoveryPointId
String

Der Ressourcenbezeichner des Wiederherstellungspunkts, der dem Erstellungsvorgang dieser Datenbank zugeordnet ist.

longTermRetentionBackupResourceId
String

Der Ressourcenbezeichner der Sicherung für die langfristige Aufbewahrung, die dem Erstellungsvorgang dieser Datenbank zugeordnet ist.

recoverableDatabaseId
String

Der Ressourcenbezeichner der wiederherstellbaren Datenbank, die dem Erstellungsvorgang dieser Datenbank zugeordnet ist.

restorableDroppedDatabaseId
String

Der Ressourcenbezeichner der wiederherstellbaren gelöschten Datenbank, die dem Erstellungsvorgang dieser Datenbank zugeordnet ist.

catalogCollation
String

Sortierung des Metadatenkatalogs. Mögliche Werte: "DATABASE_DEFAULT", "SQL_Latin1_General_CP1_CI_AS"

zoneRedundant
Nullable<Boolean>

Unabhängig davon, ob diese Datenbank zonenredundant ist, bedeutet dies, dass die Replikate dieser Datenbank auf mehrere Verfügbarkeitszonen verteilt werden.

licenseType
String

Der Lizenztyp, der für diese Datenbank angewendet werden soll. LicenseIncluded, wenn Sie eine Lizenz benötigen oder BasePrice wenn Sie über eine Lizenz verfügen und für die Azure-Hybridvorteil berechtigt sind. Mögliche Werte: "LicenseIncluded", "BasePrice"

maxLogSizeBytes
Nullable<Int64>

Die maximale Protokollgröße für diese Datenbank.

earliestRestoreDate
Nullable<DateTime>

Dadurch wird das früheste Startdatum und die früheste Wiederherstellungszeit für diese Datenbank (ISO8601-Format) aufgezeichnet.

readScale
String

Der Status des schreibgeschützten Routings. Wenn diese Option aktiviert ist, können Verbindungen, deren Anwendungsabsicht in ihrer Verbindungszeichenfolge auf schreibgeschützter Weise festgelegt ist, an ein schreibgeschütztes sekundäres Replikat in derselben Region weitergeleitet werden. Gilt nicht für eine Hyperscale-Datenbank in einem Pool für elastische Datenbanken. Mögliche Werte: "Enabled", "Disabled"

highAvailabilityReplicaCount
Nullable<Int32>

Die Anzahl der sekundären Replikate, die der Datenbank zugeordnet sind, die zur Bereitstellung von Hochverfügbarkeit verwendet werden. Gilt nicht für eine Hyperscale-Datenbank in einem Pool für elastische Datenbanken.

secondaryType
String

Der sekundäre Typ der Datenbank, wenn es sich um eine sekundäre Datenbank handelt. Gültige Werte sind Geo und Named. Mögliche Werte: "Geo", "Named"

currentSku
Sku

Der Name und die Ebene der SKU.

autoPauseDelay
Nullable<Int32>

Zeit in Minuten, nach der die Datenbank automatisch angehalten wird. Der Wert -1 bedeutet, dass die automatische Pause deaktiviert ist.

currentBackupStorageRedundancy
String

Der Speicherkontotyp, der zum Speichern von Sicherungen für diese Datenbank verwendet wird. Mögliche Werte: "Geo", "Local", "Zone", "GeoZone"

requestedBackupStorageRedundancy
String

Der Speicherkontotyp, der zum Speichern von Sicherungen für diese Datenbank verwendet werden soll. Mögliche Werte: "Geo", "Local", "Zone", "GeoZone"

minCapacity
Nullable<Double>

Minimale Kapazität, die der Datenbank immer zugewiesen wird, wenn sie nicht angehalten wird

pausedDate
Nullable<DateTime>

Das Datum, an dem die Datenbank nach Benutzerkonfiguration oder Aktion angehalten wurde (ISO8601-Format). NULL, wenn die Datenbank bereit ist.

resumedDate
Nullable<DateTime>

Das Datum, an dem die Datenbank durch eine Benutzeraktion oder Datenbankanmeldung fortgesetzt wurde (ISO8601-Format). NULL, wenn die Datenbank angehalten ist.

maintenanceConfigurationId
String

Wartungskonfigurations-ID, die der Datenbank zugewiesen ist. Diese Konfiguration definiert den Zeitraum, in dem die Wartungsupdates durchgeführt werden.

isLedgerOn
Nullable<Boolean>

Gibt an, ob es sich bei dieser Datenbank um eine Ledgerdatenbank handelt. Das bedeutet, dass alle Tabellen in der Datenbank Ledgertabellen sind. Hinweis: Der Wert dieser Eigenschaft kann nicht geändert werden, nachdem die Datenbank erstellt wurde.

isInfraEncryptionEnabled
Nullable<Boolean>

Die Infrastrukturverschlüsselung ist für diese Datenbank aktiviert.

federatedClientId
Nullable<Guid>

Die Client-ID, die für das mandantenübergreifende CMK-Szenario pro Datenbank verwendet wird

tags
IDictionary<String,String>

Ressourcentags.

Gilt für: