mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
resolve autoscale save option
This commit is contained in:
@@ -273,7 +273,7 @@ export interface AutoPilotOfferSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateDatabaseParams {
|
export interface CreateDatabaseParams {
|
||||||
autoPilotMaxThroughput?: number;
|
autoPilotMaxThroughput?: string;
|
||||||
databaseId: string;
|
databaseId: string;
|
||||||
databaseLevelThroughput?: boolean;
|
databaseLevelThroughput?: boolean;
|
||||||
offerThroughput?: number;
|
offerThroughput?: number;
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (isAutoPilotSelected) {
|
if (isAutoPilotSelected) {
|
||||||
createDatabaseParams.autoPilotMaxThroughput = maxAutoPilotThroughputSet;
|
createDatabaseParams.autoPilotMaxThroughput = "" + maxAutoPilotThroughputSet;
|
||||||
} else {
|
} else {
|
||||||
createDatabaseParams.offerThroughput = addDatabasePaneStartMessage.offerThroughput;
|
createDatabaseParams.offerThroughput = addDatabasePaneStartMessage.offerThroughput;
|
||||||
}
|
}
|
||||||
@@ -375,7 +375,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
|
|||||||
onCostAcknowledgeChange={(isAcknowledged: boolean) => setThroughputSpendAck(isAcknowledged)}
|
onCostAcknowledgeChange={(isAcknowledged: boolean) => setThroughputSpendAck(isAcknowledged)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{canRequestSupport && (
|
{canRequestSupport() && (
|
||||||
<p>
|
<p>
|
||||||
<a href="https://aka.ms/cosmosdbfeedback?subject=Cosmos%20DB%20More%20Throughput%20Request">
|
<a href="https://aka.ms/cosmosdbfeedback?subject=Cosmos%20DB%20More%20Throughput%20Request">
|
||||||
Contact support{" "}
|
Contact support{" "}
|
||||||
|
|||||||
Reference in New Issue
Block a user