Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5869,15 +5869,15 @@
},
"ThroughputSettingsResource": {
"type": "object",
"description": "Cosmos DB resource throughput object. Either throughput is required or autopilotSettings is required, but not both.",
"description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both.",
"properties": {
"throughput": {
"type": "integer",
"description": "Value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both."
"description": "Value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both."
},
"autopilotSettings": {
"description": "Cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.",
"$ref": "#/definitions/AutopilotSettingsResource"
"provisionedThroughputSettings": {
"description": "Cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.",
"$ref": "#/definitions/ProvisionedThroughputSettingsResource"
},
"minimumThroughput": {
"type": "string",
Expand All @@ -5891,21 +5891,21 @@
}
}
},
"AutopilotSettingsResource": {
"ProvisionedThroughputSettingsResource": {
"type": "object",
"description": "Cosmos DB autopilot settings object",
"description": "Cosmos DB provisioned throughput settings object",
"properties": {
"maxThroughput": {
"type": "integer",
"description": "Represents max throughput an autopilot container can operate at."
"description": "Represents maximum throughput container can scale up to."
},
"autoUpgradePolicy": {
"description": "Cosmos DB resource auto-upgrade policy",
"$ref": "#/definitions/AutoUpgradePolicyResource"
},
"targetMaxThroughput": {
"type": "integer",
"description": "Represents target max throughput an autopilot container should operate at once offer is no longer in pending state.",
"description": "Represents target maximum throughput container can scale up to once offer is no longer in pending state.",
"readOnly": true
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5884,11 +5884,15 @@
},
"ThroughputSettingsResource": {
"type": "object",
"description": "Cosmos DB resource throughput object",
"description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both.",
"properties": {
"throughput": {
"type": "integer",
"description": "Value of the Cosmos DB resource throughput"
"description": "Value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both."
},
"provisionedThroughputSettings": {
"description": "Cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.",
"$ref": "#/definitions/ProvisionedThroughputSettingsResource"
},
"minimumThroughput": {
"type": "string",
Expand All @@ -5900,11 +5904,54 @@
"description": "The throughput replace is pending",
"readOnly": true
}
}
},
"ProvisionedThroughputSettingsResource": {
"type": "object",
"description": "Cosmos DB provisioned throughput settings object",
"properties": {
"maxThroughput": {
"type": "integer",
"description": "Represents maximum throughput container can scale up to."
},
"autoUpgradePolicy": {
"description": "Cosmos DB resource auto-upgrade policy",
"$ref": "#/definitions/AutoUpgradePolicyResource"
},
"targetMaxThroughput": {
"type": "integer",
"description": "Represents target maximum throughput container can scale up to once offer is no longer in pending state.",
"readOnly": true
}
},
"required": [
"throughput"
"maxThroughput"
]
},
"AutoUpgradePolicyResource": {
"type": "object",
"description": "Cosmos DB resource auto-upgrade policy",
"properties": {
"throughputPolicy": {
"description": "Represents throughput policy which service must adhere to for auto-upgrade",
"$ref": "#/definitions/ThroughputPolicyResource"
}
}
},
"ThroughputPolicyResource": {
"type": "object",
"description": "Cosmos DB resource throughput policy",
"properties": {
"isEnabled": {
"type": "boolean",
"description": "Determines whether the ThroughputPolicy is active or not"
},
"incrementPercent": {
"type": "integer",
"description": "Represents the percentage by which throughput can increase every time throughput policy kicks in."
}
}
},
"SqlDatabaseResource": {
"type": "object",
"description": "Cosmos DB SQL database resource object",
Expand Down Expand Up @@ -6545,6 +6592,12 @@
},
"CreateUpdateOptions": {
"type": "object",
"properties": {
"throughput": {
"type": "string",
"description": "Request Units per second. For example, \"throughput\": \"10000\"."
}
},
"additionalProperties": {
"type": "string"
},
Expand Down