Skip to content

Commit c03c258

Browse files
authored
Manual trigger API alignment - mark mandatory param as required (#19730)
* Manual trigger API alignment - mark mandatory param as required * Fixed missing identifier id in array item property * Removed redundant definition
1 parent 70efa69 commit c03c258

File tree

9 files changed

+24
-71
lines changed

9 files changed

+24
-71
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@
399399
"type": "array",
400400
"items": {
401401
"$ref": "#/definitions/AutomationRuleAction"
402-
}
402+
},
403+
"x-ms-identifiers": []
403404
},
404405
"lastModifiedTimeUtc": {
405406
"format": "date-time",
@@ -835,7 +836,10 @@
835836
"type": "array",
836837
"items": {
837838
"$ref": "#/definitions/AutomationRuleCondition"
838-
}
839+
},
840+
"x-ms-identifiers": [
841+
"conditionType"
842+
]
839843
}
840844
}
841845
},
@@ -892,6 +896,9 @@
892896
},
893897
"ManualTriggerRequestBody": {
894898
"type": "object",
899+
"required": [
900+
"logicAppsResourceId"
901+
],
895902
"properties": {
896903
"tenantId": {
897904
"format": "uuid",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/Settings.json

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -384,29 +384,6 @@
384384
"modelAsString": true,
385385
"name": "UebaDataSources"
386386
}
387-
},
388-
"Sku": {
389-
"description": "The pricing tier of the solution",
390-
"properties": {
391-
"name": {
392-
"description": "The kind of the tier",
393-
"enum": [
394-
"PerGB",
395-
"CapacityReservation"
396-
],
397-
"type": "string",
398-
"x-ms-enum": {
399-
"modelAsString": true,
400-
"name": "SkuKind"
401-
}
402-
},
403-
"capacityReservationLevel": {
404-
"description": "The amount of reservation level",
405-
"type": "integer",
406-
"format": "int32"
407-
}
408-
},
409-
"type": "object"
410387
}
411388
},
412389
"parameters": {

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/AutomationRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,9 @@
901901
},
902902
"ManualTriggerRequestBody": {
903903
"type": "object",
904+
"required": [
905+
"logicAppsResourceId"
906+
],
904907
"properties": {
905908
"tenantId": {
906909
"format": "uuid",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/Settings.json

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -384,29 +384,6 @@
384384
"modelAsString": true,
385385
"name": "UebaDataSources"
386386
}
387-
},
388-
"Sku": {
389-
"description": "The pricing tier of the solution",
390-
"properties": {
391-
"name": {
392-
"description": "The kind of the tier",
393-
"enum": [
394-
"PerGB",
395-
"CapacityReservation"
396-
],
397-
"type": "string",
398-
"x-ms-enum": {
399-
"modelAsString": true,
400-
"name": "SkuKind"
401-
}
402-
},
403-
"capacityReservationLevel": {
404-
"description": "The amount of reservation level",
405-
"type": "integer",
406-
"format": "int32"
407-
}
408-
},
409-
"type": "object"
410387
}
411388
},
412389
"parameters": {

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-04-01-preview/AutomationRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,9 @@
901901
},
902902
"ManualTriggerRequestBody": {
903903
"type": "object",
904+
"required": [
905+
"logicAppsResourceId"
906+
],
904907
"properties": {
905908
"tenantId": {
906909
"format": "uuid",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-04-01-preview/Settings.json

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -398,29 +398,6 @@
398398
"modelAsString": true,
399399
"name": "UebaDataSources"
400400
}
401-
},
402-
"Sku": {
403-
"description": "The pricing tier of the solution",
404-
"properties": {
405-
"name": {
406-
"description": "The kind of the tier",
407-
"enum": [
408-
"PerGB",
409-
"CapacityReservation"
410-
],
411-
"type": "string",
412-
"x-ms-enum": {
413-
"modelAsString": true,
414-
"name": "SkuKind"
415-
}
416-
},
417-
"capacityReservationLevel": {
418-
"description": "The amount of reservation level",
419-
"type": "integer",
420-
"format": "int32"
421-
}
422-
},
423-
"type": "object"
424401
}
425402
},
426403
"parameters": {

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-05-01-preview/AutomationRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,9 @@
10371037
},
10381038
"ManualTriggerRequestBody": {
10391039
"type": "object",
1040+
"required": [
1041+
"logicAppsResourceId"
1042+
],
10401043
"properties": {
10411044
"tenantId": {
10421045
"format": "uuid",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-06-01-preview/AutomationRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,9 @@
10371037
},
10381038
"ManualTriggerRequestBody": {
10391039
"type": "object",
1040+
"required": [
1041+
"logicAppsResourceId"
1042+
],
10401043
"properties": {
10411044
"tenantId": {
10421045
"format": "uuid",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/AutomationRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,9 @@
10421042
},
10431043
"ManualTriggerRequestBody": {
10441044
"type": "object",
1045+
"required": [
1046+
"logicAppsResourceId"
1047+
],
10451048
"properties": {
10461049
"tenantId": {
10471050
"format": "uuid",

0 commit comments

Comments
 (0)