/* AUTOGENERATED FILE Run "npm run generateARMClients" to regenerate Edting this file directly should be done with extreme caution as not to diverge from ARM REST specs Generated from: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-09-15-preview/cosmos-db.json */ import { armRequest } from "../../request"; import * as Types from "./types"; import { configContext } from "../../../../ConfigContext"; const apiVersion = "2023-09-15-preview"; /* Lists all of the available Cosmos DB Resource Provider operations. */ export async function list(): Promise { const path = `/providers/Microsoft.DocumentDB/operations`; return armRequest({ host: configContext.ARM_ENDPOINT, path, method: "GET", apiVersion }); }