Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@
"lastModifiedTime": "2017-03-28T21:04:46.6+00:00"
}
}
},
"400": {
"code": "BadRequest",
"message": "{\"Message\":\"Cannot specify the content link for a published runbook and draft at the same time.\"}"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@
"lastModifiedTime": "2018-02-09T03:25:59.097+00:00"
}
}
},
"400": {
"code": "BadRequest",
"message": "{\"Message\":\"Cannot specify the content link for a published runbook and draft at the same time.\"}"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourcegroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial/draft/content/operationResults/9bd70be2-cf73-49b4-9467-5261d48c2b3d?api-version=2015-10-31"
},
"body": {
}
},
"200":{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"description": "Gets or sets the values of the job stream."
}
},
"x-ms-client-flatten": true,
"description": "Definition of the job stream."
},
"JobStreamListResult": {
Expand Down
51 changes: 49 additions & 2 deletions specification/automation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ These are the global settings for the Automation API.
title: AutomationClient
description: Automation Client
openapi-type: arm
tag: package-2018-01-preview
tag: package-2018-06-preview
```

### Tag: package-2015-10
Expand Down Expand Up @@ -121,6 +121,40 @@ input-file:
- Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json
```

### Tag: package-2018-06-preview

These settings apply only when `--tag=package-2018-06-preview` is specified on the command line.

``` yaml $(tag) == 'package-2018-06-preview'
input-file:
- Microsoft.Automation/stable/2015-10-31/account.json
- Microsoft.Automation/stable/2015-10-31/certificate.json
- Microsoft.Automation/stable/2015-10-31/connection.json
- Microsoft.Automation/stable/2015-10-31/connectionType.json
- Microsoft.Automation/stable/2015-10-31/credential.json
- Microsoft.Automation/stable/2015-10-31/dscConfiguration.json
- Microsoft.Automation/stable/2015-10-31/hybridRunbookWorkerGroup.json
- Microsoft.Automation/stable/2015-10-31/jobSchedule.json
- Microsoft.Automation/stable/2015-10-31/linkedWorkspace.json
- Microsoft.Automation/stable/2015-10-31/module.json
- Microsoft.Automation/stable/2015-10-31/schedule.json
- Microsoft.Automation/stable/2015-10-31/variable.json
- Microsoft.Automation/stable/2015-10-31/webhook.json
- Microsoft.Automation/stable/2015-10-31/watcher.json
- Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json
- Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json
- Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json
- Microsoft.Automation/preview/2017-05-15-preview/sourceControl.json
- Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json
- Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJobStreams.json
- Microsoft.Automation/preview/2017-05-15-preview/job.json
- Microsoft.Automation/stable/2018-01-15/dscNode.json
- Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json
- Microsoft.Automation/stable/2018-01-15/dscNodeConfiguration.json
- Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json
- Microsoft.Automation/stable/2018-06-30/runbook.json
```

---
## Suppression
``` yaml
Expand All @@ -143,6 +177,9 @@ directive:
- suppress: LongRunningResponseStatusCode
from: runbook.json
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/publish"].post["x-ms-long-running-operation"]
- suppress: LongRunningResponseStatusCode
from: runbook.json
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/publish"].post["x-ms-long-running-operation"]
```

---
Expand Down Expand Up @@ -192,7 +229,7 @@ python:
payload-flattening-threshold: 2
namespace: azure.mgmt.automation
package-name: azure-mgmt-automation
package-version: 0.2.0
package-version: 0.3.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
Expand Down Expand Up @@ -224,6 +261,7 @@ batch:
- tag: package-2015-10
- tag: package-2017-05-preview
- tag: package-2018-01-preview
- tag: package-2018-06-preview
```

### Tag: package-2015-10 and go
Expand Down Expand Up @@ -253,6 +291,15 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-01-preview/automation
```

### Tag: package-2018-06-preview and go

These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-06-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-06-preview/automation
```

## Java

These settings apply only when `--java` is specified on the command line.
Expand Down