CmdID / az / az cosmosdb / az cosmosdb sql
az cosmosdb sql trigger
Manage Azure Cosmos DB SQL triggers. Azure CLI reference
5 commands 7 options Its page in the Azure CLI reference
Commands
createCreate an SQL trigger under an Azure Cosmos DB SQL container.deleteDelete the SQL trigger under an Azure Cosmos DB SQL container.listList the SQL triggers under an Azure Cosmos DB SQL container.showShow the details of a SQL trigger under an Azure Cosmos DB SQL container.updateUpdates an Azure Cosmos DB SQL triggerOptions
--account-name, -aCosmosdb account name.--body, -bTrigger body, you can enter it as a string or as a file, e.g., --body @triggerbody-file.json--container-name, -cContainer name.--database-name, -dDatabase name.--name, -nTrigger name--operationThe operation of the trigger.--type, -tTrigger type