add tooltip

This commit is contained in:
Tara Zou 2024-04-09 11:10:13 -04:00
parent 5e83b81540
commit bce026036b
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"DedicatedGatewayDescription": "Provision a dedicated gateway cluster for your Azure Cosmos DB account. A dedicated gateway is compute that is a front-end to data in your Azure Cosmos DB account. Your dedicated gateway automatically includes the integrated cache, which can improve read performance.",
"DedicatedGatewayDescription": "Provision a dedicated gateway cluster for your Azure Cosmos DB account. A dedicated gateway is compute that is a front-end to data in your Azure Cosmos DB account. You can configure your dedicated gateway cluster and choose which feature to deploy.",
"DedicatedGateway": "Dedicated Gateway",
"Provisioned": "Provisioned",
"Deprovisioned": "Deprovisioned",
@ -50,6 +50,8 @@
"MetricsText": "Monitor the CPU and memory usage for the dedicated gateway instances in ",
"MetricsBlade": "the metrics blade.",
"MonitorUsage": "Monitor Usage",
"DedicatedGatewayTypeText": "Each dedicated gateway feature comes with different benefits. ",
"DedicatedGatewayTypeLink": "Learn more about the dedicated gateway features.",
"ResizingDecisionText": "To understand if the dedicated gateway is the right size, ",
"ResizingDecisionLink": "learn more about dedicated gateway sizing.",
"WarningBannerOnUpdate": "Adding or modifying dedicated gateway instances may affect your bill.",

View File

@ -220,6 +220,14 @@ const getInstancesMax = async (): Promise<number> => {
return 5;
};
const DedicatedGatewayTypeDropdownInfo: Info = {
messageTKey: "DedicatedGatewayTypeText",
link: {
href: "https://aka.ms/cosmos-db-dedicated-gateway-size",
textTKey: "DedicatedGatewayTypeLink",
},
};
const NumberOfInstancesDropdownInfo: Info = {
messageTKey: "ResizingDecisionText",
link: {
@ -451,8 +459,9 @@ export default class SqlX extends SelfServeBaseClass {
enableDedicatedGateway: boolean;
@OnChange(onDedicatedGatewayTypeChange)
@PropertyInfo(DedicatedGatewayTypeDropdownInfo)
@Values({
labelTKey: "Dedicated Gateway Type",
labelTKey: "Dedicated Gateway Features",
choices: getDedicatedGatewayType,
placeholderTKey: "DedicatedGatewayTypePlaceHolder",
})