How to create Azure Data Explorer Cluster Engine V2?

Chenghao Yang 41 Reputation points Microsoft Employee
2022-07-21T08:11:38.283+00:00

How to create Azure Data Explorer Cluster Engine V2?

I want to set up a follower database and source database is under Engine V2 cluster.

Now default created cluster is Engine V3, and no engine option can be selected.

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Alistair Ross 7,471 Reputation points Microsoft Employee
    2022-07-21T09:49:08.147+00:00

    HI @Chenghao Yang

    Is there any particular reason why you would want to use V2 instead of V3. V3 is fully compatible with V2 and provides greater performance. https://learn.microsoft.com/en-us/azure/data-explorer/engine-v3

    To answer your question, looking at the API, V2 is listed as an engine type under the create method. Using a slightly modified version of this template here, by adding in the engineType property, it has successfully deployed as V2 in my environment

    223049-adxv2.jpg

    {  
        "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",  
        "contentVersion": "1.0.0.0",  
        "parameters": {  
            "clusters_kustocluster_name": {  
                "defaultValue": "[concat('kusto', uniqueString(resourceGroup().id))]",  
                "type": "String",  
                "metadata": {  
                    "description": "Name of the cluster to create"  
                }  
            },  
            "databases_kustodb_name": {  
                "defaultValue": "kustodb",  
                "type": "String",  
                "metadata": {  
                    "description": "Name of the database to create"  
                }  
            },  
            "location": {  
                "defaultValue": "[resourceGroup().location]",  
                "type": "String",  
                "metadata": {  
                    "description": "Location for all resources."  
                }  
            }  
        },  
        "variables": {},  
        "resources": [  
            {  
                "type": "Microsoft.Kusto/clusters/databases",  
                "apiVersion": "2020-06-14",  
                "name": "[concat(parameters('clusters_kustocluster_name'), '/', parameters('databases_kustodb_name'))]",  
                "location": "[parameters('location')]",  
                "dependsOn": [  
                    "[resourceId('Microsoft.Kusto/clusters', parameters('clusters_kustocluster_name'))]"  
                ],  
                "properties": {  
                    "softDeletePeriodInDays": 365,  
                    "hotCachePeriodInDays": 31  
                }  
            },  
            {  
                "type": "Microsoft.Kusto/clusters",  
                "apiVersion": "2020-06-14",  
                "name": "[parameters('clusters_kustocluster_name')]",  
                "location": "[parameters('location')]",  
                "tags": {  
                    "Created By": "GitHub quickstart template"  
                },  
                "sku": {  
                    "name": "Dev(No SLA)_Standard_E2a_v4",  
                    "tier": "Basic",  
                    "capacity": 1  
                },  
                "properties": {  
                    "engineType": "V2"  
                }  
            }  
        ]  
    }  
    

0 additional answers

Sort by: Most helpful

Your answer

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