public class DatabaseUpdate
extends com.microsoft.azure.ProxyResource
| Constructor and Description |
|---|
DatabaseUpdate() |
| Modifier and Type | Method and Description |
|---|---|
String |
collation()
Get the collation of the database.
|
Long |
containmentState()
Get the containment state of the database.
|
CreateMode |
createMode()
Get specifies the mode of database creation.
|
org.joda.time.DateTime |
creationDate()
Get the creation date of the database (ISO8601 format).
|
UUID |
currentServiceObjectiveId()
Get the current service level objective ID of the database.
|
UUID |
databaseId()
Get the ID of the database.
|
String |
defaultSecondaryLocation()
Get the default secondary region for this database.
|
org.joda.time.DateTime |
earliestRestoreDate()
Get this records the earliest start date and time that restore is available for this database (ISO8601 format).
|
DatabaseEdition |
edition()
Get the edition of the database.
|
String |
elasticPoolName()
Get the name of the elastic pool the database is in.
|
String |
failoverGroupId()
Get the resource identifier of the failover group containing this database.
|
String |
maxSizeBytes()
Get the max size of the database expressed in bytes.
|
ReadScale |
readScale()
Get conditional.
|
List<RecommendedIndex> |
recommendedIndex()
Get the recommended indices for this database.
|
String |
recoveryServicesRecoveryPointResourceId()
Get conditional.
|
UUID |
requestedServiceObjectiveId()
Get the configured service level objective ID of the database.
|
ServiceObjectiveName |
requestedServiceObjectiveName()
Get the name of the configured service level objective of the database.
|
org.joda.time.DateTime |
restorePointInTime()
Get conditional.
|
SampleName |
sampleName()
Get indicates the name of the sample schema to apply when creating this database.
|
ServiceObjectiveName |
serviceLevelObjective()
Get the current service level objective of the database.
|
List<com.microsoft.azure.management.sql.implementation.ServiceTierAdvisorInner> |
serviceTierAdvisors()
Get the list of service tier advisors for this database.
|
org.joda.time.DateTime |
sourceDatabaseDeletionDate()
Get conditional.
|
String |
sourceDatabaseId()
Get conditional.
|
String |
status()
Get the status of the database.
|
Map<String,String> |
tags()
Get resource tags.
|
List<com.microsoft.azure.management.sql.implementation.TransparentDataEncryptionInner> |
transparentDataEncryption()
Get the transparent data encryption info for this database.
|
DatabaseUpdate |
withCollation(String collation)
Set the collation of the database.
|
DatabaseUpdate |
withCreateMode(CreateMode createMode)
Set specifies the mode of database creation.
|
DatabaseUpdate |
withEdition(DatabaseEdition edition)
Set the edition of the database.
|
DatabaseUpdate |
withElasticPoolName(String elasticPoolName)
Set the name of the elastic pool the database is in.
|
DatabaseUpdate |
withMaxSizeBytes(String maxSizeBytes)
Set the max size of the database expressed in bytes.
|
DatabaseUpdate |
withReadScale(ReadScale readScale)
Set conditional.
|
DatabaseUpdate |
withRecoveryServicesRecoveryPointResourceId(String recoveryServicesRecoveryPointResourceId)
Set conditional.
|
DatabaseUpdate |
withRequestedServiceObjectiveId(UUID requestedServiceObjectiveId)
Set the configured service level objective ID of the database.
|
DatabaseUpdate |
withRequestedServiceObjectiveName(ServiceObjectiveName requestedServiceObjectiveName)
Set the name of the configured service level objective of the database.
|
DatabaseUpdate |
withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
Set conditional.
|
DatabaseUpdate |
withSampleName(SampleName sampleName)
Set indicates the name of the sample schema to apply when creating this database.
|
DatabaseUpdate |
withSourceDatabaseDeletionDate(org.joda.time.DateTime sourceDatabaseDeletionDate)
Set conditional.
|
DatabaseUpdate |
withSourceDatabaseId(String sourceDatabaseId)
Set conditional.
|
DatabaseUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
DatabaseUpdate |
withZoneRedundant(Boolean zoneRedundant)
Set whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
|
Boolean |
zoneRedundant()
Get whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
|
public DatabaseUpdate withTags(Map<String,String> tags)
tags - the tags value to setpublic String collation()
public DatabaseUpdate withCollation(String collation)
collation - the collation value to setpublic org.joda.time.DateTime creationDate()
public Long containmentState()
public UUID currentServiceObjectiveId()
public UUID databaseId()
public org.joda.time.DateTime earliestRestoreDate()
public CreateMode createMode()
public DatabaseUpdate withCreateMode(CreateMode createMode)
createMode - the createMode value to setpublic String sourceDatabaseId()
public DatabaseUpdate withSourceDatabaseId(String sourceDatabaseId)
sourceDatabaseId - the sourceDatabaseId value to setpublic org.joda.time.DateTime sourceDatabaseDeletionDate()
public DatabaseUpdate withSourceDatabaseDeletionDate(org.joda.time.DateTime sourceDatabaseDeletionDate)
sourceDatabaseDeletionDate - the sourceDatabaseDeletionDate value to setpublic org.joda.time.DateTime restorePointInTime()
public DatabaseUpdate withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to setpublic String recoveryServicesRecoveryPointResourceId()
public DatabaseUpdate withRecoveryServicesRecoveryPointResourceId(String recoveryServicesRecoveryPointResourceId)
recoveryServicesRecoveryPointResourceId - the recoveryServicesRecoveryPointResourceId value to setpublic DatabaseEdition edition()
public DatabaseUpdate withEdition(DatabaseEdition edition)
edition - the edition value to setpublic String maxSizeBytes()
public DatabaseUpdate withMaxSizeBytes(String maxSizeBytes)
maxSizeBytes - the maxSizeBytes value to setpublic UUID requestedServiceObjectiveId()
public DatabaseUpdate withRequestedServiceObjectiveId(UUID requestedServiceObjectiveId)
requestedServiceObjectiveId - the requestedServiceObjectiveId value to setpublic ServiceObjectiveName requestedServiceObjectiveName()
public DatabaseUpdate withRequestedServiceObjectiveName(ServiceObjectiveName requestedServiceObjectiveName)
requestedServiceObjectiveName - the requestedServiceObjectiveName value to setpublic ServiceObjectiveName serviceLevelObjective()
public String status()
public String elasticPoolName()
public DatabaseUpdate withElasticPoolName(String elasticPoolName)
elasticPoolName - the elasticPoolName value to setpublic String defaultSecondaryLocation()
public List<com.microsoft.azure.management.sql.implementation.ServiceTierAdvisorInner> serviceTierAdvisors()
public List<com.microsoft.azure.management.sql.implementation.TransparentDataEncryptionInner> transparentDataEncryption()
public List<RecommendedIndex> recommendedIndex()
public String failoverGroupId()
public ReadScale readScale()
public DatabaseUpdate withReadScale(ReadScale readScale)
readScale - the readScale value to setpublic SampleName sampleName()
public DatabaseUpdate withSampleName(SampleName sampleName)
sampleName - the sampleName value to setpublic Boolean zoneRedundant()
public DatabaseUpdate withZoneRedundant(Boolean zoneRedundant)
zoneRedundant - the zoneRedundant value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/