Is Apply Free Tier Discount valid when creating an Azure Cosmos DB account with the Azure CLI?

Yuji Masaoka 56 Reputation points
2020-07-07T15:00:13.537+00:00

I would like to create an Azure Cosmos DB account with Apply Free Tier Discount enabled using the Azure CLI.
However, I didn't find any information that could be set as a parameter, even when I looked at the latest Azure CLI documentation.
Is Apply Free Tier Discount automatically activated?

In Azure/Azure-quickstart-templates/101-cosmosdb-free/azuredeploy.json on GitHub, enableFreeTier was set as a parameter, so I'm wondering if the Azure CLI requires the same operation.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,632 questions
{count} votes

Accepted answer
  1. KalyanChanumolu-MSFT 8,331 Reputation points
    2020-07-08T09:07:34.097+00:00

    @mappie-kochi Thank you for reaching out.

    The -EnableFreeTier flag is available on powershell but not on CLI yet.
    It should be available shortly. The documentation will be updated here when it is available.


    If an Answer is helpful, please “Accept Answer” or Up-Vote for the same which might be beneficial to other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.