Class DatabaseAccountCreateUpdateParameters
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cosmos.models.ArmResourceProperties
com.azure.resourcemanager.cosmos.models.DatabaseAccountCreateUpdateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Parameters to create and update Cosmos DB database accounts.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DatabaseAccountCreateUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the analyticalStorageConfiguration property: Analytical storage specific properties.Get the apiProperties property: API specific properties.Get the backupPolicy property: The object representing the policy for taking backups on an account.Get the capabilities property: List of Cosmos DB capabilities for the account.capacity()Get the capacity property: The object that represents all properties related to capacity enforcement on an account.Get the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.Get the consistencyPolicy property: The consistency policy for the Cosmos DB account.cors()Get the cors property: The CORS policy for the Cosmos DB database account.Get the createMode property: Enum to indicate the mode of account creation.Get the customerManagedKeyStatus property: Indicates the status of the Customer Managed Key feature on the account.Get the databaseAccountOfferType property: The offer type for the database.Get the defaultIdentity property: The default identity for accessing key vault used in features like customer managed keys.Get the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases, containers, throughput) via account keys.Get the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.Get the enableAnalyticalStorage property: Flag to indicate whether to enable storage analytics.Get the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage.Get the enableBurstCapacity property: Flag to indicate enabling/disabling of Burst Capacity feature on the account.Get the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.Get the enableFreeTier property: Flag to indicate whether Free Tier is enabled.Get the enableMultipleWriteLocations property: Enables the account to write in multiple locations.Get the enablePartitionMerge property: Flag to indicate enabling/disabling of Partition Merge feature on the account.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DatabaseAccountCreateUpdateParameters from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: Identity for the resource.ipRules()Get the ipRules property: List of IpRules.Get the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL rules.Get the keysMetadata property: This property is ignored during the update/create operation, as the metadata is read-only.Get the keyVaultKeyUri property: The URI of the key vault.kind()Get the kind property: Indicates the type of database account.Get the locations property: An array that contains the georeplication locations enabled for the Cosmos DB account.Get the minimalTlsVersion property: Indicates the minimum allowed Tls version.name()Get the name property: The name of the resource.Get the networkAclBypass property: Indicates what services are allowed to bypass firewall checks.Get the networkAclBypassResourceIds property: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.Get the publicNetworkAccess property: Whether requests from Public Network are allowed.Get the restoreParameters property: Parameters to indicate the information about the restore.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Get the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.withAnalyticalStorageConfiguration(AnalyticalStorageConfiguration analyticalStorageConfiguration) Set the analyticalStorageConfiguration property: Analytical storage specific properties.withApiProperties(ApiProperties apiProperties) Set the apiProperties property: API specific properties.withBackupPolicy(BackupPolicy backupPolicy) Set the backupPolicy property: The object representing the policy for taking backups on an account.withCapabilities(List<Capability> capabilities) Set the capabilities property: List of Cosmos DB capabilities for the account.withCapacity(Capacity capacity) Set the capacity property: The object that represents all properties related to capacity enforcement on an account.withConnectorOffer(ConnectorOffer connectorOffer) Set the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.withConsistencyPolicy(ConsistencyPolicy consistencyPolicy) Set the consistencyPolicy property: The consistency policy for the Cosmos DB account.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.withCreateMode(CreateMode createMode) Set the createMode property: Enum to indicate the mode of account creation.withCustomerManagedKeyStatus(String customerManagedKeyStatus) Set the customerManagedKeyStatus property: Indicates the status of the Customer Managed Key feature on the account.withDatabaseAccountOfferType(String databaseAccountOfferType) Set the databaseAccountOfferType property: The offer type for the database.withDefaultIdentity(String defaultIdentity) Set the defaultIdentity property: The default identity for accessing key vault used in features like customer managed keys.withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess) Set the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases, containers, throughput) via account keys.withDisableLocalAuth(Boolean disableLocalAuth) Set the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.withEnableAnalyticalStorage(Boolean enableAnalyticalStorage) Set the enableAnalyticalStorage property: Flag to indicate whether to enable storage analytics.withEnableAutomaticFailover(Boolean enableAutomaticFailover) Set the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage.withEnableBurstCapacity(Boolean enableBurstCapacity) Set the enableBurstCapacity property: Flag to indicate enabling/disabling of Burst Capacity feature on the account.withEnableCassandraConnector(Boolean enableCassandraConnector) Set the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.withEnableFreeTier(Boolean enableFreeTier) Set the enableFreeTier property: Flag to indicate whether Free Tier is enabled.withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations) Set the enableMultipleWriteLocations property: Enables the account to write in multiple locations.withEnablePartitionMerge(Boolean enablePartitionMerge) Set the enablePartitionMerge property: Flag to indicate enabling/disabling of Partition Merge feature on the account.withIdentity(ManagedServiceIdentity identity) Set the identity property: Identity for the resource.withIpRules(List<IpAddressOrRange> ipRules) Set the ipRules property: List of IpRules.withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled) Set the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL rules.withKeyVaultKeyUri(String keyVaultKeyUri) Set the keyVaultKeyUri property: The URI of the key vault.withKind(DatabaseAccountKind kind) Set the kind property: Indicates the type of database account.withLocation(String location) withLocations(List<Location> locations) Set the locations property: An array that contains the georeplication locations enabled for the Cosmos DB account.withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) Set the minimalTlsVersion property: Indicates the minimum allowed Tls version.withNetworkAclBypass(NetworkAclBypass networkAclBypass) Set the networkAclBypass property: Indicates what services are allowed to bypass firewall checks.withNetworkAclBypassResourceIds(List<String> networkAclBypassResourceIds) Set the networkAclBypassResourceIds property: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether requests from Public Network are allowed.withRestoreParameters(RestoreParameters restoreParameters) Set the restoreParameters property: Parameters to indicate the information about the restore.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) Set the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DatabaseAccountCreateUpdateParameters
public DatabaseAccountCreateUpdateParameters()Creates an instance of DatabaseAccountCreateUpdateParameters class.
-
-
Method Details
-
kind
Get the kind property: Indicates the type of database account. This can only be set at database account creation.- Returns:
- the kind value.
-
withKind
Set the kind property: Indicates the type of database account. This can only be set at database account creation.- Parameters:
kind- the kind value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classArmResourceProperties- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classArmResourceProperties- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classArmResourceProperties- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classArmResourceProperties
-
withTags
- Overrides:
withTagsin classArmResourceProperties
-
consistencyPolicy
Get the consistencyPolicy property: The consistency policy for the Cosmos DB account.- Returns:
- the consistencyPolicy value.
-
withConsistencyPolicy
public DatabaseAccountCreateUpdateParameters withConsistencyPolicy(ConsistencyPolicy consistencyPolicy) Set the consistencyPolicy property: The consistency policy for the Cosmos DB account.- Parameters:
consistencyPolicy- the consistencyPolicy value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
locations
Get the locations property: An array that contains the georeplication locations enabled for the Cosmos DB account.- Returns:
- the locations value.
-
withLocations
Set the locations property: An array that contains the georeplication locations enabled for the Cosmos DB account.- Parameters:
locations- the locations value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
databaseAccountOfferType
Get the databaseAccountOfferType property: The offer type for the database.- Returns:
- the databaseAccountOfferType value.
-
withDatabaseAccountOfferType
public DatabaseAccountCreateUpdateParameters withDatabaseAccountOfferType(String databaseAccountOfferType) Set the databaseAccountOfferType property: The offer type for the database.- Parameters:
databaseAccountOfferType- the databaseAccountOfferType value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
ipRules
Get the ipRules property: List of IpRules.- Returns:
- the ipRules value.
-
withIpRules
Set the ipRules property: List of IpRules.- Parameters:
ipRules- the ipRules value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
isVirtualNetworkFilterEnabled
Get the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL rules.- Returns:
- the isVirtualNetworkFilterEnabled value.
-
withIsVirtualNetworkFilterEnabled
public DatabaseAccountCreateUpdateParameters withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled) Set the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL rules.- Parameters:
isVirtualNetworkFilterEnabled- the isVirtualNetworkFilterEnabled value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableAutomaticFailover
Get the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.- Returns:
- the enableAutomaticFailover value.
-
withEnableAutomaticFailover
public DatabaseAccountCreateUpdateParameters withEnableAutomaticFailover(Boolean enableAutomaticFailover) Set the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.- Parameters:
enableAutomaticFailover- the enableAutomaticFailover value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
capabilities
Get the capabilities property: List of Cosmos DB capabilities for the account.- Returns:
- the capabilities value.
-
withCapabilities
Set the capabilities property: List of Cosmos DB capabilities for the account.- Parameters:
capabilities- the capabilities value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
virtualNetworkRules
Get the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.- Returns:
- the virtualNetworkRules value.
-
withVirtualNetworkRules
public DatabaseAccountCreateUpdateParameters withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) Set the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.- Parameters:
virtualNetworkRules- the virtualNetworkRules value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableMultipleWriteLocations
Get the enableMultipleWriteLocations property: Enables the account to write in multiple locations.- Returns:
- the enableMultipleWriteLocations value.
-
withEnableMultipleWriteLocations
public DatabaseAccountCreateUpdateParameters withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations) Set the enableMultipleWriteLocations property: Enables the account to write in multiple locations.- Parameters:
enableMultipleWriteLocations- the enableMultipleWriteLocations value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableCassandraConnector
Get the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.- Returns:
- the enableCassandraConnector value.
-
withEnableCassandraConnector
public DatabaseAccountCreateUpdateParameters withEnableCassandraConnector(Boolean enableCassandraConnector) Set the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.- Parameters:
enableCassandraConnector- the enableCassandraConnector value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
connectorOffer
Get the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.- Returns:
- the connectorOffer value.
-
withConnectorOffer
Set the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.- Parameters:
connectorOffer- the connectorOffer value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
disableKeyBasedMetadataWriteAccess
Get the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases, containers, throughput) via account keys.- Returns:
- the disableKeyBasedMetadataWriteAccess value.
-
withDisableKeyBasedMetadataWriteAccess
public DatabaseAccountCreateUpdateParameters withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess) Set the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases, containers, throughput) via account keys.- Parameters:
disableKeyBasedMetadataWriteAccess- the disableKeyBasedMetadataWriteAccess value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
keyVaultKeyUri
Get the keyVaultKeyUri property: The URI of the key vault.- Returns:
- the keyVaultKeyUri value.
-
withKeyVaultKeyUri
Set the keyVaultKeyUri property: The URI of the key vault.- Parameters:
keyVaultKeyUri- the keyVaultKeyUri value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
defaultIdentity
Get the defaultIdentity property: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.- Returns:
- the defaultIdentity value.
-
withDefaultIdentity
Set the defaultIdentity property: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.- Parameters:
defaultIdentity- the defaultIdentity value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether requests from Public Network are allowed.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public DatabaseAccountCreateUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether requests from Public Network are allowed.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableFreeTier
Get the enableFreeTier property: Flag to indicate whether Free Tier is enabled.- Returns:
- the enableFreeTier value.
-
withEnableFreeTier
Set the enableFreeTier property: Flag to indicate whether Free Tier is enabled.- Parameters:
enableFreeTier- the enableFreeTier value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
apiProperties
Get the apiProperties property: API specific properties. Currently, supported only for MongoDB API.- Returns:
- the apiProperties value.
-
withApiProperties
Set the apiProperties property: API specific properties. Currently, supported only for MongoDB API.- Parameters:
apiProperties- the apiProperties value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableAnalyticalStorage
Get the enableAnalyticalStorage property: Flag to indicate whether to enable storage analytics.- Returns:
- the enableAnalyticalStorage value.
-
withEnableAnalyticalStorage
public DatabaseAccountCreateUpdateParameters withEnableAnalyticalStorage(Boolean enableAnalyticalStorage) Set the enableAnalyticalStorage property: Flag to indicate whether to enable storage analytics.- Parameters:
enableAnalyticalStorage- the enableAnalyticalStorage value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
analyticalStorageConfiguration
Get the analyticalStorageConfiguration property: Analytical storage specific properties.- Returns:
- the analyticalStorageConfiguration value.
-
withAnalyticalStorageConfiguration
public DatabaseAccountCreateUpdateParameters withAnalyticalStorageConfiguration(AnalyticalStorageConfiguration analyticalStorageConfiguration) Set the analyticalStorageConfiguration property: Analytical storage specific properties.- Parameters:
analyticalStorageConfiguration- the analyticalStorageConfiguration value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
createMode
Get the createMode property: Enum to indicate the mode of account creation.- Returns:
- the createMode value.
-
withCreateMode
Set the createMode property: Enum to indicate the mode of account creation.- Parameters:
createMode- the createMode value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
backupPolicy
Get the backupPolicy property: The object representing the policy for taking backups on an account.- Returns:
- the backupPolicy value.
-
withBackupPolicy
Set the backupPolicy property: The object representing the policy for taking backups on an account.- Parameters:
backupPolicy- the backupPolicy value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
cors
Get the cors property: The CORS policy for the Cosmos DB database account.- Returns:
- the cors value.
-
withCors
Set the cors property: The CORS policy for the Cosmos DB database account.- Parameters:
cors- the cors value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
networkAclBypass
Get the networkAclBypass property: Indicates what services are allowed to bypass firewall checks.- Returns:
- the networkAclBypass value.
-
withNetworkAclBypass
public DatabaseAccountCreateUpdateParameters withNetworkAclBypass(NetworkAclBypass networkAclBypass) Set the networkAclBypass property: Indicates what services are allowed to bypass firewall checks.- Parameters:
networkAclBypass- the networkAclBypass value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
networkAclBypassResourceIds
Get the networkAclBypassResourceIds property: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.- Returns:
- the networkAclBypassResourceIds value.
-
withNetworkAclBypassResourceIds
public DatabaseAccountCreateUpdateParameters withNetworkAclBypassResourceIds(List<String> networkAclBypassResourceIds) Set the networkAclBypassResourceIds property: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.- Parameters:
networkAclBypassResourceIds- the networkAclBypassResourceIds value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
disableLocalAuth
Get the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
restoreParameters
Get the restoreParameters property: Parameters to indicate the information about the restore.- Returns:
- the restoreParameters value.
-
withRestoreParameters
public DatabaseAccountCreateUpdateParameters withRestoreParameters(RestoreParameters restoreParameters) Set the restoreParameters property: Parameters to indicate the information about the restore.- Parameters:
restoreParameters- the restoreParameters value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
capacity
Get the capacity property: The object that represents all properties related to capacity enforcement on an account.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The object that represents all properties related to capacity enforcement on an account.- Parameters:
capacity- the capacity value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
keysMetadata
Get the keysMetadata property: This property is ignored during the update/create operation, as the metadata is read-only. The object represents the metadata for the Account Keys of the Cosmos DB account.- Returns:
- the keysMetadata value.
-
enablePartitionMerge
Get the enablePartitionMerge property: Flag to indicate enabling/disabling of Partition Merge feature on the account.- Returns:
- the enablePartitionMerge value.
-
withEnablePartitionMerge
Set the enablePartitionMerge property: Flag to indicate enabling/disabling of Partition Merge feature on the account.- Parameters:
enablePartitionMerge- the enablePartitionMerge value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
minimalTlsVersion
Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.- Returns:
- the minimalTlsVersion value.
-
withMinimalTlsVersion
public DatabaseAccountCreateUpdateParameters withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.- Parameters:
minimalTlsVersion- the minimalTlsVersion value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
enableBurstCapacity
Get the enableBurstCapacity property: Flag to indicate enabling/disabling of Burst Capacity feature on the account.- Returns:
- the enableBurstCapacity value.
-
withEnableBurstCapacity
Set the enableBurstCapacity property: Flag to indicate enabling/disabling of Burst Capacity feature on the account.- Parameters:
enableBurstCapacity- the enableBurstCapacity value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
customerManagedKeyStatus
Get the customerManagedKeyStatus property: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.- Returns:
- the customerManagedKeyStatus value.
-
withCustomerManagedKeyStatus
public DatabaseAccountCreateUpdateParameters withCustomerManagedKeyStatus(String customerManagedKeyStatus) Set the customerManagedKeyStatus property: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.- Parameters:
customerManagedKeyStatus- the customerManagedKeyStatus value to set.- Returns:
- the DatabaseAccountCreateUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classArmResourceProperties- Throws:
IOException
-
fromJson
public static DatabaseAccountCreateUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DatabaseAccountCreateUpdateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DatabaseAccountCreateUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DatabaseAccountCreateUpdateParameters.
-