Skip to content

Commit abe8b05

Browse files
authored
ARM ID annotations for Batch (#19589)
1 parent 7f284e0 commit abe8b05

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

specification/batch/resource-manager/Microsoft.Batch/stable/2021-01-01/BatchManagement.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,6 +2241,14 @@
22412241
"properties": {
22422242
"storageAccountId": {
22432243
"type": "string",
2244+
"format": "arm-id",
2245+
"x-ms-arm-id-details": {
2246+
"allowedResources": [
2247+
{
2248+
"type": "Microsoft.Storage/storageAccounts"
2249+
}
2250+
]
2251+
},
22442252
"description": "The resource ID of the storage account to be used for auto-storage account."
22452253
}
22462254
},
@@ -2323,6 +2331,14 @@
23232331
"properties": {
23242332
"id": {
23252333
"type": "string",
2334+
"format": "arm-id",
2335+
"x-ms-arm-id-details": {
2336+
"allowedResources": [
2337+
{
2338+
"type": "Microsoft.KeyVault/vaults"
2339+
}
2340+
]
2341+
},
23262342
"description": "The resource ID of the Azure key vault associated with the Batch account."
23272343
},
23282344
"url": {

specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,6 +2408,14 @@
24082408
"properties": {
24092409
"storageAccountId": {
24102410
"type": "string",
2411+
"format": "arm-id",
2412+
"x-ms-arm-id-details": {
2413+
"allowedResources": [
2414+
{
2415+
"type": "Microsoft.Storage/storageAccounts"
2416+
}
2417+
]
2418+
},
24112419
"description": "The resource ID of the storage account to be used for auto-storage account."
24122420
},
24132421
"authenticationMode": {
@@ -2565,6 +2573,14 @@
25652573
"properties": {
25662574
"id": {
25672575
"type": "string",
2576+
"format": "arm-id",
2577+
"x-ms-arm-id-details": {
2578+
"allowedResources": [
2579+
{
2580+
"type": "Microsoft.KeyVault/vaults"
2581+
}
2582+
]
2583+
},
25682584
"description": "The resource ID of the Azure key vault associated with the Batch account."
25692585
},
25702586
"url": {

specification/batch/resource-manager/Microsoft.Batch/stable/2022-01-01/BatchManagement.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,6 +2497,14 @@
24972497
"properties": {
24982498
"storageAccountId": {
24992499
"type": "string",
2500+
"format": "arm-id",
2501+
"x-ms-arm-id-details": {
2502+
"allowedResources": [
2503+
{
2504+
"type": "Microsoft.Storage/storageAccounts"
2505+
}
2506+
]
2507+
},
25002508
"description": "The resource ID of the storage account to be used for auto-storage account."
25012509
},
25022510
"authenticationMode": {
@@ -2654,6 +2662,14 @@
26542662
"properties": {
26552663
"id": {
26562664
"type": "string",
2665+
"format": "arm-id",
2666+
"x-ms-arm-id-details": {
2667+
"allowedResources": [
2668+
{
2669+
"type": "Microsoft.KeyVault/vaults"
2670+
}
2671+
]
2672+
},
26572673
"description": "The resource ID of the Azure key vault associated with the Batch account."
26582674
},
26592675
"url": {

specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/BatchManagement.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,6 +2555,14 @@
25552555
"properties": {
25562556
"storageAccountId": {
25572557
"type": "string",
2558+
"format": "arm-id",
2559+
"x-ms-arm-id-details": {
2560+
"allowedResources": [
2561+
{
2562+
"type": "Microsoft.Storage/storageAccounts"
2563+
}
2564+
]
2565+
},
25582566
"description": "The resource ID of the storage account to be used for auto-storage account."
25592567
},
25602568
"authenticationMode": {
@@ -2727,6 +2735,14 @@
27272735
"properties": {
27282736
"id": {
27292737
"type": "string",
2738+
"format": "arm-id",
2739+
"x-ms-arm-id-details": {
2740+
"allowedResources": [
2741+
{
2742+
"type": "Microsoft.KeyVault/vaults"
2743+
}
2744+
]
2745+
},
27302746
"description": "The resource ID of the Azure key vault associated with the Batch account."
27312747
},
27322748
"url": {

0 commit comments

Comments
 (0)