Skip to content

Commit

Permalink
CodeGen from PR 20309 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fixing 2018-09-01 Spec (#20309)

* Fixing 2018-09-01 spec

* Fixing styling

* Changing to readOnly

* Applying Baron's comments

* Update readme.python.md

Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
SDKAuto and msyyc committed Sep 7, 2022
1 parent febc3bb commit bf3b021
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
15 changes: 15 additions & 0 deletions schemas/2018-09-01/Microsoft.IotCentral.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@
"type": "string",
"description": "The display name of the application."
},
"state": {
"oneOf": [
{
"type": "string",
"enum": [
"created",
"suspended"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The current state of the application."
},
"subdomain": {
"type": "string",
"description": "The subdomain of the application."
Expand Down
6 changes: 4 additions & 2 deletions schemas/2021-11-01-preview/Microsoft.IotCentral.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@
"applyToDevices": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -310,7 +311,8 @@
"applyToIoTCentral": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down

0 comments on commit bf3b021

Please sign in to comment.