diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateSchedule.json index a33ec061d035..680bc81d56fb 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateSchedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateSchedule.json @@ -18,6 +18,28 @@ } }, "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T16:59:22.697+00:00", + "timeZone": "UTC" + } + } + }, "200": { "headers": {}, "body": { 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 f277be74db16..05496b8a525a 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 @@ -82,6 +82,12 @@ } ], "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, "200": { "description": "OK", "schema": {