Skip to content

Commit

Permalink
Add DateTimeOffset and remove Sync methods settings in all specs (#2800)
Browse files Browse the repository at this point in the history
* Add DateTimeOffset and remove Sync methods settings in all specs

* Adding nullable=false for DateTimeOffsets
  • Loading branch information
vrdmr authored and anuchandy committed Apr 3, 2018
1 parent 9e18b82 commit 70665e2
Show file tree
Hide file tree
Showing 30 changed files with 300 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -129,6 +132,7 @@
"creationTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "Gets or sets the creation time of the job."
},
"status": {
Expand Down Expand Up @@ -161,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": {
Expand All @@ -175,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": {
Expand Down Expand Up @@ -238,6 +246,7 @@
"time": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "Gets or sets the creation time of the job."
},
"streamType": {
Expand Down Expand Up @@ -330,6 +339,7 @@
"creationTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"readOnly": true,
"description": "The creation time of the job."
},
Expand Down Expand Up @@ -360,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."
},
Expand Down Expand Up @@ -443,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": {
Expand All @@ -454,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": {
Expand Down Expand Up @@ -581,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": {
Expand All @@ -603,6 +621,7 @@
"nextRun": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "ext run time of the update."
}
}
Expand Down Expand Up @@ -864,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
},
Expand All @@ -887,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": {
Expand All @@ -898,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": {
Expand Down Expand Up @@ -965,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
},
Expand All @@ -987,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": {
Expand All @@ -998,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": {
Expand Down Expand Up @@ -1135,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."
}
},
Expand Down Expand Up @@ -1260,6 +1289,7 @@
"creationTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"readOnly": true,
"description": "Gets the creation time of the job."
},
Expand All @@ -1279,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."
},
Expand Down Expand Up @@ -1334,6 +1366,7 @@
"creationTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"readOnly": true,
"description": "Gets the creation time of the job."
},
Expand All @@ -1353,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."
},
Expand Down Expand Up @@ -1406,6 +1441,7 @@
"startTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "Gets or sets the start time of the schedule."
},
"startTimeOffsetMinutes": {
Expand All @@ -1417,6 +1453,7 @@
"expiryTime": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "Gets or sets the end time of the schedule."
},
"expiryTimeOffsetMinutes": {
Expand All @@ -1432,6 +1469,7 @@
"nextRun": {
"type": "string",
"format": "date-time",
"x-nullable": false,
"description": "Gets or sets the next run time of the schedule."
},
"nextRunOffsetMinutes": {
Expand Down Expand Up @@ -1469,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": {
Expand Down Expand Up @@ -1554,4 +1594,4 @@
"x-ms-parameter-location": "method"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Loading

0 comments on commit 70665e2

Please sign in to comment.