How can you create a resource type: Microsoft.DBForPostgreSQL/serverGroupsv2

Katkar, Anuj 0 Reputation points
2025-02-18T12:12:59.4366667+00:00

Hi,
I am currently testing multiple Azure resource types, and am curious as to how this resource type can be created
Microsoft.DBForPostgreSQL/serverGroupsv2

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. NIKHILA NETHIKUNTA 4,525 Reputation points Microsoft Vendor
    2025-02-21T11:26:22.8733333+00:00

    @Katkar, Anuj
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Ask: Trying to create a resource type Microsoft.DBForPostgreSQL/serverGroupsv2 which is an Azure Flexible Server for PostgreSQL in a server group.

    Solution: The user created a CosmosDB for Postgres which uses Citus extension, that enabled viewing metrics under Microsoft.DBForPostgreSQL/serverGroupsv2

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Vinodh247 28,211 Reputation points MVP
    2025-02-18T14:19:51.06+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    The resource type Microsoft.DBForPostgreSQL/serverGroupsv2 refers to Azure Flexible Server for PostgreSQL in a server group. You can create this resource using different methods:

    Azure Portal:

    1. Navigate to Azure Portal.
    2. Search for "Azure Database for PostgreSQL Flexible Server".
    3. Click Create.
    4. Select subscription, resource group, and region.
    5. Choose Flexible Server mode.
    6. Configure compute, storage, and networking.
    7. Click Review + Create and deploy.

    Azure CLI:

    az postgres flexible-server create
    --resource-group <your-resource-group>
    --name <your-server-name>
    --location <your-location>
    --admin-user <your-admin-user>
    --admin-password <your-password>
    --sku-name Standard_B1ms
    --tier Burstable
    --storage-size 32

    Key Considerations

    • Ensure that Flexible Server is supported in your region.
    • Choose the right performance tier based on your workload.
    • Use private networking if security is a priority.
    • Configure high availability if needed.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.


  2. Katkar, Anuj 0 Reputation points
    2025-02-21T09:48:53.9333333+00:00

    Seems Azure renamed Citus server groups to CosmosDB for Postgres in late 2024.
    I created CosmosDB for Postgres which uses Citus extension, that enabled viewing metrics under Microsoft.DBForPostgreSQL/serverGroupsv2

    0 comments No comments

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.