Fix the keys blade links to point to the common connection strings (#2417)

blade.
This commit is contained in:
jawelton74
2026-03-06 10:12:24 -08:00
committed by GitHub
parent b256ac1e1f
commit dafb257fa3
3 changed files with 5 additions and 22 deletions

View File

@@ -37,7 +37,7 @@ const connectionStringValue: Description = {
textTKey: "ConnectionStringText",
type: DescriptionType.Text,
link: {
href: generateBladeLink(BladeType.SqlKeys),
href: generateBladeLink(BladeType.ConnectionStrings),
textTKey: "KeysBlade",
},
};

View File

@@ -41,27 +41,10 @@ export enum SelfServeType {
*/
export enum BladeType {
/**
* Keys blade of a Azure Cosmos DB for NoSQL account.
* Connection Strings blade of a Azure Cosmos DB account.
*/
SqlKeys = "keys",
/**
* Keys blade of a Azure Cosmos DB for MongoDB account.
*/
MongoKeys = "mongoDbKeys",
/**
* Keys blade of a Azure Cosmos DB for Apache Cassandra account.
*/
CassandraKeys = "cassandraDbKeys",
/**
* Keys blade of a Azure Cosmos DB for Apache Gremlin account.
*/
// TODO This is a obviously a bug, but for now, let's ignore the eslint error
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
GremlinKeys = "keys",
/**
* Keys blade of a Azure Cosmos DB for Table account.
*/
TableKeys = "tableKeys",
ConnectionStrings = "Connection%20strings",
/**
* Metrics blade of an Azure Cosmos DB account.
*/

View File

@@ -44,7 +44,7 @@ const connectionStringValue: Description = {
textTKey: "ConnectionStringText",
type: DescriptionType.Text,
link: {
href: generateBladeLink(BladeType.SqlKeys),
href: generateBladeLink(BladeType.ConnectionStrings),
textTKey: "KeysBlade",
},
};