Skip to content

Commit cdf3466

Browse files
authored
Kusto: Swagger readonly cosmetics changes (no breaking changes) (#16405)
* Kusto: Swagger readonly cosmetics changes * supress * prettier * fix 2017-09-07-privatepreview examples * fix 2018-09-07-preview model * 1 * 1
1 parent 5959050 commit cdf3466

27 files changed

+8779
-8562
lines changed

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@
3131
}
3232
}
3333
},
34-
"201": {}
34+
"201": {
35+
"body": {
36+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
37+
"name": "KustoClusterRPTest4",
38+
"type": "Microsoft.Kusto/clusters",
39+
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
40+
"location": "westus",
41+
"properties": {
42+
"provisioningState": "Creating"
43+
},
44+
"sku": {
45+
"name": "L8",
46+
"capacity": 2,
47+
"tier": "Standard"
48+
}
49+
}
50+
}
3551
}
3652
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@
2626
}
2727
}
2828
},
29-
"201": {}
29+
"201": {
30+
"body": {
31+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
32+
"name": "KustoClusterRPTest4",
33+
"type": "Microsoft.Kusto/clusters",
34+
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
35+
"location": "westus",
36+
"properties": {
37+
"provisioningState": "Updating"
38+
},
39+
"sku": {
40+
"name": "L8",
41+
"capacity": 2,
42+
"tier": "Standard"
43+
}
44+
}
45+
}
3046
}
3147
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,19 @@
2626
}
2727
}
2828
},
29-
"201": {},
29+
"201": {
30+
"body": {
31+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
32+
"name": "KustoClusterRPTest4/KustoDatabase8",
33+
"type": "Microsoft.Kusto/clusters/databases",
34+
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
35+
"location": "westus",
36+
"properties": {
37+
"softDeletePeriodInDays": 1,
38+
"provisioningState": "Creating"
39+
}
40+
}
41+
},
3042
"202": {}
3143
}
3244
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,19 @@
2626
}
2727
}
2828
},
29-
"201": {},
29+
"201": {
30+
"body": {
31+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
32+
"name": "KustoClusterRPTest4/KustoDatabase8",
33+
"type": "Microsoft.Kusto/clusters/databases",
34+
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
35+
"location": "westus",
36+
"properties": {
37+
"softDeletePeriodInDays": 1,
38+
"provisioningState": "Updating"
39+
}
40+
}
41+
},
3042
"202": {}
3143
}
3244
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,18 @@
2727
}
2828
}
2929
},
30-
"201": {},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
33+
"name": "KustoClusterRPTest4/KustoDatabase8",
34+
"type": "Microsoft.Kusto/clusters/databases",
35+
"location": "westus",
36+
"properties": {
37+
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
38+
"consumerGroup": "testConsumerGroup1"
39+
}
40+
}
41+
},
3142
"202": {}
3243
}
3344
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,18 @@
2727
}
2828
}
2929
},
30-
"201": {},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
33+
"name": "KustoClusterRPTest4/KustoDatabase8",
34+
"type": "Microsoft.Kusto/clusters/databases",
35+
"location": "westus",
36+
"properties": {
37+
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
38+
"consumerGroup": "testConsumerGroup1"
39+
}
40+
}
41+
},
3142
"202": {}
3243
}
3344
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoOperationsList.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"provider": "providerName",
1313
"resource": "resourceName",
1414
"operation": "operationName",
15-
"description": "description"
15+
"description": "operation description for example, 'GET Cluster'"
1616
}
1717
}
1818
]

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/kusto.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,7 @@
15401540
},
15411541
"statistics": {
15421542
"$ref": "#/definitions/DatabaseStatistics",
1543+
"readOnly": true,
15431544
"description": "The statistics of the database."
15441545
}
15451546
},

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@
3131
}
3232
}
3333
},
34-
"201": {}
34+
"201": {
35+
"body": {
36+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
37+
"name": "KustoClusterRPTest4",
38+
"type": "Microsoft.Kusto/clusters",
39+
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
40+
"location": "westus",
41+
"properties": {
42+
"provisioningState": "Creating"
43+
},
44+
"sku": {
45+
"name": "L8",
46+
"capacity": 2,
47+
"tier": "Standard"
48+
}
49+
}
50+
}
3551
}
3652
}

specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@
2626
}
2727
}
2828
},
29-
"201": {}
29+
"201": {
30+
"body": {
31+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
32+
"name": "KustoClusterRPTest4",
33+
"type": "Microsoft.Kusto/clusters",
34+
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
35+
"location": "westus",
36+
"properties": {
37+
"provisioningState": "Updating"
38+
},
39+
"sku": {
40+
"name": "L8",
41+
"capacity": 2,
42+
"tier": "Standard"
43+
}
44+
}
45+
}
3046
}
3147
}

0 commit comments

Comments
 (0)