Skip to content

Commit ba57c9c

Browse files
authored
Merge pull request #2925 from Azure/autogenerate
Autogenerate
2 parents 5b9d2e5 + e1c244f commit ba57c9c

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

schemas/2023-03-01-preview/Microsoft.ContainerStorage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"items": {
4646
"oneOf": [
4747
{
48-
"$ref": "#/definitions/pools_volumes_childResource"
48+
"$ref": "#/definitions/pools_volumeSnapshots_childResource"
4949
},
5050
{
51-
"$ref": "#/definitions/pools_volumeSnapshots_childResource"
51+
"$ref": "#/definitions/pools_volumes_childResource"
5252
}
5353
]
5454
}

schemas/2023-05-18-preview/Microsoft.DelegatedNetwork.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@
3131
],
3232
"description": "The name of the resource. It must be a minimum of 3 characters, and a maximum of 63."
3333
},
34+
"properties": {
35+
"oneOf": [
36+
{
37+
"$ref": "#/definitions/DelegatedControllerProperties"
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
43+
"description": "Properties of Delegated controller resource."
44+
},
3445
"tags": {
3546
"oneOf": [
3647
{
@@ -56,6 +67,7 @@
5667
"required": [
5768
"apiVersion",
5869
"name",
70+
"properties",
5971
"type"
6072
],
6173
"description": "Microsoft.DelegatedNetwork/controller"
@@ -233,6 +245,27 @@
233245
},
234246
"description": "controller details"
235247
},
248+
"DelegatedControllerProperties": {
249+
"type": "object",
250+
"properties": {
251+
"purpose": {
252+
"oneOf": [
253+
{
254+
"type": "string",
255+
"enum": [
256+
"test",
257+
"prod"
258+
]
259+
},
260+
{
261+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
262+
}
263+
],
264+
"description": "The purpose of the dnc controller resource."
265+
}
266+
},
267+
"description": "Properties of Delegated controller resource."
268+
},
236269
"DelegatedSubnetProperties": {
237270
"type": "object",
238271
"properties": {

0 commit comments

Comments
 (0)