Skip to content

Commit 3e1d53e

Browse files
authored
[Hub Generated] Review request for Microsoft.Devices to add version stable/2020-03-01 (#12914)
* fixing existing api version swagger correctness * fixing the example * fixing arm error in validation - reverting changes as needs to be included in new version * moving the breaking changes to new version * changing example file and bringing api spec in parity with the existing api functionality * adding prettier check validation fix * fixing model validation * cert or pem content is byte format * prettier validation fix * removing lintdiff errors * adding a format type for cert
1 parent 1c148c3 commit 3e1d53e

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"properties": {
1616
"subject": "CN=testdevice1",
1717
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
18+
"certificate": "############################################",
1819
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
1920
"isVerified": false,
2021
"created": "Thu, 12 Oct 2017 19:23:50 GMT",

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"subject": "CN=andbucdevice1",
1717
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
1818
"thumbprint": "##############################",
19+
"certificate": "###########################",
1920
"isVerified": false,
2021
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
2122
"updated": "Thu, 12 Oct 2017 19:26:56 GMT"

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"subject": "CN=testdevice1",
1414
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
1515
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
16+
"certificate": "######################################",
1617
"isVerified": false,
1718
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
1819
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"properties": {
1717
"subject": "CN=andbucdevice1",
1818
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
19+
"certificate": "#####################################",
1920
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
2021
"isVerified": true,
2122
"created": "Thu, 12 Oct 2017 19:23:50 GMT",

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,12 @@
17161716
"type": "boolean",
17171717
"readOnly": true
17181718
},
1719+
"certificate": {
1720+
"description": "base-64 representation of X509 certificate .cer file or just .pem file content.",
1721+
"type": "string",
1722+
"format": "byte",
1723+
"readOnly": true
1724+
},
17191725
"created": {
17201726
"description": "The certificate's creation date and time.",
17211727
"type": "string",
@@ -2440,6 +2446,11 @@
24402446
"type": "boolean",
24412447
"description": "Indicate if the certificate is verified by owner of private key."
24422448
},
2449+
"certificate": {
2450+
"description": "base-64 representation of X509 certificate .cer file or just .pem file content.",
2451+
"type": "string",
2452+
"format": "byte"
2453+
},
24432454
"created": {
24442455
"type": "string",
24452456
"description": "Certificate created time."

0 commit comments

Comments
 (0)