Skip to content

Commit

Permalink
Merge pull request #2925 from Azure/autogenerate
Browse files Browse the repository at this point in the history
Autogenerate
  • Loading branch information
Xynoclafe authored Jul 20, 2023
2 parents 5b9d2e5 + e1c244f commit ba57c9c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schemas/2023-03-01-preview/Microsoft.ContainerStorage.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"items": {
"oneOf": [
{
"$ref": "#/definitions/pools_volumes_childResource"
"$ref": "#/definitions/pools_volumeSnapshots_childResource"
},
{
"$ref": "#/definitions/pools_volumeSnapshots_childResource"
"$ref": "#/definitions/pools_volumes_childResource"
}
]
}
Expand Down
33 changes: 33 additions & 0 deletions schemas/2023-05-18-preview/Microsoft.DelegatedNetwork.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@
],
"description": "The name of the resource. It must be a minimum of 3 characters, and a maximum of 63."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DelegatedControllerProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of Delegated controller resource."
},
"tags": {
"oneOf": [
{
Expand All @@ -56,6 +67,7 @@
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DelegatedNetwork/controller"
Expand Down Expand Up @@ -233,6 +245,27 @@
},
"description": "controller details"
},
"DelegatedControllerProperties": {
"type": "object",
"properties": {
"purpose": {
"oneOf": [
{
"type": "string",
"enum": [
"test",
"prod"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The purpose of the dnc controller resource."
}
},
"description": "Properties of Delegated controller resource."
},
"DelegatedSubnetProperties": {
"type": "object",
"properties": {
Expand Down

0 comments on commit ba57c9c

Please sign in to comment.