Skip to content

Commit 1cdc143

Browse files
authored
fix-e2e-test-for-codegen (Azure#12)
* fix-e2e-test-for-codegen * fix-location error * fix-sku error * fix-kusto-e2e-codegen-test
1 parent 8203cf0 commit 1cdc143

20 files changed

Lines changed: 66 additions & 64 deletions

specification/datafactory/resource-manager/readme.az.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ az:
1111
disable-checks: true
1212
az-output-folder: $(azure-cli-extension-folder)/src/datafactory
1313
python-sdk-output-folder: "$(az-output-folder)/azext_datafactory/vendored_sdks/datafactory"
14-
sdk-flatten: true
1514

1615
input-file:
1716
- Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
77
"api-version": "2020-06-14",
88
"parameters": {
9-
"location": "westus",
9+
"location": "southcentralus",
1010
"properties": {
1111
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
1212
"databaseName": "kustodatabase",
@@ -20,7 +20,7 @@
2020
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
2121
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
2222
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
23-
"location": "westus",
23+
"location": "southcentralus",
2424
"properties": {
2525
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
2626
"databaseName": "db1",
@@ -34,7 +34,7 @@
3434
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
3535
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
3636
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
37-
"location": "westus",
37+
"location": "southcentralus",
3838
"properties": {
3939
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
4040
"databaseName": "db1",
@@ -48,7 +48,7 @@
4848
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
4949
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
5050
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
51-
"location": "westus",
51+
"location": "southcentralus",
5252
"properties": {
5353
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
5454
"databaseName": "db1",

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsGet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
1313
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
1414
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
15-
"location": "westus",
15+
"location": "southcentralus",
1616
"properties": {
1717
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
1818
"databaseName": "*",

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoAttachedDatabaseConfigurationsListByCluster.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
1414
"name": "KustoClusterRPTest4/KustoDatabase8",
1515
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
16-
"location": "westus",
16+
"location": "southcentralus",
1717
"properties": {
1818
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
1919
"databaseName": "db1",
@@ -25,7 +25,7 @@
2525
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
2626
"name": "KustoClusterRPTest4/KustoDatabase9",
2727
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
28-
"location": "westus",
28+
"location": "southcentralus",
2929
"properties": {
3030
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
3131
"databaseName": "db1",

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersCreateOrUpdate.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"clusterName": "kustoclusterrptest4",
66
"api-version": "2020-06-14",
77
"parameters": {
8-
"location": "westus",
8+
"location": "southcentralus",
99
"sku": {
10-
"name": "Standard_L8s",
10+
"name": "Standard_D11_v2",
1111
"capacity": 2,
1212
"tier": "Standard"
1313
},
@@ -27,7 +27,7 @@
2727
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
2828
"name": "KustoClusterRPTest4",
2929
"type": "Microsoft.Kusto/Clusters",
30-
"location": "westus",
30+
"location": "southcentralus",
3131
"properties": {
3232
"provisioningState": "Succeeded",
3333
"enableStreamingIngest": true,
@@ -40,7 +40,7 @@
4040
}
4141
},
4242
"sku": {
43-
"name": "Standard_L8s",
43+
"name": "Standard_D11_v2",
4444
"capacity": 2,
4545
"tier": "Standard"
4646
},
@@ -57,7 +57,7 @@
5757
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
5858
"name": "KustoClusterRPTest4",
5959
"type": "Microsoft.Kusto/Clusters",
60-
"location": "westus",
60+
"location": "southcentralus",
6161
"properties": {
6262
"provisioningState": "Succeeded",
6363
"enableStreamingIngest": true,
@@ -70,7 +70,7 @@
7070
}
7171
},
7272
"sku": {
73-
"name": "Standard_L8s",
73+
"name": "Standard_D11_v2",
7474
"capacity": 2,
7575
"tier": "Standard"
7676
},

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersGet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
1212
"name": "KustoClusterRPTest4",
1313
"type": "Microsoft.Kusto/Clusters",
14-
"location": "westus",
14+
"location": "southcentralus",
1515
"properties": {
1616
"provisioningState": "Succeeded",
1717
"enableStreamingIngest": true,
@@ -23,7 +23,7 @@
2323
}
2424
},
2525
"sku": {
26-
"name": "Standard_L8s",
26+
"name": "Standard_D11_v2",
2727
"capacity": 2,
2828
"tier": "Standard"
2929
},

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersList.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
1212
"name": "KustoClusterRPTest4",
1313
"type": "Microsoft.Kusto/Clusters",
14-
"location": "westus",
14+
"location": "southcentralus",
1515
"properties": {
1616
"provisioningState": "Succeeded",
1717
"keyVaultProperties": {
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"sku": {
24-
"name": "Standard_L8s",
24+
"name": "Standard_D11_v2",
2525
"capacity": 2,
2626
"tier": "Standard"
2727
}
@@ -30,12 +30,12 @@
3030
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
3131
"name": "KustoClusterRPTest3",
3232
"type": "Microsoft.Kusto/Clusters",
33-
"location": "westus",
33+
"location": "southcentralus",
3434
"properties": {
3535
"provisioningState": "Succeeded"
3636
},
3737
"sku": {
38-
"name": "Standard_L8s",
38+
"name": "Standard_D11_v2",
3939
"capacity": 2,
4040
"tier": "Standard"
4141
}

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListByResourceGroup.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
1313
"name": "KustoClusterRPTest4",
1414
"type": "Microsoft.Kusto/Clusters",
15-
"location": "westus",
15+
"location": "southcentralus",
1616
"properties": {
1717
"provisioningState": "Succeeded",
1818
"keyVaultProperties": {
@@ -22,7 +22,7 @@
2222
}
2323
},
2424
"sku": {
25-
"name": "Standard_L8s",
25+
"name": "Standard_D11_v2",
2626
"capacity": 2,
2727
"tier": "Standard"
2828
}
@@ -31,12 +31,12 @@
3131
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
3232
"name": "KustoClusterRPTest3",
3333
"type": "Microsoft.Kusto/Clusters",
34-
"location": "westus",
34+
"location": "southcentralus",
3535
"properties": {
3636
"provisioningState": "Succeeded"
3737
},
3838
"sku": {
39-
"name": "Standard_L8s",
39+
"name": "Standard_D11_v2",
4040
"capacity": 2,
4141
"tier": "Standard"
4242
}

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersListResourceSkus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{
3939
"resourceType": "clusters",
4040
"sku": {
41-
"name": "Standard_L8s",
41+
"name": "Standard_D11_v2",
4242
"tier": "Standard"
4343
},
4444
"capacity": {

specification/kusto/resource-manager/Microsoft.Kusto/stable/2020-06-14/examples/KustoClustersUpdate.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"clusterName": "kustoclusterrptest4",
66
"api-version": "2020-06-14",
77
"parameters": {
8-
"location": "westus"
8+
"location": "southcentralus"
99
},
1010
"identity": {
1111
"type": "SystemAssigned"
@@ -26,7 +26,7 @@
2626
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
2727
"name": "KustoClusterRPTest4",
2828
"type": "Microsoft.Kusto/Clusters",
29-
"location": "westus",
29+
"location": "southcentralus",
3030
"properties": {
3131
"provisioningState": "Succeeded",
3232
"enableStreamingIngest": true,
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"sku": {
41-
"name": "Standard_L8s",
41+
"name": "Standard_D11_v2",
4242
"capacity": 2,
4343
"tier": "Standard"
4444
},
@@ -55,7 +55,7 @@
5555
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
5656
"name": "KustoClusterRPTest4",
5757
"type": "Microsoft.Kusto/Clusters",
58-
"location": "westus",
58+
"location": "southcentralus",
5959
"properties": {
6060
"provisioningState": "Succeeded",
6161
"enableStreamingIngest": true,
@@ -67,7 +67,7 @@
6767
}
6868
},
6969
"sku": {
70-
"name": "Standard_L8s",
70+
"name": "Standard_D11_v2",
7171
"capacity": 2,
7272
"tier": "Standard"
7373
},
@@ -84,14 +84,14 @@
8484
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
8585
"name": "KustoClusterRPTest4",
8686
"type": "Microsoft.Kusto/Clusters",
87-
"location": "westus",
87+
"location": "southcentralus",
8888
"properties": {
8989
"provisioningState": "Succeeded",
9090
"enableStreamingIngest": true,
9191
"enablePurge": true
9292
},
9393
"sku": {
94-
"name": "Standard_L8s",
94+
"name": "Standard_D11_v2",
9595
"capacity": 2,
9696
"tier": "Standard"
9797
},

0 commit comments

Comments
 (0)