From ce9dd78763a4eb7cda8dfb561275877b087e616a Mon Sep 17 00:00:00 2001 From: mcardosos Date: Tue, 6 Mar 2018 15:43:18 -0800 Subject: [PATCH 1/5] Auto PR experimnent --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index 75652f525a6d..e3f99ba8ff6f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -6867,7 +6867,7 @@ }, "name": { "readOnly": true, - "type": "string", + "type": "integer", "description": "Resource name" }, "type": { From 7a086b4bd0f4390174b14a323b6252a59a1db2dd Mon Sep 17 00:00:00 2001 From: mcardosos Date: Tue, 6 Mar 2018 16:22:21 -0800 Subject: [PATCH 2/5] Lets try other property... --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index e3f99ba8ff6f..425d1afc0c9d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -4903,7 +4903,7 @@ "description": "The virtual machine instance view." }, "licenseType": { - "type": "string", + "type": "integer", "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.

Possible values are:

Windows_Client

Windows_Server

If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Minimum api-version: 2015-06-15" }, "vmId": { @@ -6867,7 +6867,7 @@ }, "name": { "readOnly": true, - "type": "integer", + "type": "string", "description": "Resource name" }, "type": { From a13d821b987732a3f3270d4731ace8b49ff4c15a Mon Sep 17 00:00:00 2001 From: mcardosos Date: Wed, 7 Mar 2018 10:17:43 -0800 Subject: [PATCH 3/5] More places to break the SDK --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index 425d1afc0c9d..5682069063e5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -5079,7 +5079,7 @@ "description": "The managedDisk." }, "blobUri": { - "type": "string", + "type": "integer", "description": "The Virtual Hard Disk." }, "caching": { @@ -5096,8 +5096,7 @@ } }, "diskSizeGB": { - "type": "integer", - "format": "int32", + "type": "string", "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB" }, "storageAccountType": { From 394828a510c381b6123fd387f97d600b5a46310f Mon Sep 17 00:00:00 2001 From: mcardosos Date: Wed, 7 Mar 2018 16:18:20 -0800 Subject: [PATCH 4/5] Break it even more --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index 5682069063e5..3bd6d1b04032 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -4908,7 +4908,7 @@ }, "vmId": { "readOnly": true, - "type": "string", + "type": "interger", "description": "Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands." } }, From d75a34f25a42770818d3c7a737239c1e13767c95 Mon Sep 17 00:00:00 2001 From: mcardosos Date: Wed, 7 Mar 2018 16:22:29 -0800 Subject: [PATCH 5/5] Typo --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index 3bd6d1b04032..6c99b9536383 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -4908,7 +4908,7 @@ }, "vmId": { "readOnly": true, - "type": "interger", + "type": "integer", "description": "Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands." } },