resolve autoscale save option

This commit is contained in:
hardiknai-techm
2021-03-31 17:02:03 +05:30
parent 8d206c39b1
commit 299c765e7b
2 changed files with 4 additions and 4 deletions

View File

@@ -273,7 +273,7 @@ export interface AutoPilotOfferSettings {
}
export interface CreateDatabaseParams {
autoPilotMaxThroughput?: number;
autoPilotMaxThroughput?: string;
databaseId: string;
databaseLevelThroughput?: boolean;
offerThroughput?: number;

View File

@@ -180,7 +180,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
};
if (isAutoPilotSelected) {
createDatabaseParams.autoPilotMaxThroughput = maxAutoPilotThroughputSet;
createDatabaseParams.autoPilotMaxThroughput = "" + maxAutoPilotThroughputSet;
} else {
createDatabaseParams.offerThroughput = addDatabasePaneStartMessage.offerThroughput;
}
@@ -375,7 +375,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
onCostAcknowledgeChange={(isAcknowledged: boolean) => setThroughputSpendAck(isAcknowledged)}
/>
{canRequestSupport && (
{canRequestSupport() && (
<p>
<a href="https://aka.ms/cosmosdbfeedback?subject=Cosmos%20DB%20More%20Throughput%20Request">
Contact support{" "}