Skip to content

Commit a72002e

Browse files
Merge pull request #3060 from Azure/autogenerate-batch
Update Generated Schemas
2 parents 70e71af + b01ae20 commit a72002e

File tree

481 files changed

+155311
-3828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

481 files changed

+155311
-3828
lines changed

schemas/2014-04-01/Microsoft.Insights.json

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,12 @@
694694
}
695695
]
696696
},
697+
"odata.type": {
698+
"enum": [
699+
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
700+
],
701+
"type": "string"
702+
},
697703
"sendToServiceOwners": {
698704
"description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.",
699705
"oneOf": [
@@ -706,11 +712,20 @@
706712
]
707713
}
708714
},
715+
"required": [
716+
"odata.type"
717+
],
709718
"type": "object"
710719
},
711720
{
712721
"description": "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.",
713722
"properties": {
723+
"odata.type": {
724+
"enum": [
725+
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
726+
],
727+
"type": "string"
728+
},
714729
"properties": {
715730
"description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.",
716731
"oneOf": [
@@ -731,6 +746,9 @@
731746
"type": "string"
732747
}
733748
},
749+
"required": [
750+
"odata.type"
751+
],
734752
"type": "object"
735753
}
736754
],
@@ -755,13 +773,20 @@
755773
}
756774
]
757775
},
776+
"odata.type": {
777+
"enum": [
778+
"Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
779+
],
780+
"type": "string"
781+
},
758782
"windowSize": {
759783
"description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.",
760784
"type": "string"
761785
}
762786
},
763787
"required": [
764-
"failedLocationCount"
788+
"failedLocationCount",
789+
"odata.type"
765790
],
766791
"type": "object"
767792
},
@@ -778,13 +803,28 @@
778803
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
779804
}
780805
]
806+
},
807+
"odata.type": {
808+
"enum": [
809+
"Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
810+
],
811+
"type": "string"
781812
}
782813
},
814+
"required": [
815+
"odata.type"
816+
],
783817
"type": "object"
784818
},
785819
{
786820
"description": "A rule condition based on a metric crossing a threshold.",
787821
"properties": {
822+
"odata.type": {
823+
"enum": [
824+
"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
825+
],
826+
"type": "string"
827+
},
788828
"operator": {
789829
"description": "the operator used to compare the data and the threshold.",
790830
"oneOf": [
@@ -838,7 +878,8 @@
838878
},
839879
"required": [
840880
"operator",
841-
"threshold"
881+
"threshold",
882+
"odata.type"
842883
],
843884
"type": "object"
844885
}
@@ -887,6 +928,12 @@
887928
"description": "the level.",
888929
"type": "string"
889930
},
931+
"odata.type": {
932+
"enum": [
933+
"Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
934+
],
935+
"type": "string"
936+
},
890937
"operationName": {
891938
"description": "The name of the operation that should be checked for. If no name is provided, any operation will match.",
892939
"type": "string"
@@ -908,6 +955,9 @@
908955
"type": "string"
909956
}
910957
},
958+
"required": [
959+
"odata.type"
960+
],
911961
"type": "object"
912962
},
913963
{
@@ -916,8 +966,17 @@
916966
"metricName": {
917967
"description": "the name of the metric that defines what the rule monitors.",
918968
"type": "string"
969+
},
970+
"odata.type": {
971+
"enum": [
972+
"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
973+
],
974+
"type": "string"
919975
}
920976
},
977+
"required": [
978+
"odata.type"
979+
],
921980
"type": "object"
922981
}
923982
],

schemas/2016-03-01/Microsoft.Insights.json

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,12 @@
343343
}
344344
]
345345
},
346+
"odata.type": {
347+
"enum": [
348+
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
349+
],
350+
"type": "string"
351+
},
346352
"sendToServiceOwners": {
347353
"description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.",
348354
"oneOf": [
@@ -355,11 +361,20 @@
355361
]
356362
}
357363
},
364+
"required": [
365+
"odata.type"
366+
],
358367
"type": "object"
359368
},
360369
{
361370
"description": "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.",
362371
"properties": {
372+
"odata.type": {
373+
"enum": [
374+
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
375+
],
376+
"type": "string"
377+
},
363378
"properties": {
364379
"description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.",
365380
"oneOf": [
@@ -380,6 +395,9 @@
380395
"type": "string"
381396
}
382397
},
398+
"required": [
399+
"odata.type"
400+
],
383401
"type": "object"
384402
}
385403
],
@@ -404,13 +422,20 @@
404422
}
405423
]
406424
},
425+
"odata.type": {
426+
"enum": [
427+
"Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
428+
],
429+
"type": "string"
430+
},
407431
"windowSize": {
408432
"description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.",
409433
"type": "string"
410434
}
411435
},
412436
"required": [
413-
"failedLocationCount"
437+
"failedLocationCount",
438+
"odata.type"
414439
],
415440
"type": "object"
416441
},
@@ -427,13 +452,28 @@
427452
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
428453
}
429454
]
455+
},
456+
"odata.type": {
457+
"enum": [
458+
"Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
459+
],
460+
"type": "string"
430461
}
431462
},
463+
"required": [
464+
"odata.type"
465+
],
432466
"type": "object"
433467
},
434468
{
435469
"description": "A rule condition based on a metric crossing a threshold.",
436470
"properties": {
471+
"odata.type": {
472+
"enum": [
473+
"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
474+
],
475+
"type": "string"
476+
},
437477
"operator": {
438478
"description": "the operator used to compare the data and the threshold.",
439479
"oneOf": [
@@ -487,7 +527,8 @@
487527
},
488528
"required": [
489529
"operator",
490-
"threshold"
530+
"threshold",
531+
"odata.type"
491532
],
492533
"type": "object"
493534
}
@@ -536,6 +577,12 @@
536577
"description": "the level.",
537578
"type": "string"
538579
},
580+
"odata.type": {
581+
"enum": [
582+
"Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
583+
],
584+
"type": "string"
585+
},
539586
"operationName": {
540587
"description": "The name of the operation that should be checked for. If no name is provided, any operation will match.",
541588
"type": "string"
@@ -557,6 +604,9 @@
557604
"type": "string"
558605
}
559606
},
607+
"required": [
608+
"odata.type"
609+
],
560610
"type": "object"
561611
},
562612
{
@@ -565,8 +615,17 @@
565615
"metricName": {
566616
"description": "the name of the metric that defines what the rule monitors.",
567617
"type": "string"
618+
},
619+
"odata.type": {
620+
"enum": [
621+
"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
622+
],
623+
"type": "string"
568624
}
569625
},
626+
"required": [
627+
"odata.type"
628+
],
570629
"type": "object"
571630
}
572631
],

schemas/2016-03-01/Microsoft.Scheduler.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,17 @@
132132
"tenant": {
133133
"description": "Gets or sets the tenant.",
134134
"type": "string"
135+
},
136+
"type": {
137+
"enum": [
138+
"ActiveDirectoryOAuth"
139+
],
140+
"type": "string"
135141
}
136142
},
143+
"required": [
144+
"type"
145+
],
137146
"type": "object"
138147
},
139148
{
@@ -142,11 +151,20 @@
142151
"description": "Gets or sets the password, return value will always be empty.",
143152
"type": "string"
144153
},
154+
"type": {
155+
"enum": [
156+
"Basic"
157+
],
158+
"type": "string"
159+
},
145160
"username": {
146161
"description": "Gets or sets the username.",
147162
"type": "string"
148163
}
149164
},
165+
"required": [
166+
"type"
167+
],
150168
"type": "object"
151169
},
152170
{
@@ -171,8 +189,17 @@
171189
"pfx": {
172190
"description": "Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.",
173191
"type": "string"
192+
},
193+
"type": {
194+
"enum": [
195+
"ClientCertificate"
196+
],
197+
"type": "string"
174198
}
175199
},
200+
"required": [
201+
"type"
202+
],
176203
"type": "object"
177204
}
178205
],

0 commit comments

Comments
 (0)