diff --git a/sdk/cosmos/mgmt-v2019_12_12/pom.xml b/sdk/cosmos/mgmt-v2019_12_12/pom.xml
index 0c9ad69a6044..c314cc1c0c30 100644
--- a/sdk/cosmos/mgmt-v2019_12_12/pom.xml
+++ b/sdk/cosmos/mgmt-v2019_12_12/pom.xml
@@ -11,7 +11,7 @@
com.microsoft.azure
azure-arm-parent
- 1.3.0
+ 1.1.0
../../../pom.management.xml
azure-mgmt-cosmosdb
diff --git a/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ProvisionedThroughputSettingsResource.java b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ProvisionedThroughputSettingsResource.java
new file mode 100644
index 000000000000..63a9f24afa00
--- /dev/null
+++ b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ProvisionedThroughputSettingsResource.java
@@ -0,0 +1,85 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.cosmosdb.v2019_12_12;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Cosmos DB provisioned throughput settings object.
+ */
+public class ProvisionedThroughputSettingsResource {
+ /**
+ * Represents maximum throughput container can scale up to.
+ */
+ @JsonProperty(value = "maxThroughput", required = true)
+ private int maxThroughput;
+
+ /**
+ * Cosmos DB resource auto-upgrade policy.
+ */
+ @JsonProperty(value = "autoUpgradePolicy")
+ private AutoUpgradePolicyResource autoUpgradePolicy;
+
+ /**
+ * Represents target maximum throughput container can scale up to once
+ * offer is no longer in pending state.
+ */
+ @JsonProperty(value = "targetMaxThroughput", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer targetMaxThroughput;
+
+ /**
+ * Get represents maximum throughput container can scale up to.
+ *
+ * @return the maxThroughput value
+ */
+ public int maxThroughput() {
+ return this.maxThroughput;
+ }
+
+ /**
+ * Set represents maximum throughput container can scale up to.
+ *
+ * @param maxThroughput the maxThroughput value to set
+ * @return the ProvisionedThroughputSettingsResource object itself.
+ */
+ public ProvisionedThroughputSettingsResource withMaxThroughput(int maxThroughput) {
+ this.maxThroughput = maxThroughput;
+ return this;
+ }
+
+ /**
+ * Get cosmos DB resource auto-upgrade policy.
+ *
+ * @return the autoUpgradePolicy value
+ */
+ public AutoUpgradePolicyResource autoUpgradePolicy() {
+ return this.autoUpgradePolicy;
+ }
+
+ /**
+ * Set cosmos DB resource auto-upgrade policy.
+ *
+ * @param autoUpgradePolicy the autoUpgradePolicy value to set
+ * @return the ProvisionedThroughputSettingsResource object itself.
+ */
+ public ProvisionedThroughputSettingsResource withAutoUpgradePolicy(AutoUpgradePolicyResource autoUpgradePolicy) {
+ this.autoUpgradePolicy = autoUpgradePolicy;
+ return this;
+ }
+
+ /**
+ * Get represents target maximum throughput container can scale up to once offer is no longer in pending state.
+ *
+ * @return the targetMaxThroughput value
+ */
+ public Integer targetMaxThroughput() {
+ return this.targetMaxThroughput;
+ }
+
+}
diff --git a/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsGetPropertiesResource.java b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsGetPropertiesResource.java
index b2d19df2103a..ccf669913268 100644
--- a/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsGetPropertiesResource.java
+++ b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsGetPropertiesResource.java
@@ -16,17 +16,18 @@
public class ThroughputSettingsGetPropertiesResource {
/**
* Value of the Cosmos DB resource throughput. Either throughput is
- * required or autopilotSettings is required, but not both.
+ * required or provisionedThroughputSettings is required, but not both.
*/
@JsonProperty(value = "throughput")
private Integer throughput;
/**
- * Cosmos DB resource for Autopilot settings. Either throughput is required
- * or autopilotSettings is required, but not both.
+ * Cosmos DB resource for provisioned throughput settings. Either
+ * throughput is required or provisionedThroughputSettings is required, but
+ * not both.
*/
- @JsonProperty(value = "autopilotSettings")
- private AutopilotSettingsResource autopilotSettings;
+ @JsonProperty(value = "provisionedThroughputSettings")
+ private ProvisionedThroughputSettingsResource provisionedThroughputSettings;
/**
* The minimum throughput of the resource.
@@ -61,7 +62,7 @@ public class ThroughputSettingsGetPropertiesResource {
private String _etag;
/**
- * Get value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
+ * Get value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
* @return the throughput value
*/
@@ -70,7 +71,7 @@ public Integer throughput() {
}
/**
- * Set value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
+ * Set value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
* @param throughput the throughput value to set
* @return the ThroughputSettingsGetPropertiesResource object itself.
@@ -81,22 +82,22 @@ public ThroughputSettingsGetPropertiesResource withThroughput(Integer throughput
}
/**
- * Get cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
+ * Get cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
- * @return the autopilotSettings value
+ * @return the provisionedThroughputSettings value
*/
- public AutopilotSettingsResource autopilotSettings() {
- return this.autopilotSettings;
+ public ProvisionedThroughputSettingsResource provisionedThroughputSettings() {
+ return this.provisionedThroughputSettings;
}
/**
- * Set cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
+ * Set cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
- * @param autopilotSettings the autopilotSettings value to set
+ * @param provisionedThroughputSettings the provisionedThroughputSettings value to set
* @return the ThroughputSettingsGetPropertiesResource object itself.
*/
- public ThroughputSettingsGetPropertiesResource withAutopilotSettings(AutopilotSettingsResource autopilotSettings) {
- this.autopilotSettings = autopilotSettings;
+ public ThroughputSettingsGetPropertiesResource withProvisionedThroughputSettings(ProvisionedThroughputSettingsResource provisionedThroughputSettings) {
+ this.provisionedThroughputSettings = provisionedThroughputSettings;
return this;
}
diff --git a/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsResource.java b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsResource.java
index 01320f65d00b..dee14539faa8 100644
--- a/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsResource.java
+++ b/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/ThroughputSettingsResource.java
@@ -12,22 +12,23 @@
/**
* Cosmos DB resource throughput object. Either throughput is required or
- * autopilotSettings is required, but not both.
+ * provisionedThroughputSettings is required, but not both.
*/
public class ThroughputSettingsResource {
/**
* Value of the Cosmos DB resource throughput. Either throughput is
- * required or autopilotSettings is required, but not both.
+ * required or provisionedThroughputSettings is required, but not both.
*/
@JsonProperty(value = "throughput")
private Integer throughput;
/**
- * Cosmos DB resource for Autopilot settings. Either throughput is required
- * or autopilotSettings is required, but not both.
+ * Cosmos DB resource for provisioned throughput settings. Either
+ * throughput is required or provisionedThroughputSettings is required, but
+ * not both.
*/
- @JsonProperty(value = "autopilotSettings")
- private AutopilotSettingsResource autopilotSettings;
+ @JsonProperty(value = "provisionedThroughputSettings")
+ private ProvisionedThroughputSettingsResource provisionedThroughputSettings;
/**
* The minimum throughput of the resource.
@@ -42,7 +43,7 @@ public class ThroughputSettingsResource {
private String offerReplacePending;
/**
- * Get value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
+ * Get value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
* @return the throughput value
*/
@@ -51,7 +52,7 @@ public Integer throughput() {
}
/**
- * Set value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
+ * Set value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
* @param throughput the throughput value to set
* @return the ThroughputSettingsResource object itself.
@@ -62,22 +63,22 @@ public ThroughputSettingsResource withThroughput(Integer throughput) {
}
/**
- * Get cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
+ * Get cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
- * @return the autopilotSettings value
+ * @return the provisionedThroughputSettings value
*/
- public AutopilotSettingsResource autopilotSettings() {
- return this.autopilotSettings;
+ public ProvisionedThroughputSettingsResource provisionedThroughputSettings() {
+ return this.provisionedThroughputSettings;
}
/**
- * Set cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
+ * Set cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.
*
- * @param autopilotSettings the autopilotSettings value to set
+ * @param provisionedThroughputSettings the provisionedThroughputSettings value to set
* @return the ThroughputSettingsResource object itself.
*/
- public ThroughputSettingsResource withAutopilotSettings(AutopilotSettingsResource autopilotSettings) {
- this.autopilotSettings = autopilotSettings;
+ public ThroughputSettingsResource withProvisionedThroughputSettings(ProvisionedThroughputSettingsResource provisionedThroughputSettings) {
+ this.provisionedThroughputSettings = provisionedThroughputSettings;
return this;
}