Skip to content

Commit 078253f

Browse files
author
msftbot[bot]
authored
2 parents dd4b309 + a52dbbe commit 078253f

File tree

2 files changed

+64
-24
lines changed

2 files changed

+64
-24
lines changed

schemas/2020-01-01-preview/Microsoft.HybridNetwork.json

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,33 @@
294294
}
295295
},
296296
"definitions": {
297+
"AzureStackEdgeFormat": {
298+
"type": "object",
299+
"properties": {
300+
"azureStackEdge": {
301+
"oneOf": [
302+
{
303+
"$ref": "#/definitions/SubResource"
304+
},
305+
{
306+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
307+
}
308+
],
309+
"description": "Reference to another sub resource."
310+
},
311+
"deviceType": {
312+
"type": "string",
313+
"enum": [
314+
"AzureStackEdge"
315+
]
316+
}
317+
},
318+
"required": [
319+
"azureStackEdge",
320+
"deviceType"
321+
],
322+
"description": "The reference to the Azure stack edge device."
323+
},
297324
"CustomProfile": {
298325
"type": "object",
299326
"properties": {
@@ -342,19 +369,12 @@
342369
},
343370
"DevicePropertiesFormat": {
344371
"type": "object",
345-
"properties": {
346-
"azureStackEdge": {
347-
"oneOf": [
348-
{
349-
"$ref": "#/definitions/SubResource"
350-
},
351-
{
352-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
353-
}
354-
],
355-
"description": "Reference to another sub resource."
372+
"oneOf": [
373+
{
374+
"$ref": "#/definitions/AzureStackEdgeFormat"
356375
}
357-
},
376+
],
377+
"properties": {},
358378
"description": "Device properties."
359379
},
360380
"ImageReference": {

schemas/2021-05-01/Microsoft.HybridNetwork.json

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,33 @@
306306
}
307307
},
308308
"definitions": {
309+
"AzureStackEdgeFormat": {
310+
"type": "object",
311+
"properties": {
312+
"azureStackEdge": {
313+
"oneOf": [
314+
{
315+
"$ref": "#/definitions/SubResource"
316+
},
317+
{
318+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
319+
}
320+
],
321+
"description": "Reference to another sub resource."
322+
},
323+
"deviceType": {
324+
"type": "string",
325+
"enum": [
326+
"AzureStackEdge"
327+
]
328+
}
329+
},
330+
"required": [
331+
"azureStackEdge",
332+
"deviceType"
333+
],
334+
"description": "The reference to the Azure stack edge device."
335+
},
309336
"CustomProfile": {
310337
"type": "object",
311338
"properties": {
@@ -354,19 +381,12 @@
354381
},
355382
"DevicePropertiesFormat": {
356383
"type": "object",
357-
"properties": {
358-
"azureStackEdge": {
359-
"oneOf": [
360-
{
361-
"$ref": "#/definitions/SubResource"
362-
},
363-
{
364-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
365-
}
366-
],
367-
"description": "Reference to another sub resource."
384+
"oneOf": [
385+
{
386+
"$ref": "#/definitions/AzureStackEdgeFormat"
368387
}
369-
},
388+
],
389+
"properties": {},
370390
"description": "Device properties."
371391
},
372392
"ImageReference": {

0 commit comments

Comments
 (0)