From e8d8dfdf7148d80939c0649a4c998c8454d35197 Mon Sep 17 00:00:00 2001 From: Varad Meru Date: Mon, 2 Apr 2018 17:24:33 -0700 Subject: [PATCH 1/2] Add DateTimeOffset and remove Sync methods settings in all specs --- .../preview/2017-05-15-preview/definitions.json | 5 ++++- .../Microsoft.Automation/preview/2017-05-15-preview/job.json | 5 ++++- .../2017-05-15-preview/softwareUpdateConfiguration.json | 5 ++++- .../softwareUpdateConfigurationMachineRun.json | 5 ++++- .../2017-05-15-preview/softwareUpdateConfigurationRun.json | 5 ++++- .../preview/2017-05-15-preview/sourceControl.json | 5 ++++- .../preview/2017-05-15-preview/sourceControlSyncJob.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/account.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/certificate.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/connection.json | 5 ++++- .../stable/2015-10-31/connectionType.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/credential.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/definitions.json | 5 ++++- .../stable/2015-10-31/dscCompilationJob.json | 5 ++++- .../stable/2015-10-31/dscConfiguration.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/dscNode.json | 5 ++++- .../stable/2015-10-31/dscNodeConfiguration.json | 5 ++++- .../stable/2015-10-31/hybridRunbookWorkerGroup.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/job.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/jobSchedule.json | 5 ++++- .../stable/2015-10-31/linkedWorkspace.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/module.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/runbook.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/schedule.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/variable.json | 5 ++++- .../Microsoft.Automation/stable/2015-10-31/webhook.json | 5 ++++- .../Microsoft.Automation/stable/2018-01-15/definitions.json | 3 +-- .../stable/2018-01-15/dscCompilationJob.json | 5 ++--- .../Microsoft.Automation/stable/2018-01-15/dscNode.json | 3 +-- .../stable/2018-01-15/dscNodeConfiguration.json | 3 +-- 30 files changed, 109 insertions(+), 35 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json index b086fbc3908f..375950aa5181 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json index 9c183dcf3e93..a8196ea826e3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json index 11c157b6f415..97a8d76248a3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json @@ -6,7 +6,10 @@ "contact": { "name": "Mohamed Enein" }, - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "consumes": [ "application/json" diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json index bb1e68919ab6..bf174d2466c2 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json @@ -6,7 +6,10 @@ "contact": { "name": "Mohamed Enein" }, - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "consumes": [ "application/json" diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json index f3d8e6de72aa..f0f861f9190b 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json @@ -6,7 +6,10 @@ "contact": { "name": "Mohamed Enein" }, - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "consumes": [ "application/json" diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControl.json index 459fd09f0a77..82427c6ede57 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControl.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControl.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json index 7accdd5adf9f..d7ccbf09934a 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2017-05-15-preview" + "version": "2017-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/account.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/account.json index b60126247cc9..6635d889de8a 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/account.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/account.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/certificate.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/certificate.json index 27dc70441ee7..48b046e34e27 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/certificate.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/certificate.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connection.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connection.json index 233592e5d6ab..0ebb3e04ea7e 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connection.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connection.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connectionType.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connectionType.json index 298e633ea025..c942e4ca92ad 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connectionType.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/connectionType.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/credential.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/credential.json index 7e7b3e9beef4..ebe7585730c2 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/credential.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/credential.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json index f8a47629d909..49bb4a831c56 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscCompilationJob.json index 95d539b16ef8..ed729ccda50c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscCompilationJob.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscConfiguration.json index cb9f8f22bc3b..591e51adef14 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscConfiguration.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json index 48e694a177ba..da355ca75448 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json index 71636d2d8797..f6f02308d2bb 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/hybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/hybridRunbookWorkerGroup.json index e7badb34c476..4b517a3aee80 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/hybridRunbookWorkerGroup.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/hybridRunbookWorkerGroup.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/job.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/job.json index 569a824e34c4..b7f13d811c8d 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/job.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/job.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/jobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/jobSchedule.json index 271cd66a3672..df5354979724 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/jobSchedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/jobSchedule.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/linkedWorkspace.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/linkedWorkspace.json index 260606dca16c..503fa041b5c0 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/linkedWorkspace.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/linkedWorkspace.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json index df94983f122a..56cced0356ab 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json index 4d4d48b47bc6..7f2d17c6528c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json index e83c737a2cb1..927eeaf20039 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/schedule.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/variable.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/variable.json index 51bd08b38229..ca1a7fdb0935 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/variable.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/variable.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagement", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/webhook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/webhook.json index 9c3c2fa3561b..0ff6b2512f5b 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/webhook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/webhook.json @@ -2,7 +2,10 @@ "swagger": "2.0", "info": { "title": "AutomationManagementClient", - "version": "2015-10-31" + "version": "2015-10-31", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } }, "host": "management.azure.com", "schemes": [ diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/definitions.json index 4673c1db6159..9edd1bc6458d 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/definitions.json @@ -4,8 +4,7 @@ "title": "AutomationManagement", "version": "2018-01-15", "x-ms-code-generation-settings": { - "useDateTimeOffset": true, - "syncMethods": "None" + "useDateTimeOffset": true } }, "host": "management.azure.com", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json index f03c18acab69..974001db7dec 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json @@ -3,9 +3,8 @@ "info": { "title": "AutomationManagement", "version": "2018-01-15", - "x-ms-code-generation-settings": { - "useDateTimeOffset": true, - "syncMethods": "None" + "x-ms-code-generation-settings": { + "useDateTimeOffset": true } }, "host": "management.azure.com", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json index 9dfd305244cc..061208e75ff9 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json @@ -4,8 +4,7 @@ "title": "AutomationManagement", "version": "2018-01-15", "x-ms-code-generation-settings": { - "useDateTimeOffset": true, - "syncMethods": "None" + "useDateTimeOffset": true } }, "host": "management.azure.com", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json index 11f28a86a633..dd0e8048a225 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json @@ -4,8 +4,7 @@ "title": "AutomationManagement", "version": "2018-01-15", "x-ms-code-generation-settings": { - "useDateTimeOffset": true, - "syncMethods": "None" + "useDateTimeOffset": true } }, "host": "management.azure.com", From 37ec49e33a1204d48d60d344603b640d44b5ea3a Mon Sep 17 00:00:00 2001 From: Varad Meru Date: Tue, 3 Apr 2018 10:03:38 -0700 Subject: [PATCH 2/2] Adding nullable=false for DateTimeOffsets --- .../2017-05-15-preview/definitions.json | 41 ++++- .../stable/2015-10-31/definitions.json | 174 ++++++++++++------ .../stable/2015-10-31/dscNode.json | 6 +- .../2015-10-31/dscNodeConfiguration.json | 6 +- .../stable/2018-01-15/dscCompilationJob.json | 18 +- .../stable/2018-01-15/dscNode.json | 18 +- .../2018-01-15/dscNodeConfiguration.json | 7 +- 7 files changed, 192 insertions(+), 78 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json index 375950aa5181..e24b7ce78122 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/definitions.json @@ -3,7 +3,7 @@ "info": { "title": "AutomationManagement", "version": "2017-05-15-preview", - "x-ms-code-generation-settings": { + "x-ms-code-generation-settings": { "useDateTimeOffset": true } }, @@ -132,6 +132,7 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the creation time of the job." }, "status": { @@ -164,11 +165,13 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the start time of the job." }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the end time of the job." }, "exception": { @@ -178,11 +181,13 @@ "lastModifiedTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the last modified time of the job." }, "lastStatusModifiedTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the last status modified time of the job." }, "parameters": { @@ -241,6 +246,7 @@ "time": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the creation time of the job." }, "streamType": { @@ -333,6 +339,7 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "The creation time of the job." }, @@ -363,18 +370,21 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "The start time of the job." }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "The end time of the job." }, "lastModifiedTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "The last modified time of the job." }, @@ -446,6 +456,7 @@ "type": "string", "description": "Creation time of theresource, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "createdBy": { @@ -457,6 +468,7 @@ "type": "string", "description": "Last time resource was modified, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "lastModifiedBy": { @@ -584,18 +596,21 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "the start time of the update." }, "creationTime": { "type": "string", "description": "Creation time of the software update configuration, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "lastModifiedTime": { "type": "string", "description": "Last time software update configuration was modified, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "provisioningState": { @@ -606,6 +621,7 @@ "nextRun": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "ext run time of the update." } } @@ -867,12 +883,14 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Etart time of the software update configuration run.", "readOnly": true }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "End time of the software update configuration run.", "readOnly": true }, @@ -890,6 +908,7 @@ "type": "string", "description": "Creation time of theresource, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "createdBy": { @@ -901,6 +920,7 @@ "type": "string", "description": "Last time resource was modified, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "lastModifiedBy": { @@ -968,12 +988,14 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Start time of the software update configuration machine run.", "readOnly": true }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "End time of the software update configuration machine run.", "readOnly": true }, @@ -990,6 +1012,7 @@ "type": "string", "description": "Creation time of theresource, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "createdBy": { @@ -1001,6 +1024,7 @@ "type": "string", "description": "Last time resource was modified, which only appears in the response.", "format": "date-time", + "x-nullable": false, "readOnly": true }, "lastModifiedBy": { @@ -1138,11 +1162,13 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the creation time." }, "lastModifiedTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the last modified time." } }, @@ -1263,6 +1289,7 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the creation time of the job." }, @@ -1282,12 +1309,14 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the start time of the job." }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the end time of the job." }, @@ -1337,6 +1366,7 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the creation time of the job." }, @@ -1356,12 +1386,14 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the start time of the job." }, "endTime": { "type": "string", "format": "date-time", + "x-nullable": false, "readOnly": true, "description": "Gets the end time of the job." }, @@ -1409,6 +1441,7 @@ "startTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the start time of the schedule." }, "startTimeOffsetMinutes": { @@ -1420,6 +1453,7 @@ "expiryTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the end time of the schedule." }, "expiryTimeOffsetMinutes": { @@ -1435,6 +1469,7 @@ "nextRun": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the next run time of the schedule." }, "nextRunOffsetMinutes": { @@ -1472,11 +1507,13 @@ "creationTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the creation time." }, "lastModifiedTime": { "type": "string", "format": "date-time", + "x-nullable": false, "description": "Gets or sets the last modified time." }, "description": { @@ -1557,4 +1594,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json index 49bb4a831c56..529ebdf30b70 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/definitions.json @@ -130,12 +130,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -339,13 +341,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time." + "description": "Gets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time." + "description": "Gets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -501,7 +505,8 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the expiry time of the certificate." + "description": "Gets the expiry time of the certificate.", + "x-nullable": false }, "isExportable": { "type": "boolean", @@ -512,13 +517,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time." + "description": "Gets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time." + "description": "Gets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -640,13 +647,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time." + "description": "Gets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time." + "description": "Gets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -780,12 +789,14 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time." + "description": "Gets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -885,13 +896,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time." + "description": "Gets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time." + "description": "Gets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -1097,7 +1110,8 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time of the job." + "description": "Gets the creation time of the job.", + "x-nullable": false }, "provisioningState": { "$ref": "#/definitions/JobProvisioningStateProperty", @@ -1138,13 +1152,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the start time of the job." + "description": "Gets the start time of the job.", + "x-nullable": false }, "endTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the end time of the job." + "description": "Gets the end time of the job.", + "x-nullable": false }, "exception": { "type": "string", @@ -1155,13 +1171,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time of the job." + "description": "Gets the last modified time of the job.", + "x-nullable": false }, "lastStatusModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last status modified time of the job." + "description": "Gets the last status modified time of the job.", + "x-nullable": false }, "parameters": { "type": "object", @@ -1284,12 +1302,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -1515,17 +1535,20 @@ "endTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the node report." + "description": "Gets or sets the end time of the node report.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the lastModifiedTime of the node report." + "description": "Gets or sets the lastModifiedTime of the node report.", + "x-nullable": false }, "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the node report." + "description": "Gets or sets the start time of the node report.", + "x-nullable": false }, "type": { "type": "string", @@ -1697,7 +1720,8 @@ "startDate": { "type": "string", "format": "date-time", - "description": "Gets or sets the start date of the resource." + "description": "Gets or sets the start date of the resource.", + "x-nullable": false } }, "description": "Definition of the DSC Report Resource." @@ -1758,7 +1782,8 @@ "registrationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the registration time of the worker machine." + "description": "Gets or sets the registration time of the worker machine.", + "x-nullable": false } }, "description": "Definition of hybrid runbook worker." @@ -2040,7 +2065,8 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time of the job." + "description": "Gets or sets the creation time of the job.", + "x-nullable": false }, "status": { "type": "string", @@ -2072,12 +2098,14 @@ "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the job." + "description": "Gets or sets the start time of the job.", + "x-nullable": false }, "endTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the job." + "description": "Gets or sets the end time of the job.", + "x-nullable": false }, "exception": { "type": "string", @@ -2086,12 +2114,14 @@ "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time of the job." + "description": "Gets or sets the last modified time of the job.", + "x-nullable": false }, "lastStatusModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last status modified time of the job." + "description": "Gets or sets the last status modified time of the job.", + "x-nullable": false }, "parameters": { "type": "object", @@ -2116,7 +2146,8 @@ "time": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time of the job." + "description": "Gets or sets the creation time of the job.", + "x-nullable": false }, "streamType": { "type": "string", @@ -2317,12 +2348,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -2562,12 +2595,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time of the runbook draft." + "description": "Gets or sets the creation time of the runbook draft.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time of the runbook draft." + "description": "Gets or sets the last modified time of the runbook draft.", + "x-nullable": false }, "parameters": { "type": "object", @@ -2922,12 +2957,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -3004,12 +3041,14 @@ "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the schedule." + "description": "Gets or sets the start time of the schedule.", + "x-nullable": false }, "expiryTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the schedule." + "description": "Gets or sets the end time of the schedule.", + "x-nullable": false }, "interval": { "description": "Gets or sets the interval of the schedule." @@ -3056,7 +3095,8 @@ "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the schedule." + "description": "Gets or sets the start time of the schedule.", + "x-nullable": false }, "startTimeOffsetMinutes": { "readOnly": true, @@ -3067,7 +3107,8 @@ "expiryTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the schedule." + "description": "Gets or sets the end time of the schedule.", + "x-nullable": false }, "expiryTimeOffsetMinutes": { "type": "number", @@ -3082,7 +3123,8 @@ "nextRun": { "type": "string", "format": "date-time", - "description": "Gets or sets the next run time of the schedule." + "description": "Gets or sets the next run time of the schedule.", + "x-nullable": false }, "nextRunOffsetMinutes": { "type": "number", @@ -3118,12 +3160,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -3255,13 +3299,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the startTime of the statistic." + "description": "Gets the startTime of the statistic.", + "x-nullable": false }, "endTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the endTime of the statistic." + "description": "Gets the endTime of the statistic.", + "x-nullable": false }, "id": { "type": "string", @@ -3318,7 +3364,8 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time of the test job." + "description": "Gets or sets the creation time of the test job.", + "x-nullable": false }, "status": { "type": "string", @@ -3335,12 +3382,14 @@ "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the test job." + "description": "Gets or sets the start time of the test job.", + "x-nullable": false }, "endTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the test job." + "description": "Gets or sets the end time of the test job.", + "x-nullable": false }, "exception": { "type": "string", @@ -3349,12 +3398,14 @@ "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time of the test job." + "description": "Gets or sets the last modified time of the test job.", + "x-nullable": false }, "lastStatusModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last status modified time of the test job." + "description": "Gets or sets the last status modified time of the test job.", + "x-nullable": false }, "parameters": { "type": "object", @@ -3500,12 +3551,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", @@ -3585,7 +3638,8 @@ "expiryTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the expiry time." + "description": "Gets or sets the expiry time.", + "x-nullable": false }, "parameters": { "type": "object", @@ -3637,12 +3691,14 @@ "expiryTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the expiry time." + "description": "Gets or sets the expiry time.", + "x-nullable": false }, "lastInvokedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last invoked time." + "description": "Gets or sets the last invoked time.", + "x-nullable": false }, "parameters": { "type": "object", @@ -3662,12 +3718,14 @@ "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time." + "description": "Gets or sets the creation time.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "description": { "type": "string", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json index da355ca75448..9e444fcd66cd 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNode.json @@ -574,12 +574,14 @@ "lastSeen": { "type": "string", "format": "date-time", - "description": "Gets or sets the last seen time of the node." + "description": "Gets or sets the last seen time of the node.", + "x-nullable": false }, "registrationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the registration time of the node." + "description": "Gets or sets the registration time of the node.", + "x-nullable": false }, "ip": { "type": "string", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json index f6f02308d2bb..3fb7502d0b2c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/dscNodeConfiguration.json @@ -272,12 +272,14 @@ "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets creation time." + "description": "Gets or sets creation time.", + "x-nullable": false }, "configuration": { "$ref": "./definitions.json#/definitions/DscConfigurationAssociationProperty", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json index 974001db7dec..683023de8240 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json @@ -378,7 +378,8 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the creation time of the job." + "description": "Gets the creation time of the job.", + "x-nullable": false }, "provisioningState": { "$ref": "#/definitions/JobProvisioningStateProperty", @@ -419,13 +420,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the start time of the job." + "description": "Gets the start time of the job.", + "x-nullable": false }, "endTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the end time of the job." + "description": "Gets the end time of the job.", + "x-nullable": false }, "exception": { "type": "string", @@ -436,13 +439,15 @@ "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last modified time of the job." + "description": "Gets the last modified time of the job.", + "x-nullable": false }, "lastStatusModifiedTime": { "type": "string", "format": "date-time", "readOnly": true, - "description": "Gets the last status modified time of the job." + "description": "Gets the last status modified time of the job.", + "x-nullable": false }, "parameters": { "type": "object", @@ -546,7 +551,8 @@ "time": { "type": "string", "format": "date-time", - "description": "Gets or sets the creation time of the job." + "description": "Gets or sets the creation time of the job.", + "x-nullable": false }, "streamType": { "type": "string", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json index 061208e75ff9..e649b841cdb8 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNode.json @@ -601,17 +601,20 @@ "endTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the end time of the node report." + "description": "Gets or sets the end time of the node report.", + "x-nullable": false }, "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the lastModifiedTime of the node report." + "description": "Gets or sets the lastModifiedTime of the node report.", + "x-nullable": false }, "startTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the start time of the node report." + "description": "Gets or sets the start time of the node report.", + "x-nullable": false }, "type": { "type": "string", @@ -738,7 +741,8 @@ "startDate": { "type": "string", "format": "date-time", - "description": "Gets or sets the start date of the resource." + "description": "Gets or sets the start date of the resource.", + "x-nullable": false } }, "description": "Definition of the DSC Report Resource." @@ -827,12 +831,14 @@ "lastSeen": { "type": "string", "format": "date-time", - "description": "Gets or sets the last seen time of the node." + "description": "Gets or sets the last seen time of the node.", + "x-nullable": false }, "registrationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the registration time of the node." + "description": "Gets or sets the registration time of the node.", + "x-nullable": false }, "ip": { "type": "string", diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json index dd0e8048a225..2cbee5bccf5f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json @@ -319,16 +319,19 @@ "description": "Definition of the dsc node configuration." }, "DscNodeConfigurationProperties": { + "description": "Properties for the DscNodeConfiguration", "properties": { "lastModifiedTime": { "type": "string", "format": "date-time", - "description": "Gets or sets the last modified time." + "description": "Gets or sets the last modified time.", + "x-nullable": false }, "creationTime": { "type": "string", "format": "date-time", - "description": "Gets or sets creation time." + "description": "Gets or sets creation time.", + "x-nullable": false }, "configuration": { "$ref": "#/definitions/DscConfigurationAssociationProperty",