Skip to content

Commit

Permalink
[ReleasePR windowsiot] Updating WindowsIot Swagger Issues (S360 Swagg…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored Jan 12, 2021
2 parents 7cc1d3a + d288f6a commit f2fdacf
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 15 deletions.
2 changes: 1 addition & 1 deletion schemas/2018-02-16-preview/Microsoft.WindowsIoT.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
"description": "The properties of a Windows IoT Device Service."
}
}
}
}
70 changes: 56 additions & 14 deletions schemas/2019-06-01/Microsoft.WindowsIoT.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,49 @@
"deviceServices": {
"type": "object",
"properties": {
"adminDomainName": {
"type": "string",
"description": "Windows IoT Device Service OEM AAD domain"
},
"apiVersion": {
"type": "string",
"enum": [
"2019-06-01"
]
},
"billingDomainName": {
"etag": {
"type": "string",
"description": "Windows IoT Device Service ODM AAD domain"
"description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention."
},
"location": {
"type": "string",
"description": "The Azure Region where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the Windows IoT Device Service."
},
"notes": {
"type": "string",
"description": "Windows IoT Device Service notes."
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DeviceServiceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a Windows IoT Device Service."
},
"quantity": {
"tags": {
"oneOf": [
{
"type": "integer"
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Windows IoT Device Service device allocation,"
"description": "Resource tags."
},
"type": {
"type": "string",
Expand All @@ -50,10 +61,41 @@
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.WindowsIoT/deviceServices"
}
},
"definitions": {}
}
"definitions": {
"DeviceServiceProperties": {
"type": "object",
"properties": {
"adminDomainName": {
"type": "string",
"description": "Windows IoT Device Service OEM AAD domain"
},
"billingDomainName": {
"type": "string",
"description": "Windows IoT Device Service ODM AAD domain"
},
"notes": {
"type": "string",
"description": "Windows IoT Device Service notes."
},
"quantity": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Windows IoT Device Service device allocation,"
}
},
"description": "The properties of a Windows IoT Device Service."
}
}
}

0 comments on commit f2fdacf

Please sign in to comment.