Skip to content

Commit 965e695

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 4c26cc4 commit 965e695

File tree

6 files changed

+71
-55
lines changed

6 files changed

+71
-55
lines changed

schemas/2017-05-01-preview/Microsoft.MachineLearningExperimentation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,4 +470,4 @@
470470
"description": "The properties of a machine learning team account workspace."
471471
}
472472
}
473-
}
473+
}

schemas/2020-04-01-preview/Microsoft.EventGrid.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,8 @@
731731
"maxEventsPerBatch": {
732732
"oneOf": [
733733
{
734-
"type": "integer"
734+
"type": "integer",
735+
"default": "1"
735736
},
736737
{
737738
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -742,7 +743,8 @@
742743
"preferredBatchSizeInKilobytes": {
743744
"oneOf": [
744745
{
745-
"type": "integer"
746+
"type": "integer",
747+
"default": "64"
746748
},
747749
{
748750
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2550,7 +2552,8 @@
25502552
"maxEventsPerBatch": {
25512553
"oneOf": [
25522554
{
2553-
"type": "integer"
2555+
"type": "integer",
2556+
"default": "1"
25542557
},
25552558
{
25562559
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2561,7 +2564,8 @@
25612564
"preferredBatchSizeInKilobytes": {
25622565
"oneOf": [
25632566
{
2564-
"type": "integer"
2567+
"type": "integer",
2568+
"default": "64"
25652569
},
25662570
{
25672571
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

schemas/2020-06-01/Microsoft.EventGrid.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@
373373
"maxEventsPerBatch": {
374374
"oneOf": [
375375
{
376-
"type": "integer"
376+
"type": "integer",
377+
"default": "1"
377378
},
378379
{
379380
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -384,7 +385,8 @@
384385
"preferredBatchSizeInKilobytes": {
385386
"oneOf": [
386387
{
387-
"type": "integer"
388+
"type": "integer",
389+
"default": "64"
388390
},
389391
{
390392
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1257,7 +1259,8 @@
12571259
"eventTimeToLiveInMinutes": {
12581260
"oneOf": [
12591261
{
1260-
"type": "integer"
1262+
"type": "integer",
1263+
"default": "1440"
12611264
},
12621265
{
12631266
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1268,7 +1271,8 @@
12681271
"maxDeliveryAttempts": {
12691272
"oneOf": [
12701273
{
1271-
"type": "integer"
1274+
"type": "integer",
1275+
"default": "30"
12721276
},
12731277
{
12741278
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1734,7 +1738,8 @@
17341738
"maxEventsPerBatch": {
17351739
"oneOf": [
17361740
{
1737-
"type": "integer"
1741+
"type": "integer",
1742+
"default": "1"
17381743
},
17391744
{
17401745
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1745,7 +1750,8 @@
17451750
"preferredBatchSizeInKilobytes": {
17461751
"oneOf": [
17471752
{
1748-
"type": "integer"
1753+
"type": "integer",
1754+
"default": "64"
17491755
},
17501756
{
17511757
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

schemas/2020-10-15-preview/Microsoft.EventGrid.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,8 @@
803803
"maxEventsPerBatch": {
804804
"oneOf": [
805805
{
806-
"type": "integer"
806+
"type": "integer",
807+
"default": "1"
807808
},
808809
{
809810
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -814,7 +815,8 @@
814815
"preferredBatchSizeInKilobytes": {
815816
"oneOf": [
816817
{
817-
"type": "integer"
818+
"type": "integer",
819+
"default": "64"
818820
},
819821
{
820822
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2290,7 +2292,8 @@
22902292
"eventTimeToLiveInMinutes": {
22912293
"oneOf": [
22922294
{
2293-
"type": "integer"
2295+
"type": "integer",
2296+
"default": "1440"
22942297
},
22952298
{
22962299
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2301,7 +2304,8 @@
23012304
"maxDeliveryAttempts": {
23022305
"oneOf": [
23032306
{
2304-
"type": "integer"
2307+
"type": "integer",
2308+
"default": "30"
23052309
},
23062310
{
23072311
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -3021,7 +3025,8 @@
30213025
"maxEventsPerBatch": {
30223026
"oneOf": [
30233027
{
3024-
"type": "integer"
3028+
"type": "integer",
3029+
"default": "1"
30253030
},
30263031
{
30273032
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -3032,7 +3037,8 @@
30323037
"preferredBatchSizeInKilobytes": {
30333038
"oneOf": [
30343039
{
3035-
"type": "integer"
3040+
"type": "integer",
3041+
"default": "64"
30363042
},
30373043
{
30383044
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,17 +1134,6 @@
11341134
"type": "string",
11351135
"description": "Notification message for users during ramp down period."
11361136
},
1137-
"rampDownNotificationMinutes": {
1138-
"oneOf": [
1139-
{
1140-
"type": "integer"
1141-
},
1142-
{
1143-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1144-
}
1145-
],
1146-
"description": "Number of minutes to wait to stop hosts during ramp down period."
1147-
},
11481137
"rampDownStartTime": {
11491138
"type": "string",
11501139
"format": "date-time",
@@ -1165,20 +1154,16 @@
11651154
],
11661155
"description": "Specifies when to stop hosts during ramp down period."
11671156
},
1168-
"rampUpAlgorithm": {
1157+
"rampDownWaitTimeMinutes": {
11691158
"oneOf": [
11701159
{
1171-
"type": "string",
1172-
"enum": [
1173-
"BreadthFirst",
1174-
"DepthFirst"
1175-
]
1160+
"type": "integer"
11761161
},
11771162
{
11781163
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
11791164
}
11801165
],
1181-
"description": "Load balancing algorithm for ramp up period."
1166+
"description": "Number of minutes to wait to stop hosts during ramp down period."
11821167
},
11831168
"rampUpCapacityThresholdPct": {
11841169
"oneOf": [
@@ -1193,7 +1178,22 @@
11931178
],
11941179
"description": "Capacity threshold for ramp up period."
11951180
},
1196-
"rampUpMinimumHostPct": {
1181+
"rampUpLoadBalancingAlgorithm": {
1182+
"oneOf": [
1183+
{
1184+
"type": "string",
1185+
"enum": [
1186+
"BreadthFirst",
1187+
"DepthFirst"
1188+
]
1189+
},
1190+
{
1191+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1192+
}
1193+
],
1194+
"description": "Load balancing algorithm for ramp up period."
1195+
},
1196+
"rampUpMinimumHostsPct": {
11971197
"oneOf": [
11981198
{
11991199
"type": "integer",

schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,17 +1134,6 @@
11341134
"type": "string",
11351135
"description": "Notification message for users during ramp down period."
11361136
},
1137-
"rampDownNotificationMinutes": {
1138-
"oneOf": [
1139-
{
1140-
"type": "integer"
1141-
},
1142-
{
1143-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1144-
}
1145-
],
1146-
"description": "Number of minutes to wait to stop hosts during ramp down period."
1147-
},
11481137
"rampDownStartTime": {
11491138
"type": "string",
11501139
"format": "date-time",
@@ -1165,20 +1154,16 @@
11651154
],
11661155
"description": "Specifies when to stop hosts during ramp down period."
11671156
},
1168-
"rampUpAlgorithm": {
1157+
"rampDownWaitTimeMinutes": {
11691158
"oneOf": [
11701159
{
1171-
"type": "string",
1172-
"enum": [
1173-
"BreadthFirst",
1174-
"DepthFirst"
1175-
]
1160+
"type": "integer"
11761161
},
11771162
{
11781163
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
11791164
}
11801165
],
1181-
"description": "Load balancing algorithm for ramp up period."
1166+
"description": "Number of minutes to wait to stop hosts during ramp down period."
11821167
},
11831168
"rampUpCapacityThresholdPct": {
11841169
"oneOf": [
@@ -1193,7 +1178,22 @@
11931178
],
11941179
"description": "Capacity threshold for ramp up period."
11951180
},
1196-
"rampUpMinimumHostPct": {
1181+
"rampUpLoadBalancingAlgorithm": {
1182+
"oneOf": [
1183+
{
1184+
"type": "string",
1185+
"enum": [
1186+
"BreadthFirst",
1187+
"DepthFirst"
1188+
]
1189+
},
1190+
{
1191+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1192+
}
1193+
],
1194+
"description": "Load balancing algorithm for ramp up period."
1195+
},
1196+
"rampUpMinimumHostsPct": {
11971197
"oneOf": [
11981198
{
11991199
"type": "integer",

0 commit comments

Comments
 (0)