Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge] Kusto: Add support for attached databases #5933

Closed
wants to merge 9 commits into from
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2019-01-21",
"parameters": {
"location": "westus",
"properties": {
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"201": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2019-01-21"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2019-01-21"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2019-01-21"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2019-01-21",
"followerDatabasesToRemove": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader3",
"databaseName": "db1"
}
},
"responses": {
"200": {
"body": {
"value": [
{
"clusterResourceId": [
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader1",
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader2"
],
"databaseName": "*"
},
{
"clusterResourceId": [
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4"
],
"databaseName": "db1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2019-01-21"
},
"responses": {
"200": {
"body": {
"value": [
{
"clusterResourceId": [
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader1",
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader2"
],
"databaseName": "*"
},
{
"clusterResourceId": [
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader3",
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4"
],
"databaseName": "db1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"api-version": "2019-01-21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"parameters": {
"location": "westus",
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -24,7 +24,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -40,7 +40,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
Expand All @@ -16,7 +16,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"api-version": "2019-01-21"
Expand All @@ -16,7 +16,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -30,7 +30,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
Expand All @@ -17,7 +17,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand All @@ -31,7 +31,7 @@
"provisioningState": "Succeeded"
},
"sku": {
"name": "L8",
"name": "Standard_L8s",
"capacity": 2,
"tier": "Standard"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
Expand All @@ -12,7 +12,7 @@
{
"resourceType": "clusters",
"sku": {
"name": "D13_v2",
"name": "Standard_D13_v2",
"tier": "Standard"
},
"capacity": {
Expand All @@ -25,7 +25,7 @@
{
"resourceType": "clusters",
"sku": {
"name": "D14_v2",
"name": "Standard_D14_v2",
"tier": "Standard"
},
"capacity": {
Expand All @@ -38,7 +38,7 @@
{
"resourceType": "clusters",
"sku": {
"name": "L8",
"name": "Standard_L8s",
"tier": "Standard"
},
"capacity": {
Expand All @@ -51,7 +51,7 @@
{
"resourceType": "clusters",
"sku": {
"name": "L16",
"name": "Standard_L16s",
"tier": "Standard"
},
"capacity": {
Expand Down
Loading