Skip to content

Commit 72d4dba

Browse files
author
SDKAuto
committed
CodeGen from PR 19590 in Azure/azure-rest-api-specs
ARM ID annotations for EventGrid (#19590)
1 parent fd7ea39 commit 72d4dba

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@
396396
},
397397
"resourceId": {
398398
"type": "string",
399+
"format": "arm-id",
399400
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription."
400401
}
401402
},
@@ -627,6 +628,7 @@
627628
"properties": {
628629
"resourceId": {
629630
"type": "string",
631+
"format": "arm-id",
630632
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription."
631633
}
632634
},
@@ -830,6 +832,7 @@
830832
"properties": {
831833
"resourceId": {
832834
"type": "string",
835+
"format": "arm-id",
833836
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription."
834837
}
835838
},
@@ -1284,6 +1287,7 @@
12841287
"properties": {
12851288
"resourceId": {
12861289
"type": "string",
1290+
"format": "arm-id",
12871291
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription."
12881292
}
12891293
},
@@ -1320,6 +1324,7 @@
13201324
"properties": {
13211325
"resourceId": {
13221326
"type": "string",
1327+
"format": "arm-id",
13231328
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription."
13241329
}
13251330
},
@@ -1360,6 +1365,7 @@
13601365
},
13611366
"resourceId": {
13621367
"type": "string",
1368+
"format": "arm-id",
13631369
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events"
13641370
}
13651371
},
@@ -1400,6 +1406,7 @@
14001406
},
14011407
"resourceId": {
14021408
"type": "string",
1409+
"format": "arm-id",
14031410
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription."
14041411
}
14051412
},

schemas/2021-12-01/Microsoft.EventGrid.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@
572572
},
573573
"resourceId": {
574574
"type": "string",
575+
"format": "arm-id",
575576
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription."
576577
}
577578
},
@@ -963,6 +964,7 @@
963964
},
964965
"resourceId": {
965966
"type": "string",
967+
"format": "arm-id",
966968
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription."
967969
}
968970
},
@@ -1238,6 +1240,7 @@
12381240
},
12391241
"resourceId": {
12401242
"type": "string",
1243+
"format": "arm-id",
12411244
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription."
12421245
}
12431246
},
@@ -1846,6 +1849,7 @@
18461849
},
18471850
"resourceId": {
18481851
"type": "string",
1852+
"format": "arm-id",
18491853
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription."
18501854
}
18511855
},
@@ -1896,6 +1900,7 @@
18961900
},
18971901
"resourceId": {
18981902
"type": "string",
1903+
"format": "arm-id",
18991904
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription."
19001905
}
19011906
},
@@ -1984,6 +1989,7 @@
19841989
},
19851990
"resourceId": {
19861991
"type": "string",
1992+
"format": "arm-id",
19871993
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events"
19881994
}
19891995
},
@@ -2035,6 +2041,7 @@
20352041
},
20362042
"resourceId": {
20372043
"type": "string",
2044+
"format": "arm-id",
20382045
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription."
20392046
}
20402047
},

schemas/2022-06-15/Microsoft.EventGrid.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@
10931093
},
10941094
"resourceId": {
10951095
"type": "string",
1096+
"format": "arm-id",
10961097
"description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription."
10971098
}
10981099
},
@@ -1652,6 +1653,7 @@
16521653
},
16531654
"resourceId": {
16541655
"type": "string",
1656+
"format": "arm-id",
16551657
"description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription."
16561658
}
16571659
},
@@ -1962,6 +1964,7 @@
19621964
},
19631965
"resourceId": {
19641966
"type": "string",
1967+
"format": "arm-id",
19651968
"description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription."
19661969
}
19671970
},
@@ -2982,6 +2985,7 @@
29822985
},
29832986
"resourceId": {
29842987
"type": "string",
2988+
"format": "arm-id",
29852989
"description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription."
29862990
}
29872991
},
@@ -3032,6 +3036,7 @@
30323036
},
30333037
"resourceId": {
30343038
"type": "string",
3039+
"format": "arm-id",
30353040
"description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription."
30363041
}
30373042
},
@@ -3120,6 +3125,7 @@
31203125
},
31213126
"resourceId": {
31223127
"type": "string",
3128+
"format": "arm-id",
31233129
"description": "The Azure Resource ID of the storage account that is the destination of the deadletter events"
31243130
}
31253131
},
@@ -3171,6 +3177,7 @@
31713177
},
31723178
"resourceId": {
31733179
"type": "string",
3180+
"format": "arm-id",
31743181
"description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription."
31753182
}
31763183
},

0 commit comments

Comments
 (0)