fetch account details from account id instead of context

This commit is contained in:
Bikram Choudhury
2025-10-28 16:57:55 +05:30
parent e002a4505c
commit 5ba7ce2f10
11 changed files with 201 additions and 142 deletions

View File

@@ -21,9 +21,9 @@ const version = "2025-05-01-preview";
"cosmos" | "managedCassandra" | "mongorbac" | "notebook" | "privateEndpointConnection" | "privateLinkResources" |
"rbac" | "restorable" | "services" | "dataTransferService"
*/
const githubResourceName = "cosmos-db";
const deResourceName = "cosmos";
const schemaURL = `https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/${version}/${githubResourceName}.json`;
const githubResourceName = "dataTransferService";
const deResourceName = "dataTransferService";
const schemaURL = `https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/${version}/${githubResourceName}.json`;
const outputDir = path.join(__dirname, `../../src/Utils/arm/generatedClients/${deResourceName}`);
// Array of strings to use for eventual output