public class ManagedDatabaseInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ManagedDatabaseInner() |
| Modifier and Type | Method and Description |
|---|---|
CatalogCollationType |
catalogCollation()
Get the catalogCollation property: Collation of the metadata catalog.
|
String |
collation()
Get the collation property: Collation of the managed database.
|
ManagedDatabaseCreateMode |
createMode()
Get the createMode property: Managed database create mode.
|
OffsetDateTime |
creationDate()
Get the creationDate property: Creation date of the database.
|
String |
defaultSecondaryLocation()
Get the defaultSecondaryLocation property: Geo paired region.
|
OffsetDateTime |
earliestRestorePoint()
Get the earliestRestorePoint property: Earliest restore point in time for point in time restore.
|
String |
failoverGroupId()
Get the failoverGroupId property: Instance Failover Group resource identifier that this managed database belongs
to.
|
String |
longTermRetentionBackupResourceId()
Get the longTermRetentionBackupResourceId property: The name of the Long Term Retention backup to be used for
restore of this managed database.
|
String |
recoverableDatabaseId()
Get the recoverableDatabaseId property: The resource identifier of the recoverable database associated with
create operation of this database.
|
String |
restorableDroppedDatabaseId()
Get the restorableDroppedDatabaseId property: The restorable dropped database resource id to restore when
creating this database.
|
OffsetDateTime |
restorePointInTime()
Get the restorePointInTime property: Conditional.
|
String |
sourceDatabaseId()
Get the sourceDatabaseId property: The resource identifier of the source database associated with create
operation of this database.
|
ManagedDatabaseStatus |
status()
Get the status property: Status of the database.
|
String |
storageContainerSasToken()
Get the storageContainerSasToken property: Conditional.
|
String |
storageContainerUri()
Get the storageContainerUri property: Conditional.
|
void |
validate()
Validates the instance.
|
ManagedDatabaseInner |
withCatalogCollation(CatalogCollationType catalogCollation)
Set the catalogCollation property: Collation of the metadata catalog.
|
ManagedDatabaseInner |
withCollation(String collation)
Set the collation property: Collation of the managed database.
|
ManagedDatabaseInner |
withCreateMode(ManagedDatabaseCreateMode createMode)
Set the createMode property: Managed database create mode.
|
ManagedDatabaseInner |
withLongTermRetentionBackupResourceId(String longTermRetentionBackupResourceId)
Set the longTermRetentionBackupResourceId property: The name of the Long Term Retention backup to be used for
restore of this managed database.
|
ManagedDatabaseInner |
withRecoverableDatabaseId(String recoverableDatabaseId)
Set the recoverableDatabaseId property: The resource identifier of the recoverable database associated with
create operation of this database.
|
ManagedDatabaseInner |
withRestorableDroppedDatabaseId(String restorableDroppedDatabaseId)
Set the restorableDroppedDatabaseId property: The restorable dropped database resource id to restore when
creating this database.
|
ManagedDatabaseInner |
withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restorePointInTime property: Conditional.
|
ManagedDatabaseInner |
withSourceDatabaseId(String sourceDatabaseId)
Set the sourceDatabaseId property: The resource identifier of the source database associated with create
operation of this database.
|
ManagedDatabaseInner |
withStorageContainerSasToken(String storageContainerSasToken)
Set the storageContainerSasToken property: Conditional.
|
ManagedDatabaseInner |
withStorageContainerUri(String storageContainerUri)
Set the storageContainerUri property: Conditional.
|
public String collation()
public ManagedDatabaseInner withCollation(String collation)
collation - the collation value to set.public ManagedDatabaseStatus status()
public OffsetDateTime creationDate()
public OffsetDateTime earliestRestorePoint()
public OffsetDateTime restorePointInTime()
public ManagedDatabaseInner withRestorePointInTime(OffsetDateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to set.public String defaultSecondaryLocation()
public CatalogCollationType catalogCollation()
public ManagedDatabaseInner withCatalogCollation(CatalogCollationType catalogCollation)
catalogCollation - the catalogCollation value to set.public ManagedDatabaseCreateMode createMode()
public ManagedDatabaseInner withCreateMode(ManagedDatabaseCreateMode createMode)
createMode - the createMode value to set.public String storageContainerUri()
public ManagedDatabaseInner withStorageContainerUri(String storageContainerUri)
storageContainerUri - the storageContainerUri value to set.public String sourceDatabaseId()
public ManagedDatabaseInner withSourceDatabaseId(String sourceDatabaseId)
sourceDatabaseId - the sourceDatabaseId value to set.public String restorableDroppedDatabaseId()
public ManagedDatabaseInner withRestorableDroppedDatabaseId(String restorableDroppedDatabaseId)
restorableDroppedDatabaseId - the restorableDroppedDatabaseId value to set.public String storageContainerSasToken()
public ManagedDatabaseInner withStorageContainerSasToken(String storageContainerSasToken)
storageContainerSasToken - the storageContainerSasToken value to set.public String failoverGroupId()
public String recoverableDatabaseId()
public ManagedDatabaseInner withRecoverableDatabaseId(String recoverableDatabaseId)
recoverableDatabaseId - the recoverableDatabaseId value to set.public String longTermRetentionBackupResourceId()
public ManagedDatabaseInner withLongTermRetentionBackupResourceId(String longTermRetentionBackupResourceId)
longTermRetentionBackupResourceId - the longTermRetentionBackupResourceId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.