Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge public repo updates to master branch #4

Merged
merged 22 commits into from
Sep 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8740c33
Fix to version in examples and in runbook.json (#3899)
Sep 13, 2018
6123530
Fixing the name of the profile, matching to the file name (#3897)
bganapa Sep 13, 2018
ad44bbb
Publish public preview swagger spec for "Azure metrics Ingestion REST…
vickyv51 Sep 14, 2018
4d1b5ac
Add 202 response code as expected for network profile deletion (#3907)
Flip-Liquid Sep 14, 2018
8d4e4c2
[Storage] add new stroage account kind "FileStorage" and "BlockBlobSt…
blueww Sep 14, 2018
12e4163
Remove default response from Sessions to bring them inline with the r…
refortie Sep 14, 2018
7bc4150
New tag for 2018-06 APIs for Automation (#3906)
Sep 14, 2018
8f46a51
Add readme.typescript.md for DNS (#3903)
Sep 14, 2018
9441291
Fix the Azure metrics data-plane api swagger spec to ensure the docum…
vickyv51 Sep 14, 2018
9c9e001
Add specifications for dynanic threshold GA api (#3883)
noferrar Sep 17, 2018
1b21e70
Introducing new API for Advanced Threat Protection (#3306)
tomerlmsft Sep 17, 2018
5639529
Add algorithm types to threat detection disabled alerts description (…
t-arrinb Sep 17, 2018
3df1915
Add Batch AI workspace property to machineLearningServices swagger (#…
MattSable Sep 17, 2018
f23d6ff
Adding app version settings APIs to swagger file. (#3850)
LanaShafik Sep 17, 2018
9dd0316
Add generate-metadata: true to dns readme.typescript.md (#3920)
Sep 17, 2018
6294790
Add networkTrace resource and APIs (#3811)
michimune Sep 17, 2018
03757d2
Add creation parameters to StorageSync ResourceProvider for SDK (#3863)
ankushbindlish2 Sep 17, 2018
45c0537
Add readme.typescript.md for compute (#3924)
Sep 18, 2018
e055b33
Create arm-network readme.typescript.md file (#3932)
Sep 18, 2018
e9e15be
Update Microsoft.Backup.Admin API version 2018-09-01 (#3891)
daozha Sep 18, 2018
5f7594c
Add degree of parallelism percent to ADLA Job PREVIEW API (#3904)
hosunmsft Sep 18, 2018
cbf6f45
StorageSync : Clone existing ApiVersion 2018-04-02 for creating a new…
ankushbindlish2 Sep 18, 2018
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
4 changes: 2 additions & 2 deletions profile/2018-03-01-hybrid.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info":{
"name":"2018-03-01-profile",
"description":"Profile definition targeted for hybrid applications that could run on azure stack 1807 version and azure cloud"
"name":"2018-03-01-hybrid",
"description":"Profile definition targeted for hybrid applications that could run on azure stack 1808 version and azure cloud"
},
"resource-manager": {
"microsoft.authorization": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
"api-version": "2018-06-30",
"parameters": {
"properties": {
"logVerbose": false,
Expand Down 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 @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
"api-version": "2018-06-30",
"parameters": {
"properties": {
"logVerbose": false,
Expand Down 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 @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
"api-version": "2018-06-30",
"parameters": {
"parameters": {
"key01": "value01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"jobStreamId": "851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subid",
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
"api-version": "2018-06-30",
"runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
},
"responses": {
"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 @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "mygroup",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31"
"api-version": "2018-06-30"
},
"responses": {
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
"api-version": "2018-06-30",
"parameters": {
"properties": {
"description": "Updated Description of the Runbook",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "AutomationManagement",
"version": "2015-10-31",
"version": "2018-06-30",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true
}
Expand Down 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
Loading