+
+ )}
{isAutoscaleSelected && (
-
- Estimate your required RU/s with{" "}
-
- capacity calculator
-
- .
+
+ Your container throughput will automatically scale up to the maximum value you select, from a minimum of 10%
+ of that value.
+
+
+
+
+ Minimum RU/s
+
+ The minimum RU/s your container will scale to
+
+
+ {Math.round(throughput / 10).toString()}
+
+
-
-
- {isDatabase ? "Database" : getCollectionName()} Max RU/s
+
+ x 10 =
- {getAutoScaleTooltip()}
+
+
+
+
+ Maximum RU/s
+
+ {getAutoScaleTooltip()}
+
+ onThroughputValueChange(newInput)}
+ step={AutoPilotUtils.autoPilotIncrementStep}
+ min={AutoPilotUtils.autoPilotThroughput1K}
+ max={isSharded ? Number.MAX_SAFE_INTEGER.toString() : "10000"}
+ value={throughput.toString()}
+ ariaLabel={`${isDatabase ? "Database" : getCollectionName()} max RU/s`}
+ required={true}
+ errorMessage={throughputError}
+ />
+
- onThroughputValueChange(newInput)}
- step={AutoPilotUtils.autoPilotIncrementStep}
- min={AutoPilotUtils.autoPilotThroughput1K}
- max={isSharded ? Number.MAX_SAFE_INTEGER.toString() : "10000"}
- value={throughput.toString()}
- ariaLabel={`${isDatabase ? "Database" : getCollectionName()} max RU/s`}
- required={true}
- errorMessage={throughputError}
- />
-
-
- Your {isDatabase ? "database" : getCollectionName().toLocaleLowerCase()} throughput will automatically scale
- from{" "}
-
- {AutoPilotUtils.getMinRUsBasedOnUserInput(throughput)} RU/s (10% of max RU/s) - {throughput} RU/s
- {" "}
- based on usage.
-
+
+
+
+ Estimate your required RU/s with
+
+ capacity calculator
+
+ .
+
+
+
)}
@@ -298,7 +342,6 @@ export const ThroughputInput: FunctionComponent = ({
{getAutoScaleTooltip()}
-
= ({
errorMessage={throughputError}
/>
+
)}
-
-
{throughput > SharedConstants.CollectionCreation.DefaultCollectionRUs100K && (
- Estimate your required RU/s with
-
-
-
-
- capacity calculator
-
-
-
- .
+ Your container throughput will automatically scale up to the maximum value you select, from a minimum of 10% of that value.
-
+
+
+
+
+
+ Minimum RU/s
+
+
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+ The minimum RU/s your container will scale to
+
+
+
+
+
+
+
+
+
+
+ 400
+
+
+
+
+
- Container
- Max RU/s
+ x 10 =
-
-
-
+
-
+
+
+ Maximum RU/s
+
+
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+ Set the max RU/s to the highest RU/s you want your container to scale to. The container will scale between 10% of max RU/s to the max RU/s based on usage.
+
+
+
+
+
+
+
+
+
+
-
-
-
- 
-
-
-
- Set the max RU/s to the highest RU/s you want your container to scale to. The container will scale between 10% of max RU/s to the max RU/s based on usage.
+
- When a query reaches a specified time limit, a popup with an option to cancel the query will show
- unless automatic cancellation has been enabled.
-
-
-
- {queryTimeoutEnabled && (
-
-
-
-
- )}
-
-
-
-
-
-
RU Limit
-
-
-
-
- If a query exceeds a configured RU limit, the query will be aborted.
-
-
-
- {ruThresholdEnabled && (
-
-
-
- )}
-
-
-
-
-
-
Default Query Results View
-
-
-
-
- Select the default view to use when displaying query results.
+ Choose Custom to specify a fixed amount of query results to show, or choose Unlimited to show as
+ many query results per page.
+
+
+ {isCustomPageOptionSelected() && (
+
+
+ Query results per page{" "}
+
+ Enter the number of query results that should be shown per page.
+
+
- Max retry attempts
-
- Max number of retries to be performed for a request. Default value 9.
-
+
+
+ )}
+ {userContext.apiType === "SQL" && !isEmulator && (
+ <>
+
+
+
Query Timeout
+
+
+
+
+ When a query reaches a specified time limit, a popup with an option to cancel the query will
+ show unless automatic cancellation has been enabled.
+
+
+
+ {queryTimeoutEnabled && (
+
+
+
+
+ )}
+
+
+
+
+
RU Limit
+
+
+
+
+ If a query exceeds a configured RU limit, the query will be aborted.
+
+
+
+ {ruThresholdEnabled && (
+
+
+
+ )}
+
+
+
+
+
+
Default Query Results View
+
+
+
+
+ Select the default view to use when displaying query results.
+
+
+
+
+
+ >
+ )}
+
+ {showRetrySettings && (
+
+
+
Retry Settings
+
+
+
+
+ Retry policy associated with throttled requests during CosmosDB queries.
+
+
+ Max retry attempts
+
+ Max number of retries to be performed for a request. Default value 9.
+
+
+ Fixed retry interval (ms)
+
+ Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned
+ as part of the response. Default value is 0 milliseconds.
+
+
- Fixed retry interval (ms)
-
- Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned
- as part of the response. Default value is 0 milliseconds.
-
+
+
+ )}
+ {!isEmulator && (
+
+
+
Enable container pagination
+
+
+
+
+ Load 50 containers at a time. Currently, containers are not pulled in alphanumeric order.
+
- Max wait time (s)
-
- Max wait time in seconds to wait for a request while the retries are happening. Default value 30
- seconds.
-
+
+
+ )}
+ {shouldShowCrossPartitionOption && (
+
+
+
Enable cross-partition query
+
+
+
+
+ Send more than one request while executing a query. More than one request is necessary if the
+ query is not scoped to single partition key value.
+
- Send more than one request while executing a query. More than one request is necessary if the query
- is not scoped to single partition key value.
+
+
+ )}
+ {shouldShowParallelismOption && (
+
+
+
Max degree of parallelism
+
+
+
+
+ Gets or sets the number of concurrent operations run client side during parallel query execution.
+ A positive property value limits the number of concurrent operations to the set value. If it is
+ set to less than 0, the system automatically decides the number of concurrent operations to run.
+
- Gets or sets the number of concurrent operations run client side during parallel query execution. A
- positive property value limits the number of concurrent operations to the set value. If it is set to
- less than 0, the system automatically decides the number of concurrent operations to run.
+
+
+ )}
+ {shouldShowPriorityLevelOption && (
+
+
+
Priority Level
+
+
+
+
+ Sets the priority level for data-plane requests from Data Explorer when using Priority-Based
+ Execution. If "None" is selected, Data Explorer will not specify priority level, and the
+ server-side default priority level will be used.
+
- Sets the priority level for data-plane requests from Data Explorer when using Priority-Based
- Execution. If "None" is selected, Data Explorer will not specify priority level, and the
- server-side default priority level will be used.
+
+
+ )}
+ {shouldShowGraphAutoVizOption && (
+
+
+
Display Gremlin query results as:
+
+
+
+
+ Select Graph to automatically visualize the query results as a Graph or JSON to display the
+ results as JSON.
+
- Select Graph to automatically visualize the query results as a Graph or JSON to display the results
- as JSON.
+
+
+ )}
+ {shouldShowCopilotSampleDBOption && (
+
+
+
Enable sample database
+
+
+
+
+ This is a sample database and collection with synthetic product data you can use to explore using
+ NoSQL queries. This will appear as another database in the Data Explorer UI, and is created by,
+ and maintained by Microsoft at no cost to you.
+
- This is a sample database and collection with synthetic product data you can use to explore using
- NoSQL queries and Query Advisor. This will appear as another database in the Data Explorer UI, and
- is created by, and maintained by Microsoft at no cost to you.
+
+
+ )}
+ {shouldShowMongoGuidRepresentationOption && (
+
+
+
Guid Representation
+
+
+
+
+ GuidRepresentation in MongoDB refers to how Globally Unique Identifiers (GUIDs) are serialized and
+ deserialized when stored in BSON documents. This will apply to all document operations.
+