Purpose of this article is to help you with few steps of commands to provision a new Azure Cosmos DB database instance through Azure CLI or Azure Cloud Shell. Here is the snippet: <# This Bash script should help you create a Azure Cosmos DB instance using Azure CLI with bare minimal configuration #> export […]
Read more →Search Results for: name
Getting Started with Azure CLI 2.0
Older days we used to manage azure resources through AzureRM PowerShell modules . This was very much flexible for any Azure Administrator or Developers to run Automated Deployments to Azure Resource Manager resources. Azure CLI is the next improved version with simplified cmdlets to make life easier and it is cross-platform. You can use Azure […]
Read more →NDepend–VSTS/Azure DevOps Integration–Part 01
In my previous article I wrote an introductory about NDepend and how it will be useful for Agile Team to ensure code quality. In that article we found how we can use NDepend in a developer machine. Now with this article we will familiarize ourselves in using NDepend in your build automation pipeline in your […]
Read more →PowerShell: Check a parameter/variable value is null
While you are writing PowerShell modules, with lot with parameters and you might want to verify these parameters are not ‘null’ to validate some business cases. In normal powershell inline scripting context, $variablename -eq “$null” would work : if ($varibalename -eq $null) { Write-Host "variable is null.Please supply the values for variablename." } RECOMMENDED APPROACH: […]
Read more →Query Routing: Intelligent Request Distribution for Cost-Efficient AI Systems
Introduction: Not all queries are equal—some need fast, cheap responses while others require deep reasoning. Query routing intelligently directs requests to the right model, index, or processing pipeline based on query characteristics. Route simple factual questions to smaller models, complex reasoning to GPT-4, and domain-specific queries to specialized indexes. This approach optimizes both cost and […]
Read more →Azure Cosmos DB – Programatically Connect to a preferred location using the SQL API
Cosmos Db is a multi-region scallable, globally-distributed database solution as part of Microsoft Azure Platform. With a button click, Azure Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure’s geographic regions. It offers throughput, latency, availability, and consistency guarantees with comprehensive service level agreements (SLAs), that no […]
Read more →